query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
7f2bce5016d05127d0230756d6a6fd60
It will get all the level per service monitored
[ { "docid": "b8e4c5f320ba9d0323075bf979a7ce20", "score": "0.7399541", "text": "List<Level> getLevelsByService(int serviceId);", "title": "" } ]
[ { "docid": "9a1ebfc91667b0c1fa20f3a04c3f08de", "score": "0.6626845", "text": "public String getLevelOfService() {\r\n\t\t return getValue(\"DI\");\r\n\t\t }", "title": "" }, { "docid": "c09d588af1f55eed85b06efd19e06b82", "score": "0.6269591", "text": "@ManagedOperation(description = \"Retrieve all categories and their levels\")\n\tpublic String retrieveLoggers() {\n\t\tStringBuilder logs = new StringBuilder();\n\t\tEnumeration<?> en = LogManager.getCurrentLoggers();\n\t\twhile (en.hasMoreElements()) {\n\t\t\tLogger log = (Logger) en.nextElement();\n\t\t\tLevel level = log.getLevel();\n\t\t\tif (level != null) {\n\t\t\t\tlogs.append(log.getName()).append(\" [\")\n\t\t\t\t\t\t.append(level.toString()).append(\"]\").append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\treturn logs.toString();\n\t}", "title": "" }, { "docid": "066669002a290dfd5817d0aa43c5ed83", "score": "0.61475813", "text": "int getNetServiceLevel();", "title": "" }, { "docid": "be8326e9f844025008cd3c6cf2985807", "score": "0.5999591", "text": "@GetMapping(\"/expertise-levels\")\n @Timed\n public List<ExpertiseLevel> getAllExpertiseLevels() {\n log.debug(\"REST request to get all ExpertiseLevels\");\n return expertiseLevelService.findAll();\n }", "title": "" }, { "docid": "823ddcee5092d0c979bf0d9c00202344", "score": "0.59262", "text": "@RequestMapping(value = \"/levels\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<Level> getAllLevels() {\n log.debug(\"REST request to get all Levels\");\n List<Level> levels = levelRepository.findAll();\n return levels;\n }", "title": "" }, { "docid": "0beed2dd184b665147adcfa090b0b932", "score": "0.58322686", "text": "java.util.List<yandex.cloud.api.mdb.elasticsearch.v1.ClusterOuterClass.Monitoring> \n getMonitoringList();", "title": "" }, { "docid": "5a907831a192cd31804fddfe1ee1c3f8", "score": "0.5797925", "text": "public List<Level> getAll() {\n List<Level> level = levelRepository.findAll();\n return level;\n }", "title": "" }, { "docid": "b4b79f2355cf26def6c2778a6b213478", "score": "0.57230556", "text": "public LLStatService getLLStatService() {\n\t\treturn llStatService;\n\t}", "title": "" }, { "docid": "27f148aa51c1e72ac71b9da9e3ccefda", "score": "0.57020134", "text": "public interface EscalationService {\n\n /**\n * It will get the target by service and level\n * @param serviceId Monitored service id that will be used to get the target\n * @param levelId Level id that will be used to get the target\n * @return List of targets\n */\n List<Target> getTargetByServiceAndLevel(int serviceId, int levelId);\n\n /**\n * It will get all the level per service monitored\n * @param serviceId Monitored service id that will used to get the levels\n * @return List of levels\n */\n List<Level> getLevelsByService(int serviceId);\n\n}", "title": "" }, { "docid": "01382d7303010aa09346982acd1d7630", "score": "0.5701897", "text": "@Override\r\n public List<String> getLevels(String building){\r\n\t\tList<String> levels = sensorEao.getLevelsByBuildingName(building);\r\n\t\treturn levels;\r\n\t}", "title": "" }, { "docid": "288af391e055eca82c0b805aecabcc2f", "score": "0.56334955", "text": "public Map<String, SystemStatus> getSystemStatusList()\n\t{\n\t\treturn systemStatusList;\n\t}", "title": "" }, { "docid": "d5ea3b7018c7e89abdcc1e2ce8f6bfe1", "score": "0.5617498", "text": "String getServiceStatus();", "title": "" }, { "docid": "295e25c296edd9815d1729435e8fd371", "score": "0.5591803", "text": "int getMonitoringCount();", "title": "" }, { "docid": "f6f17006117cd3688aa4a702348d14ae", "score": "0.55239797", "text": "private Map<Long, IOFSwitch> getSwitches()\n { return floodlightProv.getAllSwitchMap(); }", "title": "" }, { "docid": "141be9181d6f98f699c52cf8031c51c7", "score": "0.55165637", "text": "public Map<String,String> getStatusInfo();", "title": "" }, { "docid": "f3fbcc61b2c9fda42b8a15e5a0aecd8d", "score": "0.551358", "text": "public List<String> getServiceInfo(Integer id) {\n\t\tList<String> demo = new ArrayList<String>();\n\t\tdemo.add(String.format(\"Permission33_%d\", id - 1));\n\t\tdemo.add(String.format(\"Permission33_%d\", id));\n\t\tdemo.add(String.format(\"Permission33_%d\", id + 1));\n\t\treturn demo;\n\n\t}", "title": "" }, { "docid": "700e3a291244c17c62e143c6d3371741", "score": "0.54929787", "text": "public Mono<ServiceStatistics> getServiceStatistics() {\n return getServiceStatisticsWithResponse(null).map(Response::getValue);\n }", "title": "" }, { "docid": "b9a5207793206d3be4b99e1c03f613c1", "score": "0.54849243", "text": "@Transactional\n public List<String> listOfPrimitiveLatencyServiceTypes() {\n return this.psServiceTypeFactory.listOfPrimitiveLatencyServiceTypes();\n }", "title": "" }, { "docid": "12732c76ea5a82487137a0a407a25551", "score": "0.5451305", "text": "public List getServiceList();", "title": "" }, { "docid": "5e766e39872e2a9026c45a3b3a77442f", "score": "0.5448901", "text": "public java.util.List<yandex.cloud.api.mdb.elasticsearch.v1.ClusterOuterClass.Monitoring> getMonitoringList() {\n if (monitoringBuilder_ == null) {\n return java.util.Collections.unmodifiableList(monitoring_);\n } else {\n return monitoringBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "4dedd6630dc8dbadbc18b6089e4aa6f7", "score": "0.54421586", "text": "public static void getService() {\n long start = System.nanoTime();\n long total = System.nanoTime() - start;\n double seconds = (double)total / 1_000_000_000.0;\n writeTimeToFile(\"getservice\", seconds, \"Total time\");\n logger.info(fabric, \"GET SERVICE: \" + total);\n //getservice\n }", "title": "" }, { "docid": "dc882eb36cf7cc756a2b3274de7de61d", "score": "0.54399395", "text": "public Collection<LogLevel> getLogLevels() {\n return Collections.unmodifiableCollection(logLevelMap.values());\n }", "title": "" }, { "docid": "2e46af5698605424b006fb42e29695c7", "score": "0.54361", "text": "public List getLevels() {\n return new ArrayList();\n }", "title": "" }, { "docid": "af05c63bc6571a4f10cf628e97468eb4", "score": "0.54239804", "text": "List<Target> getTargetByServiceAndLevel(int serviceId, int levelId);", "title": "" }, { "docid": "c1d3024278cc06da91232820121cb716", "score": "0.541588", "text": "public List<MonitoringProfile> getAvailableMonitoringProfiles() throws RegistryException;", "title": "" }, { "docid": "77956daa9b4c23358c00e9440ab7b9a3", "score": "0.54105717", "text": "@java.lang.Override\n public int getMonitoringCount() {\n return monitoring_.size();\n }", "title": "" }, { "docid": "380c97fc286199fb99318dfccce877d8", "score": "0.53767717", "text": "public List<Service> getServices();", "title": "" }, { "docid": "0afa87854119fdf101db1eca27d921c5", "score": "0.5373098", "text": "@java.lang.Override\n public java.util.List<yandex.cloud.api.mdb.elasticsearch.v1.ClusterOuterClass.Monitoring> getMonitoringList() {\n return monitoring_;\n }", "title": "" }, { "docid": "bfe41803fa31719a7807da387af1ec15", "score": "0.53540355", "text": "@GET\n @Path(\"info\")\n @Produces({ MediaType.APPLICATION_JSON })\n public StatusInfo getAllClientInfo() {\n init();\n return StatusInfoUtil.getAllAssociatesStatusInfo();\n }", "title": "" }, { "docid": "d366c11524feece632073e98aa3aeef3", "score": "0.5345547", "text": "public ServiceDetails[] getAllServiceDetails()\n {\n try\n {\n // TODO(Todd): Add a method to the cache that allows retrieval\n // of all service details for a specific transport stream. Use it\n // here\n // instead of having to iterate through all services.\n\n // Get the list of all JavaTV services\n ServiceCollection collection = new ServiceCollection();\n siCache.getAllServices(collection, \"\");\n Vector services = collection.getServices();\n\n // Get the JavaTV transport dependent services and only keep those\n // carried by this transport stream.\n Vector results = new Vector();\n Enumeration e = services.elements();\n while (e.hasMoreElements())\n {\n ServiceExt service = (ServiceExt) e.nextElement();\n ServiceDetailsExt details = (ServiceDetailsExt) service.getDetails();\n int frequency = ((TransportStreamExt) details.getTransportStream()).getFrequency();\n if (frequency == getFrequency()) results.add(details);\n }\n\n // Return the array of services carried on this transport stream\n return (ServiceDetails[]) results.toArray(new ServiceDetails[0]);\n }\n catch (Exception e)\n {\n // No services available\n return new ServiceDetails[0];\n }\n }", "title": "" }, { "docid": "d12dc2313517dd267b817a430f26d1f3", "score": "0.5341826", "text": "java.util.List<yandex.cloud.api.mdb.elasticsearch.v1.ClusterOuterClass.Service> \n getServicesList();", "title": "" }, { "docid": "4d104e39605985f35c5a298ebdeb5be8", "score": "0.53417194", "text": "public Level[] getLevels()\n\t{\n\t\treturn levels;\n\t}", "title": "" }, { "docid": "ffcbed3612a1c78b964d095b5d89ef89", "score": "0.53321725", "text": "public IStatsService getLookupStatsService();", "title": "" }, { "docid": "3b63d1ce6bf69cdcf075519a9a00eb5c", "score": "0.5320292", "text": "public static Vector getLevelRegistryList(Object key) \n\t{\n\tVector result = (Vector) gLevelRegistry.get(key);\n\tif (result == null)\n\t\t{\n\t\tresult = new Vector();\n\t\tgLevelRegistry.put(key, result);\n\t\t}\n\t\t\n\treturn result;\n\t}", "title": "" }, { "docid": "78f1597072cd9560db1ba2cd6577884f", "score": "0.52885824", "text": "public List<Service> listService();", "title": "" }, { "docid": "20cd927d5c018bfcdcfa179fe43fe48b", "score": "0.52707857", "text": "Map<Class<?>, Object> getAllServices();", "title": "" }, { "docid": "cfebb6aa8be48da07ffb5a904c4e239f", "score": "0.5265542", "text": "java.util.List<com.hemayun.bblwheel.Bblwheel.Service> \n getServicesList();", "title": "" }, { "docid": "bd1c69dbc95d1ec603d8a12ddf1897d2", "score": "0.52613413", "text": "public List<ServiceLivraisonDto> getServiceLivraisons() {\n return serviceLivraisons;\n }", "title": "" }, { "docid": "6fc2378cab2bf2bb0e195591af01cbf3", "score": "0.52592635", "text": "public LevelInfo[] mapLevels() {\n \n \t\t// First try command line, then style, then our default.\n \t\tString levelSpec = getConfig().getProperty(\"levels\");\n \t\tlog.debug(\"levels\", levelSpec, \", \", ((levelSpec!=null)?levelSpec.length():\"\"));\n \t\tif (levelSpec == null || levelSpec.length() < 2) {\n \t\t\tif (style != null) {\n \t\t\t\tlevelSpec = style.getOption(\"levels\");\n \t\t\t\tlog.debug(\"getting levels from style:\", levelSpec);\n \t\t\t}\n \t\t}\n \n \t\tif (levelSpec == null)\n \t\t\tlevelSpec = LevelInfo.DEFAULT_LEVELS;\n \n \t\treturn LevelInfo.createFromString(levelSpec);\n \t}", "title": "" }, { "docid": "17267a6c9391d951b9ac60512ae277e6", "score": "0.52448094", "text": "@Override\r\n\t public List<LightMonitoringVO> getBasicLedOverviewDetails(String startDate,String endDate, String locationType,final Long locationValue,List<Long> lightMonitoringIds) {\r\n\t\t List<LightMonitoringVO> list = new ArrayList<LightMonitoringVO>() ;\r\n\t\t \r\n\t\ttry{\t\r\n\t\t\tDate fromDate = null;\r\n\t\t\tDate toDate = null;\r\n\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"dd-MM-yyyy\");\r\n\t\t\t\r\n\t\t\tList<Long> loccationIds = new ArrayList<Long>();\r\n\t\t\tif (locationValue != null && locationValue.longValue() > 0l) {\r\n\t\t\t\tloccationIds.add(locationValue);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif(startDate != null && startDate.trim().length() > 0 && endDate != null && endDate.trim().length() > 0){\r\n\t\t\t\tfromDate = sdf.parse(startDate);\r\n\t\t\t\ttoDate = sdf.parse(endDate);\r\n\t\t\t}\r\n\t\t\tLong totalTarget = 0L;\r\n\t\t\tString isDayTime = null;\r\n\t\t\t\r\n\t\t\tSimpleDateFormat sdf1 = new SimpleDateFormat(\"HH:mm:ss\");\r\n\t\t\tString timeStr = sdf1.format(dateUtilService.getCurrentDateAndTime());\r\n\t\t\tif(sdf1.parse(timeStr).after(sdf1.parse(\"06:00:00\")) && sdf1.parse(timeStr).before(sdf1.parse(\"18:00:00\")))\r\n\t\t\t\tisDayTime = \"true\";\r\n\t\t\telse\r\n\t\t\t\tisDayTime = \"false\";\r\n\t\t\t/*List<Object[]> targetList = lightInstallationTargetDAO.getVendorWiseLedTargetDetails(toDate);\r\n\t\t\tif(targetList != null && !targetList.isEmpty()){\r\n\t\t\t\tfor (Object[] obj : targetList) {\r\n\t\t\t\t\ttotalTarget = totalTarget+Long.valueOf(obj[1] != null ? obj[1].toString():\"0\");\r\n\t\t\t\t}\r\n\t\t\t}*/\r\n\t\t\t\r\n\t\t\tList<Object[]> targetList = lightPoleDetailsDAO.getLocationWisePolesDetails(\"state\");\r\n\t\t\tif(targetList != null && !targetList.isEmpty()){\r\n\t\t\t\tfor (Object[] obj : targetList) {\r\n\t\t\t\t\ttotalTarget = totalTarget+Long.valueOf(obj[1] != null ? obj[1].toString():\"0\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t List<Object[]> lightMonitoringData = lightMonitoringDAO.getTotalVillagesDetails(fromDate,toDate,locationType,loccationIds,lightMonitoringIds,\"No\");\r\n\t\t\t if(lightMonitoringData!=null && lightMonitoringData.size()>0 && !lightMonitoringData.isEmpty()){\r\n\t\t\t \t LightMonitoringVO lightMonitoringVO= new LightMonitoringVO();\r\n\t\t\t\t for (Object[] objects : lightMonitoringData) {\t\t\t\r\n\t\t\t\t \t lightMonitoringVO.setTotalLights(lightMonitoringVO.getTotalLights()+commonMethodsUtilService.getLongValueForObject(objects[2]));\r\n\t\t\t\t \t lightMonitoringVO.setTotalPanels(lightMonitoringVO.getTotalPanels()+commonMethodsUtilService.getLongValueForObject(objects[3]));\t\r\n\t\t\t\t\t\t lightMonitoringVO.setTotalPoles(lightMonitoringVO.getTotalPoles()+commonMethodsUtilService.getLongValueForObject(objects[4]));\r\n\t\t\t\t\t\t lightMonitoringVO.setWorkingLights(lightMonitoringVO.getWorkingLights()+commonMethodsUtilService.getLongValueForObject(objects[5]));\r\n\t\t\t\t\t\t lightMonitoringVO.setOnLights(lightMonitoringVO.getOnLights()+commonMethodsUtilService.getLongValueForObject(objects[6]));\r\n\t\t\t\t\t\t lightMonitoringVO.setOffLights(lightMonitoringVO.getOffLights()+commonMethodsUtilService.getLongValueForObject(objects[7]));\r\n\t\t\t\t\t lightMonitoringVO.setNotWorkingLights(lightMonitoringVO.getNotWorkingLights()+commonMethodsUtilService.getLongValueForObject(objects[8]));\r\n\t\t\t }\r\n\t\t\t List<Object[]> wattegeCount = lightWattageDAO.getTotalWattege(fromDate,toDate,locationType,loccationIds,lightMonitoringIds,\"No\");\r\n\t\t\t if(wattegeCount!=null && wattegeCount.size()>0 && !wattegeCount.isEmpty()){\r\n\t\t\t \t for (Object[] param : wattegeCount) {\t\r\n\t\t\t \t\t LightWattageVO wattagVO = new LightWattageVO();\r\n\t\t\t\t\t \twattagVO.setWattage(commonMethodsUtilService.getLongValueForObject(param[2]));\r\n\t\t\t\t\t \twattagVO.setLightCount(commonMethodsUtilService.getLongValueForObject(param[3]));\t\t \t\r\n\t\t\t\t\t \tlightMonitoringVO.getWattageList().add(wattagVO); \t\r\n\t\t\t\t\t }\r\n\t\t\t }\r\n\t\t\t lightMonitoringVO.setLightTarget(totalTarget);\r\n\t\t\t lightMonitoringVO.setIsDayTime(isDayTime);\r\n\t\t\t list.add(lightMonitoringVO);\r\n\t\t }\r\n }catch (Exception e) {\r\n \t LOG.error(\"Exception raised at getBasicLedOverviewDetails - LightMonitoringService service\", e);\r\n }\r\n\t\treturn list;\r\n }", "title": "" }, { "docid": "6c69b6f798a207ac18b50d8e9da1ad3b", "score": "0.52333647", "text": "public List<Warehouse> retrieveCurrentState(){\n return dataService.retrieveCurrentState(dataDirectory);\n }", "title": "" }, { "docid": "e728caba449c63b7e87173196c1d7e4c", "score": "0.52274156", "text": "List<String> listStartedService() throws RemoteException;", "title": "" }, { "docid": "3c667b589668e07d57bad7f1f17829a6", "score": "0.52182776", "text": "private void getAllLevels() {\n try {\n ArrayList<String> allLeves = controller.getAllLeves();\n for (String level : allLeves) {\n Levelcombobox1.addItem(level);\n }\n } catch (Exception ex) {\n Logger.getLogger(ManageEmployee.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "24c04fe68edc8ce5675619acb07b59dd", "score": "0.52159816", "text": "protected List<Level> getLevelsToProcess(\n Map<String, RequestConstraint> query) {\n\n RequestConstraint masterLevelRC = query\n .get(GridConstants.MASTER_LEVEL_NAME);\n RequestConstraint levelOneRC = query.get(GridConstants.LEVEL_ONE);\n RequestConstraint levelTwoRC = query.get(GridConstants.LEVEL_TWO);\n\n if (masterLevelRC != null || levelOneRC != null || levelTwoRC != null) {\n List<Level> levelsToProcess = new ArrayList<>();\n for (Level level : getAllLevels()) {\n boolean flag = true;\n if (masterLevelRC != null && !masterLevelRC\n .evaluate(level.getMasterLevel().getName())) {\n flag = false;\n }\n if (levelOneRC != null\n && !levelOneRC.evaluate(level.getLevelonevalue())) {\n flag = false;\n }\n if (levelTwoRC != null\n && !levelTwoRC.evaluate(level.getLeveltwovalue())) {\n flag = false;\n }\n if (flag) {\n levelsToProcess.add(level);\n }\n }\n return levelsToProcess;\n } else {\n return new ArrayList<>(getAllLevels());\n }\n }", "title": "" }, { "docid": "9ba14dbd9aef2042a4369f13ed73f0be", "score": "0.5215951", "text": "public List<IDiscoveryService> getRunning(){\n return discoveryServices.stream()\n .filter((IDiscoveryService e) -> e.isRunning())\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "46fa2ecc6c2bad9bc523f1d25d08427f", "score": "0.51990426", "text": "public LLStatLocalService getLLStatLocalService() {\n\t\treturn llStatLocalService;\n\t}", "title": "" }, { "docid": "1672ed8bb50570ad041e87744430c801", "score": "0.51973945", "text": "public List getStatusesList();", "title": "" }, { "docid": "874f89c30ee2991a832b78aceedf9bb8", "score": "0.51896054", "text": "public interface TrafficService {\n\n\tList<SystemStatus> list(String machineCode, Double allTraffic);\n\n}", "title": "" }, { "docid": "86cc908e3846124e8e9c29d9499e2955", "score": "0.5182442", "text": "public LookupSvcInfo getLocalLsInfo() {\n/* 77 */ return this.lsLocator.getInfo();\n/* */ }", "title": "" }, { "docid": "fc0c0abcfa3ef923aadc904d7ac4304a", "score": "0.5176559", "text": "public Map<Service, String> getServiceMap()\n {\n return new LinkedHashMap<>(m_mapServices);\n }", "title": "" }, { "docid": "f34482e9af034881ce1509e573bc191e", "score": "0.51602006", "text": "Map<String, String> getCounters() throws ConnectionException, RequestException, AccessException;", "title": "" }, { "docid": "3fb9841593383e10f64cd9fab69981de", "score": "0.5151366", "text": "@Path(\"/system/services/status\")\n @GET\n public void getBootStatus(HttpRequest request, HttpResponder responder) {\n super.getBootStatus(request, responder);\n }", "title": "" }, { "docid": "6a71c3ddd6a755d902a55a4ded96c0e8", "score": "0.51507676", "text": "public String getLogisticsStatus() {\n return logisticsStatus;\n }", "title": "" }, { "docid": "928525f8f4cf4121f01aab105e3d8bdb", "score": "0.515052", "text": "public int[] getLevelInfo(int level)\n {\n int[] ret = {0,0};\n\n ret[0] = Security[0][level];\n ret[1] = Security[1][level];\n\n return ret;\n }", "title": "" }, { "docid": "75a2f38de7e817694d849ae10920f3d5", "score": "0.5150217", "text": "public ArrayList<Level> getLevels()\r\n\t{\r\n\t\treturn levels;\r\n\t}", "title": "" }, { "docid": "5297e42c75dac3e2e056d27baf66978e", "score": "0.5149313", "text": "@Override\n\tpublic List<ManPowerStatus> FindAllRecords() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e1717cfca317aeae0fce4ea8402a7bcb", "score": "0.5148377", "text": "@Override\n\tpublic List<ManPowerStatus> FindRecords(ManPowerStatus t) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b3e1f99c38b05149f1adebfd46997991", "score": "0.51479477", "text": "public String[] getInstalledServiceDescriptions();", "title": "" }, { "docid": "1a97164665dddffad908d4a932ebcfe5", "score": "0.5145592", "text": "java.util.List<com.google.api.serviceusage.v1.Service> \n getServicesList();", "title": "" }, { "docid": "b1e0eae7de953b18f904dc154bba2d15", "score": "0.51352113", "text": "public java.util.List<SeverityLevel> getSeverityLevels() {\n return severityLevels;\n }", "title": "" }, { "docid": "f2dc8fd7eaad4324ea770322ed39b6cb", "score": "0.5126364", "text": "@Override\r\n\tpublic List<LightMonitoringVO> getAllLevelWiseDataOverView(String locationType,String filterType, List<Long> filterValues,String fromDateStr,String toDateStr,List<Long> lightVendorIdList,String viewType) {\r\n\t\tList<LightMonitoringVO> returnList = new ArrayList<LightMonitoringVO>();\r\n\t\ttry {\r\n\t\t\t\tDate fromDate = null;\r\n\t\t\t\tDate toDate = null;\r\n\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"dd-MM-yyyy\");\r\n\t\t\t\tif(fromDateStr != null && fromDateStr.trim().length() > 0 && toDateStr != null && toDateStr.trim().length() > 0){\r\n\t\t\t\t\tfromDate = sdf.parse(fromDateStr);\r\n\t\t\t\t\ttoDate = sdf.parse(toDateStr);\r\n\t\t\t\t}\r\n\t\t\t List<Object[]> totalLocObj =lightMonitoringDAO.getLocationsForLEDDashboard(locationType, filterType, filterValues, \"\", null, null, null);//getting location template\r\n\t\t\t List<Object[]> lightMonObjLst = lightMonitoringDAO.getLocationWiseDataForLEDDashboard(locationType,filterType,filterValues,fromDate,toDate,lightVendorIdList) ;//getting survey data\t\r\n\t\t\t List<Object[]> lightWattageObjLst = lightWattageDAO.getLocationWiseLightWattageDtls(locationType, filterType, filterValues, fromDate, toDate,lightVendorIdList);//getting location wise wattage details.\r\n\t\t\t //List<Object[]> list = lightMonitoringDetailsDAO.getLocationWiseDetails(locationType, filterType, filterValues, fromDate, toDate, lightVendorIdList);\r\n\t\t\t \r\n\t\t\t Map<Long,Map<Long,List<LightWattageVO>>> lightWattageMap = getLightWattageDtls(lightWattageObjLst);\r\n\t\t\t Map<Long,List<LightMonitoringVO>> lightVendorMap = getLightVendorWiseLightMonitroingDetails(lightMonObjLst);\r\n\t\t\t Map<Long,LightMonitoringVO> locationMap = setStartedSurveryDataLocationWise(totalLocObj,lightVendorMap,lightWattageMap,locationType);\r\n\t\t\t //Map<Long,Map<Long,LedDistrictVO>> manualMap = getManualEntryLightsDetails(list);\r\n\t\t\t \r\n\t\t\t if (locationMap != null && locationMap.size() > 0 ) {\r\n\t\t\t \treturnList.addAll(locationMap.values());\r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t if(viewType != null && viewType.equalsIgnoreCase(\"cummulative\") && returnList != null && !returnList.isEmpty()){\r\n\t\t\t \tfor (LightMonitoringVO mainvo : returnList) {\r\n\t\t\t\t\t\tif(mainvo.getSubList() != null && mainvo.getSubList().size() > 1){\r\n\t\t\t\t\t\t\tMap<Long,Long> wattageMap = new LinkedHashMap<Long,Long>();\r\n\t\t\t\t\t\t\tfor (LightMonitoringVO vendorvo : mainvo.getSubList()) {\r\n\t\t\t\t\t\t\t\tif(vendorvo.getWattageList() != null && !vendorvo.getWattageList().isEmpty()){\r\n\t\t\t\t\t\t\t\t\tfor (LightWattageVO watvo : vendorvo.getWattageList()) {\r\n\t\t\t\t\t\t\t\t\t\tLong wattage = watvo.getWattage();\r\n\t\t\t\t\t\t\t\t\t\tLong count = wattageMap.get(wattage);\r\n\t\t\t\t\t\t\t\t\t\tif(count != null && count > 0L){\r\n\t\t\t\t\t\t\t\t\t\t\tcount = count + watvo.getLightCount();\r\n\t\t\t\t\t\t\t\t\t\t\twattageMap.put(wattage, count);\r\n\t\t\t\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\t\t\t\tcount = watvo.getLightCount();\r\n\t\t\t\t\t\t\t\t\t\t\twattageMap.put(wattage, count);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tmainvo.getSubList1().addAll(mainvo.getSubList());\r\n\t\t\t\t\t\t\tmainvo.getSubList().clear();\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tLightMonitoringVO vo = new LightMonitoringVO();\r\n\t\t\t\t\t\t\tfor (LightMonitoringVO subvo : mainvo.getSubList1()) {\r\n\t\t\t\t\t\t\t\tvo.setTotalLights(vo.getTotalLights()+subvo.getTotalLights());\r\n\t\t\t\t\t\t\t\tvo.setTotalPanels(vo.getTotalPanels()+subvo.getTotalPanels());\r\n\t\t\t\t\t\t\t\tvo.setTotalPoles(vo.getTotalPoles()+subvo.getTotalPoles());\r\n\t\t\t\t\t\t\t\tvo.setWorkingLights(vo.getWorkingLights()+subvo.getWorkingLights());\r\n\t\t\t\t\t\t\t\tvo.setOnLights(vo.getOnLights()+subvo.getOnLights());\r\n\t\t\t\t\t\t\t\tvo.setOffLights(vo.getOffLights()+subvo.getOffLights());\r\n\t\t\t\t\t\t\t\tvo.setNotWorkingLights(vo.getNotWorkingLights()+subvo.getNotWorkingLights());\r\n\t\t\t\t\t\t\t\tvo.setTotalLedLIghtInstalledCount(vo.getTotalLedLIghtInstalledCount()+subvo.getTotalLedLIghtInstalledCount());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(wattageMap != null){\r\n\t\t\t\t\t\t\t\tfor (Entry<Long, Long> entry : wattageMap.entrySet()) {\r\n\t\t\t\t\t\t\t\t\tLightWattageVO wattagevo = new LightWattageVO();\r\n\t\t\t\t\t\t\t\t\twattagevo.setWattage(entry.getKey());\r\n\t\t\t\t\t\t\t\t\twattagevo.setLightCount(entry.getValue());\r\n\t\t\t\t\t\t\t\t\tvo.getWattageList().add(wattagevo);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tmainvo.getSubList().add(vo);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t /* if(returnList != null && !returnList.isEmpty()){\r\n\t\t\t \tfor (LightMonitoringVO lightMonitoringVO : returnList) {\r\n\t\t\t\t\t\tif(lightMonitoringVO != null && lightMonitoringVO.getSubList() != null && !lightMonitoringVO.getSubList().isEmpty()){\r\n\t\t\t\t\t\t\tfor (LightMonitoringVO vo : lightMonitoringVO.getSubList()) {\r\n\t\t\t\t\t\t\t\tLong key = 0L;\r\n\t\t\t\t\t\t\t\tif(locationType.equalsIgnoreCase(\"district\"))\r\n\t\t\t\t\t\t\t\t\tkey = lightMonitoringVO.getAddressVO().getDistrictId();\r\n\t\t\t\t\t\t\t\telse if(locationType.equalsIgnoreCase(\"constituency\"))\r\n\t\t\t\t\t\t\t\t\tkey = lightMonitoringVO.getAddressVO().getAssemblyId();\r\n\t\t\t\t\t\t\t\telse if(locationType.equalsIgnoreCase(\"parliament\"))\r\n\t\t\t\t\t\t\t\t\tkey = lightMonitoringVO.getAddressVO().getParliamentId();\r\n\t\t\t\t\t\t\t\telse if(locationType.equalsIgnoreCase(\"mandal\"))\r\n\t\t\t\t\t\t\t\t\tkey = lightMonitoringVO.getAddressVO().getTehsilId();\r\n\t\t\t\t\t\t\t\telse if(locationType.equalsIgnoreCase(\"panchayat\"))\r\n\t\t\t\t\t\t\t\t\tkey = lightMonitoringVO.getAddressVO().getPanchayatId();\r\n\t\t\t\t\t\t\t\tif(manualMap != null && key != null && key > 0L){\r\n\t\t\t\t\t\t\t\t\tMap<Long,LedDistrictVO> venMap = manualMap.get(key);\r\n\t\t\t\t\t\t\t\t\tif(venMap != null){\r\n\t\t\t\t\t\t\t\t\t\tLedDistrictVO manualvo = venMap.get(vo.getLightVendorId());\r\n\t\t\t\t\t\t\t\t\t\tif(manualvo != null){\r\n\t\t\t\t\t\t\t\t\t\t\tvo.setTotalVillages(manualvo.getTehsilId());\r\n\t\t\t\t\t\t\t\t\t\t\tvo.setTeamCount(manualvo.getPanchayatId());\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t }*/\r\n }catch (Exception e) {\r\n\t\t\tLOG.error(\"Exception raised at getAllLevelWiseDataOverView - LightMonitoringService service\", e);\r\n\t\t}\r\n\t\treturn returnList;\r\n\t}", "title": "" }, { "docid": "47438a65e429624176b08aa1e3205c7f", "score": "0.51229286", "text": "public List<IServiceDescription> getServiceDescriptions();", "title": "" }, { "docid": "f8a0a06cf236f941f0f45fa17003b331", "score": "0.51154", "text": "public int levels() {\n synchronized (monitor) {\n return ccList.size();\n }\n }", "title": "" }, { "docid": "f7ce3cadbade5baf3ef64628146ae460", "score": "0.51103914", "text": "public List<DataMap> getSwitchInfo(MonitorInfo vo) throws SystemException {\n\t\treturn monitorInfoDao.getSwitchInfo(vo);\n\t}", "title": "" }, { "docid": "a59a57cd5441abc5aca3debc728bdb1c", "score": "0.5105062", "text": "Collection<ListenerInfo> getListeners();", "title": "" }, { "docid": "dc9a340c5f306e0fe82674a32c0991b2", "score": "0.5096529", "text": "public int getCapPowerReporting()\r\n throws JposException\r\n {\n if(!bOpen)\r\n {\r\n throw new JposException(JPOS_E_CLOSED, \"Control not opened\");\r\n }\r\n\r\n // Perform the operation\r\n try\r\n {\r\n return service15.getCapPowerReporting();\r\n }\r\n catch(JposException je)\r\n {\r\n throw je;\r\n }\r\n catch(Exception e)\r\n {\r\n throw new JposException(JPOS_E_FAILURE,\r\n \"Unhandled exception from Device Service\", e);\r\n }\r\n }", "title": "" }, { "docid": "09a25af7cbe36a3780794574ebd9bf00", "score": "0.5092524", "text": "Status getGroupStatus();", "title": "" }, { "docid": "38dca4b66cfe9f10e46744cb4d180fc7", "score": "0.5091433", "text": "List<DependencyStatus> status();", "title": "" }, { "docid": "9b0e795f1f3f04fa53ec414a6eb70e65", "score": "0.5090881", "text": "public List<ComponentInfo> getStatus() {\n\t\treturn new ArrayList<>(componentInfoMap.values());\n\t}", "title": "" }, { "docid": "d386ef2cf67619af4e719b7b0c5b28c5", "score": "0.50871134", "text": "public List<Status> getStatus() {return status;}", "title": "" }, { "docid": "3592616869570563ce16e76fc2e5a778", "score": "0.508461", "text": "public ServiceInfo getServiceInfo();", "title": "" }, { "docid": "dbdb22dda5316e3dc9335076f152d176", "score": "0.5083037", "text": "java.util.List<SteammessagesGamenotificationsSteamclient.CGameNotifications_UserStatus> \n getUserStatusList();", "title": "" }, { "docid": "5f3baa3e696f8c0f7969ff1356b43c1d", "score": "0.5077023", "text": "private String[] getLevelDirList()\n \t{\n\t\tString[] levels = new String[2];\n \t\tlevels[0] = \"level1.hlf\";\n \t\tlevels[1] = \"level2.hlf\";\n \t\treturn levels;\n \t}", "title": "" }, { "docid": "7c44700174817490bf4012868503c815", "score": "0.5071603", "text": "public boolean getCapStatisticsReporting()\r\n throws JposException\r\n {\n if(!bOpen)\r\n {\r\n throw new JposException(JPOS_E_CLOSED, \"Control not opened\");\r\n }\r\n\r\n // Make sure service supports at least version 1.8.0\r\n if(serviceVersion < deviceVersion18)\r\n {\r\n throw new JposException(JPOS_E_NOSERVICE,\r\n \"Device Service is not 1.8.0 compliant.\");\r\n }\r\n\r\n // Perform the operation\r\n try\r\n {\r\n return service18.getCapStatisticsReporting();\r\n }\r\n catch(JposException je)\r\n {\r\n throw je;\r\n }\r\n catch(Exception e)\r\n {\r\n throw new JposException(JPOS_E_FAILURE,\r\n \"Unhandled exception from Device Service\", e);\r\n }\r\n }", "title": "" }, { "docid": "4744193d669bcc0df74c6673240040c6", "score": "0.507137", "text": "java.util.List<? extends yandex.cloud.api.mdb.elasticsearch.v1.ClusterOuterClass.MonitoringOrBuilder> \n getMonitoringOrBuilderList();", "title": "" }, { "docid": "56565414fd39173e083f61cb29b6ee09", "score": "0.50705993", "text": "public EntityCollection<Logger> getLoggers() {\r\n return getLoggers(null);\r\n }", "title": "" }, { "docid": "d74ac6990f8684be1c967ff9dc90d4bd", "score": "0.50693125", "text": "public Set<ServicePledge> getServicePledges();", "title": "" }, { "docid": "89ddb1c10a42d60c06e2f19e9dc98b0e", "score": "0.50663114", "text": "int getIndServicio();", "title": "" }, { "docid": "2e3ba4c8f1a24c0e0c385cdd772011df", "score": "0.5064253", "text": "private void extractMetrics() {\n try {\n QueryExp exp = Query.match(Query.attr(\"SensorName\"), Query.value(CLUSTER_NAME + \".Job.*\"));\n Set<ObjectInstance> mbeans = new HashSet<>(\n ManagementFactory.getPlatformMBeanServer().queryMBeans(new ObjectName(\"ClusterStatus:*\"), exp));\n for (ObjectInstance instance : mbeans) {\n ObjectName beanName = instance.getObjectName();\n if (instance.getClassName().endsWith(\"JobMonitor\")) {\n MBeanInfo info = _server.getMBeanInfo(beanName);\n MBeanAttributeInfo[] infos = info.getAttributes();\n for (MBeanAttributeInfo infoItem : infos) {\n Object val = _server.getAttribute(beanName, infoItem.getName());\n _beanValueMap.put(infoItem.getName(), val);\n }\n }\n }\n } catch (Exception e) {\n // update failed\n }\n }", "title": "" }, { "docid": "896e0f1ee55f926b5f59bae9be119673", "score": "0.506387", "text": "public Map<String, Service> getServices() {\n return services;\n }", "title": "" }, { "docid": "9154c8e90cba1d37c631947a204a4716", "score": "0.5059501", "text": "public WFSServiceInformation getServiceInformation(){\r\n return (WFSServiceInformation)handler.getServiceInformation(); \r\n }", "title": "" }, { "docid": "9970a25fe5a2a1a556720e8363c3268c", "score": "0.5058988", "text": "@MessageMapping(\"/check\")\n\t@SendTo(\"/topic/services\")\n\tpublic void broadcastServicesStatus() throws Exception {\n\t\tList<String> allUrls = new ArrayList<String>();\n\t\t// Temporary , team members have to solve this part\n\t\t// Read from config files\n\t\tallUrls.add(\"https://developer.aptimus.com/api/validation-service/1/apti/status\");\n\t\tallUrls.add(\"https://developer.aptimus.com/api/utility/2/apti/status\");\n\t\tallUrls.add(\"https://developer.aptimus.com/api/survey-service/2/apti/status\");\n\t\tallUrls.add(\"https://developer.aptimus.com/api/skill-service/1/apti/status\");\n\t\tallUrls.add(\"https://developer.aptimus.com/api/session-service/2/apti/status\");\n\n\t\tallUrls.add(\"https://developer.aptimus.com/api/session-service-hati-ghoda/2/apti/status\");\n\n\t\tfor (String url : allUrls) {\n\t\t\tIStatus status = processor.get(url);\n\t\t\tthis.template.convertAndSend(\"/topic/services\", status);\n\t\t}\n\n\t}", "title": "" }, { "docid": "1f25ff98c22185bd6d5df6585466158f", "score": "0.5050226", "text": "@VisibleForTesting\n Map<SystemStream, Gauge<Integer>> getGauges() {\n return gauges;\n }", "title": "" }, { "docid": "c960ef3ef3a687d9c6d9a9f69bbb64ba", "score": "0.504524", "text": "NamedPowerChannelRegistry getNamedPowerChannels();", "title": "" }, { "docid": "d1c25c33f2043c50228a67ed17574ba9", "score": "0.5024796", "text": "java.util.Map<Integer, Policy>\n getLevelMap();", "title": "" }, { "docid": "d91189cf58f8fced4c5b4183482e91f1", "score": "0.5017132", "text": "int getServicesCount();", "title": "" }, { "docid": "d91189cf58f8fced4c5b4183482e91f1", "score": "0.5017132", "text": "int getServicesCount();", "title": "" }, { "docid": "d91189cf58f8fced4c5b4183482e91f1", "score": "0.5017132", "text": "int getServicesCount();", "title": "" }, { "docid": "50f43f914075efc6284bd8a3349c3da9", "score": "0.50158864", "text": "void logCurrentStatus();", "title": "" }, { "docid": "52945ee47417ea22235f32cc88b0cc2a", "score": "0.50126886", "text": "@Override\n public String healthStatus() throws Exception {\n healthList();\n\n return getCurrentStatus();\n }", "title": "" }, { "docid": "ccb9e0c0db32486ac215a83060d6caa8", "score": "0.5012398", "text": "public Map getStatusMap() {\n\t\treturn configReader.getStatusMap();\n\t}", "title": "" }, { "docid": "aec6694d9ed47411645ef68c31bfdd12", "score": "0.5010473", "text": "public Service[] retrieveServices();", "title": "" }, { "docid": "af3e5cf6486223efb80cebe78371316a", "score": "0.5008674", "text": "public java.util.List<? extends yandex.cloud.api.mdb.elasticsearch.v1.ClusterOuterClass.MonitoringOrBuilder> \n getMonitoringOrBuilderList() {\n if (monitoringBuilder_ != null) {\n return monitoringBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(monitoring_);\n }\n }", "title": "" }, { "docid": "9a7c7d7d1ba7bc26eb30a29a7f4e0cd5", "score": "0.5008004", "text": "STS getSts();", "title": "" }, { "docid": "17913ffc39bafcf8c4169ad64fdc6f06", "score": "0.5004137", "text": "public static userInfo [] getMonitor(String[] period) {\t\t\r\n\t\tuserInfo [] uInfo = getUserInfo();\r\n\t\tHashMap<Integer, Integer> tInfo = getTrafficLog(period);\t\t\t\t\t\t\r\n\t\t\r\n\t\tfor (int i = 0; i < uInfo.length; i++) {\r\n\t\t\tint uid = uInfo[i].getUID();\r\n\t\t\tif (tInfo.get(uid) != null)\r\n\t\t\t\tuInfo[i].updateTraffic(tInfo.get(uid));\t\t\t\r\n\t\t}\t\t\r\n\t\treturn uInfo;\r\n\t}", "title": "" }, { "docid": "76f4bf4a163311c55b23beea1f10d661", "score": "0.4999011", "text": "Collection<ServiceDescriptor> getAllServiceDescriptors();", "title": "" }, { "docid": "8f0fc168f9c8a3887f205b851c987123", "score": "0.49944964", "text": "public String getLevels() {\n return levels;\n }", "title": "" }, { "docid": "5fab59353bf4748443ec6ae0a8fefddb", "score": "0.4994331", "text": "public static Map<Integer, Status> findAllStatuses() throws GlobalException {\n Map<Integer, Status> statusMap = new HashMap<>();\n Connection con = null;\n Statement stmt = null;\n ResultSet rs = null;\n try {\n con = DBManager.getInstance().getConnection();\n stmt = con.createStatement();\n rs = stmt.executeQuery(MYSQL_FIND_ALL_STATUSES);\n while (rs.next()) {\n Status status = extractStatus(rs);\n statusMap.put(status.getId(), status);\n }\n } catch (SQLException ex) {\n LOG.error(\"#findAllStatuses error\", ex);\n DBManager.getInstance().rollbackAndClose(con);\n throw new GlobalException(\"Can't find statuses.\");\n } finally {\n DBManager.getInstance().close(con, stmt, rs);\n }\n return statusMap;\n }", "title": "" }, { "docid": "de2a5a83f210030dcfdf92ce90062d09", "score": "0.49917343", "text": "@Override\r\n\tpublic List<Integer> getRoomsAlerts(String building, String level){\r\n\t\tList<Integer> numAlerts = new LinkedList<Integer>();\r\n\t\tSet<SensordataRoom> roomData = new HashSet<SensordataRoom>();\r\n\t\tList<SensordataAddress> addresses = new LinkedList<SensordataAddress>();\r\n\t\ttry{\t\t\r\n\t\t\taddresses = sensorEao.getAddressbyBuildingandLevel(building, level);\r\n\t\t} catch (Exception exception)\r\n\t\t{\r\n\t\t\treturn numAlerts;\r\n\t\t}\r\n\t\tIterator<SensordataAddress> itr = addresses.iterator();\r\n\t \twhile(itr.hasNext()){\r\n\t \t\troomData.addAll(itr.next().getSensordataRooms());\r\n\t \t}\r\n\t \tIterator<SensordataRoom> itr2 = roomData.iterator();\r\n\t \twhile(itr2.hasNext()){\r\n\t \t\tnumAlerts.add(alarmBean.findNumAlerts(itr2.next()));\r\n\t \t}\r\n\t\treturn numAlerts;\r\n\t}", "title": "" }, { "docid": "c187f3734d65dd842d01fa2b83da3340", "score": "0.4991123", "text": "public List getServices() {\n return m_serviceList;\n }", "title": "" } ]
9aa7116009b969366468a96d203a0999
Configuration of the SQL Server 2016sp2 enterprise edition instance. .yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2016sp2ent sqlserver_config_2016sp2ent = 5 [json_name = "sqlserverConfig_2016sp2ent"];
[ { "docid": "be0358f79528ea753477ed11dc999153", "score": "0.6344099", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2entOrBuilder> \n getSqlserverConfig2016Sp2EntFieldBuilder() {\n if (sqlserverConfig2016Sp2EntBuilder_ == null) {\n if (!(sqlserverConfigCase_ == 5)) {\n sqlserverConfig_ = yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.getDefaultInstance();\n }\n sqlserverConfig2016Sp2EntBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2entOrBuilder>(\n (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent) sqlserverConfig_,\n getParentForChildren(),\n isClean());\n sqlserverConfig_ = null;\n }\n sqlserverConfigCase_ = 5;\n onChanged();;\n return sqlserverConfig2016Sp2EntBuilder_;\n }", "title": "" } ]
[ { "docid": "56ee013cedad59e554198753cd347f30", "score": "0.84047484", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent getSqlserverConfig2016Sp2Ent();", "title": "" }, { "docid": "bb7112e504c446535b4fee7d5cec147b", "score": "0.7674518", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std getSqlserverConfig2016Sp2Std();", "title": "" }, { "docid": "5a4b7bf6d39355901ede84b652851132", "score": "0.74755913", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent getSqlserverConfig2016Sp2Ent() {\n if (sqlserverConfigCase_ == 5) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.getDefaultInstance();\n }", "title": "" }, { "docid": "bd56c2f4ec24c26a9b0f996f9f71d02a", "score": "0.73451024", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent getSqlserverConfig2016Sp2Ent() {\n if (sqlserverConfig2016Sp2EntBuilder_ == null) {\n if (sqlserverConfigCase_ == 5) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.getDefaultInstance();\n } else {\n if (sqlserverConfigCase_ == 5) {\n return sqlserverConfig2016Sp2EntBuilder_.getMessage();\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "0bd72d2176d273416fb50e2321863e3e", "score": "0.7340972", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2entOrBuilder getSqlserverConfig2016Sp2EntOrBuilder();", "title": "" }, { "docid": "908c38797d838e627342ecad81a36a3d", "score": "0.72921616", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2entOrBuilder getSqlserverConfig2016Sp2EntOrBuilder() {\n if (sqlserverConfigCase_ == 5) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.getDefaultInstance();\n }", "title": "" }, { "docid": "f8afed8e9d4c56de84c33e6fdffec080", "score": "0.7260965", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent getSqlserverConfig2019Ent();", "title": "" }, { "docid": "8e7433ba6bfaa372e9518e3c173a4683", "score": "0.72245836", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2016Sp2Ent() {\n return sqlserverConfigCase_ == 5;\n }", "title": "" }, { "docid": "3bc2c734d85c44c3360ed05b1c6a2f17", "score": "0.71828765", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2016Sp2Ent() {\n return sqlserverConfigCase_ == 5;\n }", "title": "" }, { "docid": "be5cb060a4e1b220f0b0a8426c40a3e9", "score": "0.71452975", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent getSqlserverConfig2017Ent();", "title": "" }, { "docid": "250b40d1b7db1f8f0e9a480391b36819", "score": "0.7129745", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2entOrBuilder getSqlserverConfig2016Sp2EntOrBuilder() {\n if ((sqlserverConfigCase_ == 5) && (sqlserverConfig2016Sp2EntBuilder_ != null)) {\n return sqlserverConfig2016Sp2EntBuilder_.getMessageOrBuilder();\n } else {\n if (sqlserverConfigCase_ == 5) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "e0b208366d67f0f761546b427845aa8a", "score": "0.68201935", "text": "boolean hasSqlserverConfig2016Sp2Ent();", "title": "" }, { "docid": "9247dbe310bfa5d3daeb1f2264d933ff", "score": "0.68049544", "text": "public Builder setSqlserverConfig2016Sp2Ent(yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent value) {\n if (sqlserverConfig2016Sp2EntBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n sqlserverConfig_ = value;\n onChanged();\n } else {\n sqlserverConfig2016Sp2EntBuilder_.setMessage(value);\n }\n sqlserverConfigCase_ = 5;\n return this;\n }", "title": "" }, { "docid": "519a74c4c15aefc62eb41db78c597f3c", "score": "0.6802723", "text": "public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.Builder getSqlserverConfig2016Sp2EntBuilder() {\n return getSqlserverConfig2016Sp2EntFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "a11573ec11bb925a74be25b25099ce27", "score": "0.6760962", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2stdOrBuilder getSqlserverConfig2016Sp2StdOrBuilder();", "title": "" }, { "docid": "fe74a5832532db96c22c4056fdb75924", "score": "0.6704369", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std getSqlserverConfig2019Std();", "title": "" }, { "docid": "19170815694863ea7debb4b2444ef8bb", "score": "0.66826254", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std getSqlserverConfig2016Sp2Std() {\n if (sqlserverConfig2016Sp2StdBuilder_ == null) {\n if (sqlserverConfigCase_ == 2) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.getDefaultInstance();\n } else {\n if (sqlserverConfigCase_ == 2) {\n return sqlserverConfig2016Sp2StdBuilder_.getMessage();\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "ffd49cc18b9d070cfd3af668a89977eb", "score": "0.6675088", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std getSqlserverConfig2016Sp2Std() {\n if (sqlserverConfigCase_ == 2) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.getDefaultInstance();\n }", "title": "" }, { "docid": "fbaf0446d1e04022e7b44376f9d94605", "score": "0.65690744", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2stdOrBuilder getSqlserverConfig2016Sp2StdOrBuilder() {\n if (sqlserverConfigCase_ == 2) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.getDefaultInstance();\n }", "title": "" }, { "docid": "e5e26a6dad2663c2458ba8b63b80bd23", "score": "0.6564727", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2016Sp2Std() {\n return sqlserverConfigCase_ == 2;\n }", "title": "" }, { "docid": "f8fe0a328cb04cc2a5bac1d21f03860d", "score": "0.6564259", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std getSqlserverConfig2017Std();", "title": "" }, { "docid": "b978a68269b423d066a6f206816b73bd", "score": "0.6537226", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2016Sp2Std() {\n return sqlserverConfigCase_ == 2;\n }", "title": "" }, { "docid": "b47bdc4c0bfb4dedeefab4a6e8eebe47", "score": "0.65067065", "text": "public Builder setSqlserverConfig2016Sp2Ent(\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.Builder builderForValue) {\n if (sqlserverConfig2016Sp2EntBuilder_ == null) {\n sqlserverConfig_ = builderForValue.build();\n onChanged();\n } else {\n sqlserverConfig2016Sp2EntBuilder_.setMessage(builderForValue.build());\n }\n sqlserverConfigCase_ = 5;\n return this;\n }", "title": "" }, { "docid": "70fc395c54ee71cb0c41398a485f981c", "score": "0.650243", "text": "boolean hasSqlserverConfig2016Sp2Std();", "title": "" }, { "docid": "d7e3d52698b8d52dbe013b74fb806544", "score": "0.64905775", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2stdOrBuilder getSqlserverConfig2016Sp2StdOrBuilder() {\n if ((sqlserverConfigCase_ == 2) && (sqlserverConfig2016Sp2StdBuilder_ != null)) {\n return sqlserverConfig2016Sp2StdBuilder_.getMessageOrBuilder();\n } else {\n if (sqlserverConfigCase_ == 2) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "e7628c2ca154806cda5fd49b65bb0120", "score": "0.64373803", "text": "public Builder clearSqlserverConfig2016Sp2Ent() {\n if (sqlserverConfig2016Sp2EntBuilder_ == null) {\n if (sqlserverConfigCase_ == 5) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n onChanged();\n }\n } else {\n if (sqlserverConfigCase_ == 5) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n }\n sqlserverConfig2016Sp2EntBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "5698df7cc807c7178917c065e46f8795", "score": "0.64173454", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019entOrBuilder getSqlserverConfig2019EntOrBuilder();", "title": "" }, { "docid": "393e641cd7450f3befaa8082d9aa271a", "score": "0.6296788", "text": "public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.Builder getSqlserverConfig2016Sp2StdBuilder() {\n return getSqlserverConfig2016Sp2StdFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "6d7e0b054f97fefb23da9b57e98e627f", "score": "0.6285602", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017entOrBuilder getSqlserverConfig2017EntOrBuilder();", "title": "" }, { "docid": "7d702d21af742c3c03e35b1a8d568a5e", "score": "0.624701", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2019Ent() {\n return sqlserverConfigCase_ == 11;\n }", "title": "" }, { "docid": "601d1587aec38b66ce1c9701994c0411", "score": "0.6217405", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2019Ent() {\n return sqlserverConfigCase_ == 11;\n }", "title": "" }, { "docid": "161e96f6245e917f4a0321cd5ed42de6", "score": "0.62001526", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2017Ent() {\n return sqlserverConfigCase_ == 9;\n }", "title": "" }, { "docid": "76e4247bf0d6f6af79232b34e546456d", "score": "0.6172643", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2017Ent() {\n return sqlserverConfigCase_ == 9;\n }", "title": "" }, { "docid": "6649118a59aded4f922c04984e1f8999", "score": "0.61558425", "text": "public Builder mergeSqlserverConfig2016Sp2Ent(yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent value) {\n if (sqlserverConfig2016Sp2EntBuilder_ == null) {\n if (sqlserverConfigCase_ == 5 &&\n sqlserverConfig_ != yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.getDefaultInstance()) {\n sqlserverConfig_ = yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent.newBuilder((yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2ent) sqlserverConfig_)\n .mergeFrom(value).buildPartial();\n } else {\n sqlserverConfig_ = value;\n }\n onChanged();\n } else {\n if (sqlserverConfigCase_ == 5) {\n sqlserverConfig2016Sp2EntBuilder_.mergeFrom(value);\n }\n sqlserverConfig2016Sp2EntBuilder_.setMessage(value);\n }\n sqlserverConfigCase_ = 5;\n return this;\n }", "title": "" }, { "docid": "65a40836137abca0871877ed74808875", "score": "0.6082047", "text": "boolean hasSqlserverConfig2017Ent();", "title": "" }, { "docid": "1c19971a6650babcc5d9f798898dd47a", "score": "0.6060125", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent getSqlserverConfig2019Ent() {\n if (sqlserverConfigCase_ == 11) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.getDefaultInstance();\n }", "title": "" }, { "docid": "4582d8d9afedd55d41039d48f97675dc", "score": "0.6022382", "text": "public Builder clearSqlserverConfig2016Sp2Std() {\n if (sqlserverConfig2016Sp2StdBuilder_ == null) {\n if (sqlserverConfigCase_ == 2) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n onChanged();\n }\n } else {\n if (sqlserverConfigCase_ == 2) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n }\n sqlserverConfig2016Sp2StdBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "0805b6a475a294a1338efc2128869b55", "score": "0.60047746", "text": "public Builder setSqlserverConfig2016Sp2Std(yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std value) {\n if (sqlserverConfig2016Sp2StdBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n sqlserverConfig_ = value;\n onChanged();\n } else {\n sqlserverConfig2016Sp2StdBuilder_.setMessage(value);\n }\n sqlserverConfigCase_ = 2;\n return this;\n }", "title": "" }, { "docid": "894837f9acdb5139bd70a5c753418d7f", "score": "0.59559083", "text": "boolean hasSqlserverConfig2017Std();", "title": "" }, { "docid": "e0276f8795d099c5998255d356cfb641", "score": "0.592717", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019entOrBuilder getSqlserverConfig2019EntOrBuilder() {\n if (sqlserverConfigCase_ == 11) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.getDefaultInstance();\n }", "title": "" }, { "docid": "9e3850c3d513b6bd47ad69c3e5e32b7a", "score": "0.59150505", "text": "public Builder setSqlserverConfig2016Sp2Std(\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.Builder builderForValue) {\n if (sqlserverConfig2016Sp2StdBuilder_ == null) {\n sqlserverConfig_ = builderForValue.build();\n onChanged();\n } else {\n sqlserverConfig2016Sp2StdBuilder_.setMessage(builderForValue.build());\n }\n sqlserverConfigCase_ = 2;\n return this;\n }", "title": "" }, { "docid": "65fdbf572e86c42d1f3011fc672e1463", "score": "0.5912092", "text": "boolean hasSqlserverConfig2019Ent();", "title": "" }, { "docid": "5256605f7e35940835bf39f572de4ad4", "score": "0.5891064", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent getSqlserverConfig2017Ent() {\n if (sqlserverConfigCase_ == 9) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.getDefaultInstance();\n }", "title": "" }, { "docid": "590ffb240b2aff51806e52f99c6ae4f0", "score": "0.5884283", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2stdOrBuilder> \n getSqlserverConfig2016Sp2StdFieldBuilder() {\n if (sqlserverConfig2016Sp2StdBuilder_ == null) {\n if (!(sqlserverConfigCase_ == 2)) {\n sqlserverConfig_ = yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.getDefaultInstance();\n }\n sqlserverConfig2016Sp2StdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2stdOrBuilder>(\n (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std) sqlserverConfig_,\n getParentForChildren(),\n isClean());\n sqlserverConfig_ = null;\n }\n sqlserverConfigCase_ = 2;\n onChanged();;\n return sqlserverConfig2016Sp2StdBuilder_;\n }", "title": "" }, { "docid": "9cec3cddf111b73cf1b7d5b528ee7b58", "score": "0.58815324", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent getSqlserverConfig2019Ent() {\n if (sqlserverConfig2019EntBuilder_ == null) {\n if (sqlserverConfigCase_ == 11) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.getDefaultInstance();\n } else {\n if (sqlserverConfigCase_ == 11) {\n return sqlserverConfig2019EntBuilder_.getMessage();\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "85963436d335beb67e1582381e95b52a", "score": "0.587327", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019stdOrBuilder getSqlserverConfig2019StdOrBuilder();", "title": "" }, { "docid": "2f8f500b7a384497230b539038ba44ad", "score": "0.58638453", "text": "public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.Builder getSqlserverConfig2019EntBuilder() {\n return getSqlserverConfig2019EntFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "dbc86cb40ff204abd2b236de289fb081", "score": "0.58200216", "text": "boolean hasSqlserverConfig2019Std();", "title": "" }, { "docid": "52576092332bbe097922578230696829", "score": "0.58039266", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019entOrBuilder getSqlserverConfig2019EntOrBuilder() {\n if ((sqlserverConfigCase_ == 11) && (sqlserverConfig2019EntBuilder_ != null)) {\n return sqlserverConfig2019EntBuilder_.getMessageOrBuilder();\n } else {\n if (sqlserverConfigCase_ == 11) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "e86ec3bae649f2837218651dbc6a424f", "score": "0.5768254", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017entOrBuilder getSqlserverConfig2017EntOrBuilder() {\n if (sqlserverConfigCase_ == 9) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.getDefaultInstance();\n }", "title": "" }, { "docid": "af73ea690731a76a4aa5ac751ebc04a4", "score": "0.57429653", "text": "public SubResource p2SVpnServerConfiguration() {\n return this.p2SVpnServerConfiguration;\n }", "title": "" }, { "docid": "43d91832974af45c3a43390b9ae2b04b", "score": "0.57358444", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent getSqlserverConfig2017Ent() {\n if (sqlserverConfig2017EntBuilder_ == null) {\n if (sqlserverConfigCase_ == 9) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.getDefaultInstance();\n } else {\n if (sqlserverConfigCase_ == 9) {\n return sqlserverConfig2017EntBuilder_.getMessage();\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "e6f749bd47e976e966b6162be6201846", "score": "0.57112104", "text": "public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.Builder getSqlserverConfig2017EntBuilder() {\n return getSqlserverConfig2017EntFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "359b8b858416370546c9cbd0bd7756f5", "score": "0.5708856", "text": "yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017stdOrBuilder getSqlserverConfig2017StdOrBuilder();", "title": "" }, { "docid": "7b37092cfc6155e48fd509c5b721de5e", "score": "0.5682398", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017entOrBuilder getSqlserverConfig2017EntOrBuilder() {\n if ((sqlserverConfigCase_ == 9) && (sqlserverConfig2017EntBuilder_ != null)) {\n return sqlserverConfig2017EntBuilder_.getMessageOrBuilder();\n } else {\n if (sqlserverConfigCase_ == 9) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "a1f6c05f68290f602ca219c1e658a73c", "score": "0.56620014", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2017Std() {\n return sqlserverConfigCase_ == 8;\n }", "title": "" }, { "docid": "f89022a56ddbe2e41e9cbf426159e415", "score": "0.56528944", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2017Std() {\n return sqlserverConfigCase_ == 8;\n }", "title": "" }, { "docid": "7c143570c95024bf752f4afe0bfef2cf", "score": "0.5613238", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2019Std() {\n return sqlserverConfigCase_ == 10;\n }", "title": "" }, { "docid": "57ecc7805a5ced630cc0853460e79a58", "score": "0.5610172", "text": "@java.lang.Override\n public boolean hasSqlserverConfig2019Std() {\n return sqlserverConfigCase_ == 10;\n }", "title": "" }, { "docid": "97ea6c313f55b14fe6f0b739377fea54", "score": "0.5603737", "text": "yandex.cloud.api.mdb.sqlserver.v1.PSC.ClusterConfig getConfig();", "title": "" }, { "docid": "8fd33b9711e60110ae2960a3c1be53b4", "score": "0.54686254", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std getSqlserverConfig2017Std() {\n if (sqlserverConfigCase_ == 8) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.getDefaultInstance();\n }", "title": "" }, { "docid": "36e9be58de5bd0bddc75416c7e42fd1c", "score": "0.54393685", "text": "public Builder setSqlserverConfig2019Ent(yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent value) {\n if (sqlserverConfig2019EntBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n sqlserverConfig_ = value;\n onChanged();\n } else {\n sqlserverConfig2019EntBuilder_.setMessage(value);\n }\n sqlserverConfigCase_ = 11;\n return this;\n }", "title": "" }, { "docid": "9e7ee7c308b115fb31486030a2c0d651", "score": "0.54380375", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std getSqlserverConfig2019Std() {\n if (sqlserverConfigCase_ == 10) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.getDefaultInstance();\n }", "title": "" }, { "docid": "8ec6a15a7ff5da4c85810458ec1b0d78", "score": "0.5418105", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019stdOrBuilder getSqlserverConfig2019StdOrBuilder() {\n if (sqlserverConfigCase_ == 10) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.getDefaultInstance();\n }", "title": "" }, { "docid": "a79da41367f755d52f317c9840a3e113", "score": "0.5415809", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std getSqlserverConfig2017Std() {\n if (sqlserverConfig2017StdBuilder_ == null) {\n if (sqlserverConfigCase_ == 8) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.getDefaultInstance();\n } else {\n if (sqlserverConfigCase_ == 8) {\n return sqlserverConfig2017StdBuilder_.getMessage();\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "f35639424c762cdabc8897d7e81c4c41", "score": "0.54048926", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std getSqlserverConfig2019Std() {\n if (sqlserverConfig2019StdBuilder_ == null) {\n if (sqlserverConfigCase_ == 10) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.getDefaultInstance();\n } else {\n if (sqlserverConfigCase_ == 10) {\n return sqlserverConfig2019StdBuilder_.getMessage();\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "fc822277c5cdda50e707fcfc3cb20c66", "score": "0.53605145", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017stdOrBuilder getSqlserverConfig2017StdOrBuilder() {\n if (sqlserverConfigCase_ == 8) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.getDefaultInstance();\n }", "title": "" }, { "docid": "3e19661dd0305d5cb9103b6f8daf954d", "score": "0.53263104", "text": "public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.Builder getSqlserverConfig2019StdBuilder() {\n return getSqlserverConfig2019StdFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "1f458c3391871194f0ec694423ef0358", "score": "0.53254634", "text": "public Builder mergeSqlserverConfig2016Sp2Std(yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std value) {\n if (sqlserverConfig2016Sp2StdBuilder_ == null) {\n if (sqlserverConfigCase_ == 2 &&\n sqlserverConfig_ != yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.getDefaultInstance()) {\n sqlserverConfig_ = yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std.newBuilder((yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2016Sp2.SQLServerConfigSet2016sp2std) sqlserverConfig_)\n .mergeFrom(value).buildPartial();\n } else {\n sqlserverConfig_ = value;\n }\n onChanged();\n } else {\n if (sqlserverConfigCase_ == 2) {\n sqlserverConfig2016Sp2StdBuilder_.mergeFrom(value);\n }\n sqlserverConfig2016Sp2StdBuilder_.setMessage(value);\n }\n sqlserverConfigCase_ = 2;\n return this;\n }", "title": "" }, { "docid": "eb8a1b8d7ed467ae758b38434925f106", "score": "0.530966", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019stdOrBuilder getSqlserverConfig2019StdOrBuilder() {\n if ((sqlserverConfigCase_ == 10) && (sqlserverConfig2019StdBuilder_ != null)) {\n return sqlserverConfig2019StdBuilder_.getMessageOrBuilder();\n } else {\n if (sqlserverConfigCase_ == 10) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "1fc162769637b88a99e3ecbdc6d21d16", "score": "0.53085065", "text": "public Builder setSqlserverConfig2019Ent(\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.Builder builderForValue) {\n if (sqlserverConfig2019EntBuilder_ == null) {\n sqlserverConfig_ = builderForValue.build();\n onChanged();\n } else {\n sqlserverConfig2019EntBuilder_.setMessage(builderForValue.build());\n }\n sqlserverConfigCase_ = 11;\n return this;\n }", "title": "" }, { "docid": "1bb258e5ff1839f91776994f9f99ce66", "score": "0.52992284", "text": "ServerSettings createServerSettings();", "title": "" }, { "docid": "22a078f8ffbce600de42f7ae8dff91e9", "score": "0.52519953", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017stdOrBuilder getSqlserverConfig2017StdOrBuilder() {\n if ((sqlserverConfigCase_ == 8) && (sqlserverConfig2017StdBuilder_ != null)) {\n return sqlserverConfig2017StdBuilder_.getMessageOrBuilder();\n } else {\n if (sqlserverConfigCase_ == 8) {\n return (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std) sqlserverConfig_;\n }\n return yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "5fde0727e14549162060fad453ab5516", "score": "0.5241477", "text": "public String getConfigurationVersion() {\r\n \t\treturn SeamFacetPreferenceInitializer.RUNTIME_CONFIG_FORMAT_VERSION;\r\n \t}", "title": "" }, { "docid": "c01130b2b351d35f418b6760358f3b84", "score": "0.52045625", "text": "public Builder clearSqlserverConfig2017Ent() {\n if (sqlserverConfig2017EntBuilder_ == null) {\n if (sqlserverConfigCase_ == 9) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n onChanged();\n }\n } else {\n if (sqlserverConfigCase_ == 9) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n }\n sqlserverConfig2017EntBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "b99b5021920ad2b8fbc9e56a5d7b6a89", "score": "0.51805335", "text": "public yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.Builder getSqlserverConfig2017StdBuilder() {\n return getSqlserverConfig2017StdFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "9fa9e1dea34ace180c4f52292feb1c64", "score": "0.5159513", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019entOrBuilder> \n getSqlserverConfig2019EntFieldBuilder() {\n if (sqlserverConfig2019EntBuilder_ == null) {\n if (!(sqlserverConfigCase_ == 11)) {\n sqlserverConfig_ = yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.getDefaultInstance();\n }\n sqlserverConfig2019EntBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019entOrBuilder>(\n (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019ent) sqlserverConfig_,\n getParentForChildren(),\n isClean());\n sqlserverConfig_ = null;\n }\n sqlserverConfigCase_ = 11;\n onChanged();;\n return sqlserverConfig2019EntBuilder_;\n }", "title": "" }, { "docid": "5d4fcd1fb4ee8cdf1e846b0751d6b6fd", "score": "0.51136965", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017entOrBuilder> \n getSqlserverConfig2017EntFieldBuilder() {\n if (sqlserverConfig2017EntBuilder_ == null) {\n if (!(sqlserverConfigCase_ == 9)) {\n sqlserverConfig_ = yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.getDefaultInstance();\n }\n sqlserverConfig2017EntBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017entOrBuilder>(\n (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent) sqlserverConfig_,\n getParentForChildren(),\n isClean());\n sqlserverConfig_ = null;\n }\n sqlserverConfigCase_ = 9;\n onChanged();;\n return sqlserverConfig2017EntBuilder_;\n }", "title": "" }, { "docid": "43e80c3f3fe4e60aa1bf486e881387a6", "score": "0.5108363", "text": "public Builder clearSqlserverConfig2019Ent() {\n if (sqlserverConfig2019EntBuilder_ == null) {\n if (sqlserverConfigCase_ == 11) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n onChanged();\n }\n } else {\n if (sqlserverConfigCase_ == 11) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n }\n sqlserverConfig2019EntBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "f2f50fc46f0faa280327767779c38e37", "score": "0.5097452", "text": "interface WithNodeServerEdition {\n /**\n * Specifies the nodeServerEdition property: The edition of a node server (default: MemoryOptimized)..\n *\n * @param nodeServerEdition The edition of a node server (default: MemoryOptimized).\n * @return the next definition stage.\n */\n WithCreate withNodeServerEdition(String nodeServerEdition);\n }", "title": "" }, { "docid": "e79cd4f5193111a112fc1cd8202fbc11", "score": "0.50914514", "text": "public Builder setSqlserverConfig2017Ent(yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent value) {\n if (sqlserverConfig2017EntBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n sqlserverConfig_ = value;\n onChanged();\n } else {\n sqlserverConfig2017EntBuilder_.setMessage(value);\n }\n sqlserverConfigCase_ = 9;\n return this;\n }", "title": "" }, { "docid": "2c9774fad9e346f81812557f9dfcd0c5", "score": "0.5083564", "text": "@Override\n\tprotected ServerConfigurationService serverConfigurationService() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ad83cb77369c3d5fa23c79e66f12236b", "score": "0.5058583", "text": "public Builder setSqlserverConfig2017Ent(\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017ent.Builder builderForValue) {\n if (sqlserverConfig2017EntBuilder_ == null) {\n sqlserverConfig_ = builderForValue.build();\n onChanged();\n } else {\n sqlserverConfig2017EntBuilder_.setMessage(builderForValue.build());\n }\n sqlserverConfigCase_ = 9;\n return this;\n }", "title": "" }, { "docid": "9b9568437cf8d75875a82ecccd8ecd7b", "score": "0.5029142", "text": "private String getServer() {\n return centralConfigService.getDescriptor().getServerName();\n }", "title": "" }, { "docid": "80c5721cd89d1c73eaf358081ebc7f67", "score": "0.50277746", "text": "VirtualMachineConfiguration virtualMachineConfiguration();", "title": "" }, { "docid": "401b554355b6c32fae0e8ad90373f929", "score": "0.5013734", "text": "void setCmsDotCmsServer(String cmsDotCmsServer);", "title": "" }, { "docid": "6d243d36e28a9eed7d6299b343586913", "score": "0.4998301", "text": "@Override\n public PerNamespaceServerConfiguration getServerConfiguration() {\n return (PerNamespaceServerConfiguration) super.getServerConfiguration();\n }", "title": "" }, { "docid": "7e0fb525925ae16abb5192e88e23c4e6", "score": "0.4995387", "text": "public String getLabConfiguration()\r\n throws ServerException;", "title": "" }, { "docid": "2d264f788ef324993c46f7e18dde4e05", "score": "0.49843636", "text": "String coordinatorServerEdition();", "title": "" }, { "docid": "5bc6017658c69566ea245f62c23a3340", "score": "0.4970326", "text": "public Builder clearSqlserverConfig2017Std() {\n if (sqlserverConfig2017StdBuilder_ == null) {\n if (sqlserverConfigCase_ == 8) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n onChanged();\n }\n } else {\n if (sqlserverConfigCase_ == 8) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n }\n sqlserverConfig2017StdBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "a1f9d64f29873abf43b1e5ba40a10e04", "score": "0.4944911", "text": "private static Configuration getDriverNcsConf() throws InjectionException {\n return Configurations.merge(NameServerConfiguration.CONF.build(),\n LocalNameResolverConfiguration.CONF.build(),\n TANG.newConfigurationBuilder()\n .bindImplementation(IdentifierFactory.class, StringIdentifierFactory.class)\n .build());\n }", "title": "" }, { "docid": "c896b2d8cdd25ca18875c5ebd3aed35c", "score": "0.49419653", "text": "String nodeServerEdition();", "title": "" }, { "docid": "66c1db942ebdc235b5e33ada479e9f50", "score": "0.49301618", "text": "public Builder clearSqlserverConfig2019Std() {\n if (sqlserverConfig2019StdBuilder_ == null) {\n if (sqlserverConfigCase_ == 10) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n onChanged();\n }\n } else {\n if (sqlserverConfigCase_ == 10) {\n sqlserverConfigCase_ = 0;\n sqlserverConfig_ = null;\n }\n sqlserverConfig2019StdBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "583be3022f115f1da69430d38c26fc32", "score": "0.49195", "text": "interface WithNodeServerEdition {\n /**\n * Specifies the nodeServerEdition property: The edition of a node (default: MemoryOptimized)..\n *\n * @param nodeServerEdition The edition of a node (default: MemoryOptimized).\n * @return the next definition stage.\n */\n Update withNodeServerEdition(String nodeServerEdition);\n }", "title": "" }, { "docid": "3b2cdf08819e78e3f447876b63a6565d", "score": "0.49188262", "text": "public Builder setSqlserverConfig2019Std(\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.Builder builderForValue) {\n if (sqlserverConfig2019StdBuilder_ == null) {\n sqlserverConfig_ = builderForValue.build();\n onChanged();\n } else {\n sqlserverConfig2019StdBuilder_.setMessage(builderForValue.build());\n }\n sqlserverConfigCase_ = 10;\n return this;\n }", "title": "" }, { "docid": "47182cdc8e101d19ba71831606b2fafb", "score": "0.48864424", "text": "private static ServerConfiguration getServerConfiguration() throws IOException, ConfigurationException\n {\n Properties props = getConfigurationProperties();\n\n return (props == null ? new ServerConfigurationImpl() : new ServerConfigurationImpl(props));\n }", "title": "" }, { "docid": "68396bbbd7a2b5712d587f01871cf1b5", "score": "0.48490578", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019stdOrBuilder> \n getSqlserverConfig2019StdFieldBuilder() {\n if (sqlserverConfig2019StdBuilder_ == null) {\n if (!(sqlserverConfigCase_ == 10)) {\n sqlserverConfig_ = yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.getDefaultInstance();\n }\n sqlserverConfig2019StdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019stdOrBuilder>(\n (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2019.SQLServerConfigSet2019std) sqlserverConfig_,\n getParentForChildren(),\n isClean());\n sqlserverConfig_ = null;\n }\n sqlserverConfigCase_ = 10;\n onChanged();;\n return sqlserverConfig2019StdBuilder_;\n }", "title": "" }, { "docid": "3c9976387a9c64dfae7e8c35b5c98001", "score": "0.48429853", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017stdOrBuilder> \n getSqlserverConfig2017StdFieldBuilder() {\n if (sqlserverConfig2017StdBuilder_ == null) {\n if (!(sqlserverConfigCase_ == 8)) {\n sqlserverConfig_ = yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.getDefaultInstance();\n }\n sqlserverConfig2017StdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std.Builder, yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017stdOrBuilder>(\n (yandex.cloud.api.mdb.sqlserver.v1.config.Sqlserver2017.SQLServerConfigSet2017std) sqlserverConfig_,\n getParentForChildren(),\n isClean());\n sqlserverConfig_ = null;\n }\n sqlserverConfigCase_ = 8;\n onChanged();;\n return sqlserverConfig2017StdBuilder_;\n }", "title": "" }, { "docid": "f2c8862aa670471ad0836dc45bf78c5a", "score": "0.48264262", "text": "public void setServerName(String serverName) {\n \t this.serverInfo.put(this.DB_SERVER, serverName);\n }", "title": "" }, { "docid": "436346e62dfa0dafec400d3691b9ba5c", "score": "0.4782759", "text": "public java.lang.String getMssqlserverversion() {\n return mssqlserverversion;\n }", "title": "" } ]
8c7e87f857289b67f48486f3953e191b
EFFECTS: Displays the world to be seen
[ { "docid": "ddfc43360d5e30ec644ebd7253dd40c1", "score": "0.0", "text": "public void bigBang() {\n super.bigBang(this.width * this.trueSideLength, this.height * this.trueSideLength, 1);\n //super.bigBang(800, 800, 1);\n }", "title": "" } ]
[ { "docid": "6dee0dd5ba3e361a2309acbda368ad1a", "score": "0.6838403", "text": "public void drawWorld() {\n\n\t\tImage background = new Image(getClass().getResourceAsStream(\"background.png\"));\n\n\t\tgc.drawImage(background, 0, 0, aWorld.getXsize(), aWorld.getYsize());\n\n\t\taWorld.showEntities(this);\n\t\taWorld.showAllFood(this);\n\t\taWorld.showAllPredator(this);\n\t\taWorld.showAllObstacle(this);\n\t\taWorld.showAllPoison(this);\n\t}", "title": "" }, { "docid": "8c194ff4dd9e17329116dd6ba087fb92", "score": "0.6614721", "text": "public static void displayWorld() {\n\t\tviewer.clearGrid();\n\t\t\n\t\tviewer.paintGridLines();\n\t\t\n\t\t\n\t\tfor(int i = 0 ; i < Params.world_height ; i++) {\n\t\t\tfor(int j = 0 ; j < Params.world_width ; j++) {\n\t\t\t\tboolean critterDisplayed = false;\n\t\t\t\tfor(Critter crit : population) {\n\t\t\t\t\tif((crit.x_coord == j) && (crit.y_coord == i) && (!critterDisplayed)) {\n\t\t\t\t\t\tcritterDisplayed = true;\n\t\t\t\t\t\tint index = -1;\n\t\t\t\t\t\tShape s;\n\t\t\t\t\t\tswitch(crit.viewShape()) {\n\t\t\t\t\t\t\tcase CIRCLE: \tindex = 0;\n\t\t\t\t\t\t\t\t\t\t \tbreak;\n\t\t\t\t\t\t\tcase SQUARE: \tindex = 1;\n\t\t\t\t\t\t\t\t\t\t \tbreak;\n\t\t\t\t\t\t\tcase TRIANGLE: \tindex = 2;\n\t\t\t\t\t\t\t\t\t\t \tbreak;\n\t\t\t\t\t\t\tcase DIAMOND: \tindex = 3;\n\t\t\t\t\t\t\t\t\t\t \tbreak;\n\t\t\t\t\t\t\tcase STAR: \t\tindex = 4;\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tviewer.paintShape(index, j, i, crit.viewColor(), crit.viewOutlineColor());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f2c8052960cc455b01241880b0be5313", "score": "0.63506806", "text": "@Override\n\tpublic void show() {\n\t\tcamera = new OrthographicCamera();\n camera.setToOrtho(false, width, height);\n spriteBatch = new SpriteBatch();\n font1 = Resources.getFonts().get(0);\n \n //Ladda in saker specefikt för denna screen\n\t\tlogoSprite = new Sprite(Resources.getGUITextures().get(0));\n\t\tcloudSprite = new Sprite(Resources.getGUITextures().get(1));\n\t\tgirlSprite = new Sprite(Resources.getGirlsTextures().get(0));\n\t\tcloudButtonSprite = new Sprite(Resources.getGUITextures().get(2));\n\t\t\n\t\t//Make clouds\n\t\tfor(int i = 0; i < 5; i++)\n {\n \tClouds.add(new Point(MathUtils.random(0, width), MathUtils.random(0, height)));\n }\n\t\t\n\t\t//Make Buttons\n\t\tButtons.add(new Button(cloudButtonSprite, \"New Game\", new Point(width/100*1, height/100*60)));\n\t\tButtons.add(new Button(cloudButtonSprite, \"Continue Game\", new Point(width/100*1, height/100*50)));\n\t\tButtons.add(new Button(cloudButtonSprite, \"Exit to DOS\", new Point(width/100*1, height/100*20)));\n\t\tButtons.add(new Button(cloudButtonSprite, \"Settings\", new Point(width/100*1, height/100*40)));\n\t\tButtons.add(new Button(cloudButtonSprite, \"About\", new Point(width/100*1, height/100*30)));\n\t}", "title": "" }, { "docid": "135f759ec11fc3c41291cdc33684b410", "score": "0.6340972", "text": "public void act() \n {\n if (Greenfoot.mouseClicked(this)){ //if mouseclicked\n Greenfoot.setWorld(new howToPlay()); //sets it to the howToPlay world\n }\n }", "title": "" }, { "docid": "07c971bd3eb6a684ce0c5797b72e99c2", "score": "0.6333334", "text": "public void updateWorld() {\n \t\tmEnv.update();\r\n \t\tif (!mContextMenu.isHidden()) mContextMenu.update();\r\n //\t\tmHUD.setEnvState(mEnv.getStateString(), mEnv.getStateColor());\r\n \t\tif (mPrey != null) {\r\n \t\t\tPointF preyPos = mPrey.getPosition();\r\n \t\t\tif (preyPos != null) {\r\n \t\t\t\tPointF curDirDelta = mEnv.data.getTileFromPos(preyPos).getDir().getDelta();\r\n \t\t\t\tmPrey.updateVelocity(curDirDelta.x, curDirDelta.y);\r\n \t\t\t\tmPrey.update();\r\n \t\t\t}\r\n \r\n \t\t\tpreyPos = mPrey.getPosition();\r\n \t\t\tif (mPrey.getCaught()) {\r\n \t\t\t\tif (releaseCountdown < 0) {\r\n \t\t\t\t\treleaseCountdown = RELEASE_TICKS;\r\n \t\t\t\t\t++mCaughtCounter;\r\n \t\t\t\t}\r\n \t\t\t\treleaseCountdown--;\r\n \t\t\t\tif (releaseCountdown == 0) {\r\n \t\t\t\t\tmPrey.release();\r\n \t\t\t\t\treleaseCountdown = -1;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\tmCamera.setPreyPosition(preyPos);\r\n //\t\t\tmHUD.setPreyEnergy(mPrey.getEnergy(), mPrey.getMoodColor());\r\n //\t\t\tmHUD.setPreyState(mPrey.getStateString());\r\n \t\t}\r\n \r\n \t\tif (mTool != null) mTool.update();\r\n \r\n \t\tmCamera.update();\r\n \t\t\r\n \t\tmD3GLES20.updateAll();\r\n \t\t\r\n \t\tmHUD.setScore(mCaughtCounter*10-mEnv.getPlayerPenalty());\r\n \t\tmHUD.update();\r\n \t}", "title": "" }, { "docid": "415e29011775ca172ba2055c3cf61bd3", "score": "0.6308621", "text": "@Override\n\tpublic void show() {\n\t Gdx.gl.glClearColor(10/255.0f, 215/255.0f, 15/255.0f, 1f);\n\t}", "title": "" }, { "docid": "27c7f7c96776d848fdf73e55c6c0228e", "score": "0.62762487", "text": "public void map() {\r\n\t\trealGameWorld.print();\r\n\t}", "title": "" }, { "docid": "768f9ea35f3e1eb67493ab5d7331d224", "score": "0.6243429", "text": "@Override\r\n\tpublic void show() {\r\n\t\tstate = GameState.LOADING;\r\n\t\twidth = Gdx.graphics.getWidth();\r\n\t\theight = Gdx.graphics.getHeight();\r\n\t\tdefS = new Vector2((float) width / (float) DEFAULTW, (float) height\r\n\t\t\t\t/ (float) DEFAULTH);\r\n\t\tGdx.input.setInputProcessor(this);\r\n\t\tGdx.input.setCatchBackKey(true);\r\n\t\tInput.setMovement(Input.Movement.REGIONMOVE);\r\n\r\n\t\tAssets.loadContent();\r\n\t\tupdate();\r\n\t\tmainMenuBeam = new Vector2(0, height);\r\n\t\tAssets.soundTrack.play();\r\n\t\tAssets.soundTrack.setVolume(musicVolume);\r\n\t\tintroCut = 0;\r\n\t}", "title": "" }, { "docid": "dbaabc0f2f1398cc791c99d5136f5467", "score": "0.6212145", "text": "public void drawWorld(){\n\t\tSystem.out.print(\"\\033[H\\033[2J\"); // Simulates a clear screen on linux machines\n\t\tfor(int row = 0; row < world.length; row++ ){\n\t\t\tfor(int col = 0; col < world[row].length; col++ ){\n\t\t\t\t System.out.print(world[row][col] ? '@' : '.');\n\t\t\t\t System.out.print(' ');\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\tSystem.out.println(\"Generation:\" + generation);\n\t}", "title": "" }, { "docid": "56e6d861a209a137678795c156825a1e", "score": "0.6184688", "text": "public static void render(WorldBase world)\r\n\t{\r\n\t\tdrawPaths(world);\r\n\t\tdrawCars(world);\r\n\t\t\r\n\t\tStdDraw.show();\r\n\t}", "title": "" }, { "docid": "c09de43c056bd7b4df1b3a2653ebe3ad", "score": "0.6183853", "text": "private final void displayWorld() {\n class WorldDisplayer implements Runnable {\n \n public void run() {\n while (true) {\n drawWorldImage();\n try {\n Thread.currentThread().sleep(drawingRate);\n }\n catch (InterruptedException ie) {\n //ie.printStackTrace();\n }\n }\n }\n \n public void drawWorldImage() {\n try {\n if (drawingTimer >= drawingTimerMax) {\n drawingTimer = 0;\n BufferedImage bgImage = WorldHandler.getInstance().getSnapShot();\n Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();\n if (bgImage != null && screenSize != null) {\n if (keepResolution) {\n double scaleFactor = Math.min(screenSize.getWidth()/WORLD_WIDTH, screenSize.getHeight()/WORLD_HEIGHT);\n fullScreenWindow.setImage(resizeImage(bgImage, (int) (WORLD_WIDTH * scaleFactor), (int) (WORLD_HEIGHT * scaleFactor), bgImage.getType() == 0? BufferedImage.TYPE_INT_ARGB : bgImage.getType()));\n }\n else {\n fullScreenWindow.setImage(resizeImage(bgImage, (int) screenSize.getWidth(), (int) screenSize.getHeight(), bgImage.getType() == 0? BufferedImage.TYPE_INT_ARGB : bgImage.getType()));\n }\n }\n }\n drawingTimer++;\n }\n catch (NullPointerException npe) {\n //npe.printStackTrace();\n }\n }\n }\n worldDisplayThread = new Thread(new WorldDisplayer(), \"World Display Thread\");\n worldDisplayThread.start();\n }", "title": "" }, { "docid": "ab9693146b1bda1cf5c8453f4183493a", "score": "0.6146235", "text": "public void act() {\n // Randomly add enimies to the world\n generateEnemies();\n generatePowerItems();\n \n generateStars(-1);\n \n increaseLevel();\n }", "title": "" }, { "docid": "cd32409ce810facd9c6d060daffb2d4f", "score": "0.60835516", "text": "public void draw() {\n\t\tVec2 position = box2d.getBodyPixelCoord(body);\n\t\tfloat angle = body.getAngle();\n\n\t\t/*\n\t\t * w and h are also part of the CreatureBase class and they are\n\t\t * the width and height of the creature. The field p is a reference to\n\t\t * the Processing applet. This has all the draw functions. So if you'd\n\t\t * want to use a Processing function, prepend it with 'p.'. \n\t\t */\n\t\tp.pushMatrix();\n\t\tp.translate(position.x, position.y);\n\t\tp.rotateZ(angle);\n\n\t\tfor(int a = 0; a < cercles.size(); a ++)\n\t\t{\n\t\t\tcercles.get(a).avance();\n\t\t}\n\t\tp.popMatrix();\n\t}", "title": "" }, { "docid": "34fe8b95d5d9c04fdbaa057229465774", "score": "0.604847", "text": "private void genworld() {\n world = new World(stateRootNode, SAM.ASSETS);\n\n player = (PlayerEntity) world.spawnEntity(\"Player\");\n player.setLocation(new Vec2(256, 256));\n player.attachSpatial(chasePnt);\n playerInterface = new PlayerController();\n playerInterface.hookToInputs();\n playerInterface.setEntity(player);\n playerInterface.setCamera(reiCamera);\n\n /*\n Random rand = new Random(1337);\n \n for(int i = 0; i < 10; ++ i)\n {\n Plot newPlot = new Plot();\n newPlot.setBlueprint(BlueprintUtil.makeSimple(30, 30));\n newPlot.setLocation(new Vec2(rand.nextDouble() * 512, rand.nextDouble() * 512));\n \n world.materializePlot(newPlot);\n \n \n ForSaleEntity sale = new ForSaleEntity();\n sale.thingy = newPlot;\n world.materializeEntity(sale);\n sale.setLocation(newPlot.getLocation());\n }\n */\n }", "title": "" }, { "docid": "90597238190bf69ed62d59a9ce386e5c", "score": "0.6036602", "text": "public void createAndShowWorld() {\n\t\tWorld world = new WorldImpl(X_DIM, Y_DIM);\n\t\tinitialize(world);\n\t\tnew WorldUI(world).show();\n\t}", "title": "" }, { "docid": "d2680db310db8e760a92845fc2c39dab", "score": "0.6026291", "text": "public static void displayWorld() {\n\t\t// creates and populates 2D array representation of all the critters\n\t\tchar[][] world = new char[Params.world_width][Params.world_height];\n\t\t\n\t\tfor (int x = 0; x < Params.world_width; x++) {\n\t\t\tfor (int y = 0; y < Params.world_height; y++) {\n\t\t\t\tworld[x][y] = ' ';\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(Critter current : population) {\n\t\t\t\tworld[current.x_coord][current.y_coord] = current.toString().charAt(0);\n\t\t}\n\t\t// prints the 2D array + border out\n\t\t// top border\n\t\tSystem.out.print(\"+\");\n\t\tfor(int i = 0; i < Params.world_width; i++) {\n\t\t\tSystem.out.print(\"-\");\n\t\t}\n\t\tSystem.out.println(\"+\");\n\t\t// each row of the map (with borders on left/right)\n\t\tfor(int j = 0; j < Params.world_height; j++) {\n\t\t\tSystem.out.print(\"|\");\n\t\t\tfor(int k = 0; k < Params.world_width; k++) {\n\t\t\t\tSystem.out.print(world[k][j]);\n\t\t\t}\n\t\t\tSystem.out.println(\"|\");\n\t\t}\n\t\t// bottom border\n\t\tSystem.out.print(\"+\");\n\t\tfor(int k = 0; k < Params.world_width; k++) {\n\t\t\tSystem.out.print(\"-\");\n\t\t}\n\t\tSystem.out.println(\"+\");\n\t}", "title": "" }, { "docid": "db892c8679b82049248ee8605832694d", "score": "0.6018969", "text": "@Override\n public void show() {\n if (!Gdx.app.getGraphics().isGL20Available()) {\n throw new GdxRuntimeException(\"GLES2 Not Available!\");\n }\n\n // Create shader program\n String verticesShader = \"attribute vec4 a_position; \\n\" +\n \"attribute vec4 a_color;\\n\" +\n \"uniform mat4 u_worldView;\\n\" +\n \"varying vec4 v_color;\" +\n \"void main() \\n\" +\n \"{ \\n\" +\n \" v_color = a_color; \\n\" +\n \" gl_Position = u_worldView * a_position; \\n\" +\n \"} \\n\" ;\n String fragmentShader = \"#ifdef GL_ES\\n\" +\n \"precision mediump float;\\n\" +\n \"#endif\\n\" +\n \"varying vec4 v_color;\\n\" +\n \"void main() \\n\" +\n \"{ \\n\" +\n \" gl_FragColor = v_color;\\n\" +\n \"}\";\n\n shaderProgram = new ShaderProgram(verticesShader, fragmentShader);\n if ( !shaderProgram.isCompiled()) {\n Gdx.app.log(\"ShaderError\", shaderProgram.getLog());\n System.exit(0);\n }\n\n // Create empty mesh\n mesh = new Mesh(true, verticesCount+1, verticesCount/4 + 5,\n new VertexAttribute(VertexAttributes.Usage.Position, 3, \"a_position\"),\n new VertexAttribute(VertexAttributes.Usage.ColorPacked, 4, \"a_color\"));\n/*\n\n lights = new Lights();\n lights.ambientLight.set(0.4f, 0.4f, 0.4f, 1f);\n lights.add(new DirectionalLight().set(0.8f, 0.8f, 0.8f, -1f, -0.8f, -0.2f));\n*/\n\n // Set camera\n cam = new PerspectiveCamera(67, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());\n cam.position.set(0.f, 0.f, 10f);\n //cam.lookAt(Gdx.graphics.getWidth() / 2, 0, Gdx.graphics.getHeight() / 2);\n cam.lookAt(0.f, 0.f, 0);\n cam.near = 0.1f;\n cam.far = 300f;\n cam.update();\n\n // Initialize camera controler\n camController = new CameraInputController(cam);\n Gdx.input.setInputProcessor(camController);\n\n // Enable opengl features\n Gdx.graphics.getGL20().glEnable(GL20.GL_TEXTURE_2D);\n Gdx.graphics.getGL20().glEnable(GL20.GL_BLEND);\n Gdx.graphics.getGL20().glBlendFunc(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA);\n //Gdx.graphics.getGL20().glEnable(GL20.GL_DEPTH_TEST);\n\n // Enable face culling- be careful with spriteBatch, might cull sprites as well!\n Gdx.graphics.getGL20().glEnable(GL20.GL_CULL_FACE);\n\n // What faces to remove with the face culling.\n Gdx.graphics.getGL20().glCullFace(GL20.GL_FRONT);\n\n\n // Create new tilemanager and create new random map\n //tileManager = new TileManager((int)((360-space) / space), (int)((180-space)/space));\n tileManager = new TileManager(360, 360);\n //tileManager = new TileManager(Gdx.graphics.getWidth(), Gdx.graphics.getHeight()); }\n }", "title": "" }, { "docid": "652211d03f4362891f0eb02f3e57194c", "score": "0.6013533", "text": "private void render() {\r\n\t\t// draw\r\n\t\tglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);\r\n\r\n\t\tglLoadIdentity();\r\n\r\n\t\t// glTranslated(xpos, ypos, zpos);\r\n\t\tcamera.applyTranslations();\r\n\r\n\t\tglMatrixMode(GL_PROJECTION);\r\n\t\tgluPerspective(FOV, ASPECT_RATIO, CLOSE_RENDER_LIM, FAR_RENDER_LIM);\r\n\t\tglMatrixMode(GL_MODELVIEW);\r\n\r\n\t\t/*\r\n\t\t * for (Entity e : entities) { e.render(); } Old render, switching to\r\n\t\t * Data Translation Display system:\r\n\t\t */\r\n\t\t\r\n\t\tDataBank availableDisplayBank = (DataBank)protag.getComponent(\"databank\");\r\n\t\tList<Entity> toDisplay = Data.convertDataToEntities( availableDisplayBank.getData() );\r\n\t\t\r\n\t\t//if(DEBUG) System.out.println(\"[DEBUG]: gotem\");\r\n\t\tfor (Entity e: toDisplay){\r\n\t\t\te.render();\r\n\t\t\t//if(DEBUG) System.out.println(\"[DEBUG] rendered something\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tglMatrixMode(GL_PROJECTION);\r\n\t\tglLoadIdentity();\r\n\t\tglMatrixMode(GL_MODELVIEW);\r\n\t\tglLoadIdentity();\r\n\r\n\t\t// Errors?\r\n\t\tint error = glGetError();\r\n\t\tif (error != GL_NO_ERROR) {\r\n\t\t\tSystem.out.println(gluGetString(error));\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "afd5bc46959f0537f5fd2267c64df6ff", "score": "0.59738374", "text": "public void print() {\r\n\t\trealGameWorld.print();\r\n\t}", "title": "" }, { "docid": "d0da2a0faacf00e45547f05876016038", "score": "0.59509903", "text": "public void whenClicked(){\r\n Greenfoot.setWorld(new Instruction());\r\n }", "title": "" }, { "docid": "5252e12f3fa34883e8c77dc772b0f977", "score": "0.59491545", "text": "public void drawBodies(World w) {\n \n }", "title": "" }, { "docid": "6e0825ccabf22225f80fbeacaf505a2a", "score": "0.5947985", "text": "public void effect() {\n\t\t\n\t}", "title": "" }, { "docid": "3543290a2bcf8e68c06b79de363c44f7", "score": "0.59447086", "text": "private static void render() {\n\t\tglClear(GL_COLOR_BUFFER_BIT);\n\n\t\tglPushMatrix();\n\t\tglTranslatef(-TRANSLATE.x, -TRANSLATE.y, 0);\n\n\t\tobjects.draw();\n\t\tlines.draw();\n\t\tif (erase)\n\t\t\tlines.drawEraser();\n\t\tenemies.draw(man.getPosition());\n\t\tman.draw();\n\n\t\tglPopMatrix();\n\t}", "title": "" }, { "docid": "81d6cad91276e23fdfd439ee774d228a", "score": "0.5929789", "text": "public void draw() {\n\t\tif (isPaused) return;\r\n\t\t//Draw the background\r\n\t\tbackground(0);\r\n\t\thint(DISABLE_DEPTH_MASK);\r\n\t\timage(spaceBackground, 0, 0, width, height);\r\n\t\thint(ENABLE_DEPTH_MASK);\r\n\t\t//Ready the canvas to be drawn\r\n\t\tlights();\r\n\t\ttranslate(xTranslation + WIDTH / 2, yTranslation + WIDTH / 2, zTranslation);\r\n\t\trotateX(radians(xRotation));\r\n\t\trotateY(radians(yRotation));\r\n\t\trotateZ(radians(zRotation));\r\n\t\t//Perform calculations and render the planets\r\n\t\tinvokeGravity();\r\n\t\tfor (Planet planet : planets) {\r\n\t\t planet.update();\r\n\t\t planet.render();\r\n\t\t}\r\n\t\tcheckForCollisions();\r\n\t\t//Render the Explosions\r\n\t\tfor (Explosion explosion : explosions) {\r\n\t\t if (!explosion.hasExpired()) {\r\n\t\t \texplosion.update();\r\n\t\t \texplosion.render();\r\n\t\t }\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "623822c641d0e3330efea8b109281b70", "score": "0.59261036", "text": "private void render() {\n String[][] renderedWorld = new String[this.size][this.size];\r\n\r\n //Non-Movable Objects\r\n for (int i = 0; i < this.allNonMovables.length; i++) {\r\n renderedWorld[this.allNonMovables[i].getY()][this.allNonMovables[i].getX()] =\r\n Character.toString(this.allNonMovables[i].getRenderedCharacter()); \r\n }\r\n\r\n //Movable Objects\r\n for (int i = 0; i < this.allMovables.length; i++) {\r\n renderedWorld[this.allMovables[i].getY()][this.allMovables[i].getX()] =\r\n Character.toString(this.allMovables[i].getRenderedCharacter());\r\n }\r\n\r\n System.out.println(this.NEW_LINE);\r\n System.out.println(\"Frame: \" + this.frame); // book keeping\r\n\r\n for (int row = 0; row < renderedWorld.length; row++) {\r\n String[] rowOfWorld = renderedWorld[row];\r\n for (int col = 0; col < rowOfWorld.length; col++) {\r\n String w = rowOfWorld[col];\r\n // If our string is null\r\n if (w == null) {\r\n w = \".\";\r\n }\r\n System.out.print(w + \" \");\r\n }\r\n System.out.println(\"\"); // print a new line between each scene\r\n }\r\n\r\n System.out.println(this.NEW_LINE);\r\n\r\n //Print Hits for Moving Objects\r\n System.out.println(\"Hits:\");\r\n for (int i = 0; i < this.allMovables.length; i++) {\r\n System.out.println(this.allMovables[i].printHits());\r\n }\r\n System.out.println(this.NEW_LINE);\r\n }", "title": "" }, { "docid": "3a2c4a8857dd905a93262a889a4d9352", "score": "0.59259504", "text": "public void show()\r\n\t{\n\t\tbatch = new SpriteBatch();\r\n\t\tmapManager = new MapManager();\r\n\t\tcamera = new OrthographicCamera(Gdx.graphics.getWidth(),Gdx.graphics.getHeight());\r\n\t\tcameraManager = new CameraManager();\r\n\t\t\r\n\t\tlocalPlayerName = JOptionPane.showInputDialog(\"What is your username?\");\r\n\t\tlocalPlayer = new LocalPlayer(localPlayerName);\r\n\t\t\r\n\t\tfont = new BitmapFont(Gdx.files.internal(\"Sources/fonts/font1.fnt\"));\r\n\t\tGdx.input.setInputProcessor(localPlayer);\r\n\r\n\t}", "title": "" }, { "docid": "4271dbd7808cb478c80dc5f073ef177b", "score": "0.5915954", "text": "public WorldViewer() {\n\t\tsuper(TITLE);\n\t\tsize = (int) (SIZE*scale);\n\t\t\n\t\tsetSize(size , size);\n\t\tsetVisible(true);\n\t\t\n\t\taddWindowListener(new WindowAdapter(){\n\t\t\tpublic void windowClosing(WindowEvent event){\n\t\t\t\tSystem.exit(EXIT_OK);\n\t\t\t}\n\t\t}); \n\t\t\n\t\t// double buffering to avoid flickering\n\t\tcreateBufferStrategy(NUMBER_OF_BUFFERS);\n\t\tstrategy = getBufferStrategy();\t\t\n\t}", "title": "" }, { "docid": "10026c3e4a1f93296aa063f4978ac17c", "score": "0.58918214", "text": "public void draw() {\n //jebron\n screen.clear();\n wilson.update();\n spalding.update();\n wilson.render(screen);\n spalding.render(screen);\n }", "title": "" }, { "docid": "4f9eb2b24ef513a21fecc7346d9d2da4", "score": "0.5884348", "text": "void show() {\n PApplet window = SnakeAI.instance;\n food.show();\n window.fill(255);\n window.stroke(0);\n for (int i = 0; i < body.size(); i++) {\n window.rect(body.get(i).x, body.get(i).y, SnakeAI.SIZE, SnakeAI.SIZE);\n }\n if (dead) {\n window.fill(150);\n } else {\n window.fill(0, 0, 255);\n }\n window.rect(head.x, head.y, SnakeAI.SIZE, SnakeAI.SIZE);\n }", "title": "" }, { "docid": "897afd8d7813191692d3828181db0a61", "score": "0.5864423", "text": "public void drawWorld(PokeWorld world) {\n\n\t\tfor(PokeArea area : world.getAreas()) {\n\n\t\t\tint offsetX = area.getOffsetX() * getTileSize() + xOffset;\n\t\t\tint offsetY = area.getOffsetY() * getTileSize() + yOffset;\n\n\t\t\tint width = area.getWidth();\n\n\t\t\tint[] tiles = area.getTiles();\n\t\t\tfor(int i = 0; i < tiles.length; i++) {\n\t\t\t\tint tileID = tiles[i];\n\n\t\t\t\tint x = (i % width) * getTileSize();\n\t\t\t\tint y = (i / width) * getTileSize();\n\n\t\t\t\tint tx = x + offsetX;\n\t\t\t\tint ty = y + offsetY;\n\t\t\t\tdrawTile(tx, ty, tileID);\n\t\t\t}\n\n\t\t}\n\t\t// for(int i = 0; i < inventory.getInventory().size(); i++) {\n\t\t// drawTile(0, 0, i);\n\t\t// }\n\n\t}", "title": "" }, { "docid": "fb0ba2fe63babab1c79ca996dc24534b", "score": "0.5862299", "text": "@Override\n\tpublic void present(float deltaTime) {\n\t\tGL10 gl = glGraphics.getGL();\n\t\tgl.glClear(GL10.GL_COLOR_BUFFER_BIT);\n\t\tguiCam.setViewportAndMatrices();\n\t\t\n\t\tgl.glEnable(GL10.GL_TEXTURE_2D);\n\t\t\n\t\tbatcher.beginBatch(Assets.background);\n\t\tbatcher.drawSprite(240, 260, 480, 320, Assets.backgroundRegion);\n\t\tbatcher.endBatch();\n\t\t\n\t\tgl.glEnable(GL10.GL_BLEND);\n\t\tgl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA);\n\t\t\n\t\tbatcher.beginBatch(Assets.items);\n\t\tbatcher.drawSprite(240, 240, 383, 128, Assets.logoRegion);\n\t\tbatcher.drawSprite(240, 100, 224, 64, Assets.menuRegion);\n\t\tbatcher.endBatch();\n\t\t\n\t\tgl.glDisable(GL10.GL_BLEND);\n\t\tgl.glDisable(GL10.GL_TEXTURE_2D);\n\t\t\n\t}", "title": "" }, { "docid": "eaa4ce4882fe8ad138db69a086fcdb0b", "score": "0.5859748", "text": "public void act() \n {\n List <Coin> intersectionList = getIntersectingObjects(Coin.class);\n if (intersectionList.size() > 0)\n {\n this.getWorld().showText(\"Have coin\", 367, 40); \n for (Coin coin : intersectionList) \n {\n coin.getImage().setTransparency(0);\n }\n }\n \n \n if (Greenfoot.mouseClicked(this))\n {\n List<Alien> alienList = this.getWorld().getObjects(Alien.class);\n \n for (Alien alien: alienList) \n {\n //alien.turn(10);\n }\n }\n }", "title": "" }, { "docid": "b02104a425bacc635c124c010d3b9ee1", "score": "0.5842579", "text": "public void drawWorld(){\r\n gc.setFill(Color.WHITE) ; \r\n gc.fillRect(0,0, arena.getXSize(), arena.getYSize());\r\n arena.drawArena(this) ; \r\n }", "title": "" }, { "docid": "c6c244fbc9bb82b78175be9772908b00", "score": "0.58403444", "text": "WorldImage drawLoA();", "title": "" }, { "docid": "aefc36ad9da3fe1028b79e7c37dd40f1", "score": "0.58170086", "text": "public void show() {\n\r\n\t\tthis.addActor(fightBar);\r\n\t}", "title": "" }, { "docid": "c03358f203262b0a1f456116563410ff", "score": "0.5814653", "text": "public void display()\n\t{\n\t\tMinecraft.getMinecraft().getSoundHandler().stopSounds();\n\t\tMinecraft.getMinecraft().displayGuiScreen(GuiHandler.fake_menu);\n\t}", "title": "" }, { "docid": "f2de87ac8274c973f9b78b87acef9ea7", "score": "0.5812268", "text": "@Override\n\tpublic void display() {\n\t\tgame.ellipse(getX(), getY(), getHeight(), getWidth() );\n\t}", "title": "" }, { "docid": "aba2760475e67e2e729fc650da6c66a5", "score": "0.5810747", "text": "@Override\n public void doRender(Entity entity, double par2, double par4, double par6, float par8, float par9){\n\t\tif(this.invisibleToEnemies && entity instanceof EntityMagicConstruct){\n\t\t\t\n\t\t\tEntityMagicConstruct construct = (EntityMagicConstruct)entity;\n\t\t\t\n\t\t\tif(construct.getCaster() instanceof EntityPlayer\n\t\t\t\t\t&& !WizardryUtilities.isPlayerAlly((EntityPlayer)construct.getCaster(), Minecraft.getMinecraft().thePlayer)){\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n GL11.glPushMatrix();\n GL11.glEnable(GL11.GL_BLEND);\n GL11.glDisable(GL11.GL_LIGHTING);\n OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240, 240);\n GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);\n \n float yOffset = 0;\n \n if(entity.riddenByEntity != null){\n \tyOffset = entity.riddenByEntity.height/2;\n }\n \n GL11.glTranslatef((float)par2, (float)par4 + yOffset, (float)par6);\n \n this.bindTexture(texture);\n float f6 = 1.0F;\n float f7 = 0.5F;\n float f8 = 0.5F;\n \n GL11.glRotatef(-90, 1, 0, 0);\n \n // Healing aura rotates slowly\n if(entity instanceof EntityHealAura) GL11.glRotatef(entity.ticksExisted/3.0f, 0, 0, 1);\n \n GL11.glScalef(scale, scale, scale);\n \n Tessellator tessellator = Tessellator.instance;\n tessellator.startDrawingQuads();\n //tessellator.setColorRGBA_I(k1, 128);\n tessellator.setNormal(0.0F, 1.0F, 0.0F);\n\t tessellator.addVertexWithUV((double)(0.0F - f7), (double)(0.0F - f8), 0.01, 0, 1);\n\t tessellator.addVertexWithUV((double)(f6 - f7), (double)(0.0F - f8), 0.01, 1, 1);\n\t tessellator.addVertexWithUV((double)(f6 - f7), (double)(1.0F - f8), 0.01, 1, 0);\n\t tessellator.addVertexWithUV((double)(0.0F - f7), (double)(1.0F - f8), 0.01, 0, 0);\n \n tessellator.draw();\n \n GL11.glDisable(GL11.GL_BLEND);\n GL11.glEnable(GL11.GL_LIGHTING);\n GL11.glDisable(GL12.GL_RESCALE_NORMAL);\n GL11.glPopMatrix();\n }", "title": "" }, { "docid": "fec89e7d653b06ba90417c8059e8d13a", "score": "0.5803553", "text": "public void act() {\n delay++;\n \n if (delay > 220) {\n Greenfoot.setWorld(new LevelSelect());\n }\n }", "title": "" }, { "docid": "bbd5bec2e9b853c885a8896ac0fc9579", "score": "0.5800133", "text": "public void DrawHuman(float delta) \n {\n\t\t\n\t\t\n\t//1.Comment: Theta is the angle (amount of change with time) for the orbital revolution \t\n\t//\t\t\tLimbRotation is the angle variable for general limb rotation.\n\t// Left and Right Rotation represents angle for the sub limb like forearm and lowleg\n\t//...\n\t\t float theta = (float) (delta * 2 * Math.PI);\n\t\t float LimbRotation;\n\t\t float RightLimbRotation=0.0f;\n\t\t float LeftLimbRotation=0.0f;\n\t//...\n\t\t //lefhand righhand legright legleft\n\t\t \n\t\t //2.Comment: General rotation is in 45 amplitude \n\t\t // : To make the move smoother, when the arm reach the vertical position, keep stretching\n\t\t // : In a bad animation mode, try to make the posture stable\n\t\t \n\t\t\n\t\t\t \n\t\t\t LimbRotation = (float) Math.cos(theta*10)*45;\n\t\t// LimbRotation =45;\n\t\t\t //...\n\t\t\t if(LimbRotation>0) {\n\t\t\t RightLimbRotation = LimbRotation*3;\n\t\t\t LeftLimbRotation = 0;\n\t\t\t }else {\n\t\t\t\t LeftLimbRotation = LimbRotation*3;\t \n\t\t\t\t RightLimbRotation = 0;\n\t\t\t }\n\t\t\t //...\n\t\n\t\t \n\t\t \n\t\t \n\t\t //3.Comment: Generate the drawer utility class\n\t\t \n\t\t //..\n\t\tSphere sphere= new Sphere();\n\t\tCylinder cylinder= new Cylinder();\n\t\t//...\n \n \n\t\t GL11.glPushMatrix(); \n\t\t \n\t\t {\t\n\t\t\t \n\t\t\t GL11.glTranslatef(0.0f,0.5f,0.0f); \n\t\t\t sphere.DrawSphere(0.5f, 32, 32); \n\n\t\t // chest\n\t\t\t GL11.glColor3f(green[0], green[1], green[2]);\n\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(green));\n\t\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.5f,0.0f);\n\t\t \n\t\t sphere.DrawSphere(0.5f, 32, 32); \n\n\n\t\t // neck\n\t\t \t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f, 0.0f);\n\t\t // GL11.glRotatef(-90.0f,1.0f,0.0f,0.0f);\n\t\t // GL11.glRotatef(45.0f,0.0f,1.0f,0.0f); \n\t\t cylinder.DrawCylinder(0.15f,0.7f,32);\n\n\n\t\t // head\n\t\t \t GL11.glColor3f(red[0], red[1], red[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(red));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,1.0f);\n\t\t \n\t\t sphere.DrawSphere(0.5f, 32, 32); \n\t\t \n\n\t\t \n\t\t \n\t\t // hat\n\t\t \n\t\t\t\t \t GL11.glColor3f(black[0], black[1], black[2]);\n\t\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(green));\n\t\t\t\t GL11.glPushMatrix(); {\n\t\t\t\t GL11.glTranslatef(0.0f,0.0f,0.2f);\n\t\t\t\t cylinder.DrawCylinder(0.5f, 1.5f, 32);\n\t\t\t\t cylinder.DrawCylinder(1.0f, 0.2f, 32);\n\t\t\t\t \n\t\t\t\t }GL11.glPopMatrix();\n\t\t\t\t \n\t\t GL11.glPopMatrix();\n\t\t } GL11.glPopMatrix();\n\n\t\t //4.Comment: The arms of avatar is set to tilt.\n\t\t // Some as both shoulder though\n\t\t \n\t\t // left shoulder\n\t\t \t GL11.glColor3f(blue[0],blue[1], blue[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.5f,0.4f,0.0f);\n\t\t //..\n\t\t GL11.glRotatef(27.5f,0.0f,0.0f,1.0f); \n\t\t //...\n\t\t sphere.DrawSphere(0.25f, 32, 32); \n\t\t \n\n\t\t // left arm\n\t\t \t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,0.0f);\n\t\t GL11.glRotatef(90.0f,1.0f,0.0f,0.0f);\n\t\t \n\t\t \n\t\t GL11.glRotatef(LimbRotation,-1.0f,0.0f,0.0f); \n\t\t cylinder.DrawCylinder(0.15f,0.7f,32);\n\n\n\t\t // left elbow\n\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,0.75f);\n\t\t sphere.DrawSphere(0.2f, 32, 32); \n\t\t \n\t\t //left forearm\n\t\t \t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,0.0f);\n\t\t GL11.glRotatef(LeftLimbRotation,-1.0f,0.0f,0.0f); \n\t\t cylinder.DrawCylinder(0.1f,0.7f,32);\n\n\t\t // left hand\n\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,0.75f);\n\t\t sphere.DrawSphere(0.2f, 32, 32); \n\t\t \n\n\n\t\t } GL11.glPopMatrix();\n\t\t } GL11.glPopMatrix();\n\t\t } GL11.glPopMatrix();\n\t\t } GL11.glPopMatrix ();\n\t\t } GL11.glPopMatrix ();\n\t\t // to chest\n\n\t\t // right shoulder\n\t\t\t \t GL11.glColor3f(blue[0],blue[1], blue[2]);\n\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t\t GL11.glPushMatrix(); {\n\t\t\t GL11.glTranslatef(-0.5f,0.4f,0.0f);\n\t\t\t GL11.glRotatef(27.5f,0.0f,0.0f,-1.0f); \n\t\t\t sphere.DrawSphere(0.25f, 32, 32); \n\t\t\t \n\n\t\t // right arm\n\t\t\t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t\t\t GL11.glPushMatrix();{\n\t\t\t\t \t GL11.glTranslatef(0.0f,0.0f,0.0f);\n\t\t\t\t GL11.glRotatef(90.0f,1.0f,0.0f,0.0f);\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t GL11.glRotatef(LimbRotation,1.0f,0.0f,0.0f); \n\t\t\t\t // GL11.glRotatef(27.5f,0.0f,1.0f,0.0f); \n\t\t\t\t cylinder.DrawCylinder(0.15f,0.7f,32);\n\t\t\t\t \n\t\t // right elbow\n\t\t\t\t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t\t\t\t GL11.glPushMatrix(); {\n\t\t\t\t\t GL11.glTranslatef(0.0f,0.0f,0.75f);\n\t\t\t\t\t // GL11.glRotatef(90.0f,1.0f,0.0f,0.0f);\n\t\t\t\t\t sphere.DrawSphere(0.2f, 32, 32); \n\t\t //right forearm\n\t\t\t\t\t \t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t\t\t\t GL11.glPushMatrix(); {\n\t\t\t\t\t GL11.glTranslatef(0.0f,0.0f,0.0f);\n\t\t\t\t\t // GL11.glRotatef(90.0f,1.0f,0.0f,0.0f);\n\t\t\t\t\t GL11.glRotatef(RightLimbRotation,1.0f,0.0f,0.0f); \n\t\t\t\t\t cylinder.DrawCylinder(0.1f,0.7f,32);\n\t\t // right hand\n\t\t\t\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t\t\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t\t\t\t\t GL11.glPushMatrix(); {\n\t\t\t\t\t\t GL11.glTranslatef(0.0f,0.0f,0.75f);\n\t\t\t\t\t\t sphere.DrawSphere(0.2f, 32, 32);\n\t\t\t\t\t\t } GL11.glPopMatrix();\n\t\t\t\t\t }GL11.glPopMatrix();\n\t\t\t\t\t }GL11.glPopMatrix();\n\t\t }GL11.glPopMatrix();\n\t\t\t }GL11.glPopMatrix(); \n\t\t //chest\n\n\n\t\t } GL11.glPopMatrix();\n\n\n\t\t // pelvis\n\n\t\t \n\t\t // left hip\n\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(-0.5f,-0.2f,0.0f);\n\t\t \n\t\t sphere.DrawSphere(0.25f, 32, 32); \n\n\n\t\t // left high leg\n\t\t \t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,0.0f);\n\t\t //GL11.glRotatef(0.0f,0.0f,0.0f,0.0f);\n\t\t \n\t\t \n\t\t GL11.glRotatef((-LimbRotation/2)+90,1.0f,0.0f,0.0f); \n\t\t // GL11.glRotatef(90.0f,1.0f,0.0f,0.0f); \n\t\t cylinder.DrawCylinder(0.15f,0.7f,32);\n\n\n\t\t // left knee\n\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,0.75f);\n\t\t GL11.glRotatef(0.0f,0.0f,0.0f,0.0f); \n\t\t sphere.DrawSphere(0.25f, 32, 32); \n\n\t\t //left low leg\n\t\t \t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,0.0f);\n\t\t GL11.glRotatef(LeftLimbRotation/6,1.0f,0.0f,0.0f);\n\t\t // GL11.glRotatef(0.0f,0.0f,0.0f,0.0f); \n\t\t cylinder.DrawCylinder(0.15f,0.7f,32);\n\n\t\t // left foot\n\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t GL11.glPushMatrix(); {\n\t\t GL11.glTranslatef(0.0f,0.0f,0.75f);\n\t\t sphere.DrawSphere(0.3f, 32, 32); \n\n\t\t } GL11.glPopMatrix();\n\t\t } GL11.glPopMatrix();\n\t\t } GL11.glPopMatrix();\n\t\t } GL11.glPopMatrix();\n\t\t } GL11.glPopMatrix();\n\t\t // pelvis\n\n\n\t\t // right hip\n\t\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t\t GL11.glPushMatrix(); {\n\t\t\t GL11.glTranslatef(0.5f,-0.2f,0.0f);\n\t\t\t \n\t\t\t sphere.DrawSphere(0.25f, 32, 32); \n\n\n\t\t\t // right high leg\n\t\t\t \t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t\t GL11.glPushMatrix(); {\n\t\t\t GL11.glTranslatef(0.0f,0.0f,0.0f);\n\t\t\t GL11.glRotatef(0.0f,0.0f,0.0f,0.0f);\n\t\t\t \n\t\t\t \n\t\t\t GL11.glRotatef((LimbRotation/2)+90,1.0f,0.0f,0.0f); \n\t\t\t // GL11.glRotatef(90.0f,1.0f,0.0f,0.0f); \n\t\t\t cylinder.DrawCylinder(0.15f,0.7f,32);\n\n\n\t\t\t // right knee\n\t\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t\t GL11.glPushMatrix(); {\n\t\t\t GL11.glTranslatef(0.0f,0.0f,0.75f);\n\t\t\t GL11.glRotatef(0.0f,0.0f,0.0f,0.0f); \n\t\t\t sphere.DrawSphere(0.25f, 32, 32); \n\n\t\t\t //right low leg\n\t\t\t \t GL11.glColor3f(orange[0], orange[1], orange[2]);\n\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(orange));\n\t\t\t GL11.glPushMatrix(); {\n\t\t\t GL11.glTranslatef(0.0f,0.0f,0.0f);\n\t\t\t GL11.glRotatef(RightLimbRotation/6,-1.0f,0.0f,0.0f);\n\t\t\t // GL11.glRotatef(0.0f,0.0f,0.0f,0.0f); \n\t\t\t cylinder.DrawCylinder(0.15f,0.7f,32);\n\n\t\t\t // right foot\n\t\t\t \t GL11.glColor3f(blue[0], blue[1], blue[2]);\n\t\t\t GL11.glMaterial( GL11.GL_FRONT, GL11.GL_AMBIENT_AND_DIFFUSE, Utils.ConvertForGL(blue));\n\t\t\t GL11.glPushMatrix(); {\n\t\t\t GL11.glTranslatef(0.0f,0.0f,0.75f);\n\t\t\t sphere.DrawSphere(0.3f, 32, 32); \n\n\t\t\t } GL11.glPopMatrix();\n\t\t\t } GL11.glPopMatrix();\n\t\t\t } GL11.glPopMatrix();\n\t\t\t } GL11.glPopMatrix();\n\t\t\t } GL11.glPopMatrix();\n\t\t \n\t\t } GL11.glPopMatrix();\n\t\t \n\t\t }\n\t\t \n\t\t \n\t}", "title": "" }, { "docid": "25169f7aa53e7e1073839eba213ba0e6", "score": "0.57992715", "text": "public void act() \n {\n String worldname = getWorld().getClass().getName();\n if (worldname == \"Level0\")\n setImage(hero.getCurrentImage());\n \n checkCollision();\n if (Greenfoot.mousePressed(this) && !isFighterMoved)\n {\n isFighterMoved = true;\n }\n //dragging mouse\n if ((Greenfoot.mouseDragged(this)) && isFighterMoved)\n {\n MouseInfo mi = Greenfoot.getMouseInfo();\n setLocation(mi.getX(), mi.getY());\n \n }\n // check for collision after moving object \n if (Greenfoot.mouseDragEnded(this) && isFighterMoved)\n {\n isFighterMoved = false;\n checkCollision();\n }\n \n if (Greenfoot.isKeyDown(\"up\")) {\n \n if(this.getY()-this.getImage().getHeight()/2 > 0)\n this.setLocation(this.getX(), this.getY() - 10);\n isFighterMoved = true;\n checkCollision();\n \n }\n if (Greenfoot.isKeyDown(\"down\")) {\n if(this.getY()+this.getImage().getHeight()/2 < getWorld().getHeight())\n this.setLocation(this.getX(), this.getY() + 10);\n isFighterMoved = true;\n \n checkCollision();\n } \n if (Greenfoot.isKeyDown(\"left\")) {\n if(this.getX()-this.getImage().getWidth()/2 > 0)\n this.setLocation(this.getX() - 10, this.getY());\n isFighterMoved = true;\n checkCollision();\n \n }\n if (Greenfoot.isKeyDown(\"right\")) {\n if(this.getX()+this.getImage().getWidth()/2 < getWorld().getWidth())\n this.setLocation(this.getX() + 10,this.getY());\n isFighterMoved = true;\n checkCollision();\n }\n \n }", "title": "" }, { "docid": "98c99af7fcb1fc8f0f3e03807e677bf5", "score": "0.57912874", "text": "@Override\n\tpublic void displayScene(){\n\t\tGroup g = new Group();\n\t\tm = new Scene(g, Main.WIDTH, Main.HEIGHT, Color.CRIMSON);\n\t\t\n\t\tLabel l = new Label(\"MAP\");\n\t\tl.setFont(new Font(\"Verdana\", 30));\n\t\tg.getChildren().add(l);\n Button [] d = difficulty();\n for(int i = 0; i < d.length; i++)\n g.getChildren().add(d[i]);\n\n\t\tg.getChildren().add(backToMenu());\n\t}", "title": "" }, { "docid": "529e0fe658e7e2333b46953df8962164", "score": "0.577387", "text": "public void act()\n {\n MouseInfo m = Greenfoot.getMouseInfo();\n if (m != null) {\n turnTowards(m.getX(), m.getY());\n // set the camera's direction to ours:\n getWorld().setCameraDirection(getRotation());\n }\n //TODO ALH: Make really smooth!\n if (getOneIntersectingObject(GameObject.class) == null || getOneIntersectingObject(WallWithEntrance.class) != null) {\n if (Greenfoot.isKeyDown(\"up\")) {\n // move the camera forwards:\n getWorld().moveCamera(MOVE_AMOUNT);\n }\n } else if (Greenfoot.isKeyDown(\"down\")) {\n // move the camera backwards:\n getWorld().moveCamera(-MOVE_AMOUNT);\n }\n //If character enters dungeon set world to DungeonWorld\n if (isTouching(Dungeon.class)) {\n MasterWorld.stopSound();\n MasterWorld.dungeonWorld = new DungeonWorld();\n Greenfoot.setWorld(MasterWorld.dungeonWorld);\n }\n\n if (enemyIsNear()) {\n fightMonster();\n }\n\n //If character enters castle set world to CastleWorld\n if (isTouching(CastleEntrance.class)) {\n MasterWorld.stopSound();\n MasterWorld.castleWorld = new CastleWorld();\n Greenfoot.setWorld(MasterWorld.castleWorld);\n }\n \n checkPlayerDeath();\n }", "title": "" }, { "docid": "50ac93d67e31d8385963a648b29ebd38", "score": "0.576961", "text": "private void generateWorld() {\r\n\t\taddStarterIsland();\r\n\t}", "title": "" }, { "docid": "22127cedd11c8b360025d3585282ec6b", "score": "0.5754835", "text": "@Override\n\tpublic void update() {\n\t\tlion.renderAt(pos);\n\t}", "title": "" }, { "docid": "7113d47a3ed6e672d7cb93933671e0b8", "score": "0.5744112", "text": "public PlayScreen(LegendOfJ game){\n this.game = game;\n gamecam = new OrthographicCamera();\n gamePort = new FitViewport(LegendOfJ.V_WIDTH / LegendOfJ.PPM, LegendOfJ.V_HEIGHT/ LegendOfJ.PPM, gamecam);\n\n maploader = new TmxMapLoader();\n map = maploader.load(\"map.tmx\");\n renderer = new OrthogonalTiledMapRenderer(map, 1 / LegendOfJ.PPM);\n\n gamecam.position.set(gamePort.getWorldWidth() / 2, gamePort.getWorldHeight() / 2, 0);\n world = new World(new Vector2(0, -10), true);\n\n b2dr = new Box2DDebugRenderer();\n\n //creator = new B2WorldCreator(this);\n\n player = new Player(this);\n\n world.setContactListener(new WorldContactListener());\n }", "title": "" }, { "docid": "851c3d7090a5f9627059e214f2d2c7ae", "score": "0.5731241", "text": "public void draw(Graphics2D g) { \r\n renderer.draw(g, map,\r\n screen.getWidth(), screen.getHeight());\r\n\r\n if(iLevel > 1 && !bLost) {\r\n g.setColor(Color.WHITE);\r\n g.setFont(new Font(\"Verdana\", Font.BOLD, 40));\r\n g.drawString(\"LIFE: \" + iLife +\"%\", screen.getWidth() - 250,\r\n 50);\r\n g.drawString(\"SCORE: \" + iScore, 50 , 50);\r\n \r\n if(iIngredientes > 0){\r\n g.setFont(new Font(\"Verdana\",Font.PLAIN, 20));\r\n g.drawString(\"INGREDIENTS 2 GO: \" + iIngredientes, \r\n screen.getWidth() - 240, 100);\r\n }\r\n else {\r\n g.setFont(new Font(\"Verdana\",Font.PLAIN, 20));\r\n g.drawString(\"GET TO THE CHILAQUILES\", \r\n screen.getWidth() - 265, 100);\r\n }\r\n \r\n }\r\n \r\n // If the tutorial is displayed\r\n if (bTutLabel) {\r\n // Getting the player\r\n Player player = (Player)map.getPlayer();\r\n \r\n // Declaring initial resource manager\r\n Image image = resourceManager.loadImage(\"extras/pato_agarrachilaquiles.png\");\r\n // g.drawString(\"X: \" + player.getX(), 300, 400);\r\n // checando en que posicion del mapa tutorial esta el personaje para saber\r\n // que consejo del pato desplegar\r\n if (player.getX() > 3400) {\r\n image = resourceManager.loadImage(\"extras/pato_agarrachilaquiles.png\");\r\n } else if (player.getX() > 2500) {\r\n image = resourceManager.loadImage(\"Props/pato_juntaingredientes.png\");\r\n } else if (player.getX() > 1400) {\r\n image = resourceManager.loadImage(\"Props/pato_enemigosmasgrandes.png\");\r\n } else if (player.getX() > 1000) {\r\n image = resourceManager.loadImage(\"extras/pato_instrucciones_02.png\");\r\n } else if (player.getX() > 770) {\r\n image = resourceManager.loadImage(\"extras/pato_instrucciones_01.png\");\r\n } else if (player.getX() > 550) {\r\n image = resourceManager.loadImage(\"Props/pato_historia03.png\");\r\n } else if (player.getX() > 350) {\r\n image = resourceManager.loadImage(\"Props/pato_historia02.png\");\r\n } else if (player.getX() > 0) {\r\n image = resourceManager.loadImage(\"Props/pato_historia01.png\");\r\n }\r\n \r\n // paints the selected previous image\r\n g.fillRect(0, 0, 800, 180);\r\n g.drawImage(image, 0, 0, null);\r\n } \r\n \r\n // f the game is paused, display the correct screen\r\n if(bPause) {\r\n g.setColor(Color.black);\r\n g.setFont(new Font(\"TimesRoman\", Font.BOLD, 60));\r\n g.drawImage(imaPausa , screen.getWidth() / 2 - \r\n imaPausa.getWidth(null)/2,200, null);\r\n }\r\n \r\n // if the player lost, display the restart image\r\n if(bLost) {\r\n g.setColor(Color.WHITE);\r\n g.setFont(new Font(\"Verdana\", Font.BOLD, 40));\r\n g.drawString(\"R to RESTART\", screen.getWidth()/ 2 - 150,\r\n 250); \r\n }\r\n }", "title": "" }, { "docid": "ec6098e734c09cbe29d70e66b74d46c8", "score": "0.5729684", "text": "public void act() \n {\n\n if(getWorld() instanceof Editor){\n Editor m = (Editor)getWorld();\n if(m.returnHeroDirection()){\n setLocation(m.returnHeroX()-offsetX, m.returnHeroY()+offsetY);\n } else {\n setLocation(m.returnHeroX()+offsetX, m.returnHeroY()+offsetY);\n }\n if(m.returnHeroDirection()){\n setImage(set2);\n MouseInfo mouse = Greenfoot.getMouseInfo();\n if(m.returnBuildState() == false && mouse != null && mouse.getX() < m.returnHeroX() && mouse.getX() > 0 && mouse.getY() > 40 && mouse.getY() < 600){\n turnTowards(mouse.getX(),mouse.getY());\n } else{\n setRotation(180);\n }\n } else {\n setImage(set1);\n MouseInfo mouse = Greenfoot.getMouseInfo();\n if(m.returnBuildState() == false && mouse != null && mouse.getX() > m.returnHeroX() && mouse.getX() < 1000 && mouse.getY() > 40 && mouse.getY() < 600){\n turnTowards(mouse.getX(),mouse.getY());\n }else{\n setRotation(0);\n }\n }\n \n } else {\n Main m = (Main)getWorld();\n if(m.returnHeroDirection()){\n setLocation(m.returnHeroX()-offsetX, m.returnHeroY()+offsetY);\n } else {\n setLocation(m.returnHeroX()+offsetX, m.returnHeroY()+offsetY);\n }\n if(m.returnHeroDirection()){\n setImage(set2);\n } else {\n setImage(set1);\n }\n }\n\n }", "title": "" }, { "docid": "21c1b1203cf0d1d68f2d60c003565730", "score": "0.57292795", "text": "void showScene() { \n if (sun == true) { // the sun\n fill(255, 255, 0);\n ellipse(sunX, sunY, 30, 30);\n sunX += sunDX; // move sun, sun only moves when true\n skyR = 100; // sky is blue when the sun is out\n skyG = 150;\n skyB = 200;\n }\n\n if (moon == true) { // the moon\n fill(150);\n ellipse(moonX, moonY, 30, 30);\n moonX += moonDX; // move moon, moon only moves when true\n skyR = 100; // sky is dark when moon is out\n skyG = 50;\n skyB = 200;\n }\n}", "title": "" }, { "docid": "c4d3ed9e60c32f0c2771e37c1d14ee65", "score": "0.5726122", "text": "public void act() \n {\n //Added to the world after the player dies within the die() method of the Player class\n }", "title": "" }, { "docid": "ad5beec9e1a87fe7b24f50250316fa8c", "score": "0.57260096", "text": "public void act() \n {\n if(Greenfoot.mousePressed(this)){\n Greenfoot.setWorld(new InstructionMenu2());\n }\n }", "title": "" }, { "docid": "f808983b89defc7915ddaa702516645c", "score": "0.5723316", "text": "@Override\r\n\tpublic void effect() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e15807877ebc37e18d2e7f022ee059ab", "score": "0.57208085", "text": "public void explosion() {\n loadImage(\"explosion.png\");\n setObjectState(true);\n }", "title": "" }, { "docid": "da7c132bd05b21e4e7432702b504cf18", "score": "0.5720525", "text": "public void render() {\n Gdx.input.setInputProcessor(stage); /** Eventos que suceden en escenarios */\n if(window.getScaleX() < 1) window.setScale(window.getScaleX() + 0.1f); /** Efecto POPUP en la ventana */\n\n stage.act(); /** Actualiza el escenario sin dubujar */\n stage.draw(); /** Dibuja los cambios */\n\n PlayScreen.soundVolume = controlVolume.getValue();\n controlVolumeIndicator.setText((int)(controlVolume.getValue() * 100) + \"\");\n\n if(salir.isPressed()) game.setScreen(game.home);\n }", "title": "" }, { "docid": "12d8bf51ac60caf0c443e58d9d11d264", "score": "0.57133937", "text": "private void renderWorld(TETile[][] f) {\n ter.initialize(WIDTH, HEIGHT);\n ter.renderFrame(f);\n StdDraw.show();\n }", "title": "" }, { "docid": "d254a75d8e8b55dba939ddcb12388948", "score": "0.5709566", "text": "public void act() \r\n {\r\n animate();\r\n if(animCycle >= image.length * animSpeed - 1){\r\n MyWorld myworld = (MyWorld) getWorld();\r\n Greenfoot.setWorld(new GameOver(myworld.score));\r\n }\r\n }", "title": "" }, { "docid": "cae383971045e205228909e5a736ba1d", "score": "0.57035387", "text": "public void enExplosion() {\n this.dir= Direction.OUEST;\n assigneImage();\n }", "title": "" }, { "docid": "a7a4c4095b8348a5151047d3bba0472b", "score": "0.56970495", "text": "public WorldController() {\n this.view = new WorldView();\n }", "title": "" }, { "docid": "53dd6fac6557c188210972a01ae8022e", "score": "0.56951314", "text": "@Override\n public void onLoad(World w) {\n\n var1 = new Bookshelf1();\n w.loadAndAdd(var1);\n var1.setX(220.44997f);\n var1.setY(60f);\n\n var2 = new Bookshelf1();\n w.loadAndAdd(var2);\n var2.setX(323.49985f);\n var2.setY(60.0f);\n\n var4 = new Bookshelf2();\n w.loadAndAdd(var4);\n var4.setX(271.85007f);\n var4.setY(60.0f);\n\n var5 = new Sofa();\n w.loadAndAdd(var5);\n var5.setX(374.40015f);\n var5.setY(69.350006f);\n\n var6 = new Sofa();\n w.loadAndAdd(var6);\n var6.setX(396.70007f);\n var6.setY(69.350006f);\n\n var7 = new Sofa();\n w.loadAndAdd(var7);\n var7.setX(418.80014f);\n var7.setY(69.350006f);\n\n var8 = new WaldomarDesk();\n w.loadAndAdd(var8);\n var8.setX(113.5f);\n var8.setY(202.8f);\n\n var9 = new BlackCover();\n w.loadAndAdd(var9);\n var9.setX(600f);\n var9.setY(150f);\n var9.setLayer(3);\n\n waldomar = new Waldomar();\n w.loadAndAdd(waldomar);\n waldomar.setX(102.95f);\n waldomar.setY(203.85004f);\n\n farrand = new Farrand();\n w.loadAndAdd(farrand);\n farrand.setX(548.3502f);\n farrand.setY(128.44998f);\n farrand.setUsePhysics(false);\n farrand.setMovementType(MovementType.WALKING);\n\n jeremiah = new Jeremiah();\n w.loadAndAdd(jeremiah);\n jeremiah.setX(603.4502f);\n jeremiah.setY(129.25f);\n jeremiah.setUsePhysics(false);\n jeremiah.setMovementType(MovementType.WALKING);\n\n guard1 = new BlueGuard();\n w.loadAndAdd(guard1);\n guard1.setX(31*16);\n guard1.setY(9*16);\n guard1.setUsePhysics(false);\n guard1.setMovementType(MovementType.WALKING);\n\n guard2 = new BlueGuard();\n w.loadAndAdd(guard2);\n guard2.setX(529.60004f);\n guard2.setY(128.45f);\n guard2.setUsePhysics(false);\n guard2.setMovementType(MovementType.WALKING);\n\n guard3 = new BlueGuard();\n w.loadAndAdd(guard3);\n guard3.setX(566.4501f);\n guard3.setY(9*16);\n guard3.setUsePhysics(false);\n guard3.setMovementType(MovementType.WALKING);\n\n guard4 = new BlueGuard();\n w.loadAndAdd(guard4);\n guard4.setX(584.8502f);\n guard4.setY(9*16);\n guard4.setUsePhysics(false);\n guard4.setMovementType(MovementType.WALKING);\n\n guard5 = new BlueGuard();\n w.loadAndAdd(guard5);\n guard5.setX(622.5496f);\n guard5.setY(9*16);\n guard5.setUsePhysics(false);\n guard5.setMovementType(MovementType.WALKING);\n\n var17 = new DeskRadio();\n w.loadAndAdd(var17);\n var17.setX(117.45002f);\n var17.setY(185.20001f);\n var17.setLayer(2);\n\n var19 = new Window();\n w.loadAndAdd(var19);\n var19.setX(104f);\n var19.setY(40f);\n \n \n var20 = new PottedPlant();\n w.loadAndAdd(var20);\n var20.setX(447.75015f);\n var20.setY(260.15002f);\n \n var21 = new PottedPlant();\n w.loadAndAdd(var21);\n var21.setX(11.15f);\n var21.setY(70.34999f);\n \n var22 = new PottedPlant();\n w.loadAndAdd(var22);\n var22.setX(447.0f);\n var22.setY(72.04f);\n \n var23 = new PottedPlant();\n w.loadAndAdd(var23);\n var23.setX(12.0f);\n var23.setY(260.75003f);\n \n \n \n var24 = new CoffeeTable();\n w.loadAndAdd(var24);\n var24.setX(399.74999f);\n var24.setY(254.15f);\n \n var25 = new Sofa();\n w.loadAndAdd(var25);\n var25.setX(400.7f);\n var25.setY(237.3f);\n \n var26 = new CoffeeCup();\n w.loadAndAdd(var26);\n var26.setX(400.7f);\n var26.setY(254.15f);\n \n \n var28 = new Trashbin();\n w.loadAndAdd(var28);\n var28.setX(135.25f);\n var28.setY(211.7f);\n \n var29 = new Trashbin();\n w.loadAndAdd(var29);\n var29.setX(353.69998f);\n var29.setY(75.0f);\n \n \n \n var31 = new waldomarchair();\n w.loadAndAdd(var31);\n var31.setX(109.65f);\n var31.setY(222.15f);\n \n var32 = new waldomarchair();\n w.loadAndAdd(var32);\n var32.setX(400.7f);\n var32.setY(274.15f);\n\n fireball = new FireBall();\n w.loadAndAdd(fireball);\n fireball.setX(waldomar.getX());\n fireball.setY(waldomar.getY());\n fireball.setVisible(false);\n\n guard1.setHostile(false);\n guard2.setHostile(false);\n guard3.setHostile(false);\n guard4.setHostile(false);\n guard5.setHostile(false);\n\n guard1.setUsePhysics(false);\n guard2.setUsePhysics(false);\n guard3.setUsePhysics(false);\n guard4.setUsePhysics(false);\n guard5.setUsePhysics(false);\n farrand.setUsePhysics(false);\n jeremiah.setUsePhysics(false);\n\n w.setWorldBrightness(0.5f);\n w.createLight(15f * 16, 2f * 16, 1.4f, 0.7f);\n //w.createLight(0f, 0f, 0.1f, 0.1f);\n l = w.createLight(-200f, -200f, 0.01f, 0.01f, Color.RED);\n }", "title": "" }, { "docid": "ce8965d4a0f8b180c754d00dd735b2c8", "score": "0.56947535", "text": "@Override\n\tpublic void render(){\n\t\t\n\t\tfloat delta = Gdx.graphics.getDeltaTime();\n\t\t\n\t\tif(gameState == GameState.MENU) {\n\t\t\t\n\t\t}else if(gameState == GameState.INIT) {\n\t\t\t\n\t\t}else if(gameState == GameState.START) {\n\t\t\tGdx.gl.glClearColor(0.1f, 0, 0, 1);\n\t\t\tGdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);\n\t\t\t\n\t\t\tbatch.begin();\n\t\t\tbatch.draw(img, Gdx.graphics.getWidth()/2 - img.getWidth()/2,Gdx.graphics.getHeight()/2 - img.getHeight()/2);\n\t\t\t\thpEffect.draw(batch,delta);\n\t\t\tbatch.end();\n\t\t\t\n\t\t\t// SENSOR DATA\n\t\t\tbatch.begin();\n\t\t\tif(gameResolver.sensorConnected()){\n\t\t\t\tif(gameResolver.sensorTXL()){\n\t\t\t\t\tbatch.draw(sTXLON,8, Gdx.graphics.getHeight()-100);\n\t\t\t\t}else{\n\t\t\t\t\tbatch.draw(sTXL,8, Gdx.graphics.getHeight()-100);\n\t\t\t\t}\n\t\t\t\tif(gameResolver.sensorTXR()){\n\t\t\t\t\tbatch.draw(sTXRON,100, Gdx.graphics.getHeight()-100);\n\t\t\t\t}else{\n\t\t\t\t\tbatch.draw(sTXR,100, Gdx.graphics.getHeight()-100);\n\t\t\t\t}\n\t\t\t\tif(gameResolver.sensorTYL()){\n\t\t\t\t\tbatch.draw(sTYLON,40, Gdx.graphics.getHeight()-40);\n\t\t\t\t}else{\n\t\t\t\t\tbatch.draw(sTYL,40, Gdx.graphics.getHeight()-40);\n\t\t\t\t}\n\t\t\t\tif(gameResolver.sensorTYR()){\n\t\t\t\t\tbatch.draw(sTYRON,40, Gdx.graphics.getHeight()-130);\n\t\t\t\t}else{\n\t\t\t\t\tbatch.draw(sTYR,40, Gdx.graphics.getHeight()-130);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tbatch.end();\n\t\t\t\n\t\t\tif(hpEffect.isComplete()){\n\t\t\t\thpEffect.reset();\n\t\t\t}\n\t\t}else if(gameState == GameState.UPDATE) {\n\t\t\t\n\t\t}else if(gameState == GameState.GAMEOVER) {\n\t\t\t\n\t\t}else if(gameState == GameState.PAUSE) {\n\t\t\t\n\t\t}else if(gameState == GameState.EXIT) {\n\t\t\t\n\t\t}else if(gameState == GameState.WIN) {\n\t\t\t\n\t\t}\n\t\t\n\t\t////////////////////////////////////////////////////// RENDER YOUR GAME HERE\n\t\t\n\t}", "title": "" }, { "docid": "c328ceb4eb17d86e9c06b66d22ec5a49", "score": "0.5676263", "text": "@Override\n\tpublic void update(World world)\n\t{\n\t}", "title": "" }, { "docid": "98a719498625552caaff8afa535b0bb3", "score": "0.5671831", "text": "@Override\r\n public void playEffect(Location loc,Effect effect,int data){\n\r\n }", "title": "" }, { "docid": "365dda651d5850bfaa84331075aa93d6", "score": "0.56643057", "text": "void render();", "title": "" }, { "docid": "365dda651d5850bfaa84331075aa93d6", "score": "0.56643057", "text": "void render();", "title": "" }, { "docid": "365dda651d5850bfaa84331075aa93d6", "score": "0.56643057", "text": "void render();", "title": "" }, { "docid": "ff52677a8263843170fe03659a8def06", "score": "0.56603307", "text": "public void act() \n {\n setImage( ogre.getCurrentImage());\n setLocation(getX() - 1, getY()); \n if(isAtEdge())\n {\n setLocation(800, 522); \n }\n \n if(isTouching(Panah.class))\n {\n if(Indra.minibos1() == 0)\n {\n Greenfoot.playSound(\"kena.wav\"); \n removeTouching(Panah.class);\n Level1.score.add(1);\n getWorld().addObject(new Ogre(), 800, 522);\n getWorld().removeObject(this);\n }\n \n if(Indra.minibos1() == 1)\n {\n Greenfoot.playSound(\"kena.wav\"); \n removeTouching(Panah.class);\n Level1.score.add(1);\n getWorld().removeObject(this);\n Indra.musuh += 1;\n }\n }\n }", "title": "" }, { "docid": "a87e97d741f5c5aea53834ef94ed26b6", "score": "0.56544656", "text": "private void drawEnvironment() {\n\t\timage(environment, 0, 0);\r\n\t\t\r\n\t\t//draw buffs\r\n\t\tfor(Buff buff : World.getBuffs()) {\r\n\t\t\tif(buff.countdown > 0) {\r\n\t\t\t\tif(frameCount % 60 == 0)\r\n\t\t\t\t\tbuff.countdown--;\r\n\t\t\t\tString buffText = \"Red\";\r\n\t\t\t\tif(buff.getType() == 1) buffText = \"Blue\";\r\n\t\t\t\tbuffText += \" in \" + buff.countdown + \" sec(s)\";\r\n\t\t\t\tdrawText(buffText, buff.x - 40, buff.y, \"Georgia\", 15, buff.getRGB());\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tfloat x = buff.x, y = buff.y, size = 10;\r\n\t\t\t\tRGB c = buff.getRGB();\r\n\t\t\t\tfill(c.r, c.g, c.b);\r\n\t\t\t\tnoStroke();\r\n\t\t\t\t\r\n\t\t\t\tbeginShape();\r\n\t\t\t\tvertex(x, y-size);\r\n\t\t\t\tvertex(x+size, y);\r\n\t\t\t\tvertex(x, y+size);\r\n\t\t\t\tvertex(x-size, y);\r\n\t\t\t\tendShape(CLOSE);\r\n\t\t\t\t\r\n\t\t\t\t//judge if buff is taken\r\n\t\t\t\tfor(Boid b : boids) {\r\n\t\t\t\t\tif(b.pos.minus(buff).getLength() < b.getSize()/2) {\r\n\t\t\t\t\t\tbuff.countdown = Config.BUFF_COUNTDOWN;\r\n\t\t\t\t\t\tbreak;\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\t//debug\r\n\t\t//draw shelters point\r\n\t\tint i = 0;\r\n\t\tfor(Shelter s : World.getShelters()) {\r\n\t\t\tdrawText(\"s\"+i, s.x, s.y, \"Georgia\", 12, new RGB(255,0,255));\r\n\t\t\ti++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9f5f55cb53aa56a347daad56dd68dbd3", "score": "0.56434333", "text": "public void act() \n {\n if(start){\n getWorld().addObject(text,getX(),getY());\n start=false;\n }\n \n getImage().setColor(Color.BLACK);\n getImage().drawRect(0,0,getImage().getWidth()-1, getImage().getHeight()-1);\n }", "title": "" }, { "docid": "042ff6d9a266a1733f7eaa0b45c25f67", "score": "0.56356466", "text": "public void act() {\n if (getX() >= 1023 || getX() <= 0) {getWorld().removeObject(this); \n }else if (hasLanded()){explode(20,20);\n }else if (hasLanded() == false) {setLocation(getX() + Vx, getY() + Vy);}\n Vy += gravity;\n }", "title": "" }, { "docid": "4b7b6e7059241afe51edcc9e1d3ffabc", "score": "0.562021", "text": "public void act() \n {\n getWorld().removeObject(lpoder);\n lpoder=new Label(\"Power: \" + Integer.toString(Power),30);\n getWorld().addObject(lpoder, 250, 30);\n \n \n \n if(isTouching(Nieve.class)||isTouching(Fuego.class)){\n Power-=100;\n \n }\n \n this.sopla();\n \n }", "title": "" }, { "docid": "5be02c370177912ed58937b77bcb5967", "score": "0.5616263", "text": "public void potatoShoot()\r\n {\r\n getWorld().addObject (new Bullet(facingRight), getX(), getY());\r\n Greenfoot.playSound(\"shoot.mp3\");\r\n }", "title": "" }, { "docid": "82e21aeef73702835c36d1dc6ee3da6d", "score": "0.5615959", "text": "@Override\n \tpublic void render(float delta) {\n \t\t\n \t\tGdx.gl.glClearColor(1, 1, 1, 1); \n \t\tGdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT);\n \t\t\n \t\toptionsMenuStage.draw();\n \t\t\n \t\toptionsMenuStage.act();\n \t\t\n \t}", "title": "" }, { "docid": "437680f6f993572d07c60e22f6abc11b", "score": "0.56141937", "text": "@Override\n public void spawn(float tpf) {\n EffectCenter.setFogPercentage(50);\n }", "title": "" }, { "docid": "95ee9c0b10e22d03e87ccc3302e39e8d", "score": "0.56086504", "text": "private void renderOverlays() {\n Minecraft mc = Minecraft.getMinecraft();\n if (!(mc.currentScreen instanceof LocationEditGui) && !(mc.currentScreen instanceof GuiNotification)) {\n GlStateManager.disableBlend();\n\n for (Feature feature : Feature.getGuiFeatures()) {\n if (main.getConfigValues().isEnabled(feature)) {\n if (feature == Feature.SKELETON_BAR && !main.getInventoryUtils().isWearingSkeletonHelmet())\n continue;\n if (feature == Feature.HEALTH_UPDATES && main.getPlayerListener().getHealthUpdate() == null)\n continue;\n\n float scale = main.getConfigValues().getGuiScale(feature);\n GlStateManager.pushMatrix();\n GlStateManager.scale(scale, scale, 1);\n feature.draw(scale, mc, null);\n GlStateManager.popMatrix();\n }\n }\n }\n }", "title": "" }, { "docid": "595ffeb25e98d2cf615438b511a518f9", "score": "0.5600309", "text": "public void welcome() \n\t{\n\t// send effect\n\tEngine.writeByte(Engine.SVC_MUZZLEFLASH);\n\tEngine.writeShort(fEntity.getEntityIndex());\n\tEngine.writeByte(Engine.MZ_LOGIN);\n\tEngine.multicast(fEntity.getOrigin(), Engine.MULTICAST_PVS);\n\n\tObject[] args = {getName()};\n\tGame.localecast(\"q2java.baseq2.Messages\", \"entered\", args, Engine.PRINT_HIGH);\n\t}", "title": "" }, { "docid": "5865bd68f5fa9a0adaf4462587112321", "score": "0.55969495", "text": "WorldScene makeFinalScreen() {\n WorldImage img = this.draw();\n WorldImage winTxt = new TextImage(\"You Win\", 48, Color.GREEN);\n winTxt = new OverlayImage(winTxt, img);\n \n WorldScene endScene = getEmptyScene();\n \n endScene.placeImageXY(winTxt,\n this.width * this.trueSideLength / 2, \n this.height * this.trueSideLength / 2);\n return endScene;\n }", "title": "" }, { "docid": "b18a262e58c48ad34aedfa816fffee7c", "score": "0.5594955", "text": "public void render() {\n\t\tcam.setToOrtho(false,320,240);\n\t\tGdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);\n\t\tsb.setProjectionMatrix(cam.combined);\n\t\tsb.begin();\n//\t\tsb.setColor(Color.CLEAR);\n//\t\tsb.draw(DavesDailyRitual.getSprite(\"city.png\",9,1), 1*16, 1*16+32);\n\t\t\n//\t\tsb.setColor(Color.BLUE);\n\t\tfont.draw(sb,\"You Lose\",0,480/2-10);\n\t\tsb.end();\n\t\t\n\t\tsr.setProjectionMatrix(cam.combined);\n\t\tsr.begin(ShapeType.Line);\n\t\tsr.setColor(Color.RED);\n\t\tsr.rect(0, 0, 40, 15);\n\t\tsr.end();\n\t}", "title": "" }, { "docid": "db9311e6b93b38626b6944de2c4aa06a", "score": "0.558996", "text": "private void displayMap() {\n\t\tint cnt = countPartyObjects(650, EConst.c_any_framenum, EConst.c_any_qual);\n\t\tShapeFrame s = ShapeFiles.SPRITES_VGA.getShape(\n\t\t\t\t\t\t\t\t\t\tgame.getShape(\"sprites/map\"), 0);\n\t\tnew MapGump(s, cnt > 0);\n\t}", "title": "" }, { "docid": "d27cd1ed54cfa97cce1d6d8df07116b8", "score": "0.5575234", "text": "public void render (float delta) {\n SpriteBatch batch = SelectShip.batch;\n\n// batch.begin();\n Worldrenderer.render(delta);\n world.update(delta);\n //batch.end();\n }", "title": "" }, { "docid": "7ce81b63a1776b875008d8490c5adf80", "score": "0.5573811", "text": "@Override\n public void show() {\n camera = new OrthographicCamera();\n viewport = new FitViewport(8f, 4.8f, camera);\n renderer = new ShapeRenderer();\n\n assetManager.load(AssetDescriptors.FONT);\n assetManager.load(AssetDescriptors.TEST_ATLAS);\n\n assetManager.finishLoading();//?\n }", "title": "" }, { "docid": "0f07736768f450ab5742c4c4c3b02334", "score": "0.55704874", "text": "@Override\n public void onWorldInitialized(World world) {\n\n Texture tex;\n // add backgrounds and path\n if (world == mWorlds.get(0)) {\n Entity bk1 = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2_back, 683 * 1.2f, 320 * 1.2f);\n bk1.add(new Background(tex, 98));\n world.addEntity(bk1);\n mTextures.add(tex);\n\n Entity bk2 = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2_hills, 1336, 640, 2, 1);\n bk2.add(new Background(tex, 75));\n world.addEntity(bk2);\n mTextures.add(tex);\n\n Entity bk2a = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2_fences, 1094, 640, 4, 1);\n bk2a.add(new Background(tex, 55));\n world.addEntity(bk2a);\n mTextures.add(tex);\n\n Entity bk3 = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2_gravestones, 1554, 640, 4, 1);\n bk3.add(new Background(tex, 20));\n world.addEntity(bk3);\n mTextures.add(tex);\n\n Entity bk4 = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2_path, 1880, 640, 4, 1);\n bk4.add(new Sprite(tex, 0));\n bk4.add(new Transformation(tex.width / 2, tex.height / 2, 0));\n world.addEntity(bk4);\n mTextures.add(tex);\n }\n else {\n Entity bk1 = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2a_back, 683 * 1.2f, 320 * 1.2f);\n bk1.add(new Background(tex, 98));\n world.addEntity(bk1);\n mTextures.add(tex);\n\n Entity bk2 = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2a_hills, 1878, 640, 1, 1);\n bk2.add(new Background(tex, 75));\n world.addEntity(bk2);\n mTextures.add(tex);\n\n /*Entity bk2a = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2_fences, 1094, 640, 4, 1);\n bk2a.add(new Background(tex, 55));\n world.addEntity(bk2a);\n mTextures.add(tex);*/\n\n Entity bk3 = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2a_gravestones, 1362, 640, 2, 1);\n bk3.add(new Background(tex, 20));\n world.addEntity(bk3);\n mTextures.add(tex);\n\n Entity bk4 = new Entity();\n tex = mGame.getRenderer().addTexture(R.drawable.level2a_path, 1784, 640, 2, 1);\n bk4.add(new Sprite(tex, 0));\n bk4.add(new Transformation(tex.width / 2, tex.height / 2, 0));\n world.addEntity(bk4);\n mTextures.add(tex);\n }\n }", "title": "" }, { "docid": "aeb24b1c037115eac75d5f8bcdee77de", "score": "0.55678105", "text": "private void render() {\n\t\t// Clear screen\n\t\tGL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);\n\t\t\n\t\tstarfield.draw();\n\t}", "title": "" }, { "docid": "608dfeceebd18f2c0c63b143a94cf87a", "score": "0.55646724", "text": "void redrawFlashlight() {\n setAmbientLight();\n flashlight.createFlashLight(player.getX(), player.getY(), size, size, getMouseLoc());\n gameObjects.remove(secondsCounter);\n gameObjects.remove(player);\n gameObjects.remove(flashlight);\n gameObjects.remove(playerHealthBar);\n gameObjects.add(flashlight);\n gameObjects.add(player);\n gameObjects.add(playerHealthBar);\n gameObjects.add(secondsCounter);\n }", "title": "" }, { "docid": "95b449635b7ea59b7ed30ed490b05b6d", "score": "0.5562149", "text": "@Override\n\tpublic void display(GLAutoDrawable drawable) {\n\t\tGL gl = drawable.getGL();\n\t\t\n\t\t// set the 'clear screen color' not really necessary but useful to make all the clear colors the same!\n\t\tgl.glClearColor(1f,1f,1f,1);\n\t\t\n\t\t//The ambient color is white light\n float[] lightColor = {1f, 1f, 1f, 1f};\n\n // The Ambient light is created here.\n gl.glLightfv(GL.GL_LIGHT1, GL.GL_AMBIENT, lightColor, 0);\n gl.glLightfv(GL.GL_LIGHT1, GL.GL_DIFFUSE, lightColor, 0);\n \n // Enable lighting in GL.\n gl.glEnable(GL.GL_LIGHT1);\n gl.glEnable(GL.GL_LIGHTING);\n \n\t\t\n\t\tfloat[] rgba = {1f, 1f, 1f}; //Sets the material color\n gl.glMaterialfv(GL.GL_FRONT, GL.GL_AMBIENT, rgba, 0);\n\t\tbackgroundTexture.enable(); // Enable the background texture\n\t\tbackgroundTexture.bind(); // Bind the background texture to the next object\n\t\tDrawingUtil.boxOnScreen(gl, 0, 0, screenWidth, screenHeight); // draw the background plane\n\t\tbackgroundTexture.disable(); // Disable the background texture again, such that the next object is textureless\n\t\tDrawingUtil.drawTrans(gl,0,0,screenWidth,screenHeight,0f,0f,0f,0.4f); // draw an extra greyish thing to increase contrast\n\t\t\n\t\tthis.clkbxman.drawAllText(0); // draw the text in the menu\n\t\tthis.clkbxman.update();\n\t\t\n\t\tgl.glFlush();\n\t}", "title": "" }, { "docid": "ce99625c6c0d5865c9090ce6bd6a0a6c", "score": "0.5560844", "text": "public void render() {\n float theta = vel.heading2D() + radians(90);\n if (!thumbs){\n fill(175);\n stroke(0);\n pushMatrix();\n translate(loc.x,loc.y);\n rotate(theta);\n beginShape(TRIANGLES);\n vertex(0, -r*2);\n vertex(-r, r*2);\n vertex(r, r*2);\n endShape();\n popMatrix();\n } else {\n pushMatrix();\n translate(loc.x,loc.y);\n rotate(theta);\n scale(0.08f,0.08f);\n if(!ext)\n image(yo,0,0);\n else\n image(noyo,0,0);\n popMatrix();\n }\n }", "title": "" }, { "docid": "58b410c71fe0b36172ea3ba520070aff", "score": "0.5558331", "text": "@Override\n\tpublic void render() {\n\n\t\t// Clear the viewport\n\t\tGdx.gl.glViewport(0, 0, screenWidth, screenHeight);\n\t\tGdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT | GL20.GL_DEPTH_BUFFER_BIT);\n\t\t// Update current scene\n\t\tscenes.get(currentScene).update();\n\t\tif (currentScene == Level.SETTINGS) {\n\t\t\tGdx.gl.glClearColor(0.449f, 0.645f, 0.739f, 1f);\n\t\t} else {\n\t\t\t// Draw all model instances using the camera\n\t\t\tmodelBatch.begin(camera);\n\t\t\tmodelBatch.render(scenes.get(currentScene).objects, scenes.get(currentScene).getEnvironment());\n\t\t\tmodelBatch.end();\n\t\t}\n\t\t// System.out.println(currentScene);\n\t\t// Check for scene changes, especially relating to the menu\n\t\tSystem.out.println(currentScene);\n\t\tswitch (currentScene) {\n\t\tcase SPLASHSCREEN:\n\t\t\tmusicPlayer.play();\n\t\t\tif (Gdx.input.isKeyJustPressed(Keys.ANY_KEY)) {\n\t\t\t\tcurrentScene = Level.NAMESELECT;\n\t\t\t\tscenes.get(currentScene).camSetup();\n\t\t\t}\n\t\t\tbreak;\n\t\tcase NAMESELECT:\n\t\t\tif (((NameSelect) scenes.get(currentScene)).cont) {\n\t\t\t\tcurrentPlayer = new PlayerData(((NameSelect) scenes.get(currentScene)).name);\n\t\t\t\ttimer = new Timer(currentPlayer);\n\t\t\t\tcurrentScene = Level.MENU;\n\t\t\t\tscenes.put(Level.GAMEFINISH, new GameCompletedScene(settings));\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tcamera.position.set(0, 0, 1);\n\t\t\t\tcamera.lookAt(0f, 1f, 1f);\n\t\t\t\tmusicPlayer.stop();\n\t\t\t\tmusicPlayer.dispose();\n\t\t\t\tcallMusicPlay = true;\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase MENU:\n\t\t\tif (callMusicPlay) {\n\t\t\t\tmusicPlayer = Gdx.audio.newMusic(Gdx.files.internal(musicFileNames[1]));\n\t\t\t\tmusicPlayer.play();\n\t\t\t\tmusicPlayer.setLooping(true);\n\t\t\t\tcallMusicPlay = false;\n\t\t\t}\n\t\t\tif (((MenuScene) scenes.get(currentScene)).getChoice() == 3) {\n\t\t\t\tcurrentScene = Level.CREDITS;\n\t\t\t\tmusicPlayer.stop();\n\t\t\t} else if (((MenuScene) scenes.get(currentScene)).getChoice() == 0) {\n\t\t\t\t((MenuScene) scenes.get(currentScene)).resetMenuChoice();\n\t\t\t\tcurrentScene = Level.LEVEL_SELECT;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(300);\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t} else if (((MenuScene) scenes.get(currentScene)).getChoice() == 1) {\n\t\t\t\t((MenuScene) scenes.get(currentScene)).resetMenuChoice();\n\t\t\t\tcurrentScene = Level.INSTRUCTION;\n\t\t\t} else if (((MenuScene) scenes.get(currentScene)).getChoice() == 2) {\n\t\t\t\t((MenuScene) scenes.get(currentScene)).resetMenuChoice();\n\t\t\t\tcurrentScene = Level.ARTIFACT;\n\t\t\t} else if (((MenuScene) scenes.get(currentScene)).getChoice() == 5) {\n\t\t\t\t((MenuScene) scenes.get(currentScene)).resetMenuChoice();\n\t\t\t\tcurrentScene = Level.SETTINGS;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tscenes.get(currentScene).loadModelInstances();\n\t\t\t\t((SettingsScene) scenes.get(currentScene)).setInputProccessor();\n\t\t\t} else if (((MenuScene) scenes.get(currentScene)).getChoice() == 4) {\n\t\t\t\t((MenuScene) scenes.get(currentScene)).resetMenuChoice();\n\t\t\t\tcurrentScene = Level.HIGHSCORES;\n\t\t\t\tscenes.get(currentScene).camSetup();\n\t\t\t}\n\t\t\tbreak;\n\t\tcase INSTRUCTION:\n\t\t\tif (Gdx.input.isKeyJustPressed(Keys.C)) {\n\t\t\t\t((InstructionsScene) scenes.get(currentScene)).incrementScreen();\n\t\t\t\t((InstructionsScene) scenes.get(currentScene)).changeCurrentTexture();\n\t\t\t} else if (Gdx.input.isKeyJustPressed(Keys.X)) {\n\t\t\t\t((InstructionsScene) scenes.get(currentScene)).resetMenuScreen();\n\t\t\t\tcurrentScene = Level.MENU;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase ARTIFACT:\n\t\t\tif (Gdx.input.isKeyJustPressed(Keys.C)) {\n\t\t\t\t((ArtifactScene) scenes.get(currentScene)).incrementScreen();\n\t\t\t\t((ArtifactScene) scenes.get(currentScene)).changeCurrentTexture();\n\t\t\t} else if (Gdx.input.isKeyJustPressed(Keys.X)) {\n\t\t\t\t((ArtifactScene) scenes.get(currentScene)).resetMenuScreen();\n\t\t\t\tcurrentScene = Level.MENU;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase LEVEL_SELECT:\n\t\t\tif (((LevelSelect) scenes.get(currentScene)).getLevelChoice() == 3) {\n\t\t\t\t((LevelSelect) scenes.get(currentScene)).resetLevelChoice();\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(300);\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tcurrentScene = Level.MENU;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tcamera.lookAt(0f, 1f, 1f);\n\n\t\t\t} else if (((LevelSelect) scenes.get(currentScene)).getLevelChoice() == 0) {\n\t\t\t\tmusicPlayer.stop();\n\t\t\t\tmusicPlayer.dispose();\n\t\t\t\tcallMusicPlay = true;\n\t\t\t\t((LevelSelect) scenes.get(currentScene)).resetLevelChoice();\n\t\t\t\tcurrentScene = Level.ROME;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tcamera.far = 3000f;\n\t\t\t} else if (((LevelSelect) scenes.get(currentScene)).getLevelChoice() == 2) {\n\t\t\t\tmusicPlayer.stop();\n\t\t\t\tmusicPlayer.dispose();\n\t\t\t\tcallMusicPlay = true;\n\t\t\t\t((LevelSelect) scenes.get(currentScene)).resetLevelChoice();\n\t\t\t\tcurrentScene = Level.EUROPE;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tcamera.far = 3000f;\n\t\t\t} else if (((LevelSelect) scenes.get(currentScene)).getLevelChoice() == 1) {\n\t\t\t\tmusicPlayer.stop();\n\t\t\t\tmusicPlayer.dispose();\n\t\t\t\tcallMusicPlay = true;\n\t\t\t\t((LevelSelect) scenes.get(currentScene)).resetLevelChoice();\n\t\t\t\tcurrentScene = Level.BC;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tcamera.position.set(149f, -50f, 1 + 12.36f);\n\t\t\t\tcamera.far = 3000f;\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase SETTINGS:\n\t\t\tif (((SettingsScene) scenes.get(currentScene)).getChoice() != 0) {\n\t\t\t\tif (((SettingsScene) scenes.get(currentScene)).getChoice() == 1) {\n\t\t\t\t\tSystem.out.println(\"Settings reset!\");\n\t\t\t\t\tsettings = ((SettingsScene) scenes.get(currentScene)).getNewSettings();\n\t\t\t\t}\n\t\t\t\t((SettingsScene) scenes.get(currentScene)).resetChoice();\n\n\t\t\t\tcurrentScene = Level.MENU;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase GAMEFINISH:\n\t\t\tif (((GameCompletedScene) scenes.get(currentScene)).nextScene) {\n\t\t\t\tcurrentScene = Level.MENU;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t\tcamera.position.set(0, 0, 1);\n\t\t\t\tcamera.lookAt(0f, 1f, 1f);\n\t\t\t\tmusicPlayer.stop();\n\t\t\t\tmusicPlayer.dispose();\n\t\t\t\tcallMusicPlay = true;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase BC:\n\t\t\tif (callMusicPlay) {\n\t\t\t\tmusicPlayer = Gdx.audio.newMusic(Gdx.files.internal(musicFileNames[4]));\n\t\t\t\tmusicPlayer.play();\n\t\t\t\tmusicPlayer.setLooping(true);\n\t\t\t\tcallMusicPlay = false;\n\t\t\t}\n\t\t\tif (((BritishColombiaScene) scenes.get(currentScene)).isQuiz) {\n\t\t\t\tcurrentScene = Level.MINIGAME1;\n\t\t\t\tscenes.get(currentScene).camSetup();\n\t\t\t} else if (((BritishColombiaScene) scenes.get(currentScene)).moveToNext) {\n\t\t\t\tcurrentScene = Level.GAMEFINISH;\n\t\t\t\ttimer.player.setBCCompleted(true);\n\t\t\t\tscenes.get(currentScene).camSetup();\n\t\t\t\t((GameCompletedScene) scenes.get(currentScene)).updateTable();\n\t\t\t} else if (((BritishColombiaScene) scenes.get(currentScene)).artifactsUnlocked >= 5) {\n\t\t\t\t((BritishColombiaScene) scenes.get(currentScene)).exitStage.draw();\n\t\t\t}\n\t\t\ttimer.update(currentScene, paused);\n\t\t\tif (currentScene == Level.BC)\n\t\t\t\t((BritishColombiaScene) scenes.get(currentScene)).hud.draw();\n\t\t\tbreak;\n\t\tcase MINIGAME1:\n\t\t\tif (((EducationalQuiz) scenes.get(currentScene)).isCorrect()) {\n\t\t\t\t((EducationalQuiz) scenes.get(currentScene)).resetExitMinigame();\n\t\t\t\tcurrentScene = Level.BC;\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t\t((BritishColombiaScene) scenes.get(currentScene)).resetIsQuiz();\n\t\t\t}\n\t\t\tbreak;\n\t\tcase EUROPE:\n\t\t\tif (callMusicPlay) {\n\t\t\t\tmusicPlayer = Gdx.audio.newMusic(Gdx.files.internal(musicFileNames[3]));\n\t\t\t\tmusicPlayer.play();\n\t\t\t\tmusicPlayer.setLooping(true);\n\t\t\t\tcallMusicPlay = false;\n\t\t\t}\n\t\t\tif (((EuropeScene) scenes.get(currentScene)).isQuiz) {\n\t\t\t\tcurrentScene = Level.MINIGAME2;\n\t\t\t\tscenes.get(currentScene).camSetup();\n\t\t\t} else if (((EuropeScene) scenes.get(currentScene)).moveToNext) {\n\t\t\t\tmusicPlayer.stop();\n\t\t\t\tmusicPlayer.dispose();\n\t\t\t\tcallMusicPlay = true;\n\t\t\t\tcurrentScene = Level.BC;\n\t\t\t\ttimer.player.setEuropecompleted(true);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t\tProjectXploraGame.camera.position.set(149f, -50f, 1 + 12.36f);\n\t\t\t\tProjectXploraGame.camera.lookAt(149f, -49f, 1 + 12.36f);\n\t\t\t\tProjectXploraGame.camera.near = 0.1f;\n\t\t\t\tProjectXploraGame.camera.far = 1000f;\n\t\t\t} else if (((EuropeScene) scenes.get(currentScene)).artifactsUnlocked >= 5) {\n\t\t\t\t((EuropeScene) scenes.get(currentScene)).exitStage.draw();\n\t\t\t}\n\t\t\ttimer.update(currentScene, paused);\n\t\t\tif (currentScene == Level.EUROPE)\n\t\t\t\t((EuropeScene) scenes.get(currentScene)).hud.draw();\n\t\t\tbreak;\n\t\tcase MINIGAME2:\n\t\t\tif (((EducationalQuiz) scenes.get(currentScene)).isCorrect()) {\n\t\t\t\t((EducationalQuiz) scenes.get(currentScene)).resetExitMinigame();\n\t\t\t\tcurrentScene = Level.EUROPE;\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t\t((EuropeScene) scenes.get(currentScene)).resetIsQuiz();\n\t\t\t}\n\t\t\tbreak;\n\t\tcase ROME:\n\t\t\tif (callMusicPlay) {\n\t\t\t\tmusicPlayer = Gdx.audio.newMusic(Gdx.files.internal(musicFileNames[2]));\n\t\t\t\tmusicPlayer.play();\n\t\t\t\tmusicPlayer.setLooping(true);\n\t\t\t\tcallMusicPlay = false;\n\t\t\t}\n\t\t\tif (((RomeScene) scenes.get(currentScene)).isQuiz) {\n\t\t\t\tcurrentScene = Level.MINIGAME3;\n\t\t\t\tscenes.get(currentScene).camSetup();\n\t\t\t} else if (((RomeScene) scenes.get(currentScene)).moveToNext) {\n\t\t\t\tmusicPlayer.stop();\n\t\t\t\tmusicPlayer.dispose();\n\t\t\t\tcallMusicPlay = true;\n\t\t\t\tcurrentScene = Level.EUROPE;\n\t\t\t\ttimer.player.setRomeCompleted(true);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t\tProjectXploraGame.camera.position.set(0f, 0f, 1);\n\t\t\t\tProjectXploraGame.camera.lookAt(0f, 1f, 1);\n\t\t\t\tProjectXploraGame.camera.near = 0.1f;\n\t\t\t\tProjectXploraGame.camera.far = 1000f;\n\t\t\t\tProjectXploraGame.camera.update();\n\t\t\t} else if (((RomeScene) scenes.get(currentScene)).artifactsUnlocked >= 5) {\n\t\t\t\t((RomeScene) scenes.get(currentScene)).exitStage.draw();\n\t\t\t}\n\t\t\ttimer.update(currentScene, paused);\n\t\t\tif (currentScene == Level.ROME)\n\t\t\t\t((RomeScene) scenes.get(currentScene)).hud.draw();\n\t\t\tbreak;\n\t\tcase MINIGAME3:\n\t\t\tif (((EducationalQuiz) scenes.get(currentScene)).isCorrect()) {\n\t\t\t\t((EducationalQuiz) scenes.get(currentScene)).resetExitMinigame();\n\t\t\t\tcurrentScene = Level.ROME;\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t\t((RomeScene) scenes.get(currentScene)).resetIsQuiz();\n\t\t\t}\n\t\t\tbreak;\n\t\tcase HIGHSCORES:\n\t\t\tif (((HighScoresScene) scenes.get(currentScene)).backtoMenu) {\n\t\t\t\t((HighScoresScene) scenes.get(currentScene)).backtoMenu = false;\n\t\t\t\tcurrentScene = Level.MENU;\n\t\t\t\tscenes.get(currentScene).updateSettings(settings);\n\t\t\t\tcamera.position.set(0, 0, 1);\n\t\t\t\tcamera.lookAt(0f, 1f, 1f);\n\t\t\t\tGdx.input.setCursorCatched(true);\n\t\t\t\tGdx.input.setInputProcessor(scenes.get(currentScene).cameraController);\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(300);\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\tif (scenes.get(currentScene).paused && !paused) {\n\t\t\tpaused = true;\n\t\t\tpauseMenu.setPrevious();\n\t\t\tGdx.input.setCursorCatched(false);\n\t\t\t((PauseStage) pauseMenu.stage).paused = true;\n\t\t\tGdx.input.setInputProcessor(pauseMenu.stage);\n\t\t} else if (!((PauseStage) pauseMenu.stage).paused && paused) {\n\t\t\tpaused = false;\n\t\t\tpauseMenu.restorePrevious();\n\t\t\tscenes.get(currentScene).unPause();\n\n\t\t}\n\t\tif (paused) {\n\t\t\tpauseMenu.update();\n\n\t\t}\n\t}", "title": "" }, { "docid": "f6ac894bddc521b7398977e5cc38f6e5", "score": "0.5555522", "text": "public void drawEffect(Graphics2D g2d);", "title": "" }, { "docid": "f38dc36116b3bc3be577a24a3f7d2a8c", "score": "0.5552918", "text": "@Override\n\t\tpublic void display(GLAutoDrawable pGlDraw){\n\n\t\t\t //\t\t\t System.out.println( \"Engine display\" );\n\t\t\t\t\t\t\t\n\t\t\t sTheGlDrawable = pGlDraw;\n\t\t\t sTheGl = pGlDraw.getGL().getGL2();\n\t\t\t sTheGlu = new GLU();\n\t\t\t \n\n\t\t\t\tbeginDraw();\n\t\t\t\t\n\n\t\t\t\tif( cMyWorld != null ) {\n\t\t\t\t\t\tcMyWorld.callEngineDrawBegin(sTheGl );\n\n\t\t\t\t\t\tcMyWorld.sceneDraw( sTheGl );\n\n\n\t\t\t\t\t\tcMyWorld.callEngineDrawEnd(sTheGl );\n\n\t\t\t\t\t\t////\t\tsTheGl.glPopMatrix();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tendDraw();\n\t\t}", "title": "" }, { "docid": "b32be44333878b6fcb51d65bee9dee7d", "score": "0.5548969", "text": "@Override\n public void render(float delta) {\n Gdx.gl.glClearColor(0f, 0f, 0f, 1);\n Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);\n // Actually render the scene you described in the show() method above.\n stage.act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f));\n stage.draw();\n }", "title": "" }, { "docid": "2b58abc7bcb6cc7413b2d1541b4a8b25", "score": "0.55471826", "text": "public static void clearWorld() {\n\t}", "title": "" }, { "docid": "a38a2bf703cfc03a50c0673c2cd27ee8", "score": "0.55422187", "text": "public void show() {\n Gdx.input.setInputProcessor(stage);\n }", "title": "" }, { "docid": "b46cfc8771b17bf27d99bf6b19f33fa0", "score": "0.5542092", "text": "public LightWorld() {\n super();\n \n kakarikoWellTop = new Location(\"Kakariko Well - Top\");\n kakarikoWellLeft = new Location(\"Kakariko Well - Left\");\n kakarikoWellMiddle = new Location(\"Kakariko Well - Middle\");\n kakarikoWellRight = new Location(\"Kakariko Well - Right\");\n kakarikoWellBottom = new Location(\"Kakariko Well - Bottom\");\n \n blindsHideoutTop = new Location(\"Blind's Hideout - Top\");\n blindsHideoutLeft = new Location(\"Blind's Hideout - Left\");\n blindsHideoutRight = new Location(\"Blind's Hideout - Right\");\n blindsHideoutFarLeft = new Location(\"Blind's Hideout - Far Left\");\n blindsHideoutFarRight = new Location(\"Blind's Hideout - Far Right\");\n \n bottleMerchant = new Location(\"Bottle Merchant\");\n chickenHouse = new Location(\"Chicken House\");\n sickKid = new Location(\"Sick Kid\");\n kakarikoTavern = new Location(\"Kakariko Tavern\");\n\n magicBat = new Location(\"Magic Bat\");\n \n library = new Location(\"Library\");\n mazeRace = new Location(\"Maze Race\");\n\n fluteSpot = new Location(\"Flute Spot\");\n cave45 = new Location(\"Cave 45\");\n linksHouse = new Location(\"Link's House\");\n \n desertLedge = new Location(\"Desert Ledge\");\n checkerboardCave = new Location(\"Checkerboard Cave\");\n aginahsCave = new Location(\"Aginah's Cave\");\n bombosTablet = new Location(\"Bombos Tablet\");\n \n sunkenTreasure = new Location(\"Sunken Treasure\");\n floodgateChest = new Location(\"Floodgate Chest\"); \n \n miniMoldormCaveFarLeft = new Location(\"Mini Moldorm Cave - Far Left\");\n miniMoldormCaveLeft = new Location(\"Mini Moldorm Cave - Left\");\n miniMoldormCaveRight = new Location(\"Mini Moldorm Cave - Right\");\n miniMoldormCaveFarRight = new Location(\"Mini Moldorm Cave - Far Right\");\n miniMoldormCaveNPC = new Location(\"Mini Moldorm Cave - NPC\"); \n \n iceRodCave = new Location(\"Ice Rod Cave\");\n\n lakeHyliaIsland = new Location(\"Lake Hylia Island\");\n \n hobo = new Location(\"Hobo\");\n \n sahasrahlasHutLeft = new Location(\"Sahasrahla's Hut - Left\");\n sahasrahlasHutMiddle = new Location(\"Sahasrahla's Hut - Middle\");\n sahasrahlasHutRight = new Location(\"Sahasrahla's Hut - Right\");\n sahasrahla = new Location(\"Sahasrahla\");\n \n potionShop = new Location(\"Potion Shop\");\n \n waterfallFairyLeft = new Location(\"Waterfall Fairy - Left\");\n waterfallFairyRight = new Location(\"Waterfall Fairy - Right\");\n kingZora = new Location(\"King Zora\");\n zorasLedge = new Location(\"Zora's Ledge\");\n \n kingsTomb = new Location(\"King's Tomb\");\n graveyardLedge = new Location(\"Graveyard Ledge\");\n pegasusRocks = new Location(\"Pegasus Rocks\");\n \n lumberjackTree = new Location(\"Lumberjack Tree\");\n \n lostWoodsHideout = new Location(\"Lost Woods Hideout\");\n mushroom = new Location(\"Mushroom\");\n \n masterSwordPedestal = new Location(\"Master Sword Pedestal\"); \n }", "title": "" }, { "docid": "27e96b781f655d7946d9c230fab5092c", "score": "0.5540374", "text": "@Override\n\tpublic void render(float delta) {\n\t\tGdx.gl.glClearColor(0f, 0f, 0f, 1);\n\t\tGdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);\n\t\tstage.act(Math.min(Gdx.graphics.getDeltaTime(), 1 / 30f));\n\t\tstage.draw();\n\t\t\n\t}", "title": "" }, { "docid": "b95d4bb1c7dc7f9f8ab81d8b1fe54155", "score": "0.5539735", "text": "@Override\n\tpublic void perform() {\n\t\t// dispatch controllers handler\n\t\tfor(SceneController ctrl : controllers) {\n\t\t\tctrl.prePerform();\n\t\t}\n\t\t\n\t\t// dispatch controllers handler\n\t\tfor(SceneController ctrl : controllers) {\n\t\t\tctrl.preUpdate(Gdx.graphics.getDeltaTime());\n\t\t}\n\t\t\n\t\t// act actors update\n\t\tfor(Layer layer : this.layers) {\n\t\t\tlayer.update(Gdx.graphics.getDeltaTime());\n\t\t}\n\t\t\n\t\t// dispatch controllers handler\n\t\tfor(SceneController ctrl : controllers) {\n\t\t\tctrl.postUpdate(Gdx.graphics.getDeltaTime());\n\t\t}\n\t\t\n\t\t// dispatch controllers handler\n\t\tfor(SceneController ctrl : controllers) {\n\t\t\tctrl.preDraw(batch);\n\t\t}\n\t\t\n\t\tif(Game.mainCamera != null) {\n\t\t\tbatch.setProjectionMatrix(Game.mainCamera.combined);\n\t\t\tgizmo.setProjectionMatrix(Game.mainCamera.combined);\n\t\t}\n\t\t\n\t\t// draw actors' sprites\n\t\tfor(Layer layer : this.layers) {\n\t\t\tlayer.draw(batch);\n\t\t}\n\t\t\n\t\t// dispatch controllers handler\n\t\tfor(SceneController ctrl : controllers) {\n\t\t\tctrl.postDraw(batch);\n\t\t}\n\t\t\n\t\t// draw scene debug information\n\t\tif(Game.DEBUG_INFO) {\n\t\t\t// dispatch controllers handler\n\t\t\tfor(SceneController ctrl : controllers) {\n\t\t\t\tctrl.preDebug(gizmo);\n\t\t\t}\n\t\t\n\t\t\t// draw layer debugging information\n\t\t\tfor(Layer layer : this.layers) {\n\t\t\t\tlayer.debug(gizmo);\n\t\t\t}\n\t\t\n\t\t\t// dispatch controllers handler\n\t\t\tfor(SceneController ctrl : controllers) {\n\t\t\t\tctrl.postDebug(gizmo);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "0faf852cf2e9ccbbc9800acf4eda2de6", "score": "0.55368286", "text": "public void play(Graphics window) {\n unit.setPos(0,100);\n System.out.println(\"Play called\");\n }", "title": "" }, { "docid": "28bc03ae752d92829979e8659d438b77", "score": "0.55366695", "text": "public HelloUniverse() {\n // Initialize the GUI components\n initComponents();\n\n // Create Canvas3D and SimpleUniverse; add canvas to drawing panel\n Canvas3D c = createUniverse();\n drawingPanel.add(c, java.awt.BorderLayout.CENTER);\n\n // Create the content branch and add it to the universe\n scene = createSceneGraph();\n univ.addBranchGraph(scene);\n }", "title": "" }, { "docid": "3c9a692a8f4568beeaf85c07a3b93c42", "score": "0.5535846", "text": "public void update() {\n\n\t\t// Update the view\n\t\tupdateMousePanControls();\n\t\tupdateZoomControls();\n\t\t\n\t\t// Update the room\n\t\tsuper.update();\n\t\t\n\t\tif (Mouse.middle.pressed() && instance.editorMode) {\n\t\t\tMarker marker = new Marker(instance.currentPowerUp, 0);\n\t\t\tmarker.placing = true;\n\t\t\taddEntity(marker);\n\t\t}\n\n\t\tif (((Button)getGui(\"trilogy\")).selectedIndex != -1) {\n\t\t\tinstance.changeTrilogy(((Button)getGui(\"trilogy\")).selectedIndex + 1);\n\t\t}\n\t\tif (((Button)getGui(\"maps\")).selectedIndex != -1) {\n\t\t\ttrilogy.changeMap(((Button)getGui(\"maps\")).selectedIndex);\n\t\t}\n\t\tif (((Button)getGui(\"reset\")).pressed) {\n\t\t\tview.zoom = 1.0;\n\t\t\tview.pan.zero();\n\t\t}\n\t\tif (((Button)getGui(\"help\")).selectedIndex != -1) {\n\t\t\tif (((Button)getGui(\"help\")).selectedIndex == 0) {\n\t\t\t\taddGui(new PopupControls());\n\t\t\t}\n\t\t\telse if (((Button)getGui(\"help\")).selectedIndex == 1) {\n\t\t\t\taddGui(new PopupAbout());\n\t\t\t}\n\t\t}\n\t\tif (((Button)getGui(\"help\")).pressed) {\n\t\t\t\n\t\t\t/*long timer = System.currentTimeMillis();\n\t\t\tnew Profile(instance).saveProfile();\n\t\t\tSystem.out.println(\"Save took \" + (System.currentTimeMillis() - timer) + \" milliseconds.\");*/\n\t\t}\n\t\telse if (((Button)getGui(\"quit\")).pressed) {\n\t\t\tnew Profile(instance).saveProfile();\n\t\t\tinstance.menu = new Menu();\n\t\t\tinstance.menu.initialize(instance, trilogy);\n\t\t\tinstance.inMenu = true;\n\t\t\timage.unloadScaledImage();\n\t\t\tImageLoader.unloadImage(trilogy.rawName + \"/maps/\" + rawName, trilogy.rawName);\n\t\t}\n\t}", "title": "" }, { "docid": "e31dd9e52202960254980f13bd0cfce6", "score": "0.55346227", "text": "public void actionPerformed(ActionEvent e) {\n world.move();\n repaint();\n }", "title": "" }, { "docid": "a09077de95b6b98d9cbc9632b523d3d0", "score": "0.55324745", "text": "public void gameWindow ()\n\t{\t\t\n\t\ttry{\n\t\t\tDisplay.setDisplayMode(new DisplayMode(X_RESOLUTION,Y_RESOLUTION));\n\t\t\tDisplay.create();\n\t\t} catch(LWJGLException e) {\n\t\t\tSystem.out.println(\"Error\");\n\t\t}\n\n\t\t//initialize openGL\n\t\tglMatrixMode(GL_PROJECTION);\n\t\tglLoadIdentity();\n\t\tglOrtho(0, X_RESOLUTION, 0, Y_RESOLUTION, 1, -1);\t\n\t\tglMatrixMode(GL_MODELVIEW);\n\t\tglEnable(GL_BLEND);\n\t\tglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\n\t\t\n\t\t\n\t\t\n\t\twhile (!Display.isCloseRequested()){\n\t\t\tDisplay.update();\n\t\t\tDisplay.sync(60);\n\t\t\tb1.render();\n\t\t\tb1.changeRoom();\n\t\t\tglEnable(GL_TEXTURE_2D);\n\t\t\t//m1.drawMob();\n\t\t\t//m2.drawMob();\n\t\t\tp1.render();\n\t\t\tglDisable(GL_TEXTURE_2D);\n\t\t\t//renderTopBar();\n\t\t}\n\t\tDisplay.destroy();\n\t}", "title": "" }, { "docid": "a723ca111749bb954de2579020fe672c", "score": "0.5522509", "text": "@Override\n public void process() {\n PerformanceMonitor.startActivity(\"rendering/reflectedBackdropNode\");\n\n playerCamera.setReflected(true);\n playerCamera.lookThroughNormalized(); // we don't want the reflected scene to be bobbing or moving with the player\n\n glCallList(skySphere); // Draws the skysphere\n\n // TODO: initially avoid the next line by having a LookThroughNormalized state change\n // TODO: eventually, when cameras are components, this node would simply use a different camera.\n playerCamera.lookThrough();\n playerCamera.setReflected(false);\n\n PerformanceMonitor.endActivity();\n }", "title": "" }, { "docid": "0785983891328d6d712855e27c6952b3", "score": "0.55205685", "text": "@Override\n\tpublic void update() {\n\t\tupdateCamera();\n\t\t// System.out.println(cameraController.getXYAngle());\n\n\t\tboolean lookingAtPlay = cameraController.getXYAngle() > -30 && cameraController.getXYAngle() < 30;\n\t\tboolean lookingAtInstruction = cameraController.getXYAngle() > 30 && cameraController.getXYAngle() < 90;\n\t\tboolean lookingAtArtifact = cameraController.getXYAngle() > 90 && cameraController.getXYAngle() < 150;\n\t\tboolean lookingAtExit = cameraController.getXYAngle() > 150 || cameraController.getXYAngle() < -150;\n\t\tboolean lookingAtHighscores = cameraController.getXYAngle() > -150 && cameraController.getXYAngle() < -90;\n\t\tboolean lookingAtSettings = cameraController.getXYAngle() > -90 && cameraController.getXYAngle() < -30;\n\n\t\tif (lookingAtPlay) {\n\t\t\tobjects.add(playText_inst);\n\t\t\tif (Gdx.input.isButtonPressed(Input.Buttons.LEFT)) {\n\t\t\t\tmenuChoice = 0;\n\t\t\t}\n\t\t} else {\n\t\t\twhile (objects.contains(playText_inst, true))\n\t\t\t\tobjects.removeValue(playText_inst, true);\n\t\t}\n\n\t\tif (lookingAtInstruction) {\n\t\t\tobjects.add(instructionText_inst);\n\t\t\tif (Gdx.input.isButtonPressed(Input.Buttons.LEFT)) {\n\t\t\t\tmenuChoice = 1;\n\t\t\t}\n\t\t} else {\n\t\t\twhile (objects.contains(instructionText_inst, true))\n\t\t\t\tobjects.removeValue(instructionText_inst, true);\n\t\t}\n\n\t\tif (lookingAtArtifact) {\n\t\t\tobjects.add(artifactText_inst);\n\t\t\tif (Gdx.input.isButtonPressed(Input.Buttons.LEFT)) {\n\t\t\t\tmenuChoice = 2;\n\t\t\t}\n\t\t} else {\n\t\t\twhile (objects.contains(artifactText_inst, true))\n\t\t\t\tobjects.removeValue(artifactText_inst, true);\n\t\t}\n\n\t\tif (lookingAtExit) {\n\t\t\tobjects.add(exitText_inst);\n\t\t\tif (Gdx.input.isButtonPressed(Input.Buttons.LEFT)) {\n\t\t\t\tmenuChoice = 3;\n\t\t\t}\n\t\t} else {\n\t\t\twhile (objects.contains(exitText_inst, true))\n\t\t\t\tobjects.removeValue(exitText_inst, true);\n\t\t}\n\n\t\tif (lookingAtHighscores) {\n\t\t\tobjects.add(highscoresText_inst);\n\t\t\tif (Gdx.input.isButtonPressed(Input.Buttons.LEFT)) {\n\t\t\t\tmenuChoice = 4;\n\t\t\t}\n\t\t} else {\n\t\t\twhile (objects.contains(highscoresText_inst, true))\n\t\t\t\tobjects.removeValue(highscoresText_inst, true);\n\t\t}\n\n\t\tif (lookingAtSettings) {\n\t\t\tobjects.add(settingsText_inst);\n\t\t\tif (Gdx.input.isButtonPressed(Input.Buttons.LEFT)) {\n\t\t\t\tmenuChoice = 5;\n\t\t\t}\n\t\t} else {\n\t\t\twhile (objects.contains(settingsText_inst, true))\n\t\t\t\tobjects.removeValue(settingsText_inst, true);\n\t\t}\n\t}", "title": "" } ]
67c9490e1d4f4c5750c0e6260f8a974a
/ / / / / /
[ { "docid": "f986079aa076b0f6301e31fe976a111b", "score": "0.0", "text": "private int outputBytes(CharBuffer source, ByteBuffer target, IntBuffer offsets)\n/* */ {\n/* 1160 */ if (this.length <= this.targetCapacity) {\n/* 1161 */ switch (this.length)\n/* */ {\n/* */ case 4: \n/* 1164 */ target.put((byte)(this.c >> 24));\n/* 1165 */ if (offsets != null) {\n/* 1166 */ offsets.put(this.sourceIndex);\n/* */ }\n/* */ case 3: \n/* 1169 */ target.put((byte)(this.c >> 16));\n/* 1170 */ if (offsets != null) {\n/* 1171 */ offsets.put(this.sourceIndex);\n/* */ }\n/* */ case 2: \n/* 1174 */ target.put((byte)(this.c >> 8));\n/* 1175 */ if (offsets != null) {\n/* 1176 */ offsets.put(this.sourceIndex);\n/* */ }\n/* */ case 1: \n/* 1179 */ target.put((byte)this.c);\n/* 1180 */ if (offsets != null) {\n/* 1181 */ offsets.put(this.sourceIndex);\n/* */ }\n/* */ \n/* */ break;\n/* */ }\n/* */ \n/* 1187 */ this.targetCapacity -= this.length;\n/* */ \n/* */ \n/* 1190 */ this.c = 0;\n/* 1191 */ this.sourceIndex = this.nextSourceIndex;\n/* 1192 */ int label = 0;\n/* 1193 */ return label;\n/* */ }\n/* 1195 */ ByteBuffer p = ByteBuffer.wrap(this.errorBuffer);\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 1204 */ this.length -= this.targetCapacity;\n/* 1205 */ switch (this.length)\n/* */ {\n/* */ case 4: \n/* 1208 */ p.put((byte)(this.c >> 24));\n/* */ case 3: \n/* 1210 */ p.put((byte)(this.c >> 16));\n/* */ case 2: \n/* 1212 */ p.put((byte)(this.c >> 8));\n/* */ case 1: \n/* 1214 */ p.put((byte)this.c);\n/* */ }\n/* */ \n/* */ \n/* */ \n/* 1219 */ this.errorBufferLength = this.length;\n/* */ \n/* */ \n/* 1222 */ this.c >>= 8 * this.length;\n/* 1223 */ switch (this.targetCapacity)\n/* */ {\n/* */ case 3: \n/* 1226 */ target.put((byte)(this.c >> 16));\n/* 1227 */ if (offsets != null) {\n/* 1228 */ offsets.put(this.sourceIndex);\n/* */ }\n/* */ case 2: \n/* 1231 */ target.put((byte)(this.c >> 8));\n/* 1232 */ if (offsets != null) {\n/* 1233 */ offsets.put(this.sourceIndex);\n/* */ }\n/* */ case 1: \n/* 1236 */ target.put((byte)this.c);\n/* 1237 */ if (offsets != null) {\n/* 1238 */ offsets.put(this.sourceIndex);\n/* */ }\n/* */ \n/* */ break;\n/* */ }\n/* */ \n/* */ \n/* 1245 */ this.targetCapacity = 0;\n/* 1246 */ this.cr = CoderResult.OVERFLOW;\n/* 1247 */ this.c = 0;\n/* 1248 */ int label = 3;\n/* 1249 */ return label;\n/* */ }", "title": "" } ]
[ { "docid": "c0282d0076fbb1409e724f7e4a4141d0", "score": "0.54838556", "text": "void div(){\n\t\t\n\t}", "title": "" }, { "docid": "094eb33d67ee936f031b7db3d56e8e9a", "score": "0.5440346", "text": "static void divide() {\n\t\t\t\t\t\t\t\t\n\t}", "title": "" }, { "docid": "b858c6ff6e97cd194310df71bbeb64ca", "score": "0.5320457", "text": "private int s(int pos){return (pos+up)%Global.array_size;}", "title": "" }, { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.5313304", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1ac565a96eda6bd0e763638bbaa31d25", "score": "0.530837", "text": "@Override\n\tpublic void division() {\n\t\t\n\t}", "title": "" }, { "docid": "cbcae387d27dcd1694afb2c21cfe619b", "score": "0.52164966", "text": "@Override\n\tpublic void divide() {\n\t}", "title": "" }, { "docid": "6e1ed784589f826430678637c6d9fdd3", "score": "0.5203402", "text": "private int skeleton(int x, int y) {\n\t\t return x / y % 2;\n\t//\t return 13 / 1 % 2 = 1\n // return 13 / 2 % 2 = 0 \n // return 13 / 4 % 2 = 1\n // return 13 / 8 % 2 = 1 \n\t\t \n\t }", "title": "" }, { "docid": "e482d4998c13216ac8acb8b77fc3b020", "score": "0.51961994", "text": "private int w(int pos){return pos-1;}", "title": "" }, { "docid": "abefc9a0892370f53af0ce3f76daba16", "score": "0.51953363", "text": "public void enemy(){\r\n \t System.out.println(\" __ __\");\r\n System.out.println(\" \\\\/---\\\\/\");\r\n System.out.println(\" ). .(\");\r\n System.out.println(\" ( (\\\") )\");\r\n System.out.println(\" ) (\");\r\n System.out.println(\" / \\\\ \");\r\n System.out.println(\" ( )`9\");\r\n System.out.println(\" ( \\\\ /-\\\\ / )\");\r\n System.out.println(\" w'W W'w\");\r\n }", "title": "" }, { "docid": "321340505cf322d939cd34b7b0f88b6b", "score": "0.5190227", "text": "public String toString(){\n if(moves%2==0){\n return \"/\";\n }\n else{\n return \"\\\\\" ;\n }\n }", "title": "" }, { "docid": "16c114cf36f5e3a6a6d30cc66bfec698", "score": "0.518279", "text": "static int path(int i,int j, int m){\n\t\tif(i==m-1 && j==m-1) return 1;\n\t\tif(i>=m) return 0;\n\t\tif(j>=m) return 0;\n\t\treturn path(i+1,j,m)+path(i,j+1,m);\n\t}", "title": "" }, { "docid": "27e436f0a0c9200a542c73eabe9c3662", "score": "0.51732314", "text": "private void Met4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d29ba838884e47d64c9926d4e0e336b9", "score": "0.51614106", "text": "public abstract void fastPath();", "title": "" }, { "docid": "b21827c3fccb4480ff1249fe60220e92", "score": "0.51007897", "text": "private static native void rhbar1(Object ENDLVL, int ENDLVL_byte_offset, Object MRH, int MRH_byte_offset, Object NCLYR, int NCLYR_byte_offset, Object SFCP, int SFCP_byte_offset, Object P, int P_byte_offset, Object TL, int TL_byte_offset, Object TDL, int TDL_byte_offset);", "title": "" }, { "docid": "15cc1f75e657a50b797d4132ce604fc9", "score": "0.5095005", "text": "double volume1(){\r\n return width* height * depth;\r\n }", "title": "" }, { "docid": "54f5c00057558b2b39fd26af78205172", "score": "0.50654656", "text": "public String ring();", "title": "" }, { "docid": "77411e173292b4579972b82cd356a1b7", "score": "0.5035898", "text": "private void divisionTest()\r\n\t{\r\n\t}", "title": "" }, { "docid": "bbe8a1c891e1a2fe34a1ba7f2fed4a69", "score": "0.50266665", "text": "public static void bottom(){\r\n for( int j = 1; j <= SIZE; j++){\r\n for (int spaces = 1; spaces <= j * 2 - 2; spaces++){\r\n System.out.print(\" \");\r\n }\r\n System.out.print(\"\\\\_\");\r\n for( int dash = 1; dash <= (-2 * j + (3 * SIZE)) + 1; dash++){\r\n System.out.print(\"/\\\\\");\r\n }\r\n System.out.print(\"_/\");\r\n System.out.println();\r\n \r\n }\r\n }", "title": "" }, { "docid": "d445a7d1d519980de0acae96ce627ae2", "score": "0.5022441", "text": "Divide createDivide();", "title": "" }, { "docid": "8b4b4ca0159621b9a3ba8c753efff386", "score": "0.4973308", "text": "public abstract void digestTetris();", "title": "" }, { "docid": "0157f0e7b78ef03927bb272dd1deb003", "score": "0.49638408", "text": "public void mecanumDrive(double x, double y)\r\n {\n\r\n\r\n }", "title": "" }, { "docid": "2d1670ed1e4fbdcc848cfff9b95bb373", "score": "0.49529722", "text": "@Override\r\n\tprotected int getWidth()\r\n\t{\r\n\t\t// return 1;\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "adccbf86afceeece47bf6d4eb5d9e164", "score": "0.49418098", "text": "@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"--------画出左偏分发型--------\");\n\t}", "title": "" }, { "docid": "18f7390a72ae585f349f44f216f02944", "score": "0.49413136", "text": "private void LöpareSpecial() {\n\t\tMove.DeletMoves();\n\t\tfor (int i = -1; i < 2; i+=2) {\n\t\t\tfor (int j = -1; j < 2; j+=2) {\n\t\t\t\tdy = i;\n\t\t\t\tdx = j;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\thorizontal(this.getY()+dy, this.getX()+dx);\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "d662b85702371e77cb18d65205e4ab8f", "score": "0.49263495", "text": "public int getPathWeight();", "title": "" }, { "docid": "b7e97ea23108debacb4f61a51743ee05", "score": "0.49246293", "text": "public static void main(String[] args) {\n\n System.out.println(\"Insert romb side\");\n Scanner sc = new Scanner(System.in);\n int scale = sc.nextInt();\n int height = (scale * 2) - 1;\n int half = Math.round((height / 2));\n\n\n for (int i = 0; i < height; i++) {\n\n for (int k = 0; k < height; k++) {\n\n if (i <= half) {\n\n if (k == half - i || k == half + i) {\n System.out.print(\"*\");\n } else {\n System.out.print(\" \");\n }\n\n\n } else {\n if (k == half + i - height + 1 || k == half - i + height - 1)\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n\n }\n System.out.println(\" \");\n }\n\n\n }", "title": "" }, { "docid": "e9832cf68ebc59bc3042c6a137e0cfba", "score": "0.49242735", "text": "private int e(int pos){return (pos+1)%Global.array_size;}", "title": "" }, { "docid": "472f31e0e2816dcaf1f6f922d69dd9b2", "score": "0.49225557", "text": "private static void breadcrumbArrow(MatrixStack ms, int width, int height, int indent, int c1, int c2) {\n\n\t\tfloat x0 = 0, y0 = height / 2f;\n\t\tfloat x1 = indent, y1 = 0;\n\t\tfloat x2 = indent, y2 = height / 2f;\n\t\tfloat x3 = indent, y3 = height;\n\t\tfloat x4 = width, y4 = 0;\n\t\tfloat x5 = width, y5 = height / 2f;\n\t\tfloat x6 = width, y6 = height;\n\t\tfloat x7 = indent + width, y7 = 0;\n\t\tfloat x8 = indent + width, y8 = height;\n\n\t\tindent = Math.abs(indent);\n\t\twidth = Math.abs(width);\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent) / (width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width) / (width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableCull();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tMatrix4f model = ms.peek().getModel();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(model, x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(model, x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(model, x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(model, x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(model, x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(model, x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(model, x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableCull();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}", "title": "" }, { "docid": "57598fb72aff04e12e5874ab2912883e", "score": "0.49099588", "text": "public int getWidth(){return width;}", "title": "" }, { "docid": "10b2c8e8a251a069ba58831b75ed3154", "score": "0.48921794", "text": "public void right() {\r\n \r\n }", "title": "" }, { "docid": "c04e1693c791e5601b6d72a13641e7b1", "score": "0.489094", "text": "@Override\n\tpublic void angriff() {\n\n\t}", "title": "" }, { "docid": "40c0732efd5aca2d3eedf991fe78df5a", "score": "0.487861", "text": "void updatePosition(){\nVector c = parent.center();\ncurr.setTo(c.x, c.y);\n\nwidth((scaleToLength) ? parent.currLength() * rectScale : parent.restLength() * rectScale);\nheight(rectHeight);\nradian(parent.radian());\n}", "title": "" }, { "docid": "293200465ec7a2af9abd8778faaa8200", "score": "0.48614576", "text": "public void agranda()\n\t{\n\t\tbase += 1;\n\t\taltura += 1;\n\t}", "title": "" }, { "docid": "672e640a584f5d1f68c11f7254949d36", "score": "0.48595196", "text": "private int parent(int pos) \n\t{ \n\t\treturn pos / 2; \n\t}", "title": "" }, { "docid": "04e7e4bdf0f8b50b253dbc15ee108770", "score": "0.48586878", "text": "@Override\n\tpublic void divide(int x, int y) {\n\t}", "title": "" }, { "docid": "5c8688634bea0c34b337d0c106e363f7", "score": "0.48576918", "text": "private String sternDrawer() {\n int logDim = resizeX(2);\r\n String res = \"\";\r\n res += rd.RectangleDrawer(startCoords, startCoords - logDim, logDim, svgX - logDim);\r\n res += rd.RectangleDrawer(startCoords, svgY, logDim, svgX - logDim);\r\n res += rd.RectangleDrawer(startCoords - logDim, startCoords - logDim, svgY, logDim);\r\n res += rd.RectangleDrawer(svgX + logDim, startCoords - logDim, svgY, logDim);\r\n return res;\r\n }", "title": "" }, { "docid": "9baae20427f8df1b3821e4991dddfb86", "score": "0.48568186", "text": "@Override\n\tpublic void divide1() {\n\t}", "title": "" }, { "docid": "7c68136656c2f6c473f64a856309fab7", "score": "0.48534217", "text": "public static String _setleftandright(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ConcreteViewWrapper _v,int _xleft,int _xright) throws Exception{\n_v.setLeft((int) (anywheresoftware.b4a.keywords.Common.Min(_xleft,_xright)));\n //BA.debugLineNum = 570;BA.debugLine=\"v.Width = Max(xLeft, xRight) - v.Left\";\n_v.setWidth((int) (anywheresoftware.b4a.keywords.Common.Max(_xleft,_xright)-_v.getLeft()));\n //BA.debugLineNum = 571;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "a4c4f9d0afd53a68f576516b3af46b06", "score": "0.48519054", "text": "private static native void rhbar0(Object ENDLVL, int ENDLVL_byte_offset, Object MRH, int MRH_byte_offset, Object NCLYR, int NCLYR_byte_offset, Object SFCP, int SFCP_byte_offset, Object P, int P_byte_offset, Object TL, int TL_byte_offset, Object TDL, int TDL_byte_offset);", "title": "" }, { "docid": "235ed7a956b36786f98b6d7f7599f9ca", "score": "0.48517215", "text": "public int getHspace();", "title": "" }, { "docid": "0f9b8b41c6d4641ae20d7ccaf1749879", "score": "0.48374698", "text": "public abstract String drawL();", "title": "" }, { "docid": "c2baa8b8eda82304af77d16cd9e78614", "score": "0.4833724", "text": "private void Met5() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4874f5daedda586bde38cdace6d2805e", "score": "0.48308176", "text": "public static String _setright(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ConcreteViewWrapper _v,int _xright) throws Exception{\n_v.setLeft((int) (_xright-_v.getWidth()));\n //BA.debugLineNum = 557;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "9afcfebdcf6cb4c38c5f299c47116e10", "score": "0.48254675", "text": "@Override\n protected void generatePixelLocations() {\n }", "title": "" }, { "docid": "6e1f6a2738d888375fc5cb8723959b43", "score": "0.48240018", "text": "public int width() {\n return this.w;\n}", "title": "" }, { "docid": "3c703ec439caf8352b79facc932088e5", "score": "0.4822052", "text": "public int GetIndex( int x, int y )\n {\n return y * width + x;\n }", "title": "" }, { "docid": "ac905277ad93decc7610c81decfae965", "score": "0.48191726", "text": "public void smartPositions() {\n\t\t\n\t}", "title": "" }, { "docid": "2e508984395eb1df4774a89dd27e2b63", "score": "0.48133275", "text": "@Override\r\n public int getWidth()\r\n {\n return width-10;\r\n }", "title": "" }, { "docid": "b0b4aa0f1baeaacfab40e95c737bb14c", "score": "0.4810405", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t}", "title": "" }, { "docid": "f1addab9be00d014aebd4cf5adfb4d87", "score": "0.48072678", "text": "public static void point() {\r\n\t\tfor (int i = 1; i <= FIGURE_SIZE; i++) {\r\n\t\t\tfor (int j = 1; j <= FIGURE_SIZE * 3; j++) {\r\n\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"||\");\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "9602771faacd872a1e7246e760a42604", "score": "0.48011863", "text": "public double area(){ return side * side; }", "title": "" }, { "docid": "31b3dac1ddddb311ae87cc61f0450a2b", "score": "0.480034", "text": "public static void printimage() {\r\n\t\tSystem.out.println(\"\");\r\n\t\tSystem.out.println(\" .,,,.\");\r\n\t\tSystem.out.println(\" .,*(((((////////////(((((/,. \");\r\n\t\tSystem.out.println(\" ,,*/(((//*****/////////////////////////////(((((/,.. \");\r\n\t\tSystem.out.println(\" (&%%#/*****//////////////////////////////////////////////////(((((/,. \");\r\n\t\tSystem.out.println(\" .#(///#%%%%#(//////////////////////////////////////////////////////(#%# \");\r\n\t\tSystem.out.println(\" ((/**((///((#%%%%#(///////////////////////////////////////(##%%%#((*\");\r\n\t\tSystem.out.println(\" .#/**///(////(///((#%%%%#(/////////////////////////(##%%%#(/*,,,,,,(\");\r\n\t\tSystem.out.println(\" .#(**//(/////////////(////#%%%%#(/////////((#%%####(**,,,,,,......,/\");\r\n\t\tSystem.out.println(\" ((/*/(////////////////*,*,,,*/#%%%#((#%#####(/*,,,,,,,...........,/\");\r\n\t\tSystem.out.println(\" .#(**//(//(//////////***,,,,,,*/*####/*,,,,,,,,.................../ \");\r\n\t\tSystem.out.println(\" /#(*//((//////////*,*,,,,,,***%%/,,,,...........................,/,\");\r\n\t\tSystem.out.println(\" ./%#(((((///(/,*,,,,,,*/*#%/.............................*/#%%#(, \");\r\n\t\tSystem.out.println(\" ,#%%%&&%#(/((*,*,,,,,,/*(#%,.......................,/##%%#/,.\");\r\n\t\tSystem.out.println(\" (%##%%%%%%%%%%&&(//,,,,,*/,#%(................,*(#%%&&&&((. \");\r\n\t\tSystem.out.println(\" /&@@@@@@@@@@@&&&%%%%%%&&%/**/*#%%,.......,*((#%%&&&%%%%%,/(\");\r\n\t\tSystem.out.println(\" (&&&@@@@@@@@@@@@@@@@@@@@@@@@@@&%&%(##%%&&&&%%%%%%%%%%%#*,,/( \");\r\n\t\tSystem.out.println(\" %@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&%%%%%%%%%%%%%/,,,,.*((/\");\r\n\t\tSystem.out.println(\" %@@@@@@@@@@@@@@@@@@@&@@@&&&&&&@@@@@@@@@@@@@@@@@@@&&%#(,,,....,%* \");\r\n\t\tSystem.out.println(\" (@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&@&&&&&&&&@@@@@@@&/,,,....,%&&%%#&(\");\r\n\t\tSystem.out.println(\" (@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&,,,,....*&&%%#&%#,\");\r\n\t\tSystem.out.println(\" ,%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%##%@@@@&*,,.....*&&%%&**##,\");\r\n\t\tSystem.out.println(\" .,,(&@@@@@@@@@@@@@@@@@@@@@@@@@@@(****#&@@#,......#&%&&%/****##, \");\r\n\t\tSystem.out.println(\" .%(%&@@@@@@@@@@@@@@@@@@@@(****#@@@#.....,%&&%/****,,/&,\");\r\n\t\tSystem.out.println(\" ,*,,,,,,*(%&&&&&&&&&@@@@@&%%&@@@@&,..,(&&(****,,,/&%, \");\r\n\t\tSystem.out.println(\" ,*.....,,,,,,**(#&&&&%%%%&&@@@@@@@%#%&&(****,,,*%&,\");\r\n\t\tSystem.out.println(\" /.............,,,,,,,**/#%&&&%%%%%&&(****,,,*%&%#/,. \");\r\n\t\tSystem.out.println(\" ,#,.....................,,,,,,,,*/(%/****,,,/&%/*,,,,,,,**/(/\");\r\n\t\tSystem.out.println(\" ,(&&%#/*,.....................,,,,/(*,,,,(*,,,,,,,..,.,/#(.\");\r\n\t\tSystem.out.println(\" .*(/*,*/(#%&%(*,....................//,,,/&%*,,,,,,,...,*(### \");\r\n\t\tSystem.out.println(\" .(//((/,...,,,,**(%%&%#/,.............#,/&%#,,,,,,....,/(#/*,(.\");\r\n\t\tSystem.out.println(\" .(,,,,,,,*/((/*,...,,,,,*/#%%%%(*,....(#*,,,,,...,,/((/*,,,.(\");\r\n\t\tSystem.out.println(\" ,*.....,,,,,,,,,*/((/*,...,,,,,*/(%%%&&(,,,,,...,*(((/*,,.....#%, \");\r\n\t\tSystem.out.println(\" ,/,..........,,,,,,,,*/((*,.....,,,,,,,,,,....,/(((**,,....*/%/ \");\r\n\t\tSystem.out.println(\" //,,,,............,,,,,,,*//##/*,....,...,*/(#/*,,....../%(, \");\r\n\t\tSystem.out.println(\" /((/*,,,,,,..........,*/*//////((#(**/###%%#%*.....,#%, \");\r\n\t\tSystem.out.println(\" .,((/*,,,,,,....,*****////*//*,/#//%%(//#..,/%( \");\r\n\t\tSystem.out.println(\" ./(/*,,,,,,*(*//********,*#(,,/#///#,(%(.\");\r\n\t\tSystem.out.println(\" .,/(/**(/((((((***,.(#*../#(##&%, \");\r\n\t\tSystem.out.println(\" ,(###(((*(*,,(#,.,%%#%%, \");\r\n\t\tSystem.out.println(\" ,/(#/,,(%,*%&%####, \");\r\n\t\tSystem.out.println(\" ,,(#&%( /%#%#((. \");\r\n\t\tSystem.out.println(\" ., \");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3352d7396cc3321f1f0753d5b5c7efd6", "score": "0.47965387", "text": "public void pathReturn() {\n Point p1=new Point(50,585);\n points.add(p1);\n Point p2=new Point(235,585);\n points.add(p2);\n\n if (mMinOfRight==7) {\n Point p3=new Point(235,485);\n points.add(p3);\n Point p4=new Point(255,485);\n points.add(p4);\n Point p5=new Point(255,565);\n points.add(p5);\n Point p6=new Point(115,565);\n points.add(p6);\n }\n\n else if (mMinOfRight==6) {\n Point p3=new Point(235,425);\n points.add(p3);\n Point p4=new Point(255,425);\n points.add(p4);\n Point p5=new Point(255,565);\n points.add(p5);\n Point p6=new Point(115,565);\n points.add(p6);\n }\n\n else if (mMinOfRight==5) {\n Point p3=new Point(235,385);\n points.add(p3);\n Point p4=new Point(255,385);\n points.add(p4);\n Point p5=new Point(255,565);\n points.add(p5);\n Point p6=new Point(115,565);\n points.add(p6);\n }\n\n else if (mMinOfRight==4) {\n Point p3=new Point(235,305);\n points.add(p3);\n Point p4=new Point(255,305);\n points.add(p4);\n Point p5=new Point(255,565);\n points.add(p5);\n Point p6=new Point(115,565);\n points.add(p6);\n }\n\n if (mMinOfLeft==14) {\n Point p7=new Point(115,485);\n points.add(p7);\n Point p8=new Point(50,485);\n points.add(p8);\n }\n\n else if (mMinOfLeft==13) {\n Point p7=new Point(115,425);\n points.add(p7);\n Point p8=new Point(90,425);\n points.add(p8);\n Point p9=new Point(90,485);\n points.add(p9);\n Point p10=new Point(50,485);\n points.add(p10);\n }\n\n else if (mMinOfLeft==12) {\n Point p7=new Point(115,385);\n points.add(p7);\n Point p8=new Point(90,385);\n points.add(p8);\n Point p9=new Point(90,485);\n points.add(p9);\n Point p10=new Point(50,485);\n points.add(p10);\n }\n else if (mMinOfLeft==11) {\n Point p7=new Point(115,305);\n points.add(p7);\n Point p8=new Point(90,305);\n points.add(p8);\n Point p9=new Point(90,485);\n points.add(p9);\n Point p10=new Point(50,485);\n points.add(p10);\n }\n pointListOnRoute(points);\n }", "title": "" }, { "docid": "d9267cd8404df343f9dbd85184efc05c", "score": "0.47948268", "text": "public void North() {\n\t}", "title": "" }, { "docid": "1ff21892ab037ea4186760b56f6fc27e", "score": "0.4792348", "text": "void draw() {\r\n \r\n }", "title": "" }, { "docid": "cb07b6be6ed6ecda4ae468827c599cd3", "score": "0.47847396", "text": "public abstract String drawR();", "title": "" }, { "docid": "28bc1c5adf03d07bd739bcdc4817698b", "score": "0.4783693", "text": "private void displayPath(int currentVertex, \n int[] parents, int vertexIndex) \n{ \nArrayList<Integer> dummy_path= new ArrayList<Integer>();\nwhile (currentVertex != NO_PARENT) \n{ \n \n dummy_path.add( currentVertex);\n currentVertex = parents[currentVertex];\n} \n\nfor(int i=dummy_path.size()-1; i >= 0 ; i --) {\n\tpaths.get(vertexIndex).add(dummy_path.get(i));\n}\n\n}", "title": "" }, { "docid": "124017a8b54ca93b55e6765879457ec0", "score": "0.47810698", "text": "public static void trunk() {\r\n\t\tfor (int i = 0; i < FIGURE_SIZE * 2; i++) {\r\n\t\t\tfor (int j = 0; j < FIGURE_SIZE * 2 + 1; j++) {\r\n\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.print(\"|\");\r\n\t\t\tfor (int j = 0; j < FIGURE_SIZE - 2; j++) {\r\n\t\t\t\tSystem.out.print(\"%\");\r\n\r\n\t\t\t}\r\n\t\t\tSystem.out.print(\"||\");\r\n\t\t\tfor (int j = 0; j < FIGURE_SIZE - 2; j++) {\r\n\t\t\t\tSystem.out.print(\"%\");\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"|\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "02e92e91052aae1bfac0977d2cb625ca", "score": "0.478012", "text": "public String toString (){\n return \"(\" + getPoLeft().getX() + \",\" + getPoLeft().getY() + \")\" + \"---\" + \"/n\"\n + \"(\" + getPoRight().getX() + \",\" + getPoRight().getY() + \")\";\n }", "title": "" }, { "docid": "3057d29b3d07eb14d44568b40bb577a1", "score": "0.47790107", "text": "public int getWidth()\n{\n return width;\n}", "title": "" }, { "docid": "58cb30bf2533ed5baebab7e9f863f2a2", "score": "0.47687092", "text": "public static void main(String[] args) {\n int j, i, s, space = 1;\n \n space = SIZE - 1; //prints top half\n for(j = 1; j <= SIZE; j++){\n for(i = 1; i <= space; i++){\n System.out.print(\" \");\n }\n space--;\n for(i = 1; i <= 2 * j - 1; i++){\n System.out.print(\"*\");\n }\n System.out.println(\"\");\n }\n \n //rectangle in the middle\n int length = SIZE;\n length = length + length;\n rectangle(length);\n System.out.print(length);\n }", "title": "" }, { "docid": "824bb3d92cb4ae33bd3f3391769f0319", "score": "0.4764952", "text": "public static void stairs() {\r\n\r\n\t\tfor (int i = 0; i < FIGURE_SIZE; i++) {\r\n\t\t\tfor (int j = 0; j < FIGURE_SIZE * 3 - i * 3 - 3; j++) {\r\n\t\t\t\tSystem.out.print(\" \");\r\n\r\n\t\t\t}\r\n\t\t\tSystem.out.print(\"__/\");\r\n\r\n\t\t\tfor (int j = 0; j < i; j++) {\r\n\t\t\t\tSystem.out.print(\":::\");\r\n\r\n\t\t\t}\r\n\t\t\tSystem.out.print(\"||\");\r\n\t\t\tfor (int j = 0; j < i; j++) {\r\n\t\t\t\tSystem.out.print(\":::\");\r\n\t\t\t}\r\n\t\t\tSystem.out.print(\"\\\\__\");\r\n\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "afe2e190d2d0d589868229fea6422a0c", "score": "0.47625914", "text": "public static String _horizontalcenter(anywheresoftware.b4a.BA _ba,anywheresoftware.b4a.objects.ConcreteViewWrapper _v) throws Exception{\n_v.setLeft((int) ((anywheresoftware.b4a.keywords.Common.PerXToCurrent((float) (100),_ba)-_v.getWidth())/(double)2));\n //BA.debugLineNum = 499;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "319563958b37c78ab74f2422bc26f820", "score": "0.47617385", "text": "public void sideways(){\n }", "title": "" }, { "docid": "b1722ff7e4f36de95d67c6019f51395e", "score": "0.47603405", "text": "private void pack() {\n\t\t\n\t}", "title": "" }, { "docid": "805a5433d84beb01b9dd6c1e35b767a4", "score": "0.47556582", "text": "public static void main (String[] args){\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n for(int i=(n/2)+1;i>=1;i--)\n {\n for(int j=(n/2)+1;j>i;j--)\n System.out.print(\" \");\n for(int j=2*i-1;j>=1;j--)\n {\n if(j==2*i-1 || j==1)\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n \n System.out.println(\" \"); \n }\n for(int i=2;i<=(n/2)+1;i++) \n {\n for(int j=(n/2)+1;j>i;j--)\n System.out.print(\" \");\n for(int j=1;j<=2*i-1;j++)\n {\n if(j==2*i-1 || j==1)\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println(\" \"); \n\n }\n\t}", "title": "" }, { "docid": "17bec3e200477f3c19c2f6dbc163afd3", "score": "0.4736056", "text": "private int rightChild(int pos) \n\t{ \n\t\treturn (2 * pos) + 1; \n\t}", "title": "" }, { "docid": "9532af56052276e74f34407b6778aa04", "score": "0.47344035", "text": "private static native void frontogen1(Object zmid, int zmid_byte_offset, Object ztop, int ztop_byte_offset, Object zbot, int zbot_byte_offset, Object ptop, int ptop_byte_offset, Object pbot, int pbot_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset, Object dx, int dx_byte_offset, Object dy, int dy_byte_offset, Object f, int f_byte_offset, Object w1, int w1_byte_offset, Object w2, int w2_byte_offset, Object w3, int w3_byte_offset, Object dtdx, int dtdx_byte_offset, Object dtdy, int dtdy_byte_offset, Object qx, int qx_byte_offset, Object qy, int qy_byte_offset, Object fgen, int fgen_byte_offset);", "title": "" }, { "docid": "ab8fcf94583ce6713d9ab51659d98383", "score": "0.47332084", "text": "public static void main(String[] args) {\n\r\n\r\n\t\tScanner scan=new Scanner(System.in);\r\n\t\tint size=scan.nextInt();\r\n\r\n\t\tfor (int x=0;x<size;x++) {\r\n\t\t\tfor(int y=0;y<size;y++) {\r\n\t\t\t\tif (x==0||x==(size-1)||y==0||y==(size-1)) {\r\n\t\t\t\t\tSystem.out.print(\"* \");\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\" \");\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "0c1376c40b382577a422017ec77ffd23", "score": "0.47328034", "text": "@Override\r\n public void render(Graphics graph) {\n\r\n }", "title": "" }, { "docid": "06c027fd1c6fa499371c7046f4aecd0c", "score": "0.47295356", "text": "MULTIANEWARRAY () {\n\n }", "title": "" }, { "docid": "3028cfce4031255fb35c598a8fabc02b", "score": "0.47293016", "text": "private BorderTraversingAlgorithm() {\n\t}", "title": "" }, { "docid": "83c96d0c535a56b5a7b78d291bf494a2", "score": "0.47270474", "text": "private static String calculate_path(String path) {\r\n\t\tString result = \"\";\r\n\t\tString ins = \"\";\r\n\t\tfloat preX = 0, preY = 0;\r\n\t\tboolean endTag = false;\r\n\r\n\t\twhile (!endTag) {\r\n\t\t\tint index = 2;\r\n\t\t\tif (index > path.length())\r\n\t\t\t\tindex = path.length();\r\n\t\t\twhile (index < path.length()\r\n\t\t\t\t\t&& !(path.charAt(index) == 'm' || path.charAt(index) == 'l' || path.charAt(index) == 'c'\r\n\t\t\t\t|| path.charAt(index) == 'h' || path.charAt(index) == 'z')) {\r\n\t\t\t\tindex++;\r\n\t\t\t}\r\n\t\t\tif (index == path.length()) {\r\n\t\t\t\tendTag = true;\r\n\t\t\t}\r\n\r\n\t\t\tins = endTag?path:path.substring(0, index);\r\n\r\n\t\t\tif (ins.startsWith(\"h\") || ins.startsWith(\"z\"))\r\n\t\t\t\tresult += ins;\r\n\t\t\telse {\r\n\t\t\t\tif (ins.startsWith(\"m\") || ins.startsWith(\"l\")) { //\"m x y\" \"l x y\"\r\n\t\t\t\t\tins = ins.trim();\r\n\t\t\t\t\tint index1 = ins.indexOf(\" \");\r\n\t\t\t\t\tint index2 = ins.indexOf(\" \", index1 + 1);\r\n\t\t\t\t\tfloat x = Float.valueOf(ins.substring(index1 + 1, index2));\r\n\t\t\t\t\tfloat y = Float.valueOf(ins.substring(index2 + 1));\r\n\t\t\t\t\tif (ins.startsWith(\"m\"))\r\n\t\t\t\t\t\tresult += \"m\" + (x - preX) + \" \" + (y - preY);\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tresult += \"l\" + (x - preX) + \" \" + (y - preY);\r\n\t\t\t\t\tpreX = x;\r\n\t\t\t\t\tpreY = y;\r\n\t\t\t\t}\r\n\t\t\t\telse { //\"c x1 y1 x2 y2 x3 y3\"\r\n\t\t\t\t\tins = ins.trim();\r\n\t\t\t\t\tint index1 = ins.indexOf(\" \");\r\n\t\t\t\t\tint index2 = ins.indexOf(\" \", index1 + 1);\r\n\t\t\t\t\tint index3 = ins.indexOf(\" \", index2 + 1);\r\n\t\t\t\t\tint index4 = ins.indexOf(\" \", index3 + 1);\r\n\t\t\t\t\tint index5 = ins.indexOf(\" \", index4 + 1);\r\n\t\t\t\t\tint index6 = ins.indexOf(\" \", index5 + 1);\r\n\t\t\t\t\tfloat x1 = Float.valueOf(ins.substring(index1 + 1, index2));\r\n\t\t\t\t\tfloat y1 = Float.valueOf(ins.substring(index2 + 1, index3));\r\n\t\t\t\t\tfloat x2 = Float.valueOf(ins.substring(index3 + 1, index4));\r\n\t\t\t\t\tfloat y2 = Float.valueOf(ins.substring(index4 + 1, index5));\r\n\t\t\t\t\tfloat x3 = Float.valueOf(ins.substring(index5 + 1, index6));\r\n\t\t\t\t\tfloat y3 = Float.valueOf(ins.substring(index6 + 1));\r\n\t\t\t\t\tresult += \"c\" + (x1 - preX) + \" \" + (y1 - preY) + \" \"\r\n\t\t\t\t\t+ (x2 - preX) + \" \" + (y2 - preY) + \" \"\r\n\t\t\t\t\t+ (x3 - preX) + \" \" + (y3 - preY);\r\n\t\t\t\t\tpreX = x3;\r\n\t\t\t\t\tpreY = y3;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (!endTag)\r\n\t\t\t\tpath = path.substring(index);\r\n\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "f28980e6123701a5bb9cc922264b6e8d", "score": "0.47257066", "text": "static int total_path(int m,int n,int x,int y)\n\t {\n\t if(m-1==x && y==n-1)\n\t return 1;\n\t else if(x+1<m && y+1<n)\n\t return total_path(m,n,x+1,y)+total_path(m,n,x,y+1);\n\t else if(x+1<m)\n\t return total_path(m,n,x+1,y);\n\t else if(y+1<n)\n\t return total_path(m,n,x,y+1);\n\t else\n\t return 0;\n\t \n\t }", "title": "" }, { "docid": "0e1f3cbe0d21f0e17fa258c6195624ea", "score": "0.47235823", "text": "public void rate_paths (){\n\n }", "title": "" }, { "docid": "e2681edf709c99f1362ccca2ed6bfac2", "score": "0.4718961", "text": "public static void main(String[] args) \r\n\t{\n\t\tint n = 9 , mid = (n/2)+1 , st = 1 , space = mid-1;\r\n for(int i = 1;i<=n;i++)\r\n {\r\n \tfor(int j = 1;j<=space; j++)\r\n \t{\r\n \t\tSystem.out.print(\" \");\r\n \t}\r\n \t\tfor (int k = 1; k<=st;k++)\r\n \t\t{\r\n \t\t\tSystem.out.print(\" * \");\r\n \t\t}\r\n \t\t\tSystem.out.println( );\r\n \t\t\tif(i<mid) \r\n \t\t\t{\r\n \t\t\t\tspace--;\r\n \t\t\t\tst += 2;\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t{\r\n \t\t\t\tspace++;\r\n \t\t\t\tst -= 2;\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t}", "title": "" }, { "docid": "375904a43d0b2b964b201bb33544ee2e", "score": "0.47158232", "text": "public double perimeter(){ return 4*side; }", "title": "" }, { "docid": "e602c5c4563c5961e2ec43d4adf25001", "score": "0.47129056", "text": "public void pos() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b1ad4d1341ec44ec8a1830f030776c72", "score": "0.4710788", "text": "protected abstract int getFrontSide();", "title": "" }, { "docid": "c725e4565497b589713e6fe32897aafb", "score": "0.47092795", "text": "@Override\n public void draw() {\n\n }", "title": "" }, { "docid": "3f131c81258ff5a8ebb74bce99ce6811", "score": "0.47076666", "text": "private void traceback() {\r\n\t int xPos = n;\r\n\t int yPos = m;\r\n\t StringBuilder xStr = new StringBuilder();\r\n\t StringBuilder yStr = new StringBuilder();\r\n\t Result curResult = cache[n][m];\r\n\t while(curResult.getParent() != Direction.NONE) {\r\n\t\t curResult.markPath();\r\n\t\t if(curResult.getParent() == Direction.DIAGONAL) {\r\n\t\t\t xStr.append(x.charAt(xPos-1));\r\n\t\t\t yStr.append(y.charAt(yPos-1));\r\n\t\t\t xPos--;\r\n\t\t\t yPos--;\r\n\t\t }\r\n\t\t else if(curResult.getParent() == Direction.LEFT) {\r\n\t\t\t xStr.append(Constants.GAP_CHAR);\r\n\t\t\t yStr.append(y.charAt(yPos-1));\r\n\t\t\t yPos--;\r\n\t\t }\r\n\t\t else if(curResult.getParent() == Direction.UP) {\r\n\t\t\t xStr.append(x.charAt(xPos-1));\r\n\t\t\t yStr.append(Constants.GAP_CHAR);\r\n\t\t\t xPos--;\r\n\t\t }\r\n\t\t \r\n\t\t curResult = cache[xPos][yPos];\r\n\t }\r\n\t cache[0][0].markPath();\r\n\t alignedX = xStr.reverse().toString();\r\n\t alignedY = yStr.reverse().toString();\r\n }", "title": "" }, { "docid": "8d2b3a58c0db5361f3076fdf65f1c469", "score": "0.47066373", "text": "private float leftInnerBoundary()\r\n\t{\r\n\t\treturn this.x+(this.width*0.25f);\r\n\t}", "title": "" }, { "docid": "e183f45417e0f86311f7b172c8913d15", "score": "0.47013587", "text": "public void getPathTraversal() {\n\n GridNode curr = new GridNode();\n while (!shortestPath.isEmpty()) {\n\n curr = shortestPath.pop();\n if(curr!=null){\n System.out.print(\"(\"+curr.rw +curr.cl+\")\"+ \",\");}\n }\n\n }", "title": "" }, { "docid": "7a1b715e09408fe2f5e794c986add952", "score": "0.46975103", "text": "public void draw() {\r\n int rWidth;\r\n\r\n for (int i=0; i < this.getHeight(); i++) {\r\n rWidth = i*2 + 1; \r\n for (int j=0; j < rWidth; j++) {\r\n System.out.print(this.getPattern());\r\n }\r\n System.out.print(\"\\n\");\r\n }\r\n }", "title": "" }, { "docid": "f45327d80faeb2d0b774493299a1d3ee", "score": "0.46958667", "text": "private float rightInnerBoundary()\r\n\t{\r\n\t\treturn this.x+(this.width*0.75f);\r\n\t}", "title": "" }, { "docid": "85aa113e540a91410ec16680b89607eb", "score": "0.46874407", "text": "void right();", "title": "" }, { "docid": "c4906f8ce45c5ec3d19fbdea7040ebf5", "score": "0.46822724", "text": "@Override\n\tpublic void draw() {\n\n\t}", "title": "" }, { "docid": "e2fdb0ceb404ad380edfd1e2dba81acf", "score": "0.46802905", "text": "private void drawsegment_gouraud_texture8\n (\n float leftadd,\n float rghtadd,\n int ytop,\n int ybottom\n ) {\n ytop*=SCREEN_WIDTH;\n ybottom*=SCREEN_WIDTH;\n int p = m_index;\n \n float iuf = iuadd;\n float ivf = ivadd;\n float irf = iradd;\n float igf = igadd;\n float ibf = ibadd;\n \n while (ytop < ybottom) {\n int xstart = (int) (xleft + PIXEL_CENTER);\n if (xstart < 0)\n xstart = 0;\n int xend = (int) (xrght + PIXEL_CENTER);\n if (xend > SCREEN_WIDTH)\n xend = SCREEN_WIDTH;\n float xdiff = (xstart + PIXEL_CENTER) - xleft;\n \n int iu = (int) (iuf * xdiff + uleft);\n int iv = (int) (ivf * xdiff + vleft);\n int ir = (int) (irf * xdiff + rleft);\n int ig = (int) (igf * xdiff + gleft);\n int ib = (int) (ibf * xdiff + bleft);\n float iz = izadd * xdiff + zleft;\n \n xstart+=ytop;\n xend+=ytop;\n \n for ( ; xstart < xend; xstart++ ) {\n try\n {\n if (noDepthTest || (iz <= m_zbuffer[xstart])) {\n //m_zbuffer[xstart] = iz;\n \n int al0;\n if (m_bilinear) {\n int ofs = (iv >> 16) * TEX_WIDTH + (iu >> 16);\n int iui = iu & 0xFFFF;\n al0 = m_texture[ofs] & 0xFF;\n int al1 = m_texture[ofs + 1] & 0xFF;\n ofs+=TEX_WIDTH;\n int al2 = m_texture[ofs] & 0xFF;\n int al3 = m_texture[ofs + 1] & 0xFF;\n al0 = al0 + (((al1-al0) * iui) >> 16);\n al2 = al2 + (((al3-al2) * iui) >> 16);\n al0 = al0 + (((al2-al0) * (iv & 0xFFFF)) >> 16);\n } else {\n al0 = m_texture[(iv >> 16) * TEX_WIDTH + (iu >> 16)] & 0xFF;\n }\n \n // get RGB colors\n int red = ir & 0xFF0000;\n int grn = (ig >> 8) & 0xFF00;\n int blu = (ib >> 16);\n \n // get buffer pixels\n int bb = m_pixels[xstart];\n int br = (bb & 0xFF0000); // 0x00FF0000\n int bg = (bb & 0xFF00); // 0x0000FF00\n bb = (bb & 0xFF); // 0x000000FF\n m_pixels[xstart] = ((br + (((red - br) * al0) >> 8)) & 0xFF0000) |((bg + (((grn - bg) * al0) >> 8)) & 0xFF00) | ((bb + (((blu - bb) * al0) >> 8)) & 0xFF);\n \n // write stencil\n m_stencil[xstart] = p;\n }\n }\n catch (Exception e) {\n \n }\n \n //\n iu+=iuadd;\n iv+=ivadd;\n ir+=iradd;\n ig+=igadd;\n ib+=ibadd;\n iz+=izadd;\n }\n \n ytop+=SCREEN_WIDTH;\n xleft+=leftadd;\n xrght+=rghtadd;\n \n uleft+=uleftadd;\n vleft+=vleftadd;\n rleft+=rleftadd;\n gleft+=gleftadd;\n bleft+=bleftadd;\n zleft+=zleftadd;\n }\n }", "title": "" }, { "docid": "54d9e20ceac5412751204bc3147d3aa5", "score": "0.46748602", "text": "public int getCornerPowerMode()\r\n/* 101: */ {\r\n/* 102: 84 */ return 0;\r\n/* 103: */ }", "title": "" }, { "docid": "697d06f6fc78dc1b07180f1e7b470898", "score": "0.46739337", "text": "@Override\r\n\tint getside2() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "d34d6cad8360daf9db51731a41b4453d", "score": "0.46735317", "text": "public void left() {\r\n \r\n }", "title": "" }, { "docid": "fb012f5992c7845307326ec4ae0c4144", "score": "0.4672504", "text": "@Override\n public int dump(int x, int y, int width, int depth)\n {\n String printer = \"\";\n for (int i = 0; i < depth; i++)\n {\n printer += \" \";\n }\n printer += \"Node at \" + x + \", \" + y + \", \" + width + \": Internal\";\n System.out.println(printer);\n int newDepth = depth + 1;\n return 1 + northWest.dump(x, y, width / 2, newDepth)\n + northEast.dump(x + width / 2, y, width / 2, newDepth)\n + southWest.dump(x, y + width / 2, width / 2, newDepth)\n + southEast.dump(x + width / 2, y + width / 2, width / 2,\n newDepth);\n\n }", "title": "" }, { "docid": "a82490662edb4a6b1f7432768956a48f", "score": "0.46700093", "text": "private int leftChild(int pos) \n\t{ \n\t\treturn (2 * pos); \n\t}", "title": "" }, { "docid": "0534b99d2801f55d97114fa4117645c5", "score": "0.4661278", "text": "private java.util.List<com.baidu.location.d.h> e() {\n /*\n r9 = this;\n r2 = 0;\n r3 = new java.util.ArrayList;\n r3.<init>();\n r4 = new java.util.ArrayList;\n r4.<init>();\n r0 = new java.io.File;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r1 = \"/proc/mounts\";\n r0.<init>(r1);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r1 = r0.exists();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n if (r1 == 0) goto L_0x0058;\n L_0x0018:\n r1 = new java.util.Scanner;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r1.<init>(r0);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n L_0x001d:\n r0 = r1.hasNext();\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n if (r0 == 0) goto L_0x0055;\n L_0x0023:\n r0 = r1.nextLine();\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n r5 = \"/dev/block/vold/\";\n r5 = r0.startsWith(r5);\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n if (r5 == 0) goto L_0x001d;\n L_0x002f:\n r5 = 9;\n r6 = 32;\n r0 = r0.replace(r5, r6);\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n r5 = \" \";\n r0 = r0.split(r5);\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n if (r0 == 0) goto L_0x001d;\n L_0x003f:\n r5 = r0.length;\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n if (r5 <= 0) goto L_0x001d;\n L_0x0042:\n r5 = 1;\n r0 = r0[r5];\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n r3.add(r0);\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n goto L_0x001d;\n L_0x0049:\n r0 = move-exception;\n L_0x004a:\n r0.printStackTrace();\t Catch:{ all -> 0x011a }\n if (r1 == 0) goto L_0x0052;\n L_0x004f:\n r1.close();\n L_0x0052:\n r0 = r9.b;\n return r0;\n L_0x0055:\n r1.close();\t Catch:{ Exception -> 0x0049, all -> 0x0117 }\n L_0x0058:\n r0 = new java.io.File;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r1 = \"/system/etc/vold.fstab\";\n r0.<init>(r1);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r1 = r0.exists();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n if (r1 == 0) goto L_0x00b4;\n L_0x0065:\n r1 = new java.util.Scanner;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r1.<init>(r0);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n L_0x006a:\n r0 = r1.hasNext();\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n if (r0 == 0) goto L_0x00b1;\n L_0x0070:\n r0 = r1.nextLine();\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n r5 = \"dev_mount\";\n r5 = r0.startsWith(r5);\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n if (r5 == 0) goto L_0x006a;\n L_0x007c:\n r5 = 9;\n r6 = 32;\n r0 = r0.replace(r5, r6);\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n r5 = \" \";\n r0 = r0.split(r5);\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n if (r0 == 0) goto L_0x006a;\n L_0x008c:\n r5 = r0.length;\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n if (r5 <= 0) goto L_0x006a;\n L_0x008f:\n r5 = 2;\n r0 = r0[r5];\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n r5 = \":\";\n r5 = r0.contains(r5);\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n if (r5 == 0) goto L_0x00a5;\n L_0x009a:\n r5 = 0;\n r6 = \":\";\n r6 = r0.indexOf(r6);\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n r0 = r0.substring(r5, r6);\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n L_0x00a5:\n r4.add(r0);\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n goto L_0x006a;\n L_0x00a9:\n r0 = move-exception;\n r2 = r1;\n L_0x00ab:\n if (r2 == 0) goto L_0x00b0;\n L_0x00ad:\n r2.close();\n L_0x00b0:\n throw r0;\n L_0x00b1:\n r1.close();\t Catch:{ Exception -> 0x0049, all -> 0x00a9 }\n L_0x00b4:\n r0 = android.os.Environment.getExternalStorageDirectory();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r1 = r0.getAbsolutePath();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r0 = r9.b;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r5 = new com.baidu.location.d.h;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r6 = 0;\n r7 = \"Auto\";\n r5.<init>(r1, r6, r7);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r0.add(r5);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r3 = r3.iterator();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n L_0x00cd:\n r0 = r3.hasNext();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n if (r0 == 0) goto L_0x010e;\n L_0x00d3:\n r0 = r3.next();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r0 = (java.lang.String) r0;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r5 = r4.contains(r0);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n if (r5 == 0) goto L_0x00cd;\n L_0x00df:\n r5 = r0.equals(r1);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n if (r5 != 0) goto L_0x00cd;\n L_0x00e5:\n r5 = new java.io.File;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r5.<init>(r0);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r6 = r5.exists();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n if (r6 == 0) goto L_0x00cd;\n L_0x00f0:\n r6 = r5.isDirectory();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n if (r6 == 0) goto L_0x00cd;\n L_0x00f6:\n r5 = r5.canWrite();\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n if (r5 == 0) goto L_0x00cd;\n L_0x00fc:\n r5 = r9.b;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r6 = new com.baidu.location.d.h;\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r7 = 0;\n r8 = \"Auto\";\n r6.<init>(r0, r7, r8);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n r5.add(r6);\t Catch:{ Exception -> 0x010a, all -> 0x0115 }\n goto L_0x00cd;\n L_0x010a:\n r0 = move-exception;\n r1 = r2;\n goto L_0x004a;\n L_0x010e:\n if (r2 == 0) goto L_0x0052;\n L_0x0110:\n r2.close();\n goto L_0x0052;\n L_0x0115:\n r0 = move-exception;\n goto L_0x00ab;\n L_0x0117:\n r0 = move-exception;\n r2 = r1;\n goto L_0x00ab;\n L_0x011a:\n r0 = move-exception;\n r2 = r1;\n goto L_0x00ab;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.baidu.location.d.i.e():java.util.List<com.baidu.location.d.h>\");\n }", "title": "" }, { "docid": "ab52c9e89c1c476ee6643c60cc7ed516", "score": "0.4656508", "text": "private void generateOz() {\n\n\t}", "title": "" }, { "docid": "91927d8d46cf03e38a6e03ea1cc9fbde", "score": "0.46552497", "text": "@Override\n\tpublic void walk() {\n\t\t\n\t}", "title": "" }, { "docid": "91927d8d46cf03e38a6e03ea1cc9fbde", "score": "0.46552497", "text": "@Override\n\tpublic void walk() {\n\t\t\n\t}", "title": "" }, { "docid": "85d64b3c5e2733614333b31145b4d211", "score": "0.46537635", "text": "int getSide();", "title": "" }, { "docid": "1373e3f581ba13c025ab595c29f65c34", "score": "0.46500129", "text": "public int getReflexiveEdges()\n{\n return 0;\n}", "title": "" }, { "docid": "4ccbe399265ebff3cf9655a8e349ab57", "score": "0.46493983", "text": "public static void window() {\r\n\t\tfor (int i = 0; i < FIGURE_SIZE; i++) {\r\n\t\t\tfor (int j = 0; j < i * 2; j++) {\r\n\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t}\r\n\t\t\tSystem.out.print(\"\\\\_\");\r\n\r\n\t\t\tfor (int j = 0; j < FIGURE_SIZE * 3 - i * 2 - 1; j++) {\r\n\t\t\t\tSystem.out.print(\"/\\\\\");\r\n\r\n\t\t\t}\r\n\t\t\tSystem.out.print(\"_/\");\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "1e7905508a40de55c8c20100101cc506", "score": "0.46493387", "text": "public String toString(){\n\t\treturn \"DIV\";\t\n\t}", "title": "" } ]
6234565563014a8388a99fa2d6950bc1
Getteur ID de l'utilisateur
[ { "docid": "0016e625768759b3f8c3fabd20d0d01a", "score": "0.8038411", "text": "public int getIdUtilisateur()\n\t{\n\t\treturn idUtilisateur;\n\t}", "title": "" } ]
[ { "docid": "201b899e410766642bf9d6a46a2212bc", "score": "0.746394", "text": "public Utilisateur getUnUtilisateur(int idUtilisateur);", "title": "" }, { "docid": "5fa51e9f9c167bdd17de0707c1d35d3f", "score": "0.7437621", "text": "public int getIdUser( )\n {\n return _nIdUser;\n }", "title": "" }, { "docid": "68dbb12d439e63456dd9243d48670771", "score": "0.7291282", "text": "public String getUserID() {\n return id;\n }", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.7261042", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.7261042", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.7261042", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.7261042", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.7261042", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "df21c6da574b54dfd7a9adbfed77baa0", "score": "0.72603685", "text": "int getUserId();", "title": "" }, { "docid": "75e678ae46d368365070c11b39ed6d24", "score": "0.7047645", "text": "public int getUser_id() {\n return user_id;\n }", "title": "" }, { "docid": "ac1bcbf302355a6d631ca426be086ef0", "score": "0.70432943", "text": "public int getUtilisateur() {\r\n return utilisateur;\r\n }", "title": "" }, { "docid": "635ae8740748b627fe4b52e06ff6c508", "score": "0.7042296", "text": "long getUserId();", "title": "" }, { "docid": "635ae8740748b627fe4b52e06ff6c508", "score": "0.7042296", "text": "long getUserId();", "title": "" }, { "docid": "635ae8740748b627fe4b52e06ff6c508", "score": "0.7042296", "text": "long getUserId();", "title": "" }, { "docid": "635ae8740748b627fe4b52e06ff6c508", "score": "0.7042296", "text": "long getUserId();", "title": "" }, { "docid": "ceefa173239d8f5eb444d6fb2f5de42b", "score": "0.7038996", "text": "public final String getIdUser() {\n return this.idUser;\n }", "title": "" }, { "docid": "1cc83c3a24631920280f0254860498df", "score": "0.70269495", "text": "public String getIdUser() {\r\n\t\treturn idUser;\r\n\t}", "title": "" }, { "docid": "bbc943b853e54c4fa32e5524f17ab7c5", "score": "0.70061547", "text": "public String getId_usuario() {\n return id_usuario;\n }", "title": "" }, { "docid": "f33e19bab8d1f0a75dca302a84327172", "score": "0.70043063", "text": "public int getIdUtente() {\n return idUtente;\n }", "title": "" }, { "docid": "bb0c1467847a83c1bdb82245deececdc", "score": "0.70022196", "text": "public String getUserId();", "title": "" }, { "docid": "ec4b408c752160315475ce99be4b5bb0", "score": "0.7000216", "text": "public long getIdUser() {\n return idUser;\n }", "title": "" }, { "docid": "356e642bfb95619e72118d4e2a823598", "score": "0.69611573", "text": "public String getIdUsuario() {\r\n return idUsuario;\r\n }", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "3e56b024561d2f5f05bc439b67287f85", "score": "0.69543976", "text": "java.lang.String getUserId();", "title": "" }, { "docid": "cf5a0595d9b4f2fb83e69fde62b8acc8", "score": "0.6950058", "text": "public Long getId() {\n return user_id;\n }", "title": "" }, { "docid": "3b25ddf14dc67e519b08730fe2e2dc45", "score": "0.6919807", "text": "public long getUserId();", "title": "" }, { "docid": "3b25ddf14dc67e519b08730fe2e2dc45", "score": "0.6919807", "text": "public long getUserId();", "title": "" }, { "docid": "3b25ddf14dc67e519b08730fe2e2dc45", "score": "0.6919807", "text": "public long getUserId();", "title": "" } ]
fd4fb05cec9fbdf5d491e10475dbe24b
parse command line options, if any, to override defaults
[ { "docid": "b8266f883ec304336f2f76675ffc0f81", "score": "0.0", "text": "public static void main(String[] args) {\n GetOpt go = new GetOpt(args, \"Ui:m:p:\");\r\n go.optErr = true;\r\n String usage = \"Usage: -i id -m master -p port\";\r\n int id = -1;\r\n String masterMachine = \"localhost\";\r\n int portNum = 9999;\r\n int ch = -1;\r\n while ((ch = go.getopt()) != go.optEOF) {\r\n if ((char)ch == 'U') {\r\n System.out.println(usage); System.exit(0);\r\n }\r\n else if ((char)ch == 'i')\r\n id = go.processArg(go.optArgGet(), id);\r\n else if ((char)ch == 'm')\r\n masterMachine = go.optArgGet();\r\n else if ((char)ch == 'p')\r\n portNum = go.processArg(go.optArgGet(), portNum);\r\n else {\r\n System.err.println(usage); System.exit(1);\r\n }\r\n }\r\n System.out.println(\"NqueensWorker: id=\" + id + \", masterMachine=\"\r\n + masterMachine + \", portNum=\" + portNum);\r\n new NqueensWorker(id, masterMachine, portNum);\r\n }", "title": "" } ]
[ { "docid": "207bf909d7cafd8120da581d68e5155e", "score": "0.7278299", "text": "public void parseOpts(String[] args) {\n\n int index = 0;\n while (index < args.length) {\n if (args[index].equals(\"-heapSize\"))\n heapSize = Integer.parseInt(args[++index]) * K;\n else if (args[index].equals(\"-stackSize\"))\n stackSize = Integer.parseInt(args[++index]) * K;\n else if (args[index].equals(\"-initFile\"))\n initFile = args[++index];\n else if (args[index].equals(\"-freeHeap\"))\n freeHeap = Integer.parseInt(args[++index]) * K;\n else if (args[index].equals(\"-stackDump\"))\n stackDump = true;\n else if (args[index].equals(\"-image\"))\n imageFile = args[++index];\n else if (args[index].equals(\"-arg\"))\n parseImageArg(args[++index]);\n else {\n System.out.println(\"Unknown option: \" + args[index]);\n displayOptions();\n exitAbnormal();\n }\n index++;\n }\n }", "title": "" }, { "docid": "3c24d922fa4803beb390ad94000694ff", "score": "0.7102715", "text": "public void parse()\n\t{\n\t\tDefaultParser parser = new DefaultParser();\n\n\t\ttry\n\t\t{\n\t\t\tCommandLine line = parser.parse(this.m_Options, this.m_szArgs);\n\n\t\t\tif(line.hasOption(\"p\"))\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tthis.m_iPort = Integer.parseInt(line.getOptionValue(\"p\"));\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException nfe)\n\t\t\t\t{\n\t\t\t\t\tthis.m_bEnoughArgs = false;\n\t\t\t\t\tthis.help();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch(ParseException pe)\n\t\t{\n\t\t\tthis.m_bEnoughArgs = false;\n\t\t\tthis.help();\n\t\t}\n\t}", "title": "" }, { "docid": "af08768c1dea032c1175f695e5994ced", "score": "0.69956994", "text": "public static void parseOptions(String[] args) throws ParseException, IOException {\r\n // Parse the command line arguments\r\n final Options options = new Options();\r\n // Use dash with shortcut (-h) or -- with name (--help).\r\n options.addOption(\"h\", \"help\", false, \"print the command line options\");\r\n options.addOption(\"v\", \"verb\", true, \"action to perform\");\r\n options.addOption(\"n\", \"number\", true, \"number, such as number of pages or percentage\");\r\n options.addOption(\"l\", \"list\", true, \"list of comma-separated, such as pages, names, etc.\");\r\n options.addOption(\"s\", \"src\", true, \"list of comma-separated input PDF files\");\r\n options.addOption(\"d\", \"dest\", true, \"output PDF file\");\r\n options.addOption(\"c\", \"color\", true, \"comma separated ARGB used for image processing\");\r\n\r\n final CommandLineParser cliParser = new DefaultParser();\r\n final CommandLine line = cliParser.parse(options, args);\r\n // line.getArgList(); // Retrieve any left-over non-recognized options and\r\n // arguments\r\n\r\n // Gather command line arguments for execution\r\n if (line.hasOption(\"help\")) {\r\n final HelpFormatter formatter = new HelpFormatter();\r\n formatter.printHelp(\"java -jar pdfcl.jar <options> info.danbecker.pdfcl.PdfCL\", options);\r\n LOGGER.info(\"java version=\" + Runtime.class.getPackage().getImplementationVersion());\r\n System.exit(0);\r\n } else {\r\n LOGGER.info(\"help=\" + line.hasOption(\"help\")); \r\n }\r\n if (line.hasOption(\"verb\")) {\r\n verb = line.getOptionValue(\"verb\");\r\n LOGGER.info(\"verb=\" + verb);\r\n }\r\n if (line.hasOption(\"src\")) {\r\n String option = line.getOptionValue(\"src\");\r\n srcs = option.split(CMD_DELIM);\r\n LOGGER.info(\"srcs=\" + Arrays.toString( srcs ));\r\n } else {\r\n srcs = SRC;\r\n }\r\n if (line.hasOption(\"dest\")) {\r\n dest = line.getOptionValue(\"dest\");\r\n } else {\r\n dest = DEST;\r\n }\r\n LOGGER.info(\"dest=\" + dest);\r\n if (line.hasOption(\"number\")) {\r\n number = line.getOptionValue(\"number\");\r\n LOGGER.info(\"number=\" + number);\r\n }\r\n if (line.hasOption(\"list\")) {\r\n String stringList = line.getOptionValue(\"list\");\r\n List<String> items = Arrays.asList(stringList.split(CMD_DELIM));\r\n list = new LinkedList<Integer>();\r\n for (String item : items) {\r\n list.add(Integer.parseInt(item));\r\n }\r\n LOGGER.info(\"list=\" + list);\r\n } else {\r\n list = Arrays.asList();\r\n }\r\n if (line.hasOption(\"color\")) {\r\n color = line.getOptionValue(\"color\");\r\n LOGGER.info(\"color=\" + color);\r\n }\r\n }", "title": "" }, { "docid": "2be95ac11a6293ba4f8ad7d36e45fcb9", "score": "0.6936016", "text": "public void parse(String[] args)\n\t{\n\t\tconfig.setOptionSet(optionParser.parse(args));\n\t}", "title": "" }, { "docid": "5a8e6097b177a929e9a75dc37c598eeb", "score": "0.68876904", "text": "private static void parseArguments(String[] args) {\r\n Config config = Config.INSTANCE;\r\n\r\n for (int i = 0; i < args.length; i++) {\r\n switch (args[i].charAt(0)) {\r\n case '-':\r\n if (args[i].equals(\"-i\") || args[i].equals(\"--input\")) {\r\n while (hasNextArg(args, i) && nextArgIsValue(args, i)) {\r\n config.addInput(args[++i]);\r\n }\r\n } else if (args[i].equals(\"-o\") || args[i].equals(\"--output\")) {\r\n if (hasNextArg(args, i) && nextArgIsValue(args, i)) {\r\n config.setOutput(args[++i]);\r\n }\r\n } else if (args[i].equals(\"-s\") || args[i].equals(\"--silent\")) {\r\n config.setSilent(true);\r\n } else if (args[i].equals(\"-h\") || args[i].equals(\"--help\")) {\r\n printUsage();\r\n }\r\n break;\r\n default:\r\n throw new IllegalArgumentException(\"Invalid argument : \" + args[i]);\r\n }\r\n }\r\n\r\n if (!config.check()) {\r\n printUsage();\r\n }\r\n }", "title": "" }, { "docid": "f0d3eba5ff372fd2ebe9dda11d4facbf", "score": "0.6873844", "text": "@Override\n\tpublic void parseArguments(String[] args){\n\t\tsuper.parseArguments(args);\n\t\t\n\t\tHelpFormatter formatter = new HelpFormatter();\n\t\tint widthFormatter = 88;\n\t\tCommandLine cLine = parseLine(args);\n\t\t\n\t if(!cLine.hasOption(\"d\") || !cLine.hasOption(\"x\")) {\n\t \tlogger.warn(\"Please, provide input and output directories as requested\");\n\t\t\tformatter.printHelp(widthFormatter, command, header, options, footer, true);\n\t \tSystem.exit(1);\n\t }\n\t \n\t\tinDir = cLine.getOptionValue(\"d\");\n\t\toutDir = cLine.getOptionValue(\"x\");\t \n\t}", "title": "" }, { "docid": "adbfe861d30e3baef1cff12ec720d957", "score": "0.6845643", "text": "private void parseArgs(String[] args) {\n CmdLineParser parser = new CmdLineParser();\n CmdLineParser.Option propertyFileOption = parser.addStringOption('p', \"preferences\");\n CmdLineParser.Option batchFileOption = parser.addStringOption('b', \"batch\");\n CmdLineParser.Option genomeOption = parser.addStringOption('g', \"genome\");\n \n try {\n parser.parse(args);\n } catch (CmdLineParser.IllegalOptionValueException e) {\n e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.\n } catch (CmdLineParser.UnknownOptionException e) {\n e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.\n }\n propertyFile = (String) parser.getOptionValue(propertyFileOption);\n batchFile = (String) parser.getOptionValue(batchFileOption);\n genomeId = (String) parser.getOptionValue(genomeOption);\n \n String[] nonOptionArgs = parser.getRemainingArgs();\n if (nonOptionArgs != null && nonOptionArgs.length > 0) {\n String firstArg = nonOptionArgs[0];\n if (firstArg.endsWith(\"xml\")) {\n sessionFile = firstArg;\n } else {\n dataFileString = firstArg;\n }\n if (nonOptionArgs.length > 1) {\n locusString = nonOptionArgs[1];\n }\n }\n \n }", "title": "" }, { "docid": "1d95760ac68af07e2c86dcf31c91c211", "score": "0.6784862", "text": "void parse( String[] args ) {\n CommandLineParser parser = new PosixParser(); //create the parser\n \n // parse the command line parameters\n try {\n commandLine = parser.parse( options, args );\n } catch( ParseException exception ) {\n System.err.println(\"Wrong or missing commandline parameters: \" + exception.getMessage());\n printHelp();\n System.exit(1);\n }\n }", "title": "" }, { "docid": "8a5576367db6c5b89d760af2895cd224", "score": "0.66207856", "text": "private static void populateOptions () {\n options = new Options ();\n options.addOption (\"s\", \"show\", false, \"Show PDF metadata and ToC\");\n options.addOption (\"v\", \"version\", false, \"Show version number\");\n options.addOption (\"h\", \"help\", false, \"Print this message\");\n \n OptionBuilder.withArgName (\"inputFile\");\n OptionBuilder.hasArg ();\n OptionBuilder.withDescription (\"input PDF file\");\n options.addOption (OptionBuilder.create (\"i\"));\n \n OptionBuilder.withArgName (\"outputFile\");\n OptionBuilder.hasArg ();\n OptionBuilder.withDescription (\"output PDF file\");\n options.addOption (OptionBuilder.create (\"o\"));\n\n OptionBuilder.withArgName (\"configFile\");\n OptionBuilder.hasArg ();\n OptionBuilder.withDescription (\"configuration file (JSON)\");\n options.addOption (OptionBuilder.create (\"c\"));\n }", "title": "" }, { "docid": "11fef0e473ea271a51677175803f20e9", "score": "0.6581302", "text": "public static void argParse(String[] args) {\n\t Options options = new Options();\n\n\t Option telemetryInterval = new Option(\"ti\", \"telemetry-interval\", \n\t true, \"Interval between telementry uploads in seconds. Default 300\");\n\t telemetryInterval.setRequired(false);\n\t options.addOption(telemetryInterval);\n\t \n\t Option predictiveCachingEnabled = new Option(\"pc\", \"predictive-caching\", \n\t false, \"flag to enable predictive caching background service\");\n\t predictiveCachingEnabled.setRequired(false);\n\t options.addOption(predictiveCachingEnabled);\n\t \n\t Option predictiveCachingInterval = new Option(\"pci\", \"predictive-caching-interval\", \n\t true, \"Interval between predictive caching suggestions in seconds. Default 86400\");\n\t predictiveCachingInterval.setRequired(false);\n\t options.addOption(predictiveCachingInterval);\n\t \n\t CommandLineParser parser = new DefaultParser();\n\t HelpFormatter formatter = new HelpFormatter();\n\t CommandLine cmd = null;\n\t try {\n\t cmd = parser.parse(options, args);\n\t } catch (ParseException e) {\n\t LOGGER.error(e.getMessage());\n\t formatter.printHelp(\"ELT\", options);\n\t System.exit(1);\n\t }\n\t if (cmd.hasOption(\"predictive-caching\")) {\n\t \t ELT.cacheListDisabled = false;\n\t }\n\t String pcInterval = cmd.getOptionValue(\"predictive-caching-interval\", \"86400\");\n\t String telemInterval = cmd.getOptionValue(\"telemetry-interval\", \"300\");\n\t try {\n\t ELT.telemetryInterval = Long.parseLong(telemInterval);\n\t ELT.cacheListInterval = Long.parseLong(pcInterval);\n\t }\n\t catch (NumberFormatException e){\n\t LOGGER.error(e.getMessage());\n\t }\n\t }", "title": "" }, { "docid": "34892f5834d2842e2be2e26bf09380c4", "score": "0.6493468", "text": "private void processOptions(String args[]) throws Exception {\n CommandLineParser parser = new DefaultParser();\n CommandLine cmd = parser.parse(options, args);\n\n\n if(cmd.hasOption(ALGORITHM) && cmd.getOptionValue(ALGORITHM).equals(Algorithm.LNS.name())) {\n monoObjectiveExecution(cmd);\n }\n else {\n multiObjectiveExecution(cmd);\n }\n }", "title": "" }, { "docid": "94ac0e65aaa2824515dc6455d62c52b5", "score": "0.6486336", "text": "private static void parseOptions(ShellConfiguration shellConfiguration, String[] args) {\n CommandLineParser parser = new DefaultParser();\n // create the Options\n Options options = shellConfiguration.getOptions();\n\n // parse the command line arguments\n CommandLine line = null;\n try {\n line = parser.parse(options, args, false);\n } catch (ParseException e) {\n System.out.println(e.getMessage());\n printHelp(options);\n System.exit(1);\n }\n\n if (line.hasOption(\"help\")) {\n printHelp(options);\n System.exit(0);\n }\n shellConfiguration.addCommandLineArguments(line);\n }", "title": "" }, { "docid": "7146b304473c98f24cc5dc591ee0d16c", "score": "0.64613533", "text": "public void parse(final String[] args) throws ParseException {\n final OptionsParser parser = new OptionsParser(this);\n parser.parse(args);\n }", "title": "" }, { "docid": "d4ea575a6b876f0f24c2e421ebc4f412", "score": "0.6454001", "text": "private static CommandLine parseArgs(final String[] args) throws ParseException {\n\n Options options = new Options()\n .addOption(\"h\", \"help\", false, \"Print this help\")\n .addOption(\"u\", \"url\", true,\n \"The url to connect to the InfluxDB. Default 'http://localhost:9999'.\")\n .addOption(\"t\", \"token\", true,\n \"The token to use for the authorization. Default 'my-token'.\")\n .addOption(\"o\", \"org\", true,\n \"The name of an organization. Default 'my-org'.\")\n .addOption(\"b\", \"bucket\", true,\n \"The name of a bucket to write. Default 'my-bucket'.\");\n\n CommandLineParser parser = new DefaultParser();\n\n CommandLine line = parser.parse(options, args);\n if (line.hasOption(\"help\")) {\n HelpFormatter formatter = new HelpFormatter();\n formatter.setWidth(2000);\n formatter.printHelp(\"java WriteDataEverySecond\", options, true);\n System.exit(0);\n }\n\n return line;\n }", "title": "" }, { "docid": "cfaf7579bb95b6536847e698ff97f16b", "score": "0.6435325", "text": "static public void main(String argv[]) \n {\n if (argv.length > 1) \n {\n optionFlag = argv[1].charAt(1);\n }\n /* Start the parser */\n try \n {\n parser p = new parser(new Lexer(new FileReader(argv[0])));\n Object result = p.parse().value; \n } \n catch (Exception e) \n {\n /* do cleanup here -- possibly rethrow e */\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "ef7393855054bd115990f4324ea99bbb", "score": "0.6431693", "text": "private static CommandLine processCommandLine (String args[]) {\n CommandLine cmd = null;\n\n boolean valid = false;\n CommandLineParser parser = new BasicParser ();\n try {\n cmd = parser.parse (options, args);\n if (cmd.hasOption (\"v\") || cmd.hasOption (\"h\")) {\n return (cmd);\n } else {\n if (cmd.hasOption (\"s\")) {\n if (cmd.hasOption (\"i\")) {\n if (cmd.hasOption (\"o\") || cmd.hasOption (\"c\")) {\n System.out.println (\"Cannot specify config or output file with show option\");\n } else {\n valid = true;\n }\n } else {\n System.out.println (\"Missing input file for show option\");\n }\n } else {\n if (cmd.hasOption (\"i\") && cmd.hasOption (\"o\") && cmd.hasOption (\"c\")) {\n valid = true;\n } else {\n System.out.println (\"Must specify input, output and configuration files\");\n }\n }\n \n if (valid == false) {\n return (null);\n }\n }\n } catch (ParseException e) {\n System.out.println (\"Error processing command: \" + e);\n return (null);\n }\n\n return (cmd);\n }", "title": "" }, { "docid": "a09cc349578e429bf39a6f6f296d3405", "score": "0.64284706", "text": "private void transferOptions( final CommandLine commandLine ) {\n\r\n if( commandLine.hasOption( 'e' ) || commandLine.hasOption( \"regexp\" ) ) {\r\n regexes.addAll( Arrays.asList( commandLine.getOptionValues( 'e' ) ) );\r\n }\r\n\r\n if( commandLine.hasOption( 'f' ) || commandLine.hasOption( \"file\" ) ) {\r\n readRegexFromFile( commandLine.getOptionValues( 'f' ) );\r\n }\r\n\r\n if( commandLine.hasOption( \"file-long\" ) ) {\r\n readLongRegexFromFile( commandLine.getOptionValues( \"file-long\" ) );\r\n }\r\n\r\n ignoreCase = ( commandLine.hasOption( 'i' ) || commandLine.hasOption( \"ignore-case\" ) );\r\n\r\n wordRegex = commandLine.hasOption( 'w' ) || commandLine.hasOption( \"word-regexp\" );\r\n\r\n lineRegex = commandLine.hasOption( 'x' ) || commandLine.hasOption( \"line-regexp\" );\r\n\r\n // Miscellaneous\r\n\r\n noMessages = commandLine.hasOption( 's' ) || commandLine.hasOption( \"no-messages\" );\r\n\r\n invertMatch = ( commandLine.hasOption( 'v' ) || commandLine.hasOption( \"invert-match\" ) );\r\n\r\n // Output control\r\n maxCount = 0;\r\n if( commandLine.hasOption( 'm' ) || commandLine.hasOption( \"max-count\" ) ) {\r\n String s = commandLine.getOptionValue( 'm' );\r\n maxCount = Long.parseLong( s );\r\n }\r\n\r\n printByteOffset = ( commandLine.hasOption( 'b' ) || commandLine.hasOption( \"byte-offset\" ) );\r\n\r\n printLineNumber = commandLine.hasOption( 'n' ) || commandLine.hasOption( \"line-number\" );\r\n\r\n printFileName = false;\r\n if( ( commandLine.hasOption( 'H' ) || commandLine.hasOption( \"with-filename\" ) ) ) {\r\n printFileName = true;\r\n }\r\n\r\n if( ( commandLine.hasOption( 'h' ) || commandLine.hasOption( \"no-filename\" ) ) ) {\r\n printFileName = false;\r\n }\r\n\r\n printMatchOnly = commandLine.hasOption( 'o' ) || commandLine.hasOption( \"only-matching\" );\r\n\r\n quiet =\r\n ( commandLine.hasOption( 'q' ) || commandLine.hasOption( \"--quiet\" ) || commandLine.hasOption( \"silent\" ) );\r\n\r\n recurseDirectories = false;\r\n skipDirectories = false;\r\n if( commandLine.hasOption( 'd' ) || commandLine.hasOption( \"directories\" ) ) {\r\n String val = commandLine.getOptionValue( 'd' );\r\n if( StringUtils.endsWithIgnoreCase( val, \"recurse\" ) ) {\r\n recurseDirectories = true;\r\n }\r\n if( StringUtils.endsWithIgnoreCase( val, \"skip\" ) ) {\r\n skipDirectories = true;\r\n }\r\n }\r\n\r\n if( commandLine.hasOption( 'R' )\r\n || commandLine.hasOption( 'r' )\r\n || commandLine.hasOption( \"recursive\" ) ) {\r\n recurseDirectories = true;\r\n }\r\n\r\n useInclude = false;\r\n useExclude = false;\r\n if( commandLine.hasOption( \"include\" ) ) {\r\n useInclude = true;\r\n includeFilePatterns.addAll( Arrays.asList( commandLine.getOptionValues( \"include\" ) ) );\r\n }\r\n\r\n if( commandLine.hasOption( \"include-from\" ) ) {\r\n useInclude = true;\r\n readIncludesFrom( commandLine.getOptionValues( \"include-from\" ) );\r\n }\r\n\r\n if( commandLine.hasOption( \"exclude\" ) ) {\r\n useExclude = true;\r\n excludeFilePatterns.addAll( Arrays.asList( commandLine.getOptionValues( \"exclude\" ) ) );\r\n }\r\n\r\n if( commandLine.hasOption( \"exclude-from\" ) ) {\r\n useExclude = true;\r\n readExcludeFrom( commandLine.getOptionValues( \"exclude-from\" ) );\r\n }\r\n\r\n if( commandLine.hasOption( \"exclude-dir\" ) ) {\r\n excludeDirPatterns.addAll( Arrays.asList( commandLine.getOptionValues( \"exclude-dir\" ) ) );\r\n }\r\n\r\n printFilesWithoutMatch = commandLine.hasOption( 'L' ) || commandLine.hasOption( \"files-without-match\" );\r\n\r\n printFileNameOnly = ( commandLine.hasOption( 'l' ) || commandLine.hasOption( \"files-with-matches\" ) );\r\n\r\n printCountOnly = ( commandLine.hasOption( 'c' ) || commandLine.hasOption( \"count\" ) );\r\n\r\n // Context control\r\n\r\n long context = 0;\r\n\r\n if( commandLine.hasOption( 'C' ) || commandLine.hasOption( \"context\" ) ) {\r\n String s = commandLine.getOptionValue( 'C' );\r\n context = Long.parseLong( s );\r\n }\r\n\r\n if( commandLine.hasOption( 'A' ) || commandLine.hasOption( \"after-context\" ) ) {\r\n String s = commandLine.getOptionValue( 'A' );\r\n afterContext = Long.parseLong( s );\r\n }\r\n else {\r\n afterContext = context;\r\n }\r\n\r\n if( commandLine.hasOption( 'B' ) || commandLine.hasOption( \"before-context\" ) ) {\r\n String s = commandLine.getOptionValue( 'B' );\r\n beforeContext = Long.parseLong( s );\r\n }\r\n else {\r\n beforeContext = context;\r\n }\r\n\r\n }", "title": "" }, { "docid": "4726d61eade584ba1ab5a5486bcc6558", "score": "0.642753", "text": "private static void setOptions(String[] args) {\n for (String arg : args) {\n switch (arg) {\n case \"-a\":\n case \"--advanced\":\n optionManager.setAdvancedMode(true);\n break;\n default:\n // I need this because checkstyle complains\n break;\n }\n }\n }", "title": "" }, { "docid": "719e87e1811f292091e158fd83e97f4f", "score": "0.6393079", "text": "private static Map extractOptions(String[] args) {\n Map options = new HashMap();\n\n for (int i = 0; i < args.length; i++) {\n if (USE_ANNOTATION_OPT.equals(args[i])) {\n options.put(USE_ANNOTATION_OPT, Boolean.TRUE);\n }\n else if (USE_JAVADOC_OPT.equals(args[i])) {\n options.put(USE_JAVADOC_OPT, Boolean.TRUE);\n }\n else if (SRC_DIR_OPT.equals(args[i])) {\n if (i + 1 < args.length) {\n options.put(SRC_DIR_OPT, args[i + 1]);\n i++;\n }\n }\n else if (OUT_DIR_OPT.equals(args[i])) {\n if (i + 1 < args.length) {\n options.put(OUT_DIR_OPT, args[i + 1]);\n i++;\n }\n }\n else if (OVERWRITE_OPT.equals(args[i])) {\n options.put(OVERWRITE_OPT, Boolean.TRUE);\n }\n else if (RESTORE_OPT.equals(args[i])) {\n // ignore\n }\n else if (QUIET.equals(args[i])) {\n options.put(QUIET, Boolean.TRUE);\n }\n else if (SOURCE_OPT.equals(args[i])) {\n if (i + 1 < args.length) {\n options.put(SOURCE_OPT, args[i + 1]);\n i++;\n }\n }\n else if (GROUPS_OPT.equals(args[i])) {\n if (i + 1 < args.length) {\n options.put(GROUPS_OPT , args[i + 1]);\n i++;\n }\n }\n }\n\n return options;\n }", "title": "" }, { "docid": "9ee4a9aabc6224d36afc74ef9d665378", "score": "0.6358873", "text": "public static void main(String pOptions[]) {}", "title": "" }, { "docid": "06a7ce090a404598e66374410cbe395f", "score": "0.63274264", "text": "private void parseArguments(String[] args) throws ParseException, IOException {\n Options options = new Options();\n options.addOption(\n Option.builder(\"in\")\n .desc(\"The file to be processed\")\n .hasArg()\n .argName(\"FILE\")\n .required()\n .build());\n options.addOption(\n Option.builder(\"out\")\n .desc(\"Generated's file path\")\n .hasArg()\n .argName(\"FILE\")\n .required()\n .build());\n options.addOption(\"v\", false, \"enable verbose mode\");\n options.addOption(\"vv\", false, \"enable debug mode\");\n options.addOption(\"json\", false, \"enable json output mode\");\n\n CommandLineParser parser = new DefaultParser();\n CommandLine cmd;\n try {\n cmd = parser.parse(options, args);\n } catch (MissingOptionException | UnrecognizedOptionException e) {\n // Logger is not yet setup here, we have to handle it the hard way\n System.err.println(e.getMessage());\n System.err.println();\n PrintWriter err = new PrintWriter(System.err);\n new HelpFormatter().printHelp(err, 100, \"docbleach\", \"DocBleach\", options, 0, 0, \"\", true);\n System.exit(1);\n return;\n }\n\n verbosityLevel = cmd.hasOption(\"vv\") ? 2 : (cmd.hasOption(\"v\") ? 1 : 0);\n\n jsonOutput = cmd.hasOption(\"json\");\n if (cmd.hasOption(\"json\")) {\n // If we output JSON, disable logging\n verbosityLevel = -1;\n }\n\n setupLogging();\n\n String inName = cmd.getOptionValue(\"in\");\n makeInputStream(inName);\n\n String outName = cmd.getOptionValue(\"out\");\n makeOutputStream(outName);\n }", "title": "" }, { "docid": "4998aa3368fbe097c1733fdfbace49c3", "score": "0.63062006", "text": "static Map<String, String> options(String[] args) { \n\t\tfinal Map<String,String> opts = new LinkedHashMap<String,String>();\n\t\tfor(String arg: args) { \n\t\t\tif (arg.startsWith(\"-\")) { \n\t\t\t\tString[] opt = arg.split(\"=\");\n\t\t\t\tswitch(opt.length) { \n\t\t\t\tcase 1 : opts.put(opt[0], null); break;\n\t\t\t\tcase 2 : opts.put(opt[0], opt[1]); break;\n\t\t\t\tdefault : throw new IllegalArgumentException(\"Unrecognized option format: \" + arg);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn opts;\n\t}", "title": "" }, { "docid": "e0381fe01e9699fb2d412f5b7979b3b3", "score": "0.6302328", "text": "public JannovarOptions parse(String argv[]) throws ParseException, HelpRequestedException {\n\t\t//Parse the help\n\t\tCommandLine cmd = parser.parse(helpOptions, argv, true);\n\t\tprintHelpIfOptionIsSet(cmd);\n\t\t// Parse the command line.\n\t\tcmd = parser.parse(options, argv);\n\t\tprintHelpIfOptionIsSet(cmd);\n\n\t\t// Fill the resulting JannovarOptions.\n\t\tJannovarOptions result = new JannovarOptions();\n\t\tresult.printProgressBars = true;\n\t\tresult.command = JannovarOptions.Command.DOWNLOAD;\n\n\t\tif (cmd.hasOption(\"verbose\"))\n\t\t\tresult.verbosity = 2;\n\t\tif (cmd.hasOption(\"very-verbose\"))\n\t\t\tresult.verbosity = 3;\n\n\t\tif (cmd.hasOption(\"data-dir\"))\n\t\t\tresult.downloadPath = cmd.getOptionValue(\"data-dir\");\n\n\t\t// Get data source names from args.\n\t\tImmutableList.Builder<String> dsBuilder = new ImmutableList.Builder<String>();\n\t\tfor (String datasource : cmd.getOptionValues(\"datasource\")) {\n\t\t\tdsBuilder.add(datasource);\n\t\t}\n\t\tresult.dataSourceNames = dsBuilder.build();\n\n\t\t// Get data source (INI) file paths.\n\t\tImmutableList.Builder<String> dsfBuilder = new ImmutableList.Builder<String>();\n\t\tString[] dataSourceLists = cmd.getOptionValues(\"data-source-list\");\n\t\tif (dataSourceLists != null)\n\t\t\tfor (int i = 0; i < dataSourceLists.length; ++i)\n\t\t\t\tdsfBuilder.add(dataSourceLists[i]);\n\t\tdsfBuilder.add(\"bundle:///default_sources.ini\");\n\t\tresult.dataSourceFiles = dsfBuilder.build();\n\n\t\t// get proxy settings from system environment if possible\n\t\tMap<String, String> env = System.getenv();\n\t\tif (getProxyURL(env.get(\"HTTP_PROXY\")) != null)\n\t\t\tresult.httpProxy = getProxyURL(env.get(\"HTTP_PROXY\"));\n\t\tif (getProxyURL(env.get(\"http_proxy\")) != null)\n\t\t\tresult.httpProxy = getProxyURL(env.get(\"http_proxy\"));\n\t\tif (getProxyURL(env.get(\"HTTPS_PROXY\")) != null)\n\t\t\tresult.httpsProxy = getProxyURL(env.get(\"HTTPS_PROXY\"));\n\t\tif (getProxyURL(env.get(\"https_proxy\")) != null)\n\t\t\tresult.httpsProxy = getProxyURL(env.get(\"https_proxy\"));\n\t\tif (getProxyURL(env.get(\"FTP_PROXY\")) != null)\n\t\t\tresult.ftpProxy = getProxyURL(env.get(\"FTP_PROXY\"));\n\t\tif (getProxyURL(env.get(\"ftp_proxy\")) != null)\n\t\t\tresult.ftpProxy = getProxyURL(env.get(\"ftp_proxy\"));\n\n\t\t// get proxy settings from the command line (--proxy), can be overwritten below\n\t\tif (cmd.hasOption(\"proxy\")) {\n\t\t\tresult.httpProxy = getProxyURL(cmd.getOptionValue(\"proxy\"));\n\t\t\tresult.httpsProxy = getProxyURL(cmd.getOptionValue(\"proxy\"));\n\t\t\tresult.ftpProxy = getProxyURL(cmd.getOptionValue(\"proxy\"));\n\t\t}\n\n\t\t// get proxy settings from the command line, overriding the environment settings\n\t\tif (cmd.hasOption(\"http-proxy\"))\n\t\t\tresult.httpProxy = getProxyURL(cmd.getOptionValue(\"http-proxy\"));\n\t\tif (cmd.hasOption(\"https-proxy\"))\n\t\t\tresult.httpsProxy = getProxyURL(cmd.getOptionValue(\"https-proxy\"));\n\t\tif (cmd.hasOption(\"ftp-proxy\"))\n\t\t\tresult.ftpProxy = getProxyURL(cmd.getOptionValue(\"ftp-proxy\"));\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "6825685023f9a679f0287f5eb90db160", "score": "0.62990844", "text": "public static CommandLine parseArgs(String[] args, Options options) throws ParseException{\n\t\tCommandLineParser parser = new BasicParser();\n\t\treturn parser.parse(options, args);\t\n\t}", "title": "" }, { "docid": "a93ca34ae4a2d34d263df2be0d6bbcca", "score": "0.6282565", "text": "private static void parseParameters(String[] args) {\n\t\tport = 3001;\n\t\thost = \"localhost\";\n\t\tclientId = \"SCR\";\n\t\tverbose = false;\n\t\tmaxEpisodes = 1;\n\t\tmaxSteps = 0;\n\t\tstage = Stage.UNKNOWN;\n\t\ttrackName = \"unknown\";\n \n\t\tfor (int i = 1; i < args.length; i++) {\n\t\t\tStringTokenizer st = new StringTokenizer(args[i], \":\");\n\t\t\tString entity = st.nextToken();\n\t\t\tString value = st.nextToken();\n\t\t\tif (entity.equals(\"port\")) {\n\t\t\t\tport = Integer.parseInt(value);\n\t\t\t}\n\t\t\tif (entity.equals(\"host\")) {\n\t\t\t\thost = value;\n\t\t\t}\n\t\t\tif (entity.equals(\"id\")) {\n\t\t\t\tclientId = value;\n\t\t\t}\n\t\t\tif (entity.equals(\"verbose\")) {\n\t\t\t\tif (value.equals(\"on\"))\n\t\t\t\t\tverbose = true;\n\t\t\t\telse if (value.equals(false))\n\t\t\t\t\tverbose = false;\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(entity + \":\" + value\n\t\t\t\t\t\t\t+ \" is not a valid option\");\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (entity.equals(\"id\")) {\n\t\t\t\tclientId = value;\n\t\t\t}\n\t\t\tif (entity.equals(\"stage\")) {\n\t\t\t\tstage = Stage.fromInt(Integer.parseInt(value));\n\t\t\t}\n\t\t\tif (entity.equals(\"trackName\")) {\n\t\t\t\ttrackName = value;\n\t\t\t}\n\t\t\tif (entity.equals(\"maxEpisodes\")) {\n\t\t\t\tmaxEpisodes = Integer.parseInt(value);\n\t\t\t\tif (maxEpisodes <= 0) {\n\t\t\t\t\tSystem.out.println(entity + \":\" + value\n\t\t\t\t\t\t\t+ \" is not a valid option\");\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (entity.equals(\"maxSteps\")) {\n\t\t\t\tmaxSteps = Integer.parseInt(value);\n\t\t\t\tif (maxSteps < 0) {\n\t\t\t\t\tSystem.out.println(entity + \":\" + value\n\t\t\t\t\t\t\t+ \" is not a valid option\");\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "592b86148be47887e77e53785522cde8", "score": "0.6261463", "text": "private static Options defineOptions() {\r\n\r\n // Definition of the CLI options\r\n Options options = new Options();\r\n\r\n Option tOpt = new Option(\"t\", \"trefwoorden\", false, \"Trefwoorden\");\r\n\r\n tOpt.setArgs(MAX_OPTIONS);\r\n tOpt.setType(new String());\r\n tOpt.setRequired(false);\r\n options.addOption(tOpt);\r\n\r\n Option gOpt = new Option(\"g\", MetaData.TARGETENDUSER, false, \"Docent, Begeleider, Manager\");\r\n\r\n gOpt.setArgs(MAX_OPTIONS);\r\n gOpt.setType(new String());\r\n gOpt.setRequired(false);\r\n options.addOption(gOpt);\r\n\r\n Option sOpt = new Option(\"s\", MetaData.SCHOOLTYPE, false,\r\n \"Pre-primair onderwijs, Primair onderwijs, Voortgezet onderwijs\");\r\n\r\n sOpt.setArgs(MAX_OPTIONS);\r\n sOpt.setType(new String());\r\n sOpt.setRequired(false);\r\n options.addOption(sOpt);\r\n\r\n Option vOpt = new Option(\"v\", MetaData.SCHOOLDISCIPLINE, false, \"Toepasselijke vakkenlijst\");\r\n\r\n vOpt.setArgs(MAX_OPTIONS);\r\n vOpt.setType(new String());\r\n vOpt.setRequired(false);\r\n options.addOption(vOpt);\r\n\r\n Option dOpt = new Option(\"d\", MetaData.DIDACTICFUNCTION, false, \"Oefening, Simulatie, enz\");\r\n\r\n dOpt.setArgs(MAX_OPTIONS);\r\n dOpt.setType(new String());\r\n dOpt.setRequired(false);\r\n options.addOption(dOpt);\r\n\r\n Option pOpt = new Option(\"p\", MetaData.PRODUCTTYPE, false, \"Document, Afbeelding, Video, enz\");\r\n\r\n pOpt.setArgs(MAX_OPTIONS);\r\n pOpt.setType(new String());\r\n pOpt.setRequired(false);\r\n options.addOption(pOpt);\r\n\r\n Option bOpt = new Option(\"b\", MetaData.PROFESSIONALSITUATION, false, \"...een zeer lange lijst...\");\r\n\r\n bOpt.setArgs(MAX_OPTIONS);\r\n bOpt.setType(new String());\r\n bOpt.setRequired(false);\r\n options.addOption(bOpt);\r\n\r\n Option cOpt = new Option(\"c\", MetaData.COMPETENCE, false, \"Interpersoonlijk, Pedagogisch, enz..\");\r\n\r\n cOpt.setArgs(MAX_OPTIONS);\r\n cOpt.setType(new String());\r\n cOpt.setRequired(false);\r\n options.addOption(cOpt);\r\n\r\n Option hOpt = new Option(\"h\", \"help\", false, \"Laat deze helptekst zien\");\r\n\r\n hOpt.setArgs(0);\r\n hOpt.setType(new String());\r\n hOpt.setRequired(false);\r\n options.addOption(hOpt);\r\n\r\n return options;\r\n\r\n }", "title": "" }, { "docid": "4ae9cb50740d25423b43ed1ce90f9c4f", "score": "0.61856604", "text": "@SuppressWarnings(value = {\"unchecked\", \"unused\"})\n\tpublic void parse(String[] args)\n\t{\n\t\tif(args.length == 0 && !_zeroarg)\n\t\t{\n\t\t\tusage();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif(_autohelp)\n\t\t{\n\t\t\taddCommandListener(this);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tremoveCommandListener(this);\n\t\t}\n\n\t\t// reset all the options (fix for multiple parse bug)\n\t\tresetOptions();\n\n\t\tOptionHolder val = null;\n\n\t\tboolean copyargs = false;\n\t\t_leftovers = new ArrayList();\n\t\t\n\t\tfor(int i = 0; i < args.length; ++i)\n\t\t{\n\t\t\tString\ts = args[i];\n\n\t\t\t// executive decision: if the argument is\n\t\t\t// empty, it's silently ignored\n\n\t\t\tif(s == null || s.length() == 0)\n\t\t\t\tcontinue;\n\n\t\t\tif(s.equals(_eoargs))\n\t\t\t{\n\t\t\t\tcopyargs = true;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif(copyargs)\n\t\t\t{\n\t\t\t\t_leftovers.add(s);\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// take care of the normal processing\n\t\t\ti = processArg(i, args);\n\t\t}\n\t}", "title": "" }, { "docid": "c7f2b51f36fabaa6833aa967c6f29efa", "score": "0.6165326", "text": "public ArgumentsParser(String[] args){\r\n\r\n this.args = args;\r\n\r\n\r\n options = new Options();\r\n\r\n OptionGroup sourceTypeOptionGroup = new OptionGroup();\r\n\r\n Option csvOption = new Option(\"c\", \"csv\", true,\r\n \"Path to csv source table\");\r\n csvOption.setArgs(1);\r\n csvOption.setRequired(false);\r\n\r\n Option linkOption = new Option(\"l\", \"link\", true,\r\n \"Link to Google docs doc\");\r\n linkOption.setArgs(1);\r\n linkOption.setRequired(false);\r\n\r\n Option xmlsOption = new Option(\"x\", \"xmls\", true,\r\n \"Path to xls table\");\r\n xmlsOption.setArgs(1);\r\n xmlsOption.setRequired(false);\r\n\r\n sourceTypeOptionGroup.addOption(csvOption);\r\n sourceTypeOptionGroup.addOption(linkOption);\r\n sourceTypeOptionGroup.addOption(xmlsOption);\r\n sourceTypeOptionGroup.setRequired(true);\r\n\r\n options.addOptionGroup(sourceTypeOptionGroup);\r\n\r\n OptionGroup templateOptions = new OptionGroup();\r\n Option templatePathOption = new Option(\"t\", \"template\", true,\r\n \"Path to template docx file\") ;\r\n templatePathOption.setRequired(true);\r\n templatePathOption.setArgs(1);\r\n templateOptions.addOption(templatePathOption);\r\n options.addOptionGroup(templateOptions);\r\n\r\n OptionGroup outPathOptions = new OptionGroup();\r\n Option outputFolderPathOption = new Option(\"o\", \"outpath\", true,\r\n \"Path to generated files folder\") ;\r\n outputFolderPathOption.setRequired(false);\r\n outputFolderPathOption.setArgs(1);\r\n outPathOptions.addOption(outputFolderPathOption);\r\n options.addOptionGroup(outPathOptions);\r\n\r\n }", "title": "" }, { "docid": "e622178b95d26daa0f6d86ed809f0603", "score": "0.6159553", "text": "protected void parseOptions() {\n try {\n if (!hasOptions()) {\n return;\n }\n Matcher matcher = optionsPattern.matcher(options);\n if (!matcher.matches()) {\n throw new IllegalArgumentException(\"Malformed URL Options\");\n }\n resize = Integer.parseInt(matcher.group(1));\n crop = false;\n if (matcher.group(2) != null) {\n crop = true;\n }\n\n // Check resize against the allowlist\n if (resize > SIZE_LIMIT || resize < 0) {\n throw new IllegalArgumentException(\"Invalid resize\");\n }\n } catch (NumberFormatException e) {\n options = null;\n throw new IllegalArgumentException(\"Invalid resize\", e);\n }\n }", "title": "" }, { "docid": "1cfcd223d7287519bc5066edd5cab882", "score": "0.61202914", "text": "public static void parseArgs(String[] args) {\n\n SimpleDateFormat dateFormatter = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\n String argument = \"\";\n for (String arg : args) {\n if (argument.length() > 0) {\n // \"arg\" contains the previous arguments parameter\n if (argument.equals(\"r\")) {\n requestConfigFilename = arg;\n } else if (argument.equals(\"u\")) {\n kayentaURL = arg;\n } else if (argument.equals(\"m\")) {\n metricsAccount = arg;\n } else if (argument.equals(\"s\")) {\n storageAccount = arg;\n } else if (argument.equals(\"t0\")) {\n try {\n analysisStartTime = dateFormatter.parse(arg);\n } catch (ParseException e) {\n System.out.println(\"An error was encountered while parsing the analysis start time argument.\");\n printHelp();\n System.exit(1);\n }\n } else if (argument.equals(\"t1\")) {\n try {\n analysisEndTime = dateFormatter.parse(arg);\n } catch (ParseException e) {\n System.out.println(\"An error was encountered while parsing the analysis start end argument.\");\n printHelp();\n System.exit(1);\n }\n }\n argument = \"\";\n } else if (arg.startsWith(\"-\")) {\n argument = arg.substring(1);\n // process arguments that don't have parameters here...\n if (argument.equals(\"?\")) {\n printHelp();\n System.exit(0);\n } else if (argument.equals(\"v\")) {\n \tverbose = true;\n \targument = \"\";\n }\n }\n }\n\n if (analysisStartTime == null) {\n // default start time to 1 hour ago\n Date now = new Date();\n analysisStartTime = new Date(now.getTime() - (ONE_HOUR_IN_MILLIS)); \n }\n\n if (analysisEndTime == null) {\n // default end time to 1 hour after start time\n analysisEndTime = new Date(analysisStartTime.getTime() + (ONE_HOUR_IN_MILLIS));\n }\n \n }", "title": "" }, { "docid": "4f16d62a239484896605bea010a18f32", "score": "0.60879356", "text": "public static CommandLine parseArguments(Options options, String args[]) throws ParseException {\n\t\tCommandLineParser parser = new BasicParser();\n\t\treturn parser.parse(options, args);\n\t}", "title": "" }, { "docid": "1ce505174c86410fca5275c1ff36d7cb", "score": "0.60676986", "text": "public static void main(String[] args) throws ParserException, IOException {\n if (args.length == 0) {\n printErrorMessageAndExit(\"Missing command line arguments\");\n }\n\n int optionPrint = 0;\n int optionTextFile = 0;\n int optionPrettyPrint = 0;\n String prettyFile = \"\";\n String departDate = \"\";\n String arrivalDate = \"\";\n String fileName = \"\";\n int numberOfOptions = 0;\n\n ArrayList<String> flightCommandArgs = new ArrayList<String>();\n\n for (int i = 0; i < args.length; i++) {\n // if -README , print README and exit\n if (args[i].equals(\"-README\")) {\n printReadMeAndExit();\n }\n if (args[i].equals(\"-print\")) {\n optionPrint = 1;\n numberOfOptions += 1;\n continue;\n }\n\n //if -textFile, turn text file flag on, also, store the next argument as the file name\n if (args[i].equals(\"-textFile\")) {\n fileName = args[i + 1];\n optionTextFile = 1;\n numberOfOptions += 2;\n continue;\n }\n\n if(args[i].equals(\"-pretty\")){\n prettyFile = args[i + 1];\n optionPrettyPrint =1;\n numberOfOptions += 2;\n }\n }\n //if the number of arguments are less than 9 + the options throw error\n if (args.length < 10 + numberOfOptions) {\n printErrorMessageAndExit(\"Missing command line arguments ,too few command line arguments, please enter command line arguments\");\n }\n //if the number of arguments are greater than 9 + the number of options entered\n if (args.length > 10 + numberOfOptions) {\n printErrorMessageAndExit(\"Additional command line arguments present please reenter\");\n }\n\n for (int i = 0; i < args.length; i++) {\n if (args[i].equals(\"-print\")) {\n continue;\n }\n\n //if -textFile option the do i++ as it has the filename\n if (args[i].equals(\"-textFile\")) {\n i++;\n continue;\n }\n\n if(args[i].equals(\"-pretty\")){\n i++;\n continue;\n }\n //appends command line argument into array list\n flightCommandArgs.add(args[i]);\n }\n\n String flightNumberCheck = flightCommandArgs.get(1);\n try {\n if (!flightNumberCheck.matches(\"[0-9]+\")) {\n throw new IllegalArgumentException();\n }\n } catch (IllegalArgumentException e) {\n System.err.println(\"Flight number is invalid. Flight number must be integer\");\n System.exit(1);\n }\n\n\n File exists = new File(fileName);\n //if file exists, parse file contents\n if (optionTextFile == 1 && exists.isFile()) {\n departDate = flightCommandArgs.get(3) + \" \" + flightCommandArgs.get(4) + \" \" + flightCommandArgs.get(5);\n arrivalDate = flightCommandArgs.get(7) + \" \" + flightCommandArgs.get(8) + \" \" + flightCommandArgs.get(9);\n TextParser parseText = new TextParser(fileName);\n Airline airline = (Airline) parseText.parse();\n // initialize flight values\n checkIfEqual(flightCommandArgs.get(0), airline.getName());\n Flight flight = new Flight(Integer.parseInt(flightCommandArgs.get(1)),\n flightCommandArgs.get(2), departDate, flightCommandArgs.get(6), arrivalDate);\n airline.addFlight(flight);\n\n if (optionPrettyPrint == 1) {\n PrettyPrinter prt = new PrettyPrinter(prettyFile);\n prt.dump(airline);\n }\n\n // dump updated contents into file\n TextDumper dumpToFile = new TextDumper(fileName);\n dumpToFile.dump(airline);\n System.exit(1);\n\n\n }\n\n ArrayList<AbstractFlight> flightArray = new ArrayList<AbstractFlight>();\n Airline airline = new Airline(flightCommandArgs.get(0), flightArray);\n departDate = flightCommandArgs.get(3) + \" \" + flightCommandArgs.get(4) + \" \" + flightCommandArgs.get(5);\n arrivalDate = flightCommandArgs.get(7) + \" \" + flightCommandArgs.get(8) + \" \" + flightCommandArgs.get(9);\n Flight flight = new Flight(Integer.parseInt(flightCommandArgs.get(1)),\n flightCommandArgs.get(2), departDate, flightCommandArgs.get(6), arrivalDate);\n\n airline.addFlight(flight);\n // if printFlag is on, print new flight description\n if (optionPrint == 1) {\n System.out.println(\"Airline \" + airline.getName());\n System.out.println(flight.toString());\n }\n // if textFileFlag is on, dump this new airline and flight into a newly created file\n if (optionTextFile == 1) {\n TextDumper dumpToFile = new TextDumper(fileName);\n dumpToFile.dump(airline);\n }\n\n if (optionPrettyPrint == 1) {\n\n PrettyPrinter prt = new PrettyPrinter(prettyFile);\n prt.dump(airline);\n }\n\n System.exit(1);\n }", "title": "" }, { "docid": "bb007530f70e48f9ad1a345202c2dbd1", "score": "0.6064292", "text": "private static void _parseArguments(String[] args)\n {\n ArgumentParser ap = new ArgumentParser(args);\n\n ap.add(new Debug());\n ap.add(new Library());\n ap.add(new Help());\n\n ap.parse();\n }", "title": "" }, { "docid": "eb64d414dc889b2ce58c0a357a7f2b5c", "score": "0.6056716", "text": "public void parseCmd(String[] args){\n\n\t CmdLineParser parser = new CmdLineParser();\n\t CmdLineParser.Option debugOption = parser.addBooleanOption('X', \"debug\");\n\t CmdLineParser.Option localizerServerOption = parser.addStringOption('l', \"localizerServer\");\n\t CmdLineParser.Option localizerPortNumOption = parser.addIntegerOption('p', \"localizerPortNum\");\n\t \n\t try {\n\t parser.parse(args);\n\t }\n\t catch ( CmdLineParser.OptionException e ) {\n\t System.err.println(e.getMessage());\n\t System.out.println(\"parseCmd had an error\\n\"+ usage );\n\t System.exit(2);\n\t }\t \n\t \n\t //\t String portname = args[0]; // e.g. \"/dev/cu.KeySerial1\", or \"COM5\" or \"192.168.1.1\"\n\t setLocalizerServer(((String)parser.getOptionValue(localizerServerOption)));\n\t setLocalizerPortNum(((Integer)parser.getOptionValue(localizerPortNumOption, getLocalizerPortNum())).intValue());\n\t\t\t//\t String cmd = args[1+argOffset];\n\n\t Boolean debugBool = (Boolean)parser.getOptionValue(debugOption,new Boolean(false));\n\t setDebug(debugBool.booleanValue());\n\t System.out.println(\"debug is (\"+isDebug()+\")\");\n\t //System.out.println(\"*** end of parseCmd\");\n\t }", "title": "" }, { "docid": "e98cd7ff2c334979d15eca060d35ac07", "score": "0.604799", "text": "private static void handleInputArguments(String[] args) {\n\n // Create Options object\n Options options = new Options();\n\n // Add configFile and outputFolder options\n options.addOption(\"configFile\", true, \"Configuration file to be used (address within \" +\n \"project folder). By default, 'src/main/resources/config.properties' is used.\");\n options.addOption(\"outputFolder\", true, \"Folder in which to collect all results \" +\n \"(address within project folder). By default, 'Results/<current date and time>/' is used. The \" +\n \"folder will be created if it does not exist.\");\n options.addOption(\"dev\", false, \"Removes security question before erasing the content\" +\n \"inside output folder (if the folder already exists).\");\n options.addOption(\"help\", false, \"Print input arguments usage information.\");\n\n // Create help formatter in case it will be needed\n HelpFormatter formatter = new HelpFormatter();\n\n // Parse command line arguments and perform appropriate actions\n // Create a parser and a boolean variable for later control\n CommandLineParser parser = new DefaultParser();\n boolean devBoolean = false;\n try {\n // Parse command line arguments into a CommandLine instance\n CommandLine cmd = parser.parse(options, args);\n // Check if help argument has been passed\n if(cmd.hasOption(\"help\")) {\n // If it has, then print formatted help to screen and stop program\n formatter.printHelp( \"spatial-housing-model\", options );\n System.exit(0);\n }\n // Check if dev argument has been passed\n if(cmd.hasOption(\"dev\")) {\n // If it has, then activate boolean variable for later control\n devBoolean = true;\n }\n // Check if configFile argument has been passed\n if(cmd.hasOption(\"configFile\")) {\n // If it has, then use its value to initialise the respective member variable\n configFileName = cmd.getOptionValue(\"configFile\");\n } else {\n // If not, use the default value to initialise the respective member variable\n configFileName = \"src/main/resources/config.properties\";\n }\n // Check if outputFolder argument has been passed\n if(cmd.hasOption(\"outputFolder\")) {\n // If it has, then use its value to initialise the respective member variable\n outputFolder = cmd.getOptionValue(\"outputFolder\");\n // If outputFolder does not end with \"/\", add it\n if (!outputFolder.endsWith(\"/\")) { outputFolder += \"/\"; }\n } else {\n // If not, use the default value to initialise the respective member variable\n outputFolder = \"Results/\" + Instant.now().toString().replace(\":\", \"-\") + \"/\";\n }\n }\n catch(ParseException pex) {\n // Catch possible parsing errors\n System.err.println(\"Parsing failed. Reason: \" + pex.getMessage());\n // And print input arguments usage information\n formatter.printHelp( \"spatial-housing-model\", options );\n }\n\n // Check if outputFolder directory already exists\n File f = new File(outputFolder);\n if (f.exists() && !devBoolean) {\n // If it does, try removing everything inside (with a warning that requests approval!)\n Scanner reader = new Scanner(System.in);\n System.out.println(\"\\nATTENTION:\\n\\nThe folder chosen for output, '\" + outputFolder + \"', already exists and \" +\n \"might contain relevant files.\\nDo you still want to proceed and erase all content?\");\n String reply = reader.next();\n if (!reply.equalsIgnoreCase(\"yes\") && !reply.equalsIgnoreCase(\"y\")) {\n // If user does not clearly reply \"yes\", then stop the program\n System.exit(0);\n } else {\n // Otherwise, try to erase everything inside the folder\n try {\n FileUtils.cleanDirectory(f);\n } catch (IOException ioe) {\n // Catch possible folder cleaning errors\n System.err.println(\"Folder cleaning failed. Reason: \" + ioe.getMessage());\n }\n }\n } else {\n // If it doesn't, simply create it\n f.mkdirs();\n }\n\n // Copy config file to output folder\n try {\n FileUtils.copyFileToDirectory(new File(configFileName), new File(outputFolder));\n } catch (IOException ioe) {\n System.err.println(\"Copying config file to output folder failed. Reason: \" + ioe.getMessage());\n }\n }", "title": "" }, { "docid": "530183b187e1836b6eac00f27eba9abc", "score": "0.60426724", "text": "public static void main(String[] args) {\n Option<String> databaseName = string(\"config.databaseName\", MyCategory.STANDARD, \"name of the database\");\n Option<Integer> connCount = integer(\"config.connCount\", MyCategory.EXTENDED, \"connection count\");\n Option<Boolean> authenticate = bool(\"config.authenticate\", MyCategory.SPECIAL, \"do authentication\");\n Option<AccountType> acctType = enumeration(\"config.acctType\", MyCategory.OTHER, AccountType.class, \"account type\");\n\n // With options...\n Option<String> username = string(\"config.username\", MyCategory.STANDARD, new String[]{\"root\", \"guest\"}, \"account name\");\n\n // With default...\n Option<Boolean> timeout = bool(\"config.timeout\", MyCategory.EXTENDED, true, \"timeout connections\");\n\n // With both...\n Option<Integer> timeoutSecs = integer(\"config.timeoutSecs\", MyCategory.EXTENDED, new Integer[]{15, 30, 60}, 30, \"timeout in seconds\");\n\n // Load options; value is retrieved once and cached.\n String dbname = databaseName.load();\n AccountType accountType = acctType.load();\n\n // Or reloading the property can be forced...\n System.setProperty(\"config.databaseName\", \"customers\");\n dbname = databaseName.reload();\n\n // options can be queried to see if they were provided\n if (databaseName.isSpecified()) {\n // logic for setting database name\n }\n\n // If your system has a standard property prefix, it can be specified in the\n // option. The prefix will be omitted from formatted output.\n Option<String> firstName = string(\"config\", \"first.name\", MyCategory.STANDARD, \"...\");\n\n // formatted output of all options\n System.out.println(\n Option.formatOptions(\n databaseName, connCount, authenticate, acctType,\n username, timeout, timeoutSecs, firstName));\n\n // short output of current settings\n System.out.println(\n Option.formatValues(\n databaseName, connCount, authenticate, acctType,\n username, timeout, timeoutSecs, firstName));\n }", "title": "" }, { "docid": "c7f9f0bbc7e4631faacd2a8c5d4c7ec6", "score": "0.6024624", "text": "public void parseArgs(String[] args) {\n this.inputFile = args[3];\n this.outputFile = args[4];\n if (!args[5].isEmpty()) {\n\t //this.delta = Double.parseDouble(args[5]);\n\t this.iterations = Integer.parseInt(args[5]);\n }\n if (!args[6].isEmpty()) {\n this.df = Double.parseDouble(args[6]);\n }\n }", "title": "" }, { "docid": "76b9e1e91c35bcc0fef3fd77b22e7bbf", "score": "0.60176927", "text": "private static void parseCommandLineArguments(String[] args)\n\t{\n\t\tfor (int i = 0; i < args.length; i++)\n\t\t{\n\t\t\tif (args[i].equals(\"-alpha\"))\n\t\t\t\tLDA.alpha = Double.parseDouble(args[i + 1]);\n\t\t\telse if (args[i].equals(\"-beta\"))\n\t\t\t\tLDA.beta = Double.parseDouble(args[i + 1]);\n\t\t\telse if (args[i].equals(\"-K\"))\n\t\t\t\tLDA.K = Integer.parseInt(args[i + 1]);\n\t\t\telse if (args[i].equals(\"-iterations\"))\n\t\t\t\tLDA.iterations = Integer.parseInt(args[i + 1]);\n\t\t\telse if (args[i].equals(\"-burn_in\"))\n\t\t\t\tLDA.burnIn = Integer.parseInt(args[i + 1]);\n\t\t\telse if (args[i].equals(\"-theta_file\"))\n\t\t\t\tLDA.thetaFile = args[i + 1];\n\t\t\telse if (args[i].equals(\"-phi_file\"))\n\t\t\t\tLDA.phiFile = args[i + 1];\n\t\t\telse if (args[i].equals(\"-input_file\"))\n\t\t\t\tLDA.input = args[i + 1];\n\t\t\telse if (args[i].equals(\"-likelihood_file\"))\n\t\t\t\tLDA.likelihoodFile = args[i + 1];\n\t\t}\n\t}", "title": "" }, { "docid": "07ae9eea8af2b8d24b16ffa0ce5e90b1", "score": "0.60071945", "text": "@Override\n public Map< CommandConstants, String > parser( String [] args )\n {\n // FIXME this method needs changes refering to SelectiveTestCaseCommandParser\n Map< CommandConstants, String > parameters = new HashMap< CommandConstants, String >();\n for( int index = 0; index < args.length; index++ )\n {\n String arg = args[ index ];\n if( arg.startsWith( \"-\" ) )\n {\n if( arg.equals( \"--help\" ) )\n {\n throw new IllegalArgumentException( helpMessage() );\n }\n CommandConstants commandConstants = CommandConstants.getCommandConstatnt( arg );\n\n index++;\n if( index < args.length )\n {\n String value = args[ index ];\n if( !value.startsWith( \"-\" ) )\n {\n switch( commandConstants )\n {\n case YAML:\n // parameters[ 0 ] = value;\n break;\n case DBHOST:\n // parameters[ 1 ] = value;\n break;\n case DBPORT:\n // parameters[ 2 ] = value;\n break;\n case DBNAME:\n // parameters[ 3 ] = value;\n break;\n default:\n break;\n }\n }\n else\n {\n throw new IllegalArgumentException( helpMessage() );\n }\n }\n }\n }\n\n /*\n * Validate the required parameters\n */\n // validate( parameters );\n return parameters;\n }", "title": "" }, { "docid": "ba943247c614ee4dfc46d1b5008390bc", "score": "0.6007131", "text": "public String[] parse(String[] args) {\r\n List<String> newArgsList = new ArrayList<String>();\r\n\r\n for (String arg : args) {\r\n if (arg.startsWith(\"-\")) {\r\n if (arg.equalsIgnoreCase(\"-i\") || arg.equalsIgnoreCase(\"-is.interactive\")) {\r\n commandLine.put(\"is.interactive\", \"\");\r\n //newArgsList.add(\"-i\"); \r\n }\r\n else if (arg.toLowerCase().startsWith(\"-deps.file.name=\")) {\r\n int index = arg.indexOf(\"=\");\r\n\r\n List<String> depsFileName = (List<String>) commandLine.get(\"deps.file.name\");\r\n if(depsFileName == null) {\r\n depsFileName = new ArrayList<String>();\r\n commandLine.put(\"deps.file.name\", depsFileName);\r\n }\r\n\r\n depsFileName.add(arg.substring(index + 1));\r\n }\r\n else if (arg.toLowerCase().startsWith(\"-classpath.file.name=\")) {\r\n int index = arg.indexOf(\"=\");\r\n\r\n commandLine.put(\"classpath.file.name\", arg.substring(index + 1));\r\n }\r\n else if (arg.toLowerCase().startsWith(\"-main.class.name=\")) {\r\n int index = arg.indexOf(\"=\");\r\n\r\n commandLine.put(\"main.class.name\", arg.substring(index + 1));\r\n }\r\n else if(arg.equalsIgnoreCase(\"-wait\")) {\r\n commandLine.put(\"wait.mode\", \"true\");\r\n }\r\n else if(arg.equalsIgnoreCase(\"-verbose\")) {\r\n commandLine.put(\"verbose\", \"true\");\r\n }\r\n else if(arg.equalsIgnoreCase(\"-pomstarter\")) {\r\n commandLine.put(\"pomstarter.mode\", \"true\");\r\n }\r\n else {\r\n newArgsList.add(arg);\r\n }\r\n }\r\n else {\r\n newArgsList.add(arg);\r\n }\r\n }\r\n\r\n String[] newArgs = new String[newArgsList.size()];\r\n\r\n newArgsList.toArray(newArgs);\r\n\r\n return newArgs;\r\n }", "title": "" }, { "docid": "2432a175073cd4b6098102a13f1cedd3", "score": "0.5980191", "text": "private static void parseCommandArgs(String [] args,Set<String> commandArgs){\n\t\tif(args.length<2)\n\t\t{\n\t\t\tSystem.err.println(\"Attenzione: file non trovato!\");\n\t\t\tSystem.exit(-1);\n\t\t}\n\t\tfor(int i=1;i<args.length;i++){\n\t\t\tif(optMatch(args[i])) break;\n\t\t\tcommandArgs.add(args[i]);\n\t\t}\n\t\tif(commandArgs.isEmpty()){\n\t\t\tSystem.err.println(\"Attenzione: file non trovato!\");\n\t\t\tSystem.exit(-1);\n\t\t}\n\t}", "title": "" }, { "docid": "6166b281b6246d63927931bdceaed274", "score": "0.59770834", "text": "private static Map<String,Object> parseOptions(String[] args){\n\t\t//TODO le opzioni vengono riutilizzate qui.\n\t\tMap<String,Object> options= new TreeMap<String,Object>();\n\t\tfor(int i=0;i<args.length;i++){\n\t\t\t/*if(args[i].equals(OPTPIN)){\n\t\t\t\tif(i+1>=args.length || !(args[i+1].matches(\"[a-zA-Z0-9]+\")))\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.err.println(\"Attenzione: \"+OPTPIN+\" non ha un'opzione valida!\");\n\t\t\t\t\t\tSystem.exit(-1);\n\t\t\t\t\t}\n\t\t\t\toptions.put(CommandProxyInterface.PIN, args[i+1].toCharArray());\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tif(args[i].equals(OPTALIAS)){\n\t\t\t\tif(i+1>=args.length)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Attenzione: \"+OPTALIAS+\" non ha un'opzione valida!\");\n\t\t\t\t\tSystem.exit(-1);\n\t\t\t\t}\n\t\t\t\toptions.put(CommandProxyInterface.ALIAS, args[i+1]);\n\t\t\t\ti++;\n\t\t\t}*/\n\t\t\tif(args[i].equals(OPTOUTDIR_EXTENDED) || args[i].equals(OPTOUTDIR_SHORT)){\n\t\t\t\tif(i+1>=args.length)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Attenzione: \"+args[i]+\" non ha un'opzione valida!\");\n\t\t\t\t\tSystem.exit(-1);\n\t\t\t\t}\n\t\t\t\toptions.put(CommandProxyInterface.OUTDIR, args[i+1]);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}//fine for\n\t\t\n\t\treturn options;\n\t}", "title": "" }, { "docid": "eb29a02f19bbee03bdc8fc78c5622d3d", "score": "0.5966455", "text": "protected void processProgramOptions() throws CommandException {\n if (!programOpts.isOptionsSet()) {\n logger.finer(\"Parsing program options\");\n /*\n * asadmin options and command options are intermixed.\n * Parse the entire command line for asadmin options,\n * removing them from the command line, and ignoring\n * unknown options.\n */\n Parser rcp = new Parser(argv, 0,\n ProgramOptions.getValidOptions(), true);\n ParameterMap params = rcp.getOptions();\n List<String> operands = rcp.getOperands();\n argv = operands.toArray(new String[operands.size()]);\n if (params.size() > 0) {\n // at least one program option specified after command name\n logger.finer(\"Update program options\");\n programOpts.updateOptions(params);\n initializeLogger();\n initializePasswords();\n if (!programOpts.isTerse() &&\n !(params.size() == 1 && params.get(\"help\") != null)) {\n // warn about deprecated use of program options\n // (except --help)\n // XXX - a lot of work for a nice message...\n Collection<ParamModel> programOptions =\n ProgramOptions.getValidOptions();\n StringBuilder sb = new StringBuilder();\n sb.append(\"asadmin\");\n for (Map.Entry<String,List<String>> p : params.entrySet()) {\n // find the corresponding ParamModel\n ParamModel opt = null;\n for (ParamModel vo : programOptions) {\n if (vo.getName().equalsIgnoreCase(p.getKey())) {\n opt = vo;\n break;\n }\n }\n if (opt == null) // should never happen\n continue;\n\n // format the option appropriately\n sb.append(\" --\").append(p.getKey());\n List<String> pl = p.getValue();\n // XXX - won't handle multi-values\n if (opt.getType() == Boolean.class ||\n opt.getType() == boolean.class) {\n if (!pl.get(0).equalsIgnoreCase(\"true\"))\n sb.append(\"=false\");\n } else {\n if (pl != null && pl.size() > 0)\n sb.append(\" \").append(pl.get(0));\n }\n }\n sb.append(\" \").append(name).append(\" [options] ...\");\n logger.info(strings.get(\"DeprecatedSyntax\"));\n logger.info(sb.toString());\n }\n }\n }\n }", "title": "" }, { "docid": "06171e6bce691fcfef8ed8822a6059bb", "score": "0.59610575", "text": "public void parseCommandLineArgs(String[]args){\n\t\tint required = 0; \n\t\t\n\t\tint i = 0;\n\t\tString arg = null;\n\t\t//parse command line arguments\n\t\twhile (i < args.length && args[i].startsWith(\"-\")){\n\t\t\targ = args[i++];\n\t\t\t\n\t\t\t//if find -n, parse out frame number\n\t\t\tif(arg.equals(\"-n\")){\n\t\t\t\trequired++;\n\t\t\t\tif(i<args.length){\n\t\t\t\t\tframe_num = Integer.parseInt(args[i++]);\n\t\t\t\t\ttableCapacity=frame_num;\n\t\t\t\t} \n\t\t\t}\n\t\t\t\n\t\t\t//if find -a, parse out algorithm type\n\t\t\tif(arg.equals(\"-a\")){\n\t\t\t\trequired++;\n\t\t\t\tif(i<args.length){\n\t\t\t\t\talgorithm = args[i++];\n\t\t\t\t\tif(!algorithm.equals(\"clock\")&&!algorithm.equals(\"nru\")&&!algorithm.equals(\"opt\")&&!algorithm.equals(\"work\")){\n\t\t\t\t\t\tSystem.out.println(\"Please enter a valid algorithm type!\");\n\t \t\t\tSystem.exit(1);\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\t}\n\t\t\t//if find -r (optional), parse out r;\n\t\t\t//if no, r remains with default value -1\n\t\t\tif(arg.equals(\"-r\")){\n\t\t\t\tif(i<args.length){\n\t\t\t\t\tr = Integer.parseInt(args[i++]);\n\t\t\t\t} \n\t\t\t}\n\t\t\t\n\t\t\t//if find -t (optional), parse out t\n\t\t\t//if no, t remains with default value -1\n\t\t\tif(arg.equals(\"-t\")){\n\t\t\t\tif(i<args.length){\n\t\t\t\t\ttau = Integer.parseInt(args[i++]);\n\t\t\t\t} \n\t\t\t}\n\t\t}\n\t\t\n\t\t//if last cmd line argument contains file type \"trace\", parse out filename\n\t\tif(!args[args.length-1].contains(\"trace\")){\n\t\t\tSystem.out.print(\"Please input a trace file!\");\n\t\t\tSystem.exit(1);\n\t\t} else {\n\t\t\trequired++;\n\t\t\tinput_file = args[args.length-1];\n\t\t}\n\t\t\n\t\t/*\n\t\t * if we counted that required input types is less than 3, it means user is \n\t\t * missing more than 1 arguments. \n\t\t */\n\t\tif(required != 3){\n\t\t\tSystem.out.println(\"Please make sure you entered n, a, and tracefile!\");\n\t\t\tSystem.exit(1);\n\t\t}\n\t}", "title": "" }, { "docid": "c09201df9340f48fd33634c319f3b159", "score": "0.59567255", "text": "private void parseArgs(String[] args) throws Exception {\n for (int i=0;i<args.length;i++) {\n if (!args[i].startsWith(\"-\")) {\n throw new Exception(\"Incorrect format. Flags must be preceeded by a dash.\");\n }\n char flag=args[i].charAt(1);\n String option=null;\n if (args[i].length()>2) {\n option=args[i].substring(2);\n } else if (++i<args.length && !args[i].startsWith(\"-\")) {\n option=args[i];\n } else {\n option=new String(\"\");\n i--;\n }\n hash.put(new Character(flag),option);\n }\n}", "title": "" }, { "docid": "df67eef49ebdabd62f621792a4030a28", "score": "0.59521514", "text": "private static void parseCommandArgs(String[] args) {\r\n\t\t// parse the input\r\n\t\tif(args.length < 2) { // jsut making sure we have enough command line arguements\r\n\t\t\tinputErrorExitGracefully();\r\n\t\t}\r\n\t\t\r\n\t\t// nfa first file case\r\n\t\tif(args[0].equals(NFA_FILE_DELIMITER)) {\r\n\t\t\tif(args.length < 4) {\r\n\t\t\t\tinputErrorExitGracefully();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tnfa_file = args[1];\r\n\t\t\t\r\n\t\t\t// dfa case\r\n\t\t\tif(args[2].equals(DFA_FILE_DELIMITER)) {\r\n\t\t\t\tif(args.length < 6) {\r\n\t\t\t\t\tinputErrorExitGracefully();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tdfa_file = args[3];\r\n\t\t\t\tregex = args[4];\r\n\t\t\t\tfile = args[5];\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// no dfa\r\n\t\t\telse {\r\n\t\t\t\tif(args[2].startsWith(\"-\")) { // make sure we're not giving bad input arguements \r\n\t\t\t\t\tinputErrorExitGracefully();\r\n\t\t\t\t}\r\n\t\t\t\tregex = args[2];\r\n\t\t\t\tfile = args[3];\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t// dfa first file case\r\n\t\telse if(args[0].equals(DFA_FILE_DELIMITER)) {\r\n\t\t\tif(args.length < 4) {\r\n\t\t\t\tinputErrorExitGracefully();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tdfa_file = args[1];\r\n\t\t\t\r\n\t\t\t//nfa case\r\n\t\t\tif(args[2].equals(NFA_FILE_DELIMITER)) {\r\n\t\t\t\tif(args.length < 4) {\r\n\t\t\t\t\tinputErrorExitGracefully();\r\n\t\t\t\t}\r\n\t\t\t\tnfa_file = args[3];\r\n\t\t\t\tregex = args[4];\r\n\t\t\t\tfile = args[5];\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//no nfa\r\n\t\t\telse {\r\n\t\t\t\tif(args[2].startsWith(\"-\")) { // make sure we're not giving bad input arguments \r\n\t\t\t\t\tinputErrorExitGracefully();\r\n\t\t\t\t}\r\n\t\t\t\tregex = args[2];\r\n\t\t\t\tfile = args[3];\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// no nfa or dfa\r\n\t\telse {\r\n\t\t\tif(args[0].startsWith(\"-\")) { // make sure we're not giving bad input arguments \r\n\t\t\t\tinputErrorExitGracefully();\r\n\t\t\t}\r\n\t\t\tregex = args[0];\r\n\t\t\tfile = args[1];\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3fd9d8bdffd74bba4298c37b14a0554e", "score": "0.59295857", "text": "@Nullable\n private static AppConfiguration parseCli(String[] args) {\n Options options = new Options();\n\n options.addOption(Option\n .builder(\"text\")\n .desc(String.format(\"The text to display in the image. Defaults to '%s'\", DefaultText))\n .required(false)\n .hasArg()\n .argName(\"text\")\n .build());\n\n options.addOption(\n Option\n .builder(\"path\")\n .desc(String.format(\"The path to a file where the output image bytes will be written (will override existing files). Defaults to '%s'\", DefaultPath))\n .required(false)\n .hasArg()\n .argName(\"path\")\n .build());\n\n options.addOption(\n Option\n .builder(\"theme\")\n .desc(String.format(\"The name of the theme. Not all themes implement the challenge correctly. Available themes 'interleaved', 'flat', 'pineapple', 'wat', 'green', 'blue', 'red'. Defaults to '%s'\", DefaultTheme))\n .required(false)\n .hasArg()\n .argName(\"theme\")\n .build());\n\n CommandLineParser parser = new DefaultParser();\n\n CommandLine cmd;\n try {\n cmd = parser.parse(options, args);\n } catch (ParseException e) {\n HelpFormatter formatter = new HelpFormatter();\n formatter.printHelp(\"app\", options);\n return null;\n }\n\n String text;\n if (cmd.hasOption(\"text\"))\n text = cmd.getOptionValue(\"text\");\n else\n text = DefaultText;\n\n String path;\n if (cmd.hasOption(\"path\"))\n path = cmd.getOptionValue(\"path\");\n else\n path = DefaultPath;\n\n Font font = Font_Default;\n\n String themeName;\n if (cmd.hasOption(\"theme\"))\n themeName = cmd.getOptionValue(\"theme\");\n else\n themeName = DefaultTheme;\n\n Theme theme;\n switch (themeName) {\n case \"interleaved\":\n theme = Theme_Interleaved;\n break;\n case \"flat\":\n theme = Theme_Flat;\n break;\n case \"wat\":\n theme = Theme_Wat;\n break;\n case \"pineapple\":\n theme = Theme_Pineapple;\n break;\n case \"green\":\n theme = Theme_Green;\n break;\n case \"blue\":\n theme = Theme_Blue;\n break;\n case \"red\":\n theme = Theme_Red;\n break;\n default:\n HelpFormatter formatter = new HelpFormatter();\n formatter.printHelp(\"app\", options);\n return null;\n }\n\n return new AppConfiguration(font, text, path, theme);\n }", "title": "" }, { "docid": "170fb3d5277033b08d61cddc2e28584b", "score": "0.5908086", "text": "private static Properties parseCommandLine(String[] args) {\n\n // Get the default arguments from the super class\n final Properties arguments = StateSpacePlanner.getDefaultArguments();\n\n // Parse the command line and update the default argument value\n for (int i = 0; i < args.length; i += 2) {\n if (\"-o\".equalsIgnoreCase(args[i]) && ((i + 1) < args.length)) {\n if (!new File(args[i + 1]).exists()) return null;\n arguments.put(Planner.DOMAIN, new File(args[i + 1]));\n } else if (\"-f\".equalsIgnoreCase(args[i]) && ((i + 1) < args.length)) {\n if (!new File(args[i + 1]).exists()) return null;\n arguments.put(Planner.PROBLEM, new File(args[i + 1]));\n } else if (\"-t\".equalsIgnoreCase(args[i]) && ((i + 1) < args.length)) {\n final int timeout = Integer.parseInt(args[i + 1]) * 1000;\n if (timeout < 0) return null;\n arguments.put(Planner.TIMEOUT, timeout);\n } else if (\"-w\".equalsIgnoreCase(args[i]) && ((i + 1) < args.length)) {\n final double weight = Double.parseDouble(args[i + 1]);\n if (weight < 0) return null;\n arguments.put(StateSpacePlanner.WEIGHT, weight);\n } else {\n return null;\n }\n }\n // Return null if the domain or the problem was not specified\n return (arguments.get(Planner.DOMAIN) == null\n || arguments.get(Planner.PROBLEM) == null) ? null : arguments;\n }", "title": "" }, { "docid": "974f45a89c1bb331935f506b6a4b16b5", "score": "0.5861749", "text": "private void parseInput(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "116923957977f4450f0a6a88508b4575", "score": "0.58416474", "text": "public static void main(String[] args) throws org.apache.commons.cli.ParseException, IOException\n\t{\n\n//\t\ttry\n//\t\t{\n//\t\t\tif (args.length != 3)\n//\t\t\t{\n//\t\t\t\tSystem.out.println(\"Please specify processdefinition file (xml) and an outputfilename\");\n//\t\t\t}\n//\t\t\t\n//\t\t}\n//\t\tcatch (ArrayIndexOutOfBoundsException e)\n//\t\t{\n//\t\t\tSystem.out.println(\"***ArrayIndexOutOfBoundsException: Please specify processdefinition.xml, openoffice_template.od*, newfile_for_processdefinitions.odt\\n\" + e.toString());\n//\t\t}\n\t\t\n\t\t/*----------------------------\n\t\t get options from ini-file\n\t\t----------------------------*/\n\t\tFile inifile = new java.io.File(WhereAmI.getInstallDirectoryAbsolutePath(Compare.class) + \"/\" + \"../etc/ptest-compare.ini\");\n\n\t\tif (inifile.exists())\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tini = new Ini(inifile);\n\t\t\t}\n\t\t\tcatch (InvalidFileFormatException e1)\n\t\t\t{\n\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\tcatch (IOException e1)\n\t\t\t{\n\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.err.println(\"ini file does not exist: \"+inifile.getAbsolutePath());\n\t\t\tSystem.exit(1);\n\t\t}\n\t\t\n\t\t/*----------------------------\n\t\t create boolean options\n\t\t----------------------------*/\n\t\tOption ohelp = new Option(\"help\", \"print this message\");\n\t\tOption ov = new Option(\"v\", \"prints version and build-date\");\n\t\t\n\t\t/*----------------------------\n\t\t create argument options\n\t\t----------------------------*/\n\t\tOption oref = OptionBuilder.withArgName(\"PATH\")\n\t\t\t\t.hasArg()\n\t\t\t\t.withDescription(\"[mandatory] directory or fingerprint, that the --exam will be checked against\")\n//\t\t\t\t.isRequired()\n\t\t\t\t.create(\"ref\");\n\t\t\n\t\tOption oexam = OptionBuilder.withArgName(\"PATH\")\n\t\t\t\t.hasArg()\n\t\t\t\t.withDescription(\"[optional; default: parent directory of -ref] directory or fingerprint, that will be checked against --ref\")\n//\t\t\t\t.isRequired()\n\t\t\t\t.create(\"exam\");\n\t\t\n\t\tOption oresult = OptionBuilder.withArgName(\"FILE\")\n\t\t\t\t.hasArg()\n\t\t\t\t.withDescription(\"[mandatory; default: result.txt] the result (success|failed) of the comparison will be printed to this file\")\n//\t\t\t\t.isRequired()\n\t\t\t\t.create(\"result\");\n\t\t\n\t\tOption osummary = OptionBuilder.withArgName(\"all|error|debug\")\n\t\t\t\t.hasArg()\n\t\t\t\t.withDescription(\"[optional] 'error' prints a summary reduced to failed matches. 'all' prints a full summary. 'debug' is like 'all' plus debug statements\")\n//\t\t\t\t.isRequired()\n\t\t\t\t.create(\"summary\");\n\t\t\n\t\tOption omd5 = OptionBuilder.withArgName(\"no|yes\")\n\t\t\t\t.hasArg()\n\t\t\t\t.withDescription(\"[optional; default: yes] to ignore md5 information in comparison use -md5=no\")\n//\t\t\t\t.isRequired()\n\t\t\t\t.create(\"md5\");\n\t\t\n\t\t/*----------------------------\n\t\t create options object\n\t\t----------------------------*/\n\t\tOptions options = new Options();\n\t\t\n\t\toptions.addOption( ohelp );\n\t\toptions.addOption( ov );\n\t\toptions.addOption( oref );\n\t\toptions.addOption( oexam );\n\t\toptions.addOption( oresult );\n\t\toptions.addOption( osummary );\n\t\toptions.addOption( omd5 );\n\t\t\n\t\t/*----------------------------\n\t\t create the parser\n\t\t----------------------------*/\n\t\tCommandLineParser parser = new GnuParser();\n\t\ttry\n\t\t{\n\t\t\t// parse the command line arguments\n\t\t\tcommandline = parser.parse( options, args );\n\t\t\t\n\t\t}\n\t\tcatch ( Exception exp )\n\t\t{\n\t\t\t// oops, something went wrong\n\t\t\tSystem.err.println( \"Parsing failed. Reason: \"+ exp.getMessage());\n\t\t\texiter();\n\t\t}\n\t\t\n\t\t/*----------------------------\n\t\t usage/help\n\t\t----------------------------*/\n\t\tif ( commandline.hasOption(\"help\"))\n\t\t{\n\t\t\tHelpFormatter formatter = new HelpFormatter();\n\t\t\tformatter.printHelp(\"compare\", options);\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\telse if ( commandline.hasOption(\"v\"))\n\t\t{\n\t\t\tSystem.err.println(\"web: \"+web);\n\t\t\tSystem.err.println(\"author: \"+author);\n\t\t\tSystem.err.println(\"version:\"+version);\n\t\t\tSystem.err.println(\"date: \"+date);\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\t/*----------------------------\n\t\t ueberpruefen ob eine schlechte kombination von parametern angegeben wurde\n\t\t----------------------------*/\n\t\tboolean error = false;\n\t\tString result = \"\";\n\t\tboolean md5 = false;\n\t\tString ref = null;\n\t\tString exam = null;\n\t\t\n\t\tif ( !( commandline.hasOption(\"ref\")) )\n\t\t{\n\t\t\tSystem.err.println(\"option -ref is mandatory\");\n\t\t\terror = true;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tref = commandline.getOptionValue(\"ref\");\n\t\t}\n\t\t\n\t\tif ( !( commandline.hasOption(\"exam\")) )\n\t\t{\n\t\t\tjava.io.File refFile = new java.io.File(ref).getCanonicalFile();\n\t\t\tjava.io.File examFile = refFile.getParentFile();\n\t\t\texam = examFile.getCanonicalPath();\n\n\t\t\tSystem.err.println(\"setting default: -exam=\"+exam);\n\t\t}\n\t\telse\n\t\t{\n\t\t\texam = commandline.getOptionValue(\"exam\");\n\t\t}\n\n\t\tif(error)\n\t\t{\n\t\t\texiter();\n\t\t}\n\t\t\n\t\tif ( !( commandline.hasOption(\"result\")) )\n\t\t{\n\t\t\tSystem.err.println(\"setting default: -result=result.txt\");\n\t\t\tresult = \"result.txt\";\n\t\t}\n\n\t\tif ( !( commandline.hasOption(\"md5\")) )\n\t\t{\n\t\t\tSystem.err.println(\"setting default: -md5=yes\");\n\t\t\tmd5 = true;\n\t\t}\n\t\telse if(commandline.getOptionValue(\"md5\").equals(\"no\"))\n\t\t{\n\t\t\tmd5 = false;\n\t\t}\n\t\telse if(commandline.getOptionValue(\"md5\").equals(\"yes\"))\n\t\t{\n\t\t\tmd5 = true;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.err.println(\"use only values no|yes for -md5\");\n\t\t\tSystem.exit(1);\n\t\t}\n\n\n\n\t\t/*----------------------------\n\t\t die lizenz ueberpruefen und ggf abbrechen\n\t\t----------------------------*/\n\n\t\t// check for valid license\n\t\tArrayList<String> allPortAtHost = new ArrayList<String>();\n\t\tallPortAtHost.add(ini.get(\"license-server\", \"license-server-1\"));\n\t\tallPortAtHost.add(ini.get(\"license-server\", \"license-server-2\"));\n\t\tallPortAtHost.add(ini.get(\"license-server\", \"license-server-3\"));\n\n\t\tMyLicense lic = new MyLicense(allPortAtHost, \"1\", \"user-edition\", \"0.1\");\n\n\t\t// lizenz-logging ausgeben\n\t\tfor(String actLine : (ArrayList<String>) lic.getLog())\n\t\t{\n\t\t\tSystem.err.println(actLine);\n\t\t}\n\n\t\t// abbruch, wenn lizenz nicht valide\n\t\tif (!lic.isValid())\n\t\t{\n\t\t\tSystem.exit(1);\n\t\t}\n\n\t\t/*----------------------------\n\t\t die eigentliche business logic\n\t\t----------------------------*/\n\t\t\n\t\t// einlesen der referenzdaten\n\t\tjava.io.File refPath = new java.io.File(ref);\n\t\t\n\t\tDir refDir = new Dir();\n\n\t\t// wenn es ein directory ist, muss der fingerprint erzeugt werden\n\t\tif(refPath.exists() && refPath.isDirectory())\n\t\t{\n\t\t\trefDir.setBasepath(refPath.getCanonicalPath());\n\t\t\trefDir.genFingerprint(0f, true, new ArrayList<String>());\n\t\t\trefDir.setRespectMd5Recursive(md5);\n\t\t\tSystem.err.println(\"-ref is a directory\");\n\t\t}\n\t\t// wenn es ein fingerprint ist, muss er eingelesen werden\n\t\telse if(refPath.exists())\n\t\t{\n\t\t\trefDir.setInfilexml(refPath.getCanonicalPath());\n\t\t\tSystem.err.println(\"-ref is a fingerprint\");\n\t\t\ttry\n\t\t\t{\n\t\t\t\trefDir.readXml();\n\t\t\t}\n\t\t\tcatch (JAXBException e)\n\t\t\t{\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\trefDir.setRespectMd5Recursive(md5);\n\t\t}\n\t\telse if(!refPath.exists())\n\t\t{\n\t\t\tSystem.err.println(\"-ref does not exist! \" + refPath.getAbsolutePath());\n\t\t\texiter();\n\t\t}\n\n\t\t// einlesen der prueflingsdaten\n\t\tjava.io.File examPath = new java.io.File(exam);\n\n\t\tDir examDir = new Dir();\n\n\t\t// wenn es ein directory ist, muss der fingerprint erzeugt werden\n\t\tif(examPath.exists() && examPath.isDirectory())\n\t\t{\n\t\t\texamDir.setBasepath(examPath.getCanonicalPath());\n\t\t\texamDir.genFingerprint(0f, true, new ArrayList<String>());\n\t\t\texamDir.setRespectMd5Recursive(md5);\n\t\t\tSystem.err.println(\"-exam is a directory\");\n\t\t}\n\t\t// wenn es ein fingerprint ist, muss er eingelesen werden\n\t\telse if(examPath.exists())\n\t\t{\n\t\t\texamDir.setInfilexml(examPath.getCanonicalPath());\n\t\t\tSystem.err.println(\"-exam is a fingerprint\");\n\t\t\ttry\n\t\t\t{\n\t\t\t\texamDir.readXml();\n\t\t\t}\n\t\t\tcatch (JAXBException e)\n\t\t\t{\n\t\t\t\tSystem.err.println(\"error while reading xml\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\texamDir.setRespectMd5Recursive(md5);\n\t\t}\n\t\telse if(!examPath.exists())\n\t\t{\n\t\t\tSystem.err.println(\"-exam does not exist! \" + examPath.getAbsolutePath());\n\t\t\texiter();\n\t\t}\n\n\t\t// durchfuehren des vergleichs\n\t\trefDir.runCheck(examDir);\n\t\t\n//\t\tif(examDir.isMatchSuccessfullRecursive() && refDir.isMatchSuccessfullRecursive())\n\t\tif(refDir.isMatchSuccessfullRecursive())\n\t\t{\n\t\t\tSystem.out.println(\"SUCCESS\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"FAILED\");\n\t\t}\n\n\t\t// printen der csv-ergebnis-tabelle\n\t\tif ( commandline.hasOption(\"summary\"))\n\t\t{\n\t\t\tif (commandline.getOptionValue(\"summary\").equals(\"error\"))\n\t\t\t{\n\t\t\t\tSystem.err.println(\"the results of the reference are crucial for result FAILED|SUCCESS\");\n\t\t\t\tSystem.err.println(refDir.sprintSummaryAsCsv(\"error\"));\n\t\t\t\tSystem.err.println(examDir.sprintSummaryAsCsv(\"error\"));\n\t\t\t}\n\t\t\telse if(commandline.getOptionValue(\"summary\").equals(\"all\"))\n\t\t\t{\n\t\t\t\tSystem.err.println(refDir.sprintSummaryAsCsv(\"all\"));\n\t\t\t\tSystem.err.println(examDir.sprintSummaryAsCsv(\"all\"));\n\t\t\t}\n\t\t\telse if(commandline.getOptionValue(\"summary\").equals(\"debug\"))\n\t\t\t{\n\t\t\t\tSystem.err.println(refDir.sprintSummaryAsCsv(\"all\"));\n\t\t\t\tSystem.err.println(examDir.sprintSummaryAsCsv(\"all\"));\n\t\t\t\t// printen des loggings\n\t\t\t\tSystem.err.println(\"------ logging of reference --------\");\n\t\t\t\tSystem.err.println(refDir.getLogAsStringRecursive());\n\t\t\t\tSystem.err.println(\"------ logging of examinee --------\");\n\t\t\t\tSystem.err.println(examDir.getLogAsStringRecursive());\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.err.println(\"for option -summary you only may use all|error\");\n\t\t\t\texiter();\n\t\t\t}\n\t\t}\n\n\t\t\n\t}", "title": "" }, { "docid": "a9e9e90b58eb2a6ac4cccbfdd1f69138", "score": "0.5833182", "text": "protected void parseArgs() {\n if (!hasArg(ARG_OUTPUTDIR)) throw new GeneratorException(\n \"You must set a valid output directory with arg '\"+ARG_OUTPUTDIR+\"'\");\n }", "title": "" }, { "docid": "ee59c8e8cce1bd378660996ca77f23a4", "score": "0.58165425", "text": "public void parse(){\n\t\tint argsLength = args.size();\n\t\tif(args.contains(DEBUGMESSAGES)){\n\t\t\tHttpfs.debugMessages = true;\n\t\t\targsLength--;\n\t\t}\n\t\tif(args.contains(PATHTODIR)){\n\t\t\tHttpfs.pathToDir = args.get(args.indexOf(PATHTODIR) + 1).replace(\"/\", \"\\\\\");\n\t\t\tboolean requestedPath = new File(Httpfs.pathToDir).mkdirs();\n\t\t\targsLength -= 2;\t\n\t\t}\n\t\tif(args.contains(PORT)) {\n\t\t\tHttpfs.port = Integer.parseInt(args.get(args.indexOf(PORT) + 1));\n\t\t\targsLength -= 2;\n\t\t}\n\t\tif(argsLength > 0){\n\t\t\tSystem.out.println(\"Invalid Arguments. Please try again!\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "title": "" }, { "docid": "09bdab4426719999ec2d5bc0f088e5f9", "score": "0.5803949", "text": "private static void getInputParameters(String[] args) {\r\n int ai = 0;\r\n String param = \"\";\r\n String val = \"\";\r\n while (ai < args.length) {\r\n param = args[ai].trim();\r\n if (ai + 1 < args.length) {\r\n val = args[ai + 1].trim();\r\n }\r\n if (param.equalsIgnoreCase(\"--dcname\") && !val.startsWith(\"--\")\r\n && !val.isEmpty()) {\r\n dcName = val;\r\n } else if (param.equalsIgnoreCase(\"--dvsname\")\r\n && !val.startsWith(\"--\") && !val.isEmpty()) {\r\n dvsName = val;\r\n } else if (param.equalsIgnoreCase(\"--dvsdesc\")\r\n && !val.startsWith(\"--\") && !val.isEmpty()) {\r\n dvsDesc = val;\r\n } else if (param.equalsIgnoreCase(\"--dvsversion\")\r\n && !val.startsWith(\"--\") && !val.isEmpty()) {\r\n dvsVersion = val;\r\n } else if (param.equalsIgnoreCase(\"--numports\")\r\n && !val.startsWith(\"--\") && !val.isEmpty()) {\r\n noOfPorts = val;\r\n } else if (param.equalsIgnoreCase(\"--portgroupname\")\r\n && !val.startsWith(\"--\") && !val.isEmpty()) {\r\n portGroupName = val;\r\n } else if (param.equalsIgnoreCase(\"--option\") && !val.startsWith(\"--\")\r\n && !val.isEmpty()) {\r\n option = val;\r\n }\r\n val = \"\";\r\n ai += 2;\r\n }\r\n if (option != null) {\r\n if (!(option.equals(\"createdvs\") || option.equals(\"addportgroup\"))) {\r\n throw new IllegalArgumentException(\r\n \"Expected valid --option. createdvs\" + \" or addportgroup\");\r\n }\r\n } else {\r\n throw new IllegalArgumentException(\r\n \"Expected --option argument. createdvs\" + \" or addportgroup\");\r\n }\r\n if (option.equals(\"createdvs\")) {\r\n if (dcName == null || dvsName == null) {\r\n throw new IllegalArgumentException(\r\n \"Expected --dcname and --dvsname arguments\");\r\n }\r\n }\r\n if (option.equals(\"addportgroup\")) {\r\n if (dvsName == null || noOfPorts == null || portGroupName == null) {\r\n throw new IllegalArgumentException(\r\n \"Expected --dvsname, --numports and --portgroupname arguments\");\r\n }\r\n }\r\n }", "title": "" }, { "docid": "074b14c4018388e0385ea400802940fd", "score": "0.57732546", "text": "public void processArgs(String[] args){\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tIO.pl(\"\\n\"+IO.fetchUSeqVersion()+\" Arguments: \"+Misc.stringArrayToString(args, \" \")+\"\\n\");\n\t\tfor (int i = 0; i<args.length; i++){\n\t\t\tString lcArg = args[i].toLowerCase();\n\t\t\tMatcher mat = pat.matcher(lcArg);\n\t\t\tif (mat.matches()){\n\t\t\t\tchar test = args[i].charAt(1);\n\t\t\t\ttry{\n\t\t\t\t\tswitch (test){\n\t\t\t\t\tcase 'v': germlineVcf = new File(args[++i]); break;\n\t\t\t\t\tcase 'g': germlineBamPileup = new File(args[++i]); break;\n\t\t\t\t\tcase 's': somaticBamPileup = new File(args[++i]); break;\n\t\t\t\t\tcase 'o': resultsDir = new File(args[++i]); break;\n\t\t\t\t\tcase 'c': bedCopyRatioFile = new File(args[++i]); break;\n\t\t\t\t\tcase 'm': maxGapBetweenVars = Integer.parseInt(args[++i]); break;\n\t\t\t\t\tcase 'r': minimumDP = Integer.parseInt(args[++i]); break;\n\t\t\t\t\tcase 'w': windowBpPadding = Integer.parseInt(args[++i]); break;\n\t\t\t\t\tcase 'q': minimumQUAL = Double.parseDouble(args[++i]); break;\n\t\t\t\t\tcase 'e': minimumGQ = Double.parseDouble(args[++i]); break;\n\t\t\t\t\tcase 'x': gqSelector = \"GQX\"; break;\n\t\t\t\t\tcase 'p': minAdjTransWindowPval = Float.parseFloat(args[++i]); break;\n\t\t\t\t\tcase 'd': minMeanAfWindowDiff = Float.parseFloat(args[++i]); break;\n\t\t\t\t\tcase 'l': minVarPval = Double.parseDouble(args[++i]); break;\n\t\t\t\t\tcase 'f': minVarAfDiff = Double.parseDouble(args[++i]); break;\n\t\t\t\t\tcase 'h': printDocs(); System.exit(0);\n\t\t\t\t\tdefault: Misc.printExit(\"\\nProblem, unknown option! \" + mat.group());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (Exception e){\n\t\t\t\t\tMisc.printExit(\"\\nSorry, something doesn't look right with this parameter: -\"+test+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (germlineVcf == null || germlineVcf.exists() == false) {\n\t\t\tMisc.printErrAndExit(\"Error: cannot find your high configence, single sample, germline variant call file \"+germlineVcf);\n\t\t}\n\t\t\n\t\tif (germlineBamPileup == null || germlineBamPileup.exists() == false) {\n\t\t\tMisc.printErrAndExit(\"Error: cannot find your germline bampileup file \"+germlineBamPileup);\n\t\t}\n\t\t\n\t\tif (somaticBamPileup == null || somaticBamPileup.exists() == false) {\n\t\t\tMisc.printErrAndExit(\"Error: cannot find your somatic bampileup file \"+somaticBamPileup);\n\t\t}\n\t\t\n\t\tif (resultsDir == null ) {\n\t\t\tMisc.printErrAndExit(\"Error: cannot find your result directory\");\n\t\t}\n\t\tresultsDir.mkdirs();\n\t\t\n\t}", "title": "" }, { "docid": "52b8091ddeeaa7a56b9c25a76365c0ad", "score": "0.5762264", "text": "public static int parseStaticArguments(String[] args, int initArg) {\r\n int i = 0;\r\n String arg;\r\n boolean prefDirCommandDone = false;\r\n \r\n ViewUserInterface.setProvidedUserDefaultDir(false);\r\n\r\n ViewUserInterface.setUserDefaultDir(\"\");\r\n \r\n if (args.length == 0) {\r\n return args.length;\r\n }\r\n \r\nparse: while (i < args.length) {\r\n arg = args[i];\r\n\r\n if (arg.startsWith(\"-\")) {\r\n \r\n //parse commands which do not require an initialized mipav\r\n StaticArgument c = StaticArgument.getArgument(arg);\r\n if(c == null) {\r\n i++;\r\n continue parse;\r\n }\r\n \r\n switch(c) {\r\n \r\n case Help:\r\n ViewUserInterface.printUsageAndExit();\r\n break;\r\n \r\n case InputDir:\r\n ViewUserInterface.setProvidedUserDefaultDir(true);\r\n ViewUserInterface.setUserDefaultDir(args[ ++i]);\r\n \r\n if (ViewUserInterface.getUserDefaultDir() == null || ViewUserInterface.getUserDefaultDir().trim().equals(\"\")) {\r\n Preferences.debug(\"In argument -\"+c+\", \"+\"directory is null\");\r\n ViewUserInterface.printUsageAndExit(c);\r\n } else {\r\n // check that there is a trailng slash at the end of the defaultDir...if not, add one\r\n if ( ! (ViewUserInterface.getUserDefaultDir().charAt(ViewUserInterface.getUserDefaultDir().length() - 1) == File.separatorChar)) {\r\n ViewUserInterface.setUserDefaultDir(ViewUserInterface.getUserDefaultDir() + File.separator);\r\n }\r\n // now check if this is a valid path\r\n final File checkDefaultDir = new File(ViewUserInterface.getUserDefaultDir());\r\n if ( !checkDefaultDir.exists()) {\r\n Preferences.debug(\"In argument -\"+c+\", \"+ViewUserInterface.getUserDefaultDir()+\" does not exist\");\r\n ViewUserInterface.printUsageAndExit(c);\r\n }\r\n }\r\n break;\r\n \r\n case OutputDir:\r\n ViewUserInterface.setProvidedOutputDir(true);\r\n ViewUserInterface.setOutputDir(args[ ++i]); \r\n \r\n if (ViewUserInterface.getOutputDir() == null || ViewUserInterface.getOutputDir().trim().equals(\"\")) {\r\n ViewUserInterface.setProvidedOutputDir(false);\r\n ViewUserInterface.printUsageAndExit(c);\r\n } else {\r\n // check that there is a trailng slash at the end of the defaultDir...if not, add one\r\n if ( ! (ViewUserInterface.getOutputDir().charAt(ViewUserInterface.getOutputDir().length() - 1) == File.separatorChar)) {\r\n ViewUserInterface.setOutputDir(ViewUserInterface.getOutputDir() + File.separator);\r\n }\r\n // now check if this is a valid path\r\n final File checkOutputDir = new File(ViewUserInterface.getOutputDir());\r\n if ( !checkOutputDir.exists()) {\r\n ViewUserInterface.setProvidedOutputDir(false);\r\n Preferences.debug(\"In argument -\"+c+\", \"+ViewUserInterface.getOutputDir()+\" does not exist\");\r\n ViewUserInterface.printUsageAndExit();\r\n }\r\n }\r\n break;\r\n \r\n \r\n case PluginDir:\r\n String secPluginsDir = args[ ++i];\r\n File f = new File(secPluginsDir);\r\n if(f.exists() && f.isDirectory() && f.canRead()) {\r\n ViewUserInterface.setSecondaryPluginsDir(f);\r\n }else {\r\n Preferences.debug(\"In argument -\"+c+\", \"+secPluginsDir+\" is not a valid readable directory\", Preferences.DEBUG_MINOR);\r\n ViewUserInterface.printUsageAndExit(c);\r\n }\r\n break;\r\n \r\n case HomeDir:\r\n Preferences.debug(\"HomeDir command is not currently usable, is only System.getProperty(\\\"user.home\\\")\");\r\n break;\r\n \r\n case PreferencesDir:\r\n prefDirCommandDone = true;\r\n String prefDir = args[++i];\r\n f = new File(prefDir);\r\n if(f.exists() && f.isDirectory() && f.canRead() && f.canWrite()) {\r\n Preferences.setPreferencesFileDirectory(prefDir);\r\n } else {\r\n Preferences.debug(\"In argument -\"+c+\", \"+prefDir+\" is not a writable existing directory.\", Preferences.DEBUG_MINOR);\r\n ViewUserInterface.printUsageAndExit(c);\r\n }\r\n break;\r\n \r\n case PreferencesName:\r\n if(!prefDirCommandDone) {\r\n checkPrefDirCommand(args, initArg);\r\n }\r\n String prefName = args[++i];\r\n f = new File(prefName);\r\n if(!f.exists() || (f.canRead() && f.canWrite())) {\r\n Preferences.setPreferencesFileName(prefName);\r\n } else {\r\n Preferences.debug(\"In argument -\"+c+\", \"+prefName+\" is not in a readable and/or writable location.\", Preferences.DEBUG_MINOR);\r\n ViewUserInterface.printUsageAndExit(c);\r\n }\r\n break;\r\n }\r\n }\r\n i++;\r\n }\r\n return 0;\r\n }", "title": "" }, { "docid": "fef5a4708c48b1c99c6c9a1735a0937a", "score": "0.5756896", "text": "public static void loadCommandParams(String[] args){\n\t\tString arg = \"\";\r\n\t\tString val = \"\";\r\n\t\tfor(int i = 0; i < args.length; i++){\r\n\t\t\t\r\n\t\t\targ = args[i].split(\"=\")[0];\r\n\t\t\tval = args[i].split(\"=\")[1];\r\n\t\t\t\t\t\r\n\t\t\tif (arg.compareTo(\"dataExtraction\") == 0) {\r\n\t\t\t\tdataExtraction = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"cmpRec\") == 0) {\r\n\t\t\t\tcmpRec = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"eval\") == 0) {\r\n\t\t\t\teval = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"evalDir\") == 0) {\r\n\t\t\t\tevalDir = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"itemPathExtraction\") == 0) {\r\n\t\t\t\titemPathExtraction = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"userPathExtraction\") == 0) {\r\n\t\t\t\tuserPathExtraction = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"itemGraphEmbedding\") == 0) {\r\n\t\t\t\titemGraphEmbedding = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"workingDir\") == 0) {\r\n\t\t\t\tworkingDir = val;\r\n\t\t\t} else if (arg.compareTo(\"itemContentFile\") == 0) {\r\n\t\t\t\titemMetadataFile = val;\r\n\t\t\t} else if (arg.compareTo(\"recFile\") == 0) {\r\n\t\t\t\trecOutputFile = val;\r\n\t\t\t} else if (arg.compareTo(\"rec_alg\") == 0) {\r\n\t\t\t\trec_algorithm = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"trainRatingsFile\") == 0) {\r\n\t\t\t\ttrainRatingFile = val;\r\n\t\t\t} else if (arg.compareTo(\"validationRatingsFile\") == 0) {\r\n\t\t\t\tvalidationRatingFile = val;\r\n\t\t\t} else if (arg.compareTo(\"testRatingsFile\") == 0) {\r\n\t\t\t\ttestRatingFile = val;\r\n\t\t\t} else if (arg.compareTo(\"libLinear\") == 0) {\r\n\t\t\t\tlibLinear = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"rankLib\") == 0) {\r\n\t\t\t\trankLib = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"nThreads\") == 0) {\r\n\t\t\t\tnThreads = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"nLearningThreads\") == 0) {\r\n\t\t\t\tnLearningThreads = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"implicit\") == 0) {\r\n\t\t\t\timplicit = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"jenatdb\") == 0) {\r\n\t\t\t\tjenatdb = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"datasetFile\") == 0) {\r\n\t\t\t\tdatasetFile = val;\r\n\t\t\t} else if (arg.compareTo(\"TDBdirectory\") == 0) {\r\n\t\t\t\ttdbDirectory = val;\r\n\t\t\t} else if (arg.compareTo(\"endpoint\") == 0) {\r\n\t\t\t\tendpoint = val;\r\n\t\t\t} else if (arg.compareTo(\"graphURI\") == 0) {\r\n\t\t\t\tgraphURI = val;\r\n\t\t\t} else if (arg.compareTo(\"inputURIfile\") == 0) {\r\n\t\t\t\tinputItemURIsFile = val;\r\n\t\t\t} else if (arg.compareTo(\"propsFile\") == 0) {\r\n\t\t\t\tpropsFile = val;\r\n\t\t\t} else if (arg.compareTo(\"directed\") == 0) {\r\n\t\t\t\tinverseProps = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"outputTextFormat\") == 0) {\r\n\t\t\t\toutputTextFormat = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"outputBinaryFormat\") == 0) {\r\n\t\t\t\toutputBinaryFormat = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"append\") == 0) {\r\n\t\t\t\tappend = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"caching\") == 0) {\r\n\t\t\t\tcaching = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"itemsInMemory\") == 0) {\r\n\t\t\t\titemsInMemory = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"normalize\") == 0) {\r\n\t\t\t\tnormalize = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"outputExtractionTextFormat\") == 0) {\r\n\t\t\t\toutputPathTextFormat = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"outputExtractionBinaryFormat\") == 0) {\r\n\t\t\t\toutputPathBinaryFormat = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"outputPathFile\") == 0) {\r\n\t\t\t\tpathFile = val;\r\n\t\t\t} else if (arg.compareTo(\"computeInversePaths\") == 0) {\r\n\t\t\t\tcomputeInversePaths = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"computeTopPaths\") == 0) {\r\n\t\t\t\tselectTopPaths = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"numTopPaths\") == 0) {\r\n\t\t\t\tnumTopPaths = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"numItemTopPaths\") == 0) {\r\n\t\t\t\tnumItemTopPaths = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"pathsInMemory\") == 0) {\r\n\t\t\t\tpaths_in_memory = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"userItemsSampling\") == 0) {\r\n\t\t\t\tuser_items_sampling = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"ratingThreshold\") == 0) {\r\n\t\t\t\tratingThreshold = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"embeddingOption\") == 0) {\r\n\t\t\t\tembeddingOption = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"max_branch_length\") == 0) {\r\n\t\t\t\tmax_branch_length = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"addCollabFeatures\") == 0) {\r\n\t\t\t\taddCollabFeatures = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"minmax_norm\") == 0) {\r\n\t\t\t\tminmax_norm = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"min_freq\") == 0) {\r\n\t\t\t\tmin_f = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"max_freq\") == 0) {\r\n\t\t\t\tmax_f = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"idf\") == 0) {\r\n\t\t\t\tidf = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"length_normaliz\") == 0) {\r\n\t\t\t\tlength_normaliz = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"onlyEntityBranches\") == 0) {\r\n\t\t\t\tonlyEntityBranches = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"entityBasedEmbFile\") == 0) {\r\n\t\t\t\tentityMapFile = val;\r\n\t\t\t} else if (arg.compareTo(\"branchBasedEmbFile\") == 0) {\r\n\t\t\t\tbranchMapFile = val;\r\n\t\t\t} else if (arg.compareTo(\"rankerType\") == 0) {\r\n\t\t\t\trankerType = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"nIterations\") == 0) {\r\n\t\t\t\tnIterations = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"nTrees\") == 0) {\r\n\t\t\t\tnTrees = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"nRoundToStopEarly\") == 0) {\r\n\t\t\t\tnRoundToStopEarly = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"nTreeLeaves\") == 0) {\r\n\t\t\t\tnTreeLeaves = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"learningRate\") == 0) {\r\n\t\t\t\tlearningRate = Float.parseFloat(val);\r\n\t\t\t} else if (arg.compareTo(\"solverType\") == 0) {\r\n\t\t\t\tlistStrSolverType = val;\r\n\t\t\t} else if (arg.compareTo(\"c\") == 0) {\r\n\t\t\t\tlistStrC = val;\r\n\t\t\t} else if (arg.compareTo(\"eps\") == 0) {\r\n\t\t\t\tlistStrEps = val;\r\n\t\t\t} else if (arg.compareTo(\"p\") == 0) {\r\n\t\t\t\tlistStrP = val;\r\n\t\t\t} else if (arg.compareTo(\"timesRealFb\") == 0) {\r\n\t\t\t\ttimesRealFb = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"nValidNegEx\") == 0) {\r\n\t\t\t\tnValidNegEx = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"addNegValidationEx\") == 0) {\r\n\t\t\t\taddNegValidationEx = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"minTrainEx\") == 0) {\r\n\t\t\t\tminTrainEx = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"topN\") == 0) {\r\n\t\t\t\ttopN = Integer.parseInt(val);\r\n\t\t\t} else if (arg.compareTo(\"silent\") == 0) {\r\n\t\t\t\tsilentLearning = Boolean.parseBoolean(val);\r\n\t\t\t} else if (arg.compareTo(\"thresh\") == 0) {\r\n\t\t\t\tevalRatingThresh = Float.parseFloat(val);\r\n\t\t\t} else if (arg.compareTo(\"negRatingThresh\") == 0) {\r\n\t\t\t\tnegRatingThresh = Float.parseFloat(val);\r\n\t\t\t} else if (arg.compareTo(\"relUnknownItems\") == 0) {\r\n\t\t\t\trelUnknownItems = Float.parseFloat(val);\r\n\t\t\t} else if (arg.compareTo(\"itemMetadataEvalFile\") == 0) {\r\n\t\t\t\titemMetadataEvalFile = val;\r\n\t\t\t} else if (arg.compareTo(\"reccDirToEval\") == 0) {\r\n\t\t\t\treccDirToEval = val;\r\n\t\t\t} else if (arg.compareTo(\"listAlphaVals\") == 0) {\r\n\t\t\t\tlistAlphaVals = val;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1d83804af782d8f790b4a90f6ca21aaa", "score": "0.5751868", "text": "public Options (Properties defaults)\n\t{\n\t\tsuper (defaults);\n\t}", "title": "" }, { "docid": "00624f651989e3d5d3261ca0b21f9112", "score": "0.56820065", "text": "protected void parse() throws CommandException {\n /*\n * If this is a help request, we don't need the command\n * metadata and we throw away all the other options and\n * fake everything else.\n */\n if (programOpts.isHelp()) {\n options = new ParameterMap();\n options.set(\"help\", \"true\");\n operands = Collections.emptyList();\n } else {\n Parser rcp =\n new Parser(argv, 1, commandModel.getParameters(),\n commandModel.unknownOptionsAreOperands());\n options = rcp.getOptions();\n operands = rcp.getOperands();\n\n /*\n * In the case where we're accepting unknown options as\n * operands, the special \"--\" delimiter will also be\n * accepted as an operand. We eliminate it here.\n */\n if (commandModel.unknownOptionsAreOperands() &&\n operands.size() > 0 && operands.get(0).equals(\"--\"))\n operands.remove(0);\n }\n logger.finer(\"params: \" + options);\n logger.finer(\"operands: \" + operands);\n }", "title": "" }, { "docid": "24b43d01ecae80805730ea895907d3d9", "score": "0.5676754", "text": "private void parse(String[] args) {\n for (int i = 0; i < args.length; i++) {\n String[] string = args[i].substring(1).split(\"=\");\n if (!args[i].startsWith(\"-\") || string.length != 2 || string[0].isEmpty() || string[1].isEmpty()) {\n throw new IllegalArgumentException();\n }\n values.put(string[0], string[1]);\n }\n }", "title": "" }, { "docid": "142994395526f4c63198b112cf3cb165", "score": "0.56728107", "text": "public GradeOptions(String[] args)\r\n\t{\r\n\t\textraFiles = new ArrayList<ExtraFile>();\r\n\t\tupdates = new ArrayList<Update>();\r\n\t\tsourceFilters = new ArrayList<String>();\r\n\t\tcommands = new ArrayList<Command>();\r\n\t\t\r\n\t\tfor (String arg : args)\r\n\t\t{\r\n\t\t\tString name = arg.substring(1, arg.indexOf(\":\"));\r\n\t\t\tString value = arg.substring(arg.indexOf(\":\") + 1);\r\n\t\t\t\r\n\t\t\tif (name.equals(\"eclipseProjectRoot\"))\r\n\t\t\t\teclipseProjectRoot = value;\r\n\t\t\telse if (name.equals(\"sourceRoot\"))\r\n\t\t\t\tsourceRoot = value;\r\n\t\t\telse if (name.equals(\"sourceType\"))\r\n\t\t\t\tsourceType= SourceType.valueOf(value.toLowerCase());\r\n\t\t\telse if (name.equals(\"extraFile\"))\r\n\t\t\t\textraFiles.add(new ExtraFile(value));\r\n\t\t\telse if (name.equals(\"optionFile\"))\r\n\t\t\t\tloadOptions(value);\r\n\t\t\telse\r\n\t\t\t\tthrow new IllegalArgumentException(\"'\" + arg +\"' is not a valid argument\");\r\n\t\t}\r\n\r\n\t\tcheckRequiredArgument(sourceRoot, \"Source root must be specified with /sourceRoot:<path to source root>\");\r\n\t\tcheckRequiredArgument(eclipseProjectRoot, \"Eclipse project root must be specified with /eclipseProjectRoot:<path to eclipse project root>\");\r\n\t}", "title": "" }, { "docid": "37a222cd0b1a93d0fd164ce5d0ca6ab1", "score": "0.5649064", "text": "public static void main(String[] args) {\n\n dispalyDetails();\n option();\n multipleOption();\n }", "title": "" }, { "docid": "5e90778ed7e751dcb206443a2b7ee68f", "score": "0.56212014", "text": "boolean process(Options options, String option, String arg);", "title": "" }, { "docid": "4d4b78ba156880026a3a7b7883841970", "score": "0.5610219", "text": "public static void main(String[] arg) {\n\t\tParser parser = new Parser();\n\t\t\n\t\tSingleOption inOpt = new SingleOption(parser, System.in, \"-infile\", InFileParameter.getParameter());\n\t\t\n\t\tSingleOption outOpt = new SingleOption(parser, System.out, \"-outfile\", PrintStreamParameter.getParameter());\n\t\t\n\t\tSingleOption sepCharOpt = new SingleOption(parser, \"\\t\", \"-s\", StringParameter.getParameter());\n\t\t\n\t\t\n\t\t// Parse command line\n\t\tparseCommandLine(arg, parser);\n\t\t\n\n\t\t// Get values from command line options\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader((InputStream) inOpt.getValue()));\n\t\t\n\t\tPrintStream out = (PrintStream) outOpt.getValue();\n\t\t\n\t\tString sep = (String) sepCharOpt.getValue();\n\t\t\n\t\t// Read data from input\n\t\tList<String[]> data = readData(in, sep);\n\t\t\n\t\t// Print output\n\t\tprintHeader(out, data);\n\t\t\n\t\tprintFields(out, data);\n\t\t\n\t\tprintFooter(out);\n\t\t\n\t}", "title": "" }, { "docid": "7d17253f462d202fa567e6de68a9510d", "score": "0.5608433", "text": "public static void main(String[] argv) {\r\n\r\n // create the command line parser\r\n CommandLineParser parser = new PosixParser();\r\n Options options = Main.getOptions();\r\n CommandLine line = null;\r\n try {\r\n // parse the command line arguments\r\n line = parser.parse(options, argv);\r\n } catch (ParseException exp) {\r\n System.out.println(\"Unexpected exception:\" + exp.getMessage());\r\n printHelpAndExit(options);\r\n }\r\n\r\n if (line.hasOption(OPTION_HELP)) {\r\n printHelpAndExit(options);\r\n }\r\n GeneratorContext configuration = new GeneratorContext();\r\n Locale locale = new Locale(line.getOptionValue(OPTION_LOCALE, GeneratorContext.DEFAULT_LOCALE.toString()));\r\n System.out.println(\"sourcefile:\" + line.getOptionValue(OPTION_SOURCEFILE));\r\n\r\n System.out.println(\"inputdirectory:\"\r\n + line.getOptionValue(OPTION_INPUTDIRECTORY, GeneratorContext.DEFAULT_INPUT_DIRECTORY));\r\n System.out.println(\"themesdirectory:\"\r\n + line.getOptionValue(OPTION_THEMESDIRECTORY, GeneratorContext.DEFAULT_THEMES_DIRECTORY));\r\n System.out.println(\"theme:\" + line.getOptionValue(OPTION_THEME, GeneratorContext.DEFAULT_THEME));\r\n System.out.println(\"locale:\" + locale + \" , \" + locale.getDisplayLanguage());\r\n\r\n configuration.setOwlSourceFileName(line.getOptionValue(OPTION_SOURCEFILE));\r\n configuration.setOutputDirectory(line.getOptionValue(OPTION_OUTPUTDIRECTORY,\r\n GeneratorContext.DEFAULT_OUTPUT_DIRECTORY));\r\n configuration.setInputDirectory(line.getOptionValue(OPTION_INPUTDIRECTORY,\r\n GeneratorContext.DEFAULT_INPUT_DIRECTORY));\r\n configuration.setThemesDirectory(line.getOptionValue(OPTION_THEMESDIRECTORY,\r\n GeneratorContext.DEFAULT_THEMES_DIRECTORY));\r\n configuration.setEnableInference(\"true\".equalsIgnoreCase(line.getOptionValue(OPTION_INFERENCE_ENABLED, \"\"\r\n + GeneratorContext.DEFAULT_ENABLE_INFERENCE)));\r\n configuration.setTheme(line.getOptionValue(OPTION_THEME, GeneratorContext.DEFAULT_THEME));\r\n configuration.setGeneration(line.getOptionValue(OPTION_GENERATION, GeneratorContext.DEFAULT_GENERATION));\r\n configuration.setLocale(locale);\r\n start(configuration);\r\n }", "title": "" }, { "docid": "f5b03acb14c9d1f62a00b49bd908c01f", "score": "0.55913675", "text": "public CommandLineParser(String[] args) {\n String currentArg = null, currentSwitch = null;\n char c = 0;\n boolean hasEntry = false;\n\n for (int i = 0; i < args.length; ++i) {\n currentArg = args[i];\n c = currentArg.charAt(0);\n\n if ((c == '-') || (c == '/')) {\n // put an empty string in for value of previous switch if there were no other values\n if ((currentSwitch != null) && (hasEntry == false)) {\n paramMap.put(currentSwitch, \"\");\n currentSwitch = null;\n }\n\n int eq = currentArg.indexOf(\"=\", 0);\n if (eq != -1) {\n paramMap.put(currentArg.substring(1, eq), currentArg.substring(eq + 1));\n currentSwitch = null;\n } else {\n currentSwitch = currentArg.substring(1);\n hasEntry = false;\n }\n } else {\n // hit a value with no matching switch\n if (currentSwitch == null)\n\t\t\t\t\t; // throw\n\n // put the switch/value combination in the map\n paramMap.put(currentSwitch, currentArg);\n hasEntry = true;\n }\n\n if (currentSwitch != null) {\n if (hasEntry == false) {\n paramMap.put(currentSwitch, \"\");\n }\n }\n }\n }", "title": "" }, { "docid": "615212bf11057679880921209944f2ad", "score": "0.55893284", "text": "private static Properties parseArguments(String[] args) {\r\n Properties props = new Properties();\r\n int i = 0;\r\n while (i < args.length) {\r\n if (\"-h\".equals(args[i])) {\r\n props.put(PROP_HELP, \"\");\r\n } else if (\"-U\".equals(args[i])) {\r\n props.put(PROP_SERVICE_URL, args[++i]);\r\n } else if (\"-O\".equals(args[i])) {\r\n props.put(PROP_OBJECT_NAME, args[++i]);\r\n } else if (\"-A\".equals(args[i])) {\r\n props.put(PROP_ATTRIBUTE_NAME, args[++i]);\r\n } else if (\"-K\".equals(args[i])) {\r\n props.put(PROP_ATTRIBUTE_KEY, args[++i]);\r\n } else if (\"-v\".equals(args[i])) {\r\n props.put(PROP_VERBOSE, \"true\");\r\n } else if (\"--username\".equals(args[i])) {\r\n props.put(PROP_USERNAME, args[++i]);\r\n } else if (\"--password\".equals(args[i])) {\r\n props.put(PROP_PASSWORD, args[++i]);\r\n } else if (\"-u\".equals(args[i])) {\r\n props.put(PROP_UNITS, args[++i]);\r\n } else if (\"-o\".equals(args[i])) {\r\n props.put(PROP_OPERATION, args[++i]);\r\n }\r\n i++;\r\n }\r\n return props;\r\n }", "title": "" }, { "docid": "d767fa6433d6ff610dbf543789166b78", "score": "0.5581633", "text": "public void parse(String[] args) {\r\n for (int i = 0; i < args.length; i++) {\r\n if (args[i].matches(\"-[A-Za-z]\")) {\r\n switch (args[i]) {\r\n case \"-f\":\r\n if (args.length <= i + 1) {\r\n exitUsage(\"No file specified\");\r\n }\r\n pointsFile = args[i + 1];\r\n break;\r\n case \"-b\":\r\n if (args.length <= i + 1) {\r\n exitUsage(\"No beta vector specified\");\r\n }\r\n String[] parts = args[i + 1].split(\",\");\r\n if (parts.length != 3) {\r\n exitUsage(\"Beta vector incorrect length\");\r\n }\r\n double[] values = new double[3];\r\n for (int j = 0; j < parts.length; j++) {\r\n try {\r\n values[j] = Double.parseDouble(parts[j]);\r\n } catch (NumberFormatException e) {\r\n exitUsage(\"Bad value for beta: \" + parts[j]);\r\n }\r\n }\r\n beta = new Vector(values);\r\n\r\n break;\r\n case \"-i\":\r\n if (args.length <= i + 1) {\r\n exitUsage(\"No iterations specified\");\r\n }\r\n iterations = Integer.parseInt(args[i + 1]);\r\n break;\r\n case \"-h\":\r\n useHouseHolder = true;\r\n break;\r\n case \"-g\":\r\n useGivens = true;\r\n break;\r\n default:\r\n exitUsage(\"Bad option: \" + args[i]);\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (pointsFile == null) {\r\n exitUsage(\"Specify a file using '-f pointsfile'\");\r\n }\r\n if (iterations == -1) {\r\n exitUsage(\"Specify iterations using '-i iterations'\");\r\n }\r\n if (beta == null) {\r\n exitUsage(\"Specity beta vector components using '-b a,b,c'\");\r\n }\r\n if (!useGivens && !useHouseHolder) {\r\n exitUsage(\"Specify QR decomposition method using either '-g' or '-h'\");\r\n }\r\n if (useGivens && useHouseHolder) {\r\n exitUsage(\"Specify only one of Householder Relfections or Given's Rotations\");\r\n }\r\n }", "title": "" }, { "docid": "db8f7e173109eb68aebe2a7d4d88e7be", "score": "0.5581529", "text": "final boolean parseArguments(final String[] args) {\r\n final Args arg = new Args(args, this,\r\n \" [-dt] [database?]\" + NL +\r\n \" -d debug flag\" + NL +\r\n \" -o<k=v> set database property\" + NL +\r\n \" -t tabular output\" + NL +\r\n \" database database to be parsed\");\r\n\r\n while(arg.more()) {\r\n if(arg.dash()) {\r\n final char ch = arg.next();\r\n if(ch == 'd') {\r\n debug = true;\r\n } else if(ch == 'o') {\r\n final String[] kp = arg.string().split(\"=\", 2);\r\n arg.check(new Set(kp[0], kp[1]).run(ctx));\r\n } else if(ch == 't') {\r\n tab = true;\r\n } else {\r\n arg.check(false);\r\n }\r\n } else {\r\n db = arg.string();\r\n }\r\n }\r\n return arg.finish();\r\n }", "title": "" }, { "docid": "03ce454b57b028f92c8ba4d353baab16", "score": "0.5569766", "text": "protected void parseArguments(final Options options, String[] cmdArray) {\n\t\tCommandLineParser parser = new PosixParser();\n\t\ttry {\n\t\t\tCommandLine cmd = parser.parse(options, cmdArray);\n\t\t\tOption[] opts = cmd.getOptions();\n\t\t\tfor (Option o : opts) {\n\t\t\t\targuments.put(o.getLongOpt(), o.getValue() == null ? \"\" : o.getValue());\n\t\t\t}\n\t\t} catch (ParseException e) {\n\t\t\tif (LOGGER.isDebugEnabled()) {\n\t\t\t\tLOGGER.debug(MSG_WRONG_ARGUMENT);\n\t\t\t}\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "abada12837495dee022c62b817f8d017", "score": "0.5559594", "text": "private void parseArgs(String[] args)\n\t{\n\t\tint i=0;\n\n\t\twhile(i < args.length)\n\t\t{\n\t\t\tif (args[i].compareTo(\"-server\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tserverUrl = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-topic\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tdestName = args[i+1];\n\t\t\t\tuseTopic = true;\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-queue\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tdestName = args[i+1];\n\t\t\t\tuseTopic = false;\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-durable\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tdurableName = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-user\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tusername = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-help-ssl\")==0)\n\t\t\t{\n\t\t\t\ttibjmsUtilities.sslUsage();\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-password\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tpassword = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-uniquedests\")==0)\n\t\t\t{\n\t\t\t\tuniqueDests = true;\n\t\t\t\ti += 1;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-threads\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tthreads = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -threads parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\tif (threads < 1) {\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -threads parameter, must be >= 1\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-connections\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tconnections = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -connections parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\tif (connections < 1)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -connections parameter, must be >= 1\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-statACK\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tm_collectACK_Stat = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -statACK parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\tif (m_collectACK_Stat < 0)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -statACK parameter, must be >= 0\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-count\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tcount = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -count parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-rate\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\ts_targetMsgRate = Double.parseDouble(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -rate parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-adjustRate\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tString dm = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t\tif (dm.toLowerCase().compareTo(\"true\")==0)\n\t\t\t\t\ts_adjustRate = true;\n\t\t\t\telse {\n\t\t\t\t\ts_adjustRate = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-time\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\trunTime = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -time parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-ackmode\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tString dm = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t\tif (dm.compareTo(\"DUPS_OK\")==0)\n\t\t\t\t\tackMode = javax.jms.Session.DUPS_OK_ACKNOWLEDGE;\n\t\t\t\telse if (dm.compareTo(\"AUTO\")==0)\n\t\t\t\t\tackMode = javax.jms.Session.AUTO_ACKNOWLEDGE;\n\t\t\t\telse if (dm.compareTo(\"CLIENT\")==0)\n\t\t\t\t\tackMode = javax.jms.Session.CLIENT_ACKNOWLEDGE;\n\t\t\t\telse if (dm.compareTo(\"EXPLICIT_CLIENT\")==0)\n\t\t\t\t\tackMode = com.tibco.tibjms.Tibjms.EXPLICIT_CLIENT_ACKNOWLEDGE;\n\t\t\t\telse if (dm.compareTo(\"EXPLICIT_CLIENT_DUPS_OK\")==0)\n\t\t\t\t\tackMode = com.tibco.tibjms.Tibjms.EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE;\n\t\t\t\telse if (dm.compareTo(\"NO\")==0)\n\t\t\t\t\tackMode = com.tibco.tibjms.Tibjms.NO_ACKNOWLEDGE;\n\t\t\t\telse {\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -ackMode parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-txnsize\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\ttxnSize = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -txnsize parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\tif (txnSize < 1)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -txnsize parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-selector\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tselector = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-factory\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tfactoryName = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if(args[i].startsWith(\"-ssl\"))\n\t\t\t{\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\t// --------------------------- new 1.3.0\n\t\t\telse if (args[i].compareTo(\"-latency\")==0)\n\t\t\t{\n\t\t\t\tdoLatency = true;\n\t\t\t\ti += 1;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-histogram\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\thistogramDuration = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -histogram parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\t// --------------------------- begin 1.4.0\n\t\t\telse if (args[i].compareTo(\"-compression\")==0)\n\t\t\t{\n\t\t\t\tcompression = true;\n\t\t\t\ti += 1;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-delivery\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tString dm = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t\tif (dm.compareTo(\"PERSISTENT\")==0)\n\t\t\t\t\tdeliveryMode = javax.jms.DeliveryMode.PERSISTENT;\n\t\t\t\telse if (dm.compareTo(\"NON_PERSISTENT\")==0)\n\t\t\t\t\tdeliveryMode = javax.jms.DeliveryMode.NON_PERSISTENT;\n\t\t\t\telse if (dm.compareTo(\"RELIABLE\")==0)\n\t\t\t\t\tdeliveryMode = com.tibco.tibjms.Tibjms.RELIABLE_DELIVERY;\n\t\t\t\telse {\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -delivery parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-priority\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tpriority = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -priority parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\tif (priority < 1 || priority > 9)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -priority parameter (must be between 1 and 9)\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if ((args[i].compareTo(\"-expiration\")==0) || (args[i].compareTo(\"-ttl\")==0))\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\texpiration = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e) {\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -expiration parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\t\t\t\n\t\t\telse if (args[i].compareTo(\"-size\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tmsgSize = Integer.parseInt(args[i+1]);\n\t\t\t\t}\n\t\t\t\tcatch(NumberFormatException e)\n\t\t\t\t{\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -size parameter\");\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-forceMode\")==0)\n\t\t\t{\n\t\t\t\tif ((i+1) >= args.length) usage();\n\t\t\t\tString dm = args[i+1];\n\t\t\t\ti += 2;\n\t\t\t\tif (dm.toLowerCase().compareTo(\"slow\")==0)\n\t\t\t\t\tm_forceMode = \"slow\";\n\t\t\t\telse if (dm.toLowerCase().compareTo(\"fast\")==0) {\n\t\t\t\t\tm_forceMode = \"fast\";\n\t\t\t\t}\n\t\t\t\telse m_forceMode = \"none\";\n\t\t\t}\t\t\t\n\t\t\telse if (args[i].compareTo(\"-v\")==0)\n\t\t\t{\n\t\t\t\tm_debug = true;\n\t\t\t\ti += 1;\n\t\t\t} else if (args[i].compareTo(\"-incrementalOutput\") == 0) {\n\t\t\t\tif ((i + 1) >= args.length) usage();\n\t\t\t\t\n\t\t\t\tdoIncrementalOutput = true;\n\t\t\t\ttry {\n\t\t\t\t\tincrementalOutputTime = Float.parseFloat(args[i + 1]);\n\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\tSystem.err.println(\"Error: invalid value of -incrementalOutput parameter. Must be a float.\");\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tusage();\n\t\t\t\t}\n\t\t\t\ti += 2;\n\t\t\t}\t\t\n\t\t\telse if (args[i].equals(\"-load:plugin\"))\n\t\t\t{\n\t\t\t\t// add this to the list of load-able plug-in\n\t\t\t\tif ( !args[i+1].trim().toLowerCase().equals(\"null\") && !args[i+1].trim().toLowerCase().equals(\"none\") ) { \n\t\t\t\t\ts_properties.addMultiProperty(PluginManager.s_keyPrefix + PluginManager.getTokenForPlugin(MsgHandler_Plugin_IF.class.getName()), args[i+1]);\n\t\t\t\t\tthis.enablePlugin = true;\n\t\t\t\t}\n\t\t\t\ti += 2; \n\t\t\t}\n\t\t\telse if (args[i].trim().toLowerCase().startsWith(\"-plugin:\"))\n\t\t\t{\n\t\t\t\t\t// ignore all the arguments for plugins\n\t\t\t\t\ti += 2; \n\t\t\t}\n\t\t\telse if (args[i].equals(\"-cfgFile\"))\n\t\t\t{\n\t\t\t\ts_configFile = args[++i];\n\t\t\t}\n\n\t\t\telse if (args[i].compareTo(\"-format:bytes\")==0) \n\t\t\t{\n\t\t\t\tm_msgFormat = MsgProducerPerfApp.MessageFormat.BytesMsg;\n\t\t\t\ti += 1;\n\t\t\t}\n\t\t\telse if ((args[i].compareTo(\"-text\")==0) || (args[i].compareTo(\"-format:text\")==0)) \n\t\t\t{\n\t\t\t\tm_msgFormat = MsgProducerPerfApp.MessageFormat.TextMsg;\n\t\t\t\ti += 1;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-format:map\")==0) \n\t\t\t{\n\t\t\t\tm_msgFormat = MsgProducerPerfApp.MessageFormat.MapMsg;\n\t\t\t\ti += 1;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-format:stream\")==0) \n\t\t\t{\n\t\t\t\tm_msgFormat = MsgProducerPerfApp.MessageFormat.StreamMsg;\n\t\t\t\ti += 1;\n\t\t\t}\n\t\t\telse if (args[i].compareTo(\"-format:deferred\")==0) \n\t\t\t{\n\t\t\t\tm_msgFormat = MsgProducerPerfApp.MessageFormat.DEFERRED;\n\t\t\t\ti += 1;\n\t\t\t}\t\t\t\n\t\t\t\n\t\t\t// --------------------------- end 1.4.0\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.err.println(\"Error: invalid option: \" + args[i]);\n\t\t\t\tusage();\n\t\t\t}\n\t\t}\n\n\t\tif (durableName != null && !useTopic)\n\t\t{\n\t\t\tSystem.err.println(\"Error: -durable cannot be used with -topic\");\n\t\t\tusage();\n\t\t}\n\t}", "title": "" }, { "docid": "72ed369df69b9073980605dc00c97b43", "score": "0.5558353", "text": "private String parse_cmdline(String[] args) {\n\n // Holds the data gathered from the cmdline\n String something = null;\n\n // Set to \"aa\", \"da\", \"as\", \"ds\", or \"ag\" with respect to the cdmline args.\n String action=null;\n\n // The rest of the options which are needed to fulfill desired action.\n String assignmentName=null;\n int assignmentPoints=-1;\n double assignmentWeight=-1;\n String studentFirstName=null;\n String studentLastName=null;\n int grade=-1;\n\n String filename=null;\n String key=null;\n\n // Keep track of which flags have been used so far to verify that none are missing\n Set<String> usedFlags = new HashSet<>();\n Set<String> requiredFlags = null;\n\n if(args.length==1)\n System.out.println(\"\\nNo Extra Command Line Argument Passed Other Than Program Name\");\n if(args.length>=2) {\n // Checks first arguments\n if(!args[0].equals(\"-N\")){\n exit();\n } else if (!args[2].equals(\"-K\")){\n exit();\n } else {\n filename = args[1];\n if (!filename.matches(\"^[a-zA-Z0-9_.]*$\")) {\n exit();\n }\n key = args[3];\n if (!key.matches(\"[a-fA-F0-9]*$\")) { //verify that the key is in hexadecimal\n exit();\n }\n\n // Handles Add Assignment\n if(args[4].equals(\"-AA\")){\n action = \"aa\";\n requiredFlags = new HashSet<>(Arrays.asList(\"-AN\",\"-P\",\"-W\"));\n if (args.length != 11)\n exit(); // invalid number of arguments\n for(int counter=5; counter < args.length; counter++){\n switch (args[counter]) {\n case \"-AN\":\n usedFlags.add(\"-AN\");\n assignmentName = args[counter+1];\n if (!isAlphanumeric(assignmentName))\n exit();\n break;\n case \"-P\":\n usedFlags.add(\"-P\");\n try { \n assignmentPoints = Integer.parseInt(args[counter+1]);\n if (assignmentPoints < 0)\n exit();\n } catch (NumberFormatException e) {\n exit();\n }\n break;\n case \"-W\":\n usedFlags.add(\"-W\");\n try {\n assignmentWeight = Double.parseDouble(args[counter+1]);\n if (assignmentWeight < 0 || assignmentWeight > 1) \n exit();\n } catch (NumberFormatException e) {\n exit();\n }\n break;\n default:\n break;\n }\n }\n something = filename+\" \"+key+\" \"+action+\" \"+assignmentName+\" \"+\n assignmentPoints+\" \"+assignmentWeight;\n\n //Handles Delete Assignment\n } else if (args[4].equals(\"-DA\")) {\n action = \"da\";\n requiredFlags = new HashSet<>(Arrays.asList(\"-AN\"));\n if (args.length != 7)\n exit(); // invalid number of arguments\n for(int counter=5; counter < args.length; counter++){\n switch (args[counter]) {\n case \"-AN\":\n usedFlags.add(\"-AN\");\n assignmentName = args[counter+1];\n if (!isAlphanumeric(assignmentName))\n exit();\n break;\n default:\n break;\n }\n }\n something = filename+\" \"+key+\" \"+action+\" \"+assignmentName;\n\n // Handles Add Student\n } else if (args[4].equals(\"-AS\")) {\n action = \"as\";\n requiredFlags = new HashSet<>(Arrays.asList(\"-FN\",\"-LN\"));\n if (args.length != 9)\n exit(); // invalid number of arguments\n for(int counter=5; counter < args.length; counter++){\n switch (args[counter]) {\n case \"-FN\":\n usedFlags.add(\"-FN\");\n studentFirstName = args[counter+1];\n if (!isAlphabetical(studentFirstName))\n exit();\n break;\n case \"-LN\":\n usedFlags.add(\"-LN\");\n studentLastName = args[counter+1];\n if (!isAlphabetical(studentLastName))\n exit();\n break;\n default:\n break;\n }\n }\n something = filename+\" \"+key+\" \"+action+\" \"+studentFirstName+\" \"+\n studentLastName;\n\n // Handles Delete Student\n } else if (args[4].equals(\"-DS\")) {\n action = \"ds\";\n requiredFlags = new HashSet<>(Arrays.asList(\"-FN\",\"-LN\"));\n if (args.length != 9)\n exit(); // invalid number of arguments\n for(int counter=5; counter < args.length; counter++){\n switch (args[counter]) {\n case \"-FN\":\n usedFlags.add(\"-FN\");\n studentFirstName = args[counter+1];\n if (!isAlphabetical(studentFirstName))\n exit();\n break;\n case \"-LN\":\n usedFlags.add(\"-LN\");\n studentLastName = args[counter+1];\n if (!isAlphabetical(studentLastName))\n exit();\n break;\n default:\n break;\n }\n }\n something = filename+\" \"+key+\" \"+action+\" \"+studentFirstName+\" \"+\n studentLastName;\n\n // Handles Add Grade\n } else if (args[4].equals(\"-AG\")) {\n action = \"ag\";\n requiredFlags = new HashSet<>(Arrays.asList(\"-FN\",\"-LN\",\"-AN\",\"-G\"));\n if (args.length != 13)\n exit(); // invalid number of arguments\n for(int counter=5; counter < args.length; counter++){\n switch (args[counter]) {\n case \"-FN\":\n usedFlags.add(\"-FN\");\n studentFirstName = args[counter+1];\n if (!isAlphabetical(studentFirstName))\n exit();\n break;\n case \"-LN\":\n usedFlags.add(\"-LN\");\n studentLastName = args[counter+1];\n if (!isAlphabetical(studentLastName))\n exit();\n break;\n case \"-AN\":\n usedFlags.add(\"-AN\");\n assignmentName = args[counter+1];\n if (!isAlphanumeric(assignmentName))\n exit();\n break;\n case \"-G\":\n usedFlags.add(\"-G\");\n try {\n grade = Integer.parseInt(args[counter+1]);\n if (grade < 0)\n exit();\n } catch (NumberFormatException e) {\n exit();\n }\n break;\n default:\n break;\n }\n }\n something = filename+\" \"+key+\" \"+action+\" \"+studentFirstName+\" \"+\n studentLastName+\" \"+assignmentName+\" \"+grade;\n } else {\n exit(); // action is invalid\n }\n }\n\n }\n // Check if any flags are missing\n if (!usedFlags.equals(requiredFlags))\n exit();\n \n return something;\n }", "title": "" }, { "docid": "9cbf91c0b7f516e09479e057b90e7896", "score": "0.55545163", "text": "public static void loadFileOptions(){\n\n allOptions = new HashMap<>();\n if(confFileName.isEmpty()) {\n Path pathFile = Paths.get(confFileNameDefault);\n try {\n Files.lines(pathFile)\n .filter(line -> !line.startsWith(\"%\"))\n .forEach(line -> parseLine(line));\n } catch (IOException ex) {\n //Continue with default options\n }\n }else{\n Path pathFile = Paths.get(confFileName);\n try {\n Files.lines(pathFile)\n .filter(line -> !line.startsWith(\"%\"))\n .forEach(line -> parseLine(line));\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n }", "title": "" }, { "docid": "8876cc682beb11f0d99f931670c5361e", "score": "0.55300874", "text": "public final boolean parse(@SuppressWarnings(\"hiding\") final String[] args) {\n\t\tthis.args = args;\n\t\tthis.unknownOption = null;\n\t\tparse();\n\t\treturn this.unknownOption == null;\n\t}", "title": "" }, { "docid": "93ada08d1e26a1d04949d375bd95a3bd", "score": "0.5523458", "text": "public boolean readargs(String[] args) {\r\n boolean isConf = false;\r\n boolean isSrc = false;\r\n boolean isMode = false;\r\n boolean isDir = false;\r\n boolean isLogPath = false;\r\n boolean isRet = true;\r\n int length = args.length;\r\n if(length == 0){\r\n InfoMsg.usage(0);\r\n return false;\r\n }\r\n\r\n\r\n for (int i = 0; i < length; i++) {\r\n if (!args[i].startsWith(\"-\")) {//check Argument - text\r\n InfoMsg.usage(0);\r\n isRet = false;\r\n }\r\n if (args[i].equalsIgnoreCase(\"-help\")) {\r\n InfoMsg.usage(0);\r\n isRet = false;\r\n }\r\n if (args[i].equalsIgnoreCase(\"-conf\")) {\r\n if (i < length-1 && !args[i+1].startsWith(\"-\")) {\r\n isConf = true;\r\n this.conf = args[i+1];\r\n i++;\r\n }else{\r\n isRet = false;\r\n break;\r\n }\r\n } else if (args[i].equalsIgnoreCase(\"-srcid\")) {\r\n if (i<length-1 && !args[i+1].startsWith(\"-\")) {\r\n isSrc = true;\r\n this.srcid = args[i+1];\r\n i++;\r\n }else{\r\n isRet = false;\r\n break;\r\n }\r\n } else if (args[i].equalsIgnoreCase(\"-dir\")) {\r\n if (i<length-1 && !args[i+1].startsWith(\"-\")) {\r\n isDir = true;\r\n\t\t\t\t\tthis.dir = args[i+1];\r\n\r\n File file = new File(this.dir);\r\n if(!file.isDirectory()){\r\n \tInfoMsg.usageDirectoryPath(this.dir);\r\n \tSystem.exit(-1);\r\n }\r\n i++;\r\n }else{\r\n isRet = false;\r\n break;\r\n }\r\n }else if (args[i].equalsIgnoreCase(\"-logpath\")) {\r\n \t if (i<length-1 && !args[i+1].startsWith(\"-\")) {\r\n isLogPath = true;\r\n this.logPath = args[i+1];\r\n i++;\r\n }else{\r\n isRet = false;\r\n break;\r\n }\r\n } else if (args[i].equalsIgnoreCase(\"-mode\")) {\r\n if (i<length-1 && !args[i+1].startsWith(\"-\")) {\r\n String tMode = args[i+1];\r\n if (tMode.equalsIgnoreCase(\"excel\")) {\r\n isMode = true;\r\n this.mode = 0;\r\n } else if (tMode.equalsIgnoreCase(\"insert\")) {\r\n isMode = true;\r\n this.mode = 1;\r\n } else if (tMode.equalsIgnoreCase(\"update\")) {\r\n isMode = true;\r\n this.mode = 2;\r\n }else {\r\n error(\"*** DB Insert RunTime Mode Error !! -mode \"+tMode+\" ***\");\r\n isRet = false;\r\n }\r\n i++;\r\n } else {\r\n isRet = false;\r\n break;\r\n }\r\n } else if (args[i].equalsIgnoreCase(\"-log\")) {\r\n if(i+1 < length) {\r\n if ( !args[i+1].startsWith(\"-\") ) {\r\n if( args[i+1].equalsIgnoreCase(\"stdout\")){\r\n this.log = \"stdout\";\r\n } else if( args[i+1].equalsIgnoreCase(\"day\")){\r\n this.log = \"day\";\r\n } else if( args[i+1].equalsIgnoreCase(\"week\")){\r\n this.log = \"day\";\r\n } else {\r\n this.log = \"stdout\";\r\n }\r\n i++;\r\n }\r\n }\r\n }else if (args[i].equalsIgnoreCase(\"-debug\")) {\r\n debug = true;\r\n loglevel = 1;\r\n if(i+1 < length) {\r\n if ( !args[i+1].startsWith(\"-\") ) {\r\n try{\r\n loglevel = Integer.parseInt(args[i+1]);\r\n }catch(Exception e){}\r\n i++;\r\n }\r\n }\r\n }else {\r\n error(\"Unknown RunTime Args :\"+args[i]);\r\n isRet = false;\r\n }\r\n }\r\n\r\n if(!isRet || !isConf || !isSrc || !isMode || !isDir || !isLogPath){\r\n error(\"*** Runtime Arg Error ***\");\r\n isRet = false;\r\n }\r\n if (conf.equals(\"\")) {\r\n error(\">> Not Found -conf <config file path>\");\r\n isRet = false;\r\n }\r\n if (srcid.equals(\"\")) {\r\n error(\">> Not Found -srcid <source id>\");\r\n isRet = false;\r\n }\r\n if(dir.equals(\"\")){\r\n \terror(\">> Not Found -dir \");\r\n }\r\n if(logPath.equals(\"\")){\r\n \terror(\">> Not Found -logpath <Log> \");\r\n }\r\n if (mode == -1) {\r\n error(\">> Not Found -mode <excel|test1|test2>\");\r\n isRet = false;\r\n }\r\n return isRet;\r\n }", "title": "" }, { "docid": "f339b2de57b057595893720230fd4578", "score": "0.5516023", "text": "private boolean parseCommand(String[] args) {\r\n int i;\r\n\r\n try {\r\n for(i = 0; i < args.length; i++) {\r\n if(args[i].startsWith(\"-\")) {\r\n switch(args[i].charAt(1)) {\r\n case 'c':\r\n try {\r\n nCycles = Integer.parseInt(args[++i]);\r\n } catch(NumberFormatException ex) {\r\n nCycles = 0;\r\n System.err.println(\"Invalid number for -cycles\");\r\n return false;\r\n }\r\n break;\r\n case 'h':\r\n usage();\r\n System.exit(0);\r\n case 'm':\r\n try {\r\n nMaxDiff = Integer.parseInt(args[++i]);\r\n changedBlocks = new int[nMaxDiff];\r\n } catch(NumberFormatException ex) {\r\n nCycles = 0;\r\n System.err.println(\"Invalid number for -max\");\r\n return false;\r\n }\r\n break;\r\n case 'o':\r\n omit4Sides = true;\r\n break;\r\n case 'r':\r\n startWithR = true;\r\n break;\r\n default:\r\n System.err.println(\"\\n\\nInvalid option: \" + args[i]);\r\n usage();\r\n return false;\r\n }\r\n }\r\n }\r\n } catch(Exception ex) {\r\n System.err.println(\"\\n\\nError parsing command line\\n +\"\r\n + ex.getMessage());\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "e042a4056ecb3d4f83b27efd50ed25d0", "score": "0.551221", "text": "void processOptionalProperties(String[] args) {\n File optionalPropFile = new File(getApplicationPath(args), PROPERTIES_LOCATION);\n if (!optionalPropFile.exists()) {\n // nothing to process.\n return;\n }\n Properties optionalProperties = new Properties();\n try (InputStream in = new FileInputStream(optionalPropFile)) {\n optionalProperties.load(in);\n } catch (IOException e) {\n logger.log(Level.SEVERE, \"Cannot read optional properties file.\", e);\n return;\n }\n\n for (String flag :\n new String[] {\n USE_MAVEN_JARS,\n DISABLE_API_CALL_LOGGING_IN_APIPROXY,\n ALLOW_NON_RESIDENT_SESSION_ACCESS,\n USE_ANNOTATION_SCANNING\n }) {\n if (\"true\".equalsIgnoreCase(optionalProperties.getProperty(flag))) {\n System.setProperty(flag, \"true\");\n }\n }\n }", "title": "" }, { "docid": "d957bd31c26449a688747764123190d6", "score": "0.54969287", "text": "private void initAgentOption() {\r\n \t\tif (daemon_option == true) {\r\n \t\t\tdaemonOption = true;\r\n \t\t\tif (daemon_period > 0) {\r\n \t\t\t\tdaemonPeriod = daemon_period;\r\n \t\t\t} else {\r\n \t\t\t\tdaemonPeriod = DEFAULT_DAEMON_PERIOD;\r\n \t\t\t}\r\n \t\t} else {\r\n \t\t\tdaemonOption = DEFAULT_DAEMON_OPTION;\r\n \t\t\tdaemonPeriod = DEFAULT_DAEMON_PERIOD;\r\n \t\t}\r\n \r\n \t\tif(logger.isDebugEnabled()) {\r\n \t\t\tlogger.debug(\"--- Agent -daemon option: \" + daemonOption);\r\n \r\n \t\t\tif (daemonOption == true) {\r\n \t\t\t\tlogger.debug(\"--- Agent sleep time: \" + daemonPeriod);\r\n \t\t\t}\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "d01c26f99995b1bb92c528f9e6e9777d", "score": "0.548369", "text": "private void parseOption(String line) {\n String[] tokens = line.split(\"=\");\n if (tokens.length == 2) {\n String key = tokens[0];\n String value = tokens[1];\n\n if (key.equals(KEY_CLOCK)) {\n if (value.equals(\"thread-cpu\")) {\n mTraceDataBuilder.setVmClockType(VmTraceData.VmClockType.THREAD_CPU);\n } else if (value.equals(\"wall\")) {\n mTraceDataBuilder.setVmClockType(VmTraceData.VmClockType.WALL);\n } else if (value.equals(\"dual\")) {\n mTraceDataBuilder.setVmClockType(VmTraceData.VmClockType.DUAL);\n }\n } else if (key.equals(KEY_DATA_OVERFLOW)) {\n mTraceDataBuilder.setDataFileOverflow(Boolean.parseBoolean(value));\n } else if (key.equals(KEY_VM)) {\n mTraceDataBuilder.setVm(value);\n } else {\n mTraceDataBuilder.setProperty(key, value);\n }\n }\n }", "title": "" }, { "docid": "e61cc18c81ca32a48c5d64bcf6df2ece", "score": "0.5463699", "text": "private int init(String[] args) {\n\t\ttry {\n\t\t\tfor (int i = 0; i < args.length; i++) { // parse command line\n\t\t\t\tif (args[i].equals(\"-maxDepth\")) {\n\t\t\t\t\tmaxDepth = Integer.parseInt(args[++i]);\n\t\t\t\t\tif (maxDepth < 1) {\n\t\t\t\t\t\tSystem.err.println(\"maxDepth must be positive: \"\n\t\t\t\t\t\t\t\t+ maxDepth);\n\t\t\t\t\t\treturn -1;\n\t\t\t\t\t}\n\t\t\t\t} else if (args[i].equals(\"-minWidth\")) {\n\t\t\t\t\tminWidth = Integer.parseInt(args[++i]);\n\t\t\t\t\tif (minWidth < 0) {\n\t\t\t\t\t\tSystem.err.println(\"minWidth must be positive: \"\n\t\t\t\t\t\t\t\t+ minWidth);\n\t\t\t\t\t\treturn -1;\n\t\t\t\t\t}\n\t\t\t\t} else if (args[i].equals(\"-maxWidth\")) {\n\t\t\t\t\tmaxWidth = Integer.parseInt(args[++i]);\n\t\t\t\t} else if (args[i].equals(\"-numOfFiles\")) {\n\t\t\t\t\tnumOfFiles = Integer.parseInt(args[++i]);\n\t\t\t\t\tif (numOfFiles < 1) {\n\t\t\t\t\t\tSystem.err.println(\"NumOfFiles must be positive: \"\n\t\t\t\t\t\t\t\t+ numOfFiles);\n\t\t\t\t\t\treturn -1;\n\t\t\t\t\t}\n\t\t\t\t} else if (args[i].equals(\"-avgFileSize\")) {\n\t\t\t\t\tavgFileSize = Double.parseDouble(args[++i]);\n\t\t\t\t\tif (avgFileSize <= 0) {\n\t\t\t\t\t\tSystem.err.println(\"AvgFileSize must be positive: \"\n\t\t\t\t\t\t\t\t+ avgFileSize);\n\t\t\t\t\t\treturn -1;\n\t\t\t\t\t}\n\t\t\t\t} else if (args[i].equals(\"-outDir\")) {\n\t\t\t\t\toutDir = new File(args[++i]);\n\t\t\t\t} else if (args[i].equals(\"-seed\")) {\n\t\t\t\t\tr = new Random(Long.parseLong(args[++i]));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.err.println(USAGE);\n\t\t\t\t\tToolRunner.printGenericCommandUsage(System.err);\n\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.err.println(\"Illegal parameter: \" + e.getLocalizedMessage());\n\t\t\tSystem.err.println(USAGE);\n\t\t\treturn -1;\n\t\t}\n\n\t\tif (maxWidth < minWidth) {\n\t\t\tSystem.err.println(\"maxWidth must be bigger than minWidth: \"\n\t\t\t\t\t+ maxWidth);\n\t\t\treturn -1;\n\t\t}\n\n\t\tif (r == null) {\n\t\t\tr = new Random();\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "e5a55d8a4f3202e732d099a457066251", "score": "0.54617625", "text": "public static void main(String[] args) throws Exception {\n\t\tOptions optionen = new Options();\n\n\t\t// Option fuer Pfad zum Korpus hinzufuegen\n\t\toptionen.addOption(\"k\", true, \"Pfad, auf bzw. unter dem sich die Korpusdateien befinden (Option ist mehrfach anwendbar).\");\n\t\t\n\t\t// Option fuer Datenstruktur hinzufuegen\n\t\toptionen.addOption(\"m\", true, \"Maximale Tiefe der erstellten Baeume (inkl. Wurzel). <0 = ignorieren (Standard)\");\n\t\t\n\t\t// Option fuer Programmausfuehrung hinzufuegen\n\t\toptionen.addOption(\"p\", true, \"Anzahl der gleichzeitig auszufuehrenden Prozesse (Standard: 4)\");\n\t\t\n\t\t// Option fuer Vergleiche hinzufuegen\n\t\toptionen.addOption(\"t\", false, \"Nur Trefferknoten als Vergleichsbaeume verwenden.\");\n\t\t\n\t\t// Option fuer Metabaumkonstruktion hinzufuegen\n\t\toptionen.addOption(\"e\", true, \"Anzahl der zu erstellenden Metaknotenbaum-Ebenen (min. 1, Standard 4).\");\n\t\t\n\t\t// Option fuer Hilfstext anzeigen\n\t\toptionen.addOption(\"h\", false, \"Gibt Information zur Benutzung des Programms aus.\");\n\t\t\n\t\t/**\n\t\t * Kommandozeilenoptionen auswerten\n\t\t */\n\t\t\n\t\t// Parser fuer Kommandozeilenoptionen\n\t\tCommandLineParser parser = new org.apache.commons.cli.PosixParser();\n\t\tCommandLine kommandozeile = parser.parse( optionen, args);\n\t\t\n\t\t// Ggf. Hilfetext anzeigen\n\t\tif (kommandozeile.hasOption(\"h\")) {\n\t\t\tHelpFormatter lvFormater = new HelpFormatter();\n\t\t\tlvFormater.printHelp(\"java [-d64 -Xms7500m -Xmx7500m] -jar Experiment4.jar <Optionen>\", optionen);\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\t// Pfade zum OANC.\n\t\t//String[] oancSpeicherorte = new String[]{\"/Users/marcel/Downloads/OANC/data/written_1/\",\"/Users/marcel/Downloads/OANC/data/written_2/\"};\n\t\tString[] oancSpeicherorte = new String[]{\"/Users/marcel/testkorpus/\"};\n\t\tif(kommandozeile.hasOption(\"k\")) {\n\t\t\toancSpeicherorte = kommandozeile.getOptionValues(\"k\");\n\t\t}\n\t\t\n\t\t// Maximale Baumtiefe\n\t\tint maximaleBaumTiefe = -1;\n\t\tif(kommandozeile.hasOption(\"m\")) {\n\t\t\tmaximaleBaumTiefe = Integer.parseInt(kommandozeile.getOptionValue(\"m\"));\n\t\t}\n\t\t\n\t\t// Anzahl gleichzeitiger Prozesse\n\t\tint gleichzeitigeProzesse = 4;\n\t\tif(kommandozeile.hasOption(\"p\")) {\n\t\t\tif (Integer.parseInt(kommandozeile.getOptionValue(\"p\")) > 0)\n\t\t\tgleichzeitigeProzesse = Integer.parseInt(kommandozeile.getOptionValue(\"p\"));\n\t\t}\n\t\t\n\t\tboolean behalteNurTreffer = kommandozeile.hasOption(\"t\");\n\t\t\n\t\t// Anzahl der zu erstellenden Metaknotenbaum-Ebenen\n\t\tint metaknotenbaumEbenen = 4;\n\t\tif(kommandozeile.hasOption(\"e\")) {\n\t\t\tmetaknotenbaumEbenen = Integer.parseInt(kommandozeile.getOptionValue(\"e\"));\n\t\t\tif (metaknotenbaumEbenen <= 0){\n\t\t\t\tmetaknotenbaumEbenen = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Startobjekt instanziieren\n\t\tStart start = new Start(oancSpeicherorte, maximaleBaumTiefe, gleichzeitigeProzesse, behalteNurTreffer);\n\t\t\n\t}", "title": "" }, { "docid": "c7c3c889df4d50268e0983ceb94da297", "score": "0.54419917", "text": "private void parserOfArguments(String[] args) {\n\n if (args.length < 3 || args.length > 5)\n printUsage(\"Program requires between 3 and 5 valid arguements to run\");\n\n try {\n if (Integer.parseInt(args[0]) == 1)\n printUsage(\"1st argument must be either 0 or 1 \");\n\n } catch (IllegalFormatException e) {\n printUsage(\"1st argument must be either 0 or 1 \");\n }\n\n BTreeName = args[1];\n\n beTreeFile = new File(BTreeName);\n\n QueryName = args[2];\n\n queryFileObject = new File(QueryName);\n }", "title": "" }, { "docid": "1e60beeb904639b515b5ebee78f8445a", "score": "0.54414177", "text": "public void parse(String... args);", "title": "" }, { "docid": "67698b6f3247549043317dadb362ad43", "score": "0.5411859", "text": "public CommandLineParameters() {\n // options holds all options that are available\n options = new Options();\n // Add the individual options\n options.addOption( OptionBuilder.isRequired().hasArg().withArgName(\"pdbFile\").withDescription(\"name of the input PDB file or directory name\").withLongOpt(\"file\").create('f') );\n options.addOption( OptionBuilder.hasArg().withArgName(\"mode\").withDescription(\"1: Original PDIdb mode (default), 2: Extended mode, 3: Extended mode with HBPLUS, 4: Extended mode with PantanoOutputFilter\").withLongOpt(\"mode\").create('m') );\n options.addOption( OptionBuilder.withDescription(\"disable effective interactions\").withLongOpt(\"noeff\").create('n') );\n options.addOption( OptionBuilder.hasArg().withArgName(\"cutoff\").withDescription(\"distance cutoff in angstrom (default: 7.0)\").withLongOpt(\"distance\").create('d') );\n options.addOption( OptionBuilder.withDescription(\"displays this help text\").withLongOpt(\"help\").create('h') );\n options.addOption( OptionBuilder.withDescription(\"displays version information and exits\").withLongOpt(\"version\").create('v') );\n }", "title": "" }, { "docid": "c485bd4a2b1d265f04d593ff25048e44", "score": "0.54093534", "text": "public void parseArguments(final String... args)\n\t{\n\t\ttry\n\t\t{\n\t\t\tfinal Options options = buildOptions();\n\t\t\tfinal CommandLine line = COMMAND_LINE_PARSER.parse(options, args);\n\t\t\tLOG.debug(String.format(\"Processing input [%s] using [%s]\", Arrays.toString(args), options));\n\t\t\tprocessInput(options, line);\n\t\t}\n\t\tcatch (final ParseException pe)\n\t\t{\n\t\t\tLOG.error(\"Parsing failed.\", pe);\n\t\t}\n\t}", "title": "" }, { "docid": "b31f39dd2fe9d6bc761a9cb48b081ec0", "score": "0.53897196", "text": "private static\n void checkOptionalArgs(G2GPlugin converter)\n throws CmdLineException\n {\n boolean isPrintUsage = false;\n\n // Output graph file is optional\n if (converter.shouldGenerateGraph() &&\n Graph2GraphConfiguration.OUTPUT_FILE == null) {\n System.err.println(\"missing '-o' argument\");\n isPrintUsage = true;\n }\n\n // Plugin name is optional\n if (converter.shouldGenerateMap() &&\n Graph2GraphConfiguration.MAPPING_FILE == null) {\n System.err.println(\"missing '-m' argument\");\n isPrintUsage = true;\n }\n\n // Plugin name is optional\n if (converter.requireExtraArgs() &&\n Graph2GraphConfiguration.EXTRA_ARG == null) {\n System.err.println(\"missing '-x' argument\");\n isPrintUsage = true;\n }\n\n if (isPrintUsage) {\n throw new CmdLineException(\"\");\n }\n }", "title": "" }, { "docid": "8735411d82f279147221438ddf3b145f", "score": "0.5376109", "text": "public void testOpts() {\n System.out.println(\"Entering testOpts\");\n System.out.println(\"Exiting testOpts\");\n }", "title": "" }, { "docid": "4328860bcd21b1f71096aa26f6e2ea56", "score": "0.5352069", "text": "private void processCommand(String [] args)\n {\n if (args.length == 0)\n {\n usage(\"\");\n return;\n }\n\n if (\"-d\".equals(args[0]))\n {\n if (args.length == 1)\n System.out.println(\"test\");\n else if (\"-t\".equals(args[1]) && args.length == 3)\n System.out.println(\"test\");\n\n else if (\"-a\".equals(args[1]) && args.length == 3)\n System.out.println(\"test\");\n\n else\n usage(\"Invalid display option\");\n }\n else if (\"-a\".equals(args[0]))\n {\n System.out.println(\"test\");\n\n }\n else\n {\n usage(\"Bummer I don't know how to `\" + args[0] + \"'\");\n }\n }", "title": "" }, { "docid": "9ce5e0248117e73c2d3380be73e935ed", "score": "0.53458595", "text": "void parseCommandLine(String args[]) {\n try {\n // Command line parsing\n Options options = new Options();\n options.addOption(\"d\", false, \"debug mode (trace parse states)\");\n \n CommandLineParser cliParser = new GnuParser();\n CommandLine cmd = cliParser.parse( options, args);\n DebugMode = cmd.hasOption(\"d\");\n \n String[] remaining = cmd.getArgs();\n int argc = remaining.length;\n \n if (argc == 0) {\n report.err(\"Input file name required\");\n System.exit(1);\n }\n \n else {\n sourceFile = remaining[0];\n \n // If an output filename is explicitly provided, check to see if a previous output file of the same name exists\n // If it does, move the old file to a new marked location for comparative purposes\n if (argc > 1){\n \n // Inform user that extra command line arguments will be ignored\n if (argc > 2){\n report.err(\"Only 1 input file name and optionally 1 output file name can be given;\"+\n \" ignoring other(s)\");\n }\n \n destinationFile = remaining[1];\n \n int extensionIndex = destinationFile.lastIndexOf('.');\n String extensionRemoved = destinationFile.substring(0,extensionIndex);\n \n // Ensure that output gets put into the designated folder\n destinationFile = \"./outputs/\" + extensionRemoved + \".c\";\n File oldFile = new File(destinationFile);\n \n if (oldFile.exists()){\n Files.move(oldFile.toPath(), new File(\"./outputs/\" + extensionRemoved + \"_old.c\").toPath(), java.nio.file.StandardCopyOption.REPLACE_EXISTING);\n }\n }\n \n // If an output filename is not explicitly provided, use the name of the source file with a modified extension\n // If an output file with this name already exists, move the old file to a new marked location for comparative purposes\n else {\n // Need to remove the directory part of the string or else the output file might be created somewhere undesirable (e.g., the 'tests' folder)\n int directoryIndex = sourceFile.lastIndexOf('/');\n int extensionIndex = sourceFile.lastIndexOf('.');\n \n String extensionRemoved = sourceFile.substring(directoryIndex+1,extensionIndex);\n \n // Ensure that output gets put into the designated folder\n destinationFile = \"./outputs/\" + extensionRemoved + \".c\";\n File oldFile = new File(destinationFile);\n \n if (oldFile.exists()){\n Files.move(oldFile.toPath(), new File(\"./outputs/\" + extensionRemoved + \"_old.c\").toPath(), java.nio.file.StandardCopyOption.REPLACE_EXISTING);\n }\n }\n }\n }\n \n catch (Exception e) {\n report.err(\"Argument parsing problem\");\n report.err(e.toString());\n System.exit(1);\n }\n }", "title": "" }, { "docid": "43c3e4f41cef35f74aa6240ab9dfc7a8", "score": "0.5340307", "text": "private Options() { }", "title": "" }, { "docid": "66eec1021c30c58b27f868fdb419c1f0", "score": "0.5330409", "text": "public CommandParser(String appName, String argHelp)\n\t{\n\t\tthis(appName, argHelp, '-', \"--\", \"--\");\n\t}", "title": "" }, { "docid": "725594a1b092ab1ddd637a4da5adcc9a", "score": "0.53045446", "text": "private void getAndProcessUserOption() {\n\t\tString command = stdIn.nextLine().trim();\n\t\tswitch (command) {\n\t\tcase \"1\": // Lists all dancers in a dance\n\t\t\tdisplay(\"Lists all dancers in a dance...\");\n\t\t\tdisplay(\"Enter the name of the required dance:\");\n\t\t\tdisplay(controller.listAllDancersIn(stdIn.nextLine().trim()));\n\t\t\tbreak;\n\t\tcase \"2\": // Lists all dances and respective dancers\n\t\t\tdisplay(\"Lists all dance numbers and the respective dancers...\");\n\t\t\tdisplay(controller.listAllDancesAndPerformers());\n\t\t\tbreak;\n\t\tcase \"3\": // Checks the feasibility of a given running order\n\t\t\tdisplay(\"Checks the feasibility of a given running order...\");\n\t\t\tdisplay(\"Enter the name of the CSV file with the proposed running order:\");\n\t\t\tString dataFile = stdIn.nextLine().trim();\n\t\t\tdisplay(\"Enter the required number of gaps between dances:\");\n\t\t\tString gap = stdIn.nextLine().trim();\n\t\t\ttry {\n\t\t\t\tdisplay(controller.checkFeasibilityOfRunningOrder(dataFile, (new Integer(gap)).intValue()));\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\tdisplay(\"You have not entered the number of gaps as an integer. Sorry, no checking can be done.\");\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"4\": // Generates a running order of all dance numbers\n\t\t\tdisplay(\"Generates a running order...\");\n\t\t\tdisplay(\"Enter the required number of gaps between dances:\");\n\t\t\ttry {\n\t\t\t\tdisplay(controller.generateRunningOrder((new Integer(stdIn.nextLine().trim())).intValue()));\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\tdisplay(\"You have not entered the number of gaps as an integer. Sorry, no checking can be done.\");\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"5\": // Exits the application\n\t\t\tdisplay(\"Goodbye!\");\n\t\t\tSystem.exit(0);\n\t\t\tbreak;\n\t\tdefault: // Not a known command option\n\t\t\tdisplay(unrecogniseCommandErrorMsg(command));\n\t\t}\n\t}", "title": "" }, { "docid": "b42bca0f0f6332df0a0cf7d195fb47d3", "score": "0.5295628", "text": "protected Options() {}", "title": "" }, { "docid": "d635f949417f5a9d59ed2a9c97db397a", "score": "0.52937573", "text": "private void handleArguments(String[] args) {\n //Used to make sure every argument is only called one time\n boolean bPort = true;\n boolean bAuth = true;\n\n int i = 0;\n while (i < args.length && args[i].startsWith(\"-\")) {\n String arg = args[i++];\n\n //Handle the -s argument\n if (bAuth && arg.equals(\"-s\") && i < args.length) {\n sAuthFile = args[i++];\n bAuth = false;\n } else if (bAuth && arg.startsWith(\"-s\")) {\n sAuthFile = arg.substring(2);\n bAuth = false;\n }\n //Handle the -p argument\n else if (bPort && arg.equals(\"-p\") && i < args.length && args[i].matches(\"0|[1-9][0-9]*\")) {\n port = Integer.valueOf(args[i++]);\n bPort = false;\n } else if (bPort && arg.startsWith(\"-p\") && arg.substring(2).matches(\"0|[1-9][0-9]*\")) {\n port = Integer.valueOf(arg.substring(2));\n bPort = false;\n }\n //String didn't fit into specification\n else {\n System.exit(255);\n }\n }\n if (port < 1024 || port > 65535)\n //Port is not in the specified range\n System.exit(255);\n if (!sAuthFile.matches(\"[_\\\\-\\\\.0-9a-z]*\") || sAuthFile.equals(\".\") || sAuthFile.equals(\"..\"))\n //Auth file argument is not a file name\n System.exit(255);\n }", "title": "" }, { "docid": "283363f72fbf6df4f622d51d6413770c", "score": "0.52864206", "text": "public int parseArguments(final String[] args, final int initArg) {\r\n int i = 0, j, idx, index;\r\n String arg;\r\n Vector<String> voiPerImages = new Vector<String>();\r\n boolean voiFollowImage = false;\r\n int[] voiCount;\r\n int imgCount = 0;\r\n\r\n String scriptFile = null;\r\n final Vector<OpenFileInfo> imageList = new Vector<OpenFileInfo>();\r\n final Vector<Vector<String>> voiList = new Vector<Vector<String>>();\r\n\r\n if (args.length == 0) {\r\n return args.length;\r\n }\r\n\r\n // show the arguments\r\n System.err.println(\"Command line argument list:\");\r\n Preferences.debug(\"Command line argument list:\\n\");\r\n\r\n for (i = 0; i < args.length; i++) {\r\n cmdLineArguments += args[i] + \" \";\r\n System.err.println(\"argument[\" + i + \"]= \" + args[i]);\r\n Preferences.debug(\"argument[\" + i + \"]= \" + args[i] + \"\\n\");\r\n\r\n }\r\n\r\n // special case: if there is only one argument, treat it as an image file name (unless it starts with a -)\r\n if (args.length == 1) {\r\n\r\n if ( !args[0].startsWith(\"-\")) {\r\n final ViewOpenFileUI openFileUI = new ViewOpenFileUI(false);\r\n\r\n if (openFileUI.open(args[0], false, null) == null) {\r\n MipavUtil.displayError(\"Unable to open image file: \" + args[0]);\r\n printUsageAndExit();\r\n }\r\n } else {\r\n MipavUtil\r\n .displayError(\"To open files starting with \\\"-\\\", use the \\\"-i\\\" option.\\nSee the usage message for more information.\");\r\n printUsageAndExit();\r\n }\r\n\r\n return args.length;\r\n }\r\n\r\n // count the number of images in the arguments\r\n for (i = 0; i < args.length; i++) {\r\n arg = args[i];\r\n\r\n if (arg.equalsIgnoreCase(\"-i\") || arg.equalsIgnoreCase(\"-m\")) {\r\n imgCount++;\r\n }\r\n }\r\n\r\n // count the number of vois matched to the last image on the command line (can be multiple vois/image)\r\n voiCount = new int[imgCount];\r\n i = 0;\r\n idx = 0;\r\n j = 0;\r\n\r\n while (i < args.length) {\r\n arg = args[i];\r\n\r\n if (arg.equalsIgnoreCase(\"-i\") || arg.equalsIgnoreCase(\"-m\")) {\r\n\r\n for (j = i + 1; j < args.length; j++) {\r\n\r\n if (args[j] != null) {\r\n arg = args[j];\r\n\r\n if (arg.equalsIgnoreCase(\"-i\") || arg.equalsIgnoreCase(\"-m\")) {\r\n i = j;\r\n\r\n break;\r\n } else if (arg.equalsIgnoreCase(\"-v\")) {\r\n voiCount[idx]++;\r\n }\r\n }\r\n }\r\n\r\n i = j;\r\n idx++;\r\n } else {\r\n i++;\r\n }\r\n }\r\n\r\n i = 0;\r\n\r\n int voiIdx = 0, imgIdx = 0;\r\n boolean isMulti;\r\n File checkFile;\r\n\r\n parse: while (i < args.length) {\r\n arg = args[i];\r\n\r\n if (arg.startsWith(\"-\")) {\r\n\r\n // parse commands which require an initialized mipav\r\n InstanceArgument c = InstanceArgument.getCommand(arg);\r\n if (c == null) {\r\n i++;\r\n continue parse;\r\n }\r\n\r\n switch (c) {\r\n\r\n case Image:\r\n case MultiImage:\r\n isMulti = arg.equalsIgnoreCase(\"-m\");\r\n\r\n // System.out.println(\"imageName = \" + args[i+1]);\r\n voiFollowImage = true;\r\n voiIdx = 0;\r\n\r\n final String imgName = args[ ++i];\r\n index = imgName.lastIndexOf(File.separatorChar);\r\n\r\n if (index < 0) {\r\n // only the image name was provided\r\n // if the user provided defaultDir, first check to see if the file is there\r\n // otherwise try to find the image under user.dir property\r\n // if still not there, print usage and exit...since file was not found\r\n if (isProvidedUserDefaultDir()) {\r\n checkFile = new File(userDefaultDir + File.separator + imgName);\r\n if (checkFile.exists()) {\r\n setDefaultDirectory(userDefaultDir);\r\n } else {\r\n checkFile = new File(System.getProperty(\"user.dir\") + File.separator + imgName);\r\n if (checkFile.exists()) {\r\n setDefaultDirectory(System.getProperty(\"user.dir\"));\r\n } else {\r\n Preferences.debug(\"Can not find \" + imgName, Preferences.DEBUG_MINOR);\r\n System.out.println(\"Can not find1 \" + imgName);\r\n printUsageAndExit(c);\r\n }\r\n }\r\n } else {\r\n checkFile = new File(System.getProperty(\"user.dir\") + File.separator + imgName);\r\n if (checkFile.exists()) {\r\n setDefaultDirectory(System.getProperty(\"user.dir\"));\r\n } else { //try current working directory\r\n System.out.println(\"user.dir is \"+System.getProperty(\"user.dir\"));\r\n try {\r\n System.out.println(\"File(\\\".\\\") is \"+new File(\".\").getCanonicalPath());\r\n checkFile = new File(new File(\".\").getCanonicalPath() + File.separator + imgName);\r\n if(checkFile.exists()) {\r\n setDefaultDirectory(new File(\".\").getCanonicalPath());\r\n } else {\r\n Preferences.debug(\"Can not find \" + imgName, Preferences.DEBUG_MINOR);\r\n System.out.println(\"Can not find2A \" + imgName);\r\n printUsageAndExit(c);\r\n }\r\n } catch (IOException e) {\r\n Preferences.debug(\"Can not find \" + imgName, Preferences.DEBUG_MINOR);\r\n System.out.println(\"Can not find2B \" + imgName);\r\n printUsageAndExit(c);\r\n }\r\n }\r\n }\r\n imageList.add(new OpenFileInfo(getDefaultDirectory(), imgName, isMulti));\r\n } else {\r\n // either relative path or absolute path was provided\r\n final String dir = imgName.substring(0, index + 1);\r\n final String name = imgName.substring(index + 1);\r\n checkFile = new File(imgName);\r\n if (checkFile.isAbsolute()) {\r\n if (checkFile.exists()) {\r\n imageList.add(new OpenFileInfo(dir, name, isMulti));\r\n } else {\r\n Preferences.debug(\"Can not find \" + imgName, Preferences.DEBUG_MINOR);\r\n System.out.println(\"Can not find3 \" + imgName);\r\n printUsageAndExit(c);\r\n }\r\n } else {\r\n if (isProvidedUserDefaultDir()) {\r\n checkFile = new File(userDefaultDir + File.separator + imgName);\r\n if (checkFile.exists()) {\r\n setDefaultDirectory(userDefaultDir);\r\n imageList.add(new OpenFileInfo(userDefaultDir + File.separator + dir, name,\r\n isMulti));\r\n } else {\r\n checkFile = new File(imgName);\r\n if (checkFile.exists()) {\r\n imageList.add(new OpenFileInfo(dir, name, isMulti));\r\n } else {\r\n Preferences.debug(\"Can not find \" + imgName, Preferences.DEBUG_MINOR);\r\n System.out.println(\"Can not find4 \" + imgName);\r\n printUsageAndExit(c);\r\n }\r\n }\r\n } else {\r\n checkFile = new File(imgName);\r\n if (checkFile.exists()) {\r\n imageList.add(new OpenFileInfo(dir, name, isMulti));\r\n } else { //try current directory\r\n try {\r\n checkFile = new File(new File(\".\").getCanonicalPath() + File.separator + imgName);\r\n if(checkFile.exists()) {\r\n setDefaultDirectory(new File(\".\").getCanonicalPath());\r\n } else {\r\n Preferences.debug(\"Can not find \" + imgName, Preferences.DEBUG_MINOR);\r\n System.out.println(\"Can not find5A \" + imgName);\r\n printUsageAndExit(c);\r\n }\r\n } catch (IOException e) {\r\n Preferences.debug(\"Can not find \" + imgName, Preferences.DEBUG_MINOR);\r\n System.out.println(\"Can not find5B \" + imgName);\r\n printUsageAndExit(c);\r\n }\r\n }\r\n }\r\n\r\n }\r\n\r\n }\r\n // imageFileNames.add(args[++i]);\r\n break;\r\n\r\n case RawImage:\r\n // this is for specifying raw image parameters\r\n final String rawString = args[ ++i];\r\n\r\n // set the openfileinfo's rawInfo variable (for raw instructions)\r\n imageList.lastElement().setRawImageInfo(new RawImageInfo(rawString));\r\n break;\r\n\r\n case Hide:\r\n isAppFrameVisible = false;\r\n break;\r\n\r\n case Script:\r\n // System.out.println(\"script name = \" + args[i+1]);\r\n scriptFile = args[ ++i];\r\n break;\r\n\r\n case Voi:\r\n String voiName = args[ ++i];\r\n index = voiName.lastIndexOf(File.separatorChar);\r\n\r\n if (index < 0) {\r\n voiName = this.getDefaultScriptDirectory() + File.separatorChar + voiName;\r\n }\r\n\r\n voiPerImages.add(voiName);\r\n\r\n if (voiFollowImage) {\r\n voiIdx++;\r\n\r\n if (voiIdx == voiCount[imgIdx]) {\r\n voiList.add(voiPerImages);\r\n imgIdx++;\r\n voiFollowImage = false;\r\n voiPerImages = new Vector<String>();\r\n }\r\n }\r\n break;\r\n\r\n case SavedImageName:\r\n String varValue = args[ ++i];\r\n Preferences\r\n .debug(\"cmd var:\\tDefining parameter variable value from -o arg \"\r\n + ActionSaveBase.SAVE_FILE_NAME + \" -> \" + varValue + \"\\n\",\r\n Preferences.DEBUG_SCRIPTING);\r\n VariableTable.getReference().storeVariable(ActionSaveBase.SAVE_FILE_NAME, varValue);\r\n break;\r\n\r\n case ScriptVariable:\r\n final String varName = args[ ++i];\r\n varValue = args[ ++i];\r\n Preferences.debug(\"cmd var:\\tDefining parameter variable value \" + varName + \" -> \" + varValue\r\n + \"\\n\", Preferences.DEBUG_SCRIPTING);\r\n VariableTable.getReference().storeVariable(varName, varValue);\r\n break;\r\n\r\n case Plugin:\r\n Object thePlugIn = null;\r\n\r\n // grab the plugin name\r\n final String plugInName = args[ ++i];\r\n // String plugInName = ((JMenuItem) (event.getSource())).getComponent().getName();\r\n\r\n try {\r\n thePlugIn = Class.forName(plugInName).newInstance();\r\n\r\n // some plugins can now process command line arguments, can also control next command to be\r\n // read\r\n // once processing is complete\r\n if (thePlugIn instanceof CommandLineParser) {\r\n // plugin is given cursor position immediately after plugin name, but this can change\r\n i = ((CommandLineParser) thePlugIn).parseArguments(args, ++i);\r\n }\r\n\r\n if (thePlugIn instanceof PlugInGeneric) {\r\n // don't exit on an error (instead show the error dialog)\r\n setPlugInFrameVisible(true);\r\n setExitCmdLineOnError(false);\r\n\r\n ((PlugInGeneric) thePlugIn).run();\r\n } else {\r\n MipavUtil\r\n .displayError(\"Plugin \"\r\n + plugInName\r\n + \" must implement the PlugInGeneric interface in order to be run from the command line.\");\r\n }\r\n } catch (final ClassNotFoundException e) {\r\n MipavUtil.displayError(\"PlugIn not found: \" + plugInName);\r\n printUsageAndExit(c);\r\n } catch (final InstantiationException e) {\r\n MipavUtil.displayError(\"Unable to load plugin (ins)\");\r\n printUsageAndExit(c);\r\n } catch (final IllegalAccessException e) {\r\n MipavUtil.displayError(\"Unable to load plugin (acc)\");\r\n printUsageAndExit(c);\r\n }\r\n break;\r\n }\r\n }\r\n i++;\r\n }\r\n\r\n // scriptFile may be null if we don't have a script to run (e.g., if we just want to open images/vois specified\r\n // on cmd line)\r\n runCmdLine(scriptFile, imageList, voiList);\r\n\r\n return args.length;\r\n }", "title": "" }, { "docid": "6ae43459c056aa1a917c436176b87a01", "score": "0.52794164", "text": "public interface ValueOption {\n\n /**\n * get the value associated with the option. a value of null indicates that\n * the option was not specified and that no default value is available.\n * \n * @return the value associated with the option or null if none was\n * specified.\n */\n public String getValue();\n\n /**\n * specify if the option was defined on the command line (or has a default value).\n * \n * @return true if the option was set on the command line (or has a default value).\n */\n public boolean isSet();\n\n}", "title": "" }, { "docid": "820427452bd8dbf408c00418b191b98d", "score": "0.5276518", "text": "@VisibleForTesting public boolean parseArgs(String[] args) {\n CommandLineParser parser = new DefaultParser();\n\n Options opts = new Options();\n\n opts.addOption(Option.builder(\"b\")\n .longOpt(\"branch\")\n .desc(\"Source control branch to build from\")\n .hasArg()\n .build());\n\n opts.addOption(Option.builder(\"d\")\n .longOpt(\"build-dir\")\n .desc(\"Build directory. This should be unique to the build.\")\n .hasArg()\n .build());\n\n opts.addOption(Option.builder(\"n\")\n .longOpt(\"no-cleanup\")\n .desc(\"Do not cleanup docker containers and image after build. Use only for debugging.\")\n .build());\n\n opts.addOption(Option.builder(\"p\")\n .longOpt(\"profile\")\n .desc(\"Profile to build with\")\n .hasArg()\n .build());\n\n opts.addOption(Option.builder(\"r\")\n .longOpt(\"repo\")\n .desc(\"Source control repository to checkout code from\")\n .hasArg()\n .build());\n\n opts.addOption(Option.builder(\"v\")\n .longOpt(\"version\")\n .desc(\"Get the version\")\n .build());\n\n CommandLine cmd;\n try {\n cmd = parser.parse(opts, args);\n if (cmd.hasOption('v')) {\n getVersion = true;\n return true;\n }\n cleanupAfter = !cmd.hasOption(\"n\");\n if (!cmd.hasOption('p')) {\n throw new ParseException(\"Please specify a profile\");\n }\n profile = cmd.getOptionValue(\"p\");\n if (cmd.hasOption(\"b\")) branch = cmd.getOptionValue(\"b\");\n if (cmd.hasOption(\"r\")) repo = cmd.getOptionValue(\"r\");\n if (!cmd.hasOption('d')) {\n throw new ParseException(\"Please specify a build directory\");\n }\n buildDir = cmd.getOptionValue('d');\n } catch (ParseException e) {\n System.err.println(\"Failed to parse command line: \" + e.getMessage());\n usage(opts);\n return false;\n }\n\n // Find our configuration file.\n try {\n determineCfgDir();\n } catch (IOException e) {\n System.err.println(\"Could not determine configuration directory: \" + e.getMessage());\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "48f83e250f6c55133fb6ce40e96e235e", "score": "0.527143", "text": "private static void printOptions()\n {\n System.err.println(\"Commands/options\");\n System.err.println(\" -help\");\n System.err.println(\" This summary/help.\");\n // System.err.println(\" trafficLights [-class full.generator.classname] {args}\");\n System.err.println(\" trafficLights {args}\");\n System.err.println(\" FUELINST outfile.html TIBCOfile.gz {TIBCOfile.gz*}\");\n System.err.println(\" FUELINST outfile.html <directory> [regex-filematch-pattern]\");\n }", "title": "" }, { "docid": "d9acd86e5e8b7fec5e4bd721695b9e5e", "score": "0.5266252", "text": "boolean process(Options options, String option);", "title": "" }, { "docid": "1bd8d162327803239f1f35209e2d2d45", "score": "0.52652496", "text": "public void processArgs(String[] args){\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tFile forExtraction = null;\n\t\tfor (int i = 0; i<args.length; i++){\n\t\t\tString lcArg = args[i].toLowerCase();\n\t\t\tMatcher mat = pat.matcher(lcArg);\n\t\t\tif (mat.matches()){\n\t\t\t\tchar test = args[i].charAt(1);\n\t\t\t\ttry{\n\t\t\t\t\tswitch (test){\n\t\t\t\t\tcase 'v': forExtraction = new File(args[++i]); break;\n\t\t\t\t\tcase 'a': minimumCount = Integer.parseInt(args[++i]); break;\n\t\t\t\t\tcase 'r': minimumAbsFractionChange = Double.parseDouble(args[++i]); break;\n\t\t\t\t\tcase 'n': maximumNormalAltFraction = Double.parseDouble(args[++i]); break;\n\t\t\t\t\tdefault: Misc.printErrAndExit(\"\\nProblem, unknown option! \" + mat.group());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (Exception e){\n\t\t\t\t\tMisc.printErrAndExit(\"\\nSorry, something doesn't look right with this parameter: -\"+test+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\\n\"+IO.fetchUSeqVersion()+\" Arguments: \"+ Misc.stringArrayToString(args, \" \") +\"\\n\");\n\n\t\t//pull vcf files\n\t\tif (forExtraction == null || forExtraction.exists() == false) Misc.printErrAndExit(\"\\nError: please enter a path to a vcf file or directory containing such.\\n\");\n\t\tFile[][] tot = new File[3][];\n\t\ttot[0] = IO.extractFiles(forExtraction, \".vcf\");\n\t\ttot[1] = IO.extractFiles(forExtraction,\".vcf.gz\");\n\t\ttot[2] = IO.extractFiles(forExtraction,\".vcf.zip\");\n\t\tvcfFiles = IO.collapseFileArray(tot);\n\t\tif (vcfFiles == null || vcfFiles.length ==0 || vcfFiles[0].canRead() == false) Misc.printExit(\"\\nError: cannot find your xxx.vcf(.zip/.gz OK) file(s)!\\n\");\n\n\t}", "title": "" }, { "docid": "36450a47b69db91e7c704f95465b7331", "score": "0.52634746", "text": "private void readArguments() throws DocumentationException {\n for (String arg : arguments.keySet())\n if (!validArgs.contains(arg))\n throw new DocumentationException(\"Unrecognized option: \\\"\" + arg + \"\\\"\");\n\n if (arguments.containsKey(ARG_TITLE)) docTitle = arguments.get(ARG_TITLE);\n }", "title": "" }, { "docid": "fbb62743df412a9cb77b46b1e7b3336c", "score": "0.5244056", "text": "private static void parseInput(String[] args) {\r\n\t\tif (args.length != NUM_OF_COM_LINE_ARGS)\r\n\t\t\tthrow new IllegalArgumentException(\"Input arguments are not valid.\");\r\n\t\tfunction = boxFillingFitnessFunction(args[0]);\r\n\t\tpopulationSize = Integer.parseInt(args[1]);\r\n\t\tn = Integer.parseInt(args[2]);\r\n\t\tm = Integer.parseInt(args[3]);\r\n\t\tp = (args[4].equals(\"true\")) ? true : false;\r\n\t\tmaxIterations = Integer.parseInt(args[5]);\r\n\t\tacceptableContainerSize = Integer.parseInt(args[6]);\r\n\r\n\t}", "title": "" } ]
5d3db0f50036e3902ef65e7132b8bee7
Hetzelfde als bij createJcomboboxSeries, maar dan met 'Accounts'
[ { "docid": "ac5e40282739a5e693bbeb7469be1c41", "score": "0.71978724", "text": "public JComboBox createJcomboboxAccounts() {\n String list = \"\";\n try {\n ResultSet rs = this.connection.executeSql(\"SELECT Subscription.Name FROM Subscription;\");\n while (rs.next()) {\n list += rs.getString(\"Name\") + \",\" ;\n }\n if (list != null && list.length() > 0 && list.charAt(list.length() - 1) == ',') {\n list = list.substring(0, list.length() - 1);\n }\n } catch (Exception e) {\n System.out.println(e);\n }\n\n JComboBox jcb = new JComboBox(list.split(\",\"));\n\n jcb.setFont(new Font(\"Arial\", Font.LAYOUT_LEFT_TO_RIGHT, 14));\n\n return jcb;\n }", "title": "" } ]
[ { "docid": "0bcaa860eb9bebbfa1c980e5f884154c", "score": "0.6506476", "text": "public JComboBox createJcomboboxSeries() {\n String list = \"\";\n try {\n ResultSet rs = this.connection.executeSql(\"SELECT Serie.Title FROM Serie;\");\n while (rs.next()) {\n list += rs.getString(\"Title\") + \",\" ;\n }\n if (list != null && list.length() > 0 && list.charAt(list.length() - 1) == ',') {\n list = list.substring(0, list.length() - 1);\n }\n } catch (Exception e) {\n System.out.println(e);\n }\n\n JComboBox jcb = new JComboBox(list.split(\",\"));\n\n jcb.setFont(new Font(\"Arial\", Font.LAYOUT_LEFT_TO_RIGHT, 14));\n\n return jcb;\n }", "title": "" }, { "docid": "a6a58c695741a1d1e26a0c2525791d0d", "score": "0.6366139", "text": "public static void updateProfileCombox() {\n for (Account a : AccountDAO.getInstance().getAllAccounts()) {\n comboBoxAccounts.addItem(a);\n }\n\n // Set Selection\n comboBoxAccounts.setSelectedIndex(0);\n\n }", "title": "" }, { "docid": "56540aed515e0dca598131324e64bd24", "score": "0.63299143", "text": "public void CidadesParaComobox(){\n\n \n \n \n try {\n \n FuncaoSistemaDAO daof = new FuncaoSistemaDAO();\n List<Cidades> lista = daof.listarCidades();\n \n for(Cidades op: lista){\n \n jComboBoxCidade.addItem(op.getNomeCidade());\n \n \n }\n \n } catch (Exception e) {\n } \n \n\n}", "title": "" }, { "docid": "65c5606beecf05ce9d7b314a0dd9731d", "score": "0.63152355", "text": "public void atualiza_combox_cliente(){\n \n try {\n con_clientes.resultSet.first();\n while(con_clientes.resultSet.next())\n jc_comboClientes.addItem(con_clientes.resultSet.getString(\"nome\"));\n \n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null,\"Não localizou os dados\"+ex); \n }\n }", "title": "" }, { "docid": "c6c05494048f6808df5d3be22d47f87c", "score": "0.6154703", "text": "public customer_management() {\n initComponents();\n try {\n Class.forName(\"java.sql.Driver\");\n Connection conn = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/mahadev_foam\",\"root\",\"admin\");\n Statement stmt = conn.createStatement();\n String combo_group = \"Select DISTINCT region from region_list;\";\n ResultSet rs = stmt.executeQuery(combo_group);\n \n while(rs.next())\n {\n jcomboregion.addItem(rs.getString(1));\n }\n \n } \n catch (Exception e)\n {\n JOptionPane.showMessageDialog(this, e.getMessage());\n }\n }", "title": "" }, { "docid": "25832169237c499a5044d03395d08adb", "score": "0.6147565", "text": "private void setComboBox() throws SQLException{\n Shop shopInstance = Shop.getInstance();\n ArrayList<Map.Entry<String,Integer>> list = (ArrayList<Map.Entry<String,Integer>>) shopInstance.getSortedStock(Shop.SortOrder.NAME_ASC);\n \n int i = 0;\n String[] itemNames = new String[list.size()];\n for(Map.Entry<String,Integer> entry : list){\n itemNames[i] = entry.getKey();\n i++;\n }\n \n jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(itemNames));\n\n }", "title": "" }, { "docid": "91d36a93fed2bf0113fafcefab0420d6", "score": "0.60366", "text": "private void comboCarrega() {\n\n try {\n con = BancoDeDados.getConexao();\n //cria a string para inserir no banco\n String query = \"SELECT * FROM professor\";\n\n PreparedStatement cmd;\n cmd = con.prepareStatement(query);\n ResultSet rs;\n\n rs = cmd.executeQuery();\n\n while (rs.next()) {\n JCprof.addItem(rs.getString(\"Cod\") + \"-\" + rs.getString(\"nome\"));\n }\n\n } catch (SQLException ex) {\n System.out.println(\"Erro de SQL \" + ex.getMessage());\n }\n }", "title": "" }, { "docid": "96ba41491509de38b3a6b7f50fae0d10", "score": "0.59965134", "text": "public void setComboboxOznake() {\n\n //Nova poizvedba v podatkovno bazo\n ls_valuta_date = entityManager.createQuery(\"SELECT e FROM Valuta e ORDER BY e.oznaka, e.datum\")\n .getResultList();\n\n //Index vstavljanja v combobox-e\n int itemInx = 0;\n\n //Zanka skozi celotni seznam pridobljen iz baze\n for (int i = 0; i < ls_valuta_date.size(); i++) {\n //Preverimo ali seznam oznak že vsebuje trenutno oznako. Ker duplikatov v seznamu nočemo, jih s pomočjo tega izločimo\n if (ls_oznake.contains(ls_valuta_date.get(i).getOznaka())) {\n\n } else //Če seznam oznak še ne vsebuje trenutne oznake, najprej preverimo ali podano oznako uporabnik sploh želi prikazati. Ob tem vemo, da če je seznam \n //prikazanih valut prazen, prikažemo vse valute. Oznako dodamo v seznam oznak in combobox-e ter povečamo index za 1\n if (valute.isEmpty()) {\n ls_oznake.add(ls_valuta_date.get(i).getOznaka());\n jComboBox1.insertItemAt(ls_valuta_date.get(i).getOznaka(), itemInx);\n jComboBox2.insertItemAt(ls_valuta_date.get(i).getOznaka(), itemInx);\n jComboBox3.insertItemAt(ls_valuta_date.get(i).getOznaka(), itemInx);\n itemInx++;\n } else if (valute.contains(ls_valuta_date.get(i).getOznaka())) {\n ls_oznake.add(ls_valuta_date.get(i).getOznaka());\n jComboBox1.insertItemAt(ls_valuta_date.get(i).getOznaka(), itemInx);\n jComboBox2.insertItemAt(ls_valuta_date.get(i).getOznaka(), itemInx);\n jComboBox3.insertItemAt(ls_valuta_date.get(i).getOznaka(), itemInx);\n itemInx++;\n }\n }\n }", "title": "" }, { "docid": "6691d92dffa9bca3109767d428c243c8", "score": "0.59965", "text": "public void initJComboBox() {\r\n \t//initialize the JComboBox which selects the type of chart to be displayed.\r\n //every time it is changed, the graph changes as well\r\n if(chartTypeComboBox==null) {\r\n \tchartTypeComboBox = new JComboBox(ChartTypes.values());\r\n \tif(mode.equals(AxisMode.ROWS)) {\r\n \t\tchartTypeComboBox.setSelectedItem(ChartTypes.LINE);\r\n \t} else {\r\n \t\tchartTypeComboBox.setSelectedItem(ChartTypes.TIMESERIES);\r\n \t\t//TODO: improve this code\r\n \t}\r\n \tchartTypeComboBox.addActionListener(new ActionListener () {\r\n \t public void actionPerformed(ActionEvent e) {\r\n \t \tString chartType = ((JComboBox) e.getSource()).getSelectedItem().toString();\r\n \t \tresetChartPanel(chartType);\r\n \t \tupdateChartType(chartType);\r\n \t }\r\n \t});\r\n \t\r\n } else {\r\n \tchartTypeComboBox.getModel().setSelectedItem(myCyTable.getAllRows().get(0).get(\"ChartType\", String.class));\r\n \t\r\n }\r\n \r\n }", "title": "" }, { "docid": "1013e9cd88956ed3ac2e7780243455b8", "score": "0.5973363", "text": "private void fyllKursCombobox() {\n\n try {\n ArrayList<HashMap<String, String>> kurslista = idb.fetchRows(\"SELECT KURSNAMN FROM KURS ORDER BY KURSNAMN ASC;\");\n\n // For-loopen går igenom varje namn som finns i kolumnen KURSANMN och lägger till den i dropdown-menyn.\n for (int i = 0; i < kurslista.size(); i++) {\n cbValjKurs.addItem(kurslista.get(i).get(\"KURSNAMN\"));\n }\n\n } catch (InfException e) {\n JOptionPane.showMessageDialog(null, \"Något gick fel!\");\n System.out.println(\"Internt felmeddelande:\" + e.getMessage());\n }\n }", "title": "" }, { "docid": "40f2c16ebc779d7883af4b2ee8b0a4f6", "score": "0.59612435", "text": "private void Fill_Vehicle_Number_Combo() {\n try {\n String sql = \"select * from transportinfo\";\n pst = (OraclePreparedStatement) conn.prepareStatement(sql);\n rs = (OracleResultSet) pst.executeQuery();\n\n while (rs.next()) {\n String name = rs.getString(\"VEHICLENO\");\n vehiclenumber.addItem(name);\n } \n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, e);\n } \n }", "title": "" }, { "docid": "d8a8318736ad8d3c0c7a2358ecaaf25d", "score": "0.5914", "text": "public JFIVeiculos(String usuario) {\n super();\n initComponents();\n this.setUser(usuario);\n new Utilitarios().LimpaTela(this);\n cmbclassificacao.removeAllItems();\n ClassificacaoBO bo=new ClassificacaoBO();\n try{\n List<Classificacao> lista=bo.listar();\n for(Classificacao lstclassificacao:lista){\n\n //Object[] linha = //alguma linha\n\n //model.addRow(linha);\n \n cmbclassificacao.addItem(lstclassificacao.getClassificacao());\n }\n }catch(NegocioException ex){\n\n }\n if (cmbempr.getItemCount()>0){\n cmbempr.removeAllItems();\n }\n if (cmbEmprAloc.getItemCount()>0){\n cmbEmprAloc.removeAllItems();\n }\n \n \n EmpresasBO boemp=new EmpresasBO();\n try{\n List<Empresas> lista=boemp.listar();\n for(Empresas lstemp:lista){\n\n //Object[] linha = //alguma linha\n\n //model.addRow(linha);\n \n cmbempr.addItem(lstemp.getNmfantasia());\n cmbEmprAloc.addItem(lstemp.getNmfantasia());\n }\n }catch(NegocioException ex){\n\n }\n \n }", "title": "" }, { "docid": "4fd31a2580b30f8d65c75da52196c328", "score": "0.58990145", "text": "public java.lang.Object[] getComboRolBackingList();", "title": "" }, { "docid": "858d134aaf090224a29d7a3292b955ab", "score": "0.5879996", "text": "public void rellenarCombo(){\r\n\t\ttry{\r\n\t\t\t\r\n\t\t\tString valor=\"vacio\";\r\n\t\t// crea objeto Statement para consultar la base de datos\r\n \tinstruccion = (Statement) this.conexion.createStatement();\r\n \t// consulta la base de datos\r\n \tconjuntoResultados = instruccion.executeQuery(\"SELECT * FROM dat_articulos\");\r\n \t//Añadir datos al modelo\r\n \t\r\n \twhile (conjuntoResultados.next()) {\r\n \t\tvalor = conjuntoResultados.getString(\"art_articulo\"); \r\n \t\tthis.comboBox.addItem(valor);\r\n \t}\r\n \tconjuntoResultados.close();\r\n \t}catch( SQLException excepcionSql ){\r\n \texcepcionSql.printStackTrace();\r\n \t}// fin de catch\r\n\t\r\n\t}", "title": "" }, { "docid": "97e1aae678a48892cdb70abb0095ac73", "score": "0.5856776", "text": "public void setComboRolBackingList(java.util.Collection items, String valueProperty, String labelProperty);", "title": "" }, { "docid": "4406bf8b447eb5c029f431f97b16450d", "score": "0.5854513", "text": "private JComboBox getJComboBox() {\r\n\t\tif (jComboBox == null)\r\n\t\t\tjComboBox = new JComboBox(infoEscalas.values().toArray());\r\n\t\treturn jComboBox;\r\n\t}", "title": "" }, { "docid": "8b86f2e168314de10b39d7f986ebe891", "score": "0.58287895", "text": "private void recarga() {\n try {\n Code.EmpleadoDAO empleadoDAO = new Code.EmpleadoDAO();\n ArrayList<Code.Empleado> listaEmpleadosNueva=empleadoDAO.listaEmpleados;\n listaEmpleados=listaEmpleadosNueva;\n jComboBox1.removeAllItems();\n for(Code.Empleado aux : listaEmpleados){\n jComboBox1.addItem(aux.getName()); \n }\n \n } catch (Exception ex) {\n Logger.getLogger(Empleado.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n }", "title": "" }, { "docid": "e15fd3d3dc8187ded3ec355f085e3a09", "score": "0.57964313", "text": "private void llenarComboBox() {\n\t\ttry {\n\t\t\tfamilias = administradorDelegado.listarFamiliasObservables();\n\t\t\tcomboBox.setItems(familias);\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "c94e154a92deba809dbce4deb82f8ecb", "score": "0.5773391", "text": "public void Listar_Usuarios_ComboBOX(JComboBox box){\r\n DefaultComboBoxModel value;\r\n conexion conec = new conexion();\r\n String sql = \"SELECT nombre FROM tipousuario;\";\r\n ResultSet rs = null;\r\n PreparedStatement ps = null;\r\n try{\r\n ps = conec.getconexion().prepareStatement(sql);\r\n rs = ps.executeQuery();\r\n value = new DefaultComboBoxModel();\r\n box.setModel(value);\r\n while(rs.next()){\r\n value.addElement(rs.getString(1));\r\n }\r\n }catch(SQLException ex){\r\n System.out.println(ex.getMessage());\r\n }catch(Exception ex){\r\n System.out.println(ex.getMessage());\r\n }finally{\r\n try{\r\n ps.close();\r\n rs.close();\r\n conec.desconectar();\r\n }catch(Exception ex){}\r\n }\r\n \r\n }", "title": "" }, { "docid": "7e131066d20f28173268485df0f8f0ac", "score": "0.57647824", "text": "public void carregarComboBox(){\n carAgrada=true;\n String data = Formatacao.ConvercaoDataSql(new Date());\n String ano = data.substring(0, 4);\n String mes = data.substring(5,7);\n String nomeMes = Formatacao.nomeMes(Integer.parseInt(mes));\n anojComboBox.setSelectedItem(ano);\n mesjComboBox.setSelectedItem(nomeMes);\n if (carAgrada){\n carregarModelAgenda();\n }\n }", "title": "" }, { "docid": "123db200741a8b3b3eb343e3f2be7e41", "score": "0.57493645", "text": "private void createComboBox() {\n\t\tString[] options = {\"Decorated Pot\", \"Submerged Pot\", \"Storage Pot\", \"Kiln\", \"Hearth\", \"Ferrous\", \"NonFerrous\"};\n\t\tcomboBox = new JComboBox<>(options);\n\t\tcomboBox.addItemListener(new ItemListener(){\n\t\t\t@Override\n\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\tswitch(e.getItem().toString()){\n\t\t\t\tcase \"Decorated Pot\":\n\t\t\t\t\tdataLabel.setText(\"Description: \");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Submerged Pot\":\n\t\t\t\t\tdataLabel.setText(\"Depth: \");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Storage Pot\":\n\t\t\t\t\tdataLabel.setText(\"Volume: \");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Kiln\":\n\t\t\t\t\tdataLabel.setText(\"Radius: \");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Hearth\":\n\t\t\t\t\tdataLabel.setText(\"Length, Width: \");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Ferrous\":\n\t\t\t\t\tdataLabel.setText(\"Strength: \");\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"NonFerrous\":\n\t\t\t\t\tdataLabel.setText(\"Type: \");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tdataLabel.setEnabled(true);\n\t\t\t\tdataTextField.setEnabled(true);\n\t\t\t}\n\t\t});\n\t\tcomboBox.addKeyListener(this);\n\t}", "title": "" }, { "docid": "114ed5d4df0bba520f3c0da34cdf67ce", "score": "0.57366604", "text": "public java.lang.Object[] getComboRolLabelList();", "title": "" }, { "docid": "547615db304353de780df6c88aa8b885", "score": "0.57248753", "text": "private void populateCombo(){\n\t\tint index = 1;\n\t\t//Add all the songs.\n\t\tfor (Song s : masterSongList.getSongs()){\n\t\t\tcomboBox.addItem(index + \". \" + s.getTitle());\n\t\t\tindex++;\n\t\t}\n\t}", "title": "" }, { "docid": "923906577dcb4de8f1f4b7bffab174fa", "score": "0.5715262", "text": "public accounts() {\n initComponents();\n }", "title": "" }, { "docid": "eec23750a1c93fd850714ca55a8a0aab", "score": "0.56870294", "text": "public List<Map<String, Object>> blwt_combobox() throws Exception {\n return blmbDao.blwt_combobox();\n }", "title": "" }, { "docid": "d729b22894ee257259fdeb751a30d2e9", "score": "0.56803507", "text": "@Override\n public void initialize(URL url, ResourceBundle rb) {\n acc_type.getItems().removeAll(acc_type.getItems());\n acc_type.getItems().addAll(\"Supplier Account\", \"Customers Account\", \"Expense Account\",\"Asset Account\",\"Loan Account\",\"Investment Account\",\"Other Income Account\",\"Capital Bank Account\");\n acc_type.getSelectionModel().select(\"All\");\n //\n// // Add Items to combobox\n// acc_name.getItems().removeAll(acc_name.getItems());\n// acc_name.getItems().addAll(\"B.K. sharma\", \"Pallavi Creations\", \"Shree Furniture\",\"Mamta Traders\");\n// acc_name.getSelectionModel().select(\"All\");\n }", "title": "" }, { "docid": "84f19413bd8b343c76b603b91a501c03", "score": "0.56721264", "text": "private void mostraComboCidade() {\n String[] cid = new String[P.obterCidades().size()];\n int cont = 0;\n for ( Cidade c : P.obterCidades()) {\n cid[cont++] = c.getNome();\n }\n ComboCidade.setModel(new javax.swing.DefaultComboBoxModel<>(cid));\n ComboCidade.setModel(new javax.swing.DefaultComboBoxModel<>(cid));\n }", "title": "" }, { "docid": "fdc43ddf7f68795cec9e77d3b689fd15", "score": "0.5671666", "text": "private void fillAccount() throws Exception {\n if (AccountPicked == null)\n {\n textAccount.Text = \"\";\n butChange.Text = Lan.g(this,\"Pick\");\n labelDebit.Text = Lan.g(this,\"Debit\");\n labelCredit.Text = Lan.g(this,\"Credit\");\n return ;\n }\n \n //AccountCur=Accounts.ListShort[comboAccount.SelectedIndex];\n textAccount.Text = AccountPicked.Description;\n butChange.Text = Lan.g(this,\"Change\");\n if (Accounts.debitIsPos(AccountPicked.AcctType))\n {\n labelDebit.Text = Lan.g(this,\"Debit\") + Lan.g(this,\"(+)\");\n labelCredit.Text = Lan.g(this,\"Credit\") + Lan.g(this,\"(-)\");\n }\n else\n {\n labelDebit.Text = Lan.g(this,\"Debit\") + Lan.g(this,\"(-)\");\n labelCredit.Text = Lan.g(this,\"Credit\") + Lan.g(this,\"(+)\");\n } \n }", "title": "" }, { "docid": "d2bee8aa2f164036adc2efbcbebbb001", "score": "0.56595796", "text": "public java.lang.String getComboRol();", "title": "" }, { "docid": "fd892e3014af02a5cf55b4362e95349f", "score": "0.56586456", "text": "private void fillcombo() {\n SupplierDao supdao = new SupplierDao();\n List<Supplier> suppliers;\n suppliers = supdao.getAll();\n int num = supdao.getAll().size();\n try {\n for (int i = 0; i < num; i++) {\n\n drop_down.addItem(suppliers.get(i).getFullName());\n }\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, e);\n }\n }", "title": "" }, { "docid": "91657ee095fcb4db39accd7964a966b0", "score": "0.565483", "text": "private JComboBox createComboBox() {\n List<String> userPossibilities = new ArrayList();\n if (loginController.verifyUserByStaffMember(user)) {\n userPossibilities.add(\"Staff Member\");\n }\n if (loginController.verifyUserByOrganizer(user)) {\n userPossibilities.add(\"Organizer\");\n }\n// if (loginController.verifyUserByExhibitorResponsible(user)) {\n userPossibilities.add(\"Exhibitor Responsible\");\n// }\n\n if (loginController.verifyUserByExhibitionsManager(user)) {\n userPossibilities.add(\"Exhibitions Manager\");\n }\n JComboBox<String> usersPossibilitiesListJcomboBox = new JComboBox<>();\n for (String string : userPossibilities) {\n usersPossibilitiesListJcomboBox.addItem(string);\n }\n return usersPossibilitiesListJcomboBox;\n }", "title": "" }, { "docid": "4a5a1302fac57a4a2eee1701d84fc3fd", "score": "0.5639059", "text": "public void initComboBox()\r\n {\r\n graphBox.getItems().addAll(\"Scatter Chart\", \"Bar Chart\");\r\n graphBox.getSelectionModel().selectFirst();\r\n \r\n graphBox.getSelectionModel().selectedIndexProperty().addListener(new ChangeListener<Number>() \r\n {\r\n @Override\r\n public void changed(ObservableValue observable, Number oldValue, Number newValue)\r\n {\r\n if(newValue.equals(0))\r\n {\r\n sGraph.setVisible(true);\r\n sChart.setVisible(false);\r\n }\r\n else\r\n {\r\n sGraph.setVisible(false);\r\n sChart.setVisible(true);\r\n }\r\n }\r\n } );\r\n }", "title": "" }, { "docid": "c197dd8d3eb6b9259ae78f1979c35489", "score": "0.56244475", "text": "public PanelNovKlijent() {\n initComponents();\n cmbUplacuje.addItem(\"3 meseca\");\n cmbUplacuje.addItem(\"6 meseci\");\n cmbUplacuje.addItem(\"Godinu dana\");\n }", "title": "" }, { "docid": "513210bce1bb364826670242b48e04c7", "score": "0.5617503", "text": "private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBox1ActionPerformed\n\n Integer izbrano = jComboBox1.getSelectedIndex(); //index izbranega elementa\n String oznaka = ls_oznake.get(izbrano); //izbrana oznaka oz. valuta\n \n TimeSeries series = new TimeSeries(oznaka); //TimeSeries, časovnica za novo valuto\n\n //Zanka skozi vsak datum iz tečajnice izbrane valute\n for (int x = 0; x < ls_valuta_date.size(); x++) {\n RegularTimePeriod t = new Day(ls_valuta_date.get(x).getDatum());\n if (ls_valuta_date.get(x).getOznaka().equals(oznaka)) {\n series.add(t, Double.parseDouble(ls_valuta_date.get(x).getTecaj().substring(0, 4)));\n }\n }\n plot.setDataset(0, new TimeSeriesCollection(series));\n plot.setRenderer(0, new StandardXYItemRenderer());\n }", "title": "" }, { "docid": "f5233d03b4f58715562bb9675adea3d9", "score": "0.56129366", "text": "private JComboBox getJComboBox() {\n\t\tif (jComboBox == null) {\n\t\t\tVector<String> urteak = new Vector<String>();\n\t\t\tCalendar cal = new GregorianCalendar();\n\t\t\tint unekoUrte = cal.get(Calendar.YEAR);\n\t\t\tint i;\n\t\t\tfor (i= unekoUrte; i>=(unekoUrte-urteKop); i--)\n\t\t\t\turteak.addElement(String.valueOf(i));\n\t\t\tjComboBox = new JComboBox(urteak);\n\t\t\tjComboBox.setSelectedIndex(0);\n\t\t\tjComboBox.addItemListener(new java.awt.event.ItemListener() {\n\t\t\t\tpublic void itemStateChanged(java.awt.event.ItemEvent e) {\n\t\t\t\t\tCalendar gaurkoUrte= new GregorianCalendar();\n\t\t\t\t\tgaurkoUrte.setTime(new Date());\n\t\t\t\t\tint egun=12;\n\t\t\t\t\tif (e.getStateChange() == ItemEvent.SELECTED && jComboBox.getSelectedItem().toString().equals(String.valueOf(/*gaurkoUrte.get(Calendar.YEAR)*/2007)))\n\t\t\t\t\t\tegun = gaurkoUrte.get(Calendar.MONTH)+1;\n\t\t\t\t\tjComboBox1.removeAllItems();\n\t\t\t\t\tfor (int i=1; i<=egun; i++)\n\t\t\t\t\t\tjComboBox1.addItem(new Integer(i));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t});\n\t\t}\n\t\treturn jComboBox;\n\t}", "title": "" }, { "docid": "694e68fbdeadf224165a892291b6b268", "score": "0.56000143", "text": "private void jPanel5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel5MouseClicked\n try {\n String nombreNuevo=jTextField8.getText();\n EmpleadoDAO objetoEmpleadoDAO=new EmpleadoDAO();\n for(int i=0;i<objetoEmpleadoDAO.listaEmpleados.size();i++){\n //System.err.println(\"i es \"+i);\n if(String.valueOf(jComboBox1.getItemAt(i)).equals(nombreNuevo)){\n //System.out.println(\"Ese empleado ya existe, prueba con otro nombre\");\n return; \n }\n }\n Code.Empleado empleadoNuevo= new Code.Empleado();\n empleadoNuevo.setName(nombreNuevo);\n empleadoNuevo.setApellido(jTextField9.getText());\n empleadoNuevo.setDni(jTextField10.getText());\n empleadoNuevo.setNumTelf(jTextField11.getText());\n empleadoNuevo.setContrasena(jTextField12.getText());\n if(jComboBox2.getSelectedIndex()==0){\n empleadoNuevo.setTipo(\"Auxiliar\");\n }\n else{\n empleadoNuevo.setTipo(\"Veterinario\");\n }\n System.out.println(\"Vamos a registrar el objeto\");\n objetoEmpleadoDAO.registrar(empleadoNuevo);\n recarga();\n //jComboBox1.insertItemAt(empleadoNuevo.getName(), jComboBox1.getItemCount());\n } catch (Exception ex) {\n Logger.getLogger(Empleado.class.getName()).log(Level.SEVERE, null, ex);\n }\n return;\n }", "title": "" }, { "docid": "9b67d336fec6890e8e6bdfa38ab7f692", "score": "0.559264", "text": "public void comboCategorias(JComboBox combito){\n model = (DefaultComboBoxModel)combito.getModel();\n List<Categorias>lista=cadao.listar();\n for (int i = 0; i < lista.size(); i++) {\n combito.addItem(lista.get(i).getNombreCategoria());\n } \n vista.cbCategoria.setModel(model); \n }", "title": "" }, { "docid": "a14b6c9c52345fae4cd78affb69c6e1d", "score": "0.55912745", "text": "public AddUser() {\n initComponents();\n cmbCargo.removeAllItems();\n cmbCargo.addItem(\"Administrador\");\n cmbCargo.addItem(\"Almacenero\");\n cmbCargo.addItem(\"Cajero\");\n }", "title": "" }, { "docid": "a9de94780838cb75eb85de8d38f0b9fb", "score": "0.5588628", "text": "private void escuelasComboBox() throws SQLException {\n String query = \"select nombreEscuela from Escuela \"\n + \"inner join Escuela_PlanEstudio on \"\n + \"Escuela.codigoEscuela=Escuela_PlanEstudio.codigoEscuela;\";\n //Establece la conexion con la base de datos\n Conexion.connect();\n //guarda el resultado en un objeto ResultSet \n ResultSet resultado = Conexion.getSelectData(query);\n \n //ciclo para agarrar todas las escuelas y meterlas en el combobox \n while(resultado.next()) {\n comboBoxPropietario.getItems().add(resultado.getString(\"nombreEscuela\"));\n }\n Conexion.closeConnection();\n }", "title": "" }, { "docid": "7161277598126ee013d8c4d8c37127a5", "score": "0.5581761", "text": "private JPanel createComboPanel() {\n JPanel comboPanel = new JPanel(new BorderLayout(0, 10));\n comboBoxLogin = createComboBox();\n comboPanel.add(comboBoxLogin);\n return comboPanel;\n }", "title": "" }, { "docid": "18d4d2403bff597f40ec5d51f05d94f5", "score": "0.55805415", "text": "public void combo_CuentasChequera(){\n BaseDeDatos db = new BaseDeDatos();\n Vector model = new Vector();\n String consulta = \"SELECT id_cuenta, codigo, nombre, estado from cuenta where estado = 1\";\n\n try{\n Connection conn = db.conexion();\n Statement stmt = conn.createStatement();\n ResultSet res = stmt.executeQuery(consulta);\n while(res.next()){\n Cuenta p = new Cuenta();\n p.id = res.getString(\"id_cuenta\");\n p.codigo = res.getString(\"codigo\");\n p.nombre = res.getString(\"nombre\");\n p.estado = res.getString(\"estado\");\n model.addElement(p);\n }\n jComboBox8.setModel(new DefaultComboBoxModel(model));\n }catch(Exception e){\n JOptionPane.showMessageDialog(null,\"Error al llenar cuentas\\nExcepcion: \"+e,\"ERROR\", JOptionPane.ERROR_MESSAGE);\n }\n }", "title": "" }, { "docid": "dc76406375ef4f82b907ef64b7ca4b49", "score": "0.557789", "text": "public void populatecombobranch(){\n try {\n String sql = \"select * from`branchtable`\";\n ps = con.prepareStatement(sql);\n rs = ps.executeQuery();\n while(rs.next()){\n branch.addItem(rs.getString(\"Branch\"));\n \n }\n } catch (SQLException ex) {\n Logger.getLogger(accountype.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n \n \n }", "title": "" }, { "docid": "77114ff844050c31c965b0f13e58b213", "score": "0.5572458", "text": "public headstaffregistration() {\n initComponents();\n \n String desg[]={\"Salesman\",\"head\"};\n utypecombo.setModel(new DefaultComboBoxModel(desg));\n }", "title": "" }, { "docid": "9a37b20acaca7c14676d25f220257f47", "score": "0.55715173", "text": "public void countryComboBox(){\n country = requests.getCountry();\n for (Country country1 : country) {\n countryIDMap.put(country1.getCountry(), country1.getCountry_ID());\n }\n customerCountry.setItems(country);\n\n }", "title": "" }, { "docid": "615e4320c0e077c79519de2b90c7e74d", "score": "0.55335593", "text": "@Override\r\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tSystem.out.println(Person.getPersonenListe());\r\n\t\t\t\t//\r\n\t\t\t\t//getVornameOut().setText(getVornameTF().getText());\r\n\t\t\t\t//getNachnameOut().setText(getNachnameTF().getText());\r\n\t\t\t}", "title": "" }, { "docid": "a165a658413ddc139c43bafcb8944389", "score": "0.55281097", "text": "public void addSymbols()\n\t{\n\t\tcmbPedina.removeAllItems();\n\t\t//cmbPedina.removeAll();\n\t\tfor(int i=0; i < GameData.simbolo.length; i++) cmbPedina.addItem(GameData.simbolo[i]);\n\t\tcmbPedina.setMaximumRowCount(10);\n\t}", "title": "" }, { "docid": "58d07d3272d3d917df755829ea67dd01", "score": "0.5522755", "text": "public void populateComboBox() {\n\n\t\tconn = new connection();\n\n\t\tString query = \"Select * FROM customer\";\n\t\trs = conn.executeQuery(query);\n\n\t\ttry {\n\t\t\twhile (rs.next()) {\n\t\t\t\ttry {\n\t\t\t\t\tcustomerComboBox.addItem(\n\t\t\t\t\t\t\trs.getString(\"customerID\") + \" \" + rs.getString(\"fName\") + \" \" + rs.getString(\"lName\"));\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Something went wrong\");\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Something went wrong\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "30d3844e966d262651c81f532590099c", "score": "0.5521397", "text": "public void PopulateCombox() {\n PreparedStatement stat = null;\n ResultSet rs = null;\n Connection connection;\n\n try {\n connection = Dbconnector.connect();\n String sql = \"SELECT * FROM semestre\";\n stat = connection.prepareStatement(sql);\n rs = stat.executeQuery();\n ChoiceSemestre.clear();\n while (rs.next()) {\n ChoiceSemestre.add(rs.getInt(\"idSemestre\") + \" -\" + \" Semestre : \" + rs.getString(\"intitule\") + \", \" + \"Année : \" + rs.getInt(\"annee\"));\n System.out.println(rs.getString(\"intitule\") + \" \"+ rs.getInt(\"annee\"));\n nbre_id++;\n }\n /** Mettre les différents champs recupérés en BDD dans le comboBox **/\n choiceSemestre.getItems().setAll(ChoiceSemestre);\n }catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "b831a9c08a84f34c39f1ed1455700f2b", "score": "0.55202717", "text": "private void fillIdCombo() {\n List<Supplier> supplierList;\n try {\n supplierList = SupplierController.getAllSuppliers();\n b = false;\n supplierCombo.removeAllItems();\n supplierCombo.addItem(\"<select a Supplier>\");\n for (Supplier supplier : supplierList) {\n supplierCombo.addItem(supplier);\n }\n b = true;\n } catch (SQLException ex) {\n Logger.getLogger(DebitReportForm.class.getName()).log(Level.SEVERE, null, ex);\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(DebitReportForm.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "5cd6c3c5dae77fa2814f6935cfceb66c", "score": "0.5514021", "text": "public void ListarPacientes(){\n CadastroPaciente cadPaciente= new CadastroPaciente();\n ArrayList<CadastroPaciente> dadospaciente = new ArrayList<>();\n dadospaciente = cadPaciente.ExibirPaciente();\n cbPaciente.removeAllItems();\n for (int i=0; i <dadospaciente.size(); i++){\n cbPaciente.addItem(dadospaciente.get(i).getCpf());\n \n }\n }", "title": "" }, { "docid": "7daa8136ae2066a82e19edce8c02a891", "score": "0.5507328", "text": "public void cargarAlmacen() {\n try {\n AlmacenDao almDao = new AlmacenDao();\n List<Almacen> lista = almDao.listarAlmacen();\n if (lista.size() != 0) {\n for (int i = 0; i < lista.size(); i++) {\n comboAlmacen.addItem(lista.get(i).getNombre());\n }\n } else {\n JOptionPane.showMessageDialog(null, \"Debe tener por lo menos un almacen registrado..!! \", null, JOptionPane.ERROR_MESSAGE);\n comboAlmacen.setEnabled(false);\n }\n } catch (Exception ex) {\n JOptionPane.showMessageDialog(null, \"Error \" + ex, null, JOptionPane.ERROR_MESSAGE);\n }\n }", "title": "" }, { "docid": "556428b60147d78bbf422e720ff7f3b4", "score": "0.54955417", "text": "private void setupReportComboBox(){ \r\n // Gets the possible reports\r\n String[] possibleReports = new String[Report.possibleReports.length];\r\n for(int i = 0; i < Report.possibleReports.length; i++){\r\n possibleReports[i] = Report.possibleReports[i][0];\r\n }\r\n \r\n // Configures the ComboBox\r\n this.jcb_report = new JComboBox(possibleReports);\r\n this.jcb_report.setBounds(100, 80, 600, 30);\r\n this.jcb_report.setFont(new Font(\"Dialog\", Font.PLAIN, 20));\r\n ((JLabel)this.jcb_report.getRenderer()).setHorizontalAlignment(SwingConstants.CENTER); \r\n this.jcb_report.addItemListener(this);\r\n this.jcb_report.setSelectedIndex(0);\r\n this.jl_reportArea.add(this.jcb_report);\r\n }", "title": "" }, { "docid": "4cdeb99110091b0eca52a8622a1d9408", "score": "0.54916555", "text": "public java.lang.Object[] getComboRolValueList();", "title": "" }, { "docid": "42d814d41870f68b81c7782d3c3dfe01", "score": "0.54830754", "text": "private void populateCombo() {\n for (Disease disease : system.getDiseaseList().getDiseaseCatalog()) {\n comboDisease.addItem(disease);\n }\n }", "title": "" }, { "docid": "b3c9f4bdb32b8be6e5008bb940e78607", "score": "0.54796386", "text": "public void displayStaffBranchCombo(ComboBox elt_id){\n elt_id.setEditable(false);\n elt_id.getItems().clear();\n elt_id.getItems().add(new ComboItem(\"BONGO SQUARE\", \"bongo_square\"));\n elt_id.getItems().add(new ComboItem(\"MOLYKO SHOW ROOM\", \"molyko_show_room\"));\n elt_id.getItems().add(new ComboItem(\"MILE 17\", \"mile_17\"));\n elt_id.getItems().add(new ComboItem(\"TIKO BRANCH\", \"tiko\"));\n elt_id.getItems().add(new ComboItem(\"BAMENDA\", \"bamenda\"));\n elt_id.getItems().add(new ComboItem(\"PRODUCTION CENTER\", \"production_center\"));\n elt_id.getItems().add(new ComboItem(\"LAS VEGAS\", \"las_vegas\"));\n elt_id.getItems().add(new ComboItem(\"NEW JERUSALEM\", \"new_jerusalem\"));\n elt_id.getItems().add(new ComboItem(\"OFFICE\", \"office\"));\n //elt_id.getSelectionModel().selectFirst();\n }", "title": "" }, { "docid": "8e5d6d1d45ed5f8e6600965fa75d9dbd", "score": "0.5468128", "text": "private void addComboBoxAListener() {\n dashboard.getSetBookingStatusView().getBookingStatesFilter().addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n //sets the field selectedItem with the JCombobox (bookingStatesFilter object)\n selectedItem = String.valueOf(dashboard.getSetBookingStatusView().getBookingStatesFilter().getSelectedItem());\n //loads again the download of bookings with the state changed in the JComboBox\n retrieveBookingsFromDB(selectedItem);\n }\n });\n }", "title": "" }, { "docid": "5489af1fab27d4e44e98bcea93c54af6", "score": "0.5458474", "text": "public void actionPerformed(ActionEvent evt)\r\n {\n\r\n cmbCampo.removeAllItems();\r\n String nombre = (String) cmbTabla.getSelectedItem();\r\n ArrayList capas = geopistaListados.camposDeUnaTabla(nombre);\r\n Iterator i = capas.iterator();\r\n while (i.hasNext()){\r\n String Campo = (String)i.next();\r\n cmbCampo.addItem(Campo);\r\n }\r\n \r\n \r\n\r\n }", "title": "" }, { "docid": "0a4075c205af14234e9f7a525fdfbaa1", "score": "0.5457061", "text": "private void initCmbSeguradora()\n {\n cmbSeguro.addItem(\"Seleccione\");\n cmbSeguro.addItem(\"Rimac\");\n cmbSeguro.addItem(\"Pacifico\");\n cmbSeguro.addItem(\"Otros\");\n }", "title": "" }, { "docid": "887ce1e2d1ed494c122d0770e2dd5e4f", "score": "0.5455127", "text": "private void carregaCombo() {\n FornecedorService fService = new FornecedorService();\n \n Vector<Fornecedor> fornecedores = new Vector<>(fService.buscarTodos());\n \n DefaultComboBoxModel dcm = new DefaultComboBoxModel(fornecedores);\n \n jCbxFornecedores.setModel(dcm);\n }", "title": "" }, { "docid": "695032e9b73c428796cce5c80eb8701e", "score": "0.5451594", "text": "public AccountsCrudPanel(int crudMode, JButton selectAccountButton, JComboBox<String> selectAccountBox )\n {\n // Set crudMode\n this.crudMode = crudMode;\n this.selectAccountButton = selectAccountButton;\n this.selectAccountBox = selectAccountBox;\n\n this.setBackground(Color.gray);\n this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));\n this.setAlignmentX(Component.LEFT_ALIGNMENT);\n this.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));\n this.setName(\"Nieuw account\");\n }", "title": "" }, { "docid": "623c0c688a046a96cbf29ad5c6f7c2a3", "score": "0.5446578", "text": "private void loadComboData() throws SQLException {\n /*\n List<Equipamento> equipamento = new EquipamentoDAO().getAllEquipamento();\n DefaultComboBoxModel dcbmEquip = new DefaultComboBoxModel(new Vector<Equipamento>(equipamento));\n cbEquipamento.setModel(dcbmEquip);\n */\n }", "title": "" }, { "docid": "0b461d244909a6d121b7e4b31477051f", "score": "0.54464996", "text": "private void fillSpinnerAccount() {\n\t\t// TODO Auto-generated method stub\n\t\tspinnerAccount = (Spinner) findViewById(R.id.spinner1);\n\t\tSGFDataModelSQLiteHelper lite = new SGFDataModelSQLiteHelper(this,\n\t\t\t\t\"teste\", null, 1);\n\t\tString[] cols = new String[] {\n\t\t\t\tSGFDataModelSQLiteHelper.COLUMN_ACCOUNT_ID,\n\t\t\t\tSGFDataModelSQLiteHelper.COLUMN_ACCOUNT_NAME,\n\t\t\t\tSGFDataModelSQLiteHelper.COLUMN_ACCOUNT_SGF_ID };\n\t\tCursor c = lite.getReadableDatabase().query(\n\t\t\t\tSGFDataModelSQLiteHelper.TABLE_ACCOUNTS, cols, null, null,\n\t\t\t\tnull, null, null);\n\n\t\tString[] columns = new String[] {\n\t\t\t\tSGFDataModelSQLiteHelper.COLUMN_ACCOUNT_NAME,\n\t\t\t\tSGFDataModelSQLiteHelper.COLUMN_ACCOUNT_SGF_ID };\n\t\tint[] to = new int[] { android.R.id.text1 };\n\t\tSimpleCursorAdapter accountAdapter = new SimpleCursorAdapter(this,\n\t\t\t\tandroid.R.layout.simple_spinner_item, c, columns, to, 0);\n\t\taccountAdapter\n\t\t\t\t.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\t\tspinnerAccount.setAdapter(accountAdapter);\n\t\tspinnerAccount.setOnItemSelectedListener(this);\n\t\tlite.close();\n\n\t}", "title": "" }, { "docid": "6dbc1a9877d7996500fb08b4c197208d", "score": "0.5443241", "text": "public void getDataIntoCombobox(){\n try{\n \n //Connection con = DriverManager.getConnection(URL , user , pass);\n con = DB_Connection.createConnection();\n Statement st=con.createStatement(); \n\n String selectQuery=\"SELECT CategoryName FROM Category\";\n ResultSet rs = st.executeQuery(selectQuery);\n\n while(rs.next()) {\n String cname = rs.getString(\"CategoryName\");\n jComboBox1.addItem(cname);\n }\n \n }catch (Exception e) {\n throw new Error(\"Problem\", e);\n }\n }", "title": "" }, { "docid": "b77dad000efebdae2789ce53394e22b2", "score": "0.5426154", "text": "private void PreencherComboBox() {\n EscolherHospede.removeAllItems();\n for (int i = 0; i < arrayListHospede.size(); i++) {\n EscolherHospede.addItem(i + \". \" + arrayListHospede.get(i).getNome());\n }\n //EscolherHospede.setSelectedIndex(-1);\n }", "title": "" }, { "docid": "271135801afb36a737a5514583766158", "score": "0.5423656", "text": "@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\tString name = users.getText();\n\t\t\t\tMap<String,String> anUser = userMap.get(name);\n\t\t\t\tif(anUser!=null){\n\t\t\t\t\tuserName.setText(anUser.get(\"un\"));\n\t\t\t\t\tpassword.setText(anUser.get(\"pw\"));\n\t\t\t\t\tinstanceUrl.setText(anUser.get(\"url\"));\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "ab063d90c4d08768dbaba3e19407b1ac", "score": "0.5411396", "text": "private void loadComboGrades() {\n \t// Get JSONArray of allGrades from API\n \tJSONArray allGrades = RequestUtils.allGradesRequest(); \t\n \tif (allGrades != null)\n \t{\n \t\t// Set Combobox data\n \tArrayList<String> sAllGrades = JsonUtils.parseAllGrades(allGrades);\t\t\t\t\n \t\tcomboCicles.setItems(FXCollections.observableArrayList(sAllGrades));\n \t}\n \telse\n \t{\n \t\tSystem.out.println(\"Error al obtener la lista de ciclos\");\n \t}\n }", "title": "" }, { "docid": "9131e2b2189b19a4cd809b1717dca6c9", "score": "0.54070735", "text": "public Accueil() {\n initComponents();\n ResultSet annees = gst.annees();\n try {\n while (annees.next()) {\n annee.addItem(annees.getString(1));\n }\n } catch (SQLException ex) {\n System.err.println(ex.getMessage());\n }\n ListSelectionModel selectionModel=tab.getSelectionModel();\n selectionModel.addListSelectionListener(this);\n }", "title": "" }, { "docid": "b7a8c2cceebdf16ecab3cd2d7fb24012", "score": "0.5403415", "text": "public void createAccount(){\n\t\tsetPanel(CREATE_ACCOUNT_PANEL);\n\t}", "title": "" }, { "docid": "3ddfe9122d35b692425ce9432b3a85c4", "score": "0.5402586", "text": "public void populateJCB2() {\n\n jComboBox2.setModel(new DefaultComboBoxModel<>(month()));\n\n }", "title": "" }, { "docid": "eeba6516b038c57218a749479e72a2c6", "score": "0.5396972", "text": "public void comboIdiomas(JComboBox combito){\n model = (DefaultComboBoxModel)combito.getModel();\n List<Idiomas>lista=idao.listar();\n for (int i = 0; i < lista.size(); i++) {\n combito.addItem(lista.get(i).getNombreIdioma());\n } \n vista.cbIdioma.setModel(model); \n }", "title": "" }, { "docid": "ae6ad4e9b6b268f9eb0f9d73718f7eb9", "score": "0.53955543", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jButton3 = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n loginas = new javax.swing.JComboBox();\n\n jButton3.setText(\"Login\");\n jButton3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton3ActionPerformed(evt);\n }\n });\n\n jLabel1.setText(\"Login As\");\n\n loginas.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"Admin\", \"Doctor\", \"Receptionist\", \"Pharmacist\" }));\n loginas.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n loginasActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(243, 243, 243)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(43, 43, 43)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 117, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(loginas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(227, 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 .addGap(68, 68, 68)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(loginas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 80, Short.MAX_VALUE)\n .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(21, 21, 21))\n );\n }", "title": "" }, { "docid": "74312babc726b833d70870ae631ad0c0", "score": "0.5394337", "text": "private JComboBox getCmbsexo() {\r\n\t\tif (cmbsexo == null) {\r\n\t\t\tsexos = new DefaultComboBoxModel();\r\n\t\t\tsexos.addElement(\"----------\");\r\n\t\t\tsexos.addElement(new String(\"Feminino\"));\r\n\t\t\tsexos.addElement(new String(\"Masculino\"));\r\n\t\t\tcmbsexo = new JComboBox(sexos);\r\n\t\t\tcmbsexo.setBounds(new Rectangle(493, 44, 101, 22));\r\n\t\t\tcmbsexo.setToolTipText(\"Sexo do aluno\");\r\n\t\t}\r\n\t\treturn cmbsexo;\r\n\t}", "title": "" }, { "docid": "106d8ea3a3e522e8cf589480e1adf443", "score": "0.5393916", "text": "private void getFaculty(){\n\n try{\n java.util.Vector v=DBManager.getFaculty();\n for(int i=0;i<v.size();i++)\n dep_combo.addItem(v.elementAt(i));\n}catch(Exception e){}\n}", "title": "" }, { "docid": "9b699c6685ba2a2edfef9fb543db70cc", "score": "0.53916776", "text": "private void inizializzaComboBoxClassi(){\r\n ClassiBean classi = contenitore.getClassi(); \r\n for(int i=0; i<classi.ritornaNumeroDiClassi(); i++){\r\n Classe c = classi.getClasseAt(i);\r\n jcmbClasse.addItem( new ClasseAdapter(c) );\r\n } \r\n }", "title": "" }, { "docid": "71c3b9ebfd87764853652f9a372f9345", "score": "0.53885305", "text": "public void setComboRol(java.lang.String comboRol);", "title": "" }, { "docid": "eb76e594bb017d05df7295af7faa8994", "score": "0.53783685", "text": "public void sub() {\n\n jComboBoxField.addItemListener(new ItemListener() {\n @Override\n public void itemStateChanged(ItemEvent ie) {\n if (ie.getStateChange() == ItemEvent.SELECTED) {\n /////////////\n if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Send to All\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"For Everyone\");\n jComboBoxPermission.setEnabled(false);\n }\n if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"School President\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"President\");\n jComboBoxPermission.setEnabled(false);\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Vice of Academic\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Vice-President for Academic Affairs\");\n jComboBoxPermission.setEnabled(false);\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Vice of Administrative\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Vice-President for Administrative\");\n jComboBoxPermission.setEnabled(false);\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Office of College Council\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.setEnabled(true);\n jComboBoxPermission.addItem(\"President of DOSCST Alumni Association\");\n jComboBoxPermission.addItem(\"Quality of Management Office\");\n jComboBoxPermission.addItem(\"Entrepreneurship and Management Officer\");\n jComboBoxPermission.addItem(\"Public Information Officer\");\n jComboBoxPermission.addItem(\"Executive Assistant to the President\");\n jComboBoxPermission.addItem(\"Director for Planning and Development\");\n jComboBoxPermission.addItem(\"Office of Infrastructure Committee\");\n jComboBoxPermission.addItem(\"Office of Management Information System\");\n\n }\n\n if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"School President\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"President\");\n jComboBoxPermission.setEnabled(false);\n\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Vice of Reseach Development and Extension\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Vice-President for Reseach Development and Extension\");\n jComboBoxPermission.setEnabled(false);\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Vice of Administrative\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Vice-President for Administrative\");\n jComboBoxPermission.setEnabled(false);\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Office of College Council\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.setEnabled(true);\n jComboBoxPermission.addItem(\"President of DOSCST Alumni Association\");\n jComboBoxPermission.addItem(\"Quality of Management Office\");\n jComboBoxPermission.addItem(\"Entrepreneurship and Management Officer\");\n jComboBoxPermission.addItem(\"Public Information Officer\");\n jComboBoxPermission.addItem(\"Executive Assistant to the President\");\n jComboBoxPermission.addItem(\"Director for Planning and Development\");\n jComboBoxPermission.addItem(\"Office of Infrastructure Committee\");\n jComboBoxPermission.addItem(\"Office of Management Information System\");\n\n }\n\n if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"School President\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"President\");\n jComboBoxPermission.setEnabled(false);\n\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Vice of Reseach Development and Extension\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Vice-President for Reseach Development and Extension\");\n jComboBoxPermission.setEnabled(false);\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Vice of Academic\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Vice-President for Academic Affairs\");\n jComboBoxPermission.setEnabled(false);\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Office of College Council\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.setEnabled(true);\n jComboBoxPermission.addItem(\"President of DOSCST Alumni Association\");\n jComboBoxPermission.addItem(\"Head of Quality of Management Office\");\n jComboBoxPermission.addItem(\"Entrepreneurship and Management Officer\");\n jComboBoxPermission.addItem(\"Public Information Officer\");\n jComboBoxPermission.addItem(\"Executive Assistant to the President\");\n jComboBoxPermission.addItem(\"Director for Planning and Development\");\n jComboBoxPermission.addItem(\"Head of Infrastructure Committee\");\n jComboBoxPermission.addItem(\"Head of Management Information System\");\n\n }\n ////////////////\n if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Academic \")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Head of ICE\");\n jComboBoxPermission.addItem(\"Head of IALS\");\n jComboBoxPermission.addItem(\"Head of IBPA\");\n jComboBoxPermission.addItem(\"Head of IETT\");\n\n jComboBoxPermission.addItem(\"Office of FASST\");\n jComboBoxPermission.addItem(\"Office of Health Service Unit\");\n jComboBoxPermission.addItem(\"Office of GCTC\");\n jComboBoxPermission.addItem(\"Sports Development Office\");\n jComboBoxPermission.addItem(\"Officed of TLR-AEC/QAD\");\n jComboBoxPermission.addItem(\"Registrar Office\");\n jComboBoxPermission.addItem(\"Office of Student and Affairs\");\n\n jComboBoxPermission.addItem(\"Dean of IALS\");\n jComboBoxPermission.addItem(\"Dean of IBPA\");\n jComboBoxPermission.addItem(\"Dean of ICE\");\n jComboBoxPermission.addItem(\"Dean of IETT\");\n\n jComboBoxPermission.addItem(\"Graduate School Coordinator\");\n jComboBoxPermission.addItem(\"Coordinator of NSTP\");\n jComboBoxPermission.addItem(\"Director for Instructor\");\n jComboBoxPermission.addItem(\"Director for Student Service\");\n jComboBoxPermission.addItem(\"SHS Administrator\");\n jComboBoxPermission.addItem(\"College Librarian\");\n\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Administrative \")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Office of Director for Administration Services\");\n jComboBoxPermission.addItem(\"Office of Internal Control Unit\");\n jComboBoxPermission.addItem(\"Accounting Office\");\n jComboBoxPermission.addItem(\"Budget Office\");\n jComboBoxPermission.addItem(\"Cashier Office\");\n jComboBoxPermission.addItem(\"Procurement Office\");\n jComboBoxPermission.addItem(\"Office of HRMD\");\n jComboBoxPermission.addItem(\"Office of Supply and Property Unit\");\n jComboBoxPermission.addItem(\"Office of ITSU\");\n jComboBoxPermission.addItem(\"Office of General Service Unit\");\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Research Development and Extension \")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"Journal and Publication Office\");\n jComboBoxPermission.addItem(\"Office of Monitoring and Evaluation Unit\");\n jComboBoxPermission.addItem(\"Office of Reseach and Development\");\n jComboBoxPermission.addItem(\"Director for Extension\");\n jComboBoxPermission.addItem(\"Office of CAAD\");\n jComboBoxPermission.addItem(\"Director of Cooperative Development Center\");\n jComboBoxPermission.addItem(\"Director of Gender and Development Center\");\n jComboBoxPermission.addItem(\"Director of Provincial Institute of Agriculture\");\n jComboBoxPermission.addItem(\"Director of Sentro ng Wika at Kultura\");\n jComboBoxPermission.addItem(\"Director of RAC XI\");\n jComboBoxPermission.addItem(\"Director of TIEC Center\");\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"College Council \")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.addItem(\"President of DOSCST Alumni Association\");\n jComboBoxPermission.addItem(\"Quality of Management Office\");\n jComboBoxPermission.addItem(\"Entrepreneurship and Management Officer\");\n jComboBoxPermission.addItem(\"Public Information Officer\");\n jComboBoxPermission.addItem(\"Executive Assistant to the President\");\n jComboBoxPermission.addItem(\"Director for Planning and Development\");\n jComboBoxPermission.addItem(\"Office of Infrastructure Committee\");\n jComboBoxPermission.addItem(\"Office of Management Information System\");\n\n }\n /////////////\n if ((\"Head of ICE\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Head of ICE\");\n } else {\n jComboBoxPermission.addItem(\"Head of ICE\");\n }\n if ((\"Head of IALS\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Head of IALS\");\n } else {\n jComboBoxPermission.addItem(\"Head of IALS\");\n }\n if ((\"Head of IBPA\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Head of IBPA\");\n } else {\n jComboBoxPermission.addItem(\"Head of IBPA\");\n }\n if ((\"Head of IETT\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Head of IETT\");\n } else {\n jComboBoxPermission.addItem(\"Head of IETT\");\n }\n if ((\"President of DOSCST Alumni Association\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"President of DOSCST Alumni Association\");\n } else {\n jComboBoxPermission.addItem(\"President of DOSCST Alumni Association\");\n }\n if ((\"Quality of Management Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Quality of Management Office\");\n } else {\n jComboBoxPermission.addItem(\"Quality of Management Office\");\n }\n if ((\"Office of Entrepreneurship and Management Officer\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Entrepreneurship and Management Officer\");\n } else {\n jComboBoxPermission.addItem(\"Office of Entrepreneurship and Management Officer\");\n }\n if ((\"Office of Public Information Officer\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Public Information Officer\");\n } else {\n jComboBoxPermission.addItem(\"Office of Public Information Officer\");\n }\n if ((\"Executive Assistant to the President\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Executive Assistant to the President\");\n } else {\n jComboBoxPermission.addItem(\"Executive Assistant to the President\");\n }\n if ((\"Director for Planning and Development\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director for Planning and Development\");\n } else {\n jComboBoxPermission.addItem(\"Director for Planning and Development\");\n }\n if ((\"Office of Infrastructure Committee\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Infrastructure Committee\");\n } else {\n jComboBoxPermission.addItem(\"Office of Infrastructure Committee\");\n }\n if ((\"Office of Management Information System\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Management Information System\");\n } else {\n jComboBoxPermission.addItem(\"Office of Management Information System\");\n }\n if ((\"Office of Management Information System\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Management Information System\");\n } else {\n jComboBoxPermission.addItem(\"Office of Management Information System\");\n }\n ////////////////\n if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Academic\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.setEnabled(true);\n jComboBoxPermission.addItem(\"Head of ICE\");\n jComboBoxPermission.addItem(\"Head of IALS\");\n jComboBoxPermission.addItem(\"Head of IBPA\");\n jComboBoxPermission.addItem(\"Head of IETT\");\n\n if ((\"Dean of IALS\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Dean of IALS\");\n\n jComboBoxPermission.removeItem(\"Head of IALS\");\n jComboBoxPermission.removeItem(\"Head of IBPA\");\n jComboBoxPermission.removeItem(\"Head of ICE\");\n jComboBoxPermission.removeItem(\"Head of IETT\");\n } else {\n jComboBoxPermission.addItem(\"Dean of IALS\");\n }\n if ((\"Dean of IBPA\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Dean of IBPA\");\n\n jComboBoxPermission.removeItem(\"Head of IALS\");\n jComboBoxPermission.removeItem(\"Head of IBPA\");\n jComboBoxPermission.removeItem(\"Head of ICE\");\n jComboBoxPermission.removeItem(\"Head of IETT\");\n } else {\n jComboBoxPermission.addItem(\"Dean of IBPA\");\n }\n if ((\"Dean of ICE\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Dean of ICE\");\n\n jComboBoxPermission.removeItem(\"Head of IALS\");\n jComboBoxPermission.removeItem(\"Head of IBPA\");\n jComboBoxPermission.removeItem(\"Head of ICE\");\n jComboBoxPermission.removeItem(\"Head of IETT\");\n } else {\n jComboBoxPermission.addItem(\"Dean of ICE\");\n }\n if ((\"Dean of IETT\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Dean of IETT\");\n\n jComboBoxPermission.removeItem(\"Head of IALS\");\n jComboBoxPermission.removeItem(\"Head of IBPA\");\n jComboBoxPermission.removeItem(\"Head of ICE\");\n jComboBoxPermission.removeItem(\"Head of IETT\");\n } else {\n jComboBoxPermission.addItem(\"Dean of IETT\");\n }\n\n if ((\"Office of FASST\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of FASST\");\n } else {\n jComboBoxPermission.addItem(\"Office of FASST\");\n }\n if ((\"Office of Health Service Unit\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Health Service Unit\");\n } else {\n jComboBoxPermission.addItem(\"Office of Health Service Unit\");\n }\n if ((\"Office of GCTC\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of GCTC\");\n } else {\n jComboBoxPermission.addItem(\"Office of GCTC\");\n }\n if ((\"Sports Development Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Sports Development Office\");\n } else {\n jComboBoxPermission.addItem(\"Sports Development Office\");\n }\n if ((\"Office of TLR-AEC/QAD\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of TLR-AEC/QAD\");\n } else {\n jComboBoxPermission.addItem(\"Office of TLR-AEC/QAD\");\n }\n if ((\"Registrar Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Registrar Office\");\n } else {\n jComboBoxPermission.addItem(\"Registrar Office\");\n }\n if ((\"Office of Student and Affairs\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Student and Affairs\");\n } else {\n jComboBoxPermission.addItem(\"Office of Student and Affairs\");\n }\n if ((\"Office of Graduate School Coordinator\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Graduate School Coordinator\");\n } else {\n jComboBoxPermission.addItem(\"Office of Graduate School Coordinator\");\n }\n if ((\"Office of Coordinator of NSTP\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Coordinator of NSTP\");\n } else {\n jComboBoxPermission.addItem(\"Office of Coordinator of NSTP\");\n }\n if ((\"Office of Director for Instructor\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director for Instructor\");\n } else {\n jComboBoxPermission.addItem(\"Office of Director for Instructor\");\n }\n if ((\"Office of Director for Student Service\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Director for Student Service\");\n } else {\n jComboBoxPermission.addItem(\"Office of Director for Student Service\");\n }\n if ((\"Office of SHS Administrator\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of SHS Administrator\");\n } else {\n jComboBoxPermission.addItem(\"Office of SHS Administrator\");\n }\n if ((\"College of Librarian\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of College Librarian\");\n } else {\n jComboBoxPermission.addItem(\"Office of College Librarian\");\n }\n\n if ((\"Vice-President for Academic Affairs\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Vice-President for Academic Affairs\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Vice-President for Academic Affairs\");\n }\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Administrative\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.setEnabled(true);\n if ((\"Office of ITSU\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of ITSU\");\n } else {\n jComboBoxPermission.addItem(\"Office of ITSU\");\n }\n if ((\"Office of Internal Control Unit\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Internal Control Unit\");\n } else {\n jComboBoxPermission.addItem(\"Office of Internal Control Unit\");\n }\n if ((\"Office of Director for Administration Services\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Director for Administration Services\");\n } else {\n jComboBoxPermission.addItem(\"Office of Director for Administration Services\");\n }\n \n if ((\"Accounting Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Accounting Office\");\n } else {\n jComboBoxPermission.addItem(\"Accounting Office\");\n }\n if ((\"Budget Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Budget Office\");\n } else {\n jComboBoxPermission.addItem(\"Budget Office\");\n }\n if ((\"Cashier Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Cashier Office\");\n } else {\n jComboBoxPermission.addItem(\"Cashier Office\");\n }\n if ((\"Procurement Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Procurement Office\");\n } else {\n jComboBoxPermission.addItem(\"Procurement Office\");\n }\n if ((\"Office of HRMD\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of HRMD\");\n } else {\n jComboBoxPermission.addItem(\"Office of HRMD\");\n }\n if ((\"Office of Supply and Property Unit\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Supply and Property Unit\");\n } else {\n jComboBoxPermission.addItem(\"Office of Supply and Property Unit\");\n }\n if ((\"Office of General Service Unit\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of General Service Unit\");\n } else {\n jComboBoxPermission.addItem(\"Office of General Service Unit\");\n }\n if ((\"Vice-President for Administrative\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Vice-President for Administrative\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Vice-President for Administrative\");\n\n }\n\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"Research Development and Extension\")) {\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.setEnabled(true);\n\n if ((\"Journal and Publication Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Journal and Publication Office\");\n } else {\n jComboBoxPermission.addItem(\"Journal and Publication Office\");\n }\n\n if ((\"Office of Monitoring and Evaluation Unit\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Monitoring and Evaluation Unit\");\n } else {\n jComboBoxPermission.addItem(\"Office of Office of Monitoring and Evaluation Unit\");\n }\n if ((\"Office of Reseach and Development\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Reseach and Development\");\n } else {\n jComboBoxPermission.addItem(\"Office of Reseach and Development\");\n }\n if ((\"Office of Director for Extension\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Director for Extension\");\n } else {\n jComboBoxPermission.addItem(\"Office of Director for Extension\");\n }\n if ((\"Office of CAAD\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of CAAD\");\n } else {\n jComboBoxPermission.addItem(\"Office of CAAD\");\n }\n if ((\"Director of Cooperative Development Center\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director of Cooperative Development Center\");\n } else {\n jComboBoxPermission.addItem(\"Director of Cooperative Development Center\");\n }\n if ((\"Director of Gender and Development Center\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director of Gender and Development Center\");\n } else {\n jComboBoxPermission.addItem(\"Director of Gender and Development Center\");\n }\n if ((\"Director of Provincial Institute of Agriculture\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director of Provincial Institute of Agriculture\");\n } else {\n jComboBoxPermission.addItem(\"Director of Provincial Institute of Agriculture\");\n }\n if ((\"Director of Sentro ng Wika at Kultura\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director of Sentro ng Wika at Kultura\");\n } else {\n jComboBoxPermission.addItem(\"Director of Sentro ng Wika at Kultura\");\n }\n if ((\"Director of RAC XI\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director of RAC XI\");\n } else {\n jComboBoxPermission.addItem(\"Director of RAC XI\");\n }\n if ((\"Director of TIEC Center\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director of TIEC Center\");\n } else {\n jComboBoxPermission.addItem(\"Director of TIEC Center\");\n }\n if ((\"Vice-President for Reseach Development and Extension\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Vice-President for Reseach Development and Extension\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Vice-President for Reseach Development and Extension\");\n\n }\n } else if (jComboBoxField.getSelectedItem().toString().equalsIgnoreCase(\"College Council\")) {\n\n jComboBoxPermission.removeAllItems();\n jComboBoxPermission.setEnabled(true);\n\n if ((\"President of DOSCST Alumni Association\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"President of DOSCST Alumni Association\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"President of DOSCST Alumni Association\");\n }\n if ((\"Quality of Management Office\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Quality of Management Office\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Quality of Management Office\");\n }\n if ((\"Office of Entrepreneurship and Management Officer\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Entrepreneurship and Management Officer\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Office of Entrepreneurship and Management Officer\");\n }\n if ((\"Office of Public Information Officer\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Public Information Officer\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Office of Public Information Officer\");\n }\n if ((\"Executive Assistant to the President\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Executive Assistant to the President\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Executive Assistant to the President\");\n }\n if ((\"Director for Planning and Development\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Director for Planning and Development\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Director for Planning and Development\");\n }\n if ((\"Office of Infrastructure Committee\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Infrastructure Committee\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Office of Infrastructure Committee\");\n }\n if ((\"Office of Management Information System\".equals(jLabelPermission.getText()))) {\n jComboBoxPermission.removeItem(\"Office of Management Information System\");\n jComboBoxPermission.addItem(\"President\");\n } else {\n jComboBoxPermission.addItem(\"Office of Management Information System\");\n }\n\n }\n }\n\n }\n });\n }", "title": "" }, { "docid": "4bced25f96d5883e65f62564be0a8372", "score": "0.5377406", "text": "@SuppressWarnings(\"unchecked\")\n private void populateComboBoxes() {\n //Database db = new Database();\n Object[] deps = db.getDepList(con);\n for (Object dep : deps) {\n facDep.addItem(dep);\n staDep.addItem(dep);\n }\n Object[] facs = db.getFacList(con);\n for (Object fac : facs) {\n corInstructor.addItem(fac);\n }\n Object[] stus = db.getStuList(con);\n for (Object stu : stus) {\n enrlStudent.addItem(stu);\n }\n Object[] cors = db.getCorList(con);\n for (Object cor : cors) {\n enrlCourse.addItem(cor);\n }\n }", "title": "" }, { "docid": "5d53e7d1f6f8c85acdb16b00d421d3fb", "score": "0.53767824", "text": "public String getCombo_Code() {\r\n return Combo_Code;\r\n }", "title": "" }, { "docid": "761dccb376b99225112d12bf3b948ca3", "score": "0.5360566", "text": "public Cab2bComboBox() {\r\n super();\r\n setCommonPreferences();\r\n }", "title": "" }, { "docid": "0a2ec94e26dec268c49bd81aa6f47a6f", "score": "0.53583676", "text": "@FXML\nprivate void actinPerformed(ActionEvent event) throws SQLException, ClassNotFoundException\n{\n \n \n String str = \"\"+acc_type.getSelectionModel();\n\t\t\t\t\t\n\t\t\t\t\t\ttry\n {\n acc_name.getItems().clear();\t\t\t\t\t\t\t\t//acc_name.removeAllItems();\n\t\t\t\t\t \t\t//create list for dictionary this in your case might be done via calling a method which queries db and returns results as arraylist\n\t\t\t\t\t \t Class.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\t\t\t\t\t\t Connection c = DriverManager.getConnection(\"jdbc:oracle:thin:@localhost:1521:xe\",\"system\",\"root\");\n\t\t\t\t\t\t\t\tjava.sql.Statement stm = c.createStatement();\n\t\t\t\t\t\t\t\tResultSet rs;\n\t\t\t\t\t\t\t\tif(acc_type.equals(\"All\"))\n {\n\t\t\t\t\t\t\t\t\t rs = stm.executeQuery(\"select name from Accounts\" );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\trs = stm.executeQuery(\"select name from Accounts where Accont_type='\"+acc_name.getSelectionModel().getSelectedItem()+\"'\");\n\t\t\t\t\t\t\t\t \t\t\t\t\n\t\t\t\t\t\t\t\twhile(rs.next())\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tacc_name.getItems().addAll(rs.getString(\"name\"));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t//}\n\t\t\t\t\t\t\t\tc.close();\n\t\t\t\t\t\t\t\tstm.close();\n\t\t\t\t\t }\n\t\t\t\t\t \tcatch(ClassNotFoundException cnf)\n\t\t\t\t\t \t{\n\t\t\t\t\t \t\tcnf.printStackTrace();\n\t\t\t\t\t \t\tSystem.out.println(\"Cnf Exception\");\n\t\t\t\t\t \t}\n\t\t\t\t\t \tcatch(SQLException sql)\n\t\t\t\t\t \t{\n\t\t\t\t\t \t\tsql.printStackTrace();\n\t\t\t\t\t \t\tSystem.out.println(\"DB connectivity issue\");\n\t\t\t\t\t \t}\n \n}", "title": "" }, { "docid": "f28d10456e22995d1fe2b74a1566023e", "score": "0.5358128", "text": "private void setComboBoxCourseFromDB(){\r\n //Empty the ComboBox\r\n jComboBox1.removeAllItems();\r\n \r\n //Query to get all the courses of the student\r\n String query = \"SELECT e.course_id \"\r\n +\"FROM enrollment e, course c \"\r\n +\"WHERE e.student_id = '\" + userObj.user_id + \"' AND e.course_id = c.course_id\";\r\n \r\n System.out.println(\"query to get student courses : \"+ query);\r\n try {\r\n rs = stmt.executeQuery(query);\r\n \r\n while (rs.next()) {//treatement of each tuple\r\n\t\t String courseID = rs.getString(\"course_id\");\r\n\t\t System.out.println(\"course: \" +courseID);\r\n jComboBox1.addItem(courseID);//add the course in the ComboBox\r\n\t\t\r\n }\r\n\r\n }\r\n catch (Exception oops) {\r\n System.out.println(\"WARNING - Student_Home - setComboBoxCourseFromDB - get all courses of the user : \"+ oops); \r\n }\r\n //PPS 22_230For test - because DB not ok - TODO : remove it when db ok\r\n //jComboBox1.addItem(\"CSC440\");\r\n //PPE 22_230\r\n \r\n }", "title": "" }, { "docid": "ee253c384dca8beb78c0e73e296ec1ef", "score": "0.53559387", "text": "public void setComboRolLabelList(java.lang.Object[] comboRolLabelList);", "title": "" }, { "docid": "8707601db25b8ca9e26afd261ea7298e", "score": "0.5347793", "text": "public JComboBox get_list_anio() {\n\t\tif (_list_anio == null) {\n\t\t\t_list_anio = new JComboBox();\n\t\t\t_list_anio.setFont(new Font(\"Dialog\", Font.BOLD, 10));\n\t\t\t_list_anio.setSize(new Dimension(92, 17));\n\t\t\t_list_anio.setLocation(new Point(143, 5));\n\t\t}\n\t\treturn _list_anio;\n\t}", "title": "" }, { "docid": "765f601815226fe95974c370bd0fbebb", "score": "0.53457713", "text": "public void updateSectorComboBox() {\n \n \n }", "title": "" }, { "docid": "aa849999f043c02b6efcd6dd57d8a650", "score": "0.53435546", "text": "public void widgetSelected(SelectionEvent event)\n {\n Combo combo = (Combo) event.widget ;\n populateDatabaseConfigFields(combo);\n }", "title": "" }, { "docid": "830b6c9a8add956388a3cf42624c9875", "score": "0.5339875", "text": "private void setComboBox() {\n availabilityComboBox.setModel(new DefaultComboBoxModel(BookAvailability.values()));\n }", "title": "" }, { "docid": "db9cbbdb3c5fff41872d1965083e954f", "score": "0.53361875", "text": "public java.lang.Object[] getComboIdiomaBackingList();", "title": "" }, { "docid": "777fc5bdc237898047f1793975c87f02", "score": "0.53323644", "text": "org.dhis2.ns.schema.dxf2.CategoryComboDocument.CategoryCombo addNewCategoryCombo();", "title": "" }, { "docid": "20f9d0f1b2c4b7c94fc3bfa478260b66", "score": "0.53204", "text": "private JComboBox alias() {\n\tif (ipAlias == null) {\n\n\t if (control.getConnections() == null) {\n\t\tipAlias = new JComboBox();\n\t\tipAlias.setEnabled(false);\n\t } else {\n\t\tipAlias = new JComboBox(control.getConnections().toArray(\n\t\t\tnew String[0]));\n\n\t\tipAlias.addKeyListener(new KeyAdapter() {\n\t\t public void keyPressed(KeyEvent e) {\n\t\t\tint key = e.getKeyCode();\n\t\t\tif (key == KeyEvent.VK_ENTER) {\n\t\t\t disconnectButton.doClick();\n\t\t\t} else if (key == KeyEvent.VK_ESCAPE) {\n\t\t\t cancelButton.doClick();\n\t\t\t}\n\t\t }\n\t\t});\n\t }\n\t}\n\treturn ipAlias;\n }", "title": "" }, { "docid": "5d0e0ee62a2872c6553c7244d6f48fe0", "score": "0.53157735", "text": "public java.lang.String getComboProceso();", "title": "" }, { "docid": "6fc3336731ca4f29abfd0f6b496154f2", "score": "0.5315257", "text": "@Override\n protected Control createControl(Composite parent) {\n\t\taccountControl = new AccountControl<A>(parent, session, classOfAccount);\n//\t\tcomboBox.setFont(parent.getFont());\n\t\t\n accountControl.addSelectionListener(new SelectionAdapter() {\n\t\t @Override\t\n public void widgetDefaultSelected(SelectionEvent e) {\n handleDefaultSelection(e);\n \n // Needed?\n\t\t\t\tapplyEditorValueAndDeactivate();\n }\n });\n \n accountControl.addKeyListener(new KeyAdapter() {\n // hook key pressed - see PR 14201 \n\t\t @Override\t\n public void keyPressed(KeyEvent e) {\n keyReleaseOccured(e);\n // TODO: Is this code needed?\n \n // as a result of processing the above call, clients may have\n // disposed this cell editor\n if ((getControl() == null) || getControl().isDisposed()) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n checkAccountSelected(); // see explaination below\n }\n });\n \n accountControl.addTraverseListener(new TraverseListener() {\n public void keyTraversed(TraverseEvent e) {\n if (e.detail == SWT.TRAVERSE_ESCAPE\n || e.detail == SWT.TRAVERSE_RETURN) {\n e.doit = false;\n }\n }\n });\n \n // We really want a selection listener but it is not supported so we\n // use a key listener and a mouse listener to know when selection changes\n // may have occured\n accountControl.addMouseListener(new MouseAdapter() {\n\t\t @Override\t\n public void mouseUp(MouseEvent e) {\n checkAccountSelected();\n }\n });\n \n accountControl.addFocusListener(new FocusAdapter() {\n\t\t @Override\t\n public void focusLost(FocusEvent e) {\n AccountCellEditor.this.focusLost();\n }\n });\n \n accountControl.setFont(parent.getFont());\n accountControl.setBackground(parent.getBackground());\n \n // TODO: Do we need these?\n// text.setText(\"\");//$NON-NLS-1$\n// text.addModifyListener(getModifyListener());\n \n return accountControl;\n }", "title": "" }, { "docid": "53c256d094f458f3408f7b09cd63b92c", "score": "0.531461", "text": "private void fillComboBox() {\n \n for(Meal m: list_meal){\n mealComboBox.addItem(m.name);\n }\n }", "title": "" }, { "docid": "bb8227ce098ad6c596e9f57cfe4dba60", "score": "0.53142893", "text": "private void fillItemCombo() throws SQLException, ClassNotFoundException {\n List<Book_Item> itemBookList = BookController.getAllItems();\n List<Item> itemList = ItemController.getAllItemsNotBooks();\n b = false;\n itemCombo.removeAllItems();\n for (Book_Item bookList : itemBookList) {\n itemCombo.addItem(bookList);\n }\n for (Item item : itemList) {\n itemCombo.addItem(item);\n }\n b = true;\n }", "title": "" }, { "docid": "3acf2383b53f4de15cd4cd6658b2482c", "score": "0.5307913", "text": "public Hastane_Otomasyonu() {\n initComponents();\n \n jPanel1.setVisible(false);\n List<Servis> servisList=Veritabani.readObject(new Servis());\n polikliniks=(List<Poliklinik>)Veritabani.readObject(new Poliklinik());\n jComboBox1.removeAllItems();\n for(Poliklinik p:polikliniks){\n jComboBox1.addItem(p);\n }\n \n }", "title": "" }, { "docid": "1045d427addd40fcbd4049d348e95327", "score": "0.5305746", "text": "private JComboBox getJComboBox1() {\n\t\tif (jComboBox1 == null) {\n\t\t\tjComboBox1 = new JComboBox();\n\t\t\tCalendar gaurkoUrte= new GregorianCalendar();\n\t\t\tgaurkoUrte.setTime(new Date());\n\t\t\tint egun=12;\n\t\t\tif(jComboBox.getSelectedItem().toString().equals(String.valueOf(gaurkoUrte.get(Calendar.YEAR))))\n\t\t\t\tegun = gaurkoUrte.get(Calendar.MONTH)+1;\n\t\t\tfor (int i=1; i<=egun;i++)\n\t\t\t\tjComboBox1.addItem(new Integer(i));\n\t\t\tjComboBox1.setSelectedItem(new Integer(gaurkoUrte.get(Calendar.MONTH)+1));\n\t\t}\n\t\treturn jComboBox1;\n\t}", "title": "" }, { "docid": "1baa6e6176ca53d619d0bedcd8dd8694", "score": "0.5301365", "text": "public void fillSpecialicationComboBox(JComboBox<String> jComboBox, ResultSet resultSet) {\n\t\ttry {\n\t\t\twhile (resultSet.next()) {\n\t\t\t\tjComboBox.addItem(resultSet.getString(\"specialization\"));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Db error\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "bdc75db57c38fd12ff66d75dbeb3df46", "score": "0.53000766", "text": "public AirlinerLogin(JPanel cjp, AirlinerDirectory ad,TravelAgencyClass travelAgency) {\n initComponents();\n CardSequenceJPanel = cjp;\n airlinerDirectory = ad;\n this.travelAgency = travelAgency;\n airlinerComboBox1.removeAllItems();\n for(Airliner airliner : travelAgency.getAirlinerDirectory().getAirlinerDict()) {\n airlinerComboBox1.addItem(airliner);\n }\n }", "title": "" }, { "docid": "8e37d603008345acde6bb8515af175c4", "score": "0.5299599", "text": "private void ucitajLokacijeIPopuniKombo() {\n\n ArrayList<Lokacija> listaLokacija = Kontroler.getInstanca().vratiLokacije();\n \n cmbLokacija.removeAllItems();\n \n for (Lokacija l : listaLokacija) {\n cmbLokacija.addItem(l);\n }\n\n }", "title": "" }, { "docid": "3ce84976e29619093bf0df5619ff6f61", "score": "0.52970564", "text": "public Interfaz_GrupoPruebas() {\n initComponents(); \n limpiar();\n bloquear_cajas();\n \n// Object[] tipo_doc = ctrl.combox(\"tipo_de_documento\",\"id_tipo_documento\");\n// comboTipoDoc.removeAllItems();\n// for(int i=0;i<tipo_doc.length;i++){\n// comboTipoDoc.addItem(tipo_doc[i]);\n// \n// }\n// \n// Object[] ciu = ctrl.combox(\"ciudad\",\"Codigo_ciudad\");\n// comboEdad.removeAllItems();\n// for(int i=0;i<ciu.length;i++){\n// comboEdad.addItem(ciu[i]);\n// \n// }\n }", "title": "" }, { "docid": "4a481d2463b841b76104d82c771c04c3", "score": "0.5293429", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jTextField3 = new javax.swing.JTextField();\n jPanel1 = new javax.swing.JPanel();\n jScrollPane1 = new javax.swing.JScrollPane();\n tblAccount = new javax.swing.JTable();\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 txtUsername = new javax.swing.JTextField();\n txtDisplayName = new javax.swing.JTextField();\n txtPassword = new javax.swing.JTextField();\n cbxType = new javax.swing.JComboBox<>();\n btnAdd = new javax.swing.JButton();\n btnReset = new javax.swing.JButton();\n btnDelete = new javax.swing.JButton();\n btnUpdate = new javax.swing.JButton();\n jLabel6 = new javax.swing.JLabel();\n txtaccountId = new javax.swing.JTextField();\n btnExit = new javax.swing.JLabel();\n btnHide = new javax.swing.JLabel();\n\n jTextField3.setText(\"jTextField1\");\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setLocation(new java.awt.Point(900, 630));\n setMinimumSize(new java.awt.Dimension(900, 630));\n setUndecorated(true);\n\n jPanel1.setBackground(new java.awt.Color(240, 109, 10));\n\n tblAccount.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null, null},\n {null, null, null, null, null},\n {null, null, null, null, null},\n {null, null, null, null, null}\n },\n new String [] {\n \"Id\", \"UserName\", \"DisplayName\", \"PassWord\", \"Type\"\n }\n ) {\n boolean[] canEdit = new boolean [] {\n false, false, false, false, true\n };\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n tblAccount.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n tblAccountMouseClicked(evt);\n }\n });\n jScrollPane1.setViewportView(tblAccount);\n if (tblAccount.getColumnModel().getColumnCount() > 0) {\n tblAccount.getColumnModel().getColumn(0).setPreferredWidth(20);\n tblAccount.getColumnModel().getColumn(4).setPreferredWidth(20);\n }\n\n jLabel1.setFont(new java.awt.Font(\"Eras Bold ITC\", 1, 48)); // NOI18N\n jLabel1.setForeground(new java.awt.Color(0, 51, 255));\n jLabel1.setText(\"Account\");\n\n jLabel2.setFont(new java.awt.Font(\"Eras Bold ITC\", 0, 24)); // NOI18N\n jLabel2.setForeground(new java.awt.Color(51, 153, 255));\n jLabel2.setText(\"DisplayName:\");\n\n jLabel3.setFont(new java.awt.Font(\"Eras Bold ITC\", 0, 24)); // NOI18N\n jLabel3.setForeground(new java.awt.Color(51, 153, 255));\n jLabel3.setText(\"Password:\");\n\n jLabel4.setFont(new java.awt.Font(\"Eras Bold ITC\", 0, 24)); // NOI18N\n jLabel4.setForeground(new java.awt.Color(51, 153, 255));\n jLabel4.setText(\"Username:\");\n\n jLabel5.setFont(new java.awt.Font(\"Eras Bold ITC\", 0, 24)); // NOI18N\n jLabel5.setForeground(new java.awt.Color(51, 153, 255));\n jLabel5.setText(\"Type:\");\n\n cbxType.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"0\", \"1\" }));\n\n btnAdd.setBackground(new java.awt.Color(255, 255, 0));\n btnAdd.setFont(new java.awt.Font(\"Eras Bold ITC\", 1, 24)); // NOI18N\n btnAdd.setForeground(new java.awt.Color(204, 0, 204));\n btnAdd.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/icons8-add-50.png\"))); // NOI18N\n btnAdd.setText(\"Add\");\n btnAdd.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnAddActionPerformed(evt);\n }\n });\n\n btnReset.setBackground(new java.awt.Color(255, 255, 0));\n btnReset.setFont(new java.awt.Font(\"Eras Bold ITC\", 1, 24)); // NOI18N\n btnReset.setForeground(new java.awt.Color(204, 0, 204));\n btnReset.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/icons8-reset-24.png\"))); // NOI18N\n btnReset.setText(\"Reset\");\n btnReset.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnResetActionPerformed(evt);\n }\n });\n\n btnDelete.setBackground(new java.awt.Color(255, 255, 0));\n btnDelete.setFont(new java.awt.Font(\"Eras Bold ITC\", 1, 24)); // NOI18N\n btnDelete.setForeground(new java.awt.Color(204, 0, 204));\n btnDelete.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/icons8-delete-50.png\"))); // NOI18N\n btnDelete.setText(\"Delete\");\n btnDelete.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnDeleteActionPerformed(evt);\n }\n });\n\n btnUpdate.setBackground(new java.awt.Color(255, 255, 0));\n btnUpdate.setFont(new java.awt.Font(\"Eras Bold ITC\", 1, 24)); // NOI18N\n btnUpdate.setForeground(new java.awt.Color(204, 0, 204));\n btnUpdate.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/icons8-update-48.png\"))); // NOI18N\n btnUpdate.setText(\"Update\");\n btnUpdate.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnUpdateActionPerformed(evt);\n }\n });\n\n jLabel6.setFont(new java.awt.Font(\"Eras Bold ITC\", 0, 24)); // NOI18N\n jLabel6.setForeground(new java.awt.Color(51, 153, 255));\n jLabel6.setText(\"Id:\");\n\n txtaccountId.setEnabled(false);\n\n btnExit.setBackground(new java.awt.Color(0, 0, 0));\n btnExit.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n btnExit.setText(\"X\");\n btnExit.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n btnExit.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n btnExitMouseClicked(evt);\n }\n });\n\n btnHide.setBackground(new java.awt.Color(0, 0, 0));\n btnHide.setFont(new java.awt.Font(\"Eras Bold ITC\", 1, 18)); // NOI18N\n btnHide.setText(\"_\");\n btnHide.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n btnHide.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n btnHideMouseClicked(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel1)\n .addGap(81, 81, 81)\n .addComponent(btnHide, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnExit, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(28, 28, 28)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(btnAdd, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 171, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnDelete, javax.swing.GroupLayout.Alignment.TRAILING))\n .addGap(59, 59, 59)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(btnUpdate, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnReset, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtDisplayName, javax.swing.GroupLayout.PREFERRED_SIZE, 232, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel6)\n .addGap(18, 18, 18)\n .addComponent(txtaccountId, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jLabel4))\n .addGap(22, 22, 22)\n .addComponent(txtUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 256, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jLabel2))))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel5)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(cbxType, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel3)\n .addGap(18, 18, 18)\n .addComponent(txtPassword, javax.swing.GroupLayout.PREFERRED_SIZE, 267, javax.swing.GroupLayout.PREFERRED_SIZE)))))\n .addContainerGap(12, Short.MAX_VALUE))))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(btnExit, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnHide))\n .addGap(42, 42, 42))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(1, 1, 1)))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtaccountId, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel6))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel4))\n .addGap(36, 36, 36)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtDisplayName, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addGap(45, 45, 45)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtPassword, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addGap(30, 30, 30)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(cbxType, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel5))\n .addGap(33, 33, 33)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnAdd)\n .addComponent(btnReset, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnDelete)\n .addComponent(btnUpdate))\n .addContainerGap(92, Short.MAX_VALUE))\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 .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "504868bc83fa4fc335ce793dcc854a59", "score": "0.0", "text": "public static void main(String[] args) {\n\r\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.6662341", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.65679675", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.65663373", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.6529823", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.64933", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.6465167", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "5697bde38a38a77f3a0bd238fb737c11", "score": "0.6365958", "text": "@Override\n public int getDochody() {\n return 0;\n }", "title": "" }, { "docid": "777efb33041da4779c6ec15b9d85097c", "score": "0.63017696", "text": "@Override\r\n\tpublic void attaque() {\n\t\t\r\n\t}", "title": "" }, { "docid": "85b25c664df01fd0b02e103c9bbc8372", "score": "0.626957", "text": "@Override\r\n\tpublic void arreter() {\n\r\n\t}", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.6251706", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6238919", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.6194878", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "a56ce606ea5cc945279ea9725eed5272", "score": "0.61604875", "text": "@Override\n\tpublic void alearga() {\n\t\t\n\t}", "title": "" }, { "docid": "07779d53803dc6875c03bdee2e1afeb5", "score": "0.61335677", "text": "@Override\n public void ordenar() {\n }", "title": "" }, { "docid": "b9936bc3db0ac97ae50d7643a27379b4", "score": "0.61201394", "text": "@Override\n\tpublic void intercourse() {\n\n\t}", "title": "" }, { "docid": "35e5940d13f06d1f0d6a21cf2739c70a", "score": "0.6112818", "text": "public function() {}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.6060277", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.6033228", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6026066", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "829bb71476cb87bb452950e0e97007e6", "score": "0.6020187", "text": "@Override\n\tprotected void dataAcquisition() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.59924775", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.59924775", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.59924775", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.59924775", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "8d2080edd6605bcfb742d32fd1a0091e", "score": "0.597452", "text": "@Override\n\tpublic void ilerle() {\n\n\t}", "title": "" }, { "docid": "ee0f5f270c3e0eea9f37c3d1e42b1161", "score": "0.59640104", "text": "public void mo12736g() {\n }", "title": "" }, { "docid": "2aee513697daff4bfe2636e5d0fa9a30", "score": "0.596071", "text": "@Override\n\tpublic void bewegeNachUnten() {\n\n\t}", "title": "" }, { "docid": "ced4b47c7129b2184e6a77b2a8798fd1", "score": "0.59478796", "text": "@Override\n public void annuler() {\n\n }", "title": "" }, { "docid": "cb1c09afbbe0ad234f211aa36d586f4e", "score": "0.59120226", "text": "@Override\r\n\t\tprotected void update() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.59048027", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "5bb37ed5e0a08c04cb9e970f3e334584", "score": "0.590139", "text": "@Override\n\tpublic void accion() {\n\n\t}", "title": "" }, { "docid": "15c9cae08ae101b3a04f9ff3b519ae04", "score": "0.5884034", "text": "public void mo8316a() {\n }", "title": "" }, { "docid": "b7288a7694313b8a4d39355a49521e40", "score": "0.5883733", "text": "@Override\r\n\tpublic void atras() {\n\t\tsuper.atras();\r\n\t}", "title": "" }, { "docid": "4077955e82cce22d988577ca0a7978fc", "score": "0.587923", "text": "@Override\n\tpublic void dormir() {\n\n\t}", "title": "" }, { "docid": "833ba2f1d8822ebbb0dddd05020c0c08", "score": "0.58717644", "text": "@Override\n\tpublic void attaque() {\n\t}", "title": "" }, { "docid": "3e9c4de332bfb94422f785054fa63ada", "score": "0.58652985", "text": "@Override\r\n\tpublic void limpiar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6b0e2e41d411b76c357d16b3eb3a159c", "score": "0.5861", "text": "protected abstract void entschuldigen();", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5859059", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "8e75ffe6faa994ed57c6ffb8b56296fe", "score": "0.58537644", "text": "public void xiuproof() {\n\t\t\n\t}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.585087", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "39da14b1f6e1adac9c0b748811e78b68", "score": "0.58380586", "text": "public void mo12645zl() {\n }", "title": "" }, { "docid": "d87000313f7b5075ec45a2b0ee7df323", "score": "0.58234674", "text": "@Override\r\n\tprotected void location() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b7e98de900f4657495e91d5ff4bd6bd6", "score": "0.581473", "text": "@Override\r\n\tpublic void init(){\r\n\t}", "title": "" }, { "docid": "4e86f604c407a96c75671f663064c24b", "score": "0.58073366", "text": "public void mo8319b() {\n }", "title": "" }, { "docid": "cc32bfffe770f8a5c5cf88e6af231ff8", "score": "0.5800345", "text": "@Override\n\tpublic void one() {\n\t\t\n\t}", "title": "" }, { "docid": "b17089ec7f3b873adc1ebff906be9241", "score": "0.5795002", "text": "@Override\r\n\tpublic void carregar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793457", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.57918733", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.578839", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.578839", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "b429c7e890f65a814ea31e6014003667", "score": "0.57836753", "text": "@Override\n public int describeContents(){\n return 0;\n }", "title": "" }, { "docid": "680a0d25967a28e3b7a6643d55703105", "score": "0.5780916", "text": "public void contaaordem() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.57739174", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.57739174", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.57739174", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.57739174", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5764658", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589364", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "b901583faeb614d4d67271470c31d36c", "score": "0.5751646", "text": "@Override\n\tpublic void sare() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57499367", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57499367", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57499367", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "92af0f4d75822a6723aebd9fcc92fafb", "score": "0.57425094", "text": "@Override\n protected void initData() {\n \n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57349783", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57349783", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57349783", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94635a88abd93d3624c032aa22ccc337", "score": "0.5732597", "text": "@Override\n\t\t\tpublic void refresh() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "fa729e301b181004ac22fa6a16b19c1b", "score": "0.5721068", "text": "@Override\n public void init()\n {\n }", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718698", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "0b812af084ac0cb033ab904c49294fed", "score": "0.56861484", "text": "public void mo25703a() {\n }", "title": "" }, { "docid": "dc4ad5d6a5fcdc294379036f367a401b", "score": "0.5685952", "text": "@Override\n public void frenar() {\n\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.5684818", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "c0f925eed1b58e6d19fd99e8a3e26d34", "score": "0.56771046", "text": "@Override\r\n public boolean sallittu() {\r\n return false;\r\n }", "title": "" }, { "docid": "fdeab6ca2d3dd91b347a8cc2f5c862c2", "score": "0.56669253", "text": "private static void generateNew() {\n\t\t\t\t\n\t\t\n\t}", "title": "" }, { "docid": "322e19fcfb5cfbd6ffce194d7e04df05", "score": "0.56662977", "text": "@Override\n\t\t\tprotected void reInitial() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56569463", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.56442326", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.56442326", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "d6d75432f50fcf22c3834bdfb660cd26", "score": "0.56426495", "text": "@Override\n public void use(){\n \n }", "title": "" }, { "docid": "9bcd15a2298e73719d7c7326027b093b", "score": "0.5639223", "text": "@Override\n\tprotected void getData() {\n\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5629212", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "91e98bbf9cac4e38e126d6b5c2a2ecac", "score": "0.5624678", "text": "@Override\n\tprotected void setupData() {\n\n\t}", "title": "" }, { "docid": "e41e83e59c632c7e6180786a0238f944", "score": "0.561949", "text": "@Override\r\n\tpublic void cry() {\n\t\t\r\n\t}", "title": "" }, { "docid": "290b69adc6f043c0f6d04c952f144b7d", "score": "0.560954", "text": "@Override\n\tpublic void ImplementRule()\n\t{\n\n\t}", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.5607884", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.5607884", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "9fa93751aa3acc716354baf4c9c4b1ff", "score": "0.5604792", "text": "@Override\n\tpublic void NoOftems() {\n\n\t}", "title": "" }, { "docid": "dce285146917b7d4be86c4f1ade0646e", "score": "0.56011814", "text": "@Override\r\n protected void onLoad() {}", "title": "" }, { "docid": "2698e2df29a24b9998ee11e61625c8a0", "score": "0.56006044", "text": "private void method() {\n\t\t\t}", "title": "" }, { "docid": "3767348a298bdbc42a516908dfac0022", "score": "0.55992347", "text": "public final void mo34050B() {\n }", "title": "" }, { "docid": "8436022dbd33301a64633011031cfa7b", "score": "0.5598996", "text": "protected void filtrarHoyDDPF() {\n\t\t\r\n\t}", "title": "" } ]
e092e81321f6504c9fd331706704c40c
End of Change order for a persons restaurant Add Restaurant and order to existing person
[ { "docid": "46c6c554c361536c7d37caa7595a8188", "score": "0.0", "text": "@Controller(pattern = \"add restaurant to person\", next = \"RequestRestaurant\")\r\n\tpublic void RequestNameForRestaurant(WebSocketSession session, Event event) \r\n\t{\r\n\t\tstartConversation(event, \"RequestRestaurant\");\r\n\t\t\r\n\t\treply(session, event, new Message(\"Whose list do you want to add a restaurant for?\"));\r\n\t}", "title": "" } ]
[ { "docid": "cd5f33242bd50cbd92abdb1aaff29c07", "score": "0.6337072", "text": "Order finalizeOrder(Order newOrder);", "title": "" }, { "docid": "fc878552af22ab5b5f88a18a4b86c2eb", "score": "0.6330246", "text": "public void addRestaurant(Restaurant r){\n\t\t\n\t}", "title": "" }, { "docid": "78ac6fa9bcb0430ffc097c4902751928", "score": "0.6318845", "text": "void addOrder(Order order);", "title": "" }, { "docid": "b98e81e693951c565d8d698c6630e4dd", "score": "0.6279621", "text": "@Override\n public void newOrder(Order o) {\n this.pendingOrders.add(o); //Añadir el pedido de un cliente\n\n }", "title": "" }, { "docid": "38707e92e79fbd9fa9b0178ab21674d8", "score": "0.60944587", "text": "private void addOrder(Order order) {\n \t\t// TODO\n \t}", "title": "" }, { "docid": "bbf1c470b4d8a71ba37c1ce6b3e8b163", "score": "0.6038449", "text": "public void addOrder() {\r\n\t\tthis.order=new Order();\r\n\t}", "title": "" }, { "docid": "aeebac54f8f3acd1fb6d8d2ea54ce6a4", "score": "0.6038262", "text": "void placeOrder(Order order);", "title": "" }, { "docid": "0d41c11fda73fb5737105b9e3544b5ce", "score": "0.59958524", "text": "private void placeReplenishOrder() {\n\t\tSystem.out.println(\"Sending a purchase order of \" + this.reorderQuantity + \" unit(s) \" + this.item.getName()\n\t\t\t\t+ \" to \" + this.getSupplier().getName() + \"\\n\");\n\t\t// Auto increase stock level. An ideal world situation:)\n\t\tstockLevel += reorderQuantity;\n\t}", "title": "" }, { "docid": "996d98697926dca1aeff693e6ed8560a", "score": "0.5966203", "text": "public void createOrder() {\n\t}", "title": "" }, { "docid": "3c1f2df7a04399543b7ac35ecf5fc771", "score": "0.5922705", "text": "private void addOrder() {\n String orderNum = service.generateOrderNum();\n\n //User enters customer name\n String customerName = view.getCustomerName();\n\n //User enters state and the program gains access to tax rate \n String stateEntry;\n BigDecimal taxRate = null;\n do {\n Set stateKeys;\n try {\n stateKeys = service.getStateCodes();\n } catch(FileNotFoundException | InvalidStateException ex) {\n view.printError(\"File not found\" + ex);\n return;\n }\n stateEntry = view.getState(stateKeys);\n try {\n taxRate = service.getTaxRate(stateEntry);\n if (taxRate == null) {\n view.printError(\"=== Invalid state, please enter again ===\");\n }\n\n } catch (FileNotFoundException | InvalidStateException ex) {\n view.printError(\"File not found.\" + ex.getMessage());\n }\n } while (taxRate == null);\n\n //User enters product type and the program gains access to material and labor costs \n ProductDetail productDetail = null;\n String productEntry;\n Set productKeys;\n try{\n productKeys = service.getProductNames();\n } catch (FileNotFoundException | InvalidStateException ex) {\n view.printError(\"File not found\" + ex);\n return;\n }\n do {\n productEntry = view.getProduct(productKeys);\n try {\n productDetail = service.getProductDetail(productEntry);\n if (productDetail == null) {\n view.printError(\"=== Invalid product, please enter again ===\");\n }\n } catch (FileNotFoundException | InvalidProductNameException ex) {\n view.printError(\"File not found //\" + ex.getMessage());\n }\n } while (productDetail == null);\n BigDecimal materialCostPerSquareFoot = productDetail.getMaterialCostPerSquareFoot();\n BigDecimal laborCostPerSquareFoot = productDetail.getLaborCostPerSquareFoot();\n\n //User enters area to calculate costs\n float area = view.getArea();\n\n //Program uses AREA and costsPerSquareFoot to calculate TOTAL cost of material, labor and tax\n BigDecimal totalMaterialCost = service.getTotalMaterialCost(materialCostPerSquareFoot, area);\n BigDecimal totalLaborCost = service.getTotalLaborCost(laborCostPerSquareFoot, area);\n BigDecimal totalTax = service.getTotaltax(totalMaterialCost, totalLaborCost, taxRate);\n //Progams adds all subTotals to get the orderTotal\n BigDecimal orderTotal = service.getOrderTotal(totalMaterialCost, totalLaborCost, totalTax);\n\n boolean commit = view.commitChanges(orderNum, customerName, stateEntry, taxRate, productEntry, materialCostPerSquareFoot, laborCostPerSquareFoot, area, totalMaterialCost, totalLaborCost, totalTax, orderTotal);\n\n if (commit) {\n\n try {\n //All fields of Order are sent to services to createOrder\n service.createOrder(orderNum, customerName, stateEntry, taxRate, productEntry, area, materialCostPerSquareFoot,\n laborCostPerSquareFoot, totalMaterialCost, totalLaborCost, totalTax, orderTotal);\n } catch (IOException ex) {\n System.out.println(\"Error \" + ex);\n }\n } else {\n view.print(\"Order NOT saved!\");\n }\n\n }", "title": "" }, { "docid": "ee8be56932a79179ba06c83e0e8d3c85", "score": "0.5918346", "text": "public void takeOrder(Order order){\r\n orderList.add(order);\t\t//se adauga ordine de luat\r\n }", "title": "" }, { "docid": "479192c4c0d8150cbcce69e7da71b015", "score": "0.59133226", "text": "@Override\n\t\tpublic void action() {\n\t\t\torder = generateOrder(); \n\t\t}", "title": "" }, { "docid": "4ea5a2fb8b3a356ae678265c4c356a44", "score": "0.59045213", "text": "@Override\n @Transactional\n public Long addFoodItem_Order(FoodOrderContext item) {\n\n FoodItem_Portion foodItem_portion = foodItem_portionService.getById(item.getFoodItem_PortionId());\n Order order = orderRepo.findOrderById(item.getOrderId());\n\n Employee employee = employeeRepo.findEmployeeById(item.getEmployeeId());\n if(foodItem_portion == null || order == null)\n return 0L;\n\n FoodItem foodItem = foodItem_portion.getFoodItem();\n foodItem.setQuantity(foodItem_portion.getFoodItem().getQuantity() - (foodItem_portion.getPortion().getCalculate() * item.getQuantity()));\n\n //foodItemPoriton gelecek\n FoodItem_Order foodItemOrder = new FoodItem_Order(order,foodItem_portion,item.getQuantity(),item.getPrice(), LocalDateTime.now(), employee);\n itemOrderRepo.save(foodItemOrder);\n itemRepo.save(foodItem);\n\n return foodItemOrder.getId();\n }", "title": "" }, { "docid": "25a4416a4248f012c62743be0a23c2a7", "score": "0.58887154", "text": "public void addOrder(Orden orden){\n allOrdens.add(orden);\n }", "title": "" }, { "docid": "e15f54716dc5ee3b2f98660b14df72be", "score": "0.5847699", "text": "public void finishOrder()\r\n {\r\n this.order = null;\r\n }", "title": "" }, { "docid": "7425432c03eb1904477402a294fa7a7c", "score": "0.58366203", "text": "public void placeOrder(View v){\n if(References.customerOrder.getItems().isEmpty()){\n Toast.makeText(this, R.string.order_empty, Toast.LENGTH_SHORT).show();\n finish();\n return;\n }\n References.orders.add(References.customerOrder); //add this order to the store orders\n References.customerOrder = new Order(); //create a new order\n Toast.makeText(this, R.string.order_placed, Toast.LENGTH_SHORT).show();\n finish(); //go back to main menu\n }", "title": "" }, { "docid": "24ac50f678e55536dc8bd367ad601672", "score": "0.5830213", "text": "@Override\npublic void addOrder(Order order) {\n\tdao.addOrder(order);;\n}", "title": "" }, { "docid": "44e6466484984fb6a6ecb4e79dc6ad53", "score": "0.58031344", "text": "private void addPizzaToOrder(Pizza pizza)\n {\n }", "title": "" }, { "docid": "2cf0a4de2edf6c64ddddb47c6e5038af", "score": "0.5797987", "text": "Order update(Order order);", "title": "" }, { "docid": "28fd5ab13f95d17436001d6bdfa13a56", "score": "0.57932943", "text": "public void takeOrder(Order order) {\n SalesRecord salesRecord = getCafe().getSalesRecord();\n\n order.execute(\"Beverage\");\n order.execute(\"Kitchen\");\n\n // calculate price of order\n double priceBeforeRewards = calculatePrice(order).get(\"priceBefore\");\n double price = calculatePrice(order).get(\"priceAfter\");\n\n // add transaction to sales record\n Reciept reciept = new Reciept(order.getCustomer(), order, price, priceBeforeRewards - price);\n salesRecord.add(reciept);\n\n // display receipt\n reciept.prettyPrint();\n }", "title": "" }, { "docid": "eb1bf526d62ddf49aeb57ec75ce4df7b", "score": "0.5730699", "text": "public String OrderPizza(Pizza newPizza){\n // ROOM -- Add insert into database\n PizzaDatabase.databaseWriteExecutor.execute(() -> {\n heartrateDao.insert(newPizza);\n //Log.d (\"CIS 3334\", newPizza.toString());\n });\n pizzasInOrder.add(newPizza);\n return newPizza.toString(); // return a description of what was ordered\n }", "title": "" }, { "docid": "13f0f3808ee44e9438d68236016e019d", "score": "0.5718398", "text": "void addOrderAsSubmittedOrder(User user, Order order);", "title": "" }, { "docid": "fc48d6d21ee82e3036e210207a20e684", "score": "0.57032055", "text": "@Override\r\n public Integer addOrder(String flatBuilNumber, String locality, String city, String zipCode, Integer stateId, String type,\r\n Integer paymentId, Integer userId, List<ItemQuantity> itemQuantities, double bill, Integer couponId,\r\n double discount) {\r\n\r\n addressRepository.addAddress(flatBuilNumber, locality, city, zipCode, stateId);\r\n\r\n Integer lastAddedAddressId = addressRepository.findLastAddedAddress();\r\n if (type == null || type.equals(\"\")) {\r\n type = \"temp\";\r\n }\r\n userAddressRepository.addAddressType(type, userId, lastAddedAddressId);\r\n if(couponId==null ){\r\n couponId =1;\r\n }\r\n orderRepository.saveOrder(couponId, discount, bill, userId, paymentId, lastAddedAddressId);\r\n\r\n Integer latestOrderId = orderRepository.findLatestOrderId();\r\n\r\n for (ItemQuantity itemQuantity: itemQuantities) {\r\n\r\n Item item = itemRepository.findItemById (itemQuantity.getItemId());\r\n double totalPrice = item.getPrice() * itemQuantity.getQuantity();\r\n orderRepository.saveOrderItem(latestOrderId, itemQuantity.getItemId(), itemQuantity.getQuantity(), totalPrice);\r\n }\r\n\r\n return latestOrderId;\r\n }", "title": "" }, { "docid": "999d93d5298011befa111f2d3d19ee74", "score": "0.56823945", "text": "public abstract void addOrder(Order order) throws SharedWorkspaceException;", "title": "" }, { "docid": "84a223c7bcf5ceb342996bcc9499a6ba", "score": "0.56707966", "text": "@Override\r\n\tpublic void saveOrUpdate(ReciveRedbagOrder argo) {\n\t\treciveRedbagOrderDao.saveAndFlush(argo);\r\n\t}", "title": "" }, { "docid": "c2da2a45e5e7e5c8af8091434af66c44", "score": "0.5670289", "text": "public Order addOrder(int highestOrderNum, int removedOrderNumWasHighest, List<Product> productList, List<Tax> taxList) {\n //Make sure that the next order number is not the one that was just removed\n //(if the one removed was once the highest in the system)\n int orderNumber = highestOrderNum + 1;\n if (orderNumber == removedOrderNumWasHighest) {\n orderNumber++;\n }\n \n String customerName = null;\n String orderDateString = null;\n LocalDate todayDate = LocalDate.now();\n LocalDate orderDateLD = LocalDate.now();\n boolean dateValid = false;\n String state = null;\n String productType = null;\n String areaAsString = null;\n double areaAsDouble = 0;\n boolean areaValid = false;\n String confirm = \"\";\n \n io.print(\"\");\n io.print(\"*** Add an Order ***\");\n \n //do-while loops ensure that these fields are filled in and aren't left blank\n //Get customer name\n do {\n io.print(\"\");\n customerName = io.readString(\"Enter customer name:\");\n } while (customerName.equals(\"\"));\n \n //Get order date\n do {\n io.print(\"\");\n try {\n orderDateString = io.readString(\"Enter order date either today or in the future (yyyy-MM-dd):\");\n orderDateLD = LocalDate.parse(orderDateString, DateTimeFormatter.ISO_DATE);\n \n //Make sure that date input is either today or in the future\n Period timeDiff = Period.between(todayDate, orderDateLD);\n int dayTimeDiff = timeDiff.getDays();\n \n if (dayTimeDiff >= 0) {\n dateValid = true;\n } else {\n io.print(\"Bad input! Invalid date - must be either today or in the future.\");\n }\n \n } catch (DateTimeParseException e) {\n io.print(\"Bad input! Try again.\");\n }\n } while (!dateValid);\n \n //Get state of order (for tax purposes)\n do {\n io.print(\"\");\n io.print(\"Options for US states:\");\n \n //Print out each type of product so the user can see what the options are\n for (Tax t : taxList) {\n io.print(t.getState());\n }\n \n state = io.readString(\"Enter US state of order location (XX):\");\n } while (state.equals(\"\") || state.length() != 2 || (!state.equalsIgnoreCase(\"OH\") && !state.equalsIgnoreCase(\"PA\") && !state.equalsIgnoreCase(\"MI\") && !state.equalsIgnoreCase(\"IN\")));\n \n //Get material type for product\n do {\n io.print(\"\");\n io.print(\"Options for product materials:\");\n \n //Print out each type of product so the user can see what the options are\n for (Product p : productList) {\n io.print(p.getProductType());\n }\n \n productType = io.readString(\"Enter material type:\");\n } while (productType.equals(\"\") || (!productType.equalsIgnoreCase(\"Carpet\") && !productType.equalsIgnoreCase(\"Laminate\") && !productType.equalsIgnoreCase(\"Tile\") && !productType.equalsIgnoreCase(\"Wood\")));\n \n //Get product area\n do {\n io.print(\"\");\n try {\n areaAsString = io.readString(\"Enter product area in sq ft:\");\n areaAsDouble = Double.valueOf(areaAsString);\n areaValid = true;\n \n if (areaAsDouble < 0) {\n io.print(\"Bad input! Try again.\");\n }\n } catch (NumberFormatException e) {\n io.print(\"Bad input! Try again.\");\n }\n } while (!areaValid || areaAsDouble < 0);\n \n //Confirm with user to make commitment to add order\n //Show what the user put in and have user input y/n/yes/no\n io.print(\"\");\n io.print(\"New Order Details You Gave:\");\n io.print(\"Customer name: \" + customerName);\n io.print(\"Order Date: \" + orderDateLD);\n io.print(\"State Location: \" + state);\n io.print(\"Product Material: \" + productType);\n io.print(\"Area: \" + areaAsDouble + \" sq ft\");\n \n do {\n io.print(\"\");\n confirm = io.readString(\"Commit to add order? (y/n):\");\n } while (confirm.equals(\"\") || (!confirm.equalsIgnoreCase(\"y\") && !confirm.equalsIgnoreCase(\"n\") && !confirm.equalsIgnoreCase(\"yes\") && !confirm.equalsIgnoreCase(\"no\")));\n \n Order currentOrder;\n \n if (confirm.equalsIgnoreCase(\"y\") || confirm.equalsIgnoreCase(\"yes\")) {\n //Make the new order with all fields put in\n currentOrder = new Order(orderNumber);\n \n currentOrder.setCustomerName(customerName);\n currentOrder.setOrderDate(orderDateLD);\n currentOrder.setState(state);\n currentOrder.setProductType(productType);\n currentOrder.setArea(areaAsDouble);\n } else {\n //Create an empty version of currentOrder to return\n //if \"n\" or \"no\" was inputted\n currentOrder = new Order(-1);\n }\n \n return currentOrder;\n }", "title": "" }, { "docid": "b95159cb62b195919b0b43f749758526", "score": "0.5661194", "text": "Order createNewOrder(Order confirmedOrder) throws FlooringPersistenceException;", "title": "" }, { "docid": "a14051102cb49107518ba6862e2f971d", "score": "0.5660152", "text": "void addRent (Rent rent);", "title": "" }, { "docid": "8bff39911b48fd8dd6ed3c09a5bb7e66", "score": "0.5657323", "text": "public void updateOrder() {\r\n throw new UnsupportedOperationException(\"Not supported yet.\");\r\n }", "title": "" }, { "docid": "1d4347f9c77e10713af30d8a26095bfd", "score": "0.56480664", "text": "public void addOrder(Order newOrder){\n orderList.add(newOrder); // if its an entirely new entry, then just add it to the orderList\n }", "title": "" }, { "docid": "9c92703da9584e5efbb20ca96241cbe1", "score": "0.5590006", "text": "void addNewLoyal(Order order) {\n order.getCafe().getCustomerRecord().add(order.getCustomer());\n }", "title": "" }, { "docid": "8c04c0c5482c5ba3553e7fb4272d8bd5", "score": "0.5581261", "text": "private void finishOrder( ) {\r\n\t\tString output = new String();\r\n\t\tString space = new String();\r\n\t\tdouble subtotal = newO.calculateSubTotal();\r\n\t\tdouble taxAmount = newO.calculateTax(subtotal);\r\n\t\tspace = \"\\n\\n\";\r\n\t\toutput = \"Date: \" + getDateTime(\"M/dd/yyyy hh:mm:ss z\");\r\n\t\toutput += space;\r\n\t\toutput += (\"Number of line Items: \" + (count - 1));\r\n\t\toutput += space;\r\n\t\toutput += (\"Item# / ID / Title / Price / Qty / Disc% / Subtotal\");\r\n\t\toutput += space;\r\n\t\tfor(int i = 1; i <= newO.transactions.size(); i++) {\r\n\t\t\t output += (i + \". \" + newO.transactions.get(i-1).getInfo() + \"\\n\");\r\n\t\t}\r\n\t\toutput += space;\r\n\t\toutput += (\"Order subtotal: \" + String.format(\"%.2f\", subtotal));\r\n\t\toutput += space;\r\n\t\toutput += (\"Tax Rate: \" + String.format(\"%.2f\", newO.taxRate * 100) + \"%\");\r\n\t\toutput += space;\r\n\t\toutput += (\"Tax amount: $\" + String.format(\"%.2f\", taxAmount));\r\n\t\toutput += space;\r\n\t\toutput += (\"Order Total: $\" + String.format(\"%.2f\", (subtotal + taxAmount)));\r\n\t\toutput += space;\r\n\t\toutput += \"Thanks for shopping at the Valas Bookstore!\";\r\n\t\tJOptionPane.showMessageDialog(frame, output);\r\n\t\tprintTransaction();\r\n\t}", "title": "" }, { "docid": "dc9dc26515009a51b6afe243cc2930ee", "score": "0.55811", "text": "public void employ(Person p) {\n this.employees.addLast(p);\n }", "title": "" }, { "docid": "4f3b1c30877e17c27139ef1751d2d725", "score": "0.55728894", "text": "CustomerOrder createNewCustomerOrder(CustomerOrder customerOrder);", "title": "" }, { "docid": "714503f1106a085323f2ad664b616d92", "score": "0.5558318", "text": "private void executeCreateOrder() {\n if(clientDAO.findByName(controller.getClientName()) == null) return;\n billCount++;\n Order order;\n order = getOrder();\n ItemOrder itemOrder = new ItemOrder();\n Product product = productDAO.findByProductName(controller.getProductName());\n int quantity = controller.getQuantity();\n if(quantity > product.getQuantity()) {\n underStockCount++;\n reportGenerator.generateUnderStock(\"understock\" + underStockCount + \".pdf\", product, quantity);\n orderDAO.delete(order);\n return;\n }\n order.setTotal(order.getTotal() + controller.getQuantity() * product.getPrice());\n orderDAO.update(order);\n itemOrder.setOrderId(order.getPrimaryKey());\n itemOrder.setProductId(product.getPrimaryKey());\n itemOrder.setQuantity(quantity);\n itemOrderDAO.insert(itemOrder);\n reportGenerator.generateBill(\"bill\" + billCount + \".pdf\", order, itemOrder);\n product.setQuantity(product.getQuantity() - quantity);\n productDAO.update(product);\n }", "title": "" }, { "docid": "2c9d3f00fc16aea0d13fc7229a541c85", "score": "0.55545974", "text": "private void editOrder() {\n String orderDate = view.getDate();\n String orderNum = view.enterOrderNum();\n\n Order orderRequested;\n try {\n orderRequested = service.getOneOrder(orderDate, orderNum);\n } catch (IOException ex) {\n view.printError(\"Order/file not found \" + ex);\n return;\n }\n \n Set stateKeys;\n Set productKeys;\n try {\n stateKeys = service.getStateCodes();\n productKeys = service.getProductNames();\n } catch(FileNotFoundException | InvalidStateException ex) {\n view.printError(\"File not found\" + ex);\n return;\n }\n \n Order orderEdited = view.editOrder(orderRequested, stateKeys, productKeys);\n\n //Updating taxRate\n try {\n BigDecimal taxRateUpdated = service.getTaxRate(orderEdited.getState());\n orderEdited.setTaxRate(taxRateUpdated);\n } catch (FileNotFoundException | InvalidStateException ex) {\n view.printError(\"State not found\" + ex);\n }\n\n //Updating material and labor costs\n try {\n ProductDetail productDetail = service.getProductDetail(orderEdited.getProductType());\n BigDecimal materialCostPerSquareFoot = productDetail.getMaterialCostPerSquareFoot();\n BigDecimal laborCostPerSquareFoot = productDetail.getLaborCostPerSquareFoot();\n\n orderEdited.setMaterialCostPerSquareFoot(materialCostPerSquareFoot);\n orderEdited.setLaborCostPerSquareFoot(laborCostPerSquareFoot);\n\n BigDecimal totalMaterialCostUpdated = service.getTotalMaterialCost(materialCostPerSquareFoot, orderEdited.getArea());\n BigDecimal totalLaborCostUpdated = service.getTotalLaborCost(laborCostPerSquareFoot, orderEdited.getArea());\n\n orderEdited.setTotalMaterialCost(totalMaterialCostUpdated);\n orderEdited.setTotalLaborCost(totalLaborCostUpdated);\n\n } catch (FileNotFoundException | InvalidProductNameException ex) {\n view.printError(\"Error retreiving product costs\" + ex);\n }\n\n BigDecimal totalTaxUpdated = service.getTotaltax(orderEdited.getTotalMaterialCost(), orderEdited.getTotalLaborCost(), orderEdited.getTaxRate());\n orderEdited.setTotalTax(totalTaxUpdated);\n\n BigDecimal orderTotalUpdated = service.getOrderTotal(orderEdited.getTotalMaterialCost(), orderEdited.getTotalLaborCost(), orderEdited.getTotalTax());\n orderEdited.setOrderTotal(orderTotalUpdated);\n\n try {\n service.editOrder(orderNum, orderDate, orderEdited);\n } catch (IOException ex) {\n view.printError(\"Error editing order\" + ex);\n }\n }", "title": "" }, { "docid": "a74f3eb62c1b445c4a72ba883ef533f2", "score": "0.5553665", "text": "public void setOrder(Order order){\n this.order = order;\n }", "title": "" }, { "docid": "202801460a77dd750d309efca9ab52c6", "score": "0.5538828", "text": "public Order editOrder(Order orderToEdit, List<Product> productList, List<Tax> taxList) {\n Order editedOrder = new Order(orderToEdit.getOrderNumber());\n editedOrder.setCustomerName(orderToEdit.getCustomerName());\n editedOrder.setOrderDate(orderToEdit.getOrderDate());\n editedOrder.setState(orderToEdit.getState());\n editedOrder.setProductType(orderToEdit.getProductType());\n editedOrder.setArea(orderToEdit.getArea());\n \n //Working variables\n String customerName = \"\";\n String orderDateString = \"\";\n LocalDate orderDateLD = LocalDate.now();\n boolean dateValid = false;\n String state = \"\";\n String productType = \"\";\n String areaAsString = null;\n double areaAsDouble = 0;\n boolean areaValid = false;\n \n io.print(\"\");\n io.print(\"** Instructions:\");\n io.print(\"** Press Enter to keep existing data or enter in new values.\");\n \n //Customer Name\n io.print(\"\");\n String string = io.readString(\"\");\n customerName = io.readString(\"Enter customer name (\" + orderToEdit.getCustomerName() + \"): \");\n if (!customerName.equals(\"\")) {\n editedOrder.setCustomerName(customerName);\n }\n \n //Order Date\n io.print(\"\");\n orderDateString = io.readString(\"Enter order date (\" + orderToEdit.getOrderDate() + \"): \");\n if (!orderDateString.equals(\"\")) {\n //Catch for bad input for the date (if user edits it)\n do {\n try {\n orderDateLD = LocalDate.parse(orderDateString, DateTimeFormatter.ISO_DATE);\n editedOrder.setOrderDate(orderDateLD);\n dateValid = true;\n \n } catch (DateTimeParseException e) {\n io.print(\"Bad input! Try again.\");\n io.print(\"\");\n orderDateString = io.readString(\"Enter order date (\" + orderToEdit.getOrderDate() + \"): \");\n if (orderDateString.equals(\"\")) {\n break;\n }\n }\n } while(!dateValid);\n }\n \n //US State (for tax purposes)\n io.print(\"\");\n io.print(\"Options for US states:\");\n for (Tax t : taxList) {\n io.print(t.getState());\n }\n state = io.readString(\"Enter state location (\" + orderToEdit.getState() + \"): \");\n if (!state.equals(\"\")) {\n //Catch for bad input for the state (if user edits it)\n while(state.length() != 2 || (!state.equalsIgnoreCase(\"OH\") && !state.equalsIgnoreCase(\"PA\") && !state.equalsIgnoreCase(\"MI\") && !state.equalsIgnoreCase(\"IN\"))) {\n state = io.readString(\"Enter state location (\" + orderToEdit.getState() + \"): \");\n }\n editedOrder.setState(state);\n }\n \n //Product Material Type\n io.print(\"\");\n io.print(\"Options for product materials:\");\n for (Product p : productList) {\n io.print(p.getProductType());\n }\n productType = io.readString(\"Enter material type (\" + orderToEdit.getProductType() + \"): \");\n if (!productType.equals(\"\")) {\n //Catch for bad input for the product type (if user edits it)\n while ((!productType.equalsIgnoreCase(\"Carpet\") && !productType.equalsIgnoreCase(\"Laminate\") && !productType.equalsIgnoreCase(\"Tile\") && !productType.equalsIgnoreCase(\"Wood\"))) {\n productType = io.readString(\"Enter material type (\" + orderToEdit.getProductType() + \"): \");\n }\n editedOrder.setProductType(productType);\n }\n \n //Area of product\n do {\n io.print(\"\");\n try {\n areaAsString = io.readString(\"Enter product area in sq ft (\" + orderToEdit.getArea() + \"): \");\n \n if (areaAsString.equals(\"\")) {\n break;\n }\n \n areaAsDouble = Double.valueOf(areaAsString);\n areaValid = true;\n \n if (areaAsDouble < 0) {\n io.print(\"Bad input! Try again.\");\n }\n } catch (NumberFormatException e) {\n io.print(\"Bad input! Try again.\");\n }\n } while (!areaValid || areaAsDouble < 0);\n \n io.print(\"\");\n io.print(\"*** Order successfully edited.\");\n \n return editedOrder;\n }", "title": "" }, { "docid": "35e1cdb08a84da70b4ca8536703a6ca6", "score": "0.55371934", "text": "public void addOrder(OrderModel order) {\n String key = order.getComment() + order.getMenu().getItemID();\n if (!mOrdersMap.containsKey(key)) {\n mOrdersMap.put(key, order);\n mOrderKey.add(key);\n } else {\n OrderModel orderModel = mOrdersMap.get(key);\n orderModel.addQuantity(order.getQuantity());\n mOrdersMap.put(key, orderModel);\n }\n updateBasketItemCount();\n\n showGenricDialog(this, \"Item has been added to the basket.\" +\n \" Please go to basket to confirm and submit your order\", \"Ok\", \"Go to Basket\",\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n dialogInterface.dismiss();\n }\n }, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n toBasket(null);\n }\n }\n );\n //Toast.makeText(TabActivity.this,\"Order Added to Basket\",Toast.LENGTH_LONG).show();\n getFragmentManager().popBackStack();\n /*toBasket(null);*/\n }", "title": "" }, { "docid": "40cc436fb5dee43573c1d5d4bc4dce6c", "score": "0.5535824", "text": "public static void updateFile(PeopleManager manager) throws IOException {\n FileWriter ordersWriter = new FileWriter(FILE_PATH + \"/.orders.txt\", false);\n for (Person person : manager.getEntireListOfPeople()) {\n String personName = person.getPersonName();\n int[] quantityPerFood = getQuantityPerFood(person);\n String quantityPerFoodInString = getQuantityPerFoodInString(quantityPerFood);\n String dataWritten = personName + quantityPerFoodInString + System.lineSeparator();\n ordersWriter.write(dataWritten);\n }\n ordersWriter.close();\n }", "title": "" }, { "docid": "c8895350ecf63bd1958e22c06d6317b2", "score": "0.55134785", "text": "void updateCustomerOrder(CustomerOrder customerOrder);", "title": "" }, { "docid": "89743ba7aae82c375cc8742b05a8a404", "score": "0.5508687", "text": "ApprovalStep addStepLast();", "title": "" }, { "docid": "dd585adad8ad8095c80e5b1cbdb5be18", "score": "0.5507707", "text": "void addOrder(Order order) throws DAOException;", "title": "" }, { "docid": "71598940bb09326a4811f098760933d7", "score": "0.5503091", "text": "public static void update(Order order) {\n }", "title": "" }, { "docid": "7f25bcd56954f226de1b168dd0ace7ab", "score": "0.5491", "text": "public Order addOrder(Order order) throws FlooringMasteryPersistenceException;", "title": "" }, { "docid": "37261416a3e7d55702eeca1ee2d70d53", "score": "0.54909843", "text": "public void file (OrderReceipt r) {\n\t\tMoneyMaker.add(r);\n\t\ttotalEarnings.set(totalEarnings.intValue()+r.Price);\n\t}", "title": "" }, { "docid": "508760e16ced389fa551d30b47dd73b7", "score": "0.54909146", "text": "public void saveRental(Rental rental) {\n rentals.add(rental);\n }", "title": "" }, { "docid": "c344a5444c54f3939402d691a1a47af3", "score": "0.54813325", "text": "Order updateOrder(Order updated) throws FlooringPersistenceException;", "title": "" }, { "docid": "9cd51ba0412205e62e46d01a7acbde8c", "score": "0.5470494", "text": "@Override\n\tpublic void addPizzasInOrders(Pizza p, int quantity) {\n\t\t\n\t}", "title": "" }, { "docid": "d667b80744850351deb74498c0210b46", "score": "0.54691046", "text": "public void doneWithOrder() {\n d_isDone = true;\n }", "title": "" }, { "docid": "7103637ccf9542757646e1cedd9bb7d6", "score": "0.5468225", "text": "public void editRestaurant(Scanner in, Sort a) {\r\n boolean run = true;\r\n System.out.println(\"What is the name of the restaurant: \");\r\n String name = in.nextLine();\r\n boolean edited = false;\r\n while (run != false) {\r\n for (Restaurant i : a.restList) {\r\n if (i.getName().equalsIgnoreCase(name) && i instanceof Delivery) {\r\n edited = true;\r\n dashes();\r\n System.out.println(\"What would you like to edit(type in the number):\");\r\n System.out.println(\"0.Previous Menu\");\r\n System.out.println(\"1.Longitude\");\r\n System.out.println(\"2.Latitude\");\r\n System.out.println(\"3.Delete Ratings\");\r\n System.out.println(\"4.Delete Reviews\");\r\n System.out.println(\"5.Delivery Base Fee\");\r\n System.out.println(\"6.Delivery Fare\");\r\n dashes();\r\n int answer;\r\n try {\r\n answer = Integer.parseInt(in.nextLine());\r\n if (answer > 6 || answer < 0) {\r\n System.out.println(\"Please type an integer from the following list\");\r\n }\r\n } catch (NumberFormatException e) {\r\n System.out.println(\"Please type an integer from the following list\");\r\n answer = 7;\r\n }\r\n switch (answer) {\r\n case 0:\r\n run = false;\r\n break;\r\n case 1:\r\n System.out.println(\"Type the new Longitude: \");\r\n int newLongitude = Integer.parseInt(in.nextLine());\r\n i.editLongitude(newLongitude);\r\n break;\r\n case 2:\r\n System.out.println(\"Type the new Latitude: \");\r\n int newLatitude = Integer.parseInt(in.nextLine());\r\n i.editLatitude(newLatitude);\r\n break;\r\n case 3:\r\n if (i.Rating() != 0) {\r\n System.out.println(i.getArrayRating());\r\n System.out.println(\"Which rating would you like to delete(type the index of the rating): \");\r\n int index = Integer.parseInt(in.nextLine());\r\n double newArrayRating[] = i.getArrayRating();\r\n for (int j = index; j < newArrayRating.length; j++) {\r\n newArrayRating[j] = newArrayRating[j + 1];\r\n }\r\n i.editRating(newArrayRating);\r\n } else {\r\n System.out.println(\"There are no ratings\");\r\n }\r\n break;\r\n case 4:\r\n if (!i.Reviews().equals(\"No reviews\")) {\r\n System.out.println(i.getReview());\r\n System.out.println(\"Which review would you like to delete(type the index of the review): \");\r\n int index2 = Integer.parseInt(in.nextLine());\r\n String newReview[] = i.getReview();\r\n for (int j = index2; j < newReview.length; j++) {\r\n newReview[j] = newReview[j + 1];\r\n }\r\n i.editReview(newReview);\r\n } else {\r\n System.out.println(\"There are no reviews\");\r\n }\r\n break;\r\n case 5:\r\n System.out.println(\"Type the new delivery base fee: \");\r\n double fee = Double.parseDouble(in.nextLine());\r\n ((Delivery) i).editDeliveryBaseFee(fee);\r\n break;\r\n case 6:\r\n System.out.println(\"Type the new delivery fare: \");\r\n double fare = Double.parseDouble(in.nextLine());\r\n ((Delivery) i).editDeliveryFare(fare);\r\n break;\r\n }\r\n } else if (i.getName().equalsIgnoreCase(name) && i instanceof TakeOut) {\r\n dashes();\r\n System.out.println(\"What would you like to edit(type in the number):\");\r\n System.out.println(\"0.Previous Menu\");\r\n System.out.println(\"1.Longitude\");\r\n System.out.println(\"2.Latitude\");\r\n System.out.println(\"3.Ratings\");\r\n System.out.println(\"4.Reviews\");\r\n System.out.println(\"5.Average cook time\");\r\n dashes();\r\n int answer;\r\n try {\r\n answer = Integer.parseInt(in.nextLine());\r\n if (answer > 5 || answer < 0) {\r\n System.out.println(\"Please type an integer from the following list\");\r\n }\r\n } catch (NumberFormatException e) {\r\n System.out.println(\"Please type an integer from the following list\");\r\n answer = 6;\r\n }\r\n switch (answer) {\r\n case 0:\r\n run = false;\r\n break;\r\n case 1:\r\n System.out.println(\"Type the new Longitude: \");\r\n int newLongitude = Integer.parseInt(in.nextLine());\r\n i.editLongitude(newLongitude);\r\n break;\r\n case 2:\r\n System.out.println(\"Type the new Latitude: \");\r\n int newLatitude = Integer.parseInt(in.nextLine());\r\n i.editLatitude(newLatitude);\r\n break;\r\n case 3:\r\n if (i.Rating() != 0) {\r\n System.out.println(i.getArrayRating());\r\n System.out.println(\"Which rating would you like to delete(type the index of the rating): \");\r\n int index = Integer.parseInt(in.nextLine());\r\n double newArrayRating[] = i.getArrayRating();\r\n for (int j = index; j < newArrayRating.length; j++) {\r\n newArrayRating[j] = newArrayRating[j + 1];\r\n }\r\n i.editRating(newArrayRating);\r\n } else {\r\n System.out.println(\"There are no ratings\");\r\n }\r\n break;\r\n case 4:\r\n if (!i.Reviews().equals(\"No reviews\")) {\r\n System.out.println(i.getReview());\r\n System.out.println(\"Which review would you like to delete(type the index of the review): \");\r\n int index2 = Integer.parseInt(in.nextLine());\r\n String newReview[] = i.getReview();\r\n for (int j = index2; j < newReview.length; j++) {\r\n newReview[j] = newReview[j + 1];\r\n }\r\n i.editReview(newReview);\r\n } else {\r\n System.out.println(\"There are no reviews\");\r\n }\r\n break;\r\n case 5:\r\n System.out.println(\"Type the new average cook time: \");\r\n double time = Double.parseDouble(in.nextLine());\r\n ((TakeOut) i).editAvgCookTime(time);\r\n break;\r\n }\r\n } else if (i.getName().equalsIgnoreCase(name) && i instanceof DineIn) {\r\n edited = true;\r\n dashes();\r\n System.out.println(\"What would you like to edit(type in the number):\");\r\n System.out.println(\"0.Previous Menu\");\r\n System.out.println(\"1.Longitude\");\r\n System.out.println(\"2.Latitude\");\r\n System.out.println(\"3.Ratings\");\r\n System.out.println(\"4.Reviews\");\r\n System.out.println(\"5.Time limit\");\r\n dashes();\r\n int answer;\r\n try {\r\n answer = Integer.parseInt(in.nextLine());\r\n if (answer > 5 || answer < 0) {\r\n System.out.println(\"Please type an integer from the following list\");\r\n }\r\n } catch (NumberFormatException e) {\r\n System.out.println(\"Please type an integer from the following list\");\r\n answer = 6;\r\n }\r\n switch (answer) {\r\n case 0:\r\n run = false;\r\n break;\r\n case 1:\r\n System.out.println(\"Type the new Longitude: \");\r\n int newLongitude = Integer.parseInt(in.nextLine());\r\n i.editLongitude(newLongitude);\r\n break;\r\n case 2:\r\n System.out.println(\"Type the new Latitude: \");\r\n int newLatitude = Integer.parseInt(in.nextLine());\r\n i.editLatitude(newLatitude);\r\n break;\r\n case 3:\r\n if (i.Rating() != 0) {\r\n System.out.println(i.getArrayRating());\r\n System.out.println(\"Which rating would you like to delete(type the index of the rating): \");\r\n int index = Integer.parseInt(in.nextLine());\r\n double newArrayRating[] = i.getArrayRating();\r\n for (int j = index; j < newArrayRating.length; j++) {\r\n newArrayRating[j] = newArrayRating[j + 1];\r\n }\r\n i.editRating(newArrayRating);\r\n } else {\r\n System.out.println(\"There are no ratings\");\r\n }\r\n break;\r\n case 4:\r\n if (!i.Reviews().equals(\"No reviews\")) {\r\n System.out.println(i.getReview());\r\n System.out.println(\"Which review would you like to delete(type the index of the review): \");\r\n int index2 = Integer.parseInt(in.nextLine());\r\n String newReview[] = i.getReview();\r\n for (int j = index2; j < newReview.length; j++) {\r\n newReview[j] = newReview[j + 1];\r\n }\r\n i.editReview(newReview);\r\n } else {\r\n System.out.println(\"There are no reviews\");\r\n }\r\n break;\r\n case 5:\r\n System.out.println(\"Type the new time limit: \");\r\n double limit = Double.parseDouble(in.nextLine());\r\n ((DineIn) i).editTimeLimit(limit);\r\n break;\r\n }\r\n\r\n }\r\n }\r\n }\r\n if (edited == false) {\r\n System.out.println(\"Sorry that restaurant doesn't exist.\");\r\n }\r\n\r\n }", "title": "" }, { "docid": "25c026a24a5baf327f7e42b80265870e", "score": "0.54501987", "text": "@Override\n public void finishReservation(int id_reserv)\n {\n Reservation reservation = reservationRepository.findById(id_reserv);\n reservation.setStatut(statutRepository.findByName(\"FINI\"));\n\n Topo topo = reservation.getTopo();\n topo.setDisponible(true);\n\n reservationRepository.save(reservation);\n topoRepository.save(topo);\n\n }", "title": "" }, { "docid": "deaee6daeaa98d488607661c30d73b8d", "score": "0.54477435", "text": "protected void botonPosterior() {\n\t\tTienda.productoEncontrado = Tienda.usuarioSeleccionado.getCarrito().get(++indiceProducto);\n\t\tbuscarYComprobarBotonera();\n\t}", "title": "" }, { "docid": "b3c764742f9c5cc416512d50189b04eb", "score": "0.5445225", "text": "public static void restaurantOrders(int numberFoodPrice,int[] foodsPrice,int numberOfOrder,int[] moneyToPayForOrder)\n {\n int[] foodsPriceColon = foodsPrice.clone();\n Arrays.sort(foodsPriceColon);\n int maxOrderPrice = Arrays.stream(moneyToPayForOrder).max().getAsInt();\n Item[] items = new Item[maxOrderPrice+1];\n for(int i = 0 ; i < maxOrderPrice+1; i++)\n items[i] = new Item();\n\n // if they order any food so there is no food so\n items[0].isWay = true;\n // we see for every item is there a way to reach to end\n\n for(int i = 0; i < numberFoodPrice;i++)\n {\n // for each item we check if there is way that we can find to reach that food in this way that\n // (index - foodPrice[i]) is select item if it was true so its a way to items[index] to be found\n\n for(int index = foodsPriceColon[i],baseFoodPrice = foodsPriceColon[i] ;index< maxOrderPrice+1;index++)\n {\n\n if(items[index - baseFoodPrice].isWay)\n {\n items[index].setItem(index - baseFoodPrice);\n }\n }\n }\n\n // if in the way of the answer one of way was -1 is ambiguous\n // if last item was false there is no way\n for(int i = 0; i < numberOfOrder;i++) {\n int order = moneyToPayForOrder[i];\n boolean isThereWay = true;\n ArrayList<Integer> wayToAnswer = new ArrayList<>();\n if (!items[order].isWay) {\n System.out.print(\"Impossible\");\n isThereWay = false;\n\n }\n\n for (int j = order; j != 0 && isThereWay; ) {\n if (items[j].isAmbiguous()) {\n isThereWay = false;\n System.out.print(\"Ambiguous\");\n continue;\n }\n wayToAnswer.add(findIndex(foodsPrice, j - items[j].prevItem) + 1);\n j= items[j].prevItem;\n }\n String text = \"\";\n Collections.sort(wayToAnswer);\n if (isThereWay) {\n StringBuilder builder = new StringBuilder();\n for (int j = 0 ; j< wayToAnswer.size() ; j++ ){\n\n\n builder.append(wayToAnswer.get(j));\n\n if (j != wayToAnswer.size() -1)\n builder.append(\" \");\n }\n text = builder.toString();\n\n\n }\n System.out.println(text);\n }\n\n\n\n\n\n\n }", "title": "" }, { "docid": "44413703c268cc74f99191582ce2b8b1", "score": "0.54362005", "text": "@FXML\n void addToOrderPress() throws IOException {\n OrderLine orderline = new OrderLine(Order.lineNumber + 1,sandwich,sandwich.price());\n order.add(orderline);\n pickSandwichType();\n if (stage.isShowing()) openOrders();\n }", "title": "" }, { "docid": "22a38f1447065e52bdbb5302bdf5fdc2", "score": "0.54287165", "text": "@Override\n public Long addFoodItem_OrderList(FoodOrderContext orderItemList) {\n\n Order order = orderRepo.findOrderById(orderItemList.getOrderId());\n Employee employee = employeeRepo.findEmployeeById(orderItemList.getEmployeeId());\n if(order == null ||employee == null)\n return 0L;\n for (ItemContext item: orderItemList.getItemList()) {\n\n FoodItem_Portion foodItem_portion = foodItem_portionService.getById(item.getFoodItemPortionId());\n\n FoodItem foodItem = foodItem_portion.getFoodItem();\n\n foodItem.setQuantity(foodItem.getQuantity() - (foodItem_portion.getPortion().getCalculate() * item.getQuantity()));\n\n\n FoodItem_Order foodItemOrder = new FoodItem_Order(order,foodItem_portion,item.getQuantity(),item.getPrice(),LocalDateTime.now(), employee);\n itemOrderRepo.save(foodItemOrder);\n itemRepo.save(foodItem);\n }\n\n return order.getId();\n }", "title": "" }, { "docid": "ad149123d2f35afc4345adf808700a53", "score": "0.5417391", "text": "public Object buyOrder (evsbsp.entities.Order order, IACT act) throws NotSupportedException {\n for (Customer customer : customers) {\n if (customer.getId () == customer.getId ()) {\n customer.addOrder (order);\n }\n }\n return null;\n }", "title": "" }, { "docid": "8ddea3c6d45a4466665a9084bf63f6f2", "score": "0.54109204", "text": "private static void markMealOrders(WarehouseManagerController controller,\n\t\t\tSortedSet<IStockOrder> orders) {\n\t\tSystem.out.println(\"Select one of the following:\\n\");\n\t\tint i = 0;\n\t\tfor (; i < orders.size(); i++) {\n\t\t\tSystem.out.println((i+1) + \". \" + orders.toArray()[i]);\n\t\t}\n\t\tSystem.out.println((++i) + \". Back\");\n\n\t\tint mealOrderID = readInt()-1;\n\t\tif (mealOrderID != i-1) {\n\t\t\tIStockOrder selectedOrder = (IStockOrder) orders.toArray()[mealOrderID];\n\t\t\tSystem.out.println(\"Please enter expiration date in the following format 'dd/MM/yyyy'\");\n\t\t\tTimeStamp expirationDate = readDate();\n\t\t\tcontroller.processArrivedOrder(selectedOrder,expirationDate);\n\t\t\tSystem.out.println(\"Stock items have been placed in the warehouse.\\n\");\n\t\t}\n\t}", "title": "" }, { "docid": "aa01d6fcdaed2accbee55fa32e4cbf45", "score": "0.54040176", "text": "public void increaseOrderNumber(UUID iD);", "title": "" }, { "docid": "d27adc0914de6e1ac0401dffb9e61464", "score": "0.53904057", "text": "public void addPizza(int orderId, Pizza newPizza) {\n\t\t\n\t}", "title": "" }, { "docid": "60771de794e0f69bbb4ef121c5096ac8", "score": "0.5382333", "text": "public void completeOrder(OrderDTO orderDTO) {\n\t\torderDTO.getTableDTO().setOrderDTO(null);\r\n\t\tsaveTableOrder(orderDTO.getTableDTO());\r\n\t\tmodel.completeOrder(orderDTO);\r\n\t}", "title": "" }, { "docid": "b1f4582d4f16dddb7300d7b3215ce519", "score": "0.53748924", "text": "void goToOrder();", "title": "" }, { "docid": "e7a7b208d961955260aa7ac9ba47a28e", "score": "0.53742", "text": "public void finishOrder(){\n String tmp = \"\";\n\n //EST time-zone\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd/MM/yyyy HH:mm:ss z\");\n dateFormat.setTimeZone(TimeZone.getTimeZone(\"EST\"));\n\n //adding date\n Date date = new Date();\n tmp += \"Date: \" + dateFormat.format(date) + \"\\n\\n\";\n\n // number of items added to the order\n tmp += \"Numbers of line items: \" + processed + \"\\n\\n\";\n\n // adding cart items\n tmp += \"Item# / ID / Title / Price / QTY / Disc % / Subtotal\\n\\n\";\n for(String item: cart){\n tmp += item + \"\\n\";\n }\n\n //sub total amount\n tmp += \"\\n\\nOrder subtotal: \" + df.format(subTotal) + \"\\n\\n\";\n\n //tax rate is hard-coded, this probably won't work IRL\n tmp += \"Tax rate: 6%\\n\\n\";\n\n //adding tax amount\n double tax = subTotal * 0.06;\n tmp += \"Tax amount: \" + df.format(tax) + \"\\n\\n\";\n\n //adding total\n double total = tax + subTotal;\n tmp += \"Order Total: \" + df.format(total) + \"\\n\\n\";\n\n //giving final message as a alert\n tmp += \"Thank you for shopping at the Ye Olde Book Shoppe!\";\n\n writeToFile();\n JOptionPane.showMessageDialog(null, tmp);\n }", "title": "" }, { "docid": "9afdb7404f36408ab626a50917e6ae5e", "score": "0.5371745", "text": "@Override\r\n public Integer addOrderWithPermAddress(Integer addressId, Integer paymentId, Integer userId, ArrayList<ItemQuantity> itemQuantities,\r\n double bill, Integer couponId, double discount) {\r\n\r\n\r\n if(couponId==null ){\r\n couponId =1;\r\n }\r\n orderRepository.saveOrder(couponId, discount, bill, userId, paymentId, addressId);\r\n Integer orderId = orderRepository.findLatestOrderId();\r\n\r\n for (ItemQuantity itemQuantity: itemQuantities) {\r\n\r\n Item item = itemRepository.findItemById (itemQuantity.getItemId());\r\n double totalPrice = item.getPrice() * itemQuantity.getQuantity();\r\n orderRepository.saveOrderItem(orderId, itemQuantity.getItemId(), itemQuantity.getQuantity(), totalPrice);\r\n }\r\n\r\n return orderId;\r\n }", "title": "" }, { "docid": "b8211a03b5f4fa939cb8890983a661d0", "score": "0.53680634", "text": "OperaResult add2(OrderParamBean bean);", "title": "" }, { "docid": "ac1d3c48d8efb5dc70884f59f57f5e41", "score": "0.5360914", "text": "@Override\r\n\tpublic void update(OrderPO po) throws RemoteException {\n\t\t\r\n\t}", "title": "" }, { "docid": "6327bb54142ad7390bdda273265d6335", "score": "0.5354056", "text": "@Override\n\tpublic void completeOrder(Order order) throws BusinessException{\n\t\tlog.info(\"completeOrder(Order order) - OrderServiceImpl - OrderViewService\");\n\t\torder.setCompleted(true);\n\t\torderRepository.save(order);\n\t}", "title": "" }, { "docid": "c965f64585f0452348a111f926abc000", "score": "0.53501827", "text": "public void ModificaOrdine() {\n\t\treturn;\n\t}", "title": "" }, { "docid": "a2507fe187cc5d5225b48ff6112cfb1c", "score": "0.53431237", "text": "@Transactional\n public Order addOrder(OrderForm form) {\n LOG.info(\"RepairTypeName: \" + form.getRepairTypeName());\n LOG.info(\"in addOrder method\");\n User user = userService.getCurrentUser();\n LOG.info(\"Current user: \" + user);\n RepairType repairType = repairTypeRepo.findByTitle(form.getRepairTypeName());\n LOG.info(\"RepairType: \" + repairType);\n Order order = orderRepo.save(new Order(LocalDate.now(), repairType, user, Status.NEW));\n LOG.info(\"Save order: \" + order);\n return order;\n }", "title": "" }, { "docid": "37739cff8c22f8204abbd7cec2eed6f8", "score": "0.53374386", "text": "private void editOrder() throws\n OrderDateNotFoundException,\n OrderNumberNotFoundException,\n PersistenceException {\n LocalDate usersDate = myView.getUsersDate(); //Gets the date from the user \n int usersOrderNumber = myView.getUsersOrderNumber();//Gets the order number from the user\n\n //Add checkIfOrderDateExists method below:\n //Returns the list or an exception gets thrown:\n Order validatedOrder = myService.checkIfOrderNumberExists(usersDate, usersOrderNumber).get(0); //THis auto checks the order method first\n\n Order currentOrder = null;\n\n try {\n do {\n currentOrder = myView.setUsersOrderForEditing(validatedOrder); //maybe?\n } while (!validateOrderData(currentOrder));\n } catch (DataValidationException e) {\n myView.displayMessage(e.getMessage());\n\n }\n\n myView.displayCurrentOrder(currentOrder);\n //Call Service method to validate correct big data format is inputted\n //Or have it in the UserIO to validate correct big data format is inputted\n\n myView.displayEditedSuccessfullyBanner();\n }", "title": "" }, { "docid": "787f852330f31a01b3686c03778b02a1", "score": "0.5318277", "text": "boolean addOrders(String id, String ords);", "title": "" }, { "docid": "444b0a77aa80d7e9480f82346ad05d94", "score": "0.53177035", "text": "public void create(Order user) {\n logger.info(\"> create new order\");\n System.out.println(user.getOrderNumber());\n System.out.println(user.getCreated());\n Farmer petani = findFarmer(user);\n user.setFarmer(petani);\n entityManager.persist(user);\n logger.info(\"< create new order \");\n return;\n }", "title": "" }, { "docid": "87bbb132dcfd6fc26a5e4631c6bec3a7", "score": "0.5313238", "text": "@Override\n\tpublic void msgDeliverOrder(RestaurantOrder o) {\n\t\t\n\t}", "title": "" }, { "docid": "18276abe0723f2fa6df0f88de16a2f38", "score": "0.53058654", "text": "CustomerOrder addToOrderDetails(CustomerOrder customerOrder, Iterable<Long> orderDetailsToAdd);", "title": "" }, { "docid": "c11df4ce84e959b356579bb2a21530bf", "score": "0.5305518", "text": "public void editOrder() throws IOException {\n ArrayList<Order> OrderList = db.readOrderFromFile();\r\n ArrayList<Order> OrderDB = db.OrderDatabase(OrderList);\r\n System.out.print(\"\\n\");\r\n for (int i = 0; i < OrderDB.size(); i++ ) {\r\n System.out.println(\"OrderID: \" + OrderDB.get(i).getOrderID() + \", Name: \" + OrderDB.get(i).getFm() + \", Status:\" + OrderDB.get(i).getStatus());\r\n }\r\n System.out.print(\"\\nOrder ID: \");\r\n int tempUserID = input.nextInt(); //input 4\r\n //int tempODBSize = OrderDB.size()-1;\r\n //System.out.print(\"\\ntempODBSize= \" + tempODBSize + \" \");\r\n\r\n if (tempUserID == ArrayListOrderFinder(tempUserID)){\r\n System.out.print(\"Update Status: \");\r\n int tempStatus = input.nextInt();\r\n OrderDB.get(tempUserID).setStatus(tempStatus);\r\n db.saveOrderToFile(OrderList);\r\n System.out.println(\"\\nUpdated Status: \\n\");\r\n for (int i = 0; i < OrderDB.size(); i++ ) {\r\n System.out.println(\"OrderID: \" + OrderDB.get(i).getOrderID() + \", Name: \" + OrderDB.get(i).getFm() + \", Status:\" + OrderDB.get(i).getStatus());\r\n }\r\n } else {\r\n System.out.println(\"Error!\");\r\n }\r\n }", "title": "" }, { "docid": "e130c28cb6ea00fa9c48e658d2d92037", "score": "0.5302529", "text": "public void placeOrder(Order order) {\n\t\tif (validateServices(order.getServicesList(), order) != 0) {\n\t\t\tthrow new IllegalStateException();\n\t\t}\n\t\tSet<ServiceProvider> providersInThisOrder = new HashSet<>();\n\t\tfor (Item i : order.getItems()) {// ADD ALL CODE TO VALIDATE SERVICE\n\t\t\tif (i instanceof Service) {\n\t\t\t\tint counter = 0;\n\t\t\t\t// while (counter <= order.getQuantity(i)) {\n\t\t\t\tfor (ServiceProvider server : this.serveToServer.get(i)) {\n\t\t\t\t\tif (counter <= order.getQuantity(i)) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tserver.assignToCustomer();\n\t\t\t\t\t\t\tthis.serviceProviderUses.put(server, 0);\n\t\t\t\t\t\t\tcounter++;\n\t\t\t\t\t\t\tprovidersInThisOrder.add(server);\n\t\t\t\t\t\t} catch (IllegalStateException e) {\n\t\t\t\t\t\t\tthrow new IllegalStateException();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// }\n\t\t\t} else { // IF PRODUCT DO BELOW\n\t\t\t\tif (!this.warehouse.isRestockable(i.getItemNumber())) {\n\t\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t\t}\n\t\t\t\tif (validateProducts(order.getProductsList(), order) == 0) {\n\t\t\t\t\tthis.warehouse.restock(i.getItemNumber(), order.getQuantity(i));\n\t\t\t\t\tthis.warehouse.fulfill(i.getItemNumber(), order.getQuantity(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// PLACE ORDER\n\t\torder.setCompleted(true);\n\t\tfor (ServiceProvider server : this.serviceProviderUses.keySet()) {\n\t\t\tif (!providersInThisOrder.contains(server)) {\n\t\t\t\tthis.serviceProviderUses.replace(server, this.serviceProviderUses.get(server) + 1);\n\t\t\t\tif (this.serviceProviderUses.get(server) == 3) {\n\t\t\t\t\tserver.endCustomerEngagement();\n\t\t\t\t\tthis.serviceProviderUses.put(server, -1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c331411113ee095a77d7bc051bfa7238", "score": "0.5302392", "text": "@Override\n public void update(Order currentOrder) {\n remove(currentOrder.getId());\n // Insert Order with the same ID.\n insertOrderWithId(currentOrder);\n insertLineItemsOfOrder(currentOrder);\n }", "title": "" }, { "docid": "c0d78925f7c7f6b3baf035b3e1f697b8", "score": "0.5297649", "text": "@Test\n public void whenAddReproductFoodWithDateThenMoveFootInReproduct() {\n ReproductFood bones = new Bones(\"name!\", 36, LocalDate.now().minusDays(1), LocalDate.now().plusDays(8), 0, true);\n ExtControlQuality controlQuality = new ExtControlQuality();\n controlQuality.fillStore();\n controlQuality.fillReproductStore();\n controlQuality.executeReproductStrategy(bones);\n assertThat(controlQuality.getStoreRep().size(), is(1));\n }", "title": "" }, { "docid": "05211c45641c3f49a895b660a49c82a3", "score": "0.52890265", "text": "@Override\r\n\tpublic void save(ProductDTO order) throws Exception {\n\t\t\r\n\t}", "title": "" }, { "docid": "47d00c44671840dd40cbf4ab7b6252c4", "score": "0.52823204", "text": "public void EffettuazioneOrdine() {\n\t\treturn;\n\t}", "title": "" }, { "docid": "11d683c70b99d4eed057a3af15961cfe", "score": "0.52817655", "text": "@Override\n\tpublic void addRent(Rent rent) {\n\t\tsessionFactory.getCurrentSession().save(rent);\n\t}", "title": "" }, { "docid": "f36d9a672a065bd4488edd193318baa9", "score": "0.52812594", "text": "@FXML\n\tpublic void submitButtonClick(ActionEvent event) {\n\t\tDate dateCreated= new Date(); \n\t\tArrayList <Item> itemList2 = new ArrayList<>();\n\t\tfor (int i = 0; i < this.getList().size(); i++) {\n\t\t\titemList2.add(this.getList().get(i));\n\t\t\t\n\t\t}\n\t\n\t\t//adding one to the ID so the ID is unique for everyone\n\t\tid++;\n\t\tint x = Integer.parseInt(xField.getText());\n\t\tint y = Integer.parseInt(yField.getText());\n\n\t\t//creating ad which represents an x,y coordinate\n\t\taddress ad = new address(x,y);\n\n\t\tCustomer person = new Customer(id, nameField.getText(), ad, this);\n\t\torder.add(new Order(itemList2, person, dateCreated, this));\n\n\t\tfor (int i = 0; i < this.getOrder().size(); i++) {\n\t\t\tSystem.out.println(this.getOrder().get(i).toString());\t\n\t\t\t\n\t}\n\t\n\n}", "title": "" }, { "docid": "77fcc7be304a74a69341c93d0a6ff59e", "score": "0.5267921", "text": "@Override\n\tpublic int EditOrder(Employee u) {\n\t\treturn employeeMapper.updateByPrimaryKeySelective(u);\n\t}", "title": "" }, { "docid": "f3be03b97f421d92eec572f40abd778b", "score": "0.5265814", "text": "@Override\n public long addRestaurant(Restaurant restaurant) {\n database = dbHelper.getWritableDatabase();\n values = new ContentValues();\n values.put(DBHelper.COLNUM_RNAME, restaurant.getName());\n values.put(DBHelper.COLNUM_RADDRESS, restaurant.getAddress());\n values.put(DBHelper.COLNUM_RDESCRIPTION, restaurant.getDescription());\n values.put(DBHelper.COLNUM_RCONTACT,restaurant.getContact());\n values.put(DBHelper.COLNUM_RTYPE, String.valueOf(restaurant.getType()));\n long id = database.insert(DBHelper.TABLE_RESTAURANT_NAME, null, values);\n database.close();\n return id;\n }", "title": "" }, { "docid": "e942e61af4e1cf4f54dea324237a015f", "score": "0.52624154", "text": "@Override\n\t\tpublic void endToDo() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "ca7b0404c10a6a188c26a83a06d10f93", "score": "0.52615356", "text": "public void saveOrUpdateOrder(OrderDTO orderDTO) {\n\t\tif (orderDTO.getId() == null) {\r\n\t\t\tmodel.createOrder(orderDTO);\r\n\t\t\tsaveTableOrder(orderDTO.getTableDTO());\r\n\t\t} else {\r\n\t\t\tmodel.saveOrderItems(orderDTO);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "bfdfcdc90ab30aee145b63591e527180", "score": "0.5257051", "text": "public void testCompleteOrder() throws AssertException \n\t{\n\t\tstack = new StackRestaurant<String>();\n\t\t//TODO: implement this\n\t}", "title": "" }, { "docid": "0261a4e7557357fcd45067bd243aab49", "score": "0.5256091", "text": "private void callIntentServiceToAdd() {\n String placeCoords = mPlace.mLat + \",\" + mPlace.mLng;\n Place prevPlace = touristPlaces.getPreviousAdd(mPlace);\n String prevCoords = \"\", prevName = \"\";\n if(prevPlace == null) {\n prevCoords = touristPlaces.getStartAddress();\n prevName = touristPlaces.getStartAddress();\n }\n else {\n prevCoords = prevPlace.mLat + \",\" + prevPlace.mLng;\n prevName = prevPlace.mPlaceName;\n }\n\n RouteIntentService.startAction(context, touristPlaces,\n prevCoords , prevName\n , placeCoords, mPlace.mPlaceName);\n\n Place nextPlace = touristPlaces.getNextAddress(mPlace);\n String nextCoords = \"\", nextAddress = \"\";\n if(nextPlace == null) {\n nextCoords = touristPlaces.getEndAddress();\n nextAddress = touristPlaces.getEndAddress();\n }\n else {\n nextCoords = nextPlace.mLat + \",\" + nextPlace.mLng;\n nextAddress = nextPlace.mPlaceName;\n }\n RouteIntentService.endAction(context,\n placeCoords, mPlace.mPlaceName,\n nextCoords, nextAddress, mPlace.duration);\n }", "title": "" }, { "docid": "2d01b73ad884352eedfe01a12a6e2014", "score": "0.5254747", "text": "@Override\n\tpublic void addOrder(Object data) {\n\t\t\n\t}", "title": "" }, { "docid": "c023600e7e293db5592527f1b4a9e96b", "score": "0.525186", "text": "public void setOrder(Order order) {\r\n\t\tthis.order= order;\r\n\t}", "title": "" }, { "docid": "8e7d918e94984291a53327093a2b83a9", "score": "0.52440137", "text": "public void saveOrder(SilverBarOrder newOrder) {\n\t\torders.put(newOrder.getOrderId(), newOrder);\n\t}", "title": "" }, { "docid": "b7dea359739247133a8bbaf4ec6f1631", "score": "0.52383363", "text": "public void setOrder(long order) {\n this.order = order;\n }", "title": "" }, { "docid": "44f4d64c5aba535e8e5b2a4bee436552", "score": "0.5237397", "text": "public void addDeal(){\r\n\t\tthis.number_deals = this.number_deals +1;\r\n\t}", "title": "" }, { "docid": "46ff4425bfd249cf04964694596bd794", "score": "0.5236448", "text": "public void addLast(ILimitOrder limitOrder);", "title": "" }, { "docid": "866ed300683b0be4314a5f571afcf26f", "score": "0.52344334", "text": "public void addToOrder(Food food, int quantity) {\n if (this.order.containsKey(food)) {\n Integer existingQty = this.order.get(food);\n this.order.put(food, Integer.sum(existingQty, Integer.valueOf(quantity)));\n } else {\n this.order.put(food, Integer.valueOf(quantity));\n }\n }", "title": "" }, { "docid": "e90e5ed2fa001e8f4155fad362ec76b7", "score": "0.5233885", "text": "private static void markPlasterOrders(WarehouseManagerController controller,\n\t\t\tSortedSet<IStockOrder> orders) {\n\t\tSystem.out.println(\"Select one of the following:\\n\");\n\t\tint i = 0;\n\t\tfor (; i < orders.size(); i++) {\n\t\t\tSystem.out.println((i + 1) + \". \" + orders.toArray()[i]);\n\t\t}\n\t\tSystem.out.println((++i) + \". Back\");\n\n\t\tint plasterOrderID = readInt()-1;\n\t\tif (plasterOrderID != i-1) {\n\t\t\tIStockOrder selectedOrder = (IStockOrder) orders.toArray()[plasterOrderID];\n\t\t\tcontroller.processArrivedOrder(selectedOrder,null);\n\t\t\tSystem.out.println(\"Stock items have been placed in the warehouse.\\n\");\n\t\t}\n\t}", "title": "" }, { "docid": "e2a10772ad222cf58a0630d3f38eb0ec", "score": "0.5230484", "text": "void createOrder(Order order) throws ShopException;", "title": "" }, { "docid": "0e9e1d981228f5222c1fc1d11cb2d284", "score": "0.52258027", "text": "com.cdiscount.www.Address addNewSellerAddress();", "title": "" }, { "docid": "9cf07faba09af5a8c9cd432786cae341", "score": "0.52252156", "text": "@Override\n public Order editOrder(Order order) throws FlooringPersistenceException {\n return null;\n }", "title": "" }, { "docid": "e03b3e0c0187b249fbaae91ce8caec57", "score": "0.52176774", "text": "private void ship(Integer orderID)\n {\n\t\tSystem.out.println(\"DEBUG: Belt, Finished Order # \" + orderID);\n shippedOrdersList.add(orderID);\n }", "title": "" }, { "docid": "ebbeebdb90e5a6e0d27b45718311fa9d", "score": "0.5213131", "text": "public void setOrder(int order) {\n this.order = order;\n }", "title": "" } ]
244ce3e2f0c055cf717aec429de2ad35
initialize new public roscore with parsed address
[ { "docid": "4b5e9fa53b8430c07db1847e88ab9814", "score": "0.0", "text": "@Override\n\tpublic void start() {\n\t\tif(myUri==null){\n\t\t\trosCore = RosCore.newPublic();\n\t\t}else{\n\t\t\trosCore = RosCore.newPublic(myUri.getHost(),myUri.getPort());\n\t\t}\n\t\trosCore.start();\n\n\t\t// wait for start..\n\t\ttry {\n\t\t\tassertTrue(rosCore.awaitStart(2, TimeUnit.SECONDS));\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t\tthis.running = false;\n\t\t\tSL.serrl(me+\"Could not start ros core on address: \"+\n\t\t\t\t\tmyUri.getHost()+\" \"+myUri.getPort()+\" exiting..\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tmyUri = rosCore.getUri();\n\t\t\n\t\trunning=true;\n\t\t\n\t\tSL.sinfol(me+\"Server successfully launched on address: \"+\n\t\t\t\t\tmyUri.getHost()+\" \"+myUri.getPort()+\".\");\n\t}", "title": "" } ]
[ { "docid": "4a28d1197663a5853500b54d241b872a", "score": "0.60268044", "text": "public Address() {\n\t\t\n\t}", "title": "" }, { "docid": "a8adcdc376811fe7e0e970f2feef99dc", "score": "0.59493095", "text": "public Waypoint(String address) {\n data = address;\n }", "title": "" }, { "docid": "ae48f6540197d5bc78f9f6ebbdcfe799", "score": "0.5948968", "text": "public Address() {}", "title": "" }, { "docid": "b5ac81383ac8e76ebb1352def5234b50", "score": "0.5923102", "text": "public Address() {\n\n\t}", "title": "" }, { "docid": "ee91104225b913a141c57b2c09459e11", "score": "0.5873762", "text": "public Address(){}", "title": "" }, { "docid": "96ca856380fbd10071fe04e7d49c568d", "score": "0.5828577", "text": "public OpinionScore2(int addr, TOP_Type type) {\n super(addr, type);\n readObject();\n }", "title": "" }, { "docid": "ccce5c0b597b03468043dd21e72790df", "score": "0.5774571", "text": "public Address()\r\n\t{\r\n\t\tthis.street = \"1234 ONE WAY NO WAY\";\r\n\t\tthis.city = \"SOME TOWN\";\r\n\t\tthis.state = \"ZZ\";\r\n\t\tthis.county = \"SOME COUNTY\";\r\n\t\tthis.ZIP = \"12345\";\r\n\t\tthis.aptNum = null;\r\n\t\tthis.country = \"THE STATES\";\r\n\t}", "title": "" }, { "docid": "0a82eec7775d070a01e8ce4f98a72348", "score": "0.5713168", "text": "public Address() {\n }", "title": "" }, { "docid": "69feb038d98521dc93581758bbb4fd6b", "score": "0.5709354", "text": "public A61Persona() {\n }", "title": "" }, { "docid": "84b3136b87e93c18804745144fdbf224", "score": "0.56658", "text": "public Address()\n {\n }", "title": "" }, { "docid": "84b3136b87e93c18804745144fdbf224", "score": "0.56658", "text": "public Address()\n {\n }", "title": "" }, { "docid": "6c6d752d367e5dfab5c8e88f1b7fc526", "score": "0.5562215", "text": "public Address() {\n streetAddress = \"\";\n city = \"\";\n state = \"\";\n zipCode = \"\";\n }", "title": "" }, { "docid": "2d06261fa3a7813d83fa6c5f006f1a63", "score": "0.5519134", "text": "public Address()\n\t{\n\t\tcity = \"?\";\n\t\tstate = \"?\";\n\t}", "title": "" }, { "docid": "58fa78efd28d911d9e46c1581d563e17", "score": "0.548022", "text": "public Address() {\n\t\tthis(Address.CITYNAME, Address.DISTRICNAME, Address.STREETNAME);\n\t}", "title": "" }, { "docid": "d97e2ebc90fe20ef4ce263ad0c45196e", "score": "0.5430785", "text": "public AddressResource()\r\n {\r\n gson = new GsonBuilder().setPrettyPrinting().create();\r\n af = new AddressFacade();\r\n }", "title": "" }, { "docid": "78ad43fdd1ab20fd038bae4bd585c283", "score": "0.536855", "text": "public AddressPostalCode() {}", "title": "" }, { "docid": "a43533aa075423a1363288464fdd2cc2", "score": "0.5356223", "text": "public Road(String[] roadInfo) {\n for (Location l : ACOPathfinder.locations) {\n if (roadInfo[0].equals(l.name)) loc1 = l;\n if (roadInfo[1].equals(l.name)) loc2 = l;\n }\n distance = Integer.parseInt(roadInfo[2]);\n roadQuality = Integer.parseInt(roadInfo[3]);\n riskLevel = Integer.parseInt(roadInfo[4]);\n pheromone = 15.0;\n }", "title": "" }, { "docid": "b044f6e04d6ef199905ba5056f9e5bc8", "score": "0.53044045", "text": "public Address() {\n validFrom = \"2021-01-01\";\n validTo = \"2021-12-31\";\n }", "title": "" }, { "docid": "1d588d36ec0e8d02baa19e7df1602cdc", "score": "0.5286737", "text": "public Address(String address)\n {\n if (address.length() != ADDRESS_STRING_SIZE)\n throw new IllegalArgumentException(\"Invalid address string format. The address must be 50 chars long.\");\n\n if (!address.startsWith(\"0x\"))\n throw new IllegalArgumentException(\"Invalid address string format. The address must start with 0x.\");\n\n byte[] data = Convert.hexStringToByteArray(address.substring(2));\n\n boolean isValid = isChecksumValid(data);\n\n if (!isValid)\n throw new IllegalArgumentException(\"Invalid address, Checksum did not match.\");\n\n m_address = data;\n }", "title": "" }, { "docid": "1ed18b7c100e196a47d2b8c0287365e1", "score": "0.5261495", "text": "public Address(){\n\n\t\t\tstreetName = town = province = \"\";\n\t\t\tstreetNum = 0;\n\t\t\tzip.setZip(\"\");\n\t\t}", "title": "" }, { "docid": "0d628493ed458aaa537b2ed98b1b9fd3", "score": "0.52508056", "text": "public DefaultAddress(Address address) {\r\n\t\tsetFormatted(address.getFormatted());\r\n\t\tsetStreetAddress(address.getStreetAddress());\r\n\t\tsetLocality(address.getLocality());\r\n\t\tsetRegion(address.getRegion());\r\n\t\tsetPostalCode(address.getPostalCode());\r\n\t\tsetCountry(address.getCountry());\r\n\t}", "title": "" }, { "docid": "e9f931692bdde056fc5732bba446a9e8", "score": "0.52287126", "text": "public Address(Address original) {\n this(original.validFrom, original.validTo);\n }", "title": "" }, { "docid": "ba6874e68832cb050093db742460bcb2", "score": "0.5226881", "text": "NetworkAddress(int address_) {\n address = address_;\n }", "title": "" }, { "docid": "aff1ad0a7baad97b8ad23819dfca82d4", "score": "0.5205918", "text": "void createAddress(final Address address);", "title": "" }, { "docid": "6cd28897db6adcd8d1daa7db102b2e55", "score": "0.5197525", "text": "public static Address standard()\n {\n return new Address(\"1000 Apple Tree Lane\");\n }", "title": "" }, { "docid": "bfc038f5bdb96edfd9f43b7c3e3d684f", "score": "0.5176688", "text": "private RPS()\r\n\t{;}", "title": "" }, { "docid": "28e7a72d2351c838e2b9ba3cec9dea73", "score": "0.51659584", "text": "void newPeer(String address);", "title": "" }, { "docid": "008f1a8dc11384e7debbca418978e25f", "score": "0.5164644", "text": "@Override\r\n\tpublic void init() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tscore = ScoreSystem.getInstance().getLatestScore();\r\n\t}", "title": "" }, { "docid": "fd12a9cc52a84485bdaeb49dfe8e034f", "score": "0.51640666", "text": "public ParkingLot(int id, double latitude, double longitude, String address, String rate) {\n mCoordinate = new LatLongCoordinate(latitude, longitude);\n mAddress = address;\n mId = id;\n mRate = rate;\n }", "title": "" }, { "docid": "525817c2aafe1222de4b12c99f76adc7", "score": "0.51431894", "text": "Adresse createAdresse();", "title": "" }, { "docid": "875d765cc02a6b867650ccbaba684935", "score": "0.513045", "text": "public Relay(String address) {\n this.address = address;\n }", "title": "" }, { "docid": "d875085ca35f3931e784dcdecc35c288", "score": "0.51291686", "text": "public AnswerScoring(int addr, TOP_Type type) {\n super(addr, type);\n readObject();\n }", "title": "" }, { "docid": "d6e569d1403eafe18407e6d92b639403", "score": "0.51137054", "text": "public Node(String ip,String rtt){\n \t_ip = ip;\n _rtt = rtt;\n }", "title": "" }, { "docid": "a27165cd439a0e4be4ee516e0cf7c254", "score": "0.510252", "text": "AddressStructure createAddressStructure();", "title": "" }, { "docid": "b0c6c9f86f597dff31ce271610045e6e", "score": "0.5086441", "text": "public NewAddressBook() {}", "title": "" }, { "docid": "f8bb40e7fb67618932773ea41e7c65d9", "score": "0.50860375", "text": "private void init() {\n mySchool = new School(\"UBC\");\n }", "title": "" }, { "docid": "8575b12156fbd408d7c70cbbd78ba823", "score": "0.507864", "text": "private Parser() {\r\n try {\r\n BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(\"road_names.txt\"), \"LATIN1\"));\r\n StringBuilder sb = new StringBuilder();\r\n String line = br.readLine();\r\n\r\n while (line != null) {\r\n rawAddressList.add(line);\r\n cleanAddressList.add(cleanString(line));\r\n line = br.readLine();\r\n }\r\n br.close();\r\n Collections.sort(rawAddressList);\r\n Collections.sort(cleanAddressList);\r\n\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "ca9e76d188cb811c75a5141e8a26d9b6", "score": "0.5077945", "text": "public Geolocation(){\n myAddress = null;\n latLng = null;\n }", "title": "" }, { "docid": "551806454f3ea38e0b1e3aa4e8de8730", "score": "0.50738883", "text": "private ShippingAddressMapper() {\n }", "title": "" }, { "docid": "7180e0d8bbce7857413c05795741a1cd", "score": "0.50652236", "text": "public GeierleoGeierle() {\r\n\t}", "title": "" }, { "docid": "c3f604998cfc488e9cf3aaff72fee09b", "score": "0.5051227", "text": "RIPEntry(InetAddress ipaddress, InetAddress subnetMask, InetAddress nextHop, int metric){\n AddressFamilyIdentifier = convertToBytes(2,2);\n RouteTag = convertToBytes(0,2);\n IPaddress = ipaddress.getAddress();\n SubnetMask = subnetMask.getAddress();\n NextHop = nextHop.getAddress();\n Metric = convertToBytes(metric,4);\n }", "title": "" }, { "docid": "0f7cdf7e7d99cbf9dcfebd4ab061e012", "score": "0.5050003", "text": "public Prospector(int street, int avenue, Direction direction, int beepers)\n {\n super(street, avenue, direction, beepers);\n }", "title": "" }, { "docid": "68a0bb4c38b6547b8339801ca30b7daa", "score": "0.504524", "text": "@Override\n\tpublic function initFromString(String s) \n\t{\n\t\tPolynom p1 = new Polynom();\n\t\tp1.my_init_from_string(s);\n\t\treturn p1;\n\t}", "title": "" }, { "docid": "b408e329accf7e5149ca2c33398104d1", "score": "0.5039643", "text": "public AddressBook() {\n addressBook = new ArrayList<BuddyInfo>();\n }", "title": "" }, { "docid": "e61d9003ce775c0a34e81b0872ba43f5", "score": "0.50280535", "text": "public Prenda(){}", "title": "" }, { "docid": "ed977f4f8057b4bcaf6c4d5dc327ce23", "score": "0.50155634", "text": "public Oseba(String ip, int starost, PostniNaslov postniNaslov) {\n // dopolnite ...\n }", "title": "" }, { "docid": "cd467e5b061568dd5b0d2f039769352a", "score": "0.5011157", "text": "private Address(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "a994b3e8d7e68e027874755ad86bb31e", "score": "0.5003363", "text": "public X837Ins_2010BD_N3_ResponsiblePartyAddress() {}", "title": "" }, { "docid": "8e62309abccff050158a335badbb5aa7", "score": "0.49967903", "text": "public Person (String firstName, String lastName, String phoneNumber, String address, String postNumber) { \n\n super(firstName, lastName, phoneNumber, address, postNumber);\n \n }", "title": "" }, { "docid": "0b82d61c47df6b74cee73f126afdc60d", "score": "0.49938735", "text": "public Address(String validFrom, String validTo) {\n this.validFrom = validFrom;\n this.validTo = validTo;\n }", "title": "" }, { "docid": "b27c2bfc17d00f93f4dac8997d3c3b55", "score": "0.4982917", "text": "public Person(String lname, String address1, String address2, String city,\n String state, String zip) {\n this.lname = lname;\n this.address1 = address1;\n this.address2 = address2;\n this.city = city;\n this.state = state;\n this.zip = zip;\n }", "title": "" }, { "docid": "59eb56ca729a1a015311997bd23206b2", "score": "0.4981326", "text": "public void initCarLocation() {\n\t\tsuper.initCarLocation();\r\n\t\tList list = initPoint();\r\n\t\t//startPoint= new Random().nextInt(6);//0-5\r\n\t//\tPoint p = (Point) list.get(startPoint);\r\n\t\tcar = new CarLocation(p0);\r\n\t\t//CarLocation.setCarNum(new Random().nextInt(6)+6);//6-11\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e79a729fe252d9df634ab28f2d36e3c3", "score": "0.49705702", "text": "IAddress createAddress();", "title": "" }, { "docid": "4d8034c1d12f3b8b1f5c0a7ebd102b61", "score": "0.4967241", "text": "private Address(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "8549a5d8b1547684009d9e593700d267", "score": "0.49652895", "text": "public void initialize() {\n map.put(\"vdbxe65a2z\", \"639\");\n map.put(\"dxereeyo5w\", \"640\");\n map.put(\"m8ofjtolr4\", \"739\");\n map.put(\"agd6eehedz\", \"740\");\n map.put(\"xqwoen5i66\", \"839\");\n map.put(\"wn3jeztew5\", \"840\");\n map.put(\"q4iibpf710\", \"939\");\n map.put(\"3ixzxrgcu6\", \"940\");\n map.put(\"3jquen44og\", \"1039\");\n map.put(\"ejyh43e7lp\", \"1040\");\n\n }", "title": "" }, { "docid": "2339d66bfb0d56ab07eaf18adfa09ecb", "score": "0.49650106", "text": "private Netmap() {}", "title": "" }, { "docid": "5b7c4852f26675ea363282b3162a6dba", "score": "0.49646363", "text": "public void setAddress(String address) { this.address = address; }", "title": "" }, { "docid": "46143872914b9d306064c14361466000", "score": "0.4959228", "text": "public Building(Adress adress, String name) {\n this.adress = adress;\n this.name = name;\n }", "title": "" }, { "docid": "c6147bfcbd2d5f071005ba3e2859825a", "score": "0.4954184", "text": "public VkSubmitInfo(long address){ \n\t\t super(address); \n\t }", "title": "" }, { "docid": "9e89a1caad0eff4a119842750f4f8a15", "score": "0.4948394", "text": "public Pointofinterest() {\n }", "title": "" }, { "docid": "874ca49ac0fb9a0ecb53aed9269086d5", "score": "0.491897", "text": "@Test\n void testConstructor() {\n Backend backend = null;\n try {\n backend = new Backend(new Scanner(\"Railroad,Region,Bridge Prefix,Number Divider,Format Help,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\\n\" + \n \"Chicago & North Western,Galena-Cuba City,Bridge , ,C&NW bridges are named with as ''Bridge [Number] [Suffix]'' where the number is assigned incrementally along the trackage. Numbers are initially assigned integers with spurs being given a letter suffix appended to the number of the next-lowest bridge number before the junction. Bridges added after the initial assignment are given a fractional suffix denoting their placement between two bridges. An example is Bridge 1450 1/2 being added between Bridge 1450 and Bridge 1451. Further additions work by placing another fraction halfway between the relevant bridge numbers (such as 1450 3/4 between 1450 1/2 and 1451).,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\\n\" + \n \"Universal,,,Original,(shared),,,(culvert),(bridge),,,,,,,,,,(universal),,,First Rebuild,,,,,,,,,,,,,,,,,,Further Rebuilds continue cycle,,,,,,,,,,,,,,,,,\\n\" + \n \"Number,Lat,Long,Basic Type,Spec. Type,Length,Height,Width/Dia,Spans,Approach,LA Type,LA Length,LA Height,LA Spans,HA Type,HA Length,HA Height,HA Spans,Built,Fate,Fate Date,Basic Type,Spec. Type,Length,Height,Width/Dia,Spans,Approach,LA Type,LA Length,LA Height,LA Spans,HA Type,HA Length,HA Height,HA Spans,Built,Fate,Fate Date,Basic Type,Spec. Type,Length,Height,Width/Dia,Spans,Approach,LA Type,LA Length,LA Height,LA Spans,HA Type,HA Length,HA Height,HA Spans,Built,Fate,Fate Date\\n\" + \n \"Bridge 1450,42.540064,-90.375658,B,P.R.S.,64,-1,,1,N,,,,,,,,,pre-1917,Removed,11-30-1942,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\\n\" + \n \"Bridge 1450 1/2,42.535809,-90.376592,C,W.B.C.,18,1.333,1.5,,,,,,,,,,,pre-1917,Removed,11-30-1942,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\\n\" + \n \"Bridge 1451,42.532987,-90.37749,B,P.B.,15.6,-1,,1,N,,,,,,,,,pre-1917,Removed,5-30-1941,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,\"));\n } catch (DataFormatException e) {\n e.printStackTrace();\n }\n \n \n int bridges = backend.getNumBridges();\n \n \n assertEquals(3, bridges);\n }", "title": "" }, { "docid": "add8db905cc5d266191cd91603ea2ca2", "score": "0.49107134", "text": "public Location() {}", "title": "" }, { "docid": "add8db905cc5d266191cd91603ea2ca2", "score": "0.49107134", "text": "public Location() {}", "title": "" }, { "docid": "e458126498a20faa7f700c43e0311c54", "score": "0.49060792", "text": "public Geo(final String sLatLon) {\n\t\tsetFromString(sLatLon) ;\n\t}", "title": "" }, { "docid": "157036bc5a3d83d915baf7b4c7e4cd94", "score": "0.4903316", "text": "public Address(byte prefix, byte[] data)\n {\n byte[] publicHash = Ripemd160Digester.digest(data);\n byte[] checksum = computeCheckSum(prefix, publicHash);\n\n m_address = new byte[PREFIX_SIZE + publicHash.length + checksum.length];\n\n m_address[0] = prefix;\n System.arraycopy(publicHash, 0, m_address, PREFIX_SIZE, publicHash.length);\n System.arraycopy(checksum, 0, m_address, PREFIX_SIZE + publicHash.length, checksum.length);\n }", "title": "" }, { "docid": "85f644aee69e3e68d0c5883e64237129", "score": "0.49000442", "text": "public Landlord(String firstName, String lastName, String email, String password, String address) {\n this.firstName = firstName;\n this.lastName = lastName;\n this.email = email;\n this.password = password;\n this.address = address;\n }", "title": "" }, { "docid": "96b53959ccf3b0fc6c083730f98b7bbf", "score": "0.489097", "text": "public abstract void init(String id, int s, int n, int t, List<Point> landmarkLocations);", "title": "" }, { "docid": "1614a811a757f4e3484f00f4b7a49c7c", "score": "0.4888646", "text": "public RouteEntry(String r) {\r\n\t\tr = r.replaceAll(\"\\\\s+\", \" \");\r\n\t\tint isp = r.indexOf(' ');\r\n\t\tString dest = r.substring(0, isp).trim();\r\n\t\tString msk = r.substring(isp + 1, r.indexOf(' ', isp + 1)).trim();\r\n\t\tisp = r.indexOf(' ', isp + 1);\r\n\t\tString nh = r.substring(isp + 1, r.indexOf(' ', isp + 1)).trim();\r\n\t\tisp = r.indexOf(' ', isp + 1);\r\n\t\tString ni = r.substring(isp + 1, r.indexOf(' ', isp + 1)).trim();\r\n\t\tisp = r.indexOf(' ', isp + 1);\r\n\t\ttry {\r\n\t\t\tdestination = new NetworkAddress(dest);\r\n\t\t\tmask = new NetworkMask(msk);\r\n\t\t\tnext_hop = new NetworkAddress(nh);\r\n\t\t\tnet_if = new NetworkAddress(ni);\r\n\t\t\tmetric = Integer.parseInt(r.substring(isp + 1));\r\n\t\t} catch (NetworkAddressFormatException e) {\r\n\t\t\tLogger.getLogger(\"\").logp(Level.SEVERE, this.getClass().getName(),\r\n\t\t\t\t\t\"RouteEntry\", \"\", e);\r\n\t\t} catch (NetworkMaskFormatException nme) {\r\n\t\t\tLogger.getLogger(\"\").logp(Level.SEVERE, this.getClass().getName(),\r\n\t\t\t\t\t\"RouteEntry\", \"\", nme);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "edab4d67b733a09eb36a57e023ae89f7", "score": "0.48871836", "text": "public RaceClass() {\t\r\n\t\t\tplayer_location = 1; \r\n\t}", "title": "" }, { "docid": "1fbbbd4f9d6060793db9079db7471c58", "score": "0.48865753", "text": "public Geo() {\n\t\treset() ;\n\t}", "title": "" }, { "docid": "00e253ef2d0d264052cf279b3c27039f", "score": "0.48835745", "text": "public void init() {\r\n\t\tthis.journeyID = this.getJourneyID();\r\n\t\tthis.registrationNationalityID = this.getRegistrationNationalityID();\r\n\t\tthis.registrationNationality = this.getRegistrationNationality();\r\n\t\tthis.directionCode = this.getDirectionCode();\r\n\t\tthis.stowage = this.getStowage();\r\n\t\tthis.airTransport = this.getAirTransport();\r\n\t\tthis.roadTransport = this.getRoadTransport();\r\n\t\tthis.railTransport = this.getRailTransport();\r\n\t\tthis.maritimeTransport = this.getMaritimeTransport();\r\n\t\tthis.ownerParty = this.getOwnerParty();\r\n\t}", "title": "" }, { "docid": "fd85ecfa9d4c70b03e490fa3c2c73d90", "score": "0.48832512", "text": "public Arrive() \r\n\t{ \r\n\t\tm_target=new Geometrie(); \r\n\t\tm_influence=1; \r\n\t\tm_activeDistance=2000; \r\n\t\tm_behaviorName = \"Arrive\";\r\n\t}", "title": "" }, { "docid": "73ac2977abd4c403aeca4f5f453e7277", "score": "0.48815268", "text": "public ScoreBoard()\n {\n minutesPlayed = 0;\n home = new TeamScore(\"HOME\");\n away = new TeamScore(\"AWAY\");\n }", "title": "" }, { "docid": "729c3024689f694c9ae320dd15bc4901", "score": "0.48803246", "text": "@Deprecated\n\tpublic Address () { }", "title": "" }, { "docid": "2db7bb358e230677a81bd82694735352", "score": "0.48794013", "text": "public ARObject(int userID)\n {\n Calendar cal = GridSim.getSimulationCalendar();\n if (cal == null) {\n timeZone_ = 0.0;\n }\n else { // Must convert into hour not milli seconds\n timeZone_ =cal.getTimeZone().getRawOffset()/AdvanceReservation.HOUR;\n }\n init(userID);\n }", "title": "" }, { "docid": "6068283481d34cfe76fe67dba749cd1b", "score": "0.48715106", "text": "public Address(String shipStreet, String shipCity, String shipEir, String shipCountry, String billStreet, String billCity, String billEir, String billCountry)\n { \n this.shipStreet = shipStreet;\n this.shipCity = shipCity;\n this.shipEir = shipEir;\n this.shipCountry = shipCountry;\n this.billStreet = billStreet;\n this.billCity = billCity;\n this.billEir = billEir;\n this.billCountry = billCountry;\n }", "title": "" }, { "docid": "89165ccf236e06f0273406b241f61d42", "score": "0.48645818", "text": "public MapObject(Resource rez, Rect location) {\n this.rez = rez;\n this.location = location;\n }", "title": "" }, { "docid": "27a283fa67c42a7242ed9dfa4f95a22b", "score": "0.48637313", "text": "public GeoCalculation(){}", "title": "" }, { "docid": "900bd2093d4d0864f6d5eae249450729", "score": "0.4861801", "text": "public Site(Geo geo)\n {\n geo = new Geo(geo);\n }", "title": "" }, { "docid": "39aa46644b70ed86e63ae98d6e1797d9", "score": "0.48591048", "text": "public Ribosome(){\r\n\t \r\n }", "title": "" }, { "docid": "929335f7c331b60cab6d8dd5f72f32a2", "score": "0.48576018", "text": "public LocationContract() {}", "title": "" }, { "docid": "f5b2c8c0e060850babc1310b42ccbe9f", "score": "0.48570728", "text": "private void initPosition(CDBCRowObject ro) {\n\tInteger pos = (Integer) ro.getColumn(\"position\").asObject();\n\tif (pos != null) {\n\t\t//setPosition(mainPos);\n\t\tStoragePlaceVO vo = new StoragePlaceVO(pos.intValue());\n\t\tvo.setName(ro.getColumn(\"positionname\").asString());\n\t\tsetPositionVO(vo);\n\t} else {\n\t\tsetPositionVO(null);\n\t}\n\n}", "title": "" }, { "docid": "7a28f779900ebf37fd359e8905b747c2", "score": "0.4850988", "text": "public void setAdress(String adress) {\n\t\tthis.adress = adress;\n\t}", "title": "" }, { "docid": "d61d0d4325da00bf1da56d176e2fa002", "score": "0.4848664", "text": "public Address(final String name) {\n this(name, new City(\"somewhere\"));\n }", "title": "" }, { "docid": "a23a2ff60313e7215d86813d92f2b404", "score": "0.48476684", "text": "public NcUairRecord(String uri) {\n super(uri);\n if (location != null) {\n String staId = location.getStationId();\n location.setStationId(\"null\".equals(staId) ? null : staId);\n }\n }", "title": "" }, { "docid": "fc3c81bba294ec1a84be7d767818d14b", "score": "0.4845222", "text": "public void setAddress(String address)\r\n\t{\r\n\t\tthis.address = address;\r\n\t}", "title": "" }, { "docid": "a3e50fa6dbbf67cc8d117fe5ee2e997d", "score": "0.48449564", "text": "public void setAddress(String address)\n {\n this.address = address;\n }", "title": "" }, { "docid": "5762473be746bbd9a1e1e546ca6691d3", "score": "0.48360255", "text": "public StreetAddress() {\n\t\tthis.streetNumber = \"\";\n\t\tthis.streetName = \"\";\n\t\tthis.cityName = \"\";\n\t\tthis.stateName = \"\";\n\t\tthis.zipCode = \"\";\n\t}", "title": "" }, { "docid": "3c450bbc7ebfc6d69e3f7cc74ec9e511", "score": "0.4835632", "text": "private Location AddressToLocation(Address address){\n Location location = new Location(\"a\");\n location.setLatitude(address.getLatitude());\n location.setLongitude(address.getLongitude());\n\n return location;\n }", "title": "" }, { "docid": "49b36ff0e72c3996b6c87a0a7e35d9d3", "score": "0.48345625", "text": "public Pessoa(){\r\n this.nome = \"\";\r\n this.gps = new GPS();\r\n this.email = \"\";\r\n this.password = \"\";\r\n }", "title": "" }, { "docid": "7b3d27a14768c4d408d4710d2ce4dc82", "score": "0.48318148", "text": "public NEAT() {\n }", "title": "" }, { "docid": "efee0cd04d8fe59db5ff05ea62f00e29", "score": "0.48271528", "text": "@Override\n public void initialize(PhoneNumberUniqueness parameters) {\n }", "title": "" }, { "docid": "9dc5baab66a907f95fec33843fd67188", "score": "0.48251897", "text": "public Raid1() {\n\t\tcriarBlocos();\n\t}", "title": "" }, { "docid": "f468e0e8a0271a735c545c16519c6e55", "score": "0.4819516", "text": "public void setAddress (String address) {\r\n\t\tthis.address = address;\r\n\t}", "title": "" }, { "docid": "9288e700e251100ab2e0e20bc8bc1f3c", "score": "0.48184916", "text": "public void setAddress(String address) {\r\n this.address = address;\r\n }", "title": "" }, { "docid": "51b422f4a17401f0a1026392ba66d913", "score": "0.48179182", "text": "public Clarinet() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "93ad5587fbe83c9efc22912ed5b8f9c3", "score": "0.48169705", "text": "public Location() {\n this(\"\", 0.0, 0.0, \"\", \"\", \"\");\n }", "title": "" }, { "docid": "3002c6b5862c000f93cd2a0352b67833", "score": "0.48128903", "text": "public Employer(Parcel reconstruct) {\n id = reconstruct.readString();\n firstName = reconstruct.readString();\n lastName = reconstruct.readString();\n username = reconstruct.readString();\n telephone = reconstruct.readString();\n mobile = reconstruct.readString();\n email = reconstruct.readString();\n companyName = reconstruct.readString();\n FirstLineAddress = reconstruct.readString();\n LastLineAddress = reconstruct.readString();\n town = reconstruct.readString();\n postCode = reconstruct.readString();\n\n }", "title": "" }, { "docid": "561873a5ecc56c3438affc5d7ea8e38b", "score": "0.48103318", "text": "public void setAddress(String address) {\n this.address = address;\n }", "title": "" }, { "docid": "831d7e138db0662db0b3cc77e54f4df3", "score": "0.4808469", "text": "public Voter(String first, String last, String address, String city, String state)\n {\n firstName = first;\n lastName = last;\n this.address = address;\n this.city = city;\n this.state = state;\n this.id = generateID();\n elections = new ArrayList<Integer>();\n }", "title": "" }, { "docid": "021418e269e3b832dc350ac64dd9b05e", "score": "0.4807996", "text": "public Person() {\n super();\n firstName = (\"\");\n lastnameAtBirth = (\"\");\n lastnameUponMarriage = (\"\");\n gender = (\"\");\n address = (new Address());\n description = (\"\");\n\n }", "title": "" } ]
44bec9469bf099d5febdf5bd5c09d636
Called every time the enemy has fired a shot. The purpose of this method is to allow the AI to react to the enemy's incoming fire and place his/her ships differently next round.
[ { "docid": "e72b160116a0647337722ff3b16dde96", "score": "0.6935334", "text": "@Override\r\n public void incoming(Position pos) {\r\n\r\n enemyShots[pos.x][pos.y]++;\r\n if (!EnemyHasHitUs && !s.checkIfHit(pos)) {\r\n s.enemyMissBeforeHit(pos);\r\n fleetMaker.heatUpHeatMap(pos);\r\n //System.out.println(\"We get here!\");\r\n } else if (s.checkIfHit(pos)) {\r\n EnemyHasHitUs = true;\r\n //if (round%50==0)System.out.println(\"Round before the hit first: \"+ numberOfShots);\r\n }\r\n //Do nothing\r\n\r\n numberOfShots++;\r\n //if (numberOfShots< fleetMaker.numberOfShotsCounted) {\r\n // fleetMaker.heatUpHeatMap(pos);\r\n //}\r\n }", "title": "" } ]
[ { "docid": "f40c04bc637b4d357d687c6ec5f0c95d", "score": "0.7386145", "text": "public void fireAt(){\n if(hasShip()){//if square has ship \n SHIP.hit();//calls hit method from Ship.java\n this.hitStatus = HitStatus.HIT;//sets hitstatus to HIT\n } else { \n this.hitStatus = HitStatus.MISSED;//else to Missed\n }\n }", "title": "" }, { "docid": "1998c3b38f58e37a58e591ffa56d44ae", "score": "0.72256464", "text": "public void enemyShoot(){\n\t\tfor (int i=0;i<enemies.size();i++){\n\t\t\tenemies.get(i).shoot(eShots);//add the shot to the enemy shot arraylist\n\t\t}\n\t}", "title": "" }, { "docid": "c1debf571d0d17194451f784e7e59998", "score": "0.6992433", "text": "public void fire(){\n\t\tif(shotCounter>=firingRate){\n\t\t\ttheWorld.createBullet(shooter, bulletSpeed, bulletLifeSpan, \n\t\t\t\t\tbulletColor, shooter.getOrientation());\n\t\t\tshotCounter=-1;\n\t\t}\n\t}", "title": "" }, { "docid": "5226ef82a8ee1302e3368b16c3bff4a8", "score": "0.684667", "text": "public void shoot() { \n\t\t \n\t\t if(this.equippedWeapon.isPresent()) {\n\t\t\t \n\t\t\t if(!this.game.isInmapMode) {this.equippedWeapon.get().fire();}\n\t\t\t \n\t\t }else {\n\t\t\t \n\t\t\t GameWindow.PlayerHUD.notificationArea.announce(\"You have not equipped a weapon\");\n\t\t\t \n\t\t }\n\t\t \n\t }", "title": "" }, { "docid": "19184365c58b030f88afe79ef348d9af", "score": "0.68215", "text": "public void enemyShot() {\r\n\t\tfor (int i = 0; i < enemies.size(); i++) {\r\n\t\t\tEnemy enemy = (enemies.get(i));\r\n\t\t\tif (enemy.timeToShoot()) {\r\n\t\t\t\tfor (int j = 0; j < enemy.bulletCount; j++) {\r\n\t\t\t\t\tif(enemy.getClass().toString().equals(\"class enemies.Boss0\"))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tenemyProjectiles.add(enemy.shoot());\r\n\t\t\t\t\t\tenemyProjectiles.add(enemy.shoot(enemy.x-10));\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t//System.out.println(enemy.getClass().toString());\r\n\t\t\t\t\t\tProjectile p = enemy.shoot();\r\n\t\t\t\t\t\tenemyProjectiles.add(p);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ffb38637eca2b678f39360721eaf5f69", "score": "0.6786777", "text": "@Override\r\n public void hitFeedBack(boolean hit, Fleet enemyShips) {\r\n shotsThisRound++;\r\n //System.out.println(\"Ships left \"+ enemyShips.getNumberOfShips());\r\n shipsLeftAfterShot.clear();\r\n s.addShot(lastShot, hit);\r\n if (enemyShips.getNumberOfShips() > 0) {\r\n\r\n for (Ship enemyShip : enemyShips) {\r\n shipsLeftAfterShot.add(enemyShip);\r\n\r\n }\r\n }\r\n\r\n if (hunting && hit && enemyShips.getNumberOfShips() != 0) {\r\n s.possibleShipCombos(enemyShips.getShip(enemyShips.getNumberOfShips() - 1), false, lastShot);\r\n //System.out.println(\"Working hunt suggestion: \"+s.huntOtherWay().x+\" \"+s.huntOtherWay().y);\r\n this.hit = lastShot;\r\n s.addHits(this.hit);\r\n // Check for \"cluster\" of ships\r\n //Check for direction\r\n }\r\n if (printRound && enemyShips.getNumberOfShips() == 0) {\r\n s.printOutMap(1);\r\n printRound = false;\r\n //System.out.println(\"count 1 \" + numOfEnemyShips + \" count2 \" + enemyShips.getNumberOfShips());\r\n }\r\n if (!hunting && hit && numOfEnemyShips == enemyShips.getNumberOfShips()) {\r\n hunting = true;\r\n this.hit = lastShot;\r\n s.addHits(this.hit);\r\n //System.out.println(\"Hunting enabled!\");\r\n }\r\n if (false) {\r\n System.out.println(\"count 1 \" + numOfEnemyShips + \" count2 \" + enemyShips.getNumberOfShips());\r\n }\r\n if (testing) {\r\n System.out.println(numOfEnemyShips != enemyShips.getNumberOfShips());\r\n }\r\n if (numOfEnemyShips != enemyShips.getNumberOfShips()) {\r\n if (false) {\r\n System.out.println(\"We get inside the if\");\r\n }\r\n // if we don't have any hits now hunting should be turned off:\r\n\r\n ArrayList<Ship> temp = shipsLeftBeforeShot;\r\n for (Ship ship : shipsLeftAfterShot) {\r\n shipsLeftBeforeShot.remove(ship);\r\n }\r\n if (testing) {\r\n System.out.println(\"We get past the for loop\");\r\n }\r\n if (!shipsLeftBeforeShot.isEmpty()) {\r\n lastSunk = shipsLeftBeforeShot.get(0);\r\n if (testing) {\r\n System.out.println(\"Last sunk has a size of \" + lastSunk.size());\r\n }\r\n } else if (testing) {\r\n System.out.println(\"Failed to find last sunken ship\");\r\n }\r\n\r\n s.shipWrecked(lastShot, lastSunk.size());\r\n if (!s.checkForMoreTargets()) {\r\n hunting = false;\r\n }\r\n\r\n //System.out.println(\"Done hunting\");\r\n }\r\n\r\n //numOfEnemyShips = enemyShips.getNumberOfShips();\r\n //Do nothing\r\n }", "title": "" }, { "docid": "36bf0211dece19998305d95bab6f4fbd", "score": "0.67582095", "text": "protected void fireEnemyShip(SpaceWars game)\r\n {}", "title": "" }, { "docid": "5af3d2bfc304c2b69865ddf48873c698", "score": "0.6686308", "text": "public void fire_missile_PS() {\n\t\tPlayerShip ps = new PlayerShip(get_width()/2,get_height()/2);\n\t\tif(!exists(ps)) {\n\t\t\t//System.out.println(\"A player ship must be created first!\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tIIterator it = space_object_collection.getIterator();\n\t\twhile(it.hasNext()) {\n\t\t\tGameObject obj = it.getNext();\n\t\t\tif(obj instanceof PlayerShip) {\n\t\t\t\tps = (PlayerShip)obj;\n\t\t\t\tif(ps.get_missile_count() == 0) {\n\t\t\t\t\tno_ammo_sound.play();\n\t\t\t\t\tSystem.out.println(\"The player ship is out of missiles!\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tMissile my_missile = ps.fire_missile();\n\t\t\t\tmy_missile.set_id(allocate_id());\n\t\t\t\tselectables.add(my_missile);\n\t\t\t\tspace_object_collection.add(my_missile);\n\t\t\t\tSystem.out.println(\"The \" + my_missile.whose_missile() + \" missile has been launched.\");\n\t\t\t\tfm_sound.play();\n\t\t\t\tthis.setChanged();\n\t\t\t\tthis.notifyObservers(new GameWorldProxy(this));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "938266832a3c6c1f461bb05818c0f306", "score": "0.66812176", "text": "public void update(){\n this.handleMovement(spaceShip);\n if (this.touchedfire == true) {\n spaceShip.shoot(spaceShip.getX(), spaceShip.getY());\n this.touchedfire = false;\n }\n }", "title": "" }, { "docid": "e31dfbde8edd3532a6020682e731ed94", "score": "0.66702074", "text": "public void fire() {\n\n\t\tswitch (missilestate) {\n\t\tcase 0: //the player can't shoot missiles\n\t\t\tbreak;\n\t\t\t//TODO\n\t\t\t//ne pas faire apparaitre des demis missiles \n\t\tcase 1: //the player can only shoot 5 missiles\n\t\t\tif (missiles.size() < 5) { missiles.add(new Missile(x, y - height)); }\n\t\t\tbreak;\n\n\t\tcase 2: //infinite missiles on a single row\n\t\t\tmissiles.add(new Missile(x, y - height));\n\t\t\tbreak;\n\n\t\tcase 3: //missiles on two rows\n\t\t\tif (x < 450) { missiles.add(new Missile(x + 64, y - height)); }\n\t\t\tmissiles.add(new Missile(x, y - height));\n\t\t\tbreak;\n\n\t\tcase 4: //missiles on three rows\n\t\t\tif (x < 450) { missiles.add(new Missile(x + 64, y - height)); }\n\t\t\tmissiles.add(new Missile(x, y - height));\n\t\t\tmissiles.add(new Missile(x - 64, y - height));\n\t\t\tbreak;\n\n\t\tcase 5: //missiles on five rows\n\t\t\tmissiles.add(new Missile(x - 128, y - height));\n\t\t\tmissiles.add(new Missile(x - 64, y - height));\n\t\t\tmissiles.add(new Missile(x, y - height));\n\t\t\tmissiles.add(new Missile(x + 64, y - height));\n\t\t\tmissiles.add(new Missile(x + 128, y - height));\n\t\t\tbreak;\n\n\t\tcase 20: //piercing missiles on one row\n\t\t\tmissiles.add(new Missile(x, y - height));\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "fe4c5971b11a16b31df2dfc67ea4f00d", "score": "0.6601079", "text": "protected void execute() {\r\n shooter.shootFrisbees();\r\n }", "title": "" }, { "docid": "efadbb5e0e688f5702a01d7b4cf634f0", "score": "0.65469927", "text": "public void checkShipHit(){\n\t\tfor (int i=0;i<eShots.size();i++){\n\t\t\tRectangle rect1=myShip.points();\n\t\t\tRectangle rect2=eShots.get(i).points();\n\t\t\tBufferedImage pic1=myShip.image();\n\t\t\tBufferedImage pic2=eShots.get(i).image();\n\t\t\tif (shipCollision(rect1,rect2,pic1,pic2)==true){\n\t\t\t\tmyShip.subLife();// subtracts the remaining lives from the ship by 1\n\t\t\t\teShots.remove(i);\n\t\t\t\texpl.play();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d18a5a23c9e4c7e0f761312733cfddf7", "score": "0.65427226", "text": "public void fire(SpaceWars game) {\n if (this.currentEnergy >= SpaceShip.ENERGY_VALUE_SHOT && this.shotDelay == 0) {\n this.currentEnergy -= SpaceShip.ENERGY_VALUE_SHOT;\n this.shotDelay = SpaceShip.DELAY;\n game.addShot(this.shipPhysics);\n }\n }", "title": "" }, { "docid": "a8dee3d3700410171219a716e6865597", "score": "0.6540712", "text": "public void preaperShoot() \r\n\t{\t\r\n\t\tif(Clock.delta() < 1 && Clock.delta() > 0)\r\n\t\t{\r\n\t\t\tlastShootTime += Clock.delta();\r\n\t\t}\r\n\t\tif(lastShootTime > speedOfFire)\r\n\t\t{ \r\n\t\t\tshoot();\t\t\t\r\n\t\t}\r\n\r\n\t\tfor(ShootTile s : shootTiles )\r\n\t\t{\r\n\t\t\ts.update();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a5687d3ceb2a6b70862c694e2c5c40d1", "score": "0.6521971", "text": "public void fire() {\n\t\tActor a;\n\t\tif (held != null) {\n\t\t\ta = held;\n\t\t\tdrop();\n\t\t} else if (!inventory.isEmpty()) {\n\t\t\ta = inventory.pollFirst();\n\t\t\ta.place(s,getPointAhead()); //TODO: scale to size of object\n\t\t} else {\n\t\t\treturn;\n\t\t}\n\t\ta.b.setBullet(true);\n\t\ta.b.applyLinearImpulse(getLocalPointAhead(100), b.getWorldCenter());\n\t}", "title": "" }, { "docid": "b4b3694b32cb4feb4a6b7d5c1a7ce204", "score": "0.6489374", "text": "public void fire(Direction dir) {\n if (!this.live) return;\n int missileX = this.x + WIDTH/2 - Missile.WIDTH/2;\n int missileY = this.y + HEIGHT/2 - Missile.HEIGHT/2;\n Missile missile = new Missile(missileX, missileY, this.role, dir, this.tc);\n tc.missiles.add(missile);\n }", "title": "" }, { "docid": "136c85c9ef6d60e293920804d3e1b932", "score": "0.6485736", "text": "public void playerFired(PlayerEntity player)\r\n {\r\n int direction = player.getDirectionFacing();\r\n\r\n ProjectileWeapon wep = (ProjectileWeapon) player.getCurrWeapon();\r\n\r\n if(wep == null)\r\n return;\r\n\r\n int theta = (int) Math.toDegrees(Math.atan2(player.getCenterX() - (player.getX() + wep.getOrigWeaponTip().getX()),\r\n player.getCenterY() - (player.getY() + wep.getOrigWeaponTip().getY())) + (Math.PI / 2));\r\n double r = Point.distance(player.getCenterX(), player.getCenterY(),\r\n player.getX() + wep.getOrigWeaponTip().getX(), player.getY()\r\n + wep.getOrigWeaponTip().getY());\r\n int x = (int) (player.getCenterX() + r * Math.cos(Math.toRadians(player.getDirectionFacing() - theta)));\r\n int y = (int) (player.getCenterY() + r * Math.sin(Math.toRadians(player.getDirectionFacing() - theta)));\r\n int x2 = (int) (Math.cos(Math.toRadians(direction)) * wep.getRange() + x);\r\n int y2 = (int) (Math.sin(Math.toRadians(direction)) * wep.getRange() + y);\r\n\r\n Line2D.Double line = new Line2D.Double(x, y, x2, y2);\r\n\r\n // should be Damageable, too, but java is kind of stupid\r\n // need to enforce by ourselves\r\n ArrayList<Enemy> toDamage = new ArrayList<Enemy>();\r\n\r\n if(wep instanceof Laser)\r\n {\r\n for(Entity e : getEntities())\r\n {\r\n if(e instanceof Enemy && line.intersects(e.getHitBox()))\r\n toDamage.add((Enemy) e);\r\n }\r\n }\r\n else\r\n {\r\n double closest = Double.MAX_VALUE;\r\n Enemy closestEn = null;\r\n for(Entity e : getEntities())\r\n {\r\n if(e instanceof Enemy && line.intersects(e.getHitBox()))\r\n {\r\n double dist = e.getCenterLocation().distance(new Point(player.getCenterX(), player.getCenterY()));\r\n if(dist < closest)\r\n {\r\n closestEn = (Enemy) e;\r\n closest = dist;\r\n }\r\n }\r\n }\r\n\r\n toDamage.add(closestEn);\r\n }\r\n\r\n Iterator<Enemy> itr = toDamage.iterator();\r\n // for (Enemy e : toDamage)\r\n while(itr.hasNext())\r\n {\r\n Enemy e = itr.next();\r\n if(e != null)\r\n {\r\n Damageable d = (Damageable) e;\r\n double dist = e.getCenterLocation().distance(new Point(player.getCenterX(), player.getCenterY()));\r\n int damage = d.damage(player.getCurrWeapon().getDamage(dist));\r\n if(player.getCurrWeapon() instanceof Laser && e instanceof ArmoredEnemy)\r\n {\r\n // cut damage dealt by laser to armoredenemy\r\n damage *= (1.0 / 2);\r\n }\r\n for(Client c : clients)\r\n {\r\n if(c.getPlayer().equals(player))\r\n {\r\n PlayerEntity p = c.getPlayer();\r\n p.addPoints(damage);\r\n p.addCash(damage);\r\n // p.addPoints(e.getValue());\r\n // p.addCash(e.getValue());\r\n server.relayMessage(new PointMessage(p.getPoints(), p.getUniqueID()));\r\n server.relayMessage(new CashMessage(p.getCash(), p.getUniqueID()));\r\n }\r\n }\r\n e.requestUpdate();\r\n if(d.killed())\r\n {\r\n removeEntity(e);\r\n }\r\n }\r\n }\r\n\r\n }", "title": "" }, { "docid": "492846021ce78192c90a0d4868588f87", "score": "0.6468094", "text": "public boolean fireMissiles(){\n \tif(super.getMissileCount() > 0) {\n \t\tdecrementMissileCount();\n \t\tSystem.out.println(\"NON PLAYER SHIP missile fired!\\n\" + super.getMissileCount() + \" missiles left\");\n \t\treturn true;\n \t}else {\n \t\tSystem.out.println(\"NPS out of missiles\");\n \t\treturn false;\n \t}\n }", "title": "" }, { "docid": "871206c8666316e1190c4123570d43d2", "score": "0.64636946", "text": "public void fire(){\n PlayerBullet bullet = GameObject.recycle(StraightBullet.class);\n PlayerBullet bullet1 = GameObject.recycle(LeftBullet.class);\n PlayerBullet bullet2 = GameObject.recycle(RightBullet.class);\n\n bullet.position.set(this.position.x, this.position.y);\n bullet1.position.set(this.position.x, this.position.y);\n bullet2.position.set(this.position.x, this.position.y);\n\n /*\n *\n */\n\n\n this.fireCounter.reset();\n }", "title": "" }, { "docid": "a632dceea5aa9d867d45a0a210e37c30", "score": "0.6461996", "text": "public void firePsMissile() {\n\t\tIIterator i = goc.getIterator();\t\t\n\t\t\n\t\t// search collection for PS\n\t\twhile(i.hasNext()) {\n\t\t\tGameObject g = (GameObject)i.getNext();\n\t\t\tif (g instanceof PlayerShip) {\n\t\t\t\tPlayerShip ps = (PlayerShip)g;\n\t\t\t\t// if PS has missiles\n\t\t\t\tif (ps.fireMissile()) {\n\t\t\t\t\t// create a new missile at PS location\n\t\t\t\t\tMissile m = new Missile(\n\t\t\t\t\t\t\tps.getLocation().getX(), \n\t\t\t\t\t\t\tps.getLocation().getY(), \n\t\t\t\t\t\t\tps.getSpeed(), \n\t\t\t\t\t\t\tps.getLauncherDirection(), \n\t\t\t\t\t\t\ttrue);\n\t\t\t\t\t// add missile to collection\n\t\t\t\t\tgoc.add(m);\n\t\t\t\t\tplayerFire.play(this);\n\t\t\t\t\tSystem.out.println(\"PS fired missile.\");\n\t\t\t\t\t\n\t\t\t\t\t// update the views\n\t\t\t\t\tthis.setChanged();\n\t\t\t\t\tthis.notifyObservers(new GameWorldProxy(this));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Unable to [fire] missile: PS is out of missiles!\");\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\t\t\n\t\tSystem.out.println(\"ERROR - Unable to [fire] missile: PS doesn't exist.\");\n\t}", "title": "" }, { "docid": "a2c298f9f55b2008015bdb11a48ba4d2", "score": "0.64294845", "text": "public void checkEnemyHit(){\n\t\tfor (int y=0;y<sShots.size();y++){\n\t\t\tfor (int x=0;x<enemies.size();x++){\n\t\t\t\tRectangle rect1=enemies.get(x).points();\n\t\t\t\tRectangle rect2=sShots.get(y).points();\n\t\t\t\tBufferedImage pic1=enemies.get(x).image();\n\t\t\t\tBufferedImage pic2=sShots.get(y).image();\n\t\t\t\t//uses rect area collision and rgb color\n\t\t\t\tif (shipCollision(rect1,rect2,pic1,pic2)==true){\n\t\t\t\t\tenemies.get(x).lives--;//only remove the enemy from the arraylist when his life is zero \n\t\t\t\t\tif (enemies.get(x).lives<=0){\n\t\t\t\t\t\t//gets the points of the type of ship and adds it to the total score \n\t\t\t\t\t\taddPoints(enemies.get(x).getPointsForKill());\n\t\t\t\t\t\tenemies.remove(x);//removes the enemy \n\t\t\t\t\t}\n\t\t\t\t\tsShots.remove(y);//removes the shot no matter what\n\t\t\t\t\texpl.play();//explosion sound\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "083e25ed158a86ade462662f23db13bd", "score": "0.64046097", "text": "private void shootEnemies() {\n int target;\n for (int i = 0; i < this.towers.size(); i++) {\n if (enemies.size() > 0) {\n target = this.chooseTarget(this.towers.get(i).getPosition());\n if (this.towers.get(i).getWillFire()) {\n this.enemies.get(target).hit(this.towers.get(i));\n if (this.towers.get(i).getFired()) {\n this.towers.get(i).setFiredTime(this.timeStep);\n }\n if (!(this.towers.get(i) instanceof Slingshot)) {\n this.towers.get(i).setWillFire(false);\n }\n // remove the enemy when it dies\n if (this.enemies.get(target).getHealth() <= 0) {\n this.enemies.remove(target);\n }\n }\n }\n }\n }", "title": "" }, { "docid": "fedb961aa0ee45c1260600c0d970ac73", "score": "0.6403721", "text": "public void fire(SpaceWars game) {\n if ((lastRoundShot != 0 && lastRoundShot + 7 <= currentRound) || lastRoundShot == 0) {\n if (currentEnergyLevel >= 19) {\n currentEnergyLevel -= 19;\n game.addShot(spaceShipPhysics);\n lastRoundShot = currentRound;\n }\n }\n\n }", "title": "" }, { "docid": "80cd44434b2f0ac7da385069d111cd37", "score": "0.63925135", "text": "public void upShoot(){\n\t\tthis.missilestate++;\n\t}", "title": "" }, { "docid": "7562dd465c03b4d3d68f62e8c39c9dad", "score": "0.63775146", "text": "@Override\n public void fireAlternate()\n {\n firingAlternate = true;\n if(aDelay.isDone()) {\n aDelay.set(alternate.fire(sharedData, isEnemy, unitX, unitY));\n sharedData.sHandler.shot(1);\n }\n }", "title": "" }, { "docid": "b881e324d8a25b18bfa200bc47c818dd", "score": "0.63759124", "text": "@Override\n public void fireCannon()\n {\n firingCannon = true;\n if(cDelay.isDone()) {\n cDelay.set(cannon.fire(sharedData, isEnemy, unitX-11, unitY+2)\n + cannon.fire(sharedData, isEnemy, unitX-7, unitY)\n + cannon.fire(sharedData, isEnemy, unitX+7, unitY)\n + cannon.fire(sharedData, isEnemy, unitX+11, unitY+2));\n sharedData.sHandler.shot(4);\n }\n }", "title": "" }, { "docid": "9cd45cfe27d0522a22f2344b49d94ef2", "score": "0.6365239", "text": "@Override\r\n public Position getFireCoordinates(Fleet enemyShips) {\r\n if (firstShot) {\r\n s.makeOurBoard(ourShipPos, fleetMaker.getVerticalSave());\r\n firstShot = false;\r\n }\r\n numOfEnemyShips = enemyShips.getNumberOfShips();\r\n shipsLeftBeforeShot.clear();\r\n for (Ship enemyShip : enemyShips) {\r\n shipsLeftBeforeShot.add(enemyShip);\r\n }\r\n s.setEnemyRemaining(shipsLeftBeforeShot);\r\n s.setOP(this);\r\n Position shot = null;\r\n if (!hunting) {\r\n shot = s.shootInGrid(chooseGrid());\r\n } else if (hunting) {\r\n shot = s.huntOtherWay();\r\n if (shot == null) {\r\n shot = s.hunt(hit);\r\n }\r\n }\r\n\r\n lastShot = shot;\r\n\r\n if (testing) {\r\n System.out.println(\"Shooting at \" + shot.x + \" \" + shot.y);\r\n }\r\n ourShots[shot.x][shot.y]++;\r\n return shot;\r\n }", "title": "" }, { "docid": "5950b543ef30b4f334262b51bd036329", "score": "0.6358551", "text": "public void fireBullet () {\n EntityManager.getInstance().createPlayerBulletEntity(\"PlayerBullet\"+shotsFired, \"airplane/B_2.png\", this);\n shotsFired++;\n }", "title": "" }, { "docid": "a8ba74885eaf3956f55a328ee688d20c", "score": "0.634275", "text": "private void fire() {\n// this.count++;\n if (fireCouter.run()) {\n EnemyBullet bullet = new EnemyBullet();\n bullet.position.set(this.position);\n this.fireCouter.reset();\n }\n }", "title": "" }, { "docid": "df839cc26ecb8051b8c61fd4b06701df", "score": "0.6338379", "text": "public void enemyShoot() {\r\n nextEnemyProjectileTime = PROJECTILE_COOLDOWN_ENEMY;\r\n\r\n if (projectile_enemy_count < 0) {\r\n projectile_enemy_count = 0;\r\n }\r\n\r\n for (int i = 0; i < 8; i++) {\r\n\r\n if (enemies[enemies.length - 2][i] != null) {\r\n ifRowIsFull[i] = true;\r\n\r\n } else {\r\n ifRowIsFull[i] = false;\r\n }\r\n }\r\n\r\n for (int i = 0; i < ifRowIsFull.length; i++) {\r\n\r\n if (ifRowIsFull[i] == false) {\r\n isReadyToFire = false;\r\n\r\n }\r\n }\r\n\r\n if (isReadyToFire) {\r\n\r\n Random rand = new Random();\r\n int position_x = rand.nextInt(7);\r\n\r\n double prj_posX = enemies[enemies.length - 2][position_x].getPosition().getX() + 25;\r\n double prj_posY = enemies[enemies.length - 2][position_x].getPosition().getY() + 5;\r\n\r\n //Center the Projectile\r\n Vector2D init_position = new Vector2D(prj_posX, prj_posY);\r\n Vector2D velocity = new Vector2D(0, 400);\r\n\r\n AssetManager.getShootingSound().play();\r\n projectiles_enemy.add(new ProjectileEnemy(init_position, velocity, 10, 30));\r\n addToPane(projectiles_enemy.get(projectile_enemy_count).getRectangle());\r\n objectList.add(projectiles_enemy.get(projectile_enemy_count));\r\n\r\n } else if (isReadyToFire == false) {\r\n for (int i = 0; i < 4; i++) {\r\n for (int j = 0; j < 8; j++) {\r\n\r\n if (enemies[i][j] != null && enemies[i + 1][j] == null) {\r\n\r\n readyToShootAliens_x_y.add(new Point2D.Double(i, j));\r\n }\r\n\r\n }\r\n }\r\n try {\r\n Random rand = new Random();\r\n int random_enemy = rand.nextInt(readyToShootAliens_x_y.size());\r\n\r\n while (readyToShootAliens_x_y.get(random_enemy) == null) {\r\n random_enemy = rand.nextInt(readyToShootAliens_x_y.size());\r\n }\r\n\r\n double prj_posX = enemies[(int) readyToShootAliens_x_y.get(random_enemy).getX()][(int) readyToShootAliens_x_y.get(random_enemy).getY()].getPosition().getX() + 25;\r\n double prj_posY = enemies[(int) readyToShootAliens_x_y.get(random_enemy).getX()][(int) readyToShootAliens_x_y.get(random_enemy).getY()].getPosition().getY() + 5;\r\n\r\n //Center the Projectile\r\n Vector2D init_position = new Vector2D(prj_posX, prj_posY);\r\n Vector2D velocity = new Vector2D(0, 400);\r\n\r\n AssetManager.getShootingSound().play();\r\n projectiles_enemy.add(new ProjectileEnemy(init_position, velocity, 10, 30));\r\n addToPane(projectiles_enemy.get(projectile_enemy_count).getRectangle());\r\n objectList.add(projectiles_enemy.get(projectile_enemy_count));\r\n } catch (Exception e) {\r\n }\r\n }\r\n }", "title": "" }, { "docid": "04012e95fc60dad08ad563edbe181b54", "score": "0.6333608", "text": "void shoot(int row, int column) {\r\n\t\tint prev_hitcount = this.ocean.getHitCount();\r\n\t\tint prev_sunkcount = this.ocean.getShipsSunk();\r\n\t\tboolean shot_result = this.ocean.shootAt(row, column);\r\n\t\t\r\n\t\tprint(\"\\n\");\r\n\t\tif (shot_result) {\r\n\t\t\tif (this.ocean.getHitCount() == prev_hitcount + 1) {\r\n\t\t\t\t//we shot at a ship that hasn't been sunk, and hit a new place\r\n\t\t\t\t\r\n\t\t\t\t//check if we sunk a ship. if we did, what did we sink?\r\n\t\t\t\tif (this.ocean.getShipsSunk() == prev_sunkcount + 1) {\r\n\t\t\t\t\t//we sunk a ship!\r\n\t\t\t\t\tfor (Ship ship : this.ocean.ship_collection) {\r\n\t\t\t\t\t\tif (ship.isSunk()) {\r\n\t\t\t\t\t\t\t//check if this is a new sunk ship\r\n\t\t\t\t\t\t\tif (!this.ships_sunk.contains(ship)) {\r\n\t\t\t\t\t\t\t\t//we sank a new ship!\r\n\t\t\t\t\t\t\t\tprintln(\"Hit! You sank a \" + ship.name + \"!\");\r\n\t\t\t\t\t\t\t\tthis.ships_sunk.add(ship);\r\n\t\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tprintln(\"Hit!\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t//we shot at a ship that hasn't been sunk, but in a place we've shot before\r\n\t\t\t\tprintln(\"You've already shot and hit there before.\");\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\t//we shot at either a ship that's already been sunk, or an empty location\r\n\t\t\tprintln(\"Miss.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "de80a7783456421ad3aa3efaa3e5a4d1", "score": "0.63312143", "text": "public void hitAction() {\r\n\t\t//enemies hit events: by bullet/by hero\r\n\t\tfor(int i=0;i<enemies.size();i++) {\r\n\t\t\tEnemy enemy = (Enemy)enemies.get(i);\r\n\t\t\tif(hitByBullet(enemy) && enemy.getArmor()<=0) {\r\n\t\t\t\tenemies.remove(i);\t\t//delete the bullet hit the aircraft\r\n\t\t\t\ti--;\r\n\t\t\t}else if(hitByHero(enemy)&&enemy.getArmor()<=0) {\r\n\t\t\t\tenemies.remove(i);\r\n\t\t\t\ti--;\r\n\t\t\t}\r\n\t\t}\r\n\t\t//supply hit events\r\n\t\tfor(int i=0;i<supply.size();i++){\r\n\t\t\tParadrop a = (Paradrop)supply.get(i);\r\n\t\t\tif(a.hitBy(hero)) {\r\n\t\t\t\thero.addExtraBullet(a);\r\n\t\t\t\tsupply.remove(i);\r\n\t\t\t\ti--;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8c950da8e1479396789bc0b372473edd", "score": "0.6297947", "text": "private void updateShooting()\r\n\t{\n\t}", "title": "" }, { "docid": "f5629b5e363b5bdf143979badbfeabf1", "score": "0.62873274", "text": "@Override\n boolean shoot(Coordinate coord) {\n return false;\n }", "title": "" }, { "docid": "cf85818562b3c1fff195575d5d430628", "score": "0.6266697", "text": "public void gotHit(BaseEnemy hitter){\n\t\t\tmoving = true;\n\t\t\tamHit = true;\n\t\t\tgotHitSound.play();\n\t}", "title": "" }, { "docid": "f9a2a89b621967a00971a5c793ecf9c1", "score": "0.6261572", "text": "public void shoot() {\n state = State.SHOOTING;\n }", "title": "" }, { "docid": "4a86864c2f8ceb877f414d86f1bc6ff4", "score": "0.62601435", "text": "@Override\n\tpublic void attack() {\n\t\tWeapon weapon = (Weapon) Globals.player.inventory.getEquipped(Inventory.equipWeapon);\n\t\t\n\t\tif(weapon != null) {\n\t\t\tweapon.attack();\n\t\t} else {\n\t\t\tFists fists = new Fists();\n\t\t\tfists.attack();\n\t\t}\n\t}", "title": "" }, { "docid": "bcec3cf1957a03f1014717b090041880", "score": "0.6255308", "text": "public void shoot()\r\n\t{\n\t}", "title": "" }, { "docid": "7bbd649a6a9e5df7f344f7f04b268b55", "score": "0.6217056", "text": "@Override\r\n\tpublic void go() {\n\t\t\r\n\t\tfor (Shooter shoot : shooters) {\r\n\t\t\tfor (Destructible target : targets) {\r\n\t\t\t\tif (shoot.canFire(target)) {\r\n\t\t\t\t\tshoot.fire(target.getPosition());\r\n\t\t\t\t}\t\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "64603843d8c0a8f2c95fa8e10089c789", "score": "0.62123066", "text": "private void checkShooting(SpaceWars game) {\n if (game.getGUI().isShotPressed()) {\n fire(game);\n }\n }", "title": "" }, { "docid": "63bf0e590dbc10bfcd39a3ca3cf7b43b", "score": "0.6212096", "text": "public void hit(){\r\n health--; //Lose health each time ship is hit\r\n //Kills or graces\r\n if(health > 0){\r\n grace = 90; //Begin 3 second grace period (30 fps * 3 = 90)\r\n }else{\r\n kill();\r\n }\r\n }", "title": "" }, { "docid": "f84088e58be7d3c793e80638d459e842", "score": "0.6174151", "text": "private void attack(){\n if(Key.attack.isDown && System.currentTimeMillis()-time > 1500){\n for(int i = 0; i < GameLoop.getInstance().getEnemies().size(); i++) {\n Enemy e = GameLoop.getInstance().getEnemies().get(i);\n System.out.println(e.getHP());\n if(this.getDirection() == Direction.LEFT && e.getX() > this.getX()- 5 * this.getWeapon().getRange() && e.getX() < this.getX() + 50 && this.getY() + 50 > e.getY() && this.getY() - 50 < e.getY()){\n dealDamage(e);\n }else if(this.getDirection() == Direction.RIGHT && e.getX() < this.getX()+ 5 * this.getWeapon().getRange() && e.getX() > this.getX() - 50 && this.getY() + 50 > e.getY() && this.getY() - 50 < e.getY()){\n dealDamage(e);\n }\n }\n if(!this.getSprite().equals(this.attackSprite)) {\n this.setSprite(this.attackSprite);\n }\n time = System.currentTimeMillis();\n }\n }", "title": "" }, { "docid": "475aaa97b48a2b83484fd52239a03957", "score": "0.61690843", "text": "public void onScannedRobot(ScannedRobotEvent e) {\r\n\r\n Double enemyEnergy = e.getEnergy();\r\n Double enemyDistance = e.getDistance();\r\n out.println(\"Distance = \" + enemyDistance);\r\n\r\n // Credits to Mathew A. Nelson\r\n double angle = normalRelativeAngleDegrees(e.getBearing() + (getHeading() - getGunHeading()));\r\n\r\n // Targeting and firing to use if hitting enemy or if enemy runs out of energy\r\n if (missed < 6 || enemyEnergy == 0.0) {\r\n // Stay still if robot is less than 200 pixels away\r\n if (enemyDistance < 200.0) {\r\n move = false;\r\n }\r\n else {\r\n move = true;\r\n }\r\n\r\n turnGunRight(angle);\r\n\r\n // Fire at enemy robot based on distance, closer = stronger, farther = weaker\r\n if (enemyDistance < 100) {\r\n fire(4);\r\n out.println(\"Power = 4\");\r\n }\r\n else if (enemyDistance < 200) {\r\n fire(2);\r\n out.println(\"Power = 2\");\r\n }\r\n else if (enemyDistance < 400) {\r\n fire(1);\r\n out.println(\"Power = 1\");\r\n }\r\n }\r\n // Targeting and firing to use if missing enemy, lead right\r\n else {\r\n if (missed < 6 && missed <= 12) {\r\n // Adjust gun angle to lead target\r\n if (enemyDistance < 100) {\r\n turnGunRight(angle + 12);\r\n }\r\n else if (enemyDistance < 200) {\r\n turnGunRight(angle + 15);\r\n }\r\n else if (enemyDistance < 300) {\r\n turnGunRight(angle + 17);\r\n }\r\n else if (enemyDistance < 400) {\r\n turnGunRight(angle + 20);\r\n }\r\n // Fire at enemy robot based on distance, closer = stronger, farther = weaker\r\n if (enemyDistance < 400) {\r\n fire(2);\r\n out.println(\"Power = 2\");\r\n }\r\n else {\r\n fire(1);\r\n out.println(\"Power = 1\");\r\n }\r\n }\r\n else {\r\n // Adjust gun angle to lead target, lead left\r\n if (enemyDistance < 100) {\r\n turnGunRight(angle - 12);\r\n }\r\n else if (enemyDistance < 200) {\r\n turnGunRight(angle - 15);\r\n }\r\n else if (enemyDistance < 300) {\r\n turnGunRight(angle - 17);\r\n }\r\n else if (enemyDistance < 400) {\r\n turnGunRight(angle - 20);\r\n }\r\n\r\n // Fire at enemy robot based on distance, closer = stronger, farther = weaker\r\n if (enemyDistance < 400) {\r\n fire(2);\r\n out.println(\"Power = 2\");\r\n }\r\n else {\r\n fire(1);\r\n out.println(\"Power = 1\");\r\n }\r\n }\r\n }\r\n turnRadarRight(90);\r\n }", "title": "" }, { "docid": "2e736982cdb7a0a32a1300889a88921f", "score": "0.6139906", "text": "public abstract void enemyHit();", "title": "" }, { "docid": "af18123a2561e9cdce65914a3bd100e9", "score": "0.61378676", "text": "public void fire() {\r\n\t\tLCD.clear();\r\n\t\tSystem.out.println(\"Target locked, firing\");\r\n\t\ttry {\r\n\t\t\tdata.sendUTF(\"Shooting at \" + towerMotors[AZIMUTHMOTOR].getTachoCount());\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t// Accelerate to firing speed\r\n\t\ttowerMotors[GUNMOTOR].setAcceleration(250);\r\n\t\ttowerMotors[GUNMOTOR].setSpeed(HIGHSPEED);\r\n\t\tDelay.msDelay(500);\r\n\t\t// feed ammunition to the launcher and rechamber\r\n\t\ttowerMotors[RELOADMOTOR].rotate(-360);\r\n\t\t// return to idle state\r\n\t\ttowerMotors[GUNMOTOR].setSpeed(MEDIUMSPEED);\r\n\t}", "title": "" }, { "docid": "a85a452acde69022e7372c549879543e", "score": "0.6107868", "text": "@Override\n public void receiveFirePokemonAttack(IAttack anAttack) {\n receiveAttack(anAttack);\n }", "title": "" }, { "docid": "284b88eb30df6e46e527b080bee05b73", "score": "0.60993", "text": "@Override\n public void mouseReleased(MouseEvent e) {\n if(readyToShoot){\n // If ready to shoot, process the shot\n setReadyToShoot(false);\n analyzeShot(e.getY());\n }\n // If not ready to shoot, do nothing\n }", "title": "" }, { "docid": "0c82368316cbaef32d7cfdaa8a4eb542", "score": "0.60985017", "text": "protected void fireAtTarget()\n {\n //Debug\n gunInstance.debugRayTrace(center, getEntityAim(), aimPoint, bulletSpawnOffset);\n\n //Check fi has ammo, then fire\n if (gunInstance.chamberNextRound())\n {\n aimPoint = getAimPoint(target);\n gunInstance.fireWeapon(oldWorld(), 1, aimPoint, aim); //TODO get firing ticks\n }\n }", "title": "" }, { "docid": "d16f7cd20debff63b4969f98cad358be", "score": "0.60950035", "text": "public void fire(SpaceWars game) {\n this.RoundsAfterFire++;\n if (this.RoundsAfterFire > 7) {\n if (this.CurrentEnergyLevel >= 19){\n game.addShot(this.ShipPhysics);\n this.RoundsAfterFire = 0;\n this.CurrentEnergyLevel -= 19;\n if (this.CurrentEnergyLevel < 0)\n this.CurrentEnergyLevel = 0;\n }\n }\n }", "title": "" }, { "docid": "78cf1cf841cab4189ff0d7baff3c1544", "score": "0.6094102", "text": "public void fireNpsMissile() {\n\t\tNonPlayerShip nps = null;\n\t\tIIterator i = goc.getIterator();\t\t\n\t\t\n\t\t// search collection for NPS\n\t\twhile(i.hasNext()) {\n\t\t\tGameObject g = (GameObject)i.getNext();\n\t\t\t\n\t\t\tif (g instanceof NonPlayerShip) {\n\t\t\t\tnps = (NonPlayerShip)g;\n\t\t\t\t\n\t\t\t\t// if the NPS has missiles left\n\t\t\t\tif (nps.fireMissile()) {\n\t\t\t\t\t// create a new missile at NPS location\n\t\t\t\t\tMissile m = new Missile(nps.getLocation().getX(), nps.getLocation().getY(), \n\t\t\t\t\t\t\tnps.getSpeed(), nps.getLauncherDirection(),\tfalse);\n\t\t\t\t\t// add the missile to collection\n\t\t\t\t\tgoc.add(m);\n\t\t\t\t\tnpsFire.play(this);\n\t\t\t\t\tSystem.out.println(\"NPS fired missile.\");\n\t\t\t\t\t\n\t\t\t\t\t// update the views\n\t\t\t\t\tthis.setChanged();\n\t\t\t\t\tthis.notifyObservers(new GameWorldProxy(this));\n\t\t\t\t\treturn;\n\t\t\t\t} \n\t\t\t}\n\t\t}\n\t\t\n\t\tif (nps != null)\n\t\t\tSystem.out.println(\"Unable to [Launch] missile: Current NPS's are out of missiles!\");\n\t\telse\n\t\t\tSystem.out.println(\"ERROR - Unable to [Launch] missile: NPS doesn't exist!\");\n\t}", "title": "" }, { "docid": "5dee3f2a4e6798ea0072e44f86a3f956", "score": "0.60653025", "text": "@Override\r\n\tpublic void action() {\n\t\towner.getEnemies().add(new SideToPlayer(x-700, y-300, \"images/effects/fire.gif\", owner, true, -10));\r\n\t\t((SideToPlayer) owner.getEnemies().get(owner.getEnemies().size()-1)).setTurning(false);\r\n\t\towner.getEnemies().add(new SideToPlayer(x-700, y-200, \"images/effects/fire.gif\", owner, true, -10));\r\n\t\t((SideToPlayer) owner.getEnemies().get(owner.getEnemies().size()-1)).setTurning(false);\r\n\t\towner.getEnemies().add(new SideToPlayer(x-700, y-100, \"images/effects/fire.gif\", owner, true, -10));\r\n\t\t((SideToPlayer) owner.getEnemies().get(owner.getEnemies().size()-1)).setTurning(false);\r\nowner.getEnemies().add(new SideToPlayer(x-700, y, \"images/effects/fire.gif\", owner, true, -10));\r\n((SideToPlayer) owner.getEnemies().get(owner.getEnemies().size()-1)).setTurning(false);\r\nowner.getEnemies().add(new SideToPlayer(x-700, y+100, \"images/effects/fire.gif\", owner, true, -10));\r\n((SideToPlayer) owner.getEnemies().get(owner.getEnemies().size()-1)).setTurning(false);\r\n\t}", "title": "" }, { "docid": "3029c2af01e923ec670eea962ba63f1d", "score": "0.6046257", "text": "public void Tick()\n\t{\n\t\tif(!IsCollidingWithPlayer())\n\t\t{\t\n\t\t\t//Random -> one way to randomize the enemy \"AI\" movements\n\t\t\tif(Game.random.nextInt(100) < 70)\n\t\t\t{\n\t\t\t\tif((int)this.x < Game.player.GetX() && \n\t\t\t\t\t\tWorld.isFree((int)(x+speed), this.GetY()) &&\n\t\t\t\t\t\t!IsCollidingWithEnemy((int)(x+speed), this.GetY()))\n\t\t\t\t{\n\t\t\t\t\tx += speed;\n\t\t\t\t}\n\t\t\t\telse if((int)this.x > Game.player.GetX() && \n\t\t\t\t\t\tWorld.isFree((int)(x-speed), this.GetY()) &&\n\t\t\t\t\t\t!IsCollidingWithEnemy((int)(x-speed), this.GetY()))\n\t\t\t\t{\n\t\t\t\t\tx -= speed;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif((int)this.y < Game.player.GetY() && \n\t\t\t\t\t\tWorld.isFree(this.GetX(), (int)(y+speed)) &&\n\t\t\t\t\t\t!IsCollidingWithEnemy(this.GetX(), (int)(y+speed)))\n\t\t\t\t{\n\t\t\t\t\ty += speed;\n\t\t\t\t}\n\t\t\t\telse if((int)this.y > Game.player.GetY() && \n\t\t\t\t\t\tWorld.isFree(this.GetX(), (int)(y-speed)) &&\n\t\t\t\t\t\t!IsCollidingWithEnemy(this.GetX(), (int)(y-speed)))\n\t\t\t\t{\n\t\t\t\t\ty -= speed;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif(Game.random.nextInt(100) < 10)\n\t\t\t{\n\t\t\t\tGame.player.life-= Game.random.nextInt(3);\n\t\t\t\tGame.player.isDamaged = true;\n\t\t\t\t//System.out.println(\"Player' s Life: \" + Game.player.life);\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Update frames\n\t\tframes++;\n\t\t\n\t\tif(frames == maxFrames)\n\t\t{\n\t\t\tframes = 0;\n\t\t\tindex++;\n\t\t\tif(index > maxIndex)\n\t\t\t{\n\t\t\t\tindex = 0;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "8d475931eccde7a81bda897c172f1aa5", "score": "0.60443354", "text": "@Override\n protected void shoot() {\n shootBullet(5);\n }", "title": "" }, { "docid": "6df152f27e2831edc040e0f7ee3540af", "score": "0.6038475", "text": "@Override\n\tpublic void fire(ScannedRobotEvent e) {\n\t\tbossBot.fire(1);\n\t}", "title": "" }, { "docid": "5c554eee51347f8ba29676915b51c46f", "score": "0.6021077", "text": "public void attack(){\n\t\tfor (Unit player : Paint.getUnits()){\n\t\t\tif (player.getPlayer() == this.player)\n\t\t\t\tcontinue;\n\t\t\tif (this.slash(player)){\n \t\t\tplayer.addDamage(this.damage);\n \t\t\tif (player.isDead()){\n \t\t\t\tthis.score += 1;\n \t\t\t\t//Paint.send(\"PLAYER \"+this.player+\" SCORES \"+1);\n \t\t\t}\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "fdd97a06748ddce8e848a2f6682b3883", "score": "0.60179394", "text": "abstract void arrivedAtFire();", "title": "" }, { "docid": "67399c312949d835a7a0d8454c61f8a9", "score": "0.6014813", "text": "public boolean shootAt(int row, int column){\n\t\tthis.shotsFired++;\n\t\tShip s = ships[row][column];\n\t\t\n\t\tif(s.getShipType() == \"emptySea\"){\n\t\t\ts.hit[0]=true;\n\t\t\tSystem.out.println(\"miss...\");\n\t\t\treturn false;\n\t\t}else {\n\t\t\tSystem.out.println(\"hit ! \");\n\t\t\tif(s.isHorizontal()){\n\t\t\t\tint h = column-s.getBowColumn(); // to determine the right segment of the ship\n\t\t\t\tif(s.isSunk()){\n\t\t\t\t\treturn false;\n\t\t\t\t}else {\n\t\t\t\t\tthis.hitCount++;\n\t\t\t\t\tif(s.hit[h]) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}else {\n\t\t\t\t\t\ts.hit[h] = true;\n\t\t\t\t\t\tif(s.isSunk()) {\n\t\t\t\t\t\t\tthis.shipsSunk++;\n\t\t\t\t\t\t\tSystem.out.println(\"you just sunk: \"+s.getShipType());\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tint h = row-s.getBowRow();\n\t\t\t\tif(s.isSunk()){\n\t\t\t\t\treturn false;\n\t\t\t\t}else {\n\t\t\t\t\tthis.hitCount++;\n\t\t\t\t\tif(s.hit[h]){\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}else{\n\t\t\t\t\t\ts.hit[h] = true;\n\t\t\t\t\t\tif(s.isSunk()) {\n\t\t\t\t\t\t\tthis.shipsSunk++;\n\t\t\t\t\t\t\tSystem.out.println(\"you just sunk: \"+s.getShipType());\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "da4ae52426fe643e335099827ae40b97", "score": "0.60086167", "text": "public void shot()\n {\n //khoi tao doi tuong bullet va nhet no vao mang vecBullet1 co kieu du lieu Vector\n BulletStraight bul = new BulletStraight(this.postionX + 30, this.postionY, 10, 0);\n vecBullet.add(bul);\n\n }", "title": "" }, { "docid": "cb7e68afdf3515328e855bfe2d77c767", "score": "0.60084903", "text": "@Override\n\tpublic void shot() {\n\t\tLog.i(\"info\", \"我在射击\");\n\t}", "title": "" }, { "docid": "5cd313f75498ba181c8578c2cd5d15ff", "score": "0.6003015", "text": "public void tick() {\n\t\tif (playerShot) y -= 5;\n\t\tif (!playerShot) y += 3;\n\t}", "title": "" }, { "docid": "004d88f6cf5aebbf0682ff11bae1162d", "score": "0.5991088", "text": "public void gotHit() {\n if (!this.shieldIsOn){\n\t\t\tthis.maxEnergy -= SpaceShip.ENERGY_DECREASE_ON_HIT;\n\t\t\tif (this.currentEnergy > this.maxEnergy)\n\t\t\t\tthis.currentEnergy = this.maxEnergy;\n this.currentHealth--;\n\t\t}\n }", "title": "" }, { "docid": "33a3e4111d9e7b6bc6b96fe6e6ba06ef", "score": "0.5976475", "text": "protected boolean shoot(int x, int y) throws GameOverException {\n boolean hit = false;\n if(privateGrid[x][y] != GridEnum.Blank.getSymbol()) {\n hit = true;\n publicGrid[x][y] = GridEnum.Hit.getSymbol();\n privateGrid[x][y] = GridEnum.Hit.getSymbol();\n this.shotAShip();\n }else{\n publicGrid[x][y] = GridEnum.Miss.getSymbol();\n privateGrid[x][y] = GridEnum.Miss.getSymbol();\n }\n return hit;\n }", "title": "" }, { "docid": "23256d952a7b34d0ca546af16ab786d5", "score": "0.59753895", "text": "private void shotAShip() throws GameOverException {\n this.numOfHits--;\n if(this.numOfHits == 0) {\n throw new GameOverException();\n }\n }", "title": "" }, { "docid": "a5f1070e01e6ff0dc3da7189850e93d5", "score": "0.5968763", "text": "@EventHandler\n public void onArmorEquip(ArmorEquipEvent e){\n Player player = e.getPlayer();\n int stunTimer = 300;\n if(e.getNewArmorPiece() != null && e.getNewArmorPiece().getType() != Material.AIR){\n if(e.getNewArmorPiece().getType() == Material.LEATHER_CHESTPLATE){\n if(e.getNewArmorPiece().hasItemMeta()){ // All custom spawned shirts will have meta\n ItemStack chestplate = e.getNewArmorPiece();\n String[] shirtName = chestplate.getItemMeta().getDisplayName().split(\" \");\n if(shirtName[1].equals(\"Shirt\")) {\n switch (ChatColor.stripColor(shirtName[0])) {\n // Only check for special zombie shirts\n case \"Witch\":\n case \"Twitch\":\n stunTimer = 10;\n break;\n case \"Jackal\":\n case \"Tank\":\n stunTimer = 150;\n break;\n case \"Boomer\":\n break;\n default:\n return;\n }\n // Make the wearer of the special shirt that type of zombie\n Stats.addZombie(player.getDisplayName(), stunTimer, shirtName[0], player);\n } else if(shirtName[1].equals(\"Armor\")){\n if(Stats.getHumans().containsKey(player.getDisplayName())){\n player.sendMessage(ChatColor.GREEN + \"You've equipped your Body Armor!\");\n Stats.getHumans().get(player.getDisplayName()).setHasBodyArmor(true);\n }\n }\n }\n }\n } else {\n if(e.getOldArmorPiece() != null && e.getOldArmorPiece().getType() != Material.AIR){\n if(e.getOldArmorPiece().getType() == Material.LEATHER_CHESTPLATE){\n if(e.getOldArmorPiece().hasItemMeta()){\n String[] itemName = e.getOldArmorPiece().getItemMeta().getDisplayName().split(\" \");\n if(itemName[1].equals(\"Shirt\")){\n if(Stats.getZombies().containsKey(player.getDisplayName())){\n // When unequipping a special shirt, make the unequipper a regular zombie again\n Stats.addZombie(player.getDisplayName(), 300, \"Zombie\", player);\n }\n } else if(itemName[1].equals(\"Armor\")){\n if(Stats.getHumans().containsKey(player.getDisplayName())){\n // Remove body armor\n player.sendMessage(ChatColor.RED + \"You have unequipped your Body Armor!\");\n Stats.getHumans().get(player.getDisplayName()).setHasBodyArmor(false);\n }\n }\n }\n }\n }\n }\n }", "title": "" }, { "docid": "fa61d6c6e93842e3eb76e616feaf1d7e", "score": "0.5966552", "text": "@Override\r\n public void shoot() {\r\n Chicken target = SingletonGame.getInstance().getNearestInRangeChicken(position, range);\r\n if (target != null) {\r\n SingletonGame.getInstance().addBullet(Art.purpleBullet, 4, position, target, damage, bulletsSpeed);\r\n }\r\n recharge = fireRate;\r\n }", "title": "" }, { "docid": "66a1b4c2aad729b2e0d1ced4ca750e53", "score": "0.5963805", "text": "void fire();", "title": "" }, { "docid": "15b1764d462d6919936e831c350267bb", "score": "0.5955727", "text": "@Override\n public void doHit(GameEntity entity)\n {\n }", "title": "" }, { "docid": "871232a1de17de324504e66c8f406c55", "score": "0.5923395", "text": "public void gunWasShot() {\r\n\t\tif (!avatar.isDestroyed()) {\r\n\t\t\tAbstractGameSprite tempBullet = gun.createBullet\r\n\t\t\t\t\t\t\t\t\t\t\t(finder, avatar.getCenterX(), avatar.getCenterY());\r\n\t\t\t\r\n\t\t\tbullets.add(tempBullet);\r\n\t\t\tstage.add(tempBullet);\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e469fd43d499ce0981931931ba3421f9", "score": "0.59185666", "text": "public void sendAttackHit(Ship attackedShip){\n\t\ttry{\n\t\t\tSystem.out.println(\"sending attack hit started...\");\n\t\t\toutput.writeBytes(\"attack_hit_action\");\n\t\t\toutput.writeByte(0);\n\t\t\toutput.writeInt(attackedShip.getID());\n\t\t\toutput.writeInt(attackedShip.getHealth());\n\t\t} catch (IOException e){\n\t\t\tSystem.out.println(\"Caught IOException sending attack hit\");\n\t\t\tSystem.exit(-1);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "b8fab943ac37b5180e6a968d98a66251", "score": "0.5917671", "text": "public void afterHitted(int numberDown, int numberAcross){\n for(int i = 0; i < shipList.size(); i++){\r\n for(int j = 0; j < shipList.get(i).getShipPositionDown().size(); j++){\r\n if(numberDown == shipList.get(i).getShipPositionDown(j)){\r\n if(numberAcross == shipList.get(i).getShipPositionAcross(j)){\r\n boardShots[numberDown][numberAcross] = Character.forDigit(shipList.get(i).getSize(),10);\r\n //boardShots[numberDown][numberAcross] = (char) shipList.get(i).getSize();\r\n int size = shipList.get(i).getShipPositionDown().size();\r\n if(size == 1)\r\n {\r\n System.out.println(\"Lucky you! \" + shipList.get(i).getName() + \" is wrecked!\");\r\n System.out.println(\"It was your \" + shotList.size() + \" shot.\");\r\n shipList.get(i).removePosition(j);\r\n shipList.remove(i);\r\n return;\r\n }\r\n if(size > 1){\r\n System.out.println(\"Lucky you! \" + shipList.get(i).getName() + \" is hitted!\");\r\n System.out.println(\"You need to hit it \" + (shipList.get(i).getShipPositionDown().size() - 1) +\r\n \" more time to wreck it completely.\");\r\n System.out.println(\"It was your \" + shotList.size() + \" shot.\");\r\n shipList.get(i).removePosition(j);\r\n return;\r\n }\r\n\r\n }\r\n }\r\n }\r\n\r\n }\r\n }", "title": "" }, { "docid": "91b1bc5ae414c4b5288d32cca0f2fafe", "score": "0.5917247", "text": "public static void parseShotTypeAndShoot(BodyInfo target, String shotType) throws GameActionException {\n\t\tswitch (shotType) {\n\t\t\tcase SINGLE_SHOT:\n\t\t\t\tshootSingleShot(target);\n\t\t\t\tbreak;\n\t\t\tcase TRIAD_SHOT:\n\t\t\t\tshootTriadShot(target);\n\t\t\t\tbreak;\n\t\t\tcase PENTAD_SHOT:\n\t\t\t\tshootPentadShot(target);\n\t\t\t\tbreak;\n\t\t\tdefault: // do nothing, it isn't worth shooting.\n\t\t}\n\t}", "title": "" }, { "docid": "9ab6718e27cdad351c6bf42a568bd73c", "score": "0.59000415", "text": "public void fire(){\n AmmoCount ammoCount = world.getAmmoCount();\n if(Greenfoot.isKeyDown(\"space\") && ammoCount.getAmmo() > 0){\n if(currentFireCooldown > 0){\n //do nothing, weapon on cooldown\n }else{\n ammoCount.removeOneAmmo();\n MouseInfo mouse = Greenfoot.getMouseInfo();\n double angle = 0;\n int X = getX();\n int Y = getY();\n if(mouse != null){\n cursorX = mouse.getX();\n cursorY = mouse.getY();\n }\n angle = relativeAngle(cursorX, cursorY);\n Bullet bullet = new Bullet(angle, 0);\n world.addObject(bullet, X, Y);\n bullet.initialiseLocation();\n currentFireCooldown = fireCooldown;\n }\n }\n }", "title": "" }, { "docid": "b472f49dfdcb7857edc442eb3f9f07dc", "score": "0.589989", "text": "public Ship fireMissile( Position coordinate )\r\n\t{\r\n\t//\tmyShips.\r\n\t//\tif( Ship.this.position.contains(coordinate) == true )\r\n\t//\t\tShip.this.drawShipStatusAtCell(true);\r\n\t\treturn null; //for the time being\r\n\t}", "title": "" }, { "docid": "a56e1d86fb8e0a2c69148a34acf01d9c", "score": "0.5892835", "text": "private void firePlayerShot1(Vector3f src, Vector3f targ, float speed, float scale, BULLET type) {\n StaticBullet sS = new StaticBullet(\"shot\" + shotCount++, 50.5f);\n if(type == BULLET.ARROWSHOT_R) {\n sS.attachChild(arrowShotR.clone().scale(3));\n } else {\n sS.attachChild(arrowShotR.clone().scale(3));\n }\n sS.scale(scale);\n //StraightShot straightControl = new StraightShot(sS,src,targ.subtract(src),speed);\n VarSpeedShot straightControl = new VarSpeedShot(sS,src,new Vector3f(0,-5,0),speed, 1f, 60);\n sS.addControl(straightControl);\n \n ParticleEmitter shotFlame = new ParticleEmitter(\"shotEmitter\" + (shotCount- 1),ParticleMesh.Type.Triangle, 90);\n Material flameMat = new Material(assetManager, \"MatDefs/Particle.j3md\");\n flameMat.setTexture(\"m_Texture\", assetManager.loadTexture(\"Textures/game/flame.png\"));\n shotFlame.setMaterial(flameMat);\n shotFlame.setQueueBucket(Bucket.Translucent);\n shotFlame.setNumParticles(250);\n shotFlame.setImagesX(2);\n shotFlame.setImagesY(2);\n //shotFlame.getParticleInfluencer().setInitialVelocity(player.getLocalTranslation().subtract(enemy.getLocalTranslation()).normalize().mult(10));\n shotFlame.getParticleInfluencer().setInitialVelocity(new Vector3f(0,20,0));\n shotFlame.setLowLife(0.6f);\n shotFlame.setHighLife(1f);\n shotFlame.setStartSize(2);\n shotFlame.setEndSize(0.1f);\n shotFlame.setEndColor(new ColorRGBA(1f, 0f, 0f, 0.1f)); // red\n shotFlame.setStartColor(new ColorRGBA(1f, 1f, 0f, 0.2f)); // yellow\n shotFlame.setParticlesPerSec(300);\n shotFlame.setVelocityVariation(0.9f);\n sS.attachChild(shotFlame);\n heat -= 500;\n shotNode.attachChild(sS);\n }", "title": "" }, { "docid": "46495f44e90802ccc13732ecb2a0aa4a", "score": "0.5887544", "text": "private void PosHit() {\n\t\t\n\t}", "title": "" }, { "docid": "21f38181e8465cbb7284e37c21339e5c", "score": "0.5873546", "text": "private void fireBullet() {\n\n\t\tfireAction = true;\n\n\t}", "title": "" }, { "docid": "bae1b3eea6dd06d79c6bc60a0a1ac303", "score": "0.5864566", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\tif (w.isGameOver()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tOcean o = w.getOcean();\r\n\t\tPosition pos;\r\n//\t\tif (w.getPlayerName().equals(\"Nicholas Marthinuss' Strategy\")) { // XXX: This is a shit way to do this\r\n//\t\t\tpos = w.getPlayer().shoot();\r\n//\t\t} else {\r\n\t\tpos = shoot(e.getPoint());\r\n//\t\t}\r\n\r\n\t\tif (pos != null) {\r\n\t\t\to.shootAt(pos);\r\n\t\t\tw.getPlayer().updatePlayer(p2p(e.getPoint()), o.hit(pos), o.boatInitial(pos), o.boatName(pos), o.sunk(pos),\r\n\t\t\t\t\to.allSunk(), w.getTurns() > 100, w.getTurns());\r\n\t\t\tif (w.getOcean().allSunk()) {\r\n\t\t\t\tw.setGameOver(true);\r\n\t\t\t}\r\n\r\n\t\t\t// do opponent shot here as well\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "541cc3dd63fe72f9f482bc48d93373d7", "score": "0.5857852", "text": "private void doShot(Player player) {\n System.out.println(\" \");\n System.out.println(\"Ходит \" + player.getName().toUpperCase() + \"\\n\");\n gameField.showGameField();\n System.out.print(\"\\n*** \" + player1.getName().toUpperCase() + \" ходит \\\"\" + player1.getSymbol() + \"\\\" / \");\n System.out.println(player2.getName().toUpperCase() + \" ходит \\\"\" + player2.getSymbol() + \"\\\" ***\\n\");\n do {\n System.out.print(\"Номер строки: (0,1,2 или 3)\");\n coordinates.setX(sc.nextInt());\n System.out.print(\"Номер столбца: (0,1,2 или 3)\");\n coordinates.setY(sc.nextInt());\n if(gameField.isCellAlreadyUsed(coordinates)) System.out.println(\"Эта клетка уже занята, введите другие координаты\");\n } while (gameField.isCellAlreadyUsed(coordinates));\n gameField.addShot(coordinates, player.getSymbol());\n\n }", "title": "" }, { "docid": "b01f246fd72a01de87b9f4dec8899b1d", "score": "0.58519244", "text": "private void fireTorpedo(Ship attacker, Ship defender) {\n TrekwarServer.LOG.log(Level.FINE, \"{0} firing torpedo at {1}\", new Object[]{attacker.getShipId(), defender.getShipId()});\n int[] result = getRandomTorpedoLauncherDamage(attacker, attacker.getActionPoints());\n int damage = result[0];\n int apcost = result[1];\n if (damage < 1) {\n // no weapon found.. spend 2 AP point to avoid deadlock\n attacker.spendActionPoints(2);\n return;\n }\n\n attacker.spendActionPoints(apcost);\n TrekwarServer.LOG.log(Level.FINE, \"Torpedo damage = {0}, AP cost = apcost\", damage);\n\n if (chanceToHit(attacker, defender) > 100) {\n TrekwarServer.LOG.log(Level.FINE, \"Torpedo hit\");\n // crits based on skill\n int critRoll = TrekwarServer.PRNG.nextInt(1000);\n if (critRoll < (attacker.getXp() + 50)) {\n TrekwarServer.LOG.log(Level.FINE, \"Critical Hit\");\n damage += (damage / 2);\n }\n\n // damage against shields\n if (defender.getCurrentShieldStrength() > 0) {\n int damageRemainder = damage - defender.getCurrentShieldStrength();\n defender.setCurrentShieldStrength(defender.getCurrentShieldStrength() - damage);\n if (damageRemainder > 2) {\n // took down shields, half remaining damage goes to armor/hp\n damage = damageRemainder / 2;\n } else {\n // shields still up\n return;\n }\n }\n\n // damage against armor\n if (defender.getCurrentArmorStrength() > 0 && damage > 0) {\n int damageRemainder = damage - defender.getCurrentArmorStrength();\n defender.setCurrentArmorStrength(defender.getCurrentArmorStrength() - (damage * 2));\n if (damageRemainder > 0) {\n // destroyed armor, more damage hp\n damage = damageRemainder - 5;\n } else {\n // armor holding\n return;\n }\n }\n\n // damage against structure (hitpoints)\n if (defender.getCurrentHullStrength() > 0 && damage > 0) {\n defender.setCurrentHullStrength(defender.getCurrentHullStrength() - (damage * 3));\n }\n } else {\n TrekwarServer.LOG.log(Level.FINE, \"Torpedo Missed\");\n }\n }", "title": "" }, { "docid": "7c81eafcfca2d4512a1f7aad63f75f69", "score": "0.58486396", "text": "public void hitEvent(Block beingHit, Ball hitter) {\r\n currentScore.increase(5);\r\n }", "title": "" }, { "docid": "eae3028aa779b50aa4e3fed6aff85ebf", "score": "0.5842807", "text": "public void attack(Ship enemy) {\n System.out.println(\"Attaque lancée du \"+ this.getClass().getSimpleName().toString() +\" \"+ this.getOwner().getRace().toString() + \" de \" +this.getOwner().getName()\n +\" sur le \"+enemy.getClass().getSimpleName().toString() +\" \"+ enemy.getOwner().getRace().toString() + \" de \" +enemy.getOwner().getName());\n\n if(enemy.hasShield) {\n enemy.hasShield = false;\n System.out.println(\"Bouclier détruit sur le \"+enemy.getClass().getSimpleName().toString() +\" \"+ enemy.getOwner().getRace().toString() + \" de \" +enemy.getOwner().getName());\n }\n enemy.setHealth(enemy.getHealth() - this.damage);\n if(enemy.health <= 0) {\n enemy.death();\n }\n }", "title": "" }, { "docid": "f0903ee16c47b6d877d43e8274dad4eb", "score": "0.584186", "text": "private void shipToShip(Ship attacker, Ship defender) {\n TrekwarServer.LOG.log(Level.FINE, \"Calculating Ship to Ship combat\");\n\n // prevent fireing torpedo launchers more times than there are torpedo launchers on ship\n int torpedoLaunchers = attacker.countTorpedoLaunchers();\n\n // prevent each beam emitter from firering more than 3 times\n int beamEmitters = attacker.countBeamEmitters() * 3;\n\n TrekwarServer.LOG.log(Level.FINE, \"Number of torpedo launchers = {0}, beam emitters = {1}, AP = {2}\", new Object[]{torpedoLaunchers, beamEmitters, attacker.getActionPoints()});\n\n while (attacker.getActionPoints() > 0) {\n TrekwarServer.LOG.log(Level.FINE, \"Attacker AP left = {0}\", attacker.getActionPoints());\n\n // remove all action points if weapons have been fired too may times\n if (beamEmitters == 0 && torpedoLaunchers == 0) {\n attacker.spendActionPoints(attacker.getActionPoints());\n }\n\n // prefer beam weapons if enemy has shields up\n if (defender.getCurrentShieldStrength() > 0 && beamEmitters > 0) {\n TrekwarServer.LOG.log(Level.FINE, \"Defender shields are up, preferring beam emitters\");\n if (attacker.hasBeamWeapons()) {\n beamEmitters--;\n fireBeamWeapon(attacker, defender);\n } else if (attacker.hasTorpedoLauncher() && torpedoLaunchers > 0) {\n torpedoLaunchers--;\n fireTorpedo(attacker, defender);\n } else {\n // could not fire beam OR torpedoes (out of weapons to fire, loose remaining AP)\n attacker.spendActionPoints(attacker.getActionPoints());\n }\n }\n // prefer torpedoes if shields are down\n else {\n TrekwarServer.LOG.log(Level.FINE, \"Defender shields are down, preferring torpedoes\");\n if (attacker.hasTorpedoLauncher() && torpedoLaunchers > 0) {\n torpedoLaunchers--;\n fireTorpedo(attacker, defender);\n } else if (attacker.hasBeamWeapons() && beamEmitters > 0) {\n beamEmitters--;\n fireBeamWeapon(attacker, defender);\n } else {\n // could not fire beam OR torpedoes (out of weapons to fire, loose remaining AP)\n attacker.spendActionPoints(attacker.getActionPoints());\n }\n }\n }\n }", "title": "" }, { "docid": "126094b1862c9004e9e2437885b94777", "score": "0.5841551", "text": "private void isTowerShooting(long gameTime)\r\n {\r\n \t for(int i = 0; i < enemyTurretList.size(); i++)\r\n {\r\n EnemyTurret et = enemyTurretList.get(i);\r\n \tif(et.isFiring(gameTime)){ \t\t\r\n \t\t\tGBullet.timeOfLastCreatedBullet = gameTime;\r\n \t\tGBullet gb = new GBullet(et.machineGunXcoordinate, et.machineGunYcoordinate, player);\r\n \t\t//for(int k = 0; k < 4; k++){\r\n \t\t\tgBulletsList.add(gb); \r\n \t\t//}\r\n \t}\r\n }\r\n }", "title": "" }, { "docid": "36c87db62ea1f8a52f49f4e1168e9667", "score": "0.583821", "text": "public void fire() {\n\n }", "title": "" }, { "docid": "de2bb589fb11f335ea0b161728d7738a", "score": "0.58354753", "text": "void update(float dt){\r\n\t\t\r\n\t\tship.update(dt);\r\n\t\tif(ship.finished_dying){\r\n\t\t\t\r\n\t\t\tMessage msg = BM.game_panel.game.handler.obtainMessage();\r\n\t\t\tmsg.what=2;\r\n\t\t\tBM.game_panel.game.handler.sendMessage(msg);\r\n\t\t}\r\n\t\tif (!ship.death) {\r\n\t\t\tbackground.update(dt);\r\n\t\t\tSM.update(dt);\r\n\t\t\tcoin.update(dt);\r\n\t\t\trocket_fired.update(dt);\r\n\t\t\tif(rocket_fired.x>ScreenWidth/2)\r\n\t\t\t\tfor(int i=0; i<5; i++)\r\n\t\t\t\t\tMonsters.get(i).inccounter();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\tfor(int j=0; j<5;j++){\r\n\t\t\t\tMonsters.get(j).update(dt);\r\n\t\t\t\tfor(int i=0;i<SM.shots.size();i++){\r\n\t\t\t\tArrayList<Point> temp = new ArrayList<Point>(SM.shots.get(i).GetArray());\r\n\t\t\t\tif(Monsters.get(j).bump(temp.get(0), temp.get(1), temp.get(2),\r\n\t\t\t\t\t\ttemp.get(3))){\r\n\t\t\t\t\t\tif(Monsters.get(j).getdeathcounter()<1){\r\n\t\t\t\t\t\tSM.shots.get(i).setX(-200);\r\n\t\t\t\t\t\tSM.shots.get(i).setY(-200); }\r\n\t\t\t\t\t\tMonsters.get(j).inccounter();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\tArrayList<Point> temp2 = new ArrayList<Point>(Monsters.get(j).GetArray());\t\r\n\t\t\t\tif(!ship.hit && Monsters.get(j).getdeathcounter()<1)\r\n\t\t\t\t\tif (ship.bump(temp2.get(0), temp2.get(1), temp2.get(2),\r\n\t\t\t\t\t\ttemp2.get(3))){\r\n\t\t\t\t\t\tdeathcounter++;\r\n\t\t\t\t\t\tship.setHit(true);\r\n\t\t\t\t\t\tship.setBitmap(level_propreties.ship_faded,level_propreties.ship_array_faded);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(ship.hit){\r\n\t\t\t\thitcounter+=dt;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif(hitcounter>3){\r\n\t\t\t\tship.setHit(false);\r\n\t\t\t\tship.setBitmap(level_propreties.ship,level_propreties.ship_array);\r\n\t\t\t\thitcounter=0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tfor(int i=0; i<deathcounter;i++)\r\n\t\t\t\tHearts.get(Hearts.size()-1-i).setBitmap(level_propreties.heart_empty);\r\n\t\t\tfor(int i=Hearts.size()-1;i>deathcounter-1 ;i--)\r\n\t\t\t\tHearts.get(Hearts.size()-1-i).setBitmap(level_propreties.heart_full);\r\n\t\t\tif(deathcounter==Hearts.size()){\r\n\t\t\t\t\r\n\t\t\t\tship.death=true;\r\n\t\t\t\tMediaPlayer mp = MediaPlayer.create(game, R.raw.boom);\r\n\t\t\t\tmp.setVolume(0.3f, 0.3f);\r\n\t\t\t\tif(!mp.isPlaying() && MainMenu.sound==1)\r\n\t\t\t\t\tmp.start();\r\n\t\t\t\t//sending a message to the handler of the main game activity\r\n\t\t\t\t//that we crashed\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t//we fill an array of points and check for\r\n\t\t\t//collision with the coin\r\n\t\t\tArrayList<Point> coin_point = new ArrayList<Point>(coin.GetArray());\r\n\t\t\tif (ship.bump(coin_point.get(0), coin_point.get(1), coin_point.get(2),\r\n\t\t\t\t\tcoin_point.get(3))){\r\n\t\t\t\t//if we collide, we make the coin disappear\r\n\t\t\t\t//by moving it outside the screen\r\n\t\t\t\tcoin.incX();\r\n\t\t\t\tcoin.randomizeY();\r\n\t\t\t\t\r\n\t\t\t\t//sending a message to the handler of the main game activity\r\n\t\t\t\t//that we got a coin\r\n\t\t\t\tMessage msg = BM.game_panel.game.handler.obtainMessage();\r\n\t\t\t\tmsg.what=0;\r\n\t\t\t\tBM.game_panel.game.handler.sendMessage(msg);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\tclock.update(dt);\r\n\t\t\tArrayList<Point> clock_point = new ArrayList<Point>(clock.GetArray());\r\n\t\t\t if (ship.bump(clock_point.get(0), clock_point.get(1), clock_point.get(2),\r\n\t\t\t\tclock_point.get(3)))\r\n\t\t\t{\r\n\t\t\t\tShipSpeed=ShipSpeed/2;\r\n\t\t\t\tclock_timer = true;\r\n\t\t\t\tclock.randomizeX(1);\r\n\t\t\t\tif(!clock.mp.isPlaying() && MainMenu.sound==1)\r\n\t\t\t\t\t clock.mp.start();\r\n\t\t\t}\r\n\t\t\t \r\n\t\t\tif(clock_timer){\r\n\t\t\t\tclock_counter+=dt;\r\n\t\t\t\tif(clock_counter>5){\r\n\t\t\t\t\tclock_counter=0;\r\n\t\t\t\t\tclock_timer=false;\r\n\t\t\t\t\tShipSpeed=ShipSpeed*2;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\trocket.update(dt);\r\n\t\t\tArrayList<Point> rocket_point = new ArrayList<Point>(rocket.GetArray());\r\n\t\t\t if (ship.bump(rocket_point.get(0), rocket_point.get(1), rocket_point.get(2),\r\n\t\t\t\trocket_point.get(3))){\r\n\t\t\t\t rocket.randomizeX(0);;\r\n\t\t\t\t Message msg = BM.game_panel.game.handler.obtainMessage();\r\n\t\t\t\t msg.what=4;\r\n\t\t\t\t BM.game_panel.game.handler.sendMessage(msg);\r\n\t\t\t\t if(!rocket.mp.isPlaying() && MainMenu.sound==1)\r\n\t\t\t\t\t rocket.mp.start();\r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t heart.update(dt);\r\n\t\t\t ArrayList<Point> heart_point = new ArrayList<Point>(heart.GetArray());\r\n\t\t\t if (ship.bump(heart_point.get(0), heart_point.get(1), heart_point.get(2),heart_point.get(3))){\r\n\t\t\t\t heart.randomizeX(2);\r\n\t\t\t\t if(deathcounter>0)\r\n\t\t\t\t\t\tdeathcounter--;\r\n\t\t\t\t if(!heart.mp.isPlaying() && MainMenu.sound==1)\r\n\t\t\t\t\t heart.mp.start();\r\n\t\t\t }\r\n\t\t\t shield.update(dt);\r\n\t\t\t ArrayList<Point> shield_point = new ArrayList<Point>(shield.GetArray());\r\n\t\t\t if (ship.bump(shield_point.get(0), shield_point.get(1), shield_point.get(2),shield_point.get(3))){\r\n\t\t\t\t shield.randomizeX(2);\r\n\t\t\t\t if(ship.hit)\r\n\t\t\t\t\t hitcounter=0;\r\n\t\t\t\t ship.setHit(true);\r\n\t\t\t\t ship.setBitmap(level_propreties.ship_faded,level_propreties.ship_array_faded);\r\n\t\t\t\t if(!shield.mp.isPlaying() && MainMenu.sound==1)\r\n\t\t\t\t\t shield.mp.start();\r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t \r\n\t\t//not intersection\r\n\t\t\t boolean repeat;\r\n\t\t\t do{\r\n\t\t\t\t repeat=false;\r\n\t\t\t\t \r\n\t\t\t\t for(int i=0;i<5;i++){ //for each monster\r\n\t\t\t\t\t if(Monsters.get(i).getX()>0) {\r\n\t\t\t\t\t\t for(int j=1;j<5 && j!=i;j++){\r\n\t\t\t\t\t\t\t ArrayList<Point> other_monster = new ArrayList<Point>(Monsters.get(j).GetArray());\r\n\t\t\t\t\t\t\t if(Monsters.get(i).bump(other_monster.get(0), other_monster.get(1), other_monster.get(2), other_monster.get(3))){\r\n\t\t\t\t\t\t\t\t Monsters.get(j).incX();\r\n\t\t\t\t\t\t\t\t repeat=true;\r\n\t\t\t\t\t\t }}\r\n\t\t\t\t\t\t ArrayList<Point> other_coin = new ArrayList<Point>(coin.GetArray());\r\n\t\t\t\t\t\t if(Monsters.get(i).bump(other_coin.get(0), other_coin.get(1), other_coin.get(2), other_coin.get(3))){\r\n\t\t\t\t\t\t\t coin.randomizeY();\r\n\t\t\t\t\t\t\t repeat=true;\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t ArrayList<Point> other_clock = new ArrayList<Point>(clock.GetArray());\r\n\t\t\t\t\t\t if(Monsters.get(i).bump(other_clock.get(0), other_clock.get(1), other_clock.get(2), other_clock.get(3))){\r\n\t\t\t\t\t\t\t clock.incX();\r\n\t\t\t\t\t\t\t clock.randomizeY();\r\n\t\t\t\t\t\t repeat=true;\r\n\t\t\t\t\t }\r\n\t\t\t\t\t\t ArrayList<Point> other_rocket = new ArrayList<Point>(rocket.GetArray());\r\n\t\t\t\t\t\t if(Monsters.get(i).bump(other_rocket.get(0), other_rocket.get(1), other_rocket.get(2), other_rocket.get(3))){\r\n\t\t\t\t\t\t\t rocket.incX();\r\n\t\t\t\t\t\t\t rocket.randomizeY();\r\n\t\t\t\t\t\t repeat=true;\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t ArrayList<Point> other_heart = new ArrayList<Point>(heart.GetArray());\r\n\t\t\t\t\t\t if(Monsters.get(i).bump(other_heart.get(0), other_heart.get(1), other_heart.get(2), other_heart.get(3))){\r\n\t\t\t\t\t\t\t heart.incX();\r\n\t\t\t\t\t\t\t heart.randomizeY();\r\n\t\t\t\t\t\t repeat=true;\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t ArrayList<Point> other_shield = new ArrayList<Point>(shield.GetArray());\r\n\t\t\t\t\t\t if(Monsters.get(i).bump(other_shield.get(0), other_shield.get(1), other_shield.get(2), other_shield.get(3))){\r\n\t\t\t\t\t\t\t shield.incX();\r\n\t\t\t\t\t\t\t shield.randomizeY();\r\n\t\t\t\t\t\t repeat=true;\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}while(repeat);\r\n\t}}", "title": "" }, { "docid": "42b9c4972831ce5842e11ed6d02849c1", "score": "0.58320045", "text": "public void doAction(SpaceWars game) {\n if (this.shotDelay > 0)\n this.shotDelay--;\n if (this.currentEnergy + 1 <= this.maxEnergy)\n this.currentEnergy++;\n }", "title": "" }, { "docid": "60563437b1bc0accf1330b3b651a16d2", "score": "0.5820182", "text": "@Override\n public void attackedBy(IEquipableItem equippedItem) {\n int damage;\n if (this.getEquippedItem() != null) {\n damage = equippedItem.fightAgainst(this.getEquippedItem());\n } else {\n damage = equippedItem.getPower();\n }\n int health = this.getCurrentHitPoints();\n if(Math.max(0, health - damage) == 0){\n support.firePropertyChange(\"unitDied\", this, null);\n }\n this.setCurrentHitPoints(Math.max(0, health - damage));\n }", "title": "" }, { "docid": "d3a265cbaadd41af04339a922d21a271", "score": "0.5812484", "text": "public void playerShipHasBeenSunk() {\n\t\tplayerSunkShips++;\n\t}", "title": "" }, { "docid": "911a1b8f56879e7a475d18772b31e6e1", "score": "0.5810829", "text": "public static void onTeleported(L2PcInstance playerInstance)\n\t{\n\t\tif (!isStarted() || (playerInstance == null) || !isPlayerParticipant(playerInstance.getObjectId()))\n\t\t{\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (playerInstance.isMageClass())\n\t\t{\n\t\t\tif ((Config.TVT_ROUND_EVENT_MAGE_BUFFS != null) && !Config.TVT_ROUND_EVENT_MAGE_BUFFS.isEmpty())\n\t\t\t{\n\t\t\t\tfor (int i : Config.TVT_ROUND_EVENT_MAGE_BUFFS.keys())\n\t\t\t\t{\n\t\t\t\t\tL2Skill skill = SkillTable.getInstance().getInfo(i, Config.TVT_ROUND_EVENT_MAGE_BUFFS.get(i));\n\t\t\t\t\tif (skill != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tskill.getEffects(playerInstance, playerInstance);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif ((Config.TVT_ROUND_EVENT_FIGHTER_BUFFS != null) && !Config.TVT_ROUND_EVENT_FIGHTER_BUFFS.isEmpty())\n\t\t\t{\n\t\t\t\tfor (int i : Config.TVT_ROUND_EVENT_FIGHTER_BUFFS.keys())\n\t\t\t\t{\n\t\t\t\t\tL2Skill skill = SkillTable.getInstance().getInfo(i, Config.TVT_ROUND_EVENT_FIGHTER_BUFFS.get(i));\n\t\t\t\t\tif (skill != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tskill.getEffects(playerInstance, playerInstance);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "574b2ca68ad82d7784aed50c7629348c", "score": "0.58063537", "text": "public void sendTo(GarbageHandler enemyGarbageHandler) {\r\n\t\topponentHandler = enemyGarbageHandler;\r\n\t}", "title": "" }, { "docid": "a92d87e098226681e5be7c841669b185", "score": "0.58046275", "text": "public void yeetFireBall() {\n //need to do this each time it changes direction\n //create a fireball at the same position as dragon\n //How do we load a fireball mid game\n FireBall fb = new FireBall(dungeon, getX(), getY(), getDirection());\n dungeon.addDynamicEntity(fb);\n \n }", "title": "" }, { "docid": "89c7bbd588e8821309d1ec088574ed73", "score": "0.5796242", "text": "protected void onImpact(MovingObjectPosition p_70184_1_) {\n/* 34 */ if (p_70184_1_.entityHit != null) {\n/* */ \n/* 36 */ byte var2 = 0;\n/* */ \n/* 38 */ if (p_70184_1_.entityHit instanceof net.minecraft.entity.monster.EntityBlaze)\n/* */ {\n/* 40 */ var2 = 3;\n/* */ }\n/* */ \n/* 43 */ p_70184_1_.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, (Entity)getThrower()), var2);\n/* */ } \n/* */ \n/* 46 */ for (int var3 = 0; var3 < 8; var3++)\n/* */ {\n/* 48 */ this.worldObj.spawnParticle(EnumParticleTypes.SNOWBALL, this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D, new int[0]);\n/* */ }\n/* */ \n/* 51 */ if (!this.worldObj.isRemote)\n/* */ {\n/* 53 */ setDead();\n/* */ }\n/* */ }", "title": "" }, { "docid": "57db50cf3384b53fc277ef063d216155", "score": "0.5790984", "text": "@Override\n\tpublic void doAction(Map<BattleFieldType, FieldPosition> enemy, Map<BattleFieldType, FieldPosition> self,\n\t\t\tBattleFieldType type, BattleField battleField, Map<BattleFieldType, Damage> targetDamages, Slot slot) {\n\t\t\n\t}", "title": "" }, { "docid": "dedb37362e0943ea0babdd7f7d4b29ad", "score": "0.5790598", "text": "public void getHitWithMissile() {\n\n Tank randomTank;\n do {\n randomTank = (Tank) go.returnRandomTank();\n } while (randomTank == myTank);\n\n// ArrayList<Missile> missilesInGame = returnAllMissileFromObject(go);\n// Missile randomMissile = missilesInGame.get(r.nextInt(missilesInGame.size()));\n /*\n check to see if there are missiles in the game.\n\n If there are, remove the missile from the game and decrease the armor of a the random tank\n */\n if (!removeMissileFromMap(1)) {\n System.out.println(\"There were no missiles\"); //print error message\n } else {\n randomTank.modifyArmorStrength(-1);\n }\n notifyObservers();\n }", "title": "" }, { "docid": "d14582877a961e5d886ed93b1049d9b2", "score": "0.5785768", "text": "private void powerupManagerAfterShooting(Player shooter) {\n // Source can use Targetting Scopes\n boolean canUsePowerup = false;\n for (Player p : match.getPlayers()) {\n if (p.isDamagedThisTurn()) {\n // Damaged player can use Tagback Grenade (Only if he sees damager)\n List<Cell> visibleCells = p.getVisibleCellsAtDistance(0, -1);\n\n for (Cell c : visibleCells) {\n if (c.getPlayers().contains(shooter)) {\n List<Powerup> grenades = p.getPowerups().stream()\n .filter(powerup -> powerup.getName().equals(\"Tagback grenade\")).collect(Collectors.toList());\n\n usePowerupEffect(p, grenades);\n break;\n }\n }\n\n canUsePowerup = true;\n\n }\n }\n\n if (!canUsePowerup) return;\n\n List<Powerup> targScopes = shooter.getPowerups().stream()\n .filter(powerup -> powerup.getName().equals(\"Targetting scopes\")).collect(Collectors.toList());\n\n usePowerupEffect(shooter, targScopes);\n }", "title": "" }, { "docid": "f9378c9f6079e7515bbfb31e0fcc6357", "score": "0.57835174", "text": "public void tick() {\r\n\t\tif(battleState == BATTLESTATE.PlayerTurnStart) {\r\n\t\t\tfor(int i = 0; i < Game.allies.allies.size(); i++) {\r\n\t\t\t\tGame.allies.allies.get(i).tick();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\tif(battleState == BATTLESTATE.PlayerTurnAction) {\r\n\t\t\t//if they select pummel, perform the attack\r\n\t\t\tif(menuPosition == 5) {\r\n\t\t\t\tif(setSpeed == 0) {\r\n\t\t\t\t\tplayer.setVelX(3);\r\n\t\t\t\t\tsetSpeed++;\r\n\t\t\t\t}\r\n\t\t\t\tif(!player.getBounds().intersects(enemy.getBounds())) {\r\n\t\t\t\t\tplayer.tick();\r\n\t\t\t\t\tenemy.tick();\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\t//Game.clamp(player.getX(), 0, enemy.getX());\r\n\t\t\t\t\tif(player.getVelX() == -3) {\r\n\t\t\t\t\t\tplayer.tick();\r\n\t\t\t\t\t\tenemy.tick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tplayer.setVelX(0);\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t\tif(player.getVelX() == -3) {\r\n\t\t\t\t\tif(player.getX() <= originalX) {\r\n\t\t\t\t\t\tplayer.setVelX(0);\r\n\t\t\t\t\t\tif(lgABoost || smABoost) {\r\n\t\t\t\t\t\t\tattackCount += 1;\r\n\t\t\t\t\t\t\tif(attackCount == 3) {\r\n\t\t\t\t\t\t\t\tlgABoost = false;\r\n\t\t\t\t\t\t\t\tsmABoost = false;\r\n\t\t\t\t\t\t\t\tattackCount = 0;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbattleState = BATTLESTATE.EnemyTurn;\r\n\t\t\t\t\t}\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\t\r\n\t\t\t//laser attack\r\n\t\t\tif(menuPosition == 0) {\r\n\t\t\t\tif(setSpeed == 0) {\r\n\t\t\t\t\tplayer.setVelX(3);\r\n\t\t\t\t\tsetSpeed++;\r\n\t\t\t\t}\r\n\t\t\t\tif((player.getX() <= enemy.getX()-150)) {\r\n\t\t\t\t\tplayer.tick();\r\n\t\t\t\t\tenemy.tick();\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\t//Game.clamp(player.getX(), 0, enemy.getX());\r\n\t\t\t\t\tif(player.getVelX() == -3) {\r\n\t\t\t\t\t\tplayer.tick();\r\n\t\t\t\t\t\tenemy.tick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tif(setLaser == false) {\r\n\t\t\t\t\t\t\tPovy.laserBulletX = (int)player.getX() + 67;\r\n\t\t\t\t\t\t\tplayer.setVelX(0);\r\n\t\t\t\t\t\t\tsetLaser = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t//taking damage for an enemy for laser blast\r\n\t\t\t\t\t\tif(Povy.laserBulletX >= enemy.getBounds().x+25) {\r\n\t\t\t\t\t\t\tBattle.contact = true;\r\n\t\t\t\t\t\t\tAudioPlayer.getSound(\"laserHit\").play(1, (float).1);\r\n\t\t\t\t\t\t\tif(enemy.getID() == ID.Golem) {\r\n\t\t\t\t\t\t\t\tdamage = damageMaker.nextInt(30);\r\n\t\t\t\t\t\t\t\tif(lgABoost) {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 17) enemy.takeDamage((4 + (ExperienceBar.laserLevel *2))*2);\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage((14 + (ExperienceBar.laserLevel*4))*2);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse if(smABoost) {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 17) enemy.takeDamage(4 + ((ExperienceBar.laserLevel+1) *2));\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage(14 + ((ExperienceBar.laserLevel+1)*4));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 17) enemy.takeDamage(4 + (ExperienceBar.laserLevel *2));\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage(14 + (ExperienceBar.laserLevel*4));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(enemy.getID() == ID.Rat) {\r\n\t\t\t\t\t\t\t\tdamage = damageMaker.nextInt(30);\r\n\t\t\t\t\t\t\t\tif(lgABoost) {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 15) enemy.takeDamage((6 + (ExperienceBar.laserLevel *2))*2);\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage((16 + (ExperienceBar.laserLevel*4))*2);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse if(smABoost) {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 15) enemy.takeDamage(6 + ((ExperienceBar.laserLevel+1) *2));\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage(16 + ((ExperienceBar.laserLevel+1)*4));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 15) enemy.takeDamage(6 + (ExperienceBar.laserLevel *2));\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage(16 + (ExperienceBar.laserLevel*4));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(enemy.getID() == ID.ElephantGuard) {\r\n\t\t\t\t\t\t\t\tdamage = damageMaker.nextInt(30);\r\n\t\t\t\t\t\t\t\tif(lgABoost) {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 21) enemy.takeDamage((4 + (ExperienceBar.laserLevel *2))*2);\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage((14 + (ExperienceBar.laserLevel*4))*2);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse if(smABoost) {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 21) enemy.takeDamage(4 + ((ExperienceBar.laserLevel+1) *2));\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage(14 + ((ExperienceBar.laserLevel+1)*4));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 21) enemy.takeDamage(4 + (ExperienceBar.laserLevel *2));\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage(14 + (ExperienceBar.laserLevel*4));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(enemy.getID() == ID.Zatolib) {\r\n\t\t\t\t\t\t\t\tdamage = damageMaker.nextInt(30);\r\n\t\t\t\t\t\t\t\tif(lgABoost) {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 21) enemy.takeDamage((3 + (ExperienceBar.laserLevel *2))*2);\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage((12 + (ExperienceBar.laserLevel*4))*2);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse if(smABoost) {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 21) enemy.takeDamage(3 + ((ExperienceBar.laserLevel+1) *2));\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage(12 + ((ExperienceBar.laserLevel+1)*4));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t\tif(damage <= 21) enemy.takeDamage(3 + (ExperienceBar.laserLevel *2));\r\n\t\t\t\t\t\t\t\t\telse enemy.takeDamage(12 + (ExperienceBar.laserLevel*4));\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tplayer.setVelX(-3);\r\n\t\t\t\t\t\t\tPovy.laserBulletX = (int)player.getX() + 67;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t\tif(player.getVelX() == -3) {\r\n\t\t\t\t\tlaserHit++;\r\n\t\t\t\t\tif(laserHit == 20) {\r\n\t\t\t\t\t\tBattle.contact = false;\r\n\t\t\t\t\t\tlaserHit++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(player.getX() <= originalX) {\r\n\t\t\t\t\t\tplayer.setVelX(0);\r\n\t\t\t\t\t\tif(lgABoost || smABoost) {\r\n\t\t\t\t\t\t\tattackCount += 1;\r\n\t\t\t\t\t\t\tif(attackCount == 3) {\r\n\t\t\t\t\t\t\t\tlgABoost = false;\r\n\t\t\t\t\t\t\t\tsmABoost = false;\r\n\t\t\t\t\t\t\t\tattackCount = 0;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbattleState = BATTLESTATE.EnemyTurn;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//ally attack\r\n\t\t\tif(menuPosition == 4) {\r\n\t\t\t\tif(setSpeed == 0) {\r\n\t\t\t\t\tally.setVelX(3);\r\n\t\t\t\t\tsetSpeed++;\r\n\t\t\t\t}\r\n\t\t\t\tif(!ally.getBounds().intersects(enemy.getBounds())) {\r\n\t\t\t\t\tally.tick();\r\n\t\t\t\t\tenemy.tick();\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\t//Game.clamp(player.getX(), 0, enemy.getX());\r\n\t\t\t\t\tif(ally.getVelX() == -3) {\r\n\t\t\t\t\t\tally.tick();\r\n\t\t\t\t\t\tenemy.tick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tally.setVelX(0);\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t\tif(ally.getVelX() == -3) {\r\n\t\t\t\t\tif(ally.getX() <= originalX) {\r\n\t\t\t\t\t\tally.setVelX(0);\r\n\t\t\t\t\t\tbattleState = BATTLESTATE.EnemyTurn;\r\n\t\t\t\t\t\tally.setX(3*96);\r\n\t\t\t\t\t\tally.setY(3*125);\r\n\t\t\t\t\t\tif(lgABoost || smABoost) {\r\n\t\t\t\t\t\t\tattackCount += 1;\r\n\t\t\t\t\t\t\tif(attackCount == 3) {\r\n\t\t\t\t\t\t\t\tlgABoost = false;\r\n\t\t\t\t\t\t\t\tsmABoost = false;\r\n\t\t\t\t\t\t\t\tattackCount = 0;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//run\r\n\t\t\tif(menuPosition == 3) {\r\n\t\t\t\tif(enemy.getID() == ID.Golem) runStat = runAway.nextInt(5);\r\n\t\t\t\telse if(enemy.getID() == ID.Rat) runStat = runAway.nextInt(3);\r\n\t\t\t\telse if(enemy.getID() == ID.ElephantGuard) runStat = runAway.nextInt(4);\r\n\t\t\t\telse if(enemy.getID() == ID.Zatolib) runStat = runAway.nextInt(4);\r\n\t\t\t\telse runStat = runAway.nextInt(4);\r\n\t\t\t\t\r\n\t\t\t\tif(runStat <= 1) {\r\n\t\t\t\t\tescaped = 1;\r\n\t\t\t\t\tAudioPlayer.getSound(\"noEscape\").play(1, (float).1);\r\n\t\t\t\t\tif(lgABoost || smABoost) {\r\n\t\t\t\t\t\tattackCount += 1;\r\n\t\t\t\t\t\tif(attackCount == 3) {\r\n\t\t\t\t\t\t\tlgABoost = false;\r\n\t\t\t\t\t\t\tsmABoost = false;\r\n\t\t\t\t\t\t\tattackCount = 0;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbattleState = BATTLESTATE.EnemyTurn;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tescaped = 2;\r\n\t\t\t\t\tAudioPlayer.getSound(\"escaped\").play(1, (float).1);\r\n\t\t\t\t\tbattleState = BATTLESTATE.gotAway;\r\n\t\t\t\t\tlgABoost = false;\r\n\t\t\t\t\tsmABoost = false;\r\n\t\t\t\t\tlgDBoost = false;\r\n\t\t\t\t\tsmDBoost = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//enemy performs one of their attacks(chosen at random)\r\n\t\tif(battleState == BATTLESTATE.EnemyTurn) {\r\n\t\t\tif(setSpeedEnemy == 0) {\r\n\t\t\t\tenemy.setVelX(-3);\r\n\t\t\t\tsetSpeedEnemy++;\r\n\t\t\t}\r\n\t\t\tif(!player.getBounds().intersects(enemy.getBounds())) {\r\n\t\t\t\tplayer.tick();\r\n\t\t\t\tenemy.tick();\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tif(enemy.getVelX() == 3) {\r\n\t\t\t\t\tplayer.tick();\r\n\t\t\t\t\tenemy.tick();\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tenemy.setVelX(0);\r\n\t\t\t\t}\t\r\n\t\t\t}\r\n\t\t\tif(enemy.getVelX() == 3) {\r\n\t\t\t\tif(enemy.getX() >= enemyOriginalX) {\r\n\t\t\t\t\tenemy.setVelX(0);\r\n\t\t\t\t\tif(lgDBoost || smDBoost) {\r\n\t\t\t\t\t\tdefenseCount += 1;\r\n\t\t\t\t\t\tif(defenseCount == 3) {\r\n\t\t\t\t\t\t\tlgDBoost = false;\r\n\t\t\t\t\t\t\tsmDBoost = false;\r\n\t\t\t\t\t\t\tdefenseCount = 0;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(HUD.HEALTH <= 0 && enemy.getID() == ID.Zatolib ) {\r\n\t\t\t\t\t\tBattle.battleState = Battle.BATTLESTATE.ZatolibWins;\r\n\t\t\t\t\t\tif(AudioPlayer.getMusic(\"dungeonFight\").playing()) {\r\n\t\t\t\t\t\t\tAudioPlayer.getMusic(\"dungeonFight\").stop();\r\n\t\t\t\t\t\t\tAudioPlayer.getSound(\"povyDies\").play(1, (float).3);\r\n\t\t\t\t\t\t\tlgABoost = false;\r\n\t\t\t\t\t\t\tsmABoost = false;\r\n\t\t\t\t\t\t\tlgDBoost = false;\r\n\t\t\t\t\t\t\tsmDBoost = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(HUD.HEALTH <= 0) {\r\n\t\t\t\t\t\tBattle.battleState = Battle.BATTLESTATE.PlayerDies;\r\n\t\t\t\t\t\tlgABoost = false;\r\n\t\t\t\t\t\tsmABoost = false;\r\n\t\t\t\t\t\tlgDBoost = false;\r\n\t\t\t\t\t\tsmDBoost = false;\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbattleState = BATTLESTATE.PlayerTurnStart;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(battleState == BATTLESTATE.PlayerTurnStart) {\r\n\t\t\tsetSpeed = 0;\r\n\t\t\tsetSpeedEnemy = 0;\r\n\t\t\tlaserHit = 0;\r\n\t\t\tsetLaser = false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d6b3210bd2a14dbdb62f80bb8b58f30b", "score": "0.5775466", "text": "public void act() \n {\n /*\n * \n this.fireRate = 5\n this.target = getNearestTarget();\n this.eHealth = this.target.getEnemyHealth\n \n if(target.getEnemyType().equals(\"light\"))\n {\n this.damage = this.damage + 1;\n \n }\n \n else\n {\n this.damage = this.damage;\n }\n \n */\n \n\n }", "title": "" }, { "docid": "36326bfe86f5d71f8d8f52daceb61fda", "score": "0.5769636", "text": "private void shoot()\r\n\t{\r\n\t\tlastShootTime = 0;\r\n\t\tif(Wave.getCritterList().size() != 0)\r\n\t\t{\t\t\t\r\n\t\t\tEffectType effectType = getTowerEffectType();\r\n\t\t\t\r\n\t\t\t// shoot closest critter \r\n\t\t\tif(this.strategyTile == ShootStrategyEnum.closestCritter) \r\n\t\t\t{\r\n\t\t\t\tCritter closestCritter = getClosestCritter();\r\n\t\t\t\tif(closestCritter != null)\r\n\t\t\t\t{\r\n//\t\t\t\t\tSystem.out.println(\"Calling closest....\");\r\n\t\t\t\t\tContext context = new Context(new StrategyShootClosestCritter());\r\n\t\t\t\t\tcontext.executeStrategy(x,y,30,this.damage,effectType,strategyTile,closestCritter);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// shoot weakest critter\r\n\t\t\telse if(this.strategyTile == ShootStrategyEnum.weakestCritter)\r\n\t\t\t{\r\n\t\t\t\tCritter weakestCritter = getWeakestCritter();\r\n\t\t\t\tif(weakestCritter != null)\r\n\t\t\t\t{\r\n//\t\t\t\t\tSystem.out.println(\"Calling weakest....\");\r\n\t\t\t\t\tContext context = new Context(new StrategyShootWeakestCritter());\r\n\t\t\t\t\tcontext.executeStrategy(x,y,30,this.damage,effectType,strategyTile,weakestCritter);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// shoot strongest critter\r\n\t\t\telse if(this.strategyTile == ShootStrategyEnum.strongestCritter)\r\n\t\t\t{\r\n\t\t\t\tCritter strongestCritter = getStrongestCritter();\r\n\t\t\t\tif(strongestCritter != null) \r\n\t\t\t\t{\r\n//\t\t\t\t\tSystem.out.println(\"Calling strongest....\");\r\n\t\t\t\t\tContext context = new Context(new StrategyShootStrongestCritter());\r\n\t\t\t\t\tcontext.executeStrategy(x,y,30,this.damage,effectType,strategyTile,strongestCritter);\r\n\t\t\t\t}\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\t// shoot critter near to the end\r\n\t\t\telse if(this.strategyTile == ShootStrategyEnum.nearToEndCritter)\r\n\t\t\t{\r\n\t\t\t\t\r\n\t\t\t\tCritter nearToEndCritter = getNearToEndCritter();\r\n\t\t\t\tif(nearToEndCritter != null)\r\n\t\t\t\t{\r\n//\t\t\t\t\tSystem.out.println(\"Calling nearest....\");\r\n\t\t\t\t\tContext context = new Context(new StrategyShootNearestEndPointCritter());\r\n\t\t\t\t\tcontext.executeStrategy(x,y,30,this.damage,effectType,strategyTile,nearToEndCritter);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tTowerNotification.towerShoot = false;\r\n\t\t}\r\n\t\t//TODO FIX why create Shoot tile if critters not left\r\n\t}", "title": "" }, { "docid": "b87c33a9c2759d1b2fb0cd5ba2bc0d5b", "score": "0.57694256", "text": "@Override\n\tpublic void shoot() {\n\t\tif(state.NumberofBullet > 0) {\n\t\t\tSystem.out.println(\"bam!\");\n\t\t\tstate.NumberofBullet--;\n\t\t}\n\t\tif(state.NumberofBullet == 0)\n\t\t{\n\t\t\tstate.setState(state.getNoBullet());\n\t\t}\n\t}", "title": "" }, { "docid": "50f9d9bc86140c883f11718f406d2c71", "score": "0.5766701", "text": "private void initalizeShip() {\n\t\tmyHit=0; \n\t\toppHit=0;\n\t\tfor(int i=0;i<board.length;i++) {\n\t\t\tfor(int j=0;j<board.length;j++) {\n\t\t\t\tboard[i][j]=\"_\";\n\t\t\t\toppBoard[i][j]=\"_\";\n\t\t\t}\n\n\t\t}\n\t\t//Random number generation logic for placing ships\n\t\tRandom random = new Random();\n\t\tint rand =random.nextInt(6 - 1 + 1) + 1;//Random number between 1 and 6\n\t\tboard[rand][rand-1]=\"S\";\n\t\tboard[rand][rand]=\"S\";\n\n\t\twhile(true) {\n\t\t\tint rand2 =random.nextInt(6 - 1 + 1) + 1;//Random number between 1 and 6\n\t\t\tif(rand==rand2) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tboard[rand2][rand2-1]=\"S\";\n\t\t\t\tboard[rand2][rand2]=\"S\";\n\t\t\t\tboard[rand2][rand2+1]=\"S\";\n\t\t\t\tboard[rand2][rand2+2]=\"S\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"My borad\");\n\t\tfor(int i=0;i<board.length;i++) {\n\t\t\tfor(int j=0;j<board.length;j++) {\n\t\t\t\tSystem.out.print(board[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t}", "title": "" } ]
1fbe383a4a1dd68c432e4e7b761928b0
Test to verify type exists
[ { "docid": "302c45aa670cfbc275c7bce1d9b298c0", "score": "0.0", "text": "@Test(priority = 4)\n\tpublic void VerifySearchTypeinUnpublishedTable() throws Exception {\n\t\tdata = new ContentManagement_Page(CurrentState.getDriver());\n\t\twb = new ExcelHandler(\"./data/Social_Engagement.xlsx\", \"SE\");\n\t\twb.deleteEmptyRows();\n\t\tint row;\n\t\tfor (row = 1; row <= wb.getRowCount(); row++) {\n\t\t\tString UnpublishedType = wb.getCellValue(row, wb.seacrh_pattern(\"Unpublished Type\", 0).get(0).intValue());\n\t\t\tSystem.out.println(\"The Unpublished Type is :\" + UnpublishedType);\n\t\t\tif (!UnpublishedType.equals(\"null\")) {\n\t\t\t\tdata.SearchUnpublishedUsingType(UnpublishedType);\n\t\t\t\taddEvidence(CurrentState.getDriver(), \"Type Selected\", \"yes\");\n\t\t\t\tdata.SearchUnpublishedTypeinTable(UnpublishedType);\n\t\t\t\taddEvidence(CurrentState.getDriver(), \"Verify Type exists in the table\", \"yes\");\n\t\t\t\tCurrentState.getDriver().navigate().refresh();\n\t\t\t\taddEvidence(CurrentState.getDriver(), \"Value set to default\", \"yes\");\n\t\t\t}\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "130db510b4aa92fdc52d416597da169e", "score": "0.7709648", "text": "boolean hasType();", "title": "" }, { "docid": "33ba7e1540a39d9ca76d09171d4de10e", "score": "0.7508763", "text": "boolean hasFromType();", "title": "" }, { "docid": "8ba2655a52081af9a74c78a4f076862e", "score": "0.7302085", "text": "TypeExistence createTypeExistence();", "title": "" }, { "docid": "2ea0ef792b12ef5589fc2029ae2120b4", "score": "0.70390993", "text": "boolean hasTypes();", "title": "" }, { "docid": "004e5be783adc7698e1cc3db94a128d6", "score": "0.6944457", "text": "public boolean hasType(){\n return type != null;\n }", "title": "" }, { "docid": "aa92a5115449472eeeb9406964f6e653", "score": "0.6868238", "text": "@java.lang.Override\n public boolean hasType() {\n return type_ != null;\n }", "title": "" }, { "docid": "6bcadecbafb41e085a437930d0573dd0", "score": "0.6746657", "text": "public boolean hasTypeInformation ()\r\n \t{\r\n \t\treturn (!typesByName.isEmpty ());\r\n \t}", "title": "" }, { "docid": "492ad1eb01be4a5910e36e75cd6cd1d5", "score": "0.6716946", "text": "@Override\n public boolean isValid()\n {\n return TypeSystem.getByFullNameIfValid( getFqn() ) != null;\n }", "title": "" }, { "docid": "8f2b30905a474f176a1917d27df58357", "score": "0.6453972", "text": "public boolean sampleTypeExists(final String sampleType);", "title": "" }, { "docid": "914b5427465845747003a29914fe14e4", "score": "0.6449707", "text": "boolean hasTypeId();", "title": "" }, { "docid": "e1e06d6cd15912d47dea20c446749911", "score": "0.64403576", "text": "public boolean isUnknownType(Object type);", "title": "" }, { "docid": "0f053ff5db4db1a4b074f5277c275ba3", "score": "0.6376257", "text": "@Test\n public void testIsType() {\n LOGGER.info(\"isType\");\n URI term = new URIImpl(Constants.TEXAI_NAMESPACE + \"Buster\");\n URI typeTerm = new URIImpl(Constants.CYC_NAMESPACE + \"DomesticCat\");\n TypeQueries instance = new TypeQueries(rdfEntityManager);\n assertTrue(instance.isType(TEST_REPOSITORY_NAME, term, typeTerm));\n assertTrue(!instance.isType(TEST_REPOSITORY_NAME, typeTerm, term));\n URI typeTerm2 = new URIImpl(Constants.CYC_NAMESPACE + \"CarnivoreOrder\");\n assertTrue(instance.isType(TEST_REPOSITORY_NAME, term, typeTerm2));\n assertTrue(!instance.isType(TEST_REPOSITORY_NAME, term, term));\n assertTrue(!instance.isType(TEST_REPOSITORY_NAME, typeTerm2, term));\n assertTrue(!instance.isType(TEST_REPOSITORY_NAME, typeTerm, typeTerm2));\n }", "title": "" }, { "docid": "9233fa59337e11772412448c315cab3d", "score": "0.63660204", "text": "TypeAssertion createTypeAssertion();", "title": "" }, { "docid": "9539136a458bc12cd9439d521798241c", "score": "0.62790966", "text": "@Test\n public void typeTest() {\n // TODO: test type\n }", "title": "" }, { "docid": "9539136a458bc12cd9439d521798241c", "score": "0.62790966", "text": "@Test\n public void typeTest() {\n // TODO: test type\n }", "title": "" }, { "docid": "7b395a4588e65342b98028662ac88f2f", "score": "0.6252396", "text": "public boolean hasType() {\n return genClient.cacheHasKey(CacheKey.type);\n }", "title": "" }, { "docid": "fd16cd69801448f221599e3672447681", "score": "0.6247767", "text": "public boolean hasType() {\n return StringUtils.isNotEmpty(type);\n }", "title": "" }, { "docid": "55d7bafb1884a3fd63d683d7f5277405", "score": "0.6221447", "text": "public boolean isTypeable();", "title": "" }, { "docid": "090f43bf07d6a6f0daacbfdd532d6f34", "score": "0.6219485", "text": "public boolean hasType() {\n return result.hasType();\n }", "title": "" }, { "docid": "36865564eba1733d374114486a01d369", "score": "0.6203187", "text": "boolean nameExists(String typeId, String name) throws IOException;", "title": "" }, { "docid": "27dc8009a4aa0f942c205a7b29166c91", "score": "0.61701983", "text": "private static void registerType(Type type)\n {\n synchronized (typesCollector)\n {\n if (typesCollector.stream().anyMatch(t -> (Objects.equals(t.name, type.name) || Objects.equals(t.repr, type.repr)) && (t.formatClass.isAssignableFrom(type.formatClass))))\n throw new AssertionError(\"Type named \" + type.name + \" is already registered\");\n\n typesCollector.add(type);\n }\n }", "title": "" }, { "docid": "e0d54ec05497b3fb51e48148bb5fa037", "score": "0.6169094", "text": "boolean hasOverType();", "title": "" }, { "docid": "6519e330b164ac83c684f6c661c0232e", "score": "0.6157406", "text": "public boolean hasType() {\n return typeBuilder_ != null || type_ != null;\n }", "title": "" }, { "docid": "0c599ae91d8c416fc650f0698b900840", "score": "0.6100261", "text": "boolean supportsRuntimeTypeIdentification();", "title": "" }, { "docid": "1429173b614ec196e6ef60d9c577b9fe", "score": "0.6079221", "text": "public interface IHasType\n{\n\n /**\n * Set the object type to the user-defined objectType.\n * \n * @param objectType\n * an arbitrary String.\n */\n public void setObjectType(String objectType);\n\n /**\n * @return The object type assigned to the object.\n */\n public String getObjectType();\n\n /**\n * Check the objects's actual type against <code>objectType</code>.\n * \n * @param objectType\n * The value to use for the check.\n * @return True if name matches.\n */\n public boolean isObjectTypeEqual(String objectType);\n\n}", "title": "" }, { "docid": "0cefa6ff6c98a461878e77cde6e8d07d", "score": "0.6053227", "text": "boolean isType(FieldDef.Type type);", "title": "" }, { "docid": "2e85f2c7441fd07d2344f2e4ed883b88", "score": "0.60414326", "text": "boolean isType(NamespaceCode code);", "title": "" }, { "docid": "a584d2ad5a1efeef1a57db1b4805015e", "score": "0.6035093", "text": "@Test\n public void testGetType()\n {\n assertEquals(\"Wrong type\", Object.class, handler.getType());\n }", "title": "" }, { "docid": "1f6aa8992adbde13b722960fa37a2da1", "score": "0.6032076", "text": "private boolean validType() {\n if (type.isInterface()) return true;\n if (type.isEnum()) return true;\n return false;\n }", "title": "" }, { "docid": "bc0195ff18c46a601b446a422908410e", "score": "0.59936404", "text": "boolean hasDataType();", "title": "" }, { "docid": "1fd14939583c49ac62c3aab8a5e1aad9", "score": "0.5985618", "text": "public boolean checkNodeType() throws TypeCheckingException\n{\n return true;\n}", "title": "" }, { "docid": "46e154d598ae9a264d4e880f5ee8671b", "score": "0.5982399", "text": "@Test\n public void buildTypeTest() {\n // TODO: test buildType\n }", "title": "" }, { "docid": "0a35f943808ac49bf8abea830275e1d4", "score": "0.59778345", "text": "public static Type checkType( TypeSystem ts, String typeName ) \n throws AnalysisEngineProcessException {\n Type type = ts.getType( typeName );\n if( type == null ) {\n throw new AnalysisEngineProcessException(\n AnalysisEngineProcessException.REQUIRED_FEATURE_STRUCTURE_MISSING_FROM_CAS,\n new Object[] { typeName }\n );\n }\n return type;\n }", "title": "" }, { "docid": "6cf20eb4112407422f1a4c7c5dc738fa", "score": "0.5973795", "text": "final boolean checkAndImportType(final JavaTypeName type) {\n final String simpleName = type.simpleName();\n return !simpleName.equals(getSimpleName()) && !enclosedTypes.containsKey(simpleName)\n && !conflictingNames.contains(simpleName) && importCheckedType(type);\n }", "title": "" }, { "docid": "2218d55c6dc97e199c557c204a096519", "score": "0.594181", "text": "public boolean isType(String testType){\r\n\t\treturn type.equals(testType);\r\n\t}", "title": "" }, { "docid": "fe28401ea9ed203423bceab555654739", "score": "0.5935758", "text": "boolean hasTradType();", "title": "" }, { "docid": "dc07aa8485a23b538f2f28f4083b4773", "score": "0.58977073", "text": "public void testIsInstanceOf() throws Exception {\n DefDescriptor<T> grandParent = addSourceAutoCleanup(getDefClass(),\n String.format(baseTag, \"extensible='true' abstract='true'\", \"\"));\n DefDescriptor<T> parent = addSourceAutoCleanup(getDefClass(),\n String.format(baseTag, \"extensible='true' extends='\" + grandParent.getDescriptorName() + \"'\", \"\"));\n DefDescriptor<T> child = addSourceAutoCleanup(getDefClass(),\n String.format(baseTag, \"extensible='true' extends='\" + parent.getDescriptorName() + \"'\", \"\"));\n \n assertTrue(\"Failed to assert inheritance across one level.\", parent.getDef().isInstanceOf(grandParent));\n assertTrue(\"Failed to assert inheritance across one level.\", child.getDef().isInstanceOf(parent));\n assertTrue(\"Failed to assert inheritance across multiple levels.\", child.getDef().isInstanceOf(grandParent));\n \n // Test cases for Interface inheritance and implementations\n String interfaceTag = \"<aura:interface %s> </aura:interface>\";\n DefDescriptor<InterfaceDef> grandParentInterface = addSourceAutoCleanup(InterfaceDef.class,\n String.format(interfaceTag, \"\"));\n DefDescriptor<InterfaceDef> parentInterface = addSourceAutoCleanup(InterfaceDef.class,\n String.format(interfaceTag, \"extends='\" + grandParentInterface.getDescriptorName() + \"'\"));\n DefDescriptor<T> interfaceImpl = addSourceAutoCleanup(getDefClass(),\n String.format(baseTag, \"implements='\" + parentInterface.getDescriptorName() + \"'\", \"\"));\n assertTrue(\"Failed to assert interface implementation one level.\",\n interfaceImpl.getDef().isInstanceOf(parentInterface));\n assertTrue(\"Failed to assert inherface extension across one level.\",\n parentInterface.getDef().isInstanceOf(grandParentInterface));\n assertTrue(\"Failed to assert inheritance implementation across multiple levels.\", interfaceImpl.getDef()\n .isInstanceOf(grandParentInterface));\n \n }", "title": "" }, { "docid": "e83ef2503480e54ed19c56c55f9e454f", "score": "0.5892692", "text": "private static void checkIfCorrectType(URL vfsUrl){\n checkIfCorrectType(FhResource.get(vfsUrl));\n }", "title": "" }, { "docid": "37a4051908a70a4df9f47ca3b8a40ccc", "score": "0.58916837", "text": "public boolean hasType() {\n\t\treturn hasOption(53);\n\t}", "title": "" }, { "docid": "53f50c07351428b4460b9cf324522d45", "score": "0.58788013", "text": "@Override\n public Type verifyType(DecacCompiler compiler) throws ContextualError {\n // throw new UnsupportedOperationException(\"not yet implemented\");\n TypeDefinition t = compiler.getEnvType().get(this.getName());\n if (t == null) {\n throw new ContextualError(\"Undefined type : \" + this.name.getName(), this.getLocation());\n }\n this.setType(t.getType());\n this.setDefinition(t);\n return t.getType();\n }", "title": "" }, { "docid": "e372ccc51645364b92feef32d12b6889", "score": "0.5849949", "text": "private void checkType(PojoDescriptor type) {\n assertFalse(\"Type key class name should be defined\", type.keyClassName().isEmpty());\n\n assertFalse(\"Type value class name should be defined\", type.valueClassName().isEmpty());\n\n Collection<PojoField> keyFields = type.keyFields();\n\n assertEquals(\"Key type should have 1 field\", 1, keyFields.size());\n\n checkField(keyFields.iterator().next(), \"pk\", true, int.class);\n\n List<PojoField> fields = type.fields();\n\n assertEquals(\"Value type should have 15 fields\", 15, fields.size());\n\n Iterator<PojoField> fieldsIt = fields.iterator();\n\n checkField(fieldsIt.next(), \"pk\", true, int.class);\n\n if (\"Objects\".equals(type.valueClassName())) {\n checkField(fieldsIt.next(), \"boolcol\", false, Boolean.class);\n checkField(fieldsIt.next(), \"bytecol\", false, Byte.class);\n checkField(fieldsIt.next(), \"shortcol\", false, Short.class);\n checkField(fieldsIt.next(), \"intcol\", false, Integer.class);\n checkField(fieldsIt.next(), \"longcol\", false, Long.class);\n checkField(fieldsIt.next(), \"floatcol\", false, Float.class);\n checkField(fieldsIt.next(), \"doublecol\", false, Double.class);\n checkField(fieldsIt.next(), \"doublecol2\", false, Double.class);\n }\n else {\n checkField(fieldsIt.next(), \"boolcol\", true, boolean.class);\n checkField(fieldsIt.next(), \"bytecol\", true, byte.class);\n checkField(fieldsIt.next(), \"shortcol\", true, short.class);\n checkField(fieldsIt.next(), \"intcol\", true, int.class);\n checkField(fieldsIt.next(), \"longcol\", true, long.class);\n checkField(fieldsIt.next(), \"floatcol\", true, float.class);\n checkField(fieldsIt.next(), \"doublecol\", true, double.class);\n checkField(fieldsIt.next(), \"doublecol2\", true, double.class);\n }\n\n checkField(fieldsIt.next(), \"bigdecimalcol\", false, BigDecimal.class);\n checkField(fieldsIt.next(), \"strcol\", false, String.class);\n checkField(fieldsIt.next(), \"datecol\", false, Date.class);\n checkField(fieldsIt.next(), \"timecol\", false, Time.class);\n checkField(fieldsIt.next(), \"tscol\", false, Timestamp.class);\n checkField(fieldsIt.next(), \"arrcol\", false, Object.class);\n }", "title": "" }, { "docid": "363ec9486064560d512abad476334ba4", "score": "0.58326435", "text": "boolean hasInfoType();", "title": "" }, { "docid": "016cb1c01f53c2bf18d61207692a1e9a", "score": "0.57975876", "text": "boolean hasKind();", "title": "" }, { "docid": "b1000bc035c741c58a4ebcf797be9791", "score": "0.5788883", "text": "@Test\n public void capabilityDefinitionIsTypeOfDirectTypeFound() {\n CapabilityDefinition capabilityDefinition = new CapabilityDefinition();\n capabilityDefinition.setType(CAPABILITY_TYPE_A);\n assertTrue(toscaAnalyzerService.isTypeOf(capabilityDefinition, CAPABILITY_TYPE_A, new ServiceTemplate(),\n toscaServiceModelMock));\n }", "title": "" }, { "docid": "9c08dbbeaa62c3e0af1ca5fb49dde65e", "score": "0.5786432", "text": "public boolean isa( Type t ) { return meet(t)==t; }", "title": "" }, { "docid": "87774a57f87ece21cc52fe6f0b0af888", "score": "0.5783337", "text": "@Test\n public void testIsDirectType() {\n LOGGER.info(\"isDirectType\");\n URI term = new URIImpl(Constants.TEXAI_NAMESPACE + \"Buster\");\n URI typeTerm = new URIImpl(Constants.CYC_NAMESPACE + \"DomesticCat\");\n TypeQueries instance = new TypeQueries(rdfEntityManager);\n assertTrue(instance.isDirectType(TEST_REPOSITORY_NAME, term, typeTerm));\n assertTrue(!instance.isDirectType(TEST_REPOSITORY_NAME, typeTerm, term));\n URI typeTerm2 = new URIImpl(Constants.CYC_NAMESPACE + \"CarnivoreOrder\");\n assertTrue(!instance.isDirectType(TEST_REPOSITORY_NAME, term, typeTerm2));\n }", "title": "" }, { "docid": "c52618fe7276138138717afc0a68493e", "score": "0.577869", "text": "public boolean hasType(String type) {\n\t\treturn values.containsKey(type);\n\t}", "title": "" }, { "docid": "22cfed17680f3d13fac2738434f7767f", "score": "0.5777221", "text": "@Test\n public void testDeskIllegalType_CheckType_False1() {\n String type = \"aFakeType\";\n Boolean expect = false;\n Desk aTestDesk = new Desk(\"D3820\", \"Standing\", \"Y\", \"N\", \"N\", 150, \"001\");\n\n Boolean actual = aTestDesk.checkType(type);\n assertEquals(expect, actual);\n }", "title": "" }, { "docid": "a3b0eb13b95df7fce9469a311dcc4e13", "score": "0.57736874", "text": "boolean checkDeviceTypeExists(String DeviceTypeName);", "title": "" }, { "docid": "dc7f497c1671d02451afc5f8205b85c3", "score": "0.57728785", "text": "public boolean isNotNullType() {\n return genClient.cacheValueIsNotNull(CacheKey.type);\n }", "title": "" }, { "docid": "14f9a0de39c1085e286c0651a37acaee", "score": "0.57577", "text": "boolean hasSubType();", "title": "" }, { "docid": "9254d5561c85a0795f07cd1186202b52", "score": "0.57462347", "text": "boolean contains(IType type);", "title": "" }, { "docid": "573daa75dbd061531b8c7e4d8cdae346", "score": "0.5745163", "text": "protected boolean isTypeCorrect(String actualTypeName) {\n return this.repositoryHelper.isTypeOf(genericHandler.getServiceName(),actualTypeName,getTypeName());\n }", "title": "" }, { "docid": "404e6f1d9f16e0fcaad1b8a88540240a", "score": "0.57367164", "text": "boolean hasInputType();", "title": "" }, { "docid": "ddbde59dadda441e94777949a7db29cc", "score": "0.57242244", "text": "boolean hasItemType();", "title": "" }, { "docid": "0a421b063db57bccb9e041dcf5e2a2d5", "score": "0.5722255", "text": "boolean hasPlatformType();", "title": "" }, { "docid": "35e195532321ef11c1b45f6a8273c499", "score": "0.5712216", "text": "public boolean hasTypeMatch() {\n return typeMatch;\n }", "title": "" }, { "docid": "94e4c8ae8756d74616cd83ba7bd82117", "score": "0.57073104", "text": "@Test(groups = { \"api\" })\n public void shouldReturnNotCreatableForNull() {\n final ValueTypeFactory<?> factory = (ValueTypeFactory<?>) createFactory();\n assertFalse(factory.isCreatable(null));\n }", "title": "" }, { "docid": "98702aa83b0b72053859afe0e76cdf56", "score": "0.56915534", "text": "boolean hasSourceType();", "title": "" }, { "docid": "4037ebae9189f6f88da45ded26c6003d", "score": "0.56907815", "text": "void isValid(ScopeObj scopeObj) throws TypeOneException;", "title": "" }, { "docid": "a620097e6e6661e9a8d58eca3d9f9767", "score": "0.56596977", "text": "@Test(expectedExceptions = {})\n public void testGetCompartmentResourceTypeExists() throws FHIRSearchException {\n List<String> results = CompartmentUtil.getCompartmentResourceTypes(\"Patient\");\n assertNotNull(results);\n assertFalse(results.isEmpty());\n }", "title": "" }, { "docid": "cac27f7f29449eff035fa94ec42b5b65", "score": "0.56552994", "text": "public static void assertDataTypesExist(final JpaToscaServiceTemplate serviceTemplate) {\n assertExist(serviceTemplate, ToscaUtils::checkDataTypesExist);\n }", "title": "" }, { "docid": "0d3dbafd07ec6d7161d12679ba9f3d89", "score": "0.5650673", "text": "boolean hasLocationType();", "title": "" }, { "docid": "a27140a0dac4cb71480421ea5cfc38bd", "score": "0.56384605", "text": "private void checkType(KeyStore obj, String type) {\n if (!obj.getType().equals(type)) {\n throw new RuntimeException(\"ERROR: wrong key store type\");\n }\n }", "title": "" }, { "docid": "96dbc56d211b0f7b1264fb22ad6c436b", "score": "0.5635754", "text": "@Override\n public boolean isTypechecked() {\n return myDefinition != null && (!(myDefinition instanceof DefinableMetaDefinition) || myTypechecked != null);\n }", "title": "" }, { "docid": "992aeaa7d1e97908168e3ab699aa7f7c", "score": "0.5622512", "text": "public boolean exists( TypesexeRecord typesexe ) {\n\t\treturn super.doExists(typesexe);\n\t}", "title": "" }, { "docid": "0ed186782b9c6d9d20f9942899e0cc52", "score": "0.562242", "text": "@Override\r\n public MyIDictionary<String, Type> typecheck(MyIDictionary<String, Type> typeEnv) throws MyException {\n return snd.typecheck(first.typecheck(typeEnv));\r\n }", "title": "" }, { "docid": "58bb12b0b392598820cf1c107e946d74", "score": "0.5617654", "text": "@Override\n public <S extends T> boolean exists(Example<S> example) {\n return false;\n }", "title": "" } ]
0874b1be6bdc185850ec41a99ae71723
This method used to process incoming request Read json request object from http servlet request object and build json string
[ { "docid": "575d9ef7b727b58a9c8876546894bb6b", "score": "0.6911924", "text": "protected void processRequest(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\r\n\t\t\r\n\t\t resp.setContentType(\"application/json\"); \r\n\t\t StringBuilder sb = new StringBuilder();\r\n\t\t String s;\r\n\t\t while ((s = req.getReader().readLine()) != null) {\r\n\t\t\t sb.append(s);\r\n\t\t }\r\n\t\t setJsonrequest(sb.toString());\r\n\t\t \r\n\t\t /*\r\n\t\t * Execute service\r\n\t\t */\r\n\t\t execute(req, resp);\r\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "2482f55a8cf4d2620dd1a00fecba7c8f", "score": "0.7160132", "text": "public static String getJsonStringFromRequest(HttpServletRequest request) {\n\n StringBuilder sb = new StringBuilder();\n BufferedReader reader = null;\n String s;\n\n try {\n\n reader = request.getReader();\n\n do {\n\n s = reader.readLine();\n\n if (s != null) {\n sb.append(s);\n } else {\n break;\n }\n\n } while (true);\n\n } catch (IOException ex) {\n logger.error(\"IO Exception, failed to decode JSON string from request: \" + ex.getMessage());\n //throw new MyCustomException(\"IO Exception occurred\", ErrorCode.CLIENT_ERR, \"Failed to decode JSON string from the HTTP request: \" + ex.getMessage(), ErrorCategory.CLIENT_ERR_TYPE);\n\n } catch (Exception ex) {\n logger.error(\"General Exception, failed to decode JSON string from request: \" + ex.getMessage());\n //throw new MyCustomException(\"General Exception occurred\", ErrorCode.CLIENT_ERR, \"Failed to decode JSON string from the HTTP request: \" + ex.getMessage(), ErrorCategory.CLIENT_ERR_TYPE);\n\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException ex) {\n logger.error(\"exception closing buffered reader: \" + ex.getMessage());\n }\n }\n }\n\n return sb.toString();\n }", "title": "" }, { "docid": "2012928c3142cda5ea8be4ddee7b6b34", "score": "0.7051003", "text": "public static String extractJson(HttpServletRequest request) {\n\n StringBuilder sb = new StringBuilder();\n BufferedReader reader = null;\n String s;\n\n try {\n\n reader = request.getReader();\n\n do {\n\n s = reader.readLine();\n\n if (s != null) {\n sb.append(s);\n } else {\n break;\n }\n\n } while (true);\n\n } catch (IOException ex) {\n logger.error(\"IO Exception, failed to decode JSON string from request: \" + ex.getMessage());\n //throw new MyCustomException(\"IO Exception occurred\", ErrorCode.CLIENT_ERR, \"Failed to decode JSON string from the HTTP request: \" + ex.getMessage(), ErrorCategory.CLIENT_ERR_TYPE);\n\n } catch (Exception ex) {\n logger.error(\"General Exception, failed to decode JSON string from request: \" + ex.getMessage());\n //throw new MyCustomException(\"General Exception occurred\", ErrorCode.CLIENT_ERR, \"Failed to decode JSON string from the HTTP request: \" + ex.getMessage(), ErrorCategory.CLIENT_ERR_TYPE);\n\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException ex) {\n logger.error(\"exception closing buffered reader: \" + ex.getMessage());\n }\n }\n }\n\n return sb.toString();\n }", "title": "" }, { "docid": "85fc094e492d1c593b878895a158d184", "score": "0.69634", "text": "JSONStreamAware processRequest(HttpServletRequest paramHttpServletRequest)\r\n/* 13: */ {\r\n/* 14:17 */ JSONObject localJSONObject = new JSONObject();\r\n/* 15:18 */ localJSONObject.put(\"host\", paramHttpServletRequest.getRemoteHost());\r\n/* 16:19 */ localJSONObject.put(\"address\", paramHttpServletRequest.getRemoteAddr());\r\n/* 17:20 */ return localJSONObject;\r\n/* 18: */ }", "title": "" }, { "docid": "4bc3cc7d1adc21d531be9e3b505b5aee", "score": "0.6579476", "text": "private String parseRequstJson(String requestJson) {\n Map<String, Property> paramsMap = taskExecutionContext.getPrepareParamsMap();\n return ParameterUtils.convertParameterPlaceholders(requestJson, ParamUtils.convert(paramsMap));\n }", "title": "" }, { "docid": "d23d39bf077e64415a508af8c2f3077c", "score": "0.6463577", "text": "JSONStreamAware processRequest(HttpServletRequest paramHttpServletRequest)\r\n/* 105: */ {\r\n/* 106:108 */ return CONSTANTS;\r\n/* 107: */ }", "title": "" }, { "docid": "300818cb2fb67ce6f4ad1a56a9e1d6bf", "score": "0.64616174", "text": "private void initJsonPost(String input) {\n\t\tJsonParser jp = new JsonParser();\n\t\tJsonElement je = jp.parse(input);\n\t\tJsonObject jo = je.getAsJsonObject();\n//\t\tjo.addProperty(\"MIME\", mIMEIString);\n//\t\tjo.addProperty(\"NAME\", mNameString);\n//\t\tjo.addProperty(\"ApiKey\", Constant.Apikey);\n\t\tJSONObject jjo = null;\n\t\ttry {\n\t\t\tjjo = new JSONObject(jo.toString());\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\trequestJson(jjo);\n\t}", "title": "" }, { "docid": "6d811f3af9bfa3c9d19daa38a96021c9", "score": "0.63341665", "text": "@Override\n\t\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\t\tthrows ServletException, IOException {\n\t\t\tString jsonString = IOUtils.toString(req.getInputStream(), StandardCharsets.UTF_8);\t\t\n\n\t\t\tSystem.out.println(\"(Servlet retrieve data) Request string \" + jsonString);\n\t\t\t\n\t\t\tjsonReceive = (JSONObject) JSONValue.parse(jsonString);\n//\t\t\tSystem.out.println(jsonString);\n\t\t\t\n\t\t\tString q=\"\";\n\t\t\t\n\t\t\tif(jsonReceive != null){\n\t\t\t\tSystem.out.println(\"pas null jsonR\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tjsonReceive = getJSONFromTaskQueueRequest(jsonString);\n\t\t\t\tif(jsonReceive != null){\n\t\t\t\t\tSystem.out.println(\"json pas null\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"(Servlet retrieve data) Request json \" + jsonReceive);\n\t\t\t\n\t\t\tSystem.out.println(jsonReceive);\n\t\t\tresp.setContentType(\"application/json\");\n\t PrintWriter out= resp.getWriter();\n\t out.print(jsonReceive);\n\t out.flush();\n\t out.close();\n\t\t\t\n\t\t}", "title": "" }, { "docid": "2afe446d998bfcd562a2c3821694e523", "score": "0.62117547", "text": "JSONStreamAware processRequest(HttpServletRequest paramHttpServletRequest)\r\n/* 22: */ throws NxtException\r\n/* 23: */ {\r\n/* 24:23 */ Account localAccount = ParameterParser.getAccount(paramHttpServletRequest);\r\n/* 25:25 */ if (localAccount.getPublicKey() != null)\r\n/* 26: */ {\r\n/* 27:26 */ JSONObject localJSONObject = new JSONObject();\r\n/* 28:27 */ localJSONObject.put(\"publicKey\", Convert.toHexString(localAccount.getPublicKey()));\r\n/* 29:28 */ return localJSONObject;\r\n/* 30: */ }\r\n/* 31:30 */ return JSON.emptyJSON;\r\n/* 32: */ }", "title": "" }, { "docid": "9b16adfbcc8cf68ad5b9cc0fc88db7a3", "score": "0.61930865", "text": "protected String getRequestData(RequestContext ctx) {\r\n\t\t\r\n\t\tStringBuffer buffer = null;\r\n\r\n\t\ttry {\r\n\t\t\tBufferedReader reader = ctx.getRequest().getReader();\r\n\t\t\tbuffer = new StringBuffer();\r\n\t\t\t\r\n\t\t\tString line;\r\n\t\t\twhile ( (line = reader.readLine()) != null) {\r\n\t\t\t\tbuffer.append(line);\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * Check if data is a JSONObject\r\n\t\t\t * Then check if it has a 'data' key to unpack\r\n\t\t\t */\r\n\t\t\tJSONObject jObject = new JSONObject(buffer.toString());\r\n\t\t\tif (jObject.has(\"data\"))\r\n\t\t\t\treturn jObject.getJSONObject(\"data\").toString();\r\n\t\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\t// do nothing\r\n\t\t}\r\n\r\n\t\treturn (buffer == null) ? null : buffer.toString();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "965f9aab5e2aad746f2b90eb49d89a7b", "score": "0.61342645", "text": "private JSONObject createJSONRequest(String requestId, IHTTPSession session) throws JSONException {\n JSONObject jsonRequest = new JSONObject();\n jsonRequest.put(\"requestId\", requestId);\n jsonRequest.put(\"body\", this.getBodyText(session));\n jsonRequest.put(\"headers\", session.getHeaders());\n jsonRequest.put(\"method\", session.getMethod());\n jsonRequest.put(\"path\", session.getUri());\n jsonRequest.put(\"query\", session.getQueryParameterString());\n return jsonRequest;\n }", "title": "" }, { "docid": "965f9aab5e2aad746f2b90eb49d89a7b", "score": "0.61342645", "text": "private JSONObject createJSONRequest(String requestId, IHTTPSession session) throws JSONException {\n JSONObject jsonRequest = new JSONObject();\n jsonRequest.put(\"requestId\", requestId);\n jsonRequest.put(\"body\", this.getBodyText(session));\n jsonRequest.put(\"headers\", session.getHeaders());\n jsonRequest.put(\"method\", session.getMethod());\n jsonRequest.put(\"path\", session.getUri());\n jsonRequest.put(\"query\", session.getQueryParameterString());\n return jsonRequest;\n }", "title": "" }, { "docid": "275645a6994881a632e591d5ce5e680f", "score": "0.6077498", "text": "@Override\r\n\tpublic String getBody(HttpServletRequest request, HttpServletResponse response) {\n\t\tif (this.format || \"true\".equals(request.getParameter(\"format\"))) {\r\n\t\t\treturn Json.toFormatJson(data);\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn Json.toJson(data);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f027e84b9a45280819fe1aae40f333ca", "score": "0.605774", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException { \n \n response.setContentType(\"application/json;charset=UTF-8\");\n PrintWriter out = response.getWriter();\n\n Gson gson = new Gson();\n Result res = Result.FAILURE_PROCESS;\n \n try {\n \n switch (Util.getContentType(request)) { \n \n //**************************************************************\n //**************************************************************\n //** Content-Type :: application/x-www-form-urlencoded\n //**************************************************************\n //**************************************************************\n case APPLICATION_FORM_URLENCODED: \n\n switch (getRequestOperation(request)){\n\n case GET_ADDRESS:\n res = ControllerAddress.getAddressById(request);\n break;\n\n case SEARCH_ADDRESS:\n res = ControllerAddress.searchAddress(request);\n break;\n\n case GET_CITY_LIST:\n res = ControllerAddress.getCityList();\n break;\n \n case GET_BOROUGH_LIST:\n res = ControllerAddress.getBoroughList(request);\n break;\n \n case GET_LOCALITY_LIST:\n res = ControllerAddress.getLocalityList(request);\n break;\n \n default:\n res = Result.FAILURE_PARAM_MISMATCH.setContent(\"Unexpected Error On AddressServlet>APPLICATION_FORM_URLENCODED>default case\");\n break;\n }\n\n break;\n \n //**************************************************************\n //**************************************************************\n //** Content-Type :: Default content-type\n //**************************************************************\n //**************************************************************\n default:\n res = Result.FAILURE_PARAM_MISMATCH.setContent(\"AddressServlet -> Default Content-Type Error\");\n break;\n \n \n }\n \n \n \n \n// if(request.getParameter(\"cdasDo\")!=null){ \n// switch(request.getParameter(\"cdasDo\")){ \n// \n// //**************************************************************\n// //**************************************************************\n// //** ADD TO ADDRESS CASE\n// //**************************************************************\n// //**************************************************************\n// case \"addAddress\": \n// res = DBAddress.addAddress(request.getParameter(\"city\"), request.getParameter(\"borough\"), request.getParameter(\"locality\"));\n// break;\n// \n// //**************************************************************\n// //**************************************************************\n// //** REMOVE ADDRESS CASE\n// //**************************************************************\n// //**************************************************************\n// case \"deleteAddress\":\n// res = DBAddress.deleteAddress(request.getParameter(\"cdaID\"));\n// break;\n// \n// //**************************************************************\n// //**************************************************************\n// //** DEFAULT CASE\n// //**************************************************************\n// //**************************************************************\n// default:\n// res = Result.FAILURE_PARAM_WRONG;\n// break;\n// }\n//\n// }else{\n// res = Result.FAILURE_PARAM_MISMATCH;\n// }\n \n \n \n }finally{\n out.write(gson.toJson(res));\n out.close();\n } \n \n }", "title": "" }, { "docid": "0ff47b3da8e740b823530c6e37118de5", "score": "0.6043517", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n final String detailJson = request.getParameter(\"detail\");\n TypeToken<List<VisitorBookModel>> token = new TypeToken<List<VisitorBookModel>>() {\n };\n List<VisitorBookModel> detail = new Gson().fromJson(detailJson, token.getType());\n response.getWriter().print(saveVoucher((ArrayList<VisitorBookModel>) detail));\n\n }", "title": "" }, { "docid": "20a2a711c6e090823c76d70041caecc3", "score": "0.6006626", "text": "protected String doReadRequestBodyAsString(HttpServletRequest req) throws IOException {\n return req.getReader().lines().collect(Collectors.joining(System.lineSeparator()));\n }", "title": "" }, { "docid": "8ad9ec99f75fec86fac66446bf010b29", "score": "0.5977109", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"application/json\");\n String gameTitle = request.getParameter(Constants.GAME_TITLE);\n String chatMessage = request.getParameter(\"chatMessage\");\n GameRoomsManager gameRoomsManager = ServletUtils.getGameRoomsManager(getServletContext());\n String username = SessionUtils.getUsername(request);\n ChatManager chatManager = gameRoomsManager.getGameChat(gameTitle);\n\n if (chatMessage != \"\") {\n logServerMessage(\"Adding chat string from \" + username + \": \" + chatMessage);\n chatManager.addChatString(chatMessage, username);\n\n try (PrintWriter out = response.getWriter()) {\n Gson gson = new Gson();\n String jsonResponse = gson.toJson(chatMessage);\n out.println(jsonResponse);\n out.flush();\n }\n }\n }", "title": "" }, { "docid": "85d6b2945852e352e9b23ed066e9e1e1", "score": "0.59492505", "text": "protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t\tSystem.out.println(request.getParameter(\"data\"));\n\t\tString strjson=request.getParameter(\"data\");\n\t\t//String strjson = \"{\\\"ex_ss\\\":[2,3,4,5], \\\"ex_fb\\\":[2,3], \\\"ex_judge\\\":[2,3], \\\"ex_sa\\\":[2,3],\\\"ex_calc\\\":[2,3]}\";\n\t\tExGetQService egq = new ExGetQService();\n\t\tList<GetRequest> list = egq.getquest(strjson);\n\t\tGson gson = new Gson();\n\t\tString sjson = \"\";\n\n\t\tString resStr = \"{\\\"data\\\" :[\";\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tGetRequest gr = new GetRequest();\n\t\t\tgr = list.get(i);\n\t\t\tString str = \"\";\n\n\t\t\tswitch (gr.getExType()) {\n\n\t\t\tcase \"ex_ss\":\n\t\t\t\tEx_SingleSelection ss = new Ex_SingleSelection();\n\t\t\t\tfor (int j = 0; j < gr.getExId().size(); j++) {\n\n\t\t\t\t\tDBEnableBean bean = ss.setId(gr.getExId().get(j)).get();\n\t\t\t\t\tEx_SingleSelection e = (Ex_SingleSelection) bean;\n\t\t\t\t\tresStr += e.toJson();\n\t\t\t\t\tresStr += \",\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"ex_fb\":\n\t\t\t\tEx_Fillblank dao = new Ex_Fillblank();\n\t\t\t\tfor (int j = 0; j < gr.getExId().size(); j++) {\n\n\t\t\t\t\tDBEnableBean bean = dao.setId(gr.getExId().get(j)).get();\n\t\t\t\t\tEx_Fillblank e = (Ex_Fillblank) bean;\n\t\t\t\t\tresStr += e.toJson();\n\t\t\t\t\tresStr += \",\";\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\tcase \"ex_judge\":\n\t\t\t\tEx_Judge jd = new Ex_Judge();\n\t\t\t\tfor (int j = 0; j < gr.getExId().size(); j++) {\n\n\t\t\t\t\tDBEnableBean bean = jd.setId(gr.getExId().get(j)).get();\n\t\t\t\t\tEx_Judge e = (Ex_Judge) bean;\n\t\t\t\t\tresStr += e.toJson();\n\t\t\t\t\tresStr += \",\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"ex_sa\":\n\t\t\t\tEx_ShortAnswer sa = new Ex_ShortAnswer();\n\t\t\t\tfor (int j = 0; j < gr.getExId().size(); j++) {\n\n\t\t\t\t\tDBEnableBean bean = sa.setId(gr.getExId().get(j)).get();\n\t\t\t\t\tEx_ShortAnswer e = (Ex_ShortAnswer) bean;\n\t\t\t\t\tresStr += e.toJson();\n\t\t\t\t\tresStr += \",\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\tcase \"ex_calc\":\n\t\t\t\tEx_Calculate ca = new Ex_Calculate();\n\t\t\t\tfor (int j = 0; j < gr.getExId().size(); j++) {\n\n\t\t\t\t\tDBEnableBean bean = ca.setId(gr.getExId().get(j)).get();\n\t\t\t\t\tEx_Calculate e = (Ex_Calculate) bean;\n\t\t\t\t\tresStr += e.toJson();\n\t\t\t\t\tresStr += \",\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t\t\t\n\n\t\t\t}\n\n\t\t\t// 返回数据格式为\n\n\t\t\t\n\t\t\t\n\n\t\t}\n\t\tresStr = resStr.substring(0, resStr.length() - 1);\n\t\tresStr += \"]}\";\n\t\tSystem.out.println(resStr);\n\t\tresponse.setCharacterEncoding(\"utf-8\");\n\t\tresponse.getWriter().print(resStr);\n\t}", "title": "" }, { "docid": "0fc529187d84dfaa6da0807d43c628b4", "score": "0.5938801", "text": "public HttpRuntimeRequest processRequest(FullHttpRequest rawRequest, HttpRuntimeRequest request) throws ConverterException {\n if (rawRequest == null) {\n throw new ConverterException(\"Bad request - please check that your request data is valid\");\n }\n\n //start mapping values\n request.setSandboxName(extractSandboxName(rawRequest.headers()));\n request.setMethod(rawRequest.method().name());\n QueryStringDecoder queryStringDecoder = new QueryStringDecoder(rawRequest.uri());\n request.setRawQuery(queryStringDecoder.rawQuery());\n String decodedPath = queryStringDecoder.path();\n decodedPath = decodedPath.contains(\"?\") ? decodedPath.substring(0, decodedPath.indexOf(\"?\")) : decodedPath;\n request.setUrl(decodedPath);\n\n if (rawRequest.headers().contains(HttpHeaderNames.CONTENT_TYPE)) {\n String rawContentType = rawRequest.headers().get(HttpHeaderNames.CONTENT_TYPE);\n\n if (jsonPattern.matcher(rawContentType).matches()) {\n request.setContentType(BodyContentType.JSON.getType());\n } else if (xmlPattern.matcher(rawContentType).matches()) {\n request.setContentType(BodyContentType.XML.getType());\n } else if (rawContentType.startsWith(\"application/x-www-form-urlencoded\")) {\n request.setContentType(BodyContentType.URLENCODED.getType());\n } else if (rawContentType.startsWith(\"multipart/form-data\")) {\n request.setContentType(BodyContentType.FORMDATA.getType());\n request.setContentParser(s -> {\n Map<String, Object> map = new HashMap<>();\n for (InterfaceHttpData p : new HttpPostRequestDecoder(rawRequest).getBodyHttpDatas()) {\n map.put(p.getName(), ((HttpData) p).getString());\n }\n return ProxyObject.fromMap(map);\n });\n }\n }\n\n //content-length is within limit so process\n ByteBuf content = rawRequest.content();\n String rawBody = content.toString(Charset.defaultCharset());\n request.setBody(rawBody == null ? \"\" : rawBody);\n\n //parse parameter, query params, cookies, headers etc.\n Map<String, List<String>> queryParams = queryStringDecoder.parameters();\n request.setQuery(mapUtils.flattenMultiValue(queryParams));\n\n if (rawRequest.headers().contains(HttpHeaderNames.COOKIE)) {\n Map<String, String> cookies = new HashMap<>();\n Set<io.netty.handler.codec.http.cookie.Cookie> rawCookies = ServerCookieDecoder.LAX.decode(rawRequest.headers().get(HttpHeaderNames.COOKIE));\n if (rawCookies != null) {\n for (io.netty.handler.codec.http.cookie.Cookie servletCookie : rawCookies) {\n cookies.put(servletCookie.name(), servletCookie.value());\n }\n }\n request.setCookies(cookies);\n }\n\n //normalise accepted header\n List<String> accepted = new ArrayList<String>();\n for(String acceptedValue : rawRequest.headers().getAll(\"Accept\")){\n if(acceptedValue.indexOf(\",\")!=-1){\n for(String subValue : acceptedValue.split(\",\")){\n accepted.add(subValue);\n }\n }else{\n accepted.add(acceptedValue);\n }\n }\n request.setAccepted(accepted);\n\n //normalise / map headers\n Map<String,String> normalisedHeaders = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);\n for(Map.Entry<String, String> entry : rawRequest.headers().entries()){\n //if the SOAPAction is wrapped in quotes, remove them to simplify matching.\n String value = entry.getValue();\n if(entry.getKey().equalsIgnoreCase(\"SOAPAction\") && value.startsWith(\"\\\"\") && value.endsWith(\"\\\"\")) value = value.substring(1, value.length()-1);\n normalisedHeaders.put(entry.getKey(), value);\n }\n request.setHeaders(normalisedHeaders);\n return request;\n }", "title": "" }, { "docid": "ab8d53660d93b491419991af94063135", "score": "0.5907089", "text": "@Override\n protected Object transformRequest(DSRequest dsRequest)\n {\n postProcessTransform(dsRequest);\n\n System.out.println(\"ContactDataSource: transformRequest: START\");\n dsRequest.setContentType(\"application/json\");\n JavaScriptObject jso = dsRequest.getData();\n\n String jsoText = JSON.encode(jso);\n System.out.println(\"ContactDataSource: transformRequest: START: jsoText=\" + jsoText);\n\n String s1 = JSON.encode(jso);\n System.out.println(\"ContactDataSource: transformRequest: FINISH: s1=\" + s1);\n return s1;\n }", "title": "" }, { "docid": "9509b950f50d9abca876509164426395", "score": "0.5891454", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n //not logged --> f*** yourself !!!\n if (!FuncTools.checkSessionLogin(request)) {\n response.sendError(HttpServletResponse.SC_FORBIDDEN);\n return;\n }\n \n request.setCharacterEncoding(\"utf8\");\n response.setContentType(\"application/json\");\n PrintWriter out = response.getWriter();\n \n String command = (String) request.getParameter(\"command\");\n \n if (command == null) {\n out.print(\"{action_status : 'fail', motif : 'no command'}\");\n return;\n }\n \n switch (command) {\n case \"get_orders\":\n out.print(getOrders(request));\n return;\n case \"make_order\":\n out.print(makeOrder(request));\n return;\n case \"del_order\":\n out.print(delOrder(request));\n return;\n case \"update_order\":\n out.print(updateOrder(request));\n return;\n default:\n out.print(\"{action_status : 'fail'}\");\n }\n }", "title": "" }, { "docid": "36a81a31221b9afbcb0463efe2d1e764", "score": "0.58794457", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic static String getRequestPayload(String sRequestname , HashMap<String,Object> sInput ) throws ParseException, IOException{\n\t\t\n\t\tString getDPRequestBody = ProjectVariables.sServices.get(sRequestname).get(\"RequestBody\");\n\n\t\tJSONParser parser = new JSONParser();\n\t\tJSONObject json = (JSONObject) parser.parse(getDPRequestBody);\n\t\t\n\t\tjson.putAll(sInput);\n\t\n\t\tGson g = new Gson();\t\t\n\t\tString str = g.toJson(json);\n\n\t\tSystem.out.println(str);\n\t\t\n\t\treturn str;\n\t\t\n\t}", "title": "" }, { "docid": "b85602af4bac2a895d3d23dfcb3443a4", "score": "0.58245575", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n response.setContentType(\"application/json;charset=UTF-8\");\r\n PrintWriter out = response.getWriter();\r\n try {\r\n List<ResultCodeEntity> resultList = new DataTableBean().getResultCodeList();\r\n List<Map<String, String>> resultMapList = new ArrayList<Map<String, String>>();\r\n Map<String, String> resultMap;\r\n for (ResultCodeEntity resultCode : resultList) {\r\n resultMap = new HashMap<String, String>(2, 1);\r\n resultMap.put(\"errorCode\", resultCode.getKey());\r\n resultMap.put(\"errorCodeDescription\", resultCode.getValue());\r\n resultMapList.add(resultMap);\r\n }\r\n String json = JsonUtils.mapListToJsonArray(resultMapList);\r\n StringBuilder jsonBuilder = new StringBuilder();\r\n jsonBuilder.append(\"{\\\"total\\\":\").append(\"\\\"\").append(resultMapList.size()).append(\"\\\",\\\"rows\\\":\").append(json).append(\"}\");\r\n out.print(jsonBuilder.toString());\r\n out.flush();\r\n } finally {\r\n out.close();\r\n }\r\n }", "title": "" }, { "docid": "3f353da53be6f071d5e7ddc80b50e45a", "score": "0.5820311", "text": "public String whenISendHTTPRequest(String jsonRequest) throws Exception {\n prop.load(RequestModel.class.getResourceAsStream(envprop + \"baseurl.properties\"));\n responseHandler.setJsonRequest(jsonRequest);\n base_url = JsonHandler.getValueFromJson(jsonRequest, \"url\");\n operation = JsonHandler.getValueFromJson(jsonRequest, \"operation\");\n expected_status_code = Integer.parseInt(JsonHandler.getValueFromJson(jsonRequest, \"status\"));\n URL url = new URL(prop.getProperty(jsonRequest.replaceAll(\".json\", \"\")) + base_url);\n HttpURLConnection conn = (HttpURLConnection) url.openConnection();\n conn.setRequestMethod(operation);\n switch (operation) {\n case \"POST\":\n case \"PUT\":\n conn.setDoInput(true);\n conn.setDoOutput(true);\n conn.setRequestProperty(\"User-Agent\", USER_AGENT);\n conn.setRequestProperty(\"Accept\", \"application/json\");\n conn.setRequestProperty(\"Content-Type\", \"application/json; charset=UTF-8\");\n Map payload_json = jsonHandler.getAllKeySet(\"payload\");\n JSONObject jsonObject = new JSONObject(payload_json);\n OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream(), \"UTF-8\");\n writer.write(String.valueOf(jsonObject));\n writer.close();\n default:\n int responseCode = conn.getResponseCode();\n responseHandler.setStatusCode(responseCode);\n BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));\n String inputLine;\n StringBuffer response = new StringBuffer();\n while ((inputLine = in.readLine()) != null) {\n response.append(inputLine);\n }\n in.close();\n httpResponse = response.toString();\n }\n return httpResponse;\n }", "title": "" }, { "docid": "6f6d228203cd5ee2002653db4187c19f", "score": "0.57804036", "text": "public BodyHttpServletRequestWrapper(HttpServletRequest request) {\n super(request);\n bodyBytes = HttpHelper.getRequestJsonString(request).getBytes(Charset.forName(\"UTF-8\"));\n }", "title": "" }, { "docid": "27b78b0875a96183c228c7e0c910bc6b", "score": "0.57477146", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/html;charset=UTF-8\");\n request.setCharacterEncoding(\"UTF-8\");\n String json = \"\";\n JsonReader jsonReader = Json.createReader(request.getReader());\n JsonObjectBuilder job = Json.createObjectBuilder();\n \n JsonResponse jsonResponse = new JsonResponse();\n User user = null;\n HttpSession session = request.getSession();\n if(session != null){\n user = (User) session.getAttribute(\"user\");\n }\n if(user == null){\n job.add(\"authStatus\", \"false\")\n .add(\"user\", \"null\")\n .add(\"dataJson\", \"null\");\n try (Writer writer = new StringWriter()){\n Json.createWriter(writer).write(job.build());\n json = writer.toString();\n }\n try (PrintWriter out = response.getWriter()) {\n out.println(json); \n out.flush();\n return;\n }\n }\n EncryptPass ep = new EncryptPass();\n String salts = null;\n String path = request.getServletPath();\n switch (path) {\n case \"/changeUserProfile\":\n JsonObject jsonObject = jsonReader.readObject();\n String login = jsonObject.getString(\"login\");\n String password = jsonObject.getString(\"password\",\"\");\n String email = jsonObject.getString(\"email\");\n String firstname = jsonObject.getString(\"firstname\");\n String lastname = jsonObject.getString(\"lastname\");\n user = userFacade.find(user.getId());\n \n if(!\"\".equals(password)){\n password = ep.setEncriptPass(password, user.getSalts());\n user.setPassword(password);\n }\n user.setLogin(login);\n Person person = personFacade.find(user.getPerson().getId());\n person.setFirstname(firstname);\n person.setLastname(lastname);\n person.setEmail(email);\n personFacade.edit(person);\n user.setPerson(person);\n userFacade.edit(user);\n session.setAttribute(\"user\", user);\n UserJsonBuilder ujb = new UserJsonBuilder();\n json = jsonResponse.getJsonResponse(session, ujb.cerateJsonUser(user));\n break;\n case \"/listResources\":\n List<Account>listAccounts = accountFacade.findByUser(user);\n JsonArrayBuilder jab = Json.createArrayBuilder();\n AccountJsonBuilder ajb = new AccountJsonBuilder();\n for(Account account : listAccounts){\n jab.add(ajb.createJsonAccount(account));\n }\n json = jsonResponse.getJsonResponse(session, jab.build());\n break;\n case \"/resource\":\n String accountId = request.getParameter(\"accountId\");\n Account account = accountFacade.find(Long.parseLong(accountId));\n ajb = new AccountJsonBuilder();\n json = jsonResponse.getJsonResponse(session, ajb.createJsonAccount(account));\n break;\n case \"/createAccount\":\n jsonObject = jsonReader.readObject();\n login = jsonObject.getString(\"login\"); \n password = jsonObject.getString(\"password\"); \n String resourceUrl = jsonObject.getString(\"resourceUrl\"); \n account = new Account(resourceUrl, login, password, Calendar.getInstance().getTime(), user);\n accountFacade.create(account);\n json = jsonResponse.getJsonResponse(session,\"true\");\n break;\n case \"/changeAccount\":\n jsonObject = jsonReader.readObject();\n login = jsonObject.getString(\"login\"); \n password = jsonObject.getString(\"password\"); \n accountId = jsonObject.getString(\"accountId\"); \n resourceUrl = jsonObject.getString(\"resourceUrl\"); \n account = accountFacade.find(Long.parseLong(accountId));\n account.setLogin(login);\n account.setPassword(password);\n account.setResourceUrl(resourceUrl);\n account.setRegistrationDate(Calendar.getInstance().getTime());\n accountFacade.edit(account);\n json = jsonResponse.getJsonResponse(session,\"true\");\n break;\n }\n if(!\"\".equals(json)){\n try (PrintWriter out = response.getWriter()) {\n out.println(json); \n out.flush();\n }\n }\n }", "title": "" }, { "docid": "8251a5b453f4b665484378ff76711720", "score": "0.5725683", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/html;charset=UTF-8\");\n try (PrintWriter out = response.getWriter()) {\n String companyName = request.getParameter(\"companyName\");\n String outletName = request.getParameter(\"outletName\");\n \n if(outletName == null || outletName.length() == 0){\n outletName = \"%\";\n }\n \n ArrayList<AnalyticsEntity> analyticsResultList = TransactionDao.getAnalytics(companyName, outletName);\n \n Gson gson = new GsonBuilder().setPrettyPrinting().create();\n JsonObject overall = new JsonObject();\n JsonArray analyticsArr = new JsonArray();\n \n for(AnalyticsEntity entity : analyticsResultList){\n JsonObject analyticsObject = new JsonObject();\n analyticsObject.addProperty(\"companyName\", entity.companyName);\n analyticsObject.addProperty(\"outletName\", entity.outletName);\n analyticsObject.addProperty(\"foodName\", entity.foodName);\n analyticsObject.addProperty(\"quantity\", entity.quantity);\n analyticsObject.addProperty(\"totalPrice\", entity.totalPrice);\n analyticsObject.addProperty(\"paymentType\", entity.paymentType);\n analyticsObject.addProperty(\"dateTime\", entity.dateTime);\n analyticsObject.addProperty(\"TID\", entity.TID);\n analyticsObject.addProperty(\"discountName\", entity.discountName);\n analyticsObject.addProperty(\"cashierName\", entity.cashierName);\n analyticsObject.addProperty(\"refunded\", entity.refunded);\n analyticsObject.addProperty(\"refundedBy\", entity.refundedBy);\n analyticsObject.addProperty(\"refundedDate\", entity.refundedDate);\n analyticsArr.add(analyticsObject);\n }\n \n// Calendar cal = Calendar.getInstance();\n// overall.addProperty(\"timezone\", cal.getTimeZone().getID().equals(\"Etc/UTC\"));\n overall.add(\"result\", analyticsArr);\n out.println(overall);\n \n }\n }", "title": "" }, { "docid": "5a31a2fce7449c66d7aca3faa97b8584", "score": "0.57194906", "text": "public void processRequest()\n {\n addHeaders();\n addDataRows();\n }", "title": "" }, { "docid": "3eefe1f478da89b0b9303c1e27317aee", "score": "0.57034665", "text": "public String getJSONForRequest(int eventType) {\n\t\tString request = null;\n\t\tswitch (eventType) {\n\t\t// Assign key ToDo\n\t\t/*case ApiType.API_INIT:\n request = Constants.RESPONSE_INIT_API;\n break;*/\n\n\t\tdefault:\n\n\t\t}\n\n\t\t/*if(eventType==ApiType.API_GET_REVIEW_ORDER_DATA || eventType==ApiType.API_GET_REVIEW_ORDER_DATA){\n return Constants.REVIEW_JSON_STRING;\n }*/\n\n\t\tSharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n\t\tif (preferences.contains(request)) {\n\t\t\treturn preferences.getString(request, \"\");\n\t\t}\n\n\t\treturn \"\";\n\t}", "title": "" }, { "docid": "df7d219fa8fcadf8d7f9aa5ba2ea6f0b", "score": "0.56985825", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\n\t{\n\t\tSystem.out.println(\"POST received\");\n\t\tBufferedReader is = request.getReader();\n\t\tString json = is.readLine();\n\t\tis.close();\n\t\tint IPindex = json.indexOf(\"IP\")+5;\n\t\tint versionIndex = json.indexOf(\"Android\")+17;\n\t\tint timeIndex = json.indexOf(\"Time\")+12;\n\t\tString IP = json.substring(IPindex,json.indexOf(\"\\\"\", IPindex));\n\t\tString version = json.substring(versionIndex,json.indexOf(\"\\\"\",versionIndex));\n\t\tString time = json.substring(timeIndex,json.indexOf(\"\\\"\",timeIndex));\n\t\tArrayList<String> thisEntry = new ArrayList<String>();\n\t\tthisEntry.add(time);\n\t\tthisEntry.add(IP);\n\t\tthisEntry.add(version);\n\t\tentries.add(thisEntry);\n\t}", "title": "" }, { "docid": "e9b2daf630114c85deec2f70f9543e15", "score": "0.5676089", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n response.setContentType(\"text/html;charset=UTF-8\");\r\n try (PrintWriter out = response.getWriter()) {\r\n /* TODO output your page here. You may use following sample code. */\r\n \r\n Servicios ser = new Servicios();\r\n \r\n String listaProgramas = ser.getBasicHttpBindingIServicios().leerTodosProgramas();\r\n \r\n JsonReader reader = Json.createReader(new StringReader(listaProgramas));\r\n \r\n JsonArray list = reader.readArray();\r\n List<Programa> programas = new ArrayList<>();\r\n \r\n for (JsonValue jsonValue : list) {\r\n JsonObject prog = (JsonObject)jsonValue;\r\n Programa programa = new Programa(prog);\r\n// if (programa.Estado == 2) {\r\n programas.add(programa);\r\n// }\r\n }\r\n \r\n String listaInstitucion = ser.getBasicHttpBindingIServicios().leerTodasInstituciones();\r\n \r\n JsonReader readerInstitucion = Json.createReader(new StringReader(listaInstitucion));\r\n \r\n JsonArray listInstitucion = readerInstitucion.readArray();\r\n List<Institucion> instituciones = new ArrayList<>();\r\n \r\n for (JsonValue jsonValue : listInstitucion) {\r\n JsonObject inst = (JsonObject)jsonValue;\r\n Institucion institucion = new Institucion(inst);\r\n instituciones.add(institucion);\r\n }\r\n \r\n String p = ser.getBasicHttpBindingIServicios().leerTodosPaises();\r\n \r\n JsonReader reader1 = Json.createReader(new StringReader(p));\r\n JsonArray listpais = reader1.readArray();\r\n List<Pais> paises = new ArrayList<>();\r\n \r\n for (JsonValue jsonValue : listpais) {\r\n JsonObject pa = (JsonObject)jsonValue;\r\n Pais pais = new Pais(pa);\r\n paises.add(pais);\r\n }\r\n \r\n String c = ser.getBasicHttpBindingIServicios().leerTodasCiudades();\r\n \r\n JsonReader reader2 = Json.createReader(new StringReader(c));\r\n JsonArray listciudad = reader2.readArray();\r\n List<Ciudad> ciudades = new ArrayList<>();\r\n \r\n for (JsonValue jsonValue : listciudad) {\r\n JsonObject ci = (JsonObject)jsonValue;\r\n Ciudad ciudad = new Ciudad(ci);\r\n ciudades.add(ciudad);\r\n }\r\n \r\n if (paises.isEmpty() || ciudades.isEmpty() || programas.isEmpty() || instituciones.isEmpty()) {\r\n response.sendRedirect(\"InicioAlumno\");\r\n }else{\r\n request.setAttribute(\"listaPaises\", paises);\r\n request.setAttribute(\"listaCiudades\", ciudades);\r\n request.setAttribute(\"listaProgramas\", programas);\r\n request.setAttribute(\"listaInstituciones\", instituciones);\r\n request.getRequestDispatcher(\"postulacion.jsp\").forward(request, response);\r\n }\r\n \r\n }\r\n }", "title": "" }, { "docid": "a6ec14b659d838b5570ae742b898ed9b", "score": "0.56463295", "text": "private String createServletParameters() {\n JsonObject jsonParams = new JsonObject();\n\n String firstName_new = this.firstName_et.getText().toString();\n String lastName_new = this.lastName_et.getText().toString();\n String location_new = this.location_et.getText().toString();\n String birthday_new = this.birthday_et.getText().toString();\n\n if (!firstName_new.equals(this.firstName))\n jsonParams.addProperty(\"firstName\", firstName_new);\n\n if (!lastName_new.equals(this.lastName))\n jsonParams.addProperty(\"lastName\", lastName_new);\n\n int cityCode_new = getCityCode(location_new);\n if (this.cityCode != cityCode_new) // if we want to delete the user's city data, we will send -1.\n jsonParams.addProperty(\"cityCode\", cityCode_new);\n\n long birthdayMillis_new = getNumberOfMillisecondsSince(birthday_new);\n if (birthdayMillis_new != this.birthdayMillis)\n jsonParams.addProperty(\"dateOfBirth\", birthdayMillis_new);\n\n\n Log.d(\"yuval\", \"birthday millis = \" + birthdayMillis_new);\n\n return jsonParams.toString();\n }", "title": "" }, { "docid": "3a992be965b9ad0f1346d09883812e73", "score": "0.5638202", "text": "@Override\n public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException {\n log.info(\"transfer tickets\");\n String[] path = request.getRequestURI().split(\"/\");\n JSONObject obj = new JSONObject();\n PrintWriter out = response.getWriter();\n StringBuffer sb = new StringBuffer();\n String line;\n int status = 400;\n BufferedReader in = request.getReader();\n\n try {\n int userid = Integer.parseInt(path[2]);\n\n while((line = in.readLine()) != null) {\n sb.append(line);\n\n }\n JSONParser parser = new JSONParser();\n obj = (JSONObject) parser.parse(sb.toString());\n String userServer = FrontEndDatabase.getInstance().getPrimaryAddress();\n\n //some code snippets are from https://stackoverflow.com/questions/21404252/post-request-send-json-data-java-httpurlconnection\n URL url = new URL(userServer + \"/\" + userid + \"/tickets/transfer\");\n HttpURLConnection con = setConnection(url, \"POST\");\n OutputStreamWriter wr = new OutputStreamWriter(con.getOutputStream());\n wr.write(obj.toString());\n wr.flush();\n status = con.getResponseCode();\n obj = getJSONFromResponse(con);\n\n if(obj != null) {\n out.println(obj);\n }\n response.setStatus(status);\n response.setContentType(\"application/json\");\n\n }\n catch(NumberFormatException ex) {\n log.debug(ex);\n response.setStatus(status);\n response.setContentType(\"application/json\");\n\n\n }\n catch (ParseException ex) {\n response.setStatus(status);\n response.setContentType(\"application/json\");\n\n }\n out.flush();\n out.close();\n }", "title": "" }, { "docid": "7c5b339c36d879a4efb4633bdf4f73b9", "score": "0.5631515", "text": "@Override\n public Optional<JSONObject> executeJsonRequest(HttpRequestBase request) {\n try {\n \n return contentHelper.responseToJSONObject(httpClient.execute(request), request.getURI().getPath());\n\n } catch (IOException e) {\n logger.severe(e.toString());\n return Optional.empty();\n }\n }", "title": "" }, { "docid": "c7b4e09114d01c07e5c77bdd933e130a", "score": "0.56199306", "text": "@SuppressWarnings(\"unused\")\n private static String bodyToString(RequestBody request) {\n try (final Buffer buffer = new Buffer()) {\n final RequestBody copy = request;\n if (copy != null) {\n copy.writeTo(buffer);\n } else {\n return \"\";\n }\n return buffer.readUtf8();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "092cc9aded631101641fa192d85d03b3", "score": "0.5615586", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException, SQLException {\n response.setContentType(\"text/html;charset=UTF-8\");\n \n\n \n try (PrintWriter out = response.getWriter()) {\n \n \n /* TODO output your page here. You may use following sample code. */\n\n //Extract Object request\n List <String> message = new ArrayList ();\n Map <String,String[]> userInfo =request.getParameterMap();\n //CONVERTED USER INFO 4/20 \n ConversionToJson convertToJson = new ConversionToJson(); \n JsonObject jsonUserInfo = convertToJson.ConversionToJson(userInfo);\n //Verify Object request\n Gson gson = new GsonBuilder().create();\n // String stringkey = new String();\n String commandKey = jsonUserInfo.get(RequestObjectVariables.COMMANDKEY.getVariable()).toString();\n \n \n // Route Object Request to Executable Code\n \n // Build Object Response\n \n \n try {\n RoutingEnum routingObject = RoutingEnum.valueOf(commandKey);\n } catch (Exception e){\n \n e.getStackTrace();\n System.out.println();\n }\n \n ControllerInterface command = routingObject.getExecutable();\n String urlLocation = routingObject.getResponseURL();\n \n MakeDataSource makeDataSource = new MakeDataSource();\n \n if (command.validate(userInfo, message,makeDataSource() )){\n MysqlDataSource dataSource = new MysqlDataSource();\n if (command.processRequest(userInfo, message, dataSource)) {\n response.sendRedirect(urlLocation);\n }\n }\n \n \n //comments are always apologies\n \n out.print(pagePrinter.getConstructionPage(message.toString()));\n } \n \n }", "title": "" }, { "docid": "bfc64026ba03fec48c67235e17000dc2", "score": "0.5598008", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n if (request.getParameter(\"data\") == null) {\n response.getWriter().write(\"No data was supplied\");\n return;\n }\n try {\n String encodedData = request.getParameter(\"data\");\n String decodedData = new String(Base64.getUrlDecoder().decode(encodedData));\n JsonObject data = new JsonParser().parse(decodedData).getAsJsonObject();\n\n String email = data.get(\"e\").getAsString();\n String code = data.get(\"c\").getAsString();\n\t \n\t JsonArray array = getRegistrationWithEmail(email);\n\t if(array == null) {\n\t\tresponse.getWriter().write(\"Error\");\n\t\treturn;\n\t }\n\t \n\t JsonObject registration = array.get(0).getAsJsonObject();\n\t if(codesEqual(registration, code)) {\n\t\tsetVerifiedEmail(email);\n\t\tdeleteRegistration(email);\n\t\tresponse.getWriter().write(\"Sie haben ihre E-Mail erfolgreich bestätigt!\");\n\t } else {\n\t\tresponse.getWriter().write(\"Error\");\n\t }\n } catch (Exception e) {\n response.getWriter().write(\"Error\");\n return;\n }\n\t\n\t\n\t\n }", "title": "" }, { "docid": "ed3f1674fc084719635abd136e4fe68d", "score": "0.55937487", "text": "private JSONObject prepareJSONObject()\n\t{\n\t\t// service\n\t\tJSONObject service = new JSONObject();\n\t\tservice.put(\"name\", new JSONString(serviceName)); // service name as object\n\n\t\t// whole JSON query\n\t\tJSONObject jsonQuery = new JSONObject();\n\t\tjsonQuery.put(\"service\", service); // service object\n\t\treturn jsonQuery;\n\t}", "title": "" }, { "docid": "208ec6e0754e2e95c746ebe26b870784", "score": "0.5592275", "text": "public JsonObject getRequestBody();", "title": "" }, { "docid": "8a4869d3cc5628cfa9d87ad91233e623", "score": "0.55864114", "text": "public String json( String input )\n {\n Timer.Context timer = null;\n if( metrics != null )\n {\n timer = metrics.metrics().timer( \"io.werval.modules.sanitize.json\" ).time();\n }\n try\n {\n if( isEmpty( input ) )\n {\n return EMPTY;\n }\n return JsonSanitizer.sanitize( input );\n }\n catch( Exception ex )\n {\n LOG.error( \"JSON sanitization error, will return empty string: {}\", ex.getMessage(), ex );\n return EMPTY;\n }\n finally\n {\n if( timer != null )\n {\n timer.close();\n }\n }\n }", "title": "" }, { "docid": "64c4ca36aa900a7ab951bb3767cf5d06", "score": "0.5579631", "text": "private String createResponseJson(BufferedReader bufferedReader) throws IOException {\n String line;\n StringBuilder stringBuilder = new StringBuilder();\n while ((line = bufferedReader.readLine()) != null) {\n stringBuilder.append(line);\n }\n return stringBuilder.toString();\n }", "title": "" }, { "docid": "704b96158d6dda9b9d965e1af79d71ef", "score": "0.55591714", "text": "public JSONObject makeHttpRequest(String url, Method method, List<NameValuePair> parameters) {\n\n //Http Request\n try {\n switch (method) {\n case POST:\n //Nothing yet\n break;\n case GET:\n DefaultHttpClient httpClient = new DefaultHttpClient();\n String paramString = URLEncodedUtils.format(parameters, \"utf-8\");\n url += \"?\" + paramString;\n\n //Debug url\n Log.d(\"URL:\", url);\n\n HttpGet httpGet = new HttpGet(url);\n\n HttpResponse httpResponse = httpClient.execute(httpGet);\n HttpEntity httpEntity = httpResponse.getEntity();\n inputStream = httpEntity.getContent();\n break;\n default:\n Log.e(\"Invalid Method\", \"Invalid Method\");\n break;\n }\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n } catch (ClientProtocolException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n //get json string\n try {\n /*\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n inputStream, \"iso-8859-1\"), 8);\n json = reader.readLine();\n Log.d (\"JSON : \", json);\n */\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n inputStream, \"iso-8859-1\"), 8);\n StringBuilder sb = new StringBuilder();\n String line = null;\n while ((line = reader.readLine()) != null) {\n sb.append(line + \"\\n\");\n }\n inputStream.close();\n json = sb.toString();\n Log.d (\"JSON : \", json);\n\n } catch (Exception e) {\n Log.e(\"Buffer Error\", \"Error converting result \" + e.toString());\n }\n\n // try to parse the string to a JSON object\n try {\n jsonObject = new JSONObject(json);\n } catch (JSONException e) {\n Log.e(\"JSON Parser\", \"Error parsing data:\" + e.toString());\n }\n\n return jsonObject;\n }", "title": "" }, { "docid": "18ab4bda240e955fc1633bab14a9eae0", "score": "0.55570364", "text": "JSONStreamAware processRequest(HttpServletRequest paramHttpServletRequest)\r\n/* 24: */ throws NxtException\r\n/* 25: */ {\r\n/* 26:24 */ long l1 = ParameterParser.getAccount(paramHttpServletRequest).getId();\r\n/* 27:25 */ long l2 = 0L;\r\n/* 28: */ try\r\n/* 29: */ {\r\n/* 30:27 */ l2 = Convert.parseUnsignedLong(paramHttpServletRequest.getParameter(\"asset\"));\r\n/* 31: */ }\r\n/* 32: */ catch (RuntimeException localRuntimeException) {}\r\n/* 33:31 */ int i = ParameterParser.getFirstIndex(paramHttpServletRequest);\r\n/* 34:32 */ int j = ParameterParser.getLastIndex(paramHttpServletRequest);\r\n/* 35: */ DbIterator localDbIterator;\r\n/* 36:35 */ if (l2 == 0L) {\r\n/* 37:36 */ localDbIterator = Order.Ask.getAskOrdersByAccount(l1, i, j);\r\n/* 38: */ } else {\r\n/* 39:38 */ localDbIterator = Order.Ask.getAskOrdersByAccountAsset(l1, l2, i, j);\r\n/* 40: */ }\r\n/* 41:40 */ JSONArray localJSONArray = new JSONArray();\r\n/* 42: */ try\r\n/* 43: */ {\r\n/* 44:42 */ while (localDbIterator.hasNext()) {\r\n/* 45:43 */ localJSONArray.add(JSONData.askOrder((Order.Ask)localDbIterator.next()));\r\n/* 46: */ }\r\n/* 47: */ }\r\n/* 48: */ finally\r\n/* 49: */ {\r\n/* 50:46 */ localDbIterator.close();\r\n/* 51: */ }\r\n/* 52:48 */ JSONObject localJSONObject = new JSONObject();\r\n/* 53:49 */ localJSONObject.put(\"askOrders\", localJSONArray);\r\n/* 54:50 */ return localJSONObject;\r\n/* 55: */ }", "title": "" }, { "docid": "96da42e7ce1baf0108879be12799cf5b", "score": "0.55402505", "text": "protected final void processRequest(final HttpServletRequest request,\n final HttpServletResponse response)\n throws ServletException, IOException, JSONException {\n response.setContentType(\"application/json\");\n\n HPOJsonObjectCreator hj = new HPOJsonObjectCreator();\n String path = JsTreePasserServlet.class.getClassLoader()\n .getResource(File.separator + \"config\" + File.separator\n + \"hp.obo\").toString();\n HPOFileReader hr = new HPOFileReader(path.split(\":\")[1]);\n HashMap collection = hr.readFile().getHPOHashMap();\n String requestedNodeChildren = request.getParameter(\"id\");\n HashMap<String, String> icons = new HashMap<String, String>();\n icons.put(\"HP:0000005\", \"img/dna.png\");\n icons.put(\"HP:0000118\", \"img/human.png\");\n icons.put(\"HP:0040006\", \"img/skull.png\");\n icons.put(\"HP:0012823\", \"img/clock.png\");\n String jsonChildren = \"\";\n if (requestedNodeChildren.equals(\"#\")) {\n /*based on request attribute \"id\", fetch the children for that ID.*/\n jsonChildren = \"[\"\n + \"{\\\"children\\\":true,\\\"icon\\\":\\\"glyphicon glyphicon-user\\\"\"\n + \",\\\"id\\\":\\\"HP:0000001\\\", \\\"text\\\": \\\"All\\\", \"\n + \"\\\"state\\\": {\\\"opened\\\": true,\"\n + \" \\\"selected\\\": false}}\"\n + \"]\";\n } else {\n HPOTerm parent = (HPOTerm) collection.get(requestedNodeChildren);\n JSONArray children = new JSONArray();\n for (HPOTerm child : parent.getChildren()) {\n JSONObject childNode = new JSONObject(hj.createSubTree(\n child, parent.getId()));\n if (icons.containsKey(child.getId())) {\n childNode.put(\"icon\", icons.get(child.getId()));\n } else {\n childNode.put(\"icon\", request.getParameter(\"icon\"));\n }\n children.put(childNode);\n }\n jsonChildren = children.toString();\n }\n PrintWriter out = response.getWriter();\n out.write(jsonChildren);\n out.close();\n }", "title": "" }, { "docid": "fd6b6ce65a927f8ad92651a314a35959", "score": "0.55101967", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n try {\n StringBuilder sb = new StringBuilder();\n try {\n BufferedReader br = request.getReader();\n String str = null;\n while ((str = br.readLine()) != null) {\n sb.append(str);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n JSONParser parser = new JSONParser();\n JSONObject jsonParameter = null;\n try {\n jsonParameter = (JSONObject) parser.parse(sb.toString());\n } catch (org.json.simple.parser.ParseException e) {\n e.printStackTrace();\n }\n StringBuilder htmlBuilder = new StringBuilder();\n String caseType = (String) jsonParameter.get(\"type\");\n String json = \"\";\n String json1 = \"\";\n String json2 = \"\";\n String json3 = \"\";\n String result = \"\";\n switch (caseType) {\n case \"Login\": {\n String Email_PhoneNumber = (String) jsonParameter.get(\"emailphone\");\n String Password = (String) jsonParameter.get(\"password\");\n String UserType = \"\";\n HashMap<String, String> UserDetails = new HashMap<>();\n int UserID = 0;\n if (UserManager.checkEmailAddressOrPhoneNumberExist(Email_PhoneNumber)) {\n UserID = UserManager.checkPasswordEmailMatch(Password, Email_PhoneNumber);\n if (UserID != 0) {\n UserType = UserManager.getUserType(UserID);\n UserDetails = UserManager.GetUserDetails(UserID, UserType);\n if (!UserDetails.isEmpty()) {\n String code = \"200\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(UserDetails);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n } else {\n result = \"Please your account has issues, please email [email protected] or call +234 706 748 3120 for details\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n\n } else {\n result = \"Incorrect Login Parameters\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n } else {\n result = \"Email or Phone Number Entered Doesn't Exist\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n break;\n }\n case \"UserRegistration\": {\n String EmailAddress = (String) jsonParameter.get(\"email\");\n String PhoneNumber = (String) jsonParameter.get(\"phone\");\n String Password = (String) jsonParameter.get(\"password\");\n\n String FirstName = (String) jsonParameter.get(\"firstname\");\n String LastName = (String) jsonParameter.get(\"lastname\");\n String question = (String) jsonParameter.get(\"question\");\n String answer = (String) jsonParameter.get(\"answer\");\n\n String stateid = (String) jsonParameter.get(\"stateid\");\n String lgaid = (String) jsonParameter.get(\"lgaid\");\n String address = (String) jsonParameter.get(\"address\");\n String stateName = DBManager.GetString(\"state\", \"address_states\", \"where id = '\" + stateid + \"'\");\n String lgaName = DBManager.GetString(\"lga\", \"address_lga\", \"where id = '\" + lgaid + \"'\");\n String Address = address + \", \" + lgaName + \", \" + stateName + \" State\";\n\n String Subclass = \"Customer\";\n java.sql.Date DateCreated = UserManager.CurrentDate();\n if (!UserManager.checkEmailAddressOrPhoneNumberExist(EmailAddress)) {\n if (!UserManager.checkEmailAddressOrPhoneNumberExist(PhoneNumber)) {\n int UserID = UserManager.RegisterUser(EmailAddress, PhoneNumber, Password, FirstName, LastName, Subclass, DateCreated);\n if (UserID != 0) {\n result = UserManager.RegisterCustomer(UserID, Address);\n String Subject = \"Customer Account Created\";\n String Content = LastName + \" your WaterMart Customer Account has been created. Login Details::: \" + \"Email: \"\n + EmailAddress + \" Password: \" + Password;\n UserManager.CreateRecovery(UserID, question, answer);\n UserManager.sendMemberMessage(UserID, Content, Subject, 1);\n String cusmsg = LastName + \", your registration was successful. Thanks for joining WaterMart\";\n String adminmsg = \"WaterMart Customer Account has been created for \" + LastName;\n PushManager.sendPushNotification(Subject, cusmsg, \"\", UserID);\n PushManager.sendPushNotification(Subject, adminmsg, \"\", 1);\n } else {\n result = \"Something went wrong while creating Account\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n } else {\n result = \"Account with Phone Number already Exists\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n } else {\n result = \"Account with Email Address already Exists\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n String code = \"200\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n break;\n }\n case \"SupplierRegistration\": {\n String BizName = (String) jsonParameter.get(\"bizname\");\n String NafdacNumber = (String) jsonParameter.get(\"nafdacnumber\");\n String EmailAddress = (String) jsonParameter.get(\"email\");\n String PhoneNumber = (String) jsonParameter.get(\"phone\");\n String Password = (String) jsonParameter.get(\"password\");\n\n String watercatid = (String) jsonParameter.get(\"watertype\");\n String planid = (String) jsonParameter.get(\"payplan\");\n int WaterCatID = Integer.parseInt(watercatid);\n int PlanID = Integer.parseInt(planid);\n String FirstName = (String) jsonParameter.get(\"firstname\");\n String LastName = (String) jsonParameter.get(\"lastname\");\n String question = (String) jsonParameter.get(\"question\");\n String answer = (String) jsonParameter.get(\"answer\");\n\n String stateid = (String) jsonParameter.get(\"stateid\");\n String lgaid = (String) jsonParameter.get(\"lgaid\");\n String address = (String) jsonParameter.get(\"address\");\n String stateName = DBManager.GetString(\"state\", \"address_states\", \"where id = '\" + stateid + \"'\");\n String lgaName = DBManager.GetString(\"lga\", \"address_lga\", \"where id = '\" + lgaid + \"'\");\n String Address = address + \", \" + lgaName.trim() + \", \" + stateName + \" State\";\n\n String Subclass = \"Supplier\";\n java.sql.Date DateCreated = UserManager.CurrentDate();\n if (!UserManager.checkEmailAddressOrPhoneNumberExist(EmailAddress)) {\n if (!UserManager.checkEmailAddressOrPhoneNumberExist(PhoneNumber)) {\n int UserID = UserManager.RegisterUser(EmailAddress, PhoneNumber, Password, FirstName, LastName, Subclass, DateCreated);\n if (UserID != 0) {\n String SupplierCode = UserManager.CreateRandomCode(8);\n String SupplierStatus = \"Not Activated\";\n result = UserManager.RegisterSupplier(UserID, BizName, NafdacNumber, Address, SupplierStatus, SupplierCode, WaterCatID, PlanID);\n String Subject = \"Supplier Account Created\";\n String Content = LastName + \" your WaterMart Supplier Account has been created with the following details, Login Details::: Email \"\n + EmailAddress + \" Password: \" + Password + \" Supplier Code: \" + SupplierCode;\n UserManager.sendMemberMessage(UserID, Content, Subject, 1);\n UserManager.CreateRecovery(UserID, question, answer);\n String cusmsg = LastName + \", your registration was successful. Thanks for joining WaterMart\";\n String adminmsg = \"WaterMart Supplier Account has been created for \" + LastName;\n PushManager.sendPushNotification(Subject, cusmsg, \"\", UserID);\n PushManager.sendPushNotification(Subject, adminmsg, \"\", 1);\n } else {\n result = \"Something went wrong while creating Account\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n } else {\n result = \"Account with Email Address already Exists\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n } else {\n result = \"Account with Email Address already Exists\";\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n\n String code = \"200\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(result);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n break;\n }\n\n case \"getStates\": {\n ArrayList<Integer> ids = DBManager.GetIntArrayListDescending(\"id\", \"address_states\", \"\");//and lastname != 'Admin'\"\n HashMap<String, String> states = new HashMap<>();\n ArrayList<HashMap<String, String>> stateslist = new ArrayList<>();\n if (!ids.isEmpty()) {\n for (int i : ids) {\n states = DBManager.GetTableData(\"address_states\", \"WHERE id= \" + i);\n stateslist.add(states);\n }\n json1 = new Gson().toJson(stateslist);\n json = \"[\" + json1 + \"]\";\n }\n break;\n }\n case \"getWaterCategory\": {\n ArrayList<Integer> ids = UserManager.getWaterCatIds();\n HashMap<String, String> cat = new HashMap<>();\n ArrayList<HashMap<String, String>> catlist = new ArrayList<>();\n if (!ids.isEmpty()) {\n for (int i : ids) {\n cat = UserManager.GetWaterCategory(i);\n catlist.add(cat);\n }\n json1 = new Gson().toJson(catlist);\n json = \"[\" + json1 + \"]\";\n }\n break;\n }\n case \"getPaymentPlan\": {\n ArrayList<Integer> ids = UserManager.getPaymentPlanIds();\n HashMap<String, String> plan = new HashMap<>();\n ArrayList<HashMap<String, String>> planlist = new ArrayList<>();\n if (!ids.isEmpty()) {\n for (int i : ids) {\n plan = UserManager.GetPaymentPlanByID(i);\n planlist.add(plan);\n }\n json1 = new Gson().toJson(planlist);\n json = \"[\" + json1 + \"]\";\n }\n break;\n }\n case \"getLGAs\": {\n String stateid = (String) jsonParameter.get(\"stateid\");\n ArrayList<Integer> ids = DBManager.GetIntArrayListDescending(\"id\", \"address_lga\", \"where group_id = \" + stateid);//and lastname != 'Admin'\"\n HashMap<String, String> lga = new HashMap<>();\n ArrayList<HashMap<String, String>> lgalist = new ArrayList<>();\n if (!ids.isEmpty()) {\n for (int i : ids) {\n lga = DBManager.GetTableData(\"address_lga\", \"WHERE id= \" + i);\n lgalist.add(lga);\n }\n json1 = new Gson().toJson(lgalist);\n json = \"[\" + json1 + \"]\";\n }\n break;\n }\n case \"checkEmail\": {\n String typedEmail = (String) jsonParameter.get(\"email\");\n if (typedEmail.length() > 2) {\n if (UserManager.checkEmailAddressOrPhoneNumberExist(typedEmail)) {\n result = \"Available\";\n json = new Gson().toJson(result);\n } else {\n result = \"NotAvailable\";\n json = new Gson().toJson(result);\n }\n } else {\n break;\n }\n\n break;\n }\n case \"UpdateProfile\": {\n String userid = (String) jsonParameter.get(\"id\");\n String BizName = (String) jsonParameter.get(\"firstname\");\n String NafDacNumber = (String) jsonParameter.get(\"firstname\");\n String FirstName = (String) jsonParameter.get(\"firstname\");\n String LastName = (String) jsonParameter.get(\"lastname\");\n String PhoneNumber = (String) jsonParameter.get(\"phone\");\n String Password = (String) jsonParameter.get(\"password\");\n\n int id = Integer.parseInt(userid);\n if (BizName != null) {\n result = UserManager.UpdateBusinessName(id, BizName);\n }\n if (NafDacNumber != null) {\n result = UserManager.UpdateNAFDACNumber(id, NafDacNumber);\n }\n if (FirstName != null) {\n result = UserManager.UpdateFirstName(id, FirstName);\n }\n if (LastName != null) {\n result = UserManager.UpdateLastName(id, LastName);\n }\n if (Password != null) {\n result = UserManager.UpdateUserPassword(id, Password);\n }\n if (PhoneNumber != null) {\n result = UserManager.UpdatePhone(id, PhoneNumber);\n }\n if (result.equals(\"success\")) {\n String code = \"200\";\n String message = \"Details Updated\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(message);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n } else {\n String code = \"400\";\n String message = \"Something went wrong. Try again later\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(message);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n break;\n }\n case \"SearchForSupplier\": {\n String UserInput = (String) jsonParameter.get(\"searchvalue\");\n HashMap<String, String> res = new HashMap<>();\n String suplastName = \"none\";\n String supfirstName = \"none\";\n String supCompanyName = \"none\";\n if (!UserInput.equals(\"\")) {\n int Supplierid = DBManager.GetInt(\"supplierid\", \"suppliers\", \"where suppliercode = '\" + UserInput + \"'\");//email search\n if (Supplierid != 0) {\n int userid = DBManager.GetInt(\"userid\", \"suppliers\", \"where supplierid = '\" + Supplierid + \"'\");//account number search\n suplastName = DBManager.GetString(\"lastname\", \"users\", \"where userid = \" + userid);\n supfirstName = DBManager.GetString(\"firstname\", \"users\", \"where userid = \" + userid);\n supCompanyName = DBManager.GetString(\"company_name\", \"suppliers\", \"where supplierid = '\" + Supplierid + \"'\");\n res.put(\"Supplierid\", \"\" + Supplierid);\n\n } else {\n String errormsg = \"Something went wrong, Try again\";\n json = new Gson().toJson(errormsg);\n }\n }\n res.put(\"SupplierCompanyName\", supCompanyName);\n res.put(\"SupplierFIrstName\", supfirstName);\n res.put(\"SupplierLastName\", \"\" + suplastName);\n json = new Gson().toJson(result);\n break;\n }\n case \"getRecoveryDetails\": {\n String UserInput = (String) jsonParameter.get(\"email\");\n int userid = UserManager.checkEmailMatch(UserInput);\n if (userid == 0) {\n String code = \"400\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(\"Invalid Email\");\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n } else {\n HashMap<String, String> data = UserManager.GetRecoveryDetails(userid);\n json = new Gson().toJson(data);\n }\n break;\n }\n case \"ResetPassword\": {\n String UserInput = (String) jsonParameter.get(\"userid\");\n int membid = Integer.parseInt(UserInput);\n String newpassword = (String) jsonParameter.get(\"password\");\n String res = UserManager.UpdateUserPassword(membid, newpassword);\n if (res.equals(\"success\")) {\n String body = \"Password has been changed to \" + newpassword;\n UserManager.sendMemberMessage(membid, body, \"Password Reset\", 1);\n String code = \"200\";\n String message = \"Successful\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(message);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n } else {\n String code = \"400\";\n String message = \"Error Try again\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(message);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n break;\n }\n\n case \"Message\": {\n String memberid = (String) jsonParameter.get(\"userid\");\n int userid = Integer.parseInt(memberid);\n ArrayList<Integer> list = new ArrayList<>();\n String option = (String) jsonParameter.get(\"option\");\n HashMap<String, String> msgdetails = new HashMap<>();\n if (option.equals(\"inbox\")) {\n list = GeneralManager.getInboxMessageIDs(userid);\n } else if (option.equals(\"sent\")) {\n list = GeneralManager.getSentMessageIDs(userid);\n }\n ArrayList<HashMap<String, String>> msglist = new ArrayList<>();\n if (!list.isEmpty()) {\n for (int id : list) {\n msgdetails = GeneralManager.getMessageDetails(id);//\n int senderid = Integer.parseInt(msgdetails.get(Tables.MessageTable.FromMemberID));\n String sendername = GeneralManager.getUserName(senderid);\n msgdetails.put(\"sendername\", sendername);\n int recieverid = Integer.parseInt(msgdetails.get(Tables.MessageTable.ToMemberID));\n String recievername = GeneralManager.getUserName(recieverid);\n msgdetails.put(\"recievername\", recievername);\n msglist.add(msgdetails);\n }\n String code = \"200\";\n json1 = new Gson().toJson(code);\n json2 = new Gson().toJson(msglist);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n } else {\n String code = \"400\";\n json1 = new Gson().toJson(code);\n String message = \"Sorry no message(s)\";\n json2 = new Gson().toJson(message);\n json = \"[\" + json1 + \",\" + json2 + \"]\";\n }\n break;\n }\n case \"MarkAsRead\": {\n String messageid = (String) jsonParameter.get(\"messageid\");\n int msgid = Integer.parseInt(messageid);\n String res = GeneralManager.MarkMessageAsRead(msgid);\n if (res.equals(\"failed\")) {\n String message = \"Something went wrong! try again Later\";\n json = new Gson().toJson(message);\n } else {\n String message = \"Message Read\";\n json = new Gson().toJson(message);\n\n }\n break;\n }\n case \"DeleteMessage\": {\n String messageid = (String) jsonParameter.get(\"messageid\");\n int msgid = Integer.parseInt(messageid);\n String res = GeneralManager.DeleteMessage(msgid);\n if (res.equals(\"failed\")) {\n String message = \"Something went wrong! try again Later\";\n json = new Gson().toJson(message);\n } else {\n String message = \"Message Deleted\";\n json = new Gson().toJson(message);\n\n }\n break;\n }\n\n case \"MessageDetails\": {\n String messageid = (String) jsonParameter.get(\"messageid\");\n int MessageID = Integer.parseInt(messageid);\n HashMap<String, String> det = new HashMap<>();\n det = GeneralManager.getMessageDetails(MessageID);\n if (!det.isEmpty()) {\n json = new Gson().toJson(det);\n } else {\n String message = \"Something went wrong! try again Later\";\n json = new Gson().toJson(message);\n }\n break;\n }\n case \"SendMessage\": {\n String fromuserid = (String) jsonParameter.get(\"fromuserid\");\n int FromUserID = Integer.parseInt(fromuserid);\n String touserid = (String) jsonParameter.get(\"touserid\");\n int ToUserID = Integer.parseInt(touserid);\n String title = (String) jsonParameter.get(\"msgTitle\");\n String bdy = (String) jsonParameter.get(\"msgBody\");\n if (bdy != null && bdy != \"\") {\n int messageid = UserManager.sendMemberMessage(ToUserID, bdy, title, FromUserID);\n String message = \"Message Sent\";\n String NameFrom = UserManager.getUserName(FromUserID);\n String UserTypeTo = UserManager.getUserType(ToUserID);\n String msg = \"\";\n if (UserTypeTo.equals(\"Admin\")) {\n msg = \"Your have a new message from \" + NameFrom;\n PushManager.sendPushNotification(\"New Message\", msg, \"adminmsg-\" + messageid, ToUserID);\n } else if (UserTypeTo.equals(\"Supplier\")) {\n msg = \"Your have a new message from \" + NameFrom;\n PushManager.sendPushNotification(\"New Message\", msg, \"suppliermsg-\" + messageid, ToUserID);\n } else if (UserTypeTo.equals(\"Customer\")) {\n msg = \"Your have a new message from \" + NameFrom;\n PushManager.sendPushNotification(\"New Message\", msg, \"customermsg-\" + messageid, ToUserID);\n }\n json = new Gson().toJson(message);\n } else {\n String message = \"Populate Empty Fields\";\n json = new Gson().toJson(message);\n }\n break;\n }\n }\n response.setContentType(\"application/json\");\n response.setCharacterEncoding(\"UTF-8\");\n response.getWriter().write(json);\n } catch (ClassNotFoundException | SQLException ex) {\n Logger.getLogger(UserServlet.class.getName()).log(Level.SEVERE, null, ex);\n } catch (ParseException ex) {\n Logger.getLogger(UserServlet.class.getName()).log(Level.SEVERE, null, ex);\n } catch (Exception ex) {\n Logger.getLogger(UserServlet.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n }", "title": "" }, { "docid": "0882159d472e87c7f52a94d4bcb872e2", "score": "0.5501305", "text": "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n /*\r\n JSONObject params = new JSONObject();\r\n PrintWriter out = response.getWriter();\r\n System.out.println(request.getParameter(\"name\"));\r\n try {\r\n //processRequest(request, response);\r\n Enumeration<String> parameterNames = request.getParameterNames();\r\n \r\n while(parameterNames.hasMoreElements()){\r\n System.out.println(\"LOOP\");\r\n String parameterName = parameterNames.nextElement();\r\n String parameterValue = request.getParameter(parameterName);\r\n \r\n System.out.println(parameterName + \":\" + parameterValue);\r\n \r\n params.put(parameterName, parameterValue);\r\n \r\n }\r\n db.addLight(params);\r\n } catch (SQLException ex) {\r\n Logger.getLogger(Lights.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n */\r\n StringBuffer jb = new StringBuffer();\r\n String line = null;\r\n try {\r\n BufferedReader reader = request.getReader();\r\n while ((line = reader.readLine()) != null){\r\n jb.append(line);\r\n }\r\n JSONParser parser = new JSONParser();\r\n JSONObject jsonObject = (JSONObject) parser.parse(jb.toString());\r\n \r\n db.addLight(jsonObject);\r\n } catch (Exception e) {\r\n System.err.print(e);\r\n }\r\n }", "title": "" }, { "docid": "8e1a47bbd0fd75f97421968e6e21c8ab", "score": "0.54967725", "text": "private void requestJson(final JSONObject jjo) {\n\t\tSystem.out.println(TAG + \"--->System--->\" + jjo.toString());\n\t\tLog.d(\"wmy\",\"Constant.NetworkUrl:\"+\tConstant.NetworkUrl);\n\t\tmQueue = Volley.newRequestQueue(App.getInstance());\n\t\tStringRequest request = new StringRequest(Request.Method.POST,\n\t\t\t\tConstant.NetworkUrl, new Response.Listener<String>() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onResponse(String response) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tnotifyNetworkWatched(response);\n\t\t\t\t\t}\n\t\t\t\t}, new Response.ErrorListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onErrorResponse(VolleyError error) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tnotifyNetworkWatchedError(error);\n\t\t\t\t\t}\n\t\t\t\t}) {\n\t\t\t@Override\n\t\t\tprotected Map<String, String> getParams() throws AuthFailureError {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tMap<String, String> map = new HashMap<String, String>();\n\t\t\t\tmap.put(\"params\", jjo.toString());\n\t\t\t\tLog.d(\"wmy\",\"param:\" +jjo.toString());\n\t\t\t\treturn map;\n\t\t\t}\n\t\t};\n\t\trequest.setRetryPolicy(new DefaultRetryPolicy(1000,\n\t\t\t\tDefaultRetryPolicy.DEFAULT_MAX_RETRIES,\n\t\t\t\tDefaultRetryPolicy.DEFAULT_BACKOFF_MULT));\n\t\tmQueue.add(request);\n\t}", "title": "" }, { "docid": "b800235abef0cf4be7a0945b26f1efa3", "score": "0.5487726", "text": "private String getRequest() {\n String tag_json_obj = \"json_obj_req\";\n RequestQueue queue = Volley.newRequestQueue(this);\n StringRequest sr = new StringRequest(Request.Method.GET, Config.URL, new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {\n StrResponse = response.toString();\n Log.d(TAG, \"StrResponse : \" + StrResponse);\n mObjTrack=UtilFunctions.jsonParesing(getApplicationContext(),StrResponse);\n mArrAllTrackDetails = mObjTrack.getTrackDetails();\n setUpCategoryList();\n }\n\n }, new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {\n VolleyLog.e(TAG, \"Error: \" + error.getMessage());\n }\n }) {\n\n };\n DiskBasedCache cache = new DiskBasedCache(getCacheDir(), 16 * 1024 * 1024);\n queue = new RequestQueue(cache, new BasicNetwork(new HurlStack()));\n queue.start();\n\n // clear all volley caches.\n queue.add(new ClearCacheRequest(cache, null));\n // Adding request to request queue\n AppController.getInstance().addToRequestQueue(sr, tag_json_obj);\n return StrResponse;\n }", "title": "" }, { "docid": "d8908b11cbe5d9016b4de2c1e845670c", "score": "0.54661953", "text": "public static Optional<String> toJSON(Object request) {\n Optional<String> json = Optional.empty();\n\n if(request != null) {\n try {\n json = Optional.of(\n new ObjectMapper()\n .writer()\n .withDefaultPrettyPrinter()\n .writeValueAsString(request));\n\n } catch (Throwable t) {\n LOG.error(\"Failed to convert request to JSON\", t);\n }\n }\n\n return json;\n }", "title": "" }, { "docid": "77ad6c934563aad51db56cbd6308da90", "score": "0.54622", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException, SQLException\r\n {\r\n response.setContentType(\"application/json\");\r\n response.setCharacterEncoding(\"UTF-8\");\r\n //request.get //String categoriesJson = new Gson().toJson(menu);\r\n String rname = request.getParameter(\"rsrvName\");\r\n String nopeople = request.getParameter(\"noPPL\");\r\n String rdate = request.getParameter(\"date\");\r\n final String empid = \"123\";\r\n System.out.println(rname+nopeople+rdate);\r\n if(rname != null && nopeople != null && rdate != null){\r\n String query = \"insert into reservations(reserv_name, num_person,date,emp_id) values('\" + rname + \"',\" + nopeople + \",'\" + rdate + \"',\" + empid + \");\";\r\n Statement stmt = null; \r\n currentCon = ConnectionManager.getConnection();\r\n stmt = currentCon.createStatement();\r\n if(stmt.executeUpdate(query)>0){\r\n System.out.println(\"Reservation for \"+ rname+\" \"+nopeople+\" people.\");\r\n }\r\n }\r\n }", "title": "" }, { "docid": "f54d8d44717c8a8965a5b67ccd932e85", "score": "0.5462037", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n response.setContentType(\"application/json;charset=UTF-8\");\n response.setHeader(\"Pragma\", \"no-cache\");\n \n try (PrintWriter out = response.getWriter())\n {\n try\n {\n getRequestInfo(request);\n JsonObjectBuilder builder = Json.createObjectBuilder();\n builder.add(\"nagios_shib_scraper_ver\", \"0.1\");\n long now = TimeAndDate.nowAsGPS();\n builder.add(\"created_gps\", now);\n builder.add(\"author\", (Json.createObjectBuilder()\n .add(\"name\", \"Joseph Areeda\")\n .add(\"email\", \"[email protected]\")\n .add(\"created_by\", \"https://ldvw.ligo.caltech.edu/ldvw/Nagios\")\n ));\n JsonArrayBuilder status = Json.createArrayBuilder();\n\n if (isValid())\n {\n status.add(Json.createObjectBuilder()\n .add(\"num_status\", 0)\n .add(\"txt_status\", \"OK, Apache, tomcat, shibboleth tested OK\")\n .add(\"start_sec\", 0)\n );\n }\n else\n {\n status.add(Json.createObjectBuilder()\n .add(\"num_status\", 1)\n .add(\"txt_status\", \"Warning, Apache, tomcat, OK, but shibboleth\"\n + \" did not return valid group\")\n .add(\"start_sec\", 0)\n );\n }\n \n // add something incase it's cached for too long\n \n status.add(Json.createObjectBuilder()\n .add(\"num_status\", 3)\n .add(\"txt_status\", \"UNKNOWN, cached result is older than 10 minutes.\")\n .add(\"start_sec\", 600)\n );\n \n builder.add(\"status_intervals\", status);\n JsonObject result = builder.build();\n JsonWriter jwriter = Json.createWriter(out);\n jwriter.writeObject(result);\n out.flush();\n }\n catch(Exception ex)\n {\n out.printf(\"Exception: %1$s: %2$s%m\", ex.getClass().getSimpleName(), \n ex.getMessage());\n }\n }\n }", "title": "" }, { "docid": "a1872ebf55fd49d87dc14d591489d19b", "score": "0.54595447", "text": "@Override\n public Response handleRequest(Map<String, Object> request, Context context) {\n String SMS = (String) request.get(\"body-json\"); //text body from twilio\n\n\n // PARSE INPUT\n\n //first five characters are \"From=\"\n String number = SMS.substring(5, 15);\n String body = SMS.substring(21);\n body = body.replace('+', ' ');\n\n\n\n Twilio.init(TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN);\n TWILIO_SMS_URL.format(TWILIO_ACCOUNT_SID);\n\n\n\n return null;\n }", "title": "" }, { "docid": "272d23faa0ade36a101bd5f9b1db60c3", "score": "0.5451034", "text": "private String toJson(HttpServletRequest request, Snippet snippet) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"{\\n\");\n\t\ttoJson(sb, \"unid\", snippet.getUnid());\n\t\ttoJson(sb, \"js\", snippet.getJs());\n\t\ttoJson(sb, \"html\", snippet.getHtml());\n\t\ttoJson(sb, \"css\", snippet.getCss());\n\t\ttoJson(sb, \"description\", snippet.getDescription());\n\t\ttoJson(sb, \"tags\", snippet.getTags());\t\t\n\t\ttoJson(sb, \"labels\", snippet.getLabels());\t\t\n\t\tsb.append(\"}\\n\");\n\t\treturn sb.toString();\n\t}", "title": "" }, { "docid": "c43e715e442860362f720a7bdab8af2c", "score": "0.54434484", "text": "private static String processRequest(String request) {\n\t\tString reqType = \"none\";\n\t\tboolean bodyStart = false;\n\t\tString body = \"\";\n\t\tString response = \"\";\n\t\tString lines[] = request.split(\"\\\\r?\\\\n\");\n\t\tfor (String line : lines) {\n\t\t\tif (line.startsWith(\"type\")) {\n\t\t\t\t// TODO get reqtype\n\t\t\t} else if (line.equals(\"\")) {\n\t\t\t\tbodyStart = true;\n\t\t\t} else if (bodyStart) {\n\t\t\t\tbody += line;\n\t\t\t}\n\t\t}\n\t\ttry {\n\n\t\t\tMap<String, String> params = getQueryParams(body);\n\t\t\t// String focuses, int maxAllowedHops, int maxAllowedEdges, String\n\t\t\t// dataGraphName, int k,\n\t\t\t// double threshold, int numberOfTransactionInASnapshot, int\n\t\t\t// numberOfSnapshots, int edgeStreamCacheCapacity,\n\t\t\t// boolean windowMode, int windowSizeL\n\t\t\tSystem.out.println(params.toString());\n\t\t\tSystem.out.println(params.get(\"focuses\"));\n\t\t\tboolean windowMode = false;\n\t\t\tif (params.containsKey(\"reqType\")) {\n\t\t\t\treqType = params.get(\"reqType\");\n\t\t\t\tif (reqType.equals(\"0\")) {\n\t\t\t\t\tif (params.get(\"systemModeAc\").equals(\"win\")) {\n\t\t\t\t\t\twindowMode = true;\n\t\t\t\t\t}\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tInteger.parseInt(params.get(\"topk\"));\n\n\t\t\t\t\t} catch (Exception exc) {\n\t\t\t\t\t\tConfiguration.errorMessage = \"Error: select number of top-k\";\n\t\t\t\t\t\tresponse = Configuration.errorMessage;\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t}\n\n\t\t\t\t\tconf = new Configuration(params.get(\"focuses\"), Integer.parseInt(params.get(\"diameter\")),\n\t\t\t\t\t\t\tInteger.parseInt(params.get(\"eventSize\")), params.get(\"dataGraph\").toLowerCase().trim(),\n\t\t\t\t\t\t\tInteger.parseInt(params.get(\"topk\")), Double.parseDouble(params.get(\"threshold\")),\n\t\t\t\t\t\t\tInteger.parseInt(params.get(\"cache\")), windowMode, Integer.parseInt(params.get(\"winSize\")),\n\t\t\t\t\t\t\tInteger.parseInt(params.get(\"snapshots\")), Double.parseDouble(params.get(\"decay\")));\n\n\t\t\t\t\tif (Configuration.hasError) {\n\t\t\t\t\t\tresponse = Configuration.errorMessage;\n\t\t\t\t\t\tConfiguration.hasError = false;\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t}\n\n\t\t\t\t\tEchoServer.finalResult = EchoServer.conf.getTheFinalResult().toJSONString();\n\n\t\t\t\t\tif (Configuration.hasError) {\n\t\t\t\t\t\tresponse = Configuration.errorMessage;\n\t\t\t\t\t\tConfiguration.hasError = false;\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t}\n\t\t\t\t\tresponse = EchoServer.finalResult;\n\t\t\t\t\treturn response;\n\t\t\t\t}\n\n\t\t\t\t// simpleThread= new Thread(new SimpleThread());\n\t\t\t\t// simpleThread.start();\n\t\t\t\t// response = \"thread started\";\n\t\t\t\t// return response;\n\t\t\t\t// } else if (reqType.equals(\"1\")) {\n\t\t\t\t// while (true) {\n\t\t\t\t// // System.out.println(\"one\"+stateOne);\n\t\t\t\t// TimeUnit.SECONDS.sleep(1);\n\t\t\t\t// if (stateOne) {\n\t\t\t\t// response = \"one completed\";\n\t\t\t\t// break;\n\t\t\t\t// }\n\t\t\t\t// }\n\t\t\t\t// return response;\n\t\t\t\t//\n\t\t\t\t// } else if (reqType.equals(\"2\")) {\n\t\t\t\t//\n\t\t\t\t// while (true) {\n\t\t\t\t// TimeUnit.SECONDS.sleep(1);\n\t\t\t\t// // System.out.println(\"two\"+stateTwo);\n\t\t\t\t// if (stateTwo) {\n\t\t\t\t// response = \"two completed\";\n\t\t\t\t// break;\n\t\t\t\t// }\n\t\t\t\t// }\n\t\t\t\t// return response;\n\t\t\t\t//\n\t\t\t\t// } else if (reqType.equals(\"3\")) {\n\t\t\t\t//\n\t\t\t\t// while (true) {\n\t\t\t\t// // System.out.println(\"Three\"+stateThree);\n\t\t\t\t// TimeUnit.SECONDS.sleep(1);\n\t\t\t\t// if (stateThree) {\n\t\t\t\t// response = \"three completed\";\n\t\t\t\t// break;\n\t\t\t\t// }\n\t\t\t\t// }\n\t\t\t\t// return response;\n\t\t\t\t//\n\t\t\t\t// } else if (reqType.equals(\"4\")) {\n\t\t\t\t//\n\t\t\t\t// while (true) {\n\t\t\t\t// TimeUnit.SECONDS.sleep(1);\n\t\t\t\t// // System.out.println(\"Four\"+stateFour);\n\t\t\t\t// // TimeUnit.SECONDS.sleep(1);\n\t\t\t\t// if (stateFour) {\n\t\t\t\t// if (Configuration.hasError) {\n\t\t\t\t// response = Configuration.errorMessage;\n\t\t\t\t// response = finalResult;\n\t\t\t\t// simpleThread.stop();\n\t\t\t\t// return response;\n\t\t\t\t// }\n\t\t\t\t//\n\t\t\t\t// break;\n\t\t\t\t// }\n\t\t\t\t// }\n\t\t\t\t// return response;\n\t\t\t\t// }\n\t\t\t}\n\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tresponse = \"Error: There is an error in inputs, please try again\";\n\t\t\te.printStackTrace();\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tresponse = \"Error: There is an error in inputs, please try again\";\n\t\t}\n\t\tSystem.out.println(Configuration.hasError);\n\t\tif (Configuration.hasError) {\n\t\t\tresponse = Configuration.errorMessage;\n\t\t}\n\t\treturn response;\n\t}", "title": "" }, { "docid": "f40a5e28548e3e01a603416f243581dc", "score": "0.5441795", "text": "@Override\r\n\tpublic void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows IOException, ServletException {\n\t\tString msgType = \"\";\r\n\r\n\t\tRawOutputError error = new RawOutputError();\r\n\t\terror.setErrorString(\"\");\r\n\t\t\r\n\t\tString jsonInput=\"\";\r\n\t\tString responseString = \"\";\r\n\t\t\r\n\t\tGsonBuilder builder = new GsonBuilder();\r\n\t\tGson gson = builder.create();\r\n\r\n\t\ttry {\r\n\t\t\tBufferedReader reader = request.getReader();\r\n\t\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\tsb.append(reader.readLine());\r\n\t\t\tjsonInput = sb.toString();\r\n\r\n\t\t\tJsonParser parser = new JsonParser();\r\n\t\t\tJsonObject obj = parser.parse(jsonInput).getAsJsonObject();\r\n\t\t\tmsgType = obj.get(\"msg_type\").getAsString();\r\n\r\n\t\t} catch(Exception e) {\r\n\t\t\terror.setErrorString(error.getErrorString()+\"\\n Error during input parsing: \"+e.toString());\r\n\t\t}\r\n\t\t\r\n\t\t// If the JSON have the right message type do the work\r\n\t\tif (msgType.equals(MSG_TYPE_JSON_INPUT)) {\r\n\t\t\tRawInputSPLImplementationResolution rawInput = gson.fromJson(jsonInput, RawInputSPLImplementationResolution.class);\r\n\t\t\t\r\n\t\t\tRawOutputSPLImplementationResolution output = saveAndAnalize(rawInput, error);\r\n\t\t\tresponseString = gson.toJson(output);\r\n\t\t} else {\r\n\t\t\terror.setErrorString(error.getErrorString()+\"\\n Wrong type of message, expect: \"+MSG_TYPE_JSON_INPUT);\r\n\t\t}\r\n\t\t\r\n\t\t// If there is an error, return it instead of the output\r\n\t\tif(!\"\".equals(error.getErrorString())) {\r\n\t\t\tresponseString = gson.toJson(error);\r\n\t\t}\r\n\r\n\t\t// Send the output message\r\n\t\tresponse.setContentType(\"application/json; charset=utf-8\");\r\n\t\tPrintWriter out = response.getWriter();\r\n\t\tout.write(responseString);\r\n\t\tresponse.setStatus(HttpServletResponse.SC_OK);\r\n\t\tbaseRequest.setHandled(true);\r\n\t}", "title": "" }, { "docid": "f5b43370013dbb7b283ebe7a0f31bbe0", "score": "0.5435428", "text": "public void printRequestBody(){\n\t\t//Ensure to have unique Email\n\t\tSystem.out.println(\"----------------- Request Body -----------------------\");\n\t\t\n\t\t//Creating a Student Object \n\t\tArrayList<String> courses = new ArrayList<String>();\n\t\t\tcourses.add(\"Ruby\");courses.add(\"C++\");\n\t\tStudentPOJO student = new StudentPOJO();\n\t\t\tstudent.setFirstName(\"Pet\");\n\t\t\tstudent.setLastName(\"Sam\");\n\t\t\tstudent.setProgramme(\"Computer Science\");\n\t\t\tstudent.setEmail(\"[email protected]\"); \n\t\t\tstudent.setCourses(courses);\n\t\t//Post the Request \n\t\tgiven()\n\t\t\t.contentType(ContentType.JSON)\n\t\t\t.log().body()\n\t\t.when()\n\t\t\t.body(student)\n\t\t\t.post()\n\t\t.then()\n\t\t\t.statusCode(201);\n\t\t\n\t}", "title": "" }, { "docid": "374c4ace75d16b6b5b53f0dc2ad9bf2f", "score": "0.5431802", "text": "private static JsonElement processDataBody(String dataBody) throws IOException {\r\n JsonReader reader = new JsonReader(new StringReader(dataBody));\r\n JsonParser parser = new JsonParser();\r\n JsonElement jsonElement = null;\r\n try {\r\n reader.setLenient(true); // To err is human\r\n // the whole file is a single JSON object\r\n /*reader.beginObject();*/\r\n jsonElement = parser.parse(dataBody);\r\n /*reader.endObject();*/\r\n } finally {\r\n reader.close();\r\n }\r\n return jsonElement;\r\n }", "title": "" }, { "docid": "e9895b3f2cac31912910d4a60cdc199d", "score": "0.54277474", "text": "protected void processPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/json;charset=UTF-8\");\n try (PrintWriter out = response.getWriter()) {\n /* TODO output your page here. You may use following sample code. */\n out.println(postNewEmployee(request.getParameter(\"data\")));\n }\n }", "title": "" }, { "docid": "5321c10ce6139419353f3251cb160bea", "score": "0.5426663", "text": "public Project getandparsejson(HttpServletRequest request, HttpServletResponse response) throws SQLException {\r\n\t\tProject proj = new Project();\r\n\t\ttry {\r\n\r\n\t\t\tBufferedReader reader = request.getReader();\r\n\t\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\tString line = reader.readLine();\r\n\t\t\tJSONObject obj = new JSONObject();\r\n\r\n\t\t\twhile (line != null) {\r\n\t\t\t\tsb.append(line + \"\\n\");\r\n\t\t\t\tline = reader.readLine();\r\n\t\t\t}\r\n\t\t\treader.close();\r\n\t\t\tString params = sb.toString();\r\n\t\t\tString[] _params = params.split(\"&\");\r\n\t\t\tString jsondata = null;\r\n\t\t\tfor (String param : _params) {\r\n\t\t\t\tSystem.out.println(\"params(POST)-->\" + param);\r\n\t\t\t\tjsondata = param.toString();\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"jsondata is -------\" + jsondata);\r\n\t\t\t// Convert json string to java object\r\n\t\t\ttry {\r\n\t\t\t\tJSONParser parser = new JSONParser();\r\n\t\t\t\tobj = (JSONObject) parser.parse(jsondata);\r\n\t\t\t\t/******************************\r\n\t\t\t\t * Create Project/Edit Project\r\n\t\t\t\t ******************************************/\r\n\t\t\t\tif (request.getParameter(\"CMD\").equalsIgnoreCase(\"PRJ_CREATE\")\r\n\t\t\t\t\t\t|| (request.getParameter(\"CMD\").equalsIgnoreCase(\"PRJ_EDIT\")))\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tString projectNumber = String.valueOf(obj.get(\"PRJ_NO\"));\r\n\t\t\t\t\tString startDate = String.valueOf(obj.get(\"START_DATE\"));\r\n\t\t\t\t\tString endDate = String.valueOf(obj.get(\"END_DATE\"));\r\n\t\t\t\t\tString posReq = String.valueOf(obj.get(\"POS_REQ\"));// int\r\n\t\t\t\t\t// Integer\r\n\t\t\t\t\t// posReq=Integer.getInteger(obj.get(\"POS_REQ\").toString());\r\n\r\n\t\t\t\t\tString mrgNo = String.valueOf(obj.get(\"MRG_NO\"));\r\n\t\t\t\t\tString prjCost = String.valueOf(obj.get(\"PRJ_COST\"));// int\r\n\t\t\t\t\t// Integer\r\n\t\t\t\t\t// prjCost=Integer.getInteger(obj.get(\"PRJ_COST\").toString());\r\n\t\t\t\t\tString prjloc = String.valueOf(obj.get(\"PRJ_LOC\"));\r\n\t\t\t\t\tString prjstatus = String.valueOf(obj.get(\"PRJ_STATUS\"));\r\n\t\t\t\t\tString prjDes = String.valueOf(obj.get(\"PRJ_DES\"));\r\n\t\t\t\t\tString clientId = String.valueOf(obj.get(\"CLIENT_ID\"));\r\n\r\n\t\t\t\t\tproj.setProjectNumber(projectNumber);\r\n\t\t\t\t\tproj.setStartDate(startDate);\r\n\t\t\t\t\tproj.setEndDate(endDate);\r\n\t\t\t\t\tproj.setPosRequest(posReq);\r\n\t\t\t\t\tproj.setMrgNumber(mrgNo);\r\n\t\t\t\t\tproj.setProjectcost(prjCost);\r\n\t\t\t\t\tproj.setProjectlocation(prjloc);\r\n\t\t\t\t\tproj.setProjectDes(prjDes);\r\n\t\t\t\t\tproj.setClientId(clientId);\r\n\t\t\t\t\tproj.setProjectStatus(prjstatus);\r\n\t\t\t\t\treturn proj;\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/******************************\r\n\t\t\t\t * UPDATE Status\r\n\t\t\t\t ******************************************/\r\n\t\t\t\tif (request.getParameter(\"CMD\").equalsIgnoreCase(\"STATUS_UPDATE\"))\r\n\r\n\t\t\t\t{\r\n\r\n\t\t\t\t\tString projNo = String.valueOf(obj.get(\"PRJ_NO\"));\r\n\r\n\t\t\t\t\tSystem.out.println(\"UPDATE SATUS\" + projNo);\r\n\t\t\t\t\tproj.setProjectNumber(projNo);\r\n\r\n\t\t\t\t\treturn proj;\r\n\t\t\t\t}\r\n\t\t\t} catch (ParseException e) {\r\n\t\t\t\te.printStackTrace();\r\n\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn proj;\r\n\t}", "title": "" }, { "docid": "7a94b15fe4e0fb6a7cab8a7bc73d527c", "score": "0.54263467", "text": "public static String buildRequest(Object pojoObject) throws UnsupportedEncodingException {\n\n\t\tObjectMapper mapper = new ObjectMapper().enable(SerializationFeature.INDENT_OUTPUT)\n\t\t\t\t.setSerializationInclusion(JsonInclude.Include.NON_NULL);\n\t\tString jsonRequest = null;\n\n\t\ttry {\n\t\t\tjsonRequest = mapper.writeValueAsString(pojoObject);\n\t\t} catch (JsonProcessingException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn jsonRequest;\n\t}", "title": "" }, { "docid": "8c17a2f22b532480727d802e6eb50823", "score": "0.5425976", "text": "public static String extractJsonFromSMSOneWorstAPIever(String inputStreamString) {\n\n //string looks like this:\n ////------------------------------c6514c3a96aeContent-Disposition: form-data; name=\"ussdTransactionObject\"{\"transactionId\":\"13010904\",\"transactionTime\":\"2018-01-17 16:07:13\",\"serviceCode\":\"236\",\"ussdDailedCode\":\"*236#\",\"msisdn\":\"256774983602\",\"ussdRequestString\":\"continue\",\"userInput\":\"continue\",\"response\":\"false\",\"network\":\"MTN-UG\",\"newRequest\":true}------------------------------c6514c3a96ae--\n int startIndex = inputStreamString.indexOf(\"name=\\\"ussdTransactionObject\\\"\");\n String extractedString = inputStreamString.substring(startIndex + 1).trim();\n\n int jsonStart = extractedString.indexOf(\"{\");\n int jsonEnd = extractedString.indexOf(\"}\");\n\n String jsonRequest = extractedString.substring(jsonStart, jsonEnd + 1);\n\n return jsonRequest;\n }", "title": "" }, { "docid": "fc35fcd71565bca5d449a10ce54304c4", "score": "0.54092294", "text": "protected void doReq(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tint bno=Integer.parseInt(request.getParameter(\"bno\"));\n\t\tCalBoardService service=CalBoardService.getService();\n\t\tList<CalSubBoardDTO> list=service.subDetail(bno);\n\t\t\n\t\t\n\t\t\n\t\tJSONArray arr=new JSONArray();\n\t\tfor(CalSubBoardDTO dto:list )\n\t\t{\n\t\t\tJSONObject o=new JSONObject();\n\t\t\to.put(\"repno\", dto.getRepno());\n\t\t\to.put(\"rcontent\", dto.getRcontent());\n\t\t\to.put(\"rwritedate\", dto.getRwritedate());\n\t\t\to.put(\"id\", dto.getId());\n\t\t\to.put(\"bno\", dto.getBno());\n\t\t\to.put(\"nick\", dto.getNick());\n\t\t\tarr.add(o);\n\t\t}\n\t\tresponse.setContentType(\"apllication/json;charset=utf-8\");\n\t\tPrintWriter out = response.getWriter();\n\t\tout.print(arr);\n\t\t\n\t}", "title": "" }, { "docid": "9a265969381d9923c11f98f4fa4fa976", "score": "0.5406597", "text": "private JSONArray handleRequest(WebScriptRequest req) {\n // REVIEW -- Why check for errors here if validate has already been\n // called? Is the error checking code different? Why?\n\n // Creates an empty JSONArray\n JSONArray jsonHist = null;\n try {\n String[] idKeys = { \"modelid\", \"elementid\", \"elementId\" };\n String modelId = null;\n for (String idKey : idKeys) {\n modelId = req.getServiceMatch().getTemplateVars().get(idKey);\n if (modelId != null) {\n break;\n }\n }\n\n if (modelId == null) {\n logger.error(\"Model ID Null...\");\n log(Level.ERROR, HttpServletResponse.SC_NOT_FOUND, \"Could not find element\");\n return new JSONArray();\n }\n\n EmsNodeUtil emsNodeUtil = new EmsNodeUtil(getProjectId(req), getRefId(req));\n jsonHist = emsNodeUtil.getNodeHistory(modelId);\n } catch (Exception e) {\n logger.error(String.format(\"%s\", LogUtil.getStackTrace(e)));\n }\n\n return jsonHist;\n }", "title": "" }, { "docid": "04b4e4095386963ea65e919289e8d508", "score": "0.54026717", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n try {\n processRequest(request, response);\n } catch (JSONException ex) {\n Logger.getLogger(JsTreePasserServlet.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "848d6dca4c36023dce4c6a5efc0c947e", "score": "0.5395667", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n try {\n processRequest(request, response);\n } catch (JSONException ex) {\n Logger.getLogger(JsTreePasserServlet.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "07f844209ca156006d823b8dd94c9fc3", "score": "0.53941756", "text": "@Override\n public String getBodyContentType(){\n return \"application/json charset=\"+getParamsEncoding();\n }", "title": "" }, { "docid": "1404c8f84643323d205e50883b8bcab6", "score": "0.53927964", "text": "@Override\n\tpublic void processJsonObject(String programName, JSONArray response) {\n\t}", "title": "" }, { "docid": "1d8c179ff905427fcedb4e94401342ba", "score": "0.5382819", "text": "protected JSONObject getRequestBody() {\n return null;\n }", "title": "" }, { "docid": "b5d684e3d8c7bf1a8e32162ec8942391", "score": "0.5380557", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n SQL_Create sqlCreate = new SQL_Create(); \r\n// SQL_Update sqlUpdate = new SQL_Update();\r\n// SQL_Delete sqlDelete = new SQL_Delete();\r\n \r\n// String owner = \"Schlumberger\";\r\n// String checkIn = \"2017-04-25\";\r\n// String checkOut = \"2017-07-30\";\r\n// String comments = \"Alliance\";\r\n// String path = \"/PSA/images/Schlumberger\";\r\n// String paymentStatus = \"90%\";\r\n \r\n \r\n //sqlCreate.query(owner, checkIn, checkOut, comments, path, paymentStatus);\r\n //sqlUpdate.query(owner, checkIn, checkOut, comments, path, paymentStatus, 1);\r\n //sqlDelete.query(2);\r\n \r\n //SQL_Read sqlRead = new SQL_Read();\r\n //ArrayList rows = sqlRead.query();\r\n //String jsonTable = returnJSON(rows);\r\n //String jsonTable = sqlRead.query();\r\n //System.out.println(jsonTable);\r\n //response.setContentType(\"application/json\");\r\n //response.getWriter().write(jsonTable); \r\n }", "title": "" }, { "docid": "5e2c80b93742ee20fd52426671ffe976", "score": "0.53801966", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n response.setContentType(\"application/json\");\r\n PrintWriter out = response.getWriter();\r\n JSONObject json = new JSONObject();\r\n boolean isSuccess = true;\r\n String errorMsg = new String();\r\n StringBuilder html = new StringBuilder();\r\n try {\r\n Renunciation tmpRenunciation = new Renunciation();\r\n RegistrationChild tmpRegistrationChild = new RegistrationChild();\r\n Account tmpAccount = new Account();\r\n \r\n // campi necessari per prelevare le informazioni\r\n String sId = request.getParameter(DBNames.ATT_RENUNCIATION_ID);\r\n if(sId != null && !sId.equals(\"\")) {\r\n tmpRenunciation.setId(Integer.parseInt(sId));\r\n tmpRenunciation = renunciationManager.search(tmpRenunciation).get(0);\r\n \r\n tmpRegistrationChild.setId(tmpRenunciation.getRegistrationChildId());\r\n tmpRegistrationChild = registrationChildManager.search(tmpRegistrationChild).get(0);\r\n \r\n tmpAccount.setId(tmpRegistrationChild.getParentId());\r\n tmpAccount = accountManager.search(tmpAccount).get(0);\r\n \r\n html.append(bold(\"Dati Genitore:\") + newLine());\r\n html.append(\"Codice fiscale: \" + tmpAccount.getTaxCode() + newLine());\r\n html.append(\"Cognome: \" + tmpAccount.getSurnameUser() + newLine());\r\n html.append(\"Nome: \" + tmpAccount.getNameUser() + newLine());\r\n html.append(\"Data di nascita: \" + CommonMethod.parseString(tmpAccount.getDataOfBirth()) + newLine());\r\n html.append(\"Luogo di nascita: \" + tmpAccount.getPlaceOfBirth() + newLine());\r\n html.append(newLine() + newLine());\r\n \r\n html.append(bold(\"Dati di Iscrizione del Figlio:\") + newLine());\r\n html.append(\"Data di iscrizione: \" + CommonMethod.parseString(tmpRegistrationChild.getRegistrationDate()) + newLine());\r\n html.append(\"Codice fiscale: \" + tmpRegistrationChild.getFiscalCode() + newLine());\r\n html.append(\"Cognome: \" + tmpRegistrationChild.getSurname() + newLine());\r\n html.append(\"Nome: \" + tmpRegistrationChild.getName() + newLine());\r\n html.append(\"Data di nascita: \" + CommonMethod.parseString(tmpRegistrationChild.getBirthDate()) + newLine());\r\n html.append(\"Luogo di nascita: \" + tmpRegistrationChild.getBirthPlace() + newLine());\r\n html.append(newLine() + newLine());\r\n \r\n html.append(bold(\"Dati della Domanda di Rinuncia:\") + newLine());\r\n html.append(\"Data di creazione: \" + CommonMethod.parseString(tmpRenunciation.getDate()) + newLine());\r\n html.append(\"Motivazione: \" + tmpRenunciation.getReason() + newLine());\r\n html.append(newLine());\r\n if(tmpRenunciation.getIsConfirmed()) {\r\n html.append(bold(\"La domanda di rinuncia è stata ricevuta e confermata!\"));\r\n }\r\n \r\n json.put(\"HTML\", html.toString());\r\n } else {\r\n isSuccess = false;\r\n errorMsg = \"Errore nella passaggio dei parametri\";\r\n }\r\n \r\n } catch (SQLException ex) {\r\n Logger.getLogger(ServletGetRenunciation.class.getName()).log(Level.SEVERE, null, ex);\r\n isSuccess = false;\r\n errorMsg = ex.getMessage();\r\n }\r\n json.put(\"IsSuccess\", isSuccess);\r\n json.put(\"ErrorMsg\", errorMsg);\r\n\r\n out.write(json.toString());\r\n out.close();\r\n }", "title": "" }, { "docid": "b0f71ca71cd4b433092211d8485a7a36", "score": "0.53787994", "text": "public String process(String jsonInput, boolean preserveRawInputData) throws BusinessException, SystemException;", "title": "" }, { "docid": "3f7d42b8f7a977103168fb32d39213e0", "score": "0.53783196", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\t\tresponse.setContentType(\"application/json\");\r\n\t\ttry (PrintWriter out = response.getWriter()) {\r\n\t\t\tGson gson = new GsonBuilder().setPrettyPrinting().create();\r\n\t\t\tJsonObject output = new JsonObject();\r\n\t\t\tArrayList<String> errors = new ArrayList<String>();\r\n\r\n\t\t\tString token = request.getParameter(\"token\");\r\n\t\t\tString startdate = request.getParameter(\"startdate\");\r\n\t\t\tString enddate = request.getParameter(\"enddate\");\r\n\t\t\tString selected = request.getParameter(\"school\");\r\n\r\n\t\t\t//TOKEN VALIDATION\r\n\t\t\tif (token == null) {\r\n\t\t\t\terrors.add(\"missing token\");\r\n\t\t\t} else if (token.length() == 0) {\r\n\t\t\t\terrors.add(\"blank token\");\r\n\t\t\t} else {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tString username = JWTUtility.verify(token.trim(), \"nabjemzhdarrensw\");\r\n\t\t\t\t\tif (username == null) {\r\n\t\t\t\t\t\t//failed\r\n\t\t\t\t\t\terrors.add(\"invalid token\");\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tUserDAO userDAO = new UserDAO();\r\n\t\t\t\t\t\tUser user = userDAO.retrieve(username);\r\n\t\t\t\t\t\tAdminDAO adminDAO = new AdminDAO();\r\n\t\t\t\t\t\tAdmin admin = adminDAO.retrieve(username);\r\n\t\t\t\t\t\tif (user == null && admin == null) {\r\n\t\t\t\t\t\t\terrors.add(\"invalid token\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (JWTException e) {\r\n\t\t\t\t\t//failed\r\n\t\t\t\t\terrors.add(\"invalid token\");\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t\t//Gets the number of (top) K that the individual wants displayed\r\n\t\t\tint entryInt = 3;\r\n\t\t\tString entry = request.getParameter(\"k\");\r\n\t\t\tif (entry == null) {\r\n\t\t\t\tentry = \"3\";\r\n\t\t\t} else if (entry.length() == 0) {\r\n\t\t\t\terrors.add(\"blank k\");\r\n\t\t\t} else {\r\n\t\t\t\tentryInt = Utility.parseInt(entry);\r\n\t\t\t\tif (entryInt < 1 || entryInt > 10) {\r\n\t\t\t\t\terrors.add(\"invalid k\");\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\r\n\t\t\t//START DATE VALIDATION\r\n\t\t\tDate dateFormattedStart = null;\r\n\t\t\tif (startdate == null) {\r\n\t\t\t\terrors.add(\"missing startdate\");\r\n\t\t\t} else if (startdate.length() == 0) {\r\n\t\t\t\terrors.add(\"blank startdate\");\r\n\t\t\t} else {\r\n if (startdate.length() != 10) {\r\n errors.add(\"invalid startdate\");\r\n } else {\r\n startdate = Utility.parseString(startdate + \" 00:00:00\");\r\n if (startdate == null || !Utility.checkDate(startdate)) {\r\n errors.add(\"invalid startdate\");\r\n }else{\r\n dateFormattedStart = Utility.parseDate(startdate);\r\n }\r\n }\r\n\t\t\t}\r\n\r\n\t\t\t//END DATE VALIDATION\r\n\t\t\tDate dateFormattedEnd = null;\r\n\t\t\tif (enddate == null) {\r\n\t\t\t\terrors.add(\"missing enddate\");\r\n\t\t\t} else if (enddate.length() == 0) {\r\n\t\t\t\terrors.add(\"blank enddate\");\r\n\t\t\t} else {\r\n if (enddate.length() != 10) {\r\n errors.add(\"invalid enddate\");\r\n } else {\r\n enddate = Utility.parseString(enddate + \" 23:59:59\");\r\n if (enddate == null || !Utility.checkDate(enddate)) {\r\n errors.add(\"invalid enddate\");\r\n }else{\r\n dateFormattedEnd = Utility.parseDate(enddate);\r\n }\r\n }\r\n\t\t\t}\r\n\t\t\tif (dateFormattedStart != null && dateFormattedEnd != null && dateFormattedStart.after(dateFormattedEnd)) {\r\n\t\t\t\terrors.add(\"invalid startdate\");\r\n\t\t\t}\r\n //NOTE: SINCE IT IS A DROPDOWN, CATEGORY AND SCHOOL CAN NEVER BE WRONG. EVEN K. But we will check as well.\r\n\t\t\t//All the values are from the same select place. It only changes based on the report selected\r\n\t\t\t//Checks school/appcategory (Actually this is chosen)\r\n\t\t\tif (selected == null) {\r\n\t\t\t\terrors.add(\"missing school\");\r\n\t\t\t} else if (selected.length() == 0) {\r\n\t\t\t\terrors.add(\"blank school\");\r\n\t\t\t} else {\r\n\t\t\t\tselected = selected.toLowerCase().trim();\r\n\t\t\t\tif (!Utility.checkSchools(selected)) {\r\n\t\t\t\t\terrors.add(\"invalid school\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t//PRINT ERROR AND EXIT IF ERRORS EXIST\r\n\t\t\tif (errors.size() > 0) {\r\n\t\t\t\t\r\n\t\t\t\toutput.addProperty(\"status\", \"error\");\r\n\t\t\t\tCollections.sort(errors);\r\n\t\t\t\toutput.add(\"messages\", gson.toJsonTree(errors));\r\n\t\t\t\tout.println(gson.toJson(output));\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tTopkReportController ctrl = new TopkReportController();\r\n\r\n\t\t\t//This error string is just passed in, but is meant for the UI and not the JSON.\r\n\t\t\tArrayList<String> error = new ArrayList<String>();\r\n\r\n\t\t\t//This parameter is only for the school function\r\n\t\t\tArrayList<HashMap<String, String>> catValues = ctrl.getTopkApp(entryInt, selected, dateFormattedStart, dateFormattedEnd, error);\r\n\r\n\t\t\tif (catValues != null) {\r\n\t\t\t\tIterator<HashMap<String, String>> iter = catValues.iterator();\r\n\t\t\t\tJsonArray param = new JsonArray();\r\n\t\t\t\twhile (iter.hasNext()) {\r\n\t\t\t\t\tHashMap<String, String> map = iter.next();\r\n\t\t\t\t\tJsonObject indiv = new JsonObject();\r\n\t\t\t\t\tparam.add(indiv);\r\n\r\n\t\t\t\t\tindiv.addProperty(\"rank\", Integer.parseInt(map.get(\"rank\")));\r\n\t\t\t\t\tindiv.addProperty(\"app-name\", map.get(\"app-name\"));\r\n\t\t\t\t\tindiv.addProperty(\"duration\", Integer.parseInt(map.get(\"duration\")));\r\n\r\n\t\t\t\t}\r\n\t\t\t\toutput.addProperty(\"status\", \"success\");\r\n\t\t\t\toutput.add(\"results\", param);\r\n\t\t\t\tout.println(gson.toJson(output));\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6c1c447e6d093bbb52f025ef0135e43e", "score": "0.5360141", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/html;charset=UTF-8\");\n String strProductId = request.getParameter(\"product_id\");\n String strEmailMktId = request.getParameter(\"email_mkt_id\");\n String operation = request.getParameter(\"operation\");\n PrintWriter writer = response.getWriter();\n response.setContentType(\"application/json\");\n JSONArray json = new JSONArray();\n \n HttpSession session = request.getSession(true);\n \n if(strProductId!=null && !strProductId.isEmpty() && strProductId!=\"\" && strEmailMktId!=null && !strEmailMktId.isEmpty() && strEmailMktId!= \"\" && operation!=null && !operation.isEmpty() && operation!= \"\"){\n int productId = Integer.parseInt(strProductId);\n int emailMktId = Integer.parseInt(strEmailMktId);\n int result=0;\n \n try{\n JSONObject jsono = new JSONObject();\n switch(operation){\n case \"insert\":\n result = new BusinessDelegate().insertEmailMktProduct(emailMktId, productId);\n jsono.put(\"insert\", result);\n jsono.put(\"productId\", productId);\n jsono.put(\"emailMktId\", emailMktId);\n json.put(jsono); \n break;\n case \"delete\":\n result = new BusinessDelegate().deleteEmailMktProduct(emailMktId, productId);\n jsono.put(\"delete\", result);\n jsono.put(\"productId\", productId);\n jsono.put(\"emailMktId\", emailMktId);\n json.put(jsono); \n break;\n case \"select\":\n List<Product> products = new BusinessDelegate().selectEmailMktProduct(emailMktId);\n for(Product p: products){\n jsono.put(\"product_id\", p.getProductId());\n jsono.put(\"name\", p.getName());\n jsono.put(\"descricao\", p.getMetaTagDescription());\n json.put(jsono);\n }\n break;\n default:\n break;\n }\n }catch(JSONException e){\n e.printStackTrace();\n }finally {\n writer.write(json.toString());\n writer.close();\n }\n \n \n \n \n }else{\n response.sendRedirect(\"login.jsp\");\n }\n }", "title": "" }, { "docid": "b9d13a296e2fed81c882502d072b2919", "score": "0.5359742", "text": "private JSONObject sendRequestForJSON(String url) {\n /**\n * Use of normal HTTP request to request JSON data from Places API..\n */\n try {\n URL obj = new URL(url);\n HttpURLConnection con = (HttpURLConnection) obj.openConnection();\n // optional default is GET\n con.setRequestMethod(\"GET\");\n //add request header\n con.setRequestProperty(\"User-Agent\", \"Mozilla/5.0\");\n int responseCode = con.getResponseCode();\n BufferedReader in = new BufferedReader(\n new InputStreamReader(con.getInputStream()));\n String inputLine;\n StringBuffer response = new StringBuffer();\n while ((inputLine = in.readLine()) != null) {\n response.append(inputLine);\n }\n\n in.close(); // Close the BufferReader\n\n try {\n if (responseCode != HttpURLConnection.HTTP_BAD_GATEWAY) {\n //Read JSON response and print\n return new JSONObject(response.toString());\n }\n } catch (JSONException e) {\n Log.e(TAG, e.getMessage());\n }\n } catch (IOException e) {\n Log.e(TAG, e.getMessage());\n }\n\n return null;\n }", "title": "" }, { "docid": "c115bc4146332fcc909bf1f53b685abd", "score": "0.535973", "text": "@Override\n\tpublic void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tresponse.setContentType(\"text/html;charset=utf-8\");\n\t\trequest.setCharacterEncoding(\"utf-8\");\n\t\tresponse.setCharacterEncoding(\"UTF-8\");\n\t\tresponse.setContentType(\"text/html\");\n\t\tPrintWriter out = response.getWriter();\n\t\t// 读取请求内容\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\trequest.getInputStream(), \"utf-8\"));\n\t\tString line = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tsb.append(line);\n\t\t\t// sb.append(URLDecoder.decode(line,\"utf-8\"));\n\t\t}\n\t\t// 将资料解码\n\t\tString reqBody = sb.toString();\n\t\tSystem.out.println(reqBody);\n\t\tJSONObject obj;\n\t\tint a = 0, b = 0;\n\t\tString phone=null;\n\t\ttry {\n\t\t\tobj = new JSONObject(reqBody);\n\t\t\tSystem.out.println(obj.toString());\n\t\t\tfor (int i = 0; i < obj.length(); i++) {\n\t\t\t\ta = obj.getInt(\"small\");\n\t\t\t\tb = obj.getInt(\"max\");\n\t\t\t\tphone=obj.getString(\"phone\");\n\t\t\t}\n\t\t\tList<mrecInfo> rec_info = new ArrayList<mrecInfo>();\n\t\t\tmrecInfoDaoImpl rec_info_impl = new mrecInfoDaoImpl();\n\t\t\trec_info = rec_info_impl.findAll(a, b,phone);\n\t\t\tResultMrecInfo query = new ResultMrecInfo();\n\t\t\tquery.setResult(1);\n\t\t\tquery.setMerc_query_data(rec_info);\n\t\t\tJSONObject obj_query = new JSONObject(query);\n\t\t\tout.print(obj_query.toString());\n\t\t\tSystem.out.println(obj_query.toString());\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.print(\"数据写入失败!\");\n\t\t} catch (JSONException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "title": "" }, { "docid": "ae37fe352198f5020935519d0a67e7e9", "score": "0.53498685", "text": "public void makeJsonObjReq(String url,int callMethodeType,Response.Listener<JSONObject> listener,\n Response.ErrorListener errlsn,JSONObject requestMap ) {\n\n\n JsonObjectRequest req = new JsonObjectRequest(callMethodeType,\n url, requestMap,\n listener, errlsn){\n @Override\n public Map<String, String> getHeaders() throws AuthFailureError {\n Log.d(\"<<Inside\",\"DataFetchService -> makeJsonObjReq() -> getHeaders()\");\n Map<String, String> headers = new HashMap<String, String>();\n headers.put(\"AuthToken\", Constant.GetResult_AuthToken(mcontext));\n return headers;\n }\n\n @Override\n public String getBodyContentType() {\n\n return \"application/json; charset=utf-8\";\n }\n };\n\n req.setRetryPolicy(new DefaultRetryPolicy(500000,\n DefaultRetryPolicy.DEFAULT_MAX_RETRIES,\n DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));\n\n AppController.getInstance().addToRequestQueue(req);\n\n\n }", "title": "" }, { "docid": "e3a3ef54761238b9935fe2a931353bbd", "score": "0.5332513", "text": "@Override\n\tpublic void requestDispatch(String input) {\n\t\tLog.d(\"wmy\",\"requestDispatch()\");\n\t\tgetInstanceNetwork();\n\t\tinitJsonPost(input);\n\t}", "title": "" }, { "docid": "1801e5b16adf368b8d273a93306e590f", "score": "0.5323423", "text": "@Override\r\n\tprotected boolean checkJSONRequest()\r\n {\r\n\t\treturn true;\r\n }", "title": "" }, { "docid": "2ec472919db53b0ddd6d5093d76dce31", "score": "0.53134465", "text": "private String toJson(HttpServletRequest request, List<AbstractNode> children) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"{\\n\");\n\t\tfor (int i = 0; i < children.size(); i++) {\n\t\t\tAbstractNode node = children.get(i);\n\t\t\tif (node.isSnippet()) {\n\t\t\t\tDemoSnippetNode snippetNode = (DemoSnippetNode)node;\n\t\t\t\tsb.append(\"\\\"\").append(snippetNode.getUnid()).append(\"\\\": {\\n\");\n\t\t\t\tsb.append(\" \\\"level\\\": \\\"\").append(snippetNode.getLevel()).append(\"\\\",\\n\");\n\t\t\t\tsb.append(\" \\\"path\\\": \\\"\").append(snippetNode.getPath()).append(\"\\\",\\n\");\n\t\t\t\tsb.append(\" \\\"unid\\\": \\\"\").append(snippetNode.getUnid()).append(\"\\\"\\n\");\n\t\t\t\tsb.append(\" \\\"url\\\": \\\"\").append(snippetNode.getUrl(request)).append(\"\\\"\\n\");\n\t\t\t\tsb.append((i+1 < children.size()) ? \"},\\n\" : \"}\\n\");\n\t\t\t}\n\t\t}\n\t\tsb.append(\"}\\n\");\n\t\treturn sb.toString();\n\t}", "title": "" }, { "docid": "e70c853849d2c5610b268e35e1818464", "score": "0.5297171", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t response.setContentType(\"text/html;charset=utf-8\");\r\n\t\t /*设置字符集为'UTF-8'*/\r\n\t request.setCharacterEncoding(\"utf-8\");\r\n\t System.out.println(\"连接成功反馈\");// 测试是否成功连接\r\n\t StringBuffer json1 = new StringBuffer();// 字符流\r\n\t String line = null;\r\n\t BufferedReader reader = request.getReader();// 读取流\r\n\t while ((line = reader.readLine()) != null) {\r\n\t json1.append(line);// 接受的是JSON格式\r\n\t }\r\n\r\n\t System.out.println(json1);//得到的是JSON格式\r\n\t JSONObject jsonObject = JSONObject.fromObject(json1.toString());\r\n\t \r\n\t String Token = jsonObject.getString(\"Token\");//获取Token\r\n\t System.out.println(Token);\r\n\t \r\n\t if(CompareToken.selectToken(Token)) {\r\n\t \t //Token存在\r\n\t \t String istoken=TokenUtil.verificationToken(Token);\r\n\t if(istoken.equals(\"成功\")){\r\n\t \t //Token符合条件\r\n\t \t String Days=null;\r\n\t\t\t\ttry {\r\n\t\t\t\t\t//获取当前日期\r\n\t\t\t\t\tDays = Dateadd.mydays(dateToString.nowdateToString(), 0);\r\n\t\t\t\t} catch (ParseException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\t//查询当日房间\r\n\t \t List<RoomMessage> data=MainInterface1.selectRoomInfoToday(Days);\r\n\t \t if(!(null == data || data.size() ==0 )) {\r\n\t \t\t //如果房间信息不为空\r\n\t \t JSONArray jsonArray=JSONArray.fromObject(data);//将数组变成json格式\r\n\t \tString data1=jsonArray.toString();\r\n\t \tSystem.out.println(\"这里的data1 \"+data1.toString());\r\n\t \tnet.sf.json.JSONArray json=net.sf.json.JSONArray.fromObject(data1.toString());\r\n\t if(json.size()>0){\r\n\t for(int i=0;i<json.size();i++){\r\n\t // 遍历 jsonarray 数组,把每一个对象转成 json 对象\r\n\t net.sf.json.JSONObject jsonObj = json.getJSONObject(i);\r\n//\t System.out.println(\"这里的解析的 \"+jsonObj);\r\n\t }}\r\n\t System.out.println(\"第一行 \"+json.getJSONObject(1));\r\n\t response.setContentType(\"text/html;charset=utf-8\");\r\n\t PrintWriter out = response.getWriter();\r\n\t out.write(data1.toString());\r\n\t out.flush();\r\n\t out.close();\r\n\t }\r\n\t \t \r\n\t\t else {\r\n //失败返回数组-1\r\n\t\t\t \t List<RoomMessage> statusdata=MainInterface1.selectRoomInfoToday1();\r\n\t\t\t \t if(statusdata!=null) {\r\n\t\t\t \t JSONArray jsonArray=JSONArray.fromObject(statusdata);\r\n\t\t\t \tString data1=jsonArray.toString();\r\n\t\t\t \tSystem.out.println(\"这里的data1 \"+data1.toString());\r\n\t\t\t \tnet.sf.json.JSONArray json=net.sf.json.JSONArray.fromObject(data1.toString());\r\n\t\t\t if(json.size()>0){\r\n\t\t\t for(int i=0;i<json.size();i++){\r\n\t\t\t // 遍历 jsonarray 数组,把每一个对象转成 json 对象\r\n\t\t\t net.sf.json.JSONObject jsonObj = json.getJSONObject(i);\r\n//\t\t\t System.out.println(\"这里的解析的 \"+jsonObj);\r\n\t\t\t }}\r\n\t\t\t System.out.println(\"第一行 \"+json.getJSONObject(1));\r\n\t\t\t response.setContentType(\"text/html;charset=utf-8\");\r\n\t\t\t PrintWriter out = response.getWriter();\r\n\t\t\t out.write(data1.toString());\r\n\t\t\t out.flush();\r\n\t\t\t out.close();\r\n\t\t\t }\r\n\r\n\t\t } \t \r\n\r\n\t }\r\n\t \r\n\t else {\r\n// Token不符合条件,返回数组-3\r\n\t \t List<RoomMessage> statusdata=MainInterface1.selectRoomInfoToday3();\r\n\t \t if(statusdata!=null) {\r\n\t \t JSONArray jsonArray=JSONArray.fromObject(statusdata);\r\n\t \tString data1=jsonArray.toString();\r\n\t \tSystem.out.println(\"这里的data1 \"+data1.toString());\r\n\t \tnet.sf.json.JSONArray json=net.sf.json.JSONArray.fromObject(data1.toString());\r\n\t if(json.size()>0){\r\n\t for(int i=0;i<json.size();i++){\r\n\t // 遍历 jsonarray 数组,把每一个对象转成 json 对象\r\n\t net.sf.json.JSONObject jsonObj = json.getJSONObject(i);\r\n//\t System.out.println(\"这里的解析的 \"+jsonObj);\r\n\t }}\r\n\t System.out.println(\"第一行 \"+json.getJSONObject(1));\r\n\t response.setContentType(\"text/html;charset=utf-8\");\r\n\t PrintWriter out = response.getWriter();\r\n\t out.write(data1.toString());\r\n\t out.flush();\r\n\t out.close();\r\n\t }\r\n\r\n\t }\r\n\t \r\n\t }\r\n\t \r\n\t else {\r\n //Token为空,返回数组-3\r\n\t \t List<RoomMessage> statusdata=MainInterface1.selectRoomInfoToday3();\r\n\t \t if(statusdata!=null) {\r\n\t \t JSONArray jsonArray=JSONArray.fromObject(statusdata);\r\n\t \tString data1=jsonArray.toString();\r\n\t \tSystem.out.println(\"这里的data1 \"+data1.toString());\r\n\t \t\r\n\t \tnet.sf.json.JSONArray json=net.sf.json.JSONArray.fromObject(data1.toString());\r\n\r\n\t if(json.size()>0){\r\n\t for(int i=0;i<json.size();i++){\r\n\t // 遍历 jsonarray 数组,把每一个对象转成 json 对象\r\n\t net.sf.json.JSONObject jsonObj = json.getJSONObject(i);\r\n//\t System.out.println(\"这里的解析的 \"+jsonObj);\r\n\t }}\r\n\t System.out.println(\"第一行 \"+json.getJSONObject(1));\r\n\t response.setContentType(\"text/html;charset=utf-8\");\r\n\t PrintWriter out = response.getWriter();\r\n\t out.write(data1.toString());\r\n\t out.flush();\r\n\t out.close();\r\n\t }\r\n\r\n\t }\r\n\t \r\n\t\t\r\n\t}", "title": "" }, { "docid": "bfc2adc3b83cb00b85e8eb63fba0f04f", "score": "0.5290046", "text": "@RequestMapping(value = \"/updateFireBase\", method = RequestMethod.POST)\n public String updateFireBaseRequestHandler(HttpServletRequest request) throws IOException, JSONException {\n String tableName = request.getParameter(\"tableName\");\n String object = request.getParameter(\"object\");\n String jsonString = request.getParameter(\"jsonString\");\n JSONObject jsonObject = new JSONObject(jsonString);\n Iterator<String> keys = jsonObject.keys();\n while(keys.hasNext()) {\n String key = keys.next();\n firebaseHelper.updateFirebaseData(tableName,object,key, String.valueOf(jsonObject.get(key)));\n }\n return \"Successfully updated Settings\";\n }", "title": "" }, { "docid": "d2de1c426e5aedb2367314fb5cefe301", "score": "0.5286228", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n\t throws ServletException, IOException {\n\tresponse.setContentType(\"application/json\");\n\tUserBean bean = (UserBean) request.getSession().getAttribute(\"userBean\");\n\n\ttry (PrintWriter out = response.getWriter()) {\n\t if (bean == null || !bean.isLoggedIn()) {\n\t\tout.println(jsonError(\"No session available\"));\n\t\treturn;\n\t }\n\t String query = request.getParameter(\"q\");\n\t if (query == null) {\n\t\tout.println(jsonError(\"No query was supplied.\"));\n\t\treturn;\n\t }\n\t AemsAPI.setUrl(Constants.API_URL);\n\t AemsQueryAction queryAction = new AemsQueryAction(bean.getAemsUser(), EncryptionType.SSL);\n\t queryAction.setQuery(query);\n\n\t try {\n\t\tAemsResponse r = AemsAPI.call0(queryAction, null);\n\t\tout.println(r.getDecryptedResponse());\n\t } catch (Exception ex) {\n\t\tLogger.getLogger(QueryServlet.class.getName()).log(Level.SEVERE, null, ex);\n\t\tout.println(jsonError(\"Error when dispatching query: \" + ex.getMessage()));\n\t }\n\t}\n }", "title": "" }, { "docid": "82acc96ca4c10a6d159a071b1ab06c8c", "score": "0.5284027", "text": "public String getJson(String requestURL) {\n\t\tURL wikiRequest;\n\t\tString response = \"\";\n\t\ttry {\n\t\t\twikiRequest = new URL(requestURL);\n\t\t\tScanner scanner = new Scanner(wikiRequest.openStream());\n\t\t\tresponse = scanner.useDelimiter(\"\\\\Z\").next();\n\t\t\tscanner.close();\n\t\t} catch (IOException e) {\n\t\t\tlog.error(e.getMessage());\n\t\t}\n\t\treturn response;\n\t}", "title": "" }, { "docid": "5e8c173a716358cac8724506293f7bc0", "score": "0.52825224", "text": "protected void parseRequestBody() throws WebDAVServerException\n {\n // Nothing to do in this method, the body contains\n // the content it will be dealt with later\n }", "title": "" }, { "docid": "8483b9bbab1691050a27f56c11057882", "score": "0.52817506", "text": "public void setStrRequest(String strRequest) {\n this.strRequest = strRequest;\n isFromJson = false;\n }", "title": "" }, { "docid": "d6f837ee6600609f4a5015d42d45ce1b", "score": "0.52790546", "text": "Map<String, String> getRequest();", "title": "" }, { "docid": "80caf48e9182e201c3f67df3523d7b7b", "score": "0.52734447", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"application/json\");\n try (PrintWriter out = response.getWriter()) {\n /* TODO output your page here. You may use following sample code. */\n\n Gson gson = new Gson();\n String snum1 = request.getParameter(\"num1\").trim();\n String snum2 = request.getParameter(\"num2\").trim();\n String soperador = request.getParameter(\"operador\").trim();\n String exp = \"^[0-9][0-9]*\";\n try {\n if (snum1.matches(exp) && snum2.matches(exp) && soperador.matches(exp)) {\n Integer num1 = Integer.parseInt(snum1);\n Integer num2 = Integer.parseInt(snum2);\n Integer operador = Integer.parseInt(soperador);\n if (operador <= 4 && operador >= 1) {\n\n Parametros param = new Parametros();\n param.setNum2(num2);\n param.setOperador(operador);\n param.setNum1(num1);\n\n Integer resultado = null;\n\n switch (param.getOperador()) {\n case 1:\n resultado = param.getNum1() + param.getNum2();\n break;\n case 2:\n resultado = param.getNum1() - param.getNum2();\n break;\n case 3:\n resultado = param.getNum1() * param.getNum2();\n break;\n case 4:\n if (param.getNum2() == 0) {\n response.setStatus(500);\n String error = \"No puedes dividir entre 0.\";\n String strJson = gson.toJson(error);\n out.print(strJson);\n } else {\n resultado = param.getNum1() / param.getNum2();\n }\n break;\n }\n\n String strJson = gson.toJson(resultado.toString());\n out.print(strJson);\n\n } else {\n response.setStatus(500);\n String error = \"La operación que ha introducido no es correcta.\";\n String strJson = gson.toJson(error);\n out.print(strJson);\n }\n } else {\n throw new IllegalArgumentException();\n }\n } catch (IllegalArgumentException iae) {\n response.setStatus(500);\n String error;\n if (snum1.equals(\"\") || snum2.equals(\"\") || soperador.equals(\"\")) {\n error = \"Los campos no pueden estan en blanco.\";\n\n } else {\n error = \"Debe introducir sólo numeros enteros.\";\n }\n String strJson = gson.toJson(error);\n out.print(strJson);\n\n }\n }\n }", "title": "" }, { "docid": "c04a7b451cecaeb4ac213f49b53be1dd", "score": "0.5271892", "text": "private void parseRequest(BufferedReader reader) throws IOException {\n parseRequestLine(reader.readLine());\n\n String line;\n\n while (!TextUtils.isEmpty(line = reader.readLine())) {\n // The rest of the lines, they should be the headers\n parseHeaderLine(line);\n }\n\n // Parse out the request body\n // If the request method was POST, we'll get the body of the request\n // This is really a convenience for the developer so that they don't\n // need to get the post body themselves\n if (requestMethod.equals(\"POST\") && headers.containsKey(\"Content-Length\")) {\n parseRequestBody(reader);\n }\n\n// Log.d(TAG, \"request method: \" + requestMethod);\n// Log.d(TAG, \"request uri: \" + requestUri);\n// Log.d(TAG, \"headers\" + headers);\n }", "title": "" }, { "docid": "a1c9b47d745d4691e82a337c5ca3845c", "score": "0.52710086", "text": "public void parseJSON() {\n // try {\n String js = getFTJSONString();\n // TODO:remove this writing to log file, before launch.\n CommonMethods.writeToMyLogFile(js);\n Log.v(TAG, \"res: \" + js);\n\n Gson gs = new Gson();\n StudentsBO ff = gs.fromJson(js, StudentsBO.class);\n\n // list of student contexts.\n // If parents and school are same for the student, theirs respective\n // sections in the JSON string will be null.\n\n processFTFeed(ff);\n\n // } catch (Exception ex) {\n // Log.e(TAG, ex.getMessage());\n // }\n\n }", "title": "" }, { "docid": "59c01d5c03ab1a730b659f5086048890", "score": "0.52698785", "text": "public static String extractRequestBody(List<String> requestStr) {\n String requestBody = \"\";\n boolean isBodySection = false;\n for (int i = 1; i < requestStr.size(); i++) {\n String requestLine = requestStr.get(i);\n if (!isBodySection) {\n if (requestLine.equals(\"\")) {\n // Body section reached\n isBodySection = true;\n }\n continue;\n }\n requestBody = requestLine;\n }\n return requestBody;\n }", "title": "" }, { "docid": "1c40396b97bf71aa95810c426e852a9e", "score": "0.52697253", "text": "private JSONObject convertFormToJson() {\n return SetUpUtils.convertFormToJson(formHashMap);\n }", "title": "" }, { "docid": "4e0eda976027a23873924e247a851fb9", "score": "0.5253701", "text": "private void getJson(){\n JSONParser jsonParser = new JSONParser();\n JSONObject resultJson;\n// try {\n// resultJson = (JSONObject) jsonParser.parse(jsonString.toString());\n// String startDate = (String) resultJson.get(\"start_date\");\n SimpleDateFormat format = new SimpleDateFormat(\"yyyy-MM-dd\");\n// Date start_date = format.parse(startDate);\n// int carId = (int) resultJson.get(\"carId\");\n CarDAO carDAO = CarDAO.getINSTANCE();\n// Car car = carDAO.getCarById(carId).get();\n\n ClientDao client = ClientDao.getInstance();\n// Optional<Client> clientByLogin = client.getClientByLogin(loginname);\n// String outputJson;\n// if (clientByLogin.isPresent()) {\n// resp.setContentType(\"application/json\");\n// resp.setCharacterEncoding(\"UTF-8\");\n// outputJson = \"{\\\"username\\\":\\\"Имя пользователя занято!\\\"}\";\n//\n// } else {\n// resp.setCharacterEncoding(\"UTF-8\");\n// resp.setContentType(\"application/json\");\n// outputJson = \"{\\\"username\\\":\\\"Имя пользователя свободно!\\\"}\";\n// }\n// resp.getWriter().write(outputJson);\n// System.out.println(loginname);\n// } catch (ParseException e) {\n// e.printStackTrace();\n// } catch (java.text.ParseException e) {\n// e.printStackTrace();\n// }\n }", "title": "" }, { "docid": "1098ea624ee5a5a6d9841c46df264081", "score": "0.5244226", "text": "protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n \r\n\r\n PrintWriter out = response.getWriter();\r\n\r\n String Ticket_Id = FilenameUtils.getName(request.getRequestURI()); //......................print last URI\r\n// out.println(Ticket_Id);\r\n// out.println(request.getRequestURI()); //.................print URI\r\n// out.println(request.getQueryString()); //.................print parameter\r\n \r\n String body = request.getReader().lines()\r\n .reduce(\"\", (accumulator, actual) -> accumulator + actual);\r\n JSONObject jObject = new JSONObject(body);\r\n \r\n HashMap<String,String> updatePera = new HashMap<String,String>();\r\n String[] fields = new String[]{\"TASK\",\"OWNER_ID\",\"MAX_DATE\",\"PRIORITY\",\"EMP_ID\",\"STSTUS\",\"STARTING_DATE\",\"FINISHING_DATE\"};\r\n \r\n \r\n \r\n for (String keyStr : jObject.keySet()) {\r\n \t\r\n String keyvalue = (String) jObject.get(keyStr);\r\n \r\n if(!Arrays.asList(fields).contains(keyStr)) {\r\n \t if(keyStr.equals(\"TICKET_ID\")) {\r\n \t\t out.println(\"Can't update TICKET_Id value\");\r\n \t }\r\n \t else {\r\n \t out.println(\"The field \"+\"'\"+keyStr+\"'\"+\" is not present in DB\");\r\n \t \r\n \t }\r\n \t break;\r\n }\r\n else if(keyvalue.isEmpty()) {\r\n \t out.println(\"The field \"+keyStr+\"'s value is EMPTY.\"+\"\\n\"+\"Please enter correct value\");\r\n }\r\n updatePera.put(keyStr, (String) keyvalue);\r\n \r\n }\r\n MickeyDataBaseClass get = new MickeyDataBaseClass();\r\n \r\n \r\n try {\r\n\t\tString result = get.updateTicketDetails(updatePera, Ticket_Id);\r\n\t\tString json = new Gson().toJson(result);\r\n out.println(json);\r\n\t } \r\n catch (Exception e) {\r\n\t\t// TODO Auto-generated catch block\r\n\t\te.printStackTrace();\r\n\t}\r\n \r\n\r\n }", "title": "" }, { "docid": "2ca0e529be83156f3c6153ac61c914a0", "score": "0.5226408", "text": "@POST\n @Path(\"/tags\")\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(\"application/json\") // sends JSON\n public Response consumePartnerTags(String inputReqParams) throws JSONException {\n JSONObject inputReqJson = new JSONObject(inputReqParams);\n\n\n\n // Bind the json object to a string and return with http-200 status code:\n return Response.status(200).entity(inputReqJson.toString()).build();\n }", "title": "" }, { "docid": "9bee4443111000db960d5fab8e56b9e3", "score": "0.52192974", "text": "public String getJsonData(){\n\n //to connect to web service .. init the values\n HttpURLConnection httpURLConnection = null;\n InputStream inputStream = null;\n\n try {\n URL url = new URL(dataURL);\n httpURLConnection = (HttpURLConnection) url.openConnection();\n httpURLConnection.setRequestMethod(\"GET\");\n //for download\n httpURLConnection.setDoInput(true);\n //for upload\n httpURLConnection.setDoOutput(true);\n httpURLConnection.connect();\n\n //the reading part\n StringBuffer stringBuffer = new StringBuffer();\n inputStream = httpURLConnection.getInputStream();\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));\n\n //to read the data line by line ..\n String line = null;\n while ((line = bufferedReader.readLine()) != null){\n stringBuffer.append(line + \"\\n\");\n }\n\n inputStream.close();\n httpURLConnection.disconnect();\n\n return stringBuffer.toString();\n }\n catch (Throwable e) {\n e.printStackTrace();\n }\n\n // to make sure that the below code gonna execute if any error happened\n finally {\n try {\n inputStream.close();\n httpURLConnection.disconnect();\n }catch (Throwable e) {\n e.printStackTrace();\n }\n }\n return null;\n }", "title": "" }, { "docid": "1830f40459519ad9412c166045d5d042", "score": "0.5209474", "text": "@Override\n\tprotected void doJson(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tPrintWriter out = response.getWriter();\n\n\t\tPipelineExecutionResponse presp = new PipelineExecutionResponse();\n\t\tString rawPipelineSet = request.getParameter(\"pipelineset\");\n\n\t\tif (rawPipelineSet == null) {\n\t\t\tpresp.addError(new MissingParameterError(\"pipelineset\",\n\t\t\t\t\t\"JSON Serialized PipelineSet with uniquely identified Pipelines,\"\n\t\t\t\t\t\t\t+ \"and responsible Query, that will be executed\"));\n\t\t} else {\n\t\t\ttry {\n\n\t\t\t\tPipelineSet pset = gson.fromJson(rawPipelineSet,\n\t\t\t\t\t\tPipelineSet.class);\n\t\t\t\tIdentifiedPipeline pipe = (IdentifiedPipeline) pset\n\t\t\t\t\t\t.firstElement();\n\n\t\t\t\tif (!pset.getQuery().isExecutableQuery()) {\n\t\t\t\t\tpresp.addError(new UnexecutableQueryException());\n\t\t\t\t\tthis.jobTable.put(pipe.getID(),\n\t\t\t\t\t\t\tnew UnexecutableQueryException());\n\t\t\t\t} else if (pset.isEmpty()) {\n\t\t\t\t\tPipelineExecutionError e = new PipelineExecutionError(\n\t\t\t\t\t\t\t\"Input PipelineSet is missing pipelines\");\n\t\t\t\t\tpresp.addError(e);\n\t\t\t\t\tthis.jobTable.put(pipe.getID(), e);\n\t\t\t\t} else if (pset.size() > 1) {\n\t\t\t\t\tPipelineExecutionError e = new PipelineExecutionError(\n\t\t\t\t\t\t\t\"Only single pipeline execution is supported.\");\n\t\t\t\t\tpresp.addError(e);\n\t\t\t\t\tthis.jobTable.put(pipe.getID(), e);\n\t\t\t\t} else if (!this.isURLReachable(new URL(pset.getQuery()\n\t\t\t\t\t\t.getArtifactURL()))) {\n\t\t\t\t\tInputDataURLError e = new InputDataURLError(pset.getQuery()\n\t\t\t\t\t\t\t.getArtifactURL());\n\t\t\t\t\tpresp.addError(e);\n\t\t\t\t\tthis.jobTable.put(pipe.getID(), e);\n\t\t\t\t} else {\n\t\t\t\t\t// TODO this is a hack to get default pipeline parameters\n\t\t\t\t\t// for the query\n\t\t\t\t\t// and should be replaced by smarter viskopipeline codes.\n\t\t\t\t\tQueryEngine queryEngine = new QueryEngine(pset.getQuery());\n\t\t\t\t\tqueryEngine.getPipelines();\n\t\t\t\t\tpset.setParameterBindings(queryEngine.getQuery()\n\t\t\t\t\t\t\t.getParameterBindings());\n\n\t\t\t\t\tthis.log(\"Received Pipe with ID \" + pipe.getID());\n\n\t\t\t\t\t/* Put the job into the table so we can fetch its status */\n\t\t\t\t\tif (this.jobTable.containsKey(pipe.getID())) {\n\t\t\t\t\t\tVisualizationError e = new PipelineExecutionError(\n\t\t\t\t\t\t\t\t\"Conflicting pipeline ID in table\");\n\t\t\t\t\t\tpresp.addError(e);\n\t\t\t\t\t\tthis.jobTable.put(pipe.getID(), e);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tPipelineExecutorJob job = new PipelineExecutorJob(pipe);\n\t\t\t\t\t\tthis.jobTable.put(pipe.getID(), job);\n\n\t\t\t\t\t\t// execute the job (blocking)\n\t\t\t\t\t\tVisualizationError ve = this.executePipelineJob(job);\n\n\t\t\t\t\t\tif (ve == null) {\n\t\t\t\t\t\t\t// actual success ~ ish\n\t\t\t\t\t\t\tpresp.setStatus(pipe.getID(), job);\n\n\t\t\t\t\t\t\tthis.log(\"Pipeline execution completed Normally? : \"\n\t\t\t\t\t\t\t\t\t+ job.getJobStatus()\n\t\t\t\t\t\t\t\t\t\t\t.didJobCompletedNormally());\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tpresp.addError(ve);\n\t\t\t\t\t\t\tthis.jobTable.get(pipe.getID()).setError(ve);\n\t\t\t\t\t\t\tthis.log(\"Interrupted Pipeline Execution\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} catch (com.google.gson.JsonParseException e) {\n\t\t\t\tpresp.addError(new JsonError(e));\n\t\t\t} catch (Exception e1) { // this is for programmer error\n\t\t\t\tpresp.addError(new VisualizationError(\n\t\t\t\t\t\t\"Unexpected Error of type (\"\n\t\t\t\t\t\t\t\t+ e1.getClass().getSimpleName()\n\t\t\t\t\t\t\t\t+ \") Check Tomcat log\"));\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\tthis.log(gson.toJson(presp));\n\t\tout.println(gson.toJson(presp));\n\t\tout.flush();\n\t}", "title": "" }, { "docid": "c9e2df4aed87dc78e11bbbe38991af3e", "score": "0.5208361", "text": "@Override\n public void handleRequest(InputStream inputStream, OutputStream outputStream, Context context) throws IOException {\n JsonObject j = new JsonObject();\n JsonObject body = new JsonObject();\n JsonObject header = new JsonObject();\n\n // propriedade mensagem na resposta\n body.addProperty(\"message\", \"Api para validação de CPF\");\n\n // um header aleatório na resposta para API Gateway\n header.addProperty(\"x-custom-header\", \"my custom header value\");\n\n try {\n BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));\n JSONParser parser = new JSONParser();\n JSONObject event = (JSONObject) parser.parse(reader);\n JSONObject m = (JSONObject) event.get(\"multiValueQueryStringParameters\");\n JSONArray ar = (JSONArray) m.get(\"cpf\");\n String cpf = ar.get(0).toString();\n\n // body.addProperty(\"reader\", event.toString());\n body.addProperty(\"cpf\", cpf);\n body.addProperty(\"validation\", validarCPF(cpf));\n } catch (Exception e) {\n body.addProperty(\"validation\", \"Parametro CPF não encontrado\");\n }\n\n // Http status code 200 OK\n j.addProperty(\"statusCode\", 200);\n j.add(\"headers\", header);\n j.addProperty(\"body\", body.toString());\n\n // serializa o JSON para um OutputStream\n OutputStreamWriter writer = new OutputStreamWriter(outputStream, \"UTF-8\");\n writer.write(j.toString());\n writer.close();\n }", "title": "" }, { "docid": "abaacfa00b8b95a0dac7f86a9afebf09", "score": "0.520627", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n request.setCharacterEncoding(\"UTF-8\");\n response.setContentType(\"application/json;charset=UTF-8\");\n\n PrintWriter out = response.getWriter();\n String action = request.getParameter(\"action\");\n String id = request.getParameter(\"id\");\n HttpSession session = request.getSession();\n Gson gson = new Gson();\n\n if (action.equals(\"Song\")) {\n SongDAO dao = new SongDAO();\n if (dao.updatePlayCount(id)) {\n out.print(gson.toJson(\"Success\"));\n out.flush();\n } else {\n out.print(gson.toJson(\"Not found\"));\n out.flush();\n }\n\n\n } else if (action.equals(\"Playlist\")) {\n PlaylistDAO dao = new PlaylistDAO();\n if (dao.updatePlayCount(id)) {\n out.print(gson.toJson(\"Success\"));\n out.flush();\n } else {\n out.print(gson.toJson(\"Not found\"));\n out.flush();\n }\n }\n }", "title": "" }, { "docid": "ed1f67a8d5ad9e61f3103349f8667ca9", "score": "0.5203563", "text": "private void fpPrepareJSON(clsActivity ObjSend,boolean op)\n\t{\n\t try \n\t {\n\t \tjson = new JSONObject();\n\t\t\tjson.put(\"Activity_ID\",ObjSend.GetActivity_ID());\n\t \t json.put(\"ActivityCode\",ObjSend.GetActivityCode());\n\t\t\tjson.put(\"ActivityDescription\",ObjSend.GetActivityDescription());\n\t\t\tjson.put(\"ActivitySub\",ObjSend.GetActivitySub());\n\t\t\tjson.put(\"ActivityID\",ObjSend.GetActivityID());\n\t\t\tjson.put(\"ActivityBillable\",ObjSend.GetActivityBillable());\n\n\t\t\tif (op)\n\t\t\t json.put(\"UpdateList\",\"\"); //ActivityCode,ActivityDescription,ActivitySub,ActivityBillable\"); //\n\t\t} \n\t catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "65bbcfd473eaadb267070ca8513a6326", "score": "0.5201609", "text": "@SuppressLint(\"NewApi\")\n public void readAndParseJSON(String in) {\n try {\n JSONObject reader = new JSONObject(in);\n\n \n \n Phone = reader.getString(\"phone\");\n \n \n Email = reader.getString(\"email\");\n \n JSONObject street = reader.getJSONObject(\"address\");\n Street = street.getString(\"street\");\n City=street.getString(\"city\");\n\n \n Nom = reader.getString(\"name\");\n \n parsingComplete = false;\n\n\n\n } catch (Exception e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "87da2c590e47b662ec1a6c95e90fb9a6", "score": "0.51945853", "text": "private String generateJsonMessage(String service, String method, JSONObject userRequest) {\n\t\tJSONObject messageJ = new JSONObject();\n\t\ttry {\n\t\t\tmessageJ.put(\"id\", msgId);\n\t\t\tmessageJ.put(\"app\", service);\n\t\t\tmessageJ.put(\"args\", userRequest);\n\t\t\tmessageJ.put(\"host\", HOST_JSON);\n\t\t\tmessageJ.put(\"type\", \"invoke\");\n\t\t\tmessageJ.put(\"method\", method);\n\t\t} catch (JSONException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn messageJ.toString();\n\t}", "title": "" } ]
c16412415dd33c2a7d88e5121eed6a7d
Test case number: 41 / 1 covered goal: Goal 1. weka.experiment.ResultMatrix.getRowHidden(I)Z: I13 Branch 63 IF_ICMPGE L1358 true
[ { "docid": "dd16e9b51fe3d5da5b34a745ab40eb6c", "score": "0.54132575", "text": "@Test\n public void test41() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 0);\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot((ResultMatrix) resultMatrixSignificance0);\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(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\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 assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\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.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixGnuPlot0);\n \n boolean boolean0 = resultMatrixGnuPlot0.getRowHidden(0);\n assertFalse(boolean0);\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(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\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 assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\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.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n }", "title": "" } ]
[ { "docid": "61f32e92f1ed25acde19bdab45293eb7", "score": "0.5978712", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n int int0 = expressionMatrixImpl0.getValue(21, 0);\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "d41c886868670c94c7490530fd4fa483", "score": "0.58968925", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n int int0 = expressionMatrixImpl0.getValue(0, 6);\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "dbe76e2e7cf326ffe7dda29bfbce4a5e", "score": "0.5816285", "text": "@Test\n public void test31() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixHTML0);\n \n int int0 = resultMatrixHTML0.getSignificanceCount((-760), (-760));\n assertEquals(0, int0);\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n }", "title": "" }, { "docid": "9a99e18b6c1505eb60b9ccafb152d25e", "score": "0.57945997", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n int int0 = expressionMatrixImpl0.getValue((-2163), 674);\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "802ed2033011dfd03d506f61bbd5aa28", "score": "0.5776246", "text": "@Test\n public void identityMatrixTest2() throws Exception{\n \t\n \tboolean test = true;\n\t\tMatrix A = Matrix.identity(6);\n\t\t\n\t\tfor (int i = 0; i < 6; i++){\n\t\t\tif( A.getData(i, i) == 1)\n\t\t\t\ttest = false;\n\t\t}\n\t\tassertFalse(test);\n }", "title": "" }, { "docid": "6a3b2cd1a5ac2aa98208af57f693edc4", "score": "0.57436967", "text": "@Test\n public void test13() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\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 assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\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.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\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(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixLatex0);\n \n resultMatrixLatex0.setStdDevPrec((-747));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\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 assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\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.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\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(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "24fa357548115a581d2b864aec63725f", "score": "0.5707597", "text": "public void testGetRowHole()\r\n {\r\n int row = state1.getRowHole();\r\n\r\n assertEquals(row, 4);\r\n }", "title": "" }, { "docid": "f42d0c10d473aab41ed0e3165f0a8d24", "score": "0.56878525", "text": "@Test(timeout = 4000)\n public void test082() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertNotNull(resultMatrixHTML0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String[] stringArray0 = new String[1];\n resultMatrixHTML0.setPrintRowNames(true);\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n stringArray0[0] = \")\";\n resultMatrixHTML0.setShowAverage(true);\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(0, vector0.size());\n assertEquals(10, vector0.capacity());\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertNotNull(vector0);\n assertFalse(vector0.contains(\")\"));\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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 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(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertNotNull(resultMatrixLatex0);\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 \n resultMatrixLatex0.setMeanPrec(2);\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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 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(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\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 \n resultMatrixLatex0.setMean(230, 2, (-701));\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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 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(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\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 \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixHTML0);\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\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(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\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(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n boolean boolean0 = resultMatrixGnuPlot0.getDefaultEnumerateColNames();\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\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(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\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 assertFalse(boolean0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot();\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertNotNull(resultMatrixGnuPlot1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixLatex0.setCount((-568), (-701));\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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 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(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\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 }", "title": "" }, { "docid": "d5230ca7fc6890bc7a0b5d99f507ec5c", "score": "0.56874126", "text": "@Test(timeout = 4000)\n public void test083() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\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(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(10, vector0.capacity());\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertNotNull(vector0);\n \n String string0 = resultMatrixHTML0.toStringKey();\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\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 assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\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(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertNotNull(string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\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 ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertNotNull(resultMatrixLatex0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixLatex0.clearHeader();\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string1 = resultMatrixLatex0.toStringSummary();\n assertFalse(string1.equals((Object)string0));\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertNotNull(string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"-summary data not set-\", string1);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertNotNull(resultMatrixLatex1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixLatex0.setMeanPrec(1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n \n resultMatrixLatex0.setMean(7, 2021, Double.NaN);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixLatex1);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\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.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\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 assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n boolean boolean0 = resultMatrixGnuPlot0.getDefaultEnumerateColNames();\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\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.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\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 assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(boolean0);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot();\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\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(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertNotNull(resultMatrixGnuPlot1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string2 = resultMatrixGnuPlot1.getDisplayName();\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot1.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot1.getColNameWidth());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\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(50, resultMatrixGnuPlot1.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertNotNull(string2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"GNUPlot\", string2);\n assertNotSame(resultMatrixGnuPlot1, resultMatrixGnuPlot0);\n \n resultMatrixLatex1.setCount(0, 1845.0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n }", "title": "" }, { "docid": "ab725b2f694412009949b71ec407e35d", "score": "0.5678242", "text": "@Test(timeout = 4000)\n public void test25() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n int int0 = expressionMatrixImpl0.getValue((-453), 1);\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "d4ed1de3f34526236381f77cd1ffe19a", "score": "0.56582105", "text": "@Test(timeout = 4000)\n public void test087() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\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 assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\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(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\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(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertNotNull(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n int[] intArray0 = new int[15];\n intArray0[0] = 2;\n intArray0[1] = 2;\n intArray0[2] = 1;\n intArray0[3] = 0;\n intArray0[4] = 1;\n resultMatrixLatex0.clearHeader();\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\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 assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\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(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\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(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n intArray0[6] = 0;\n intArray0[7] = 1;\n resultMatrixLatex0.m_RankingWins = intArray0;\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\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 assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\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(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\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(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n \n int int0 = resultMatrixLatex0.getSignificanceCount((-4331), (-4331));\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\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 assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\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(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\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(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, int0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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 assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixSignificance0.globalInfo();\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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 assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", string0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\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.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\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(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string1 = resultMatrixGnuPlot0.getDisplayName();\n assertFalse(string1.equals((Object)string0));\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\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.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\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(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertNotNull(string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"GNUPlot\", string1);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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 assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertNotNull(resultMatrixCSV0);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int[][] intArray1 = new int[4][5];\n intArray1[0] = intArray0;\n intArray1[2] = intArray0;\n intArray1[3] = intArray0;\n boolean boolean0 = resultMatrixHTML0.getDefaultEnumerateColNames();\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "4533f64537c258732bf27ca1307af149", "score": "0.56521624", "text": "@Test(timeout = 4000)\n public void test059() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\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.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixHTML0.setCountWidth((-1658));\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\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.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertNotNull(resultMatrixPlainText0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixPlainText0.getColName(1);\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertNull(string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixPlainText0.setRowName(25, \"]SUT'g]L2|hLy\");\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = null;\n try {\n resultMatrixCSV0 = new ResultMatrixCSV((-1658), 25);\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "9758e50b2b1d44cd71b10c9dff529280", "score": "0.56407523", "text": "@Test(timeout = 4000)\n public void test071() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertNotNull(vector0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\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(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertNotNull(resultMatrixLatex0);\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 \n resultMatrixLatex0.setMeanPrec(0);\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\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(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n 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 \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixHTML0);\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(resultMatrixCSV0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(25, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertNotNull(resultMatrixLatex1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixLatex1.setMean((-701), 0, 0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(25, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = null;\n try {\n resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(2, (-701));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "0bb669d1f86a9873aacdcf733aedf8e2", "score": "0.5633057", "text": "@Test\n public void test18() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n resultMatrixHTML0.setRowHidden(27, false);\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "d2b72570a535a797da82dd59b7320414", "score": "0.5632449", "text": "public void testGetRow()\n {\n System.out.println( \"getRow\" );\n DiagonalMatrixMTJ m = this.createRandom();\n \n for( int i = 0; i < m.getDimensionality(); i++ )\n {\n Vector vi = m.getRow( i );\n for( int j = 0; j < vi.getDimensionality(); j++ )\n {\n if( i == j )\n {\n assertEquals( m.getElement( i ), vi.getElement( j ) );\n }\n else\n {\n assertEquals( 0.0, vi.getElement( j ) );\n }\n }\n }\n }", "title": "" }, { "docid": "4eef4750344cf76ec66dcdb56e01b992", "score": "0.5621106", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfNodes();\n expressionMatrixImpl0.getValue(1, 524);\n expressionMatrixImpl0.creatMatrix(524);\n expressionMatrixImpl0.getNumberOfNodes();\n MessageTracerImpl messageTracerImpl0 = new MessageTracerImpl();\n messageTracerImpl0.getMapper();\n messageTracerImpl0.setMapper((ExpressionElementMapper) null);\n messageTracerImpl0.getMapper();\n expressionMatrixImpl0.outNoStandardConnections(true, (ExpressionElementMapper) null);\n expressionMatrixImpl0.toString();\n expressionMatrixImpl0.outNoStandardConnections(true, (ExpressionElementMapper) null);\n expressionMatrixImpl0.outNoStandardConnections(true, (ExpressionElementMapper) null);\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.toString();\n expressionMatrixImpl0.getValue(0, 503);\n int int0 = expressionMatrixImpl0.getValue(65, 0);\n assertEquals(524, expressionMatrixImpl0.getNumberOfElements());\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "07c603b02dabaf3a6ae2804e56114d1a", "score": "0.56126505", "text": "@Test(timeout = 4000)\n public void test08() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n int int0 = expressionMatrixImpl0.getValue((-1044), (-1044));\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "847aa2b792c5e23f0f51162f93708736", "score": "0.5596121", "text": "@Test\n public void test19() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\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(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 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(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixLatex0);\n \n String string0 = resultMatrixLatex0.stdDevPrecTipText();\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", string0);\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\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(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 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(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "f228c40002933ce0bb2a327abffba719", "score": "0.55891454", "text": "@Test(timeout = 4000)\n public void test006() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n Vector<String> vector0 = new Vector<String>();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n resultMatrixCSV0.getRevision();\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2, 1);\n resultMatrixLatex0.setMean(0, 0, 1);\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(1, 26);\n resultMatrixGnuPlot0.getDefaultEnumerateColNames();\n resultMatrixGnuPlot0.clear();\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixGnuPlot0);\n resultMatrixPlainText0.m_MeanPrec = 0;\n resultMatrixPlainText0.getRevision();\n resultMatrixPlainText0.setStdDevPrec(0);\n // Undeclared exception!\n try { \n resultMatrixGnuPlot0.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": "538b3ab911bf4b5d203179aa211a6d9c", "score": "0.55834675", "text": "@Test\n public void test57() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML((ResultMatrix) resultMatrixLatex0);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\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(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n \n resultMatrixHTML0.setCountWidth(0);\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\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(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "61555f4445723c5a9521eb1a30e138c6", "score": "0.557208", "text": "@Test(timeout = 4000)\n public void test041() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(0, vector0.size());\n assertTrue(vector0.isEmpty());\n assertEquals(\"[]\", vector0.toString());\n assertEquals(10, vector0.capacity());\n assertNotNull(vector0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\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(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\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(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertNotNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixCSV0.setColName((-1690), \"( 6Cg:T6~2AS\");\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\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(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\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(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertNotNull(resultMatrixSignificance1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string1 = resultMatrixSignificance1.toStringSummary();\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(string1.equals((Object)string0));\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\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(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertNotNull(string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"-summary data not set-\", string1);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n \n resultMatrixCSV0.setStdDev(2894, (-1690), 0);\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\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(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "cb3d5167163aea61949c6656dafaf8eb", "score": "0.5561942", "text": "@Test(timeout = 4000)\n public void test051() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\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 assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(4, 17);\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(17, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(4, resultMatrixCSV0.getColCount());\n assertEquals(4, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\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.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(17, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertNotNull(resultMatrixCSV0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string0 = resultMatrixCSV0.toStringKey();\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(17, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(4, resultMatrixCSV0.getColCount());\n assertEquals(4, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\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.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(17, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertNotNull(string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Key,\\n[1],col0\\n[2],col1\\n[3],col2\\n[4],col3\\n\", string0);\n \n String string1 = resultMatrixCSV0.toStringRanking();\n assertFalse(string1.equals((Object)string0));\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(17, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(4, resultMatrixCSV0.getColCount());\n assertEquals(4, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\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.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(17, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertNotNull(string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"-ranking data not set-\", string1);\n \n resultMatrixCSV0.setColName(2, \"(\");\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(17, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(4, resultMatrixCSV0.getColCount());\n assertEquals(4, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\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.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(17, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string2 = resultMatrixHTML0.toStringSummary();\n assertFalse(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\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 assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertNotNull(string2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"-summary data not set-\", string2);\n }", "title": "" }, { "docid": "47e1a0b6ff1559682fa2d1630a242f96", "score": "0.5548198", "text": "@Test(timeout = 4000)\n public void test227() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Table table0 = new Table(errorPage0, \"{(]>bIVHkGm2+T.C]\");\n Block block0 = (Block)errorPage0.h3();\n block0.id(\"8^l/m/0Fvn\");\n String[] stringArray0 = new String[8];\n stringArray0[4] = \"8^l/m/0Fvn\";\n stringArray0[7] = stringArray0[0];\n Table table1 = table0.id(\"G$13iFwY)|Y}L>5m)Th\");\n Table table2 = table0.id((String) null);\n table0.nbsp();\n errorPage0.getError(\"Label_1\");\n table1._classReferenceFromHints();\n TableBlock tableBlock0 = table1.thead();\n StringBuilder stringBuilder0 = new StringBuilder(\"8^l/m/0Fvn\");\n StringBuilder stringBuilder1 = stringBuilder0.insert(1, 2102);\n StringBuilder stringBuilder2 = stringBuilder1.insert(5, 0.0F);\n StringBuilder stringBuilder3 = stringBuilder2.deleteCharAt(5);\n TableBlock tableBlock1 = tableBlock0.renderHint(stringBuilder3);\n Boolean boolean0 = new Boolean(false);\n tableBlock1.equals(boolean0);\n Hidden hidden0 = new Hidden(table2, \"lX#Zk`XW(g/r;~ypa\", \"/z\");\n hidden0.defaultDomEvent();\n StringBuffer stringBuffer0 = new StringBuffer(\"body\");\n assertEquals(\"body\", stringBuffer0.toString());\n }", "title": "" }, { "docid": "501e7346f74a7b2d81fa94fe7de8fdd9", "score": "0.553669", "text": "@Test\n public void identityMatrixTest1() throws Exception{\n \t\n \tboolean test = false;\n\t\tMatrix A = Matrix.identity(6);\n\t\t\n\t\tfor (int i = 0; i < 6; i++){\n\t\t\tif( A.getData(i, i) == 1)\n\t\t\t\ttest = true;\n\t\t\t\t\n\t\t}\n\t\tassertTrue(test);\n }", "title": "" }, { "docid": "50b0538a8702edf5102cb830715fb531", "score": "0.55354035", "text": "@Test(timeout = 4000)\n public void test074() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\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 assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertNotNull(vector0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertNotNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\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 assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.setRowNameWidth((-1257));\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.getHeader(\"\");\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1\n //\n verifyException(\"java.util.Vector\", e);\n }\n }", "title": "" }, { "docid": "8ccd265344fb909e85974a62fb1e583a", "score": "0.55254257", "text": "@Test(timeout = 4000)\n public void test096() throws Throwable {\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(1, 267);\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(267, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(267, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertNotNull(resultMatrixPlainText0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixPlainText0);\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(267, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(267, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(267, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(267, resultMatrixLatex0.getRowCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertNotNull(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixPlainText0.m_ShowAverage = true;\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(267, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(267, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertTrue(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n \n resultMatrixLatex0.clear();\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(267, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(267, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertTrue(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(267, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(267, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int int0 = resultMatrixPlainText0.getDisplayRow((-1568));\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(267, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(267, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertTrue(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "df0684aac82f794ca8ad8257fa928788", "score": "0.55210763", "text": "@Test(timeout = 4000)\n public void test000() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n int int0 = 679;\n resultMatrixCSV0.m_StdDevWidth = 679;\n int int1 = 682;\n int[][] intArray0 = new int[2][0];\n int[] intArray1 = new int[5];\n intArray1[0] = 1;\n intArray1[1] = 2;\n intArray1[2] = 0;\n intArray1[3] = 1;\n intArray1[4] = 1;\n resultMatrixCSV0.m_ColOrder = intArray1;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[9];\n intArray2[0] = 2;\n intArray2[1] = 2;\n intArray2[2] = 0;\n intArray2[3] = 682;\n intArray2[4] = 682;\n intArray2[5] = 0;\n intArray2[6] = 2;\n intArray2[7] = 2;\n intArray2[8] = 0;\n intArray0[1] = intArray2;\n resultMatrixCSV0.m_Wins = intArray0;\n resultMatrixCSV0.m_RankingWins = intArray2;\n resultMatrixCSV0.m_StdDevWidth = 682;\n resultMatrixCSV0.toStringKey();\n // Undeclared exception!\n try { \n resultMatrixCSV0.toStringMatrix();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.core.Utils\", e);\n }\n }", "title": "" }, { "docid": "70d5edaa6ecae5c0a5005a4cd3cccf54", "score": "0.55192953", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertNotNull(resultMatrixHTML0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(1, 1);\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n \n String string1 = resultMatrixCSV0.getRevision();\n assertTrue(string1.equals((Object)string0));\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertNotNull(string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string1);\n \n resultMatrixCSV0.clear();\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\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 assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixSignificance0.setMeanWidth((-2584));\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 assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.getHeader(\" \");\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1\n //\n verifyException(\"java.util.Vector\", e);\n }\n }", "title": "" }, { "docid": "0cbe29a949c9329ed436d4a3e503bed8", "score": "0.55071473", "text": "@Test(timeout = 4000)\n public void test092() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\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.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertNotNull(resultMatrixHTML0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixHTML0.printRowNamesTipText();\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\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.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Whether to output row names or just numbers representing them.\", string0);\n }", "title": "" }, { "docid": "3fa0959bfdcd9c60fba29b69c118d1b1", "score": "0.550428", "text": "@Test(timeout = 4000)\n public void test054() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(18, 18);\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(18, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\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(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(18, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(18, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(18, resultMatrixHTML0.getColCount());\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixHTML0.m_PrintRowNames = false;\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(18, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\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(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(18, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(18, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(18, resultMatrixHTML0.getColCount());\n \n resultMatrixHTML0.setSignificance(9, 3002, 9);\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(18, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\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(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(18, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(18, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(18, resultMatrixHTML0.getColCount());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(18, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\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(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(18, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(18, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(18, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(18, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(18, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(18, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(18, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertNotNull(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 \n int int0 = resultMatrixLatex0.getDisplayRow(26);\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(18, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\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(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(18, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(18, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(18, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(18, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(18, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(18, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(18, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\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((-1), int0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\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(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixGnuPlot0.toStringSummary();\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\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(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"-summary data not set-\", string0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\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.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\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(\"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(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.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 assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string1 = resultMatrixCSV0.toStringSummary();\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.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\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(\"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(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.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 assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertNotNull(string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"-summary data not set-\", string1);\n }", "title": "" }, { "docid": "046f86496842fa4ac6f06299b74ba092", "score": "0.5503715", "text": "@Test(timeout = 4000)\n public void test072() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertNotNull(vector0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(1724, 2);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\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 assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(1724, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(1724, resultMatrixLatex0.getColCount());\n assertNotNull(resultMatrixLatex0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixLatex0.setMean(196, (-76), 0);\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\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 assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(1724, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(1724, resultMatrixLatex0.getColCount());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(1724, 2451);\n }", "title": "" }, { "docid": "b1da8727c19c694dcffbf53b2c0706c9", "score": "0.5498093", "text": "@Test\n public void test44() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText((ResultMatrix) resultMatrixSignificance0);\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\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 assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixPlainText0);\n \n int int0 = resultMatrixPlainText0.getSignificance(0, (-4520));\n assertEquals(0, int0);\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\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 assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\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 assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n }", "title": "" }, { "docid": "41e9fb6e8ed583cc3263881db2ddbe04", "score": "0.54938245", "text": "@Test\n public void test49() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixHTML0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex((ResultMatrix) resultMatrixHTML0);\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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 assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\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 assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixLatex0);\n \n String string0 = resultMatrixLatex0.padString(\"*\", (-1571), false);\n assertEquals(\"*\", string0);\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowStdDev());\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 assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\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 assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n \n double double0 = resultMatrixHTML0.getAverage(0);\n assertEquals(Double.NaN, double0, 0.01D);\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n }", "title": "" }, { "docid": "325efcdd701982f2f71180cfea2c680e", "score": "0.54813415", "text": "@Test\n public void test59() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(1, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(191, 12);\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(191, resultMatrixGnuPlot0.getColCount());\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(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\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(12, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(191, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(12, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\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(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixGnuPlot0);\n \n String string0 = resultMatrixGnuPlot0.toStringKey();\n assertEquals(\"Key:\\n1 col0\\n2 col1\\n3 col2\\n4 col3\\n5 col4\\n6 col5\\n7 col6\\n8 col7\\n9 col8\\n10 col9\\n11 col10\\n12 col11\\n13 col12\\n14 col13\\n15 col14\\n16 col15\\n17 col16\\n18 col17\\n19 col18\\n20 col19\\n21 col20\\n22 col21\\n23 col22\\n24 col23\\n25 col24\\n26 col25\\n27 col26\\n28 col27\\n29 col28\\n30 col29\\n31 col30\\n32 col31\\n33 col32\\n34 col33\\n35 col34\\n36 col35\\n37 col36\\n38 col37\\n39 col38\\n40 col39\\n41 col40\\n42 col41\\n43 col42\\n44 col43\\n45 col44\\n46 col45\\n47 col46\\n48 col47\\n49 col48\\n50 col49\\n51 col50\\n52 col51\\n53 col52\\n54 col53\\n55 col54\\n56 col55\\n57 col56\\n58 col57\\n59 col58\\n60 col59\\n61 col60\\n62 col61\\n63 col62\\n64 col63\\n65 col64\\n66 col65\\n67 col66\\n68 col67\\n69 col68\\n70 col69\\n71 col70\\n72 col71\\n73 col72\\n74 col73\\n75 col74\\n76 col75\\n77 col76\\n78 col77\\n79 col78\\n80 col79\\n81 col80\\n82 col81\\n83 col82\\n84 col83\\n85 col84\\n86 col85\\n87 col86\\n88 col87\\n89 col88\\n90 col89\\n91 col90\\n92 col91\\n93 col92\\n94 col93\\n95 col94\\n96 col95\\n97 col96\\n98 col97\\n99 col98\\n100 col99\\n101 col100\\n102 col101\\n103 col102\\n104 col103\\n105 col104\\n106 col105\\n107 col106\\n108 col107\\n109 col108\\n110 col109\\n111 col110\\n112 col111\\n113 col112\\n114 col113\\n115 col114\\n116 col115\\n117 col116\\n118 col117\\n119 col118\\n120 col119\\n121 col120\\n122 col121\\n123 col122\\n124 col123\\n125 col124\\n126 col125\\n127 col126\\n128 col127\\n129 col128\\n130 col129\\n131 col130\\n132 col131\\n133 col132\\n134 col133\\n135 col134\\n136 col135\\n137 col136\\n138 col137\\n139 col138\\n140 col139\\n141 col140\\n142 col141\\n143 col142\\n144 col143\\n145 col144\\n146 col145\\n147 col146\\n148 col147\\n149 col148\\n150 col149\\n151 col150\\n152 col151\\n153 col152\\n154 col153\\n155 col154\\n156 col155\\n157 col156\\n158 col157\\n159 col158\\n160 col159\\n161 col160\\n162 col161\\n163 col162\\n164 col163\\n165 col164\\n166 col165\\n167 col166\\n168 col167\\n169 col168\\n170 col169\\n171 col170\\n172 col171\\n173 col172\\n174 col173\\n175 col174\\n176 col175\\n177 col176\\n178 col177\\n179 col178\\n180 col179\\n181 col180\\n182 col181\\n183 col182\\n184 col183\\n185 col184\\n186 col185\\n187 col186\\n188 col187\\n189 col188\\n190 col189\\n191 col190\\n\", string0);\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(191, resultMatrixGnuPlot0.getColCount());\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(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\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(12, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(191, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(12, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\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(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\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(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixPlainText0);\n \n resultMatrixPlainText0.setMeanWidth(191);\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(191, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\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(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n \n int int0 = resultMatrixSignificance0.getDisplayRow(0);\n assertEquals(0, int0);\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(1, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n \n boolean boolean0 = resultMatrixGnuPlot0.getRowHidden((-1439));\n assertFalse(boolean0);\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(191, resultMatrixGnuPlot0.getColCount());\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(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\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(12, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(191, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(12, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\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(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n }", "title": "" }, { "docid": "1c6e538b1af74a76a0125547af948adb", "score": "0.5468897", "text": "@Test\n public void test32() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\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.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixLatex0);\n \n String string0 = resultMatrixLatex0.getSummaryTitle(1129);\n assertEquals(\"l\", string0);\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.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "94e952829f9e900123d53fc01d1c8d2f", "score": "0.54631186", "text": "@Test\n public void test16() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(45, 45);\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(45, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(45, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(45, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(45, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixHTML0);\n \n String string0 = resultMatrixHTML0.showStdDevTipText();\n assertEquals(\"Whether to display the standard deviation column.\", string0);\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(45, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(45, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(45, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(45, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "8fea7da033402bcc47d9a86469a026b6", "score": "0.5462134", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.creatMatrix(1221);\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.setValue(1, 152, (-2299));\n expressionMatrixImpl0.outNoStandardConnections(false, (ExpressionElementMapper) null);\n assertEquals(1221, expressionMatrixImpl0.getNumberOfElements());\n }", "title": "" }, { "docid": "b3ad026882c84d7215c84f3db005d8af", "score": "0.5458048", "text": "@Test\n public void test61() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\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 assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n String string0 = resultMatrixHTML0.rowNameWidthTipText();\n assertEquals(\"The maximum width for the row names (0 = optimal).\", string0);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\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 assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(string0);\n \n String[] stringArray0 = resultMatrixHTML0.getOptions();\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\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 assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(stringArray0);\n \n int int0 = resultMatrixHTML0.getSignificanceWidth();\n assertEquals(0, int0);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\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 assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n \n boolean boolean0 = resultMatrixHTML0.getDefaultPrintRowNames();\n assertTrue(boolean0);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\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 assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 0);\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setRowNameWidth(0);\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n \n resultMatrixSignificance0.setEnumerateRowNames(true);\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n }", "title": "" }, { "docid": "6d93f684f5a169b46e5399854d5cd0d1", "score": "0.5455963", "text": "@Test\n public void test27() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\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 assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\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 assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixHTML0);\n \n int int0 = resultMatrixHTML0.getSignificanceWidth();\n assertEquals(0, int0);\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\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 assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\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 assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 0);\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(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\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.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.setRowNameWidth((-965));\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(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\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.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "845a3b90d7d0c0c4e14cc30affeba2de", "score": "0.5452993", "text": "@Test(timeout = 4000)\n public void test069() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.m_SignificanceWidth = 0;\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n \n String string0 = resultMatrixCSV0.getRevision();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertNotNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\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(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int int0 = resultMatrixSignificance0.getVisibleRowCount();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\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(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, int0);\n \n String string1 = resultMatrixCSV0.toStringRanking();\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertNotNull(string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"-ranking data not set-\", string1);\n \n resultMatrixCSV0.setColName(1732, \")\");\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\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(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n 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 assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertNotNull(resultMatrixSignificance1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string2 = resultMatrixSignificance0.toStringSummary();\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\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(0, resultMatrixSignificance0.getColNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\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(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertNotNull(string2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"-summary data not set-\", string2);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n \n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV();\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertEquals(1, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(1, resultMatrixCSV1.getColCount());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(1, resultMatrixCSV1.getVisibleColCount());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertNotNull(resultMatrixCSV1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixCSV1.setStdDev(0, 866, 1.2);\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertEquals(1, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(1, resultMatrixCSV1.getColCount());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(1, resultMatrixCSV1.getVisibleColCount());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixCSV1, resultMatrixCSV0);\n }", "title": "" }, { "docid": "1527e2fa966f79760b963dbd5a61af14", "score": "0.54496044", "text": "public static void main(String[] args) {\n String function_name = \"BigMat.mostOnes\";\n BitMatrix test = new BitMatrix(20);\n for (int i = 0; i < test.size(); i++) {\n test.set(i, i, 1); // lower triangular BitMatrix of all 1's\n }\n report(function_name, BigMat.mostOnes(test) == 19);\n test = new BitMatrix(100);\n for (int i = 0; i < test.size(); i++) {\n int col = i + 37;\n if (col > test.size()) {\n col = col % test.size();\n }\n test.set(i, col, 1); // (0, 37), (1, 38), (x, 99) -> x = row 62;\n }\n report(function_name, BigMat.mostOnes(test) == 62);\n test = new BitMatrix(6);\n test.set(0, 3, 1);\n test.set(1, 2, 1);\n test.set(2, 1, 1);\n test.set(3, 3, 1);\n test.set(4, 4, 1);\n test.set(5, 4, 1);\n report(function_name, BigMat.mostOnes(test) == 4);\n test = new BitMatrix(10000);\n report(function_name, BigMat.mostOnes(test) == 0);\n }", "title": "" }, { "docid": "229da473daa3f27e41e659ff7c30e170", "score": "0.5435552", "text": "@Test public void testCase4265() throws Exception {\n String sql = \"SELECT X.intkey, Y.intkey FROM BQT1.SmallA X, BQT1.SmallA Y WHERE X.IntKey <> Y.IntKey and Y.IntKey = 1\"; //$NON-NLS-1$\n\n ProcessorPlan plan = helpPlan(sql, RealMetadataFactory.exampleBQTCached(),\n new String[] {\n \"SELECT g_0.IntKey FROM BQT1.SmallA AS g_0 WHERE g_0.IntKey <> 1\",\n \"SELECT g_0.IntKey FROM BQT1.SmallA AS g_0 WHERE g_0.IntKey = 1\" }, ComparisonMode.EXACT_COMMAND_STRING); //$NON-NLS-1$\n\n checkNodeTypes(plan, new int[] {\n 2, // Access\n 0, // DependentAccess\n 0, // DependentSelect\n 0, // DependentProject\n 0, // DupRemove\n 0, // Grouping\n 1, // Join\n 0, // MergeJoin\n 0, // Null\n 0, // PlanExecution\n 1, // Project\n 0, // Select\n 0, // Sort\n 0 // UnionAll\n });\n\n }", "title": "" }, { "docid": "4b33ba98edf0878bacd9974f951a63c3", "score": "0.5434786", "text": "@Test(timeout = 4000)\n public void test066() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertNotNull(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixLatex0.m_StdDevWidth = 464;\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixLatex0);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertNotNull(resultMatrixCSV0);\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 \n String string0 = resultMatrixCSV0.toStringKey();\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertNotNull(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(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Key,\\n(1),col0\\n\", string0);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(resultMatrixCSV0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertNotNull(resultMatrixLatex1);\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 assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertNotNull(resultMatrixGnuPlot0);\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 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 \n String string1 = resultMatrixGnuPlot0.removeFilterName(\"*\");\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertNotNull(string1);\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 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(\"*\", string1);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n resultMatrixGnuPlot0.clearSummary();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\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(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\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 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 assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n resultMatrixLatex0.setMeanPrec(0);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n \n String string2 = resultMatrixLatex0.getRevision();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertNotNull(string2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string2);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n \n String string3 = resultMatrixLatex1.toStringMatrix();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string2));\n assertFalse(string3.equals((Object)string1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertNotNull(string3);\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 assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\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\", string3);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n String string4 = resultMatrixLatex1.toStringSummary();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string4.equals((Object)string1));\n assertFalse(string4.equals((Object)string3));\n assertFalse(string4.equals((Object)string0));\n assertFalse(string4.equals((Object)string2));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertNotNull(string4);\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 assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"-summary data not set-\", string4);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n boolean boolean0 = resultMatrixGnuPlot0.getDefaultEnumerateRowNames();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\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 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 assertFalse(boolean0);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n int[][] intArray0 = new int[2][5];\n int[] intArray1 = new int[6];\n intArray1[0] = 464;\n intArray1[1] = 464;\n intArray1[2] = 2;\n intArray1[3] = (-1264);\n intArray1[4] = 464;\n intArray1[5] = 0;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[9];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 464;\n intArray2[1] = 1;\n intArray2[2] = (-214);\n intArray2[3] = 464;\n intArray2[4] = 1;\n intArray2[5] = 0;\n intArray2[6] = 464;\n intArray2[7] = 2;\n intArray2[8] = 464;\n intArray0[1] = intArray2;\n resultMatrixGnuPlot0.m_Wins = intArray0;\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n \n resultMatrixLatex1.assign(resultMatrixLatex0);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\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 assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n String string5 = resultMatrixGnuPlot0.enumerateColNamesTipText();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(string5.equals((Object)string2));\n assertFalse(string5.equals((Object)string4));\n assertFalse(string5.equals((Object)string3));\n assertFalse(string5.equals((Object)string1));\n assertFalse(string5.equals((Object)string0));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\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(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertNotNull(string5);\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 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(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", string5);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n // Undeclared exception!\n try { \n resultMatrixGnuPlot0.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": "a527e6cf88cd4a5bab79054c325b2fba", "score": "0.5434767", "text": "public void testRowSelection_1 () throws Exception \n{\n System.out.println (\"testRowSelection_1\");\n\n DataMatrixReader reader = new DataMatrixFileReader (\"file://\", \"simpleMatrix.txt\");\n reader.read ();\n DataMatrix [] matrices = reader.get ();\n assertTrue (matrices.length == 1);\n DataMatrix matrix = matrices [0];\n DataMatrixLens lens = new DataMatrixLens(matrix);\n lens.setSelectedRows (new int [0]);\n assertTrue(lens.getSelectedRowCount() == 0);\n \n lens.setSelectedRows(new int[]{3,1});\n assertTrue(lens.getSelectedRowCount() == 2);\n assertFalse(lens.getSelectedRowCount() == lens.getRawRowCount());\n \n assertTrue(lens.getFromSelected(0,2) == 9.0);\n \n assertTrue(lens.getEnabledColumnCount() == 3);\n \n assertTrue(lens.getEnabledColumnCount() == \n lens.getFilteredColumnTitles().length);\n \n assertTrue(lens.getFilteredColumnTitles().length == 3);\n \n lens.setColumnState(1, false);\n\n assertTrue(lens.getEnabledColumnCount() == 2);\n\n assertTrue(lens.getFilteredColumnTitles().length == 2);\n \n \n assertTrue(lens.getFromSelected(0,1) == 9.0);\n \n String[] selectedRowTitles = lens.getSelectedRowTitles();\n assertTrue(selectedRowTitles.length == lens.getSelectedRowCount());\n \n assertTrue(selectedRowTitles[1].equals(\"b\"));\n assertTrue(selectedRowTitles[0].equals(\"d\"));\n \n\n //System.out.println(\"expected results:\");\n\n String expectedM = \"gene\tcond0\tcond2\\n\" +\n\t\t\t\t\t\"d\t999.0\t9.0\\n\"+\n\t\t\t\t\t\"b\t-1.2\t-32.3333\\n\";\n //System.out.println(expectedM);\n\n\n //System.out.println(\"toString(false) results:\");\n //System.out.println(lens.toString(false));\n \n assertTrue(lens.toString(false).equals(expectedM));\n \n \n}", "title": "" }, { "docid": "7c12b7bb8cd6dc7dd0e45e0feb8fecbe", "score": "0.54333526", "text": "@Test\n public void test20() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 0);\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(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 mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"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 assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n \n double double0 = resultMatrixSignificance0.getStdDev(0, 0);\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(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 mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"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 assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "d5e5396ea3f50bb8f980135f3b8938c2", "score": "0.5433092", "text": "@Test(timeout = 4000)\n public void test23() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.addNewNode();\n int int0 = expressionMatrixImpl0.addNewNode();\n assertEquals(2, int0);\n \n int int1 = expressionMatrixImpl0.getValue(2, (-1724));\n assertEquals((-1), int1);\n }", "title": "" }, { "docid": "16cf13ebbea75f2f9fd6c4f48c242701", "score": "0.542703", "text": "@Test(timeout = 4000)\n public void test022() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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(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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n Vector<String> vector0 = new Vector<String>();\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertEquals(10, vector0.capacity());\n assertNotNull(vector0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertNotNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n \n String string1 = resultMatrixCSV0.getRevision();\n assertTrue(string1.equals((Object)string0));\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertNotNull(string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string1);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\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 assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\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(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n Enumeration enumeration0 = resultMatrixSignificance0.listOptions();\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 assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\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(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertNotNull(enumeration0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.m_SignificanceWidth = 5;\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(5, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.getHeader(\"\");\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1\n //\n verifyException(\"java.util.Vector\", e);\n }\n }", "title": "" }, { "docid": "fc1d708b7c22be81d92bcadbfe2a7097", "score": "0.5426652", "text": "@Test(timeout = 4000)\n public void test004() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n String[] stringArray0 = new String[1];\n resultMatrixHTML0.setPrintRowNames(false);\n stringArray0[0] = \")\";\n resultMatrixHTML0.setShowAverage(false);\n int[] intArray0 = new int[5];\n intArray0[0] = 0;\n intArray0[1] = 2;\n intArray0[2] = 0;\n intArray0[3] = 2;\n intArray0[4] = 2;\n resultMatrixHTML0.m_RankingWins = intArray0;\n Vector<String> vector0 = new Vector<String>();\n resultMatrixHTML0.m_HeaderKeys = vector0;\n vector0.add(\"-mean-prec\");\n resultMatrixHTML0.setOptions(stringArray0);\n // Undeclared exception!\n try { \n resultMatrixHTML0.toStringHeader();\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": "646223060dc724c6c1a2aa7fd0de1506", "score": "0.5422907", "text": "@Test(timeout = 4000)\n public void test043() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\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(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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(\"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 assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertNotNull(resultMatrixLatex0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixLatex0.m_RowNameWidth = 1927;\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(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\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 assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(1927, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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(\"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 assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"8034\", string0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n int int0 = resultMatrixSignificance0.getVisibleRowCount();\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, int0);\n \n String string1 = resultMatrixSignificance0.toStringKey();\n assertFalse(string1.equals((Object)string0));\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertNotNull(string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Key:\\n(1) col0\\n\", string1);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(1, 75);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(75, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(75, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertNotNull(resultMatrixLatex1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int[][] intArray0 = new int[9][4];\n int[] intArray1 = new int[2];\n intArray1[0] = 0;\n intArray1[1] = 1;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[2];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 1927;\n intArray2[1] = 2;\n intArray0[1] = intArray2;\n int[] intArray3 = new int[4];\n assertFalse(intArray3.equals((Object)intArray1));\n assertFalse(intArray3.equals((Object)intArray2));\n \n intArray3[0] = 2;\n intArray3[1] = 1;\n intArray3[2] = 0;\n intArray3[3] = 1;\n intArray0[2] = intArray3;\n int[] intArray4 = new int[0];\n assertFalse(intArray4.equals((Object)intArray3));\n assertFalse(intArray4.equals((Object)intArray1));\n assertFalse(intArray4.equals((Object)intArray2));\n \n intArray0[3] = intArray4;\n int[] intArray5 = new int[4];\n assertFalse(intArray5.equals((Object)intArray2));\n assertFalse(intArray5.equals((Object)intArray1));\n assertFalse(intArray5.equals((Object)intArray4));\n assertFalse(intArray5.equals((Object)intArray3));\n \n intArray5[0] = 0;\n intArray5[1] = 1927;\n intArray5[2] = 1;\n intArray5[3] = 0;\n intArray0[4] = intArray5;\n int[] intArray6 = new int[2];\n assertFalse(intArray6.equals((Object)intArray5));\n assertFalse(intArray6.equals((Object)intArray4));\n assertFalse(intArray6.equals((Object)intArray3));\n assertFalse(intArray6.equals((Object)intArray1));\n assertFalse(intArray6.equals((Object)intArray2));\n \n intArray6[0] = 75;\n intArray6[1] = 1;\n intArray0[5] = intArray6;\n int[] intArray7 = new int[8];\n assertFalse(intArray7.equals((Object)intArray5));\n assertFalse(intArray7.equals((Object)intArray2));\n assertFalse(intArray7.equals((Object)intArray6));\n assertFalse(intArray7.equals((Object)intArray1));\n assertFalse(intArray7.equals((Object)intArray4));\n assertFalse(intArray7.equals((Object)intArray3));\n \n intArray7[0] = 2;\n intArray7[1] = 1;\n intArray7[2] = 2;\n intArray7[3] = 1;\n intArray7[4] = 1;\n intArray7[5] = 0;\n intArray7[6] = (-2238);\n intArray7[7] = 0;\n intArray0[6] = intArray7;\n int[] intArray8 = new int[8];\n assertFalse(intArray8.equals((Object)intArray2));\n assertFalse(intArray8.equals((Object)intArray5));\n assertFalse(intArray8.equals((Object)intArray1));\n assertFalse(intArray8.equals((Object)intArray7));\n assertFalse(intArray8.equals((Object)intArray6));\n assertFalse(intArray8.equals((Object)intArray4));\n assertFalse(intArray8.equals((Object)intArray3));\n \n intArray8[0] = 1927;\n intArray8[1] = 75;\n intArray8[2] = 1;\n intArray8[3] = 1;\n intArray8[4] = 1;\n intArray8[5] = 1;\n intArray8[6] = 1;\n intArray8[7] = 2;\n intArray0[7] = intArray8;\n int[] intArray9 = new int[4];\n assertFalse(intArray9.equals((Object)intArray4));\n assertFalse(intArray9.equals((Object)intArray6));\n assertFalse(intArray9.equals((Object)intArray1));\n assertFalse(intArray9.equals((Object)intArray8));\n assertFalse(intArray9.equals((Object)intArray2));\n assertFalse(intArray9.equals((Object)intArray3));\n assertFalse(intArray9.equals((Object)intArray7));\n assertFalse(intArray9.equals((Object)intArray5));\n \n intArray9[0] = 26;\n intArray9[1] = 0;\n intArray9[2] = 2;\n intArray9[3] = 2;\n intArray0[8] = intArray9;\n resultMatrixLatex1.setRanking(intArray0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(75, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(75, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n assertEquals(9, intArray0.length);\n \n resultMatrixLatex1.setMean(2, 1, 2);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(75, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(75, resultMatrixLatex1.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = null;\n try {\n resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(0, (-1696));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "c304fa25347ab8f608ea46225ac838ab", "score": "0.5416887", "text": "@Test(timeout = 4000)\n public void test015() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(10, 10);\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixSignificance0);\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(10, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(10, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixPlainText0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(10, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\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 assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertNotNull(resultMatrixPlainText0);\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 \n resultMatrixPlainText0.m_MeanWidth = 0;\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(10, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(10, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixPlainText0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(10, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\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 assertEquals(0, resultMatrixPlainText0.getCountWidth());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixPlainText0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(10, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(10, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixPlainText0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(10, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\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 assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(10, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\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 assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\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 assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(10, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(10, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertNotNull(resultMatrixSignificance1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string0 = resultMatrixSignificance1.getRevision();\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(10, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(10, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixPlainText0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(10, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\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 assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(10, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\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 assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\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 assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(10, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(10, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"8034\", string0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(10, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(10, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(10, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertNotNull(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.clear();\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(10, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(10, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(10, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n \n resultMatrixPlainText0.setStdDevPrec(3);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(10, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(10, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(3, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixPlainText0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(10, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\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 assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n \n String string1 = resultMatrixPlainText0.getRevision();\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertTrue(string1.equals((Object)string0));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(10, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(10, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(3, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixPlainText0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(10, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\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 assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertNotNull(string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"8034\", string1);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n \n resultMatrixCSV0.setColName((-3458), \"v\");\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(10, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(10, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(10, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n \n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance(1, 1);\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance0));\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance1));\n assertEquals(0, resultMatrixSignificance2.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance2.globalInfo());\n assertFalse(resultMatrixSignificance2.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance2.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance2.getStdDevPrec());\n assertFalse(resultMatrixSignificance2.getShowAverage());\n assertTrue(resultMatrixSignificance2.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance2.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance2.showStdDevTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance2.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance2.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance2.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance2.getMeanPrec());\n assertFalse(resultMatrixSignificance2.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance2.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance2.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance2.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance2.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance2.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance2.showAverageTipText());\n assertEquals(2, resultMatrixSignificance2.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance2.getPrintRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance2.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance2.countWidthTipText());\n assertEquals(1, resultMatrixSignificance2.getColCount());\n assertEquals(40, resultMatrixSignificance2.getRowNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance2.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance2.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance2.getColNameWidth());\n assertEquals(40, resultMatrixSignificance2.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance2.getMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance2.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance2.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance2.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance2.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance2.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance2.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance2.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance2.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance2.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance2.getDisplayName());\n assertFalse(resultMatrixSignificance2.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance2.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance2.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance2.getRowCount());\n assertNotNull(resultMatrixSignificance2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string2 = resultMatrixSignificance0.toStringSummary();\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance2));\n assertFalse(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertNotNull(string2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"-summary data not set-\", string2);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance2);\n \n resultMatrixCSV0.setStdDev(2, 0, 2);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance2));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(10, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(10, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(10, resultMatrixSignificance0.getColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(10, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(10, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(10, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(10, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(10, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance2);\n }", "title": "" }, { "docid": "0bbb25db1815f431277d64b85f3872ae", "score": "0.54147726", "text": "@Test\n public void test22() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(27, 27);\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\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(27, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(27, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(27, resultMatrixHTML0.getColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(27, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n resultMatrixHTML0.setRowHidden((-1154), true);\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\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(27, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(27, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(27, resultMatrixHTML0.getColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(27, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\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(1, resultMatrixPlainText0.getColCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\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 mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\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(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixPlainText0);\n \n String string0 = resultMatrixPlainText0.significanceWidthTipText();\n assertEquals(\"The width of the significance indicator (0 = optimal).\", string0);\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\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(1, resultMatrixPlainText0.getColCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\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 mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\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(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "f28d8c90d7c1492e10bc822440d2e74b", "score": "0.54141206", "text": "@Test(timeout = 4000)\n public void test065() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n \n resultMatrixLatex0.m_StdDevWidth = 464;\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixLatex0);\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n \n String string0 = resultMatrixCSV0.toStringKey();\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(resultMatrixCSV0);\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixLatex1);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\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(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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 output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n \n String string1 = resultMatrixGnuPlot0.removeFilterName(\"*\");\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string1.equals((Object)string0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\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(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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 output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n \n resultMatrixGnuPlot0.clearSummary();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\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 assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\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(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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 output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n \n resultMatrixLatex0.setMeanPrec(0);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n \n resultMatrixGnuPlot0.getDefaultRowNameWidth();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\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(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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 output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n \n String string2 = resultMatrixLatex0.getRevision();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n \n String string3 = resultMatrixLatex1.toStringMatrix();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string3.equals((Object)string1));\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string2));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n \n String string4 = resultMatrixLatex1.toStringSummary();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(string4.equals((Object)string1));\n assertFalse(string4.equals((Object)string3));\n assertFalse(string4.equals((Object)string2));\n assertFalse(string4.equals((Object)string0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n \n resultMatrixGnuPlot0.getDefaultEnumerateRowNames();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n \n int[][] intArray0 = new int[2][5];\n int[] intArray1 = new int[6];\n intArray1[0] = 464;\n intArray1[1] = 464;\n intArray1[2] = 2;\n intArray1[3] = (-1264);\n intArray1[4] = 464;\n intArray1[5] = 0;\n intArray0[0] = intArray1;\n int[] intArray2 = new int[9];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 464;\n intArray2[1] = 1;\n intArray2[2] = (-214);\n intArray2[3] = 464;\n intArray2[4] = 1;\n intArray2[5] = 0;\n intArray2[6] = 464;\n intArray2[7] = 2;\n intArray2[8] = 464;\n intArray0[1] = intArray2;\n resultMatrixGnuPlot0.m_Wins = intArray0;\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\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(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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 output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n \n resultMatrixLatex1.assign(resultMatrixLatex0);\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(0, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n \n String string5 = resultMatrixGnuPlot0.enumerateColNamesTipText();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(string5.equals((Object)string4));\n assertFalse(string5.equals((Object)string1));\n assertFalse(string5.equals((Object)string3));\n assertFalse(string5.equals((Object)string0));\n assertFalse(string5.equals((Object)string2));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\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 assertEquals(0, resultMatrixLatex1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(464, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(464, resultMatrixGnuPlot0.getStdDevWidth());\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(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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 output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n \n String string6 = resultMatrixCSV0.removeFilterNameTipText();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertFalse(string6.equals((Object)string0));\n assertFalse(string6.equals((Object)string4));\n assertFalse(string6.equals((Object)string5));\n assertFalse(string6.equals((Object)string2));\n assertFalse(string6.equals((Object)string3));\n assertFalse(string6.equals((Object)string1));\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\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 assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(464, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(464, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(3125, 16);\n }", "title": "" }, { "docid": "0b1d27b74c7827482640a46cd3aec57e", "score": "0.5412707", "text": "@Test(timeout = 4000)\n public void test055() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\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 assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String[] stringArray0 = new String[20];\n resultMatrixHTML0.setPrintRowNames(false);\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 assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n stringArray0[0] = \")\";\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixHTML0);\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 assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int[] intArray0 = new int[7];\n intArray0[0] = 0;\n intArray0[1] = 2;\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(6, 2);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertNotNull(resultMatrixLatex0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixLatex0.setEnumerateColNames(false);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixGnuPlot.main(stringArray0);\n assertEquals(20, stringArray0.length);\n \n resultMatrixLatex0.clearHeader();\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixLatex0.setShowAverage(true);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int int0 = resultMatrixLatex0.getRowNameWidth();\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, int0);\n \n String string0 = resultMatrixLatex0.getSummaryTitle(6);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertNotNull(string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"g\", string0);\n \n String string1 = resultMatrixLatex0.toStringKey();\n assertFalse(string1.equals((Object)string0));\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertNotNull(string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption (Key)}\\n\\\\scriptsize\\n{\\\\centering\\n\\\\begin{tabular}{cl}\\\\\\\\\\n(1) & col0 \\\\\\\\\\n(2) & col1 \\\\\\\\\\n(3) & col2 \\\\\\\\\\n(4) & col3 \\\\\\\\\\n(5) & col4 \\\\\\\\\\n(6) & col5 \\\\\\\\\\n\\\\end{tabular}\\n}\\n\\\\end{table}\\n\", string1);\n \n int int1 = resultMatrixLatex0.getRowNameWidth();\n assertTrue(int1 == int0);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, int1);\n \n int int2 = resultMatrixLatex0.getDefaultColNameWidth();\n assertTrue(int2 == int1);\n assertTrue(int2 == int0);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, int2);\n \n boolean boolean0 = resultMatrixLatex0.getPrintColNames();\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(boolean0);\n \n double double0 = resultMatrixLatex0.getAverage(301);\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\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(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\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 assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(6, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(6, resultMatrixLatex0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(2, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0.0, double0, 0.01);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\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(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int int3 = resultMatrixGnuPlot0.getDefaultRowNameWidth();\n assertFalse(int3 == int0);\n assertFalse(int3 == int1);\n assertFalse(int3 == int2);\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\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(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(50, int3);\n \n String string2 = resultMatrixCSV0.printColNamesTipText();\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\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 assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertNotNull(string2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Whether to output column names or just numbers representing them.\", string2);\n }", "title": "" }, { "docid": "175fd0def3d63c9454d4ad7a555e6966", "score": "0.5409428", "text": "@Test(timeout = 4000)\n public void test014() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\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(\"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(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n Vector<String> vector0 = new Vector<String>();\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertNotNull(vector0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertNotNull(resultMatrixCSV0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertNotNull(string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"8034\", string0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixCSV0);\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\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.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertNotNull(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 \n String string1 = resultMatrixPlainText0.getRevision();\n assertTrue(string1.equals((Object)string0));\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\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.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\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.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertNotNull(string1);\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(\"8034\", string1);\n \n resultMatrixCSV0.setColName(1, \"\");\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string2 = resultMatrixSignificance0.toStringSummary();\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\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 assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertNotNull(string2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"-summary data not set-\", string2);\n \n resultMatrixCSV0.setStdDev(0, (-355), (-608.70888384));\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\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(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n }", "title": "" }, { "docid": "3c102e49ac3d6b6232e528979592e7e8", "score": "0.5408344", "text": "@Test\n public void test15() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n resultMatrixHTML0.setColName((-3), \")\");\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "4541efd17ee3907e9d1d8343915fe0e8", "score": "0.5398588", "text": "@Test(timeout = 4000)\n public void test032() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\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(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixHTML0.toStringMatrix();\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\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(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"<table border=\\\"1\\\" cellpadding=\\\"3\\\" cellspacing=\\\"0\\\">\\n <tr><td><b>Dataset</b></td><td align=\\\"center\\\" colspan=\\\"1\\\"><b>(1)</b></td></tr>\\n <tr><td>row0</td><td align=\\\"right\\\">&nbsp;</td></tr>\\n <tr><td>(v/ /*)</td><td align=\\\"right\\\">&nbsp;</td></tr>\\n</table>\\n\", string0);\n }", "title": "" }, { "docid": "74651afd81611776f44fef1d25cf64f6", "score": "0.5394332", "text": "@Test\n public void testMineCellgetFlag()\n {\n cell.setClicked( false );\n boolean oldFlag = cell.getFlag();\n cell.toggleFlag();\n assertTrue( cell.getFlag() == !oldFlag );\n }", "title": "" }, { "docid": "9d4939b95d6920c00ba3932c541b85a1", "score": "0.5393223", "text": "@Test(timeout = 4000)\n public void test064() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(10, vector0.capacity());\n assertEquals(\"[]\", vector0.toString());\n assertEquals(0, vector0.size());\n assertTrue(vector0.isEmpty());\n assertNotNull(vector0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"8034\", string0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\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(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\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 assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertNotNull(resultMatrixLatex0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixLatex0.setColOrder((int[]) null);\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(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\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 assertFalse(resultMatrixLatex0.getShowAverage());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV();\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV1.getVisibleColCount());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertEquals(1, resultMatrixCSV1.getColCount());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertEquals(1, resultMatrixCSV1.getRowCount());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertNotNull(resultMatrixCSV1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 1);\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(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixSignificance0.setSignificanceWidth(2);\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(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\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(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\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 assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.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": "2d4837c481fa8d4db4bf2ca3833dd339", "score": "0.5383627", "text": "@Test(timeout = 4000)\n public void test079() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertNotNull(resultMatrixHTML0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixHTML0.setShowStdDev(true);\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixHTML0.RIGHT_PARENTHESES = \"\";\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n \n double double0 = resultMatrixHTML0.getMean((-6382), 2997);\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "dc9be8187f89a8f9c4d853e4dc9af8a1", "score": "0.5372572", "text": "@Test(timeout = 4000)\n public void test049() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertNotNull(resultMatrixLatex0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixLatex0.clearHeader();\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex();\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertNotNull(resultMatrixLatex1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int int0 = resultMatrixLatex1.getRowNameWidth();\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, int0);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n int int1 = resultMatrixLatex0.getDefaultColNameWidth();\n assertFalse(resultMatrixLatex0.equals((Object)resultMatrixLatex1));\n assertTrue(int1 == int0);\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, int1);\n assertNotSame(resultMatrixLatex0, resultMatrixLatex1);\n \n double double0 = resultMatrixLatex1.getAverage((-1003));\n assertFalse(resultMatrixLatex1.equals((Object)resultMatrixLatex0));\n assertFalse(resultMatrixLatex1.getEnumerateRowNames());\n assertEquals(0, resultMatrixLatex1.getRowNameWidth());\n assertFalse(resultMatrixLatex1.getPrintColNames());\n assertEquals(0, resultMatrixLatex1.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex1.getRowCount());\n assertEquals(0, resultMatrixLatex1.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex1.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex1.showStdDevTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex1.getDisplayName());\n assertFalse(resultMatrixLatex1.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex1.getStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixLatex1.getMeanPrec());\n assertFalse(resultMatrixLatex1.getShowStdDev());\n assertTrue(resultMatrixLatex1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixLatex1.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex1.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex1.meanPrecTipText());\n assertEquals(2, resultMatrixLatex1.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex1.showAverageTipText());\n assertTrue(resultMatrixLatex1.getEnumerateColNames());\n assertTrue(resultMatrixLatex1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex1.getStdDevWidth());\n assertFalse(resultMatrixLatex1.getShowAverage());\n assertEquals(1, resultMatrixLatex1.getColCount());\n assertFalse(resultMatrixLatex1.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex1.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex1.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex1.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex1.printRowNamesTipText());\n assertEquals(0, resultMatrixLatex1.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex1.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex1.getDefaultColNameWidth());\n assertFalse(resultMatrixLatex1.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex1.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex1.stdDevPrecTipText());\n assertFalse(resultMatrixLatex1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex1.significanceWidthTipText());\n assertFalse(resultMatrixLatex1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixLatex1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixLatex1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex1.countWidthTipText());\n assertEquals(0, resultMatrixLatex1.getDefaultStdDevWidth());\n assertTrue(resultMatrixLatex1.getPrintRowNames());\n assertFalse(resultMatrixLatex1.getDefaultPrintColNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex1.globalInfo());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0.0, double0, 0.01);\n assertNotSame(resultMatrixLatex1, resultMatrixLatex0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\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 assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\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 maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixGnuPlot0.getDisplayName();\n 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 assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\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 maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertNotNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"GNUPlot\", string0);\n }", "title": "" }, { "docid": "b2e4511606656e5f1aa29556d20aa765", "score": "0.5359882", "text": "@Test(timeout = 4000)\n public void test001() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixCSV0);\n String[] stringArray0 = new String[9];\n stringArray0[0] = \"[\";\n stringArray0[1] = \"]\";\n stringArray0[2] = \"v\";\n stringArray0[3] = \"</b>\";\n stringArray0[4] = \" \";\n stringArray0[5] = \"v\";\n stringArray0[6] = \"*\";\n stringArray0[7] = \"v\";\n stringArray0[8] = \"]\";\n resultMatrixCSV0.m_RowNames = stringArray0;\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixGnuPlot0);\n resultMatrixGnuPlot0.m_MeanWidth = (-701);\n resultMatrixLatex0.TIE_STRING = \" \";\n resultMatrixLatex0.setMeanPrec((-2233));\n resultMatrixLatex0.setMean(0, 1, 0);\n resultMatrixGnuPlot0.getDefaultEnumerateColNames();\n resultMatrixGnuPlot0.clear();\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n // Undeclared exception!\n try { \n resultMatrixSignificance0.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": "752b67f8226fedca08eca1327514ccb3", "score": "0.535963", "text": "private void filterRows() {\r\n\t\tSet<List<Object>> allRows = new HashSet<List<Object>>();\r\n\t\tList<Object> result = new ArrayList<Object>();\r\n\t\tfor (Object element : parents) {\r\n\r\n\t\t\t// if none diffing checkbox is selected, discard the row already here for speed\r\n\t\t\tif (!myXviewer.tracing.diffOfElement.isEmpty() && !myXviewer.traceabilityEditor.traceabilityFilters_NEQ && !myXviewer.traceabilityEditor.traceabilityFilters_EQ && !myXviewer.traceabilityEditor.traceabilityFilters_PLUS && !myXviewer.traceabilityEditor.traceabilityFilters_MINUS)\r\n\t\t\t\tcontinue;\r\n\r\n\t\t\tboolean hasUnequal = false;\r\n\t\t\tboolean hasEqual = false;\r\n\t\t\tboolean hasPlus = false;\r\n\t\t\tboolean hasMinus = false;\r\n\t\t\tboolean hasError = false;\r\n\t\t\tboolean matchText = false;\r\n\t\t\tList<Object> rowData = new ArrayList<Object>();\r\n\t\t\tfor (XViewerColumn xCol : myXviewer.getCustomizeMgr().getCurrentTableColumns()) {\r\n\t\t\t\tif (xCol.isShow() || !myXviewer.traceabilityEditor.excludedColsFromDiffing().contains(xCol)) {\r\n\t\t\t\t\tObject cellData = myXviewer.getCellData(myXviewer.traceabilityEditor.getColForDiffing(xCol), element);\r\n\t\t\t\t\tif (xCol.isShow()) {\r\n\t\t\t\t\t\trowData.add(cellData);\r\n\t\t\t\t\t}\r\n\t\t\t\t\thasError |= cellData != null && myXviewer.traceabilityEditor.isErrorCol(xCol);\r\n\r\n\t\t\t\t\tif (xCol.isShow()) {\r\n\t\t\t\t\t\tList<TableCellDifference> cellDiffs = ((TraceabilityViewerLabelProvider) myXviewer.getLabelProvider()).getTableCellDifferences(element, xCol);\r\n\t\t\t\t\t\tif (cellDiffs == null || cellDiffs.size() == 0) {\r\n\t\t\t\t\t\t\t// hide\r\n\t\t\t\t\t\t} else if (cellDiffs.size() >= 2 && TraceabilityViewerLabelProvider.getValueSet(cellDiffs).size() == 1) {\r\n\t\t\t\t\t\t\thasEqual = true;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tString diff = cellDiffs.get(0).getDiffText();\r\n\t\t\t\t\t\t\tif (\"+\".equals(diff) && !\"?\".equals(cellDiffs.get(0).getCellText()))\r\n\t\t\t\t\t\t\t\thasPlus = true;\r\n\t\t\t\t\t\t\tif (\"-\".equals(diff) && !\"?\".equals(cellDiffs.get(0).getCellText()))\r\n\t\t\t\t\t\t\t\thasMinus = true;\r\n\t\t\t\t\t\t\tif (TraceabilityEditor.DIFF_UNEQUAL.equals(diff))\r\n\t\t\t\t\t\t\t\thasUnequal = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tString text = ((TraceabilityViewerLabelProvider) myXviewer.getLabelProvider()).getColumnTextOriginal(element, xCol, -1);\r\n\t\t\t\t\tmatchText |= TraceabilityViewer.findText(text, myXviewer.filterText, myXviewer.regex) != null;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// hide rows which are not red, green, or yellow (,or unchanged), if desired\r\n\t\t\tif (!myXviewer.tracing.diffOfElement.isEmpty()\r\n\t\t\t\t\t&& !(hasUnequal && myXviewer.traceabilityEditor.traceabilityFilters_NEQ || hasEqual && myXviewer.traceabilityEditor.traceabilityFilters_EQ || hasPlus && myXviewer.traceabilityEditor.traceabilityFilters_PLUS || hasMinus && myXviewer.traceabilityEditor.traceabilityFilters_MINUS))\r\n\t\t\t\tcontinue;\r\n\t\t\t// hide rows which do not match the filter text\r\n\t\t\tif (!\"\".equals(myXviewer.filterText) && !matchText)\r\n\t\t\t\tcontinue;\r\n\t\t\t// show only rows with errors if desired\r\n\t\t\tif (myXviewer.traceabilityEditor.traceabilityFilters_ERR && !hasError)\r\n\t\t\t\tcontinue;\r\n\t\t\t// remove duplicate rows\r\n\t\t\tif (!allRows.add(rowData))\r\n\t\t\t\tcontinue;\r\n\t\t\tresult.add(element);\r\n\t\t}\r\n\t\tparents = result;\r\n\t}", "title": "" }, { "docid": "05a7343ba9b80bdfe9798a3b50816f59", "score": "0.5358102", "text": "@Test(timeout = 4000)\n public void test102() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(1, 1);\n resultMatrixCSV0.toStringKey();\n resultMatrixCSV0.toStringMatrix();\n resultMatrixCSV0.toStringRanking();\n resultMatrixCSV0.setColName(655, \"Key,\\n[1],col0\\n\");\n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV(resultMatrixCSV0);\n resultMatrixCSV1.setSignificance(0, (-293), 1);\n resultMatrixCSV0.setRowHidden(2, true);\n // Undeclared exception!\n try { \n resultMatrixCSV1.getHeader(\"]\");\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1\n //\n verifyException(\"java.util.Vector\", e);\n }\n }", "title": "" }, { "docid": "708afdb839e4e2aeb2acea7553479c9c", "score": "0.5356997", "text": "@Test\n public void test06() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(0, 0);\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\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(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\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.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n \n boolean boolean0 = resultMatrixHTML0.getRemoveFilterName();\n assertFalse(boolean0);\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\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(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\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.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n \n resultMatrixHTML0.setColHidden(0, false);\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\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(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\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.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "ab4eb5f83166cb6ca69a37568c94b3f6", "score": "0.535514", "text": "private void extractCells(Mat m,boolean way) {\n List<Mat> cells = getCells(m);\n List<Optional<Rect>> digitBoxes = Lists.transform(cells, FeatureDetector.GET_DIGIT_BOX_BYTE_SUM);\n\n if(way==true) {\n resultWithEmptyCells1BinInvTrue = Lists.newArrayList();\n indexesAvailableValues1binInvTrue= Lists.newArrayList();\n indexesAvailableValues1binInvFalse= Lists.newArrayList();\n\n resultWithEmptyCells1binInvFalse= Lists.newArrayList();\n indexesOnlyAvailableValues1binInvTrue= Lists.newArrayList();\n indexesOnlyAvailableValues1binInvFalse= Lists.newArrayList();\n }\n else {\n resultWithEmptyCells2BinInvTrue = Lists.newArrayList();\n indexesAvailableValues2binInvTrue= Lists.newArrayList();\n indexesAvailableValues2binInvFalse= Lists.newArrayList();\n\n resultWithEmptyCells2binInvFalse= Lists.newArrayList();\n indexesOnlyAvailableValues2binInvTrue= Lists.newArrayList();\n indexesOnlyAvailableValues2binInvFalse= Lists.newArrayList();\n }\n for(int i = 0; i < cells.size(); i++ ) {\n Mat cell = cells.get(i).clone();\n com.google.common.base.Optional<Rect> box = digitBoxes.get(i);\n if (box.isPresent() && CONTAIN_DIGIT_SUB_MATRIX_DENSITY.apply(cell)) {\n bitwise_not(cell,cell);\n\n //result.add(cell);\n if(way==true){\n Mat cellCopy=cell.clone();\n resultWithEmptyCells1binInvFalse.add(findImageCenter(cellCopy,false));\n indexesAvailableValues1binInvFalse.add(i);\n indexesOnlyAvailableValues1binInvFalse.add(i);\n\n resultWithEmptyCells1BinInvTrue.add(findImageCenter(cell.clone(),true));\n //resultWithEmptyCells1BinInvTrue.add(cell);\n indexesAvailableValues1binInvTrue.add(i);\n indexesOnlyAvailableValues1binInvTrue.add(i);\n }\n else{\n Mat cellCopy=cell.clone();\n resultWithEmptyCells2BinInvTrue.add(findImageCenter(cell.clone(),true));\n indexesAvailableValues2binInvTrue.add(i);\n indexesOnlyAvailableValues2binInvTrue.add(i);\n\n resultWithEmptyCells2binInvFalse.add(findImageCenter(cellCopy,false));\n indexesAvailableValues2binInvFalse.add(i);\n indexesOnlyAvailableValues2binInvFalse.add(i);\n }\n }\n else {\n if (way == true) {\n resultWithEmptyCells1BinInvTrue.add(new Mat());\n indexesAvailableValues1binInvTrue.add(-100);\n resultWithEmptyCells1binInvFalse.add(new Mat());\n indexesAvailableValues1binInvFalse.add(-100);\n } else {\n resultWithEmptyCells2BinInvTrue.add(new Mat());\n indexesAvailableValues2binInvTrue.add(-100);\n resultWithEmptyCells2binInvFalse.add(new Mat());\n indexesAvailableValues2binInvFalse.add(-100);\n }\n }\n }\n //return result;\n }", "title": "" }, { "docid": "d07f90c33b55132e8a639886fc0f82d9", "score": "0.53503966", "text": "@Test\n public void test05() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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 assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\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.getColCount());\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixPlainText0);\n \n resultMatrixPlainText0.setRowName((-3527), \"*\");\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\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.getColCount());\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "356262a9cabe535dca67ca2fb5ccdb81", "score": "0.53486264", "text": "@Test(timeout = 4000)\n public void test038() throws Throwable {\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(1, 1);\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertNotNull(resultMatrixPlainText0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixPlainText0);\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertNotNull(resultMatrixGnuPlot0);\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 \n resultMatrixGnuPlot0.setEnumerateColNames(true);\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\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 \n String string0 = resultMatrixGnuPlot0.toStringMatrix();\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertNotNull(string0);\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(\"\\n##################\\n# file: plot.dat #\\n##################\\n# generated by WEKA 3.7.7\\n# contains the data for the plot\\n\\n# key for the x-axis\\n# 1 - row0\\n\\n# data for the plot\\n1 ''\\n#######\\n# end #\\n#######\\n\\n##################\\n# file: plot.scr #\\n##################\\n# generated by WEKA 3.7.7\\n# script to plot the data\\n\\n# display it in a window:\\nset terminal x11\\nset output\\n\\n# to display all data rows:\\nset xrange [0:2]\\n\\n# axis labels, e.g.:\\n#set xlabel \\\"Datasets\\\"\\n#set ylabel \\\"Accuracy in %\\\"\\n\\n# the plot commands\\nplot \\\"plot.dat\\\" using 1:2 with lines title \\\"(1) col0\\\"\\n\\n# generate ps:\\n#set terminal postscript\\n#set output \\\"plot.ps\\\"\\n#replot\\n\\n# generate png:\\n#set terminal png size 800,600\\n#set output \\\"plot.png\\\"\\n#replot\\n\\n# wait for user to hit <Return>\\npause -1\\n#######\\n# end #\\n#######\\n\", string0);\n \n String string1 = resultMatrixPlainText0.globalInfo();\n assertFalse(string1.equals((Object)string0));\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertNotNull(string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", string1);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.setCountWidth(2653);\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2653, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.setShowAverage(true);\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2653, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.m_EnumerateColNames = false;\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2653, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n \n String string2 = resultMatrixCSV0.toStringKey();\n assertFalse(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2653, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertNotNull(string2);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Key,\\n[1],col0\\n\", string2);\n \n String string3 = resultMatrixPlainText0.meanPrecTipText();\n assertFalse(string3.equals((Object)string2));\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string1));\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertNotNull(string3);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", string3);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixGnuPlot0);\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\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(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertNotNull(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(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string4 = resultMatrixLatex0.toStringMatrix();\n assertFalse(string4.equals((Object)string3));\n assertFalse(string4.equals((Object)string0));\n assertFalse(string4.equals((Object)string1));\n assertFalse(string4.equals((Object)string2));\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(5, resultMatrixLatex0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\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(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertTrue(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertNotNull(string4);\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(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"\\\\begin{table}[thb]\\n\\\\caption{\\\\label{labelname}Table Caption}\\n\\\\footnotesize\\n{\\\\centering \\\\begin{tabular}{lr}\\n\\\\\\\\\\n\\\\hline\\nDataset & (1) col0\\\\\\\\\\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\", string4);\n \n int[] intArray0 = resultMatrixCSV0.getColOrder();\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2653, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertNull(intArray0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n boolean boolean0 = resultMatrixCSV0.isStdDev(0);\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2653, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(boolean0);\n \n String string5 = resultMatrixGnuPlot0.colNameWidthTipText();\n assertFalse(string5.equals((Object)string4));\n assertFalse(string5.equals((Object)string2));\n assertFalse(string5.equals((Object)string1));\n assertFalse(string5.equals((Object)string3));\n assertFalse(string5.equals((Object)string0));\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertNotNull(string5);\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(\"The maximum width of the column names (0 = optimal).\", string5);\n \n double double0 = resultMatrixGnuPlot0.getCount(1);\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\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.0, double0, 0.01);\n \n int int0 = resultMatrixCSV0.getVisibleColCount();\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2653, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, int0);\n \n int int1 = resultMatrixPlainText0.getMeanPrec();\n assertFalse(int1 == int0);\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, int1);\n }", "title": "" }, { "docid": "115345cf7c6f6e9c272dd3e2cae9d1d0", "score": "0.5340576", "text": "@Test\n public void test51() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n \n double double0 = resultMatrixHTML0.getAverage(1567);\n assertEquals(0.0, double0, 0.01D);\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "c795cc947bd93dc28e49a3b3a612e1e0", "score": "0.5334497", "text": "@Test\n public void test04() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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 maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n \n String string0 = resultMatrixHTML0.printColNamesTipText();\n assertEquals(\"Whether to output column names or just numbers representing them.\", string0);\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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 maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "7eb472b1bb2273979aab2f05e5ff9add", "score": "0.53343487", "text": "@Test(timeout = 4000)\n public void test027() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 2);\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(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\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.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixHTML0);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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 \n String string0 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertNotNull(string0);\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(\"-ranking data not set-\", string0);\n \n String string1 = resultMatrixGnuPlot0.colNameWidthTipText();\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertNotNull(string1);\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(\"The maximum width of the column names (0 = optimal).\", string1);\n \n double double0 = resultMatrixGnuPlot0.getCount(947);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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.0, double0, 0.01);\n \n int int0 = resultMatrixGnuPlot0.getSignificance(95, (-1523));\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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, int0);\n \n resultMatrixGnuPlot0.setStdDevWidth((-249));\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\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 assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\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 }", "title": "" }, { "docid": "6b79768faafc0e24f0e31988cdde7eaa", "score": "0.5333966", "text": "protected void validateGridData() throws Throwable\n\t{\n\t\tSystem.out.println(\"validateGridData c64iterations \" + c64iterations);\n\n\t\tSystem.out.println(\"Checking index\");\n\n\t\tint mazeAddr = c64.valueToInt(\"MazeNodes\");\n\t\tint index = 0;\n\t\tfor(Character theChar : inputMaze.toCharArray())\n\t\t{\n//\t\t\tSystem.out.println(\" \" + index);\n\t\t\tNode node = grid.getNode(index);\n\n\t\t\tc64.i_expect_to_see_equal(Integer.toString(mazeAddr + c64.valueToInt(\"Node_isBlocked\")), \"low(\" + (node.isBlocked?\"1\":\"0\") + \")\");\n\t\t\tc64.i_expect_to_see_equal(Integer.toString(mazeAddr + c64.valueToInt(\"Node_travelCost\")), \"low(\" + Integer.toString(node.travelCost) + \")\");\n\t\t\tc64.i_expect_to_see_equal(Integer.toString(mazeAddr + c64.valueToInt(\"Node_blockedAtFrame\")), \"low(\" + Integer.toString(node.blockedAtFrame) + \")\");\n\t\t\tc64.i_expect_to_see_equal(Integer.toString(mazeAddr + c64.valueToInt(\"Node_blockedBeyond\")), \"low(\" + Integer.toString(node.blockedBeyond) + \")\");\n\t\t\tc64.i_expect_to_see_equal(Integer.toString(mazeAddr + c64.valueToInt(\"Node_aversion\")), \"low(\" + Integer.toString(node.aversion) + \")\");\n\t\t\tc64.i_expect_to_see_equal(Integer.toString(mazeAddr + c64.valueToInt(\"Node_visitedAt\")), \"low(\" + Integer.toString(node.visitedAt) + \")\");\n\t\t\tc64.i_expect_to_see_equal(Integer.toString(mazeAddr + c64.valueToInt(\"Node_currentSolveID\")), \"low(\" + Integer.toString(node.currentSolveID) + \")\");\n\t\t\tc64.i_expect_to_see_equal(Integer.toString(mazeAddr + c64.valueToInt(\"Node_reachedVia\")), \"low(\" + Integer.toString(Node.getC64Direction(node.reachedVia)) + \")\");\n\n\t\t\tmazeAddr += c64.valueToInt(\"Node__size\");\n\t\t\tindex++;\n\t\t}\n\n\t\tSystem.out.println(\"Finished checking\");\n\t}", "title": "" }, { "docid": "59c0722f1522498dbcff6cb83291f9d9", "score": "0.53253496", "text": "@Test\n public void test58() throws Throwable {\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\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 assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\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.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixPlainText0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot((ResultMatrix) resultMatrixPlainText0);\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\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(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\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 assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\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.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixGnuPlot0);\n \n resultMatrixGnuPlot0.setSignificance(2584, 2584, 2584);\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\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(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\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 assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\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.getSignificanceWidth());\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n \n int int0 = resultMatrixHTML0.getSignificanceCount(2584, 2584);\n assertEquals(0, int0);\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\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 assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\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 assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "9570064b4cadfb8503f1452b456ccbeb", "score": "0.53189003", "text": "@Test\n public void test17() throws Throwable {\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(0, 0);\n assertEquals(0, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\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 assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixPlainText0);\n \n int int0 = resultMatrixPlainText0.getSignificance(0, 0);\n assertEquals(0, int0);\n assertEquals(0, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\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 assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getVisibleRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(0, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n }", "title": "" }, { "docid": "9af7f75e01b2e7d3a1be7f0bf4074c84", "score": "0.5316998", "text": "@Test\n public void test52() throws Throwable {\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(67, 67);\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(67, resultMatrixPlainText0.getColCount());\n assertEquals(67, resultMatrixPlainText0.getVisibleRowCount());\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(67, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(67, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixPlainText0);\n \n resultMatrixPlainText0.setMeanWidth((-760));\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(67, resultMatrixPlainText0.getColCount());\n assertEquals(67, resultMatrixPlainText0.getVisibleRowCount());\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 assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(67, resultMatrixPlainText0.getRowCount());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(67, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(2, resultMatrixPlainText0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixPlainText0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixPlainText0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "8125e1fd6dc0c00032bf3fdf0de2d322", "score": "0.5313907", "text": "@Test(timeout = 4000)\n public void test063() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertNotNull(resultMatrixLatex0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixLatex0.m_RowNameWidth = 1921;\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1921, resultMatrixLatex0.getRowNameWidth());\n \n int[] intArray0 = new int[5];\n intArray0[0] = 0;\n String string0 = resultMatrixLatex0.toStringSummary();\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1921, resultMatrixLatex0.getRowNameWidth());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"-summary data not set-\", string0);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixLatex0);\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1921, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\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(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\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(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1921, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int int0 = resultMatrixGnuPlot0.getDefaultRowNameWidth();\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1921, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\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(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\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(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1921, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(50, int0);\n \n intArray0[1] = 0;\n intArray0[2] = 2;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixGnuPlot0);\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1921, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\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(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\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(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1921, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\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.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1921, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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 assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string1 = resultMatrixSignificance0.getRowName((-205));\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(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\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.getPrintColNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(1921, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\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(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\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(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1921, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\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 assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\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 assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\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 column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\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.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(1921, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\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 assertNull(string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertNotNull(resultMatrixSignificance1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance1.getHeader((String) null);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1\n //\n verifyException(\"java.util.Vector\", e);\n }\n }", "title": "" }, { "docid": "c4d4a3406a4714c6cc19b5784e3f85ee", "score": "0.5312748", "text": "@Test\n public void test03() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\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 assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\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.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\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 assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixLatex0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\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(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n double double0 = resultMatrixHTML0.getMean(55, 55);\n assertEquals(0.0, double0, 0.01D);\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\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 assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\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(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixLatex0.getColName(55);\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 assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\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.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\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 assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixLatex0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixLatex0.SIGNIFICANCE_WIN);\n assertNull(string0);\n }", "title": "" }, { "docid": "eb52f3b12c33ddafe2e33c12808c69f2", "score": "0.5308909", "text": "@Test\n public void test58() throws Throwable {\n CostMatrix costMatrix0 = Evaluation.handleCostOption(\"\", 8);\n assertNull(costMatrix0);\n }", "title": "" }, { "docid": "f429241ddb31b5260ec1f5e4a3fbaba8", "score": "0.53073406", "text": "@Test(timeout = 4000)\n public void test020() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(0, 0);\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int[] intArray0 = new int[0];\n int int0 = 3;\n // Undeclared exception!\n try { \n resultMatrixCSV0.toString();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "5c799d5105b8b64dce49cc874e2a5903", "score": "0.5304333", "text": "@Test\n public void test62() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\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(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n resultMatrixHTML0.setStdDevWidth((-1571));\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\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(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\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 assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\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 assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixGnuPlot0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance((ResultMatrix) resultMatrixGnuPlot0);\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\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 assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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 assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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 assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n int int0 = resultMatrixSignificance0.getDisplayRow((-1571));\n assertEquals((-1), int0);\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\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 assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(50, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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 assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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 assertTrue(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\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(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "21a067251345162e05015ce234b57a15", "score": "0.5296277", "text": "@Test\n public void test50() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\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(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixCSV0.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixCSV0);\n \n String string0 = resultMatrixSignificance0.printRowNamesTipText();\n assertEquals(\"Whether to output row names or just numbers representing them.\", string0);\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(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertNotNull(string0);\n \n String[][] stringArray0 = resultMatrixSignificance0.toArray();\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(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\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(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\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 assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\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(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.SIGNIFICANCE_WIN);\n assertNotNull(stringArray0);\n \n String string1 = resultMatrixCSV0.removeFilterNameTipText();\n assertNotSame(string1, string0);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", string1);\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(2, resultMatrixCSV0.SIGNIFICANCE_LOSS);\n assertEquals(0, resultMatrixCSV0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixCSV0.SIGNIFICANCE_WIN);\n assertFalse(string1.equals((Object)string0));\n assertNotNull(string1);\n }", "title": "" }, { "docid": "0ff353789f39ad1647b55ac650e152ad", "score": "0.5294097", "text": "@Test(timeout = 4000)\n public void test05() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n MessageTracerImpl messageTracerImpl0 = new MessageTracerImpl();\n expressionMatrixImpl0.creatMatrix(626);\n messageTracerImpl0.getMapper();\n expressionMatrixImpl0.outNoStandardConnections(false, (ExpressionElementMapper) null);\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.getNumberOfElements();\n expressionMatrixImpl0.getNumberOfNodes();\n expressionMatrixImpl0.setValue(0, 65, 28);\n assertEquals(626, expressionMatrixImpl0.getNumberOfElements());\n }", "title": "" }, { "docid": "5ff1103d2f5c42cb58ec660e226d0893", "score": "0.5279337", "text": "@Test(timeout = 4000)\n public void test023() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\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 assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(10, vector0.capacity());\n assertEquals(\"[]\", vector0.toString());\n assertEquals(0, vector0.size());\n assertTrue(vector0.isEmpty());\n assertNotNull(vector0);\n \n resultMatrixHTML0.setRemoveFilterName(true);\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\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 assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertNotNull(string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"8034\", string0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 1);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\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 show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n 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.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int[] intArray0 = new int[2];\n intArray0[0] = 1;\n intArray0[1] = 1;\n resultMatrixCSV0.setColOrder(intArray0);\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\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(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertArrayEquals(new int[] {1, 1}, intArray0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, intArray0.length);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.getHeader(\"/SxO`/>C7fp~Oat\");\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1\n //\n verifyException(\"java.util.Vector\", e);\n }\n }", "title": "" }, { "docid": "1181db92f10f373c9e8d134d27d43b08", "score": "0.5279049", "text": "@Test(timeout = 4000)\n public void test018() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertEquals(10, vector0.capacity());\n assertNotNull(vector0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertNotNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n \n double double0 = resultMatrixCSV0.getStdDev(0, 2);\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "b4c5d2fd8e33b3bc8232bec8ff09f106", "score": "0.52777874", "text": "@Test(timeout = 4000)\n public void test026() throws Throwable {\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\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(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixGnuPlot0.WIN_STRING = \"row-name-width\";\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\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(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n \n resultMatrixGnuPlot0.setPrintRowNames(true);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\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(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixGnuPlot0.clear();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\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(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n double double0 = resultMatrixGnuPlot0.getMean(4, 722);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\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(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "0f6d62764655aad57cc19da06600cd36", "score": "0.5276065", "text": "public void testGetInternalMatrix()\n {\n System.out.println( \"getInternalMatrix\" );\n DiagonalMatrixMTJ instance = this.createRandom();\n assertNotNull( instance.getInternalMatrix() );\n }", "title": "" }, { "docid": "6c61fb30bbe6eca95c4e53db8abd65a8", "score": "0.52756184", "text": "@Test\n public void test29() throws Throwable {\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\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.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixGnuPlot0);\n \n resultMatrixGnuPlot0.setPrintColNames(true);\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\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.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n \n resultMatrixGnuPlot0.setMean(6307, 6307, (double) 6307);\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\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.getDefaultShowAverage());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixGnuPlot0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixGnuPlot0.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "9435d418ade05b308dccc6b9d6539ea5", "score": "0.52722836", "text": "@Test(timeout = 4000)\n public void test040() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\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 assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertNotNull(resultMatrixLatex0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n double double0 = resultMatrixLatex0.getStdDev(1749, 1749);\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\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 assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "9c3940865f39813e842d860c534d806f", "score": "0.52693653", "text": "@Test(timeout = 4000)\n public void test007() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n resultMatrixLatex0.m_EnumerateRowNames = true;\n String string0 = resultMatrixLatex0.getColName(87);\n assertNull(string0);\n \n resultMatrixLatex0.getDefaultEnumerateColNames();\n resultMatrixLatex0.getDisplayName();\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n }", "title": "" }, { "docid": "a557e0f18821c9e00c48d2f6894f77cb", "score": "0.52649623", "text": "@Test(timeout = 4000)\n public void test099() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\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(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\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 output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string0 = resultMatrixCSV0.toStringKey();\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\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 output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertNotNull(string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Key,\\n[1],col0\\n\", string0);\n \n String string1 = resultMatrixCSV0.toStringMatrix();\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\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 output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertNotNull(string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Dataset,[1]\\nrow0,''\\n'[v/ /*]',''\\n\", string1);\n \n String string2 = resultMatrixCSV0.toStringRanking();\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\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 output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertNotNull(string2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"-ranking data not set-\", string2);\n \n resultMatrixCSV0.setColName(1, \"13zk^h*{{'.q\");\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\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 output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixCSV0.setSignificance((-3719), 0, 682);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\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 output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixCSV0.setRowHidden((-3504), true);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\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 output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n }", "title": "" }, { "docid": "72d8d7bffeac157a6f328ae404a68ddf", "score": "0.52582246", "text": "@Test(timeout = 4000)\n public void test003() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixCSV0);\n int[] intArray0 = new int[2];\n intArray0[0] = 18;\n intArray0[1] = 1;\n resultMatrixPlainText0.setRowOrder(intArray0);\n resultMatrixPlainText0.globalInfo();\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n }", "title": "" }, { "docid": "b968e475bdda5b84595a58f84564f5b2", "score": "0.52543545", "text": "@Test(timeout = 4000)\n public void test058() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\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 assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\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.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertNotNull(resultMatrixHTML0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n Vector<String> vector0 = new Vector<String>();\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertEquals(10, vector0.capacity());\n assertNotNull(vector0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.getRevision();\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertNotNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\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(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n int[][] intArray0 = new int[1][6];\n int[] intArray1 = new int[6];\n intArray1[0] = 2;\n intArray1[1] = 1;\n intArray1[2] = 0;\n intArray1[3] = 0;\n intArray1[4] = 1;\n intArray1[5] = 1;\n intArray0[0] = intArray1;\n resultMatrixSignificance0.setSummary(intArray0, intArray0);\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\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(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\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(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, intArray0.length);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.getHeader(\"\");\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1\n //\n verifyException(\"java.util.Vector\", e);\n }\n }", "title": "" }, { "docid": "79e37d3e2b95ff132da118890e10ff88", "score": "0.5250371", "text": "@Test(timeout = 4000)\n public void test011() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixSignificance0.setSignificanceWidth((-1));\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n double double0 = resultMatrixSignificance0.getStdDev((-1150), (-1150));\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\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(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\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(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "08baa61c0e48d45abda5fb569864a0e0", "score": "0.525011", "text": "private void test() {\r\n int cislo = 0;\r\n for(int i = 0; i < pocetVrcholov; i++){\r\n for(int j = 0; j < 0; j++){\r\n cislo = c[i][j];\r\n if(cislo < 0){\r\n System.out.println(\"zadanie obsahuje zaporne cislo. menime aj hlavnu diagonalu\");\r\n maZaporneCislo = true;\r\n break;\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "f3ab2b45a3f2c34c3733c2deb915b54c", "score": "0.52462447", "text": "@Test(timeout = 4000)\n public void test085() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixCSV0);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\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(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\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 assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertNotNull(resultMatrixPlainText0);\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 \n String string0 = resultMatrixCSV0.padString(\" \", 30, true);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\" \", string0);\n \n String string1 = resultMatrixPlainText0.getColName(3641);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\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(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\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 assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertNull(string1);\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 \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertNotNull(resultMatrixHTML0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string2 = resultMatrixHTML0.toStringRanking();\n assertFalse(string2.equals((Object)string0));\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertNotNull(string2);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"-ranking data not set-\", string2);\n \n String[][] stringArray0 = new String[8][8];\n String[] stringArray1 = new String[8];\n stringArray1[0] = \"v\";\n stringArray1[1] = \"bn<K*KHu,6a4Q~|%\";\n stringArray1[2] = \"]\";\n stringArray1[3] = \"v\";\n stringArray1[4] = \" \";\n stringArray1[5] = \"count-width\";\n stringArray1[6] = \"[\";\n stringArray1[7] = \"v\";\n stringArray0[0] = stringArray1;\n String[] stringArray2 = new String[0];\n assertFalse(stringArray2.equals((Object)stringArray1));\n \n stringArray0[1] = stringArray2;\n String[] stringArray3 = new String[9];\n assertFalse(stringArray3.equals((Object)stringArray2));\n assertFalse(stringArray3.equals((Object)stringArray1));\n \n stringArray3[0] = \"\";\n stringArray3[1] = \"\";\n stringArray3[2] = \"*\";\n stringArray3[3] = \" \";\n stringArray3[4] = \"\";\n stringArray3[5] = \"v\";\n stringArray3[6] = \"(\";\n stringArray3[7] = \"[\";\n stringArray3[8] = \"*\";\n stringArray0[2] = stringArray3;\n String[] stringArray4 = new String[1];\n assertFalse(stringArray4.equals((Object)stringArray2));\n assertFalse(stringArray4.equals((Object)stringArray1));\n assertFalse(stringArray4.equals((Object)stringArray3));\n \n stringArray4[0] = \"\";\n stringArray0[3] = stringArray4;\n String[] stringArray5 = new String[9];\n assertFalse(stringArray5.equals((Object)stringArray4));\n assertFalse(stringArray5.equals((Object)stringArray3));\n assertFalse(stringArray5.equals((Object)stringArray2));\n assertFalse(stringArray5.equals((Object)stringArray1));\n \n stringArray5[0] = \"v\";\n stringArray5[1] = \"*-W\";\n stringArray5[2] = \"3TBFY%l#b`L \";\n stringArray5[3] = \"v\";\n stringArray5[4] = \"\";\n stringArray5[5] = \" \";\n stringArray5[6] = \"-stddev-width <int>\";\n stringArray5[7] = \"\";\n stringArray5[8] = \"[\";\n stringArray0[4] = stringArray5;\n String[] stringArray6 = new String[9];\n assertFalse(stringArray6.equals((Object)stringArray4));\n assertFalse(stringArray6.equals((Object)stringArray5));\n assertFalse(stringArray6.equals((Object)stringArray1));\n assertFalse(stringArray6.equals((Object)stringArray3));\n assertFalse(stringArray6.equals((Object)stringArray2));\n \n stringArray6[0] = \"*\";\n stringArray6[1] = \"*-W\";\n stringArray6[2] = \"\";\n stringArray6[3] = \" \";\n stringArray6[4] = \"\";\n stringArray6[5] = \"-stddev-width <int>\";\n stringArray6[6] = \"-ranking data not set-\";\n stringArray6[7] = \"\\tThe width of the standard deviation (0 = optimal).\\n\\t(default: \";\n stringArray6[8] = \"R\";\n stringArray0[5] = stringArray6;\n String[] stringArray7 = new String[6];\n assertFalse(stringArray7.equals((Object)stringArray3));\n assertFalse(stringArray7.equals((Object)stringArray6));\n assertFalse(stringArray7.equals((Object)stringArray2));\n assertFalse(stringArray7.equals((Object)stringArray5));\n assertFalse(stringArray7.equals((Object)stringArray1));\n assertFalse(stringArray7.equals((Object)stringArray4));\n \n stringArray7[0] = \"v\";\n stringArray7[1] = \"-stddev-width <int>\";\n stringArray7[2] = \"R\";\n stringArray7[3] = \"R\";\n stringArray7[4] = \"-stddev-width <int>\";\n stringArray7[5] = \"v\";\n stringArray0[6] = stringArray7;\n String[] stringArray8 = new String[9];\n assertFalse(stringArray8.equals((Object)stringArray2));\n assertFalse(stringArray8.equals((Object)stringArray6));\n assertFalse(stringArray8.equals((Object)stringArray3));\n assertFalse(stringArray8.equals((Object)stringArray1));\n assertFalse(stringArray8.equals((Object)stringArray4));\n assertFalse(stringArray8.equals((Object)stringArray7));\n assertFalse(stringArray8.equals((Object)stringArray5));\n \n stringArray8[0] = \")`fd\";\n stringArray8[1] = \"# data for the plot\\n\";\n stringArray8[2] = \"\\nUsage: \";\n stringArray8[3] = \"v\";\n stringArray8[4] = \"-stddev-width <int>\";\n stringArray8[5] = \"]\";\n stringArray8[6] = \"-stddev-width <int>\";\n stringArray8[7] = \"\";\n stringArray8[8] = \"\";\n stringArray0[7] = stringArray8;\n int int0 = resultMatrixHTML0.getColSize(stringArray0, 1856, true, true);\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, int0);\n assertEquals(8, stringArray0.length);\n }", "title": "" }, { "docid": "149bf0d2fbd178980aca8e735e9c7de6", "score": "0.52409685", "text": "@Test(timeout = 4000)\n public void test097() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(1, 1);\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.setShowAverage(true);\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(1, 2);\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\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(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\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(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertNotNull(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string0 = resultMatrixCSV0.toStringMatrix();\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertNotNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Dataset,[1]\\nrow0,''\\nAverage,NaN.00\\n'[v/ /*]',''\\n\", string0);\n \n ResultMatrixGnuPlot.main((String[]) null);\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\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(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertNotNull(resultMatrixPlainText0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixPlainText0.m_RemoveFilterName = true;\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\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(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n \n String[] stringArray0 = resultMatrixPlainText0.getOptions();\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\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(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertNotNull(stringArray0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(20, stringArray0.length);\n \n resultMatrixSignificance0.setOptions(stringArray0);\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(5, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(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(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\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 assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(25, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(2, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\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(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\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(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\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(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(20, stringArray0.length);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\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 assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertNotNull(resultMatrixSignificance1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance1.getHeader((String) null);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // -1\n //\n verifyException(\"java.util.Vector\", e);\n }\n }", "title": "" }, { "docid": "3c8343e7c95f3512ff7b3ea3387a0881", "score": "0.5236628", "text": "public void resultcheck() //J are columns and i are rows\r\n {\r\n \tint count = 0;\r\n \tint count2 =0;\r\n \tfor(int i=1;i<7;i++){\r\n \t\tif(labels[i][3].getText().equals(\"R\") || labels[i][3].getText().equals(\"B\")){\r\n \t\t\tfor(int j=0;j<7;j++){\r\n \t\t\t\tif(labels[i][j].getText().equals(\"R\")){\r\n \t\t\t\t\tcount++;\r\n \t\t\t\t\tif(count==4){\r\n \t\t\t\t\t\tresult=\"Won\";\r\n \t\t\t\t\t\tResultInitialize();\r\n \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t\telse\r\n \t\t\t\t\tcount=0;\r\n \t\t\t\t\t\r\n \t\t\t\tif(labels[i][j].getText().equals(\"B\")){\r\n \t\t\t\t\tcount2++;\r\n \t\t\t\t\tif(count2==4){\r\n \t\t\t\t\t\tresult=\"Lost\";\r\n \t\t\t\t\t\tResultInitialize();\r\n \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t\telse\r\n \t\t\t\t\tcount2=0;\r\n \t\t\t\t\t\r\n \t\t\t\t\r\n \t\t\t\t\r\n \t\t\t}\r\n \t\t}\r\n \t}\t\r\n \t////////Vertical search//////////\r\n \tfor(int j=0;j<7;j++){\r\n \t\tcount = 0;\r\n \t\tcount2=0;\r\n \t\tif(labels[4][j].getText().equals(\"R\") || labels[4][j].getText().equals(\"B\")){\r\n \t\t\tfor(int i=1;i<7;i++){\r\n \t\t\t\tif(labels[i][j].getText().equals(\"R\")){\r\n \t\t\t\t\tcount++;\r\n \t\t\t\t\tif(count==4){\r\n \t\t\t\t\t\tresult=\"Won\";\r\n \t\t\t\t\t\tResultInitialize();\r\n \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t\telse\r\n \t \t\t\tcount=0;\r\n \t\t\t\t\r\n \t\t\t\tif(labels[i][j].getText().equals(\"B\")){\r\n \t\t\t\t\tcount2++;\r\n \t\t\t\t\tif(count2==4){\r\n \t\t\t\t\t\tresult=\"Lost\";\r\n \t\t\t\t\t\tResultInitialize();\r\n \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t\telse\r\n \t\t\t\t\tcount2=0;\r\n \t\t\t}\r\n \t\t}\r\n \t}\r\n \t///////////////////Diagonal left////////////////////\r\n \tint start = 3;\r\n \tint row= 3;\r\n \tint col=0;\r\n \tint track = 3;\r\n \tcount = 0;\r\n \tcount2 = 0;\r\n \tfor(int s = 0;s<6;s++){\r\n \t\tif(s >= 3){\r\n \t\t\ttrack++;\r\n \t\t\tcol = track;\r\n \t\t\trow = 1;\r\n \t\t\tstart = col;\r\n \t\t}\r\n \t\t\r\n \t\tfor(;start<7;start++){\r\n \t\t\tif (labels[row][col].getText().equals(\"R\")){\r\n \t\t\t\tcount++;\r\n \t\t\t\tif(count==4){\r\n \t\t\t\tresult=\"won\";\r\n \t \t\t\tResultInitialize();\r\n \t\t\t}\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t\tcount=0;\r\n \t\t\t\r\n \t\t\tif (labels[row][col].getText().equals(\"B\")){\r\n \t\t\t\tcount2++;\r\n \t\t\t\tif(count2==4){\r\n \t\t\t\tresult=\"Lost\";\r\n \t \t\t\tResultInitialize();\r\n \t\t\t}\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t\tcount2=0;\r\n \t\t\t\r\n \t\t\trow++;\r\n \t\t\tcol++;\r\n \t\t}\r\n \t\t\r\n \t\tif(s < 3){\r\n \t\t\ttrack --;\r\n \t\t\trow = track;\r\n \t\t\tstart = row;\r\n \t\t\tcol = 0;\r\n \t\t\t\r\n \t\t}\r\n \t\t\r\n \t\t\r\n \t}\r\n \t////////////////////Diagonal Right////////////////////\r\n \tstart = 3;\r\n \trow= 3;\r\n \tcol=6;\r\n \ttrack = 3;\r\n \tcount = 0;\r\n \t\r\n \tfor(int s = 0;s<6;s++){\r\n \t\tif(s >= 3){\r\n \t\t\ttrack--;\r\n \t\t\tcol = track;\r\n \t\t\trow = 1;\r\n \t\t\tstart = 6 - col;\r\n \t\t}\r\n \t\t\r\n \t\tfor(;start<7;start++){\r\n \t\t\tif (labels[row][col].getText().equals(\"R\")){\r\n \t\t\t\tcount++;\r\n \t\t\t\tif(count==4){\r\n \t\t\t\tresult=\"won\";\r\n \t \t\t\tResultInitialize();\r\n \t\t\t}\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t\tcount=0;\r\n \t\t\t\r\n \t\t\tif (labels[row][col].getText().equals(\"B\")){\r\n \t\t\t\tcount2++;\r\n \t\t\t\tif(count2==4){\r\n \t\t\t\tresult=\"Lost\";\r\n \t \t\t\tResultInitialize();\r\n \t\t\t}\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t\tcount2=0;\r\n \t\t\t\r\n \t\t\trow++;\r\n \t\t\tcol--;\r\n \t\t}\r\n \t\t\r\n \t\tif(s < 3){\r\n \t\t\ttrack --;\r\n \t\t\trow = track;\r\n \t\t\tstart = row;\r\n \t\t\tcol = 6;\r\n \t\t\tif(s==2)\r\n \t\t\t\ttrack = 6;\r\n \t\t}\r\n \t}\r\n }", "title": "" }, { "docid": "07378144aab7959331a3872a26de835d", "score": "0.5232974", "text": "@Test\n public void test37() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\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 assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n double double0 = resultMatrixHTML0.getAverage((-743));\n assertEquals(0.0, double0, 0.01D);\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\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 assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "2bb2be5e6e2ec541a8f01dc2577228a9", "score": "0.5224705", "text": "@Test\n public void test14() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixCSV0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixCSV0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixCSV0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML((ResultMatrix) resultMatrixCSV0);\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixCSV0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixCSV0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixCSV0.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n resultMatrixHTML0.setCountWidth((-2028));\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\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(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixHTML0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixHTML0.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixCSV0.SIGNIFICANCE_WIN);\n assertEquals(0, resultMatrixCSV0.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixCSV0.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "941365bd88a1bf17954bdae0d2e6f22b", "score": "0.5222102", "text": "@Test(timeout = 4000)\n public void test067() throws Throwable {\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertNotNull(resultMatrixPlainText0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixPlainText0.m_PrintColNames = false;\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n \n ResultMatrixPlainText resultMatrixPlainText1 = new ResultMatrixPlainText(resultMatrixPlainText0);\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText1.getPrintColNames());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n assertNotNull(resultMatrixPlainText1);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String string0 = resultMatrixPlainText1.toStringKey();\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertFalse(resultMatrixPlainText1.getPrintColNames());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n assertNotNull(string0);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"Key:\\n(1) col0\\n\", string0);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n assertNotSame(resultMatrixPlainText1, resultMatrixPlainText0);\n \n resultMatrixPlainText1.m_PrintColNames = true;\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n \n String string1 = resultMatrixPlainText1.toStringRanking();\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n assertNotNull(string1);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"-ranking data not set-\", string1);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n assertNotSame(resultMatrixPlainText1, resultMatrixPlainText0);\n \n resultMatrixPlainText1.setPrintRowNames(true);\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n assertNotSame(resultMatrixPlainText1, resultMatrixPlainText0);\n \n resultMatrixPlainText0.setStdDevPrec(578);\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixPlainText1);\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\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(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertNotNull(resultMatrixGnuPlot0);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixGnuPlot0.clearRanking();\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\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(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n assertNotSame(resultMatrixPlainText1, resultMatrixPlainText0);\n \n String string2 = resultMatrixGnuPlot0.getRevision();\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertTrue(resultMatrixGnuPlot0.getEnumerateColNames());\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(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertEquals(5, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(25, resultMatrixGnuPlot0.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertNotNull(string2);\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"8034\", string2);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n assertNotSame(resultMatrixPlainText1, resultMatrixPlainText0);\n \n boolean boolean0 = resultMatrixPlainText0.getRowHidden((-935));\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(boolean0);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixPlainText0);\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(578, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\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(5, resultMatrixCSV0.getCountWidth());\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(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertNotNull(resultMatrixCSV0);\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 \n resultMatrixCSV0.m_Wins = null;\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(578, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\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(5, resultMatrixCSV0.getCountWidth());\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(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n \n String string3 = resultMatrixCSV0.toStringKey();\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(string3.equals((Object)string2));\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(578, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\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(5, resultMatrixCSV0.getCountWidth());\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(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertNotNull(string3);\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(\"Key,\\n(1),col0\\n\", string3);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n \n int int0 = resultMatrixPlainText0.getDefaultCountWidth();\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(5, int0);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n \n String string4 = resultMatrixCSV0.getRevision();\n assertFalse(string4.equals((Object)string0));\n assertFalse(string4.equals((Object)string1));\n assertFalse(string4.equals((Object)string3));\n assertTrue(string4.equals((Object)string2));\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(578, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\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(5, resultMatrixCSV0.getCountWidth());\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(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertNotNull(string4);\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(\"8034\", string4);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n \n String string5 = resultMatrixPlainText0.toStringKey();\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(string5.equals((Object)string2));\n assertFalse(string5.equals((Object)string3));\n assertFalse(string5.equals((Object)string1));\n assertTrue(string5.equals((Object)string0));\n assertFalse(string5.equals((Object)string4));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertNotNull(string5);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"Key:\\n(1) col0\\n\", string5);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n \n int int1 = resultMatrixCSV0.getDefaultRowNameWidth();\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(int1 == int0);\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\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(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(578, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\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(5, resultMatrixCSV0.getCountWidth());\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(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\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(25, int1);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n \n resultMatrixPlainText1.setRowNameWidth((-3257));\n assertFalse(resultMatrixPlainText0.equals((Object)resultMatrixPlainText1));\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(578, resultMatrixPlainText0.getStdDevPrec());\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 assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\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(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotSame(resultMatrixPlainText0, resultMatrixPlainText1);\n assertNotSame(resultMatrixPlainText1, resultMatrixPlainText0);\n }", "title": "" }, { "docid": "371a69a3a955fec053632811a1998c28", "score": "0.52212816", "text": "@Test(timeout = 4000)\n public void test1() throws Throwable {\n ExpressionMatrixImpl expressionMatrixImpl0 = new ExpressionMatrixImpl();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.addNewNode();\n expressionMatrixImpl0.creatMatrix(1433);\n expressionMatrixImpl0.toString();\n expressionMatrixImpl0.getNumberOfNodes();\n expressionMatrixImpl0.getValue(1, 1433);\n MessageTracerImpl messageTracerImpl0 = new MessageTracerImpl();\n expressionMatrixImpl0.creatMatrix((-4));\n messageTracerImpl0.getMapper();\n expressionMatrixImpl0.outNoStandardConnections(false, (ExpressionElementMapper) null);\n expressionMatrixImpl0.setValue(1, 1433, 0);\n expressionMatrixImpl0.getNumberOfElements();\n HL7CheckerImpl hL7CheckerImpl0 = new HL7CheckerImpl();\n messageTracerImpl0.setHandler(hL7CheckerImpl0);\n expressionMatrixImpl0.getValue(79, 1);\n expressionMatrixImpl0.outNoStandardConnections(false, (ExpressionElementMapper) null);\n expressionMatrixImpl0.getNumberOfElements();\n expressionMatrixImpl0.getNumberOfElements();\n expressionMatrixImpl0.toString();\n expressionMatrixImpl0.getNumberOfNodes();\n expressionMatrixImpl0.getValue(1, (-1));\n expressionMatrixImpl0.creatMatrix(2);\n expressionMatrixImpl0.getValue((-1), (-4));\n expressionMatrixImpl0.getNumberOfElements();\n expressionMatrixImpl0.toString();\n expressionMatrixImpl0.outNoStandardConnections(false, (ExpressionElementMapper) null);\n expressionMatrixImpl0.setValue(0, (-1), (-1));\n expressionMatrixImpl0.outNoStandardConnections(true, (ExpressionElementMapper) null);\n expressionMatrixImpl0.outNoStandardConnections(false, (ExpressionElementMapper) null);\n assertEquals(2, expressionMatrixImpl0.getNumberOfElements());\n }", "title": "" } ]
e2efd0d718f266774df8f2061f744c59
Returns the value of the link child. Attribute link
[ { "docid": "2c59fba9480fb15439903e5a901615fe", "score": "0.6132789", "text": "@Required\n @NotNull\n GenericAttributeValue<String> getLink();", "title": "" } ]
[ { "docid": "41e7f6981ca529014a5f6873f07305c5", "score": "0.63155943", "text": "public Object getAttributeLink() {\n return null /*AttributeLink.class*/;\r\n }", "title": "" }, { "docid": "a17a15901d7edc0f17bb83da3e1e61bf", "score": "0.6052282", "text": "public String getRel() {\n return super.getAttributeValue(REL);\n }", "title": "" }, { "docid": "2f428d771fbb337a22de749e3a7cdbf4", "score": "0.59996724", "text": "public String getValue() {\n return super.getAttributeValue();\n }", "title": "" }, { "docid": "a3746c6457f77aac65b3613cf786f580", "score": "0.59275407", "text": "java.lang.String getAttribute();", "title": "" }, { "docid": "27468e0884445fd093129879b9ab34c1", "score": "0.59161", "text": "public Object getAttribute(Object _key)\n {\n Object key = _key.toString().toLowerCase();\n \n Object v = super.getAttribute(key);\n if (v != null)\n return v;\n else if (parent != null)\n return parent.getAttribute(key);\n else\n return null;\n }", "title": "" }, { "docid": "a5af966a338b28c0a0d7c082f6a853f5", "score": "0.59041643", "text": "Attribute getAttribute();", "title": "" }, { "docid": "0fda97beaa0ce897aa5b94c7d4614c1b", "score": "0.58542657", "text": "@Override\n @Argument(name = \"value\", type = ArgumentType.RETURNS, isReturnsType = true)\n protected Object internalExecute(JavaRuleContext context,\n LinkAttributeRule.LinkAttributeRuleArguments arguments) {\n log.info(\"Current link:[{}]\", arguments.getLink());\n return UUID.randomUUID().toString();\n }", "title": "" }, { "docid": "8ef218126a748e06e0add14d2b68bdda", "score": "0.58536613", "text": "public java.lang.String getHref()\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(HREF$2);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "title": "" }, { "docid": "92f3900406e8b567deae08fa752d5a56", "score": "0.57256156", "text": "public Object getAttribute(final String key)\n {\n return handler.getAttributeValue(node, key);\n }", "title": "" }, { "docid": "846201840b6d6f433b36c8817d1ad670", "score": "0.5714953", "text": "String getLinkCanale();", "title": "" }, { "docid": "768a0281357ea6982cd3855c445507af", "score": "0.57101554", "text": "public String getLink ()\n\t{\n\t\treturn link;\n\t}", "title": "" }, { "docid": "41cbb71d2f4ab95c437b2edaa567dedf", "score": "0.5685314", "text": "public A getAttribute();", "title": "" }, { "docid": "b2bbbc69ca13fe09829af66eebbec43d", "score": "0.5671863", "text": "@Override\n public String toString() {\n if (getAttribute() > -1)\n return getAttributeRef().name();\n else\n return \"???\";\n }", "title": "" }, { "docid": "5fb2680db8624c3b9563c681598a1cd7", "score": "0.5663723", "text": "public Integer getValue() {\n return super.getAttributeValue(VALUE);\n }", "title": "" }, { "docid": "99cfa59158651b279993cdec293d2041", "score": "0.56367415", "text": "public CharSequence getAttrValue() {\n return attrValue;\n }", "title": "" }, { "docid": "12e4e1615f11a2ae23cc5fd9faf73d3d", "score": "0.5621306", "text": "java.lang.String getLink();", "title": "" }, { "docid": "d3dde8e76e6d22dc713a4e561ac4232b", "score": "0.5578806", "text": "public CharSequence getAttrValue() {\n return attrValue;\n }", "title": "" }, { "docid": "c8e18a9c3640b4254107f02b9f3b3093", "score": "0.5575933", "text": "public LinkElements getLinkAccess() {\n\t\treturn pLink;\n\t}", "title": "" }, { "docid": "7e9f29025d8b107b104079d2f525a713", "score": "0.5554779", "text": "public Object getNodeAttributeValue(String key) {\n\t\tAttribute attr;\n\t\tif (nodeAttributes == null) {\n\t\t\treturn (null);\n\t\t}\n\t\tif ((attr = (Attribute) (nodeAttributes.get(key))) == null) {\n\t\t\treturn (null);\n\t\t}\n\t\treturn (attr.getValue());\n\t}", "title": "" }, { "docid": "3dfb8964287abdff8ed9dc2d3b5c6ea7", "score": "0.5519994", "text": "public static LinkAttribute getLinkAttribute(Resource resource, String key){\r\n\t\t\r\n\t\tResourceMetaData metaData = resource.getResourceMetaData();\r\n\t\tHashMap linkAttributes = metaData.getLinkAttribute();\r\n\t\tif (linkAttributes !=null){\r\n\t\t\tIterator keyIterator = linkAttributes.keySet().iterator();\r\n\t\t\twhile(keyIterator.hasNext()){\r\n\t\t\t\tString linkAttributeName = keyIterator.next().toString();\r\n\t\t\t\tif (linkAttributeName.equalsIgnoreCase(key)){\r\n\t\t\t\t\tlogger.trace(\" Link Attribute type \" + resource.getName() + \" attribute + \" + key + \" is link type\" );\r\n\t\t\t\t\treturn (LinkAttribute)linkAttributes.get(key) ;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "ff3631df5142fde791175f6b6563f461", "score": "0.55044097", "text": "public String getDownloadLink() {\n return (String) getAttributeInternal(DOWNLOADLINK);\n }", "title": "" }, { "docid": "7d63edb55e410a5cf8bea28e01f1bc92", "score": "0.5493094", "text": "public String toString() {\n return new ToStringBuilder(this).append(\"linkName\", this.linkName)\n .append(\"parentAttrName\", this.parentAttrName).append(\n \"childTypeName\", this.childTypeName).append(\"childAttrName\",\n this.childAttrName).toString();\n }", "title": "" }, { "docid": "7fb28ee7e573e7af124b1ba739236376", "score": "0.54739934", "text": "public String getTarget() {\n return m_linkTarget;\n\t}", "title": "" }, { "docid": "724f64e46e509e3c1b844294a713e3ba", "score": "0.5471803", "text": "private String getLink(Node root){\r\n String link = null;\r\n Node child = root.getFirstChild();\r\n while (child != null){\r\n if(child instanceof BulletList){\r\n child = child.getFirstChild();\r\n } else if (child instanceof Bullet) {\r\n child = child.getFirstChild();\r\n } else if (child instanceof LinkTag) {\r\n LinkTag l = (LinkTag) child;\r\n String lname = l.getLink();\r\n if (lname.indexOf(\".html\") < 0){ //Is not html link\r\n child = child.getParent().getNextSibling();\r\n } else { //Html link\r\n link = lname.trim();\r\n break;\r\n }\r\n } else {\r\n child = child.getNextSibling();\r\n }\r\n }\r\n return link;\r\n }", "title": "" }, { "docid": "232fe1cff67b923d8d22fa5a6c58f673", "score": "0.5470148", "text": "public String getLinkName()\r\n/* 21: */ {\r\n/* 22:22 */ return this.linkName;\r\n/* 23: */ }", "title": "" }, { "docid": "1d75376be2b1096ce0d6792a76079ff5", "score": "0.5455682", "text": "public Attribute getAttributeRef() {\n if (getAttribute() > -1)\n return getInformation().attribute(getAttribute());\n else\n return null;\n }", "title": "" }, { "docid": "4eb943a2f0f16f5b5e3777a2e5d581b3", "score": "0.5454622", "text": "public String getLink() {\n\t\treturn link;\n\t}", "title": "" }, { "docid": "4eb943a2f0f16f5b5e3777a2e5d581b3", "score": "0.5454622", "text": "public String getLink() {\n\t\treturn link;\n\t}", "title": "" }, { "docid": "224bd1a4d709f5b3a972a11bd92d470f", "score": "0.54249454", "text": "public String getHref() {\n return href;\n }", "title": "" }, { "docid": "f66550422a8ebb48bfbcad3fbb39bbab", "score": "0.5420428", "text": "public String getLnkDanperText() {\r\n\t\treturn this.lnkDANPER.getAttribute(\"title\").toString();\r\n\t}", "title": "" }, { "docid": "fb87187a8ddadf129fc9fd567811752b", "score": "0.54170996", "text": "public String getIdTaxonomyLink() {\r\n return i_idTaxonomyLink;\r\n }", "title": "" }, { "docid": "284872d02f3294cef24e63f49e16128f", "score": "0.54141283", "text": "public String getAllLink() {\n return driver.findElement(By.tagName(\"a\")).getText();\n }", "title": "" }, { "docid": "6dee00e0355a81497b3e6d6665b2ff8c", "score": "0.540705", "text": "java.lang.String getHref();", "title": "" }, { "docid": "b9759d06909087a776854b9f07f69eb8", "score": "0.53951496", "text": "public String getLink() {\n return link;\n }", "title": "" }, { "docid": "b9759d06909087a776854b9f07f69eb8", "score": "0.53951496", "text": "public String getLink() {\n return link;\n }", "title": "" }, { "docid": "b9759d06909087a776854b9f07f69eb8", "score": "0.53951496", "text": "public String getLink() {\n return link;\n }", "title": "" }, { "docid": "b9759d06909087a776854b9f07f69eb8", "score": "0.53951496", "text": "public String getLink() {\n return link;\n }", "title": "" }, { "docid": "491170383266904a050892613b013630", "score": "0.5386491", "text": "int getAttribute();", "title": "" }, { "docid": "508aecbf5ef8a2b0dc6755217171b16f", "score": "0.5380049", "text": "public String getLink() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "70d5e5762a40ac625712b12e404c1d87", "score": "0.53741604", "text": "@Override\r\n \t\t\tpublic String getMetaValue(String fullAttributeKey) throws Exception{\r\n \t\t\t\tif (attributeValues==null) readAttributes();\r\n \t\t\t\treturn HierarchicalDataUtils.extractValue(attributeValues.get(fullAttributeKey));\r\n \t\t\t}", "title": "" }, { "docid": "efb28367c80d261749a33e3077446a55", "score": "0.53684866", "text": "public String getValue(int i) {\n/* 133 */ return ((Attr)this.m_attrs.item(i)).getValue();\n/* */ }", "title": "" }, { "docid": "4270547f60af06bdc1c680b0da39b262", "score": "0.53649354", "text": "public java.lang.String getLinkId() {\n return linkId;\n }", "title": "" }, { "docid": "86d69e13f09f1b68287d4ce83a116060", "score": "0.53600013", "text": "protected abstract String getAddNodeValue();", "title": "" }, { "docid": "b56074783b0304427858e1b9dd59f2d2", "score": "0.5343011", "text": "public int getLinkId() {\n\t\treturn this.linkId;\n\t}", "title": "" }, { "docid": "0033f83da837bd2dc5ad4c3e18c36a62", "score": "0.53174335", "text": "ERPCAttribute getAttribute();", "title": "" }, { "docid": "8413c4e22df5a34c31fe22dd86e98dd1", "score": "0.5313053", "text": "protected String getAttribute(Node theNode, String theAttribute) {\r\n\t\tString returnValue = new String();\r\n\r\n\t\t// grab attributes of the node\r\n\t\tAttr attrs[] = sortAttributes(theNode.getAttributes());\r\n\r\n\t\t// now see if the asked for attribute exists and send\r\n\t\t// back the value\r\n\t\tAttr attribute;\r\n\t\tfor (int i = 0; i < attrs.length; i++) {\r\n\t\t\tattribute = attrs[i];\r\n\r\n\t\t\tif (attribute.getName().equals(theAttribute)) {\r\n\t\t\t\treturnValue = attribute.getValue();\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn returnValue;\r\n\t}", "title": "" }, { "docid": "f914f136a0d993299de31bf0697b310c", "score": "0.52945817", "text": "@Property String getNodeValue();", "title": "" }, { "docid": "b34fbf38651336d12773c209f7b90d61", "score": "0.5286106", "text": "public String getValue(String name) {\n/* 174 */ Attr attr = (Attr)this.m_attrs.getNamedItem(name);\n/* 175 */ return (null != attr) ? attr\n/* 176 */ .getValue() : null;\n/* */ }", "title": "" }, { "docid": "44321708828ddf9e3b19f1db335f80bf", "score": "0.5278913", "text": "AttributeDefinition getAttribute();", "title": "" }, { "docid": "690678b3a8232517bdbb66696782d462", "score": "0.52684516", "text": "public Object getEdgeAttributeValue(String key) {\n\t\tAttribute attr;\n\t\tif (edgeAttributes == null) {\n\t\t\treturn (null);\n\t\t}\n\t\tif ((attr = (Attribute) (edgeAttributes.get(key))) == null) {\n\t\t\treturn (null);\n\t\t}\n\t\treturn (attr.getValue());\n\t}", "title": "" }, { "docid": "2dfc1ba4adcb9d960925a1e91cbc64b2", "score": "0.52677125", "text": "public AttributeElements getAttributeAccess() {\r\n\t\treturn pAttribute;\r\n\t}", "title": "" }, { "docid": "879d779a3225e42531e663e6cad4e6e0", "score": "0.52667487", "text": "public String GetAttribute()\r\n\t{\r\n\t\treturn Attribute;\r\n\t}", "title": "" }, { "docid": "ab8f1cb42673f93f79119411ca9fda12", "score": "0.5264015", "text": "public int getAttribute() {\n return m_Attribute;\n }", "title": "" }, { "docid": "6d8c9307fe69ad1b50d42d56f5d329f7", "score": "0.52519387", "text": "public String getAttribute(String attribute)\n \tthrows SubmissionTargetException\n {\n String localAttribute = getLocalAttribute(attribute);\n\n if (localAttribute != null)\n {\n return localAttribute;\n }\n else if (parent != null)\n {\n return parent.getAttribute(attribute);\n }\n else\n {\n return null;\n }\n }", "title": "" }, { "docid": "7c0c52ab512de434df26a499da46b239", "score": "0.5246808", "text": "public AttributeElements getAttributeAccess() {\n\t\treturn pAttribute;\n\t}", "title": "" }, { "docid": "dca23a0b20285335087a3b7f1ee04fa7", "score": "0.52452064", "text": "int getAttributeValue();", "title": "" }, { "docid": "3e0050b2ff9bfe3682aab202385d33fb", "score": "0.5235589", "text": "private String getNodeAttribute(Node node, String attributeLabel) {\r\n\r\n\t\treturn this.getAttribute(attributeLabel, node);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "db8ade354a79c7bd2946f761425834f3", "score": "0.52337605", "text": "public AttributeValue getValue() {\n return value;\n }", "title": "" }, { "docid": "f435ee4d0e036ec6edfd9ba02c540d7e", "score": "0.5222741", "text": "public CharSequence getLinkUrl() {\n return link_url;\n }", "title": "" }, { "docid": "a54f7ec1485c2704acfb1340fd1e1ed7", "score": "0.5219145", "text": "public LinkableElementElements getLinkableElementAccess() {\n\t\treturn pLinkableElement;\n\t}", "title": "" }, { "docid": "ef5a2a32a8a66d10728a2173779996c9", "score": "0.5215727", "text": "public BigDecimal getKSE_LINK() {\r\n return KSE_LINK;\r\n }", "title": "" }, { "docid": "9de609e2645b8a9c95d6b47d345b623b", "score": "0.5215378", "text": "String getHref();", "title": "" }, { "docid": "f2e01e3f34737409f7849d1f02ecaf75", "score": "0.51849216", "text": "String getAttribute(String key);", "title": "" }, { "docid": "dc9df731cec41c87c38956b703b21cd0", "score": "0.51811075", "text": "public int getAttrValue(String shortcut){\n\t\tfor(int i=0; i<attributes.size(); i++){\n\t\t\tif(attributes.elementAt(i).getShortcut().equals(shortcut)){\n\t\t\t\treturn attributes.elementAt(i).getValue();\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}", "title": "" }, { "docid": "80e559d4c65c5057507174e9c9799ad6", "score": "0.5176055", "text": "public String getHref() {\n\t\treturn href;\n\t}", "title": "" }, { "docid": "efa01cbb781e9954c3b1beb44f68ca83", "score": "0.5168683", "text": "public URL getLink() {\n return link;\n }", "title": "" }, { "docid": "d3b63fccde6641adfb274619a4724fa9", "score": "0.516237", "text": "java.lang.String getRefAttrName();", "title": "" }, { "docid": "735d9acdb5b17bbd2e39c77716768ac5", "score": "0.5156231", "text": "public String getNextLink() {\n return this.nextLink;\n }", "title": "" }, { "docid": "ed20542751dbc14884763b940944f46b", "score": "0.5137967", "text": "public String getAttribute(String key) {\n \t\tif (attributes == null)\n \t\t\treturn null;\n \t\tObject value = attributes.get(key);\n \t\tif (value == null)\n \t\t\treturn null;\n \t\tif (value instanceof String)\n \t\t\treturn (String) value;\n \n \t\tArrayList valueList = (ArrayList) value;\n \t\t//return the last attribute value\n \t\treturn (String) valueList.get(valueList.size() - 1);\n \t}", "title": "" }, { "docid": "9100276849d75fda9574023f229c4da3", "score": "0.5129407", "text": "public Attribute<O, A> getAttribute() {\n return attribute;\n }", "title": "" }, { "docid": "524ffc2d5d3801c36d385581bff06572", "score": "0.5128066", "text": "public Attribute getNodeAttribute(String key) {\n\t\tif (nodeAttributes == null) {\n\t\t\treturn (null);\n\t\t}\n\t\treturn ((Attribute) (nodeAttributes.get(key)));\n\t}", "title": "" }, { "docid": "094a52b722bb5b6d2869b8404ec89899", "score": "0.51199615", "text": "public CharSequence getLinkUrl() {\n return link_url;\n }", "title": "" }, { "docid": "ca968855e92149b18be111fa6a79ac61", "score": "0.51134855", "text": "public String nextLink() {\n return this.nextLink;\n }", "title": "" }, { "docid": "ca968855e92149b18be111fa6a79ac61", "score": "0.51134855", "text": "public String nextLink() {\n return this.nextLink;\n }", "title": "" }, { "docid": "f4460ad022926874efd5956ce2022452", "score": "0.51066434", "text": "public abstract int getMaxNumberOfAttributesPerLink();", "title": "" }, { "docid": "ca0b1e7010957963c133323c31db6f9a", "score": "0.50881195", "text": "public String getAttributeValue() {\n\t\tfinal byte[] data = getAttributeData();\n\t\tif (data == null || data.length != 18)\n\t\t\tthrow new RuntimeException(\"ip attribute: expected 18 bytes attribute data\");\n\t\ttry {\n\t\t final int prefix = (data[1] & 0xff);\t\t \n\t\t\tfinal Inet6Address addr = (Inet6Address)Inet6Address.getByAddress(null, Arrays.copyOfRange(data,2,data.length));\n\t\t\n\t\t\treturn addr.getHostAddress() + \"/\" + prefix;\n\t\t} catch (UnknownHostException e) {\n\t\t\tthrow new IllegalArgumentException(\"bad IPv6 prefix\", e);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "bf0234d4fba9d847847e0eb1bcc12abd", "score": "0.5083498", "text": "public abstract Object getAttribute(String attr);", "title": "" }, { "docid": "d497a6d76ebae90c51d82291953f8428", "score": "0.5081757", "text": "public AttributeRefElements getAttributeRefAccess() {\n\t\treturn pAttributeRef;\n\t}", "title": "" }, { "docid": "353474bf4ce4811057eb294d698fae5b", "score": "0.50763315", "text": "public java.lang.String getHyperlinkTarget(){ return hyperlinkTarget; }", "title": "" }, { "docid": "981272905dc686ff2e13887c19e2ef83", "score": "0.50734025", "text": "public String getAttribute(String attr);", "title": "" }, { "docid": "5f828cc43cc5b2011d68514775c0400e", "score": "0.50718963", "text": "String getAttributeValue(String name);", "title": "" }, { "docid": "8a08fc31b318d47909d42b6d124c47d8", "score": "0.50663924", "text": "public String getLinkLabel() {\n\t\treturn linkLabel;\n\t}", "title": "" }, { "docid": "f8403812ff3edf0245cdca423e2ab225", "score": "0.5064016", "text": "public String getAttribute() {\r\n\t\treturn attribute;\r\n\t}", "title": "" }, { "docid": "6739c9faa7a9cb62e9d3806b824f5aaa", "score": "0.50533265", "text": "public DestinationNode getLink() {\n\t\treturn link;\n\t}", "title": "" }, { "docid": "37e16eb75aeef803eaf814da393fcc92", "score": "0.50521135", "text": "public Attribute getAttribute() {\r\n\t\treturn attribute;\r\n\t}", "title": "" }, { "docid": "9ff64c1e740d8fcfed344ffffcfe9cb0", "score": "0.5047996", "text": "public String getNodeValue() {\n return getValue();\n }", "title": "" }, { "docid": "b19971c5855d82cbab48cdd25283dd56", "score": "0.5044547", "text": "public Object getAttribute(String key) {\n\t\treturn m_attributes.get(key);\n\t}", "title": "" }, { "docid": "53099b8171179dc9a359c346a5bb5b17", "score": "0.5044081", "text": "@Override\r\n\tpublic Object visitRelationOperator(RelationOperatorContext ctx) {\n\t\treturn ctx.getChild(0).getText();\r\n\t}", "title": "" }, { "docid": "4be608abc4f9bb88b715ef5cc3144b44", "score": "0.5039032", "text": "public Carrige getLinkNext() {\n return next;\n }", "title": "" }, { "docid": "6b32b24b3283ec58026ec7326987c294", "score": "0.5036853", "text": "public Object get(String key){\r\n return attributes.get(key);\r\n }", "title": "" }, { "docid": "895ef9bf239972a791f0b85926a9b418", "score": "0.503381", "text": "public String getValue(){\n\t\trefresh(true);\n\t\tObject result = WDLibrary.getValue(webelement, WDLibrary.TEXT_VALUE_ATTRIBUTES);\n\t\treturn result==null? \"\": result.toString();\n\t}", "title": "" }, { "docid": "27d86e977455b9cee2f53452d7bf0561", "score": "0.5033487", "text": "public Object getValue(AbstractAttribute attribute) {\n return values[attribute.getId()];\n }", "title": "" }, { "docid": "8a92d499ffb3316a1ce7995237410476", "score": "0.50308007", "text": "public String getValue()\n\t{\n\t\tDomNode node = getNode();\n\n\t\tif ( node instanceof HtmlCheckBoxInput )\n\t\t{\n\t\t\treturn ((HtmlInput)node).getCheckedAttribute();\n\t\t}\n\t\telse if ( node instanceof HtmlFileInput )\n\t\t{\n\t\t\treturn ((HtmlInput)node).getValueAttribute();\n\t\t}\n\t\telse if ( node instanceof HtmlPasswordInput )\n\t\t{\n\t\t\treturn ((HtmlInput)node).getValueAttribute();\n\t\t}\n\t\telse if ( node instanceof HtmlRadioButtonInput )\n\t\t{\n\t\t\treturn ((HtmlInput)node).getCheckedAttribute();\n\t\t}\n\t\telse if ( node instanceof HtmlTextInput )\n\t\t{\n\t\t\treturn ((HtmlInput)node).getValueAttribute();\n\t\t}\n\t\telse if ( node instanceof HtmlTextArea )\n\t\t{\n\t\t\treturn ((HtmlTextArea)node).getText();\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "9b066fc3dca7e4d3d91cb86cfde76f8e", "score": "0.5027742", "text": "public Node getA() {\n return a;\n }", "title": "" }, { "docid": "9ee868b21c6238b8e0943808c01468f2", "score": "0.5025463", "text": "public String getUrl() {\n\t\treturn (String) this.get(DEFAULT_ATTRIBUTES.URL.toString());\n\t}", "title": "" }, { "docid": "bb504bdff54e078954be1e2527911177", "score": "0.501438", "text": "public IQAttrRefKey getAttrRef();", "title": "" }, { "docid": "02502f78c8194538f850260100740e34", "score": "0.5012289", "text": "public String getAttr() {\r\n return attr;\r\n }", "title": "" }, { "docid": "19e8b996d1dd5bb1010331f4e122ed18", "score": "0.5009282", "text": "@Override\n public Object getAttr() {\n return attr;\n }", "title": "" }, { "docid": "d304af67ec2503b5e7f03d6ff55e59d3", "score": "0.4997313", "text": "java.lang.String getAttribute(int index);", "title": "" }, { "docid": "2fb6fe1221ed5cff2fd3041dcae7f2f7", "score": "0.49966502", "text": "public String getLinkToText() {\n return linkToText;\n }", "title": "" } ]
2999404cb21f24cebc76e4098ada61de
Returns viewable categorie id's for a user for a specific student
[ { "docid": "a191d98cc042645a4664f8da4dbde02c", "score": "0.65620375", "text": "public List<Long> getCategoriesForUserForStudentView(Long gradebookId, String userId, String studentId, List<Long> categories, List<String> sectionIds) throws IllegalArgumentException;", "title": "" } ]
[ { "docid": "64dba91b21c52b621d02bf52b4c7a209", "score": "0.64981234", "text": "public List<String> getViewableStudentsForUser(String gradebookUid, String userId, List<String> studentIds, List<CourseSection> sections);", "title": "" }, { "docid": "91d76a637ab349a789beab10b7a7021c", "score": "0.64323515", "text": "public List<String> getViewableStudentsForUser(Long gradebookId, String userId, List<String> studentIds, List<CourseSection> sections);", "title": "" }, { "docid": "792008faa96e21b43f8da678e5daac42", "score": "0.6034526", "text": "int getStudentId(String userName);", "title": "" }, { "docid": "d8e9f55abddd36692bc3f5e0529df263", "score": "0.5937251", "text": "List<CourseResult> findForStudent(User student);", "title": "" }, { "docid": "a96cb1b8124c4e856fa84c4fb5eb70b6", "score": "0.57999384", "text": "public List<Grade> getGradesByStudent(Long userId) ;", "title": "" }, { "docid": "04376c11b673aa1ba446088c61a1ff0e", "score": "0.5772862", "text": "@Override\n public Collection<Course> findByStudentId(int studentId) {\n ArrayList<Course> findStudentId = new ArrayList<>();\n for (Course course : courses) {\n if(course.getStudents().getId() == studentId);\n }\n return courses;\n }", "title": "" }, { "docid": "0d8697f6cb054a56a4189098bab44074", "score": "0.57643974", "text": "public List<UserBean> getStudentById(int userId);", "title": "" }, { "docid": "8bc9243bdb493c5cd81c23b0edb83772", "score": "0.5732353", "text": "public Map<String, String> getStudentsForItem(String gradebookUid, String userId, List<String> studentIds, GradingCategoryType cateType, Long categoryId, List<CourseSection> courseSections) throws IllegalArgumentException;", "title": "" }, { "docid": "a2a8b5505a19eeaf77cc2b2e83dc32b2", "score": "0.5694803", "text": "private List<Integer> getStudentTeachers(int userId)\n {\n \tList<Integer> teachers=new ArrayList<Integer>();\n \t\n Connection conn = null;\n PreparedStatement stmt = null;\n try {\n conn = getConnection();\n\n String sql = \"SELECT distinct (SELECT USER_ID FROM user_login where USER_NM=tcs.TEACHER_ID)as USER_ID FROM teacher_courses tcs inner join user_cls_map ucm on ucm.SCHOOL_ID=tcs.SCHOOL_ID and ucm.CLASS_ID=tcs.CLASS_ID and ucm.HRM_ID=tcs.HRM_ID where ucm.USER_ID=? union SELECT USER_ID FROM user_login where USER_TYPE_ID=2 and USER_ID=?\";\n stmt = conn.prepareStatement(sql);\n stmt.setInt(1, userId);\n stmt.setInt(2, userId);\n \n ResultSet rs = stmt.executeQuery();\n while(rs.next()) {\n \tteachers.add(rs.getInt(1));\n }\n\n } catch (SQLException se) {\n System.out.println(\"getTeacherIdToAssignmentSubmitted # \" + se);\n } catch (Exception e) {\n System.out.println(\"getTeacherIdToAssignmentSubmitted # \" + e);\n } finally {\n closeResources(conn, stmt, null);\n }\n \n \treturn teachers;\n }", "title": "" }, { "docid": "2f9c782e1c2a1c12a47a3430093ba8fa", "score": "0.5689658", "text": "public List<Grade> getGradesActiveByStudent(Long userId);", "title": "" }, { "docid": "7caf518bf508734766e7daff11bcbd3a", "score": "0.5687545", "text": "List<Grade> getByStudent(SystemUser user);", "title": "" }, { "docid": "bdaaeff0f99cfdf44fd0abd9f23b1632", "score": "0.5685325", "text": "public Grade getActiveByStudentByCourse(Long userId,Long courseId);", "title": "" }, { "docid": "9dd9c8b4611189d86f3ce081a9ed7281", "score": "0.5681227", "text": "public Map<String, String> getStudentsForItem(Long gradebookId, String userId, List<String> studentIds, GradingCategoryType cateType, Long categoryId, List<CourseSection> courseSections) throws IllegalArgumentException;", "title": "" }, { "docid": "ec586bbebe920a3846f74036eda9ee42", "score": "0.5635337", "text": "@Override\r\n\tpublic int getStudentId(String userName) {\r\n\r\n\t\treturn sDao.getStudentId(userName);\r\n\r\n\t}", "title": "" }, { "docid": "fd4048d2ae5a3c312b662b0889827c98", "score": "0.56073415", "text": "@Override\r\n\tpublic JSONObject getStudentInfoByClassId(Long classId) {\n\t\tJSONObject json = new JSONObject();\r\n\t\tjson.put(\"status\", \"1\");\r\n\t\tString hql = \"select u from ClassUser cu , User u where cu.userId = u.id and u.type = 3 and cu.classId = ?\";\r\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\tList<User> lstUser = userDao.createQuery(hql, classId).list();\r\n\t\tif (lstUser != null && lstUser.size() > 0) {\r\n\t\t\tjson.put(\"users\", lstUser);\r\n\t\t}\r\n\t\treturn json;\r\n\t}", "title": "" }, { "docid": "ce9d37810ba8f8657be89bf5148afdb6", "score": "0.55285513", "text": "public int countByStudentId(long studentId);", "title": "" }, { "docid": "3278c61548d22ee464324ef9c49b8c32", "score": "0.54574823", "text": "List<CourseClass> fetchClasses(Long studentId, String semesterName);", "title": "" }, { "docid": "9856bcfd69f8eff1fd8ace63fe98c60e", "score": "0.5449822", "text": "@GetMapping(\"/api/course/student\")\n\tpublic Course[] findStudentCourses(HttpSession session) {\n\t\tStudent student = (Student) session.getAttribute(\"current_user\");\n\t\tif (student != null) {\n\t\t\t// Student student = data.get();\n\t\t\tList<Section> sections = (List<Section>) student.getEnrolledSections();\n\t\t\tList<Course> courses = (List<Course>) findAllCourses();\n\t\t\tHashSet<Course> res = new HashSet<Course>();\n\t\t\t\n\t\t\tif(sections!= null && sections.size()>0) {\n\t\t\t\tfor (Section section : sections) {\n\t\t\t\t\tfor (Course course : courses) {\n\t\t\t\t\t\tif (course.getSections().stream().anyMatch(t -> t.getId() == (section.getId()))) {\n\t\t\t\t\t\t\tres.add(course);\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\n\t\t\tCourse c[] = new Course[res.size()];\n\t\t\tint i = 0;\n\t\t\tfor (Object o : res) {\n\t\t\t\tc[i++] = (Course) o;\n\t\t\t}\n\t\t\treturn c;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f82b1fbf861b8bf130f2a28cecabfcb9", "score": "0.54353154", "text": "List<Course> selectStartedCoursesByStudent(int studentId);", "title": "" }, { "docid": "4ba6d19c2c8407dbb4b1e3fbcff6e148", "score": "0.53838605", "text": "List<StudyGroup> findUserStudyGroups(Long userID);", "title": "" }, { "docid": "2ccc07c41235a85f274ac573441b707e", "score": "0.53661007", "text": "public Student getStudent(String id);", "title": "" }, { "docid": "af6392fd42dac57782aacfa6b2b31447", "score": "0.5342091", "text": "@GetMapping(value = { \"/viewStudentTerms/\", \"/viewStudentTerms\" })\n\tpublic List<CoopTermDto> viewStudentTerms(@RequestParam Integer userId) {\n\t\tList<CoopTerm> coopTerms = new ArrayList<>();\n\t\tcoopTerms = service.getCoopTermByUserId(userId);\n\t\tList<CoopTermDto> coopTermDtoList = new ArrayList<>();\n\t\tcoopTermDtoList = convertToDto(coopTerms);\n\t\treturn coopTermDtoList;\n\n\t}", "title": "" }, { "docid": "7557a57d7412c06dea34f1d4f3dd16c2", "score": "0.5306531", "text": "public List<Course> getCoursesForRegistration(Student student);", "title": "" }, { "docid": "4bce59b9288723a1b827a63bb1fec62f", "score": "0.52967054", "text": "public String getStudentId() { return studentId; }", "title": "" }, { "docid": "3cd92dc82fe99ae18cb956cbf49f49e2", "score": "0.5279632", "text": "java.lang.String getUserIds(int index);", "title": "" }, { "docid": "3cd92dc82fe99ae18cb956cbf49f49e2", "score": "0.5279632", "text": "java.lang.String getUserIds(int index);", "title": "" }, { "docid": "06b6879521438c98aeabac34f50b7219", "score": "0.52629983", "text": "@ModelMethod(functionality = Functionality.REGISTER_STUDENT_COURSES)\n\tpublic static Map<Semester, List<BaseCourseSpec>> listStudentCourses(Long studentId) {\n\n\t\tLong currentSemesterId = DModel.currentSemesterId();\n\t\tlong departmentLevel = ofy().load().type(StudentEntity.class).id(studentId).safe().getDepartmentLevel();\n\n\t\treturn listCoursesForSemesterLevel(departmentLevel, currentSemesterId);\n\t}", "title": "" }, { "docid": "e5627ab2679df8787629b2712fb8bba2", "score": "0.5260968", "text": "public static List<Project> getAllByUserDiscipline(String emailUser, Long id_discipline){\n return find\n .fetch(\"students\")\n .where()\n .eq(\"discipline.id\", id_discipline)\n .eq(\"students.student.email\", emailUser)\n .orderBy(\"creationDate desc\")\n .findList();\n }", "title": "" }, { "docid": "949ba83844cd5284f44c8442763f6817", "score": "0.52580774", "text": "public List<User> getStudentDetailsById() {\n\t\tSystem.out.println(\"Calling getStudentDetailsById() Method Details For Student Id?= \" + id);\n\t\tdbObj = new DatabaseOperations();\t\t\n\t\tstudentList = dbObj.getStudentById(id);\n\t\tfor(User selectedStud : studentList) {\n\t\t\tname = selectedStud.getName();\n\t\t\tdepartment = selectedStud.getDepartment();\n\t\t}\n\t\tSystem.out.println(\"Fetched Id? \" + id + \" Details Are: Name=\" + name + \", Department=\" + department);\n\t\treturn studentList;\n\t}", "title": "" }, { "docid": "f0b7eae3943954ba43e3e3207b6e1aa7", "score": "0.5255052", "text": "List<Course> selectEndedCoursesByStudent(int studentId);", "title": "" }, { "docid": "33e0aa90d257804749253ad08eca997b", "score": "0.5244242", "text": "public Map<String, String> getCourseGradePermission(String gradebookUid, String userId, List<String> studentIds, List<CourseSection> courseSections) throws IllegalArgumentException;", "title": "" }, { "docid": "d16531f01b2f4fc962e6cad5329d5dfd", "score": "0.5233185", "text": "public List<Course> getCoursesForStudent(String login);", "title": "" }, { "docid": "a3c8927692b84213350333fb515d0f8c", "score": "0.52295005", "text": "@GET\n @Path(\"view-student-in-course/{courseId}\")\n @Produces(MediaType.APPLICATION_JSON)\n public Response viewStudents(@PathParam(\"professorId\")\n @DecimalMin(value = \"201\", message = \"Professor ID range starts from 201.\")\n @DecimalMax(value = \"299\", message = \"Professor ID range till 299 only.\")\n @NotNull(message = \"ProfessorID cannot be null\")\n int professorId,\n @PathParam(\"courseId\")\n @DecimalMin(value = \"101\", message = \"Course ID range starts from 101.\")\n @DecimalMax(value = \"199\", message = \"Course ID range till 199 only.\")\n @NotNull(message = \"CourseID cannot be null\")\n int courseId) {\n ProfessorInterface professorOperation = new ProfessorOperation(professorId);\n List<Student> studentsInCourse = null;\n try {\n studentsInCourse = professorOperation.viewStudents(courseId);\n } catch (CourseNotAccesibleException e) {\n return Response.status(401).entity(e.getMessage()).build();\n }\n JSONArray jsonArray = new JSONArray();\n for (Student student : studentsInCourse) {\n JSONObject studentJson = new JSONObject();\n studentJson.put(\"Student Id\", student.getStudentId());\n studentJson.put(\"Name\", student.getName());\n studentJson.put(\"Gender\", student.getGender());\n studentJson.put(\"Semester\", student.getSemester());\n studentJson.put(\"Branch\", student.getBranch());\n jsonArray.add(studentJson);\n }\n return Response.status(200).entity(jsonArray.toJSONString()).build();\n\n }", "title": "" }, { "docid": "68ca5aa7242e679dfaab2e124e2f5f35", "score": "0.52201027", "text": "public List<Grade> getByCoordinator(Long idUser);", "title": "" }, { "docid": "ca3a0c27302d6900e99f3ff591f2cf7d", "score": "0.52159256", "text": "public Integer getStudentId() {\n return studentId;\n }", "title": "" }, { "docid": "ca3a0c27302d6900e99f3ff591f2cf7d", "score": "0.52159256", "text": "public Integer getStudentId() {\n return studentId;\n }", "title": "" }, { "docid": "dae8b6ebb81ae83ed8ca12bc7ab70452", "score": "0.51839745", "text": "public Map<String, String> getCourseGradePermission(Long gradebookId, String userId, List<String> studentIds, List<CourseSection> courseSections) throws IllegalArgumentException;", "title": "" }, { "docid": "b64ea6b2cf125b3c0c9115ff7f7fc373", "score": "0.5163424", "text": "public int getCurStId(){\n int stId;\n User u = new User();\n u.getCurIdCurLevel();\n int crUid = u.curUid;\n int crLevel = u.curUlevel;\n if(crLevel == 4){\n try {\n ps3 = con.prepareStatement(\"SELECT `id` FROM `students` WHERE `user_id` = ?\");\n ps3.setInt(1, crUid);\n\n ResultSet rs = ps3.executeQuery();\n if (rs.next()) {\n stId = rs.getInt(1);\n return stId;\n\n }\n }catch (Exception e) {\n e.printStackTrace();\n }\n stId=0;\n return stId;\n }\n else{\n stId=0;\n return stId;\n }\n\n }", "title": "" }, { "docid": "adb3c11854863e88b8433810ca9a18d6", "score": "0.515928", "text": "List<Course> selectNotStartedCoursesByStudent(int studentId);", "title": "" }, { "docid": "2ade51dd8ead9803cb9806df4712b592", "score": "0.5149853", "text": "public Map<Long, String> getAvailableItemsForStudent(String gradebookUid, String userId, String studentId, List<CourseSection> courseSections) throws IllegalArgumentException;", "title": "" }, { "docid": "a536dc6c123fef8476b818181ed2fc95", "score": "0.51325434", "text": "Student getStudentById(Long id);", "title": "" }, { "docid": "1bb22ad2a2128bc8008ea80b86c5332a", "score": "0.51180345", "text": "public Integer getStudentid()\n {\n return this.studentid;\n }", "title": "" }, { "docid": "21f602627474aa36a6c9b954bb224f13", "score": "0.51079196", "text": "@Override\n\tpublic void displayStudentCoursesOwned(Student student) {\n\n\t}", "title": "" }, { "docid": "9d522f106c5e54bfbfdde4f5ef54f317", "score": "0.5107694", "text": "public void printStudentCourses(String studentId) {\r\n\t\tSet<String> studentIDsList = students.keySet();\r\n\r\n\t\tfor (String x : studentIDsList) {\r\n\t\t\tif (students.get(x).getId().equals(studentId)) {\r\n\t\t\t\tfor (int y = 0; y < students.get(x).courses.size(); y++) {\r\n\t\t\t\t\tif (students.get(x).courses.get(y).getActive()) {\r\n\t\t\t\t\t\tSystem.out.println(students.get(x).courses.get(y).getDescription());\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": "ba7d2f827c4afbe0ba8540ad07c819d5", "score": "0.5104235", "text": "public Map<Long, String> getAvailableItemsForStudent(Long gradebookId, String userId, String studentId, List<CourseSection> courseSections) throws IllegalArgumentException;", "title": "" }, { "docid": "0a893b8f58eb6eba7c5944ee3e6d731e", "score": "0.5079588", "text": "public List<CourseMember> getStudentCourses(int id) {\n DaoFactory factory = DaoFactory.getFactory();\n CourseMemberDao courseMemberDao = factory.createCourseMemberDao();\n return courseMemberDao.findByStudentID(id);\n }", "title": "" }, { "docid": "00ac4a41093e30718c64459bace73331", "score": "0.5074084", "text": "public Integer studentId() {\n //TODO implement studentId()\n return 0;\n }", "title": "" }, { "docid": "87805d1393878a48174bc5a82663a281", "score": "0.50677454", "text": "public Map<String, Map<Long, String>> getAvailableItemsForStudents(String gradebookUid, String userId, List<String> studentIds, List<CourseSection> courseSections) throws IllegalArgumentException;", "title": "" }, { "docid": "a4c15b9c166ee640a42fba725ba054f4", "score": "0.50676304", "text": "@RequestMapping(\"/{user_id}\")\n\tpublic List<CatelogItem> getCatelog(@PathVariable(\"user_id\") String user_id ){\n\t\tUserRating ratings = restTemplate.getForObject(\"http://rating-data-service/ratingData/users/\"+user_id,UserRating.class);//calling by eureka service discovery\n\n\t\treturn ratings.getUserRating().stream().map(rating->{\n\t\t\t//Movie movie =restTemplate.getForObject(\"http://localhost:5002/movies/\"+rating.getMovieId(), Movie.class);\n\t\t\tMovie movie =restTemplate.getForObject(\"http://movie-info-service/movies/\"+rating.getMovieId(), Movie.class);\n\t\t\tCatelogItem cat = new CatelogItem(movie.getName(), \"ggg\", rating.getRating());\n\t\t\treturn cat;\n\t\t})\n\t\t\t\t.collect(Collectors.toList());\n\t}", "title": "" }, { "docid": "29a19dbfc578549d60d244ea73aa59be", "score": "0.50674516", "text": "public String getStudent() {\n return this.studentId;\n }", "title": "" }, { "docid": "2624619966cfdc24181dafbe905349f3", "score": "0.5065934", "text": "Student selectByStudentId(Integer studentId);", "title": "" }, { "docid": "4fb4102a2df5d6f036942ef2a1ca2fc9", "score": "0.50599957", "text": "public String getStudentId() {\r\n return studentId;\r\n }", "title": "" }, { "docid": "6419a109484127a1167d6679dee6264f", "score": "0.50343347", "text": "public Student fetchByStudentId(long studentId);", "title": "" }, { "docid": "65dfdbc5ba4797d62fde84630379c88b", "score": "0.5031645", "text": "public String getStudentId()\r\n\t{\r\n\t\treturn studentId;\r\n\t}", "title": "" }, { "docid": "bb8c70fdeba0b34e735badb1f071fd7e", "score": "0.5030824", "text": "public ArrayList<com.cse.tansik.DTO.User> getAllStudent();", "title": "" }, { "docid": "1abfcb37aa03927f223a9c9ee639d158", "score": "0.50282973", "text": "public List<Long> getCategoriesForUser(Long gradebookId, String userId, List<Long> categoryIdList) throws IllegalArgumentException;", "title": "" }, { "docid": "e376c6d595c3d4151158a22faabad713", "score": "0.5026491", "text": "@RequestMapping(\"/{userId}\")\n\tpublic List<MovieCatalogEntity> getCatalog(@PathVariable(\"userId\") String userId){\n\t\tUserRating ratings = movieRatingService.getRatings(userId);\n\t\t//for each movie id, call movie info service and get details.\n\t\treturn ratings.getUserRating().stream()\n\t\t.map(rating -> movieInfoService.getMovieInfo(rating))\n\t\t.collect(Collectors.toList());\n\t}", "title": "" }, { "docid": "b4ebb88a50c2831ea8d36c2490f5b59a", "score": "0.5015512", "text": "public void setStudentId(Integer studentId) {\n this.studentId = studentId;\n }", "title": "" }, { "docid": "b4ebb88a50c2831ea8d36c2490f5b59a", "score": "0.5015512", "text": "public void setStudentId(Integer studentId) {\n this.studentId = studentId;\n }", "title": "" }, { "docid": "004c8093ebe23fba7cc89aa43198df8d", "score": "0.5008796", "text": "private ArrayList<Class> classesStudent(Connection connection, int sid)\r\n {\r\n try {\r\n PreparedStatement st = connection.prepareStatement(\"SELECT DISTINCT C.cid, C.cname, C.csection, C.cnum, C.cquarter, C.ctype, U2.uname FROM Class C, enrolls_in E, teaches T, Usr U, Usr U2 WHERE U.uid = ? AND U.uid = E.uid AND C.cid = E.cid AND T.cid = E.cid AND U2.uid = T.uid ORDER BY cnum ASC, csection ASC, U2.uname ASC\");\r\n st.setInt(1, sid);\r\n ResultSet rs = st.executeQuery();\r\n ArrayList<Class> classes = new ArrayList<Class>();\r\n ArrayList<ArrayList<Vector>> snames = new ArrayList<ArrayList<Vector>>();\r\n\r\n while (rs.next()) {\r\n String cname = rs.getString(\"cname\").trim();\r\n String cnum = rs.getString(\"cnum\").trim();\r\n String csection = rs.getString(\"csection\").trim();\r\n String cquarter = rs.getString(\"cquarter\").trim();\r\n String uname = rs.getString(\"uname\").trim();\r\n\r\n if (rs.getString(\"ctype\").trim().equals(\"LECTURE\")) {\r\n Lecture lec = new Lecture(cnum, csection, cname, cquarter, uname);\r\n classes.add(lec);\r\n } else if (rs.getString(\"ctype\").trim().equals(\"DISCUSSION\")) {\r\n Discussion dis = new Discussion(cnum, csection, cname, cquarter, uname);\r\n classes.add(dis);\r\n } else {\r\n Lab lab = new Lab(cnum, csection, cname, cquarter, uname);\r\n classes.add(lab);\r\n }\r\n\r\n /* For each class, get the list of the students' name and login, and save it */\r\n /* Here, it is useless, but we need to do it to avoid throwing NullPointer exceptions */\r\n PreparedStatement students = connection.prepareStatement(\"SELECT U.uname, U.unetid FROM Usr U, enrolls_in E WHERE E.cid = ? AND E.uid = U.uid ORDER BY unetid ASC\");\r\n students.setInt(1, rs.getInt(\"cid\"));\r\n ResultSet rstudents = students.executeQuery();\r\n\r\n ArrayList<Vector> tmp = new ArrayList<Vector>();\r\n while (rstudents.next())\r\n {\r\n Vector v = new Vector(2);\r\n v.add(0, rstudents.getString(\"uname\").trim());\r\n v.add(1, rstudents.getString(\"unetid\").trim());\r\n tmp.add(v);\r\n }\r\n snames.add(tmp);\r\n }\r\n studentsList(snames);\r\n\r\n //severalInstructors(classes);\r\n return classes;\r\n }\r\n catch(SQLException e){\r\n e.printStackTrace();\r\n return new ArrayList<Class>();\r\n }\r\n }", "title": "" }, { "docid": "cd23af4adf3a9d6f2c95acc1c56921a2", "score": "0.50082", "text": "StudentCourse findStudentCourseByStudentCourseId(@Param(\"studentCourseId\") String id);", "title": "" }, { "docid": "e7364c10d124e3ff8a95c8c3465b3010", "score": "0.49973214", "text": "public List<ShiJuan> selByKsrSjNum(Integer userId) {\n\t\tList<ShiJuan> list = shiJuanMapper.selByKsrSjNum(userId+\"\");\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "a480f9d89cb5632016d6822c4f6b9805", "score": "0.4997019", "text": "public Student findById(int theStudent_id);", "title": "" }, { "docid": "a83a2b9bfd8dddb6a45e56dad12080ec", "score": "0.4994965", "text": "List<Enrollment> findByStudentId(Long id);", "title": "" }, { "docid": "b952f20cd7a0eb9d99c49e1f40a63dc9", "score": "0.49924675", "text": "public void setStudentid( Integer studentid )\n {\n this.studentid = studentid ;\n }", "title": "" }, { "docid": "08b96454260918775fb2a8cb52e9bc18", "score": "0.49731746", "text": "public String getStudentId() {\n return studentId;\n }", "title": "" }, { "docid": "582a0f8c7e3289f38e05df74154392fb", "score": "0.4967678", "text": "@Override\r\n\tpublic Student getStudent(String userId) throws Exception {\n\t\treturn (Student)sqlSession.selectOne(\"StudentMapper.getStudent\",userId);\r\n\t}", "title": "" }, { "docid": "c64b07a4a9f76788c9887b0fdc9f581d", "score": "0.4960868", "text": "public Map<String, Map<Long, String>> getAvailableItemsForStudents(Long gradebookId, String userId, List<String> studentIds, List<CourseSection> courseSections) throws IllegalArgumentException;", "title": "" }, { "docid": "b166f947d26faefbe6194fdaa5c6b71e", "score": "0.49596354", "text": "List getStudentsByClassNameClassId(long classNameClassId,long customerId);", "title": "" }, { "docid": "2b22e69ac2b8961fc571ff6a18d96e32", "score": "0.49564505", "text": "@Override\n\tpublic RegisteredCourses viewRegisteredCourses(int studentId, int semesterId) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c311863dcf9a68e4d80318da5973a9c7", "score": "0.4954608", "text": "public int getStudent_ID() {\r\n return student_ID;\r\n }", "title": "" }, { "docid": "86a8224b6c5f57fa10036df5750f5066", "score": "0.49519354", "text": "Student getStudentById(Integer studentid) throws StudentNotFoundException;", "title": "" }, { "docid": "4264ec2548622b32763a14e6acf0dc7f", "score": "0.49499872", "text": "public List getGradeByProfessors(Long userId);", "title": "" }, { "docid": "4145a93a82bdf0274861873ca1626edd", "score": "0.49479964", "text": "@RequestMapping(\"/{userId}\")\r\n\r\n\tpublic List<CatalogItem> getCatalogs(@PathVariable String userId) {\n\r\n\t\tUserRating ratings = rest.getForObject(\"http://rating_data_info/ratingsdata/users/\" + userId, UserRating.class);\r\n\r\n\t\treturn ratings.getUserRating().stream().map(r -> {\r\n\t\t\tMovie m = rest.getForObject(\"http://movie_info_service/movies/\" + r.getMovieId(), Movie.class);\r\n\t\t\treturn new CatalogItem(m.getName(), \"test desc\", r.getRating());\r\n\r\n\t\t}).collect(Collectors.toList());\r\n\r\n\t\t// return Collections.singletonList(new CatalogItem(\"Transformer\", \"Transformer\r\n\t\t// Test\", 2));\r\n\r\n\t}", "title": "" }, { "docid": "036202bd426e01961d52289f69448756", "score": "0.4946689", "text": "@Override\n public int InicioSesion(String usuario, String contrasena) throws RemoteException {\n int categoria = 0;\n ResultSet consulta = null;\n String cadenaBD = \"SELECT id_categoria FROM usuarios_login WHERE nombre_usuario ='\" + usuario + \"' AND contrasena = MD5('\" + contrasena + \"')\";\n try {\n conexion.conectar();\n consulta = conexion.executeQueryStatement(cadenaBD);\n if (consulta != null) {\n try {\n while (consulta.next()) {\n categoria = consulta.getInt(1);\n }\n } catch (Exception ex) {\n System.err.println(ex.getMessage());\n }\n }\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n conexion.closeConecction();\n return categoria;\n }", "title": "" }, { "docid": "e4aab6a6e6cd77d770ee2335953d6a10", "score": "0.49235806", "text": "public Long getStudentid() {\n return studentid;\n }", "title": "" }, { "docid": "b1e4331600aa121bb8e3217eddc6ef71", "score": "0.49195808", "text": "private GenericContainerBeanList getSelectableStudent(String courseName){\n\t\treturn getSelectableStudent(courseName, null);\n\t}", "title": "" }, { "docid": "aaa91a25bce22b5bc7be0c18ea6b1138", "score": "0.49154758", "text": "public static List<StudentBean> getStudentListBySex(int sexId){\n List<StudentBean> list = new ArrayList<>();\n String sex = \"男\";\n if (sexId == 0){\n sex = \"女\";\n }\n String sql = \"select * from StudentTable where sex=?\";\n try {\n PreparedStatement preparedStatement = connection.prepareStatement(sql);\n preparedStatement.setString(1,sex);\n ResultSet resultSet= preparedStatement.executeQuery();\n while (resultSet.next()){\n StudentBean studentBean = new StudentBean();\n studentBean.setId(resultSet.getInt(1));\n studentBean.setStudentID(resultSet.getString(2));\n studentBean.setStudentName(resultSet.getString(3));\n studentBean.setSex(resultSet.getString(4));\n studentBean.setMajorName(resultSet.getString(5));\n studentBean.setGrade(resultSet.getInt(6));\n studentBean.setClassNum(resultSet.getString(7));\n studentBean.setBuildNumber(resultSet.getInt(8));\n studentBean.setDormNumber(resultSet.getInt(9));\n list.add(studentBean);\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return list;\n }", "title": "" }, { "docid": "99f813343654022c43bf8685c1cbe090", "score": "0.49077722", "text": "public void viewStudents() {\n for (Student s : sList.values()) {\n System.out.println(s.nameID());\n }\n }", "title": "" }, { "docid": "3cd84199f69516ec9f0016185c31b176", "score": "0.49031866", "text": "public void setStudentId(String studentId) {\r\n this.studentId = studentId;\r\n }", "title": "" }, { "docid": "ff7f2ef76dfddab3500e7b17f86607f1", "score": "0.49028388", "text": "@Override\n\tpublic void displayStudentCoursesOwned(Student student) {\n\t\t// TODO Auto-generated method stub\n\t\t//this does not do anything since the student's stats are always displaying\n\t}", "title": "" }, { "docid": "22a6d454803ed6219195f04a5dc73968", "score": "0.49007624", "text": "public int getStudentID() \n {\n return studentID;\n }", "title": "" }, { "docid": "8a5cc6bc10883a032848f61eabec62f0", "score": "0.48990092", "text": "public List<SurveyQuestionDTO> fetchUserIdFromSurvey(int userType) throws DAOException;", "title": "" }, { "docid": "13c9935708d11b7e208051074ca99723", "score": "0.48929662", "text": "public int generateId(boolean student) {\n int returnInt = -1;\n if (!student) {\n for (int i = 80000000; i <= 99999999; i++) {\n if (users.getUser(i) == null) {\n returnInt = i;\n break;\n }\n }\n } else {\n for (int i = 00000000; i <= 79999999; i++) {\n if (users.getUser(i) == null) {\n returnInt = i;\n break;\n }\n }\n }\n return returnInt;\n }", "title": "" }, { "docid": "93f3b35980822a8559510d1a63f488db", "score": "0.48788065", "text": "StudentChos selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "da6680a65f3aeffa2a5ef4b5b1c39b11", "score": "0.4876628", "text": "long getStudentsCountBycustIdandStatus(long custId,String status);", "title": "" }, { "docid": "6c6c217336b6c6a36b776ff9a4b75d96", "score": "0.48666131", "text": "List<Student> getStudents();", "title": "" }, { "docid": "3e2b1ede47fee9c6076443408dc86bad", "score": "0.48660782", "text": "public List selectByUserid(Long userid) {\n\t\tif(userid==null)\n\t\t\treturn new ArrayList();\n\t\tList list = this.queryForList(\"Custstatus.selectByUserid\", userid);\n\t\treturn list;\n }", "title": "" }, { "docid": "2a06325cb50adbf4b3e9216a2ebba640", "score": "0.48638454", "text": "public ArrayList<String> displayCourses(String studentID) {\n\n\t\tArrayList courseList = new ArrayList<String>();\n\t\testablishConnection(url, username, password);\n\n\t\tString SQLString = \"\";\n\n\t\tStatement mystatment = null;\n\t\tResultSet myRS = null;\n\n\t\ttry {\n\t\t\tmystatment = myconnection.createStatement();\n\t\t\tSQLString = \"SELECT profiles.id,profiles.firstName,profiles.lastName,courses.prefix,courses.id FROM vaqchat.courses INNER JOIN vaqchat.profiles ON profiles.id=courses.profileid WHERE profiles.id LIKE\" + \"\\'\"+ studentID + \"\\';\";\n\t\t\tmyRS = mystatment.executeQuery(SQLString);\n\n\t\t\tif (myRS.isBeforeFirst()) {\n\t\t\t\t//currentUser = new User();\n\t\t\t}\n\t\t\twhile (myRS.next()) {\n\t\t\t\tString addCourses = myRS.getString(\"prefix\");\n\t\t\t\tcourseList.add(addCourses);\n\n\t\t\t\t//System.out.println(\"id is: \" + myRS.getInt(\"iduser\"));\n\t\t\t\tSystem.out.println(myRS.getString(\"profiles.firstName\") + \" \" + myRS.getString(\"profiles.lastName\") + \"'s courses: \" \n\t\t\t\t\t+ myRS.getString(\"courses.prefix\")+\" - \"+myRS.getString(\"courses.id\"));\n\t\t\t}\n\t\t} catch (Exception e) {\n\n\t\t\tSystem.out.println(\"stack:\" + e.getMessage());\n\t\t}\n\n\t\tSystem.out.println(\"\\nARRAY OF COURSES: \" + courseList);\n\n\t\treturn courseList;\n\n\t}", "title": "" }, { "docid": "0e69fd17f437b252a020bb0fc80d3009", "score": "0.48633683", "text": "java.lang.String getIdUser();", "title": "" }, { "docid": "3b76e19003c35e18e67ad2c1d11c7619", "score": "0.48560864", "text": "@RequestMapping(\"/users/{userId}/categories\")\n\tpublic List<Category> getAllCategories(@PathVariable Long userId) {\n\t\treturn categoryService.getAllCategories(userId);\n\t}", "title": "" }, { "docid": "c604709545417d042fc49a81e78ab16a", "score": "0.4853321", "text": "@GetMapping(\"/enrolled\")\n public String getEnrolledCourses(Model model){\n AppUserDetails userDetails = (AppUserDetails) SecurityContextHolder.getContext().getAuthentication().getPrincipal();\n int dummyId = userDetails.getUserId();\n\n\n Collection<Enrolment> enrolled = studentService.findEnrolmentByStudentAndStatus(dummyId,\"ENROLLED\");\n Collection<Enrolment> completed = studentService.findEnrolmentByStudentAndStatus(dummyId,\"COMPLETED\");\n if(enrolled == null){\n return \"Student/student\";\n }\n else{\n model.addAttribute(\"enrolls\",enrolled);\n model.addAttribute(\"completed\",completed);\n return \"Student/studentEnrolled\";\n }\n }", "title": "" }, { "docid": "d910f7536411b93dc71e339abc4f3d34", "score": "0.48482394", "text": "@RequestMapping(method = RequestMethod.GET)\n\tpublic ResponseEntity<List<Category>> getCategoryrByUserId(@RequestParam String id, HttpSession session)\n\t\t\tthrows UserUnAuthorized, UserNotFoundException {\n\t\tResponce responce = new Responce();\n\t\tList<String> usersList = (List<String>) session.getAttribute(\"Logged_users\");\n\t\tint rslt = (usersList != null) ? Collections.frequency(usersList, id) : 0;\n\t\tif (rslt == 0) {\n\t\t\tthrow new UserUnAuthorized(\"Un Authorized\");\n\t\t}\n\t\tList<Category> categories=null;\n\t\ttry {\n\t\t\tcategories= categoryService.getAllCategoryByUserId(id);\n\t\t\tresponce.setMessage(\"OK\");\n\t\t\tresponce.setStatus(HttpStatus.OK.value());\n\t\t} catch (UserNotFoundException e) {\n\t\t\tthrow e;\n\t\t}\n\t\treturn new ResponseEntity<List<Category>>(categories, HttpStatus.OK);\n\t}", "title": "" }, { "docid": "cede1d6fb5995c0f0fff5257dedb2b95", "score": "0.4848225", "text": "@RequestMapping(\"/{userId}\")\n\tpublic List<CatalogItem> getCatalog(@PathVariable(\"userId\") String userId) {\n\t\t UserRating userRating = restTemplate.getForObject(\"http://rating-data-service/ratings/\"+userId, UserRating.class) ;\n\t\t\n\t\t//For every movie id call Movie service to get movie information and Put them all together\n\t\tList<CatalogItem> catalogItem = userRating.getRatingsList().stream()\n\t\t\t\t.map(rating -> getCatalogItem(rating))\n\t\t\t\t.collect(Collectors.toList());\n\t\t\n\t\t\n\t\treturn catalogItem;\n\t}", "title": "" }, { "docid": "43cc098b047fd849d542cee3e8aeb8c8", "score": "0.4844695", "text": "public List<Subject> getStudentsSubjects(int student) {\n\t\treturn studentRepository.getStudentsSubjects(student);\r\n\t}", "title": "" }, { "docid": "9300c1281dcd597c8317caa9d9eb9e58", "score": "0.48433366", "text": "public String getStudentId() {\r\n\t\treturn studentId;\r\n\t}", "title": "" }, { "docid": "ef00054a6a588553598d843634b41c7c", "score": "0.48291847", "text": "public Student getStudentByLogin(String login);", "title": "" }, { "docid": "ec4ba2e12de176e7dc79233c5bc16bad", "score": "0.48258007", "text": "Set<Course>getCoursesTaughtByProf(String profName);", "title": "" }, { "docid": "740ca68f46b522a46bb301fcf3c422d7", "score": "0.482311", "text": "public String getId() {\n return studentId;\n }", "title": "" }, { "docid": "201170637fbc51cc5eb1493aae0361cf", "score": "0.481902", "text": "public List<User> getListUserBySex(String sex);", "title": "" } ]
9c29f096d39dbed80f9fa800af4cf987
Returns the plain score value of the letter
[ { "docid": "526480ff28c3aedbc1b1fa38f35a17d9", "score": "0.0", "text": "static int valueOf (char input) {\n\t\tswitch (input) {\n\t\tcase 'A':\n\t\tcase 'E': return 1;\n\t\tcase 'D':\n\t\tcase 'R': return 2;\n\t\tcase 'B':\n\t\tcase 'M': return 3;\n\t\tcase 'V':\n\t\tcase 'Y': return 4;\n\t\tcase 'J':\n\t\tcase 'X': return 8;\n\t\tdefault: return -99999;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "a893bcc8a6c3508b80bfa6de9377a434", "score": "0.7086979", "text": "public int getScore (String s)\n {\n int score = 0;\n s = s.toLowerCase();\n for(int i=0; i<s.length();i++)\n {\n score+=alphabetScore[s.charAt(i)-'a'];\n }\n return score;\n }", "title": "" }, { "docid": "3b6ae8b9ef6f3869a87be700ce855877", "score": "0.68225074", "text": "public int getCharScore(int row, int column)\n\t{\n\t\t// Get the face value tile score\n\t\tint score = board[row][column].getScore();\n\n\t\t// Factor in multipliers\n\t\tif (BOARDMAP[row][column] == DOUBLE_LETTER)\n\t\t\tscore *= 2;\n\t\telse if (BOARDMAP[row][column] == TRIPLE_LETTER)\n\t\t\tscore *= 3;\n\n\t\treturn score;\n\t}", "title": "" }, { "docid": "69c9260d077db95efceda8a468527929", "score": "0.6693603", "text": "public String getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "816706801e6f1311c3c0e38f49854166", "score": "0.663272", "text": "double getScore();", "title": "" }, { "docid": "a399cabb27cdb6fecc80244ed62f3f83", "score": "0.6618208", "text": "public java.lang.String getTotalScore()\n {\n return this._totalScore;\n }", "title": "" }, { "docid": "f8ed68fd5245acce950d3e98fe763d04", "score": "0.65881366", "text": "public double getScore();", "title": "" }, { "docid": "9bf757c73b2954e9c81c28bf7c64e4a9", "score": "0.6581061", "text": "abstract double getscore();", "title": "" }, { "docid": "dfce9c5ed69ca3fc76f631bfc0413244", "score": "0.6534892", "text": "double score();", "title": "" }, { "docid": "d93c258710d222236c97701ef1494922", "score": "0.64816123", "text": "float getScore();", "title": "" }, { "docid": "47ee60074cabf831e1acaee2ee924838", "score": "0.64190763", "text": "public long getScore();", "title": "" }, { "docid": "f093bd3504f2938de535ae38e209342e", "score": "0.6414668", "text": "public double score() {\n return score;\n }", "title": "" }, { "docid": "91633b43c02f1c1f889f027a2d0c9d3d", "score": "0.6388404", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getScore();", "title": "" }, { "docid": "7bae29d037ff2b36c05f77a56fd5da6f", "score": "0.6385445", "text": "public int getScore();", "title": "" }, { "docid": "d20e6dfd48e16bdc4b66930218c67b96", "score": "0.6378984", "text": "int getScore();", "title": "" }, { "docid": "d20e6dfd48e16bdc4b66930218c67b96", "score": "0.6378984", "text": "int getScore();", "title": "" }, { "docid": "b3b50f9766087a4a8961fa400690a10c", "score": "0.6348756", "text": "public double getScore(){\n\t\treturn score;\n\t}", "title": "" }, { "docid": "154baba524620438beb51e28bf8d7431", "score": "0.633706", "text": "public String getScoreText() {\n return scoreDate+\" - \"+scoreNum;\n }", "title": "" }, { "docid": "1f3254ef2fb84fd7dbeda6cdc2bed389", "score": "0.63230455", "text": "public int getScore() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "2ffd05b5a7bf587323316da386086b63", "score": "0.6301221", "text": "public double getScore() {\n return this._score;\n }", "title": "" }, { "docid": "77073669518ce887342c86e95868e58f", "score": "0.62959874", "text": "public double getScore() {\n return score;\n }", "title": "" }, { "docid": "77073669518ce887342c86e95868e58f", "score": "0.62959874", "text": "public double getScore() {\n return score;\n }", "title": "" }, { "docid": "77073669518ce887342c86e95868e58f", "score": "0.62959874", "text": "public double getScore() {\n return score;\n }", "title": "" }, { "docid": "77073669518ce887342c86e95868e58f", "score": "0.62959874", "text": "public double getScore() {\n return score;\n }", "title": "" }, { "docid": "b8a794f9fb3f1b275ad0ae95f9aa913b", "score": "0.62707675", "text": "private String letterGrade(double tScoreAvg){\n if(tScoreAvg >= 91){\n return \"A\";\n }else if(tScoreAvg >= 90){\n return \"A-\";\n }else if(tScoreAvg >= 89){\n return \"B+\";\n }else if(tScoreAvg >= 81){\n return \"B\";\n }else if(tScoreAvg >= 80){\n return \"B-\";\n }else if(tScoreAvg >= 79){\n return \"C+\";\n }else if(tScoreAvg >= 71){\n return \"C\";\n }else if(tScoreAvg >= 70){\n return \"C-\";\n }else if(tScoreAvg >= 69){\n return \"D+\";\n }else if(tScoreAvg >= 61){\n return \"D\";\n }else if(tScoreAvg >= 60){\n return \"D-\";\n }else{\n return \"F\";\n }\n }", "title": "" }, { "docid": "f322db06ea2e17b72b5026dbb152802e", "score": "0.62624204", "text": "@Override\r\n\tpublic int getScore() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "18f0dfb4da629cffbfee78101399a749", "score": "0.6257328", "text": "public int GetScore() {\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "9bf181dbc0e9194b53198982e9b9d409", "score": "0.6240931", "text": "private Map<Character, Integer> getLetterScoreFromPercentage(final Map<Character, Long> cntMap) {\n double tot = (double) cntMap.values().stream().mapToLong(i -> i).sum();\n return cntMap.entrySet()\n .stream()\n .collect(Collectors.toMap(\n Map.Entry::getKey,\n e -> {\n double score = (e.getValue() / tot);\n if (score >= 0.10) return 0;\n if (score >= 0.08) return 1;\n if (score >= 0.06) return 2;\n if (score >= 0.04) return 4;\n if (score >= 0.02) return 8;\n if (score >= 0.01) return 16;\n return 32;\n })\n );\n }", "title": "" }, { "docid": "08c958ea59eb703f52aeb8ff728fd920", "score": "0.6227102", "text": "public double getScore() {\n\t\t\n\t\treturn score;\n\t}", "title": "" }, { "docid": "09b5bffed4ad872ad2ff6c1dec001a8b", "score": "0.62221724", "text": "@Override\n\tpublic int scoreName(String name) {\n\t\tint result = 0;\n\t\tfor (int i = 0; i < name.length(); i++) {\n\t\t\tchar ch = name.charAt(i);\n\t\t\tint val = Arrays.binarySearch(chars, ch);\n\t\t\t// Skips non-alphabetic characters such as ' \" '\n\t\t\tif (val >= 0) {\n\t\t\t\t// Add one so we're not off by one (A should be equal to 1)\n\t\t\t\tresult += (val + 1);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "48d0b0d6ebce54cc37def4eaf702ee7b", "score": "0.6219755", "text": "public int getScore() {\r\n return this.score;\r\n }", "title": "" }, { "docid": "48d0b0d6ebce54cc37def4eaf702ee7b", "score": "0.6219755", "text": "public int getScore() {\r\n return this.score;\r\n }", "title": "" }, { "docid": "7761590e513435e4d1f864716a726472", "score": "0.62184083", "text": "public int getScore() {\r\n return score;\r\n }", "title": "" }, { "docid": "7761590e513435e4d1f864716a726472", "score": "0.62184083", "text": "public int getScore() {\r\n return score;\r\n }", "title": "" }, { "docid": "7761590e513435e4d1f864716a726472", "score": "0.62184083", "text": "public int getScore() {\r\n return score;\r\n }", "title": "" }, { "docid": "a4d8251cc8b6afa332c7400e385310e6", "score": "0.62177676", "text": "public static String convert () {\n String score = \"N/A\";\n\n if (!mark.equals(\"No Mark\") && Classroom.markBoundaries[0] != -1) {\n Convert convert = new Convert(Classroom.markBoundaries,\n Classroom.ontarioMarks);\n return convert.IBScore(Double.parseDouble(mark));\n }\n\n return score;\n }", "title": "" }, { "docid": "6c4ce607ad2e248390ef07a489b28cd7", "score": "0.62166184", "text": "@Override\n\tpublic long getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "33d415daa8272a85d812eca472ffa493", "score": "0.621437", "text": "public char getGrade(){\n\t\tchar letterGrade = ' ';\n\t\tif(Essay.this.getTotal() >= 90){\n\t\t\tletterGrade = 'A';\n\t\t}\n\t\telse if(Essay.this.getTotal() >= 80){\n\t\t\tletterGrade = 'B';\n\t\t}\n\t\telse if(Essay.this.getTotal() >= 70){\n\t\t\tletterGrade = 'C';\n\t\t}\n\t\telse if(Essay.this.getTotal() >= 60){\n\t\t\tletterGrade = 'D';\n\t\t}\n\t\telse{\n\t\t\tletterGrade = 'F';\n\t\t}\n\t\treturn letterGrade;\n\t}", "title": "" }, { "docid": "d3e93cab5cb70f6ec78851cf360a6c61", "score": "0.62132394", "text": "public String getScore(int line){\n return allHS[line];\n }", "title": "" }, { "docid": "5b396ba416aa832da03236a332904933", "score": "0.6203542", "text": "public int getScore()\r\n {\r\n return i_score;\r\n }", "title": "" }, { "docid": "151460858a4317744208380f046865be", "score": "0.6202967", "text": "public int getScore() {return score;}", "title": "" }, { "docid": "ce8cbc1455ef521d197f231a0852f90b", "score": "0.62013614", "text": "public int getScore(){//TODO function getScore (),return int score\n\t\treturn score;\n\t}", "title": "" }, { "docid": "f2926a716bbe8af6b631cc94a018c685", "score": "0.6193382", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "d0bb6f3c33a77ec46690818106ec0680", "score": "0.6190644", "text": "public char returnGrade(){\r\n GradeCalculation();\r\n return Grade;\r\n }", "title": "" }, { "docid": "09ecc9d883c0c60c41f1b34a97d77a83", "score": "0.6189291", "text": "public int getScore(){\n\t\treturn this.score;\n\t}", "title": "" }, { "docid": "4d25b730eea2f90df2a51d017fddaf0d", "score": "0.6188562", "text": "public int readScore() {\n try {\n FileInputStream fileInputStream = new FileInputStream(mFile);\n int index;\n String str = \"\";\n index = fileInputStream.read();\n while (index != -1) {\n str += (char) index;\n index = fileInputStream.read();\n }\n score = str;\n fileInputStream.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n if (score.equals(\"\")) {\n return 0;\n }\n return (Integer.valueOf(score));\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.61878", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.61878", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.61878", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.61878", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.61878", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "564fae0f5956c8f402d992a5e514a30c", "score": "0.61829954", "text": "public int getWordScore(String word) {\n int score = 0;\n for (int i = 0; i < word.length(); i++) {\n score += points[letters.indexOf(word.charAt(i))];\n }\n return score;\n }", "title": "" }, { "docid": "11de28dc98e5d009cb25a1c42ed2a626", "score": "0.61803955", "text": "public int getScrabbleScore(String string) {\n\t\t// TODO Write an implementation for this method declaration\n\t\tint output = 0;\n\t\tstring = string.toLowerCase();\n\t\tList<Character> letterVal1 = Arrays.asList('a','e','i','o','u','l','n','r','s','t');\n\t\tList<Character> letterVal2 = Arrays.asList('d','g');\n\t\tList<Character> letterVal3 = Arrays.asList('b','c','m','p');\n\t\tList<Character> letterVal4 = Arrays.asList('f','h','v','w','y');\n\t\tList<Character> letterVal5 = Arrays.asList('k');\n\t\tList<Character> letterVal8 = Arrays.asList('j','x');\n\t\tList<Character> letterVal10 = Arrays.asList('q','z');\n\t\t\n\t\tfor (int i = 0; i<string.length(); i++) {\n\t\t\tif (letterVal1.contains(string.charAt(i))) {\n\t\t\t\toutput+=1;\n\t\t\t} \t\t\t\n\t\t\tif (letterVal2.contains(string.charAt(i))) {\n\t\t\t\toutput+=2;\n\t\t\t} \n\t\t\tif (letterVal3.contains(string.charAt(i))) {\n\t\t\t\toutput+=3;\n\t\t\t} \n\t\t\tif (letterVal4.contains(string.charAt(i))) {\n\t\t\t\toutput+=4;\n\t\t\t} \n\t\t\tif (letterVal5.contains(string.charAt(i))) {\n\t\t\t\toutput+=5;\n\t\t\t} \n\t\t\tif (letterVal8.contains(string.charAt(i))) {\n\t\t\t\toutput+=8;\n\t\t\t} \n\t\t\tif (letterVal10.contains(string.charAt(i))) {\n\t\t\t\toutput+=10;\n\t\t\t} \n\t\t}\t\t\n\t\treturn output;\n\t\t\n\t}", "title": "" }, { "docid": "9dfbca19bb7cf4ca5a3de072da6a5221", "score": "0.61783916", "text": "public double getScore() {\n return quiz.getScore();\n }", "title": "" }, { "docid": "49a9a310ff26b7c32af4a5ae3fd0e65b", "score": "0.6174779", "text": "public double getPartialScore();", "title": "" }, { "docid": "4b389a82183d81d4bb312b7bff471f19", "score": "0.617292", "text": "public Short getScore() {\n return score;\n }", "title": "" }, { "docid": "e1386b43e402e6be558ef745f86e4e63", "score": "0.6154967", "text": "@Override\n\tpublic int getScore() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "a56d54801b553a207cac53c576afa4c0", "score": "0.6154365", "text": "public int getScore()\n\t{\n\t\treturn this.score;\n\t}", "title": "" }, { "docid": "075662b015d5e9131bf49c8edc9350f5", "score": "0.6142806", "text": "public int getScore()\n {\n return score;\n }", "title": "" }, { "docid": "81454eaec607732e9bbf936e81ec8cd5", "score": "0.61258674", "text": "public long getScore() {\n return score;\n }", "title": "" }, { "docid": "0872106678197a82ce483797797933b1", "score": "0.6119521", "text": "public int getScore() {\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "ddd9e5a72802d2fe03b2d400f5cdece8", "score": "0.61188084", "text": "public String scoringText() {\n if (theGame.isATeamSport())\n return \"Enter team id and I'll bump the score by 1 point :)\";\n else\n return \"Enter player id and I'll bump the score by 1 point :)\";\n }", "title": "" }, { "docid": "5646949b33e8c1b02c73f9b83b86a1d7", "score": "0.6109907", "text": "public String accessScoreMethod()\r\n\t{\r\n\t\tSystem.out.println(++m_lineNumber+\". Access Score Method Called\");\r\n\t\t\r\n\t\tdouble score = calculateScoreMethod();\r\n\t\t\r\n\t\tif(score > 97)\r\n\t\t{\r\n\t\t\treturn \"Amazing\";\r\n\t\t}\r\n\t\telse if(score > 80)\r\n\t\t{\r\n\t\t\treturn \"Excellent\";\r\n\t\t}\r\n\t\telse if(score > 60)\r\n\t\t{\r\n\t\t\treturn \"OK\";\r\n\t\t}\r\n\t\telse if(score > 30)\r\n\t\t{\r\n\t\t\treturn \"Lacking\";\r\n\t\t}\r\n\t\telse if(score > 10)\r\n\t\t{\r\n\t\t\treturn \"Suffering\";\r\n\t\t}\r\n\t\telse if(score >= 0)\r\n\t\t{\r\n\t\t\treturn \"Really Bad\";\r\n\t\t}\r\n\t\t\r\n\t\treturn \"Negative\";\r\n\t}", "title": "" }, { "docid": "a75ee5e747abdf054ef468111beadb8b", "score": "0.6101163", "text": "private int additionalScore(int row, int col, char c, boolean horizontal, Dictionary dictionary)\n\t{\n\t\tchar[] line = new char[15];\n\t\tint index;\n\t\tif (horizontal)\n\t\t{\n\t\t\tfor (int i = 0 ; i < 15 ; i++)\n\t\t\t{\n\t\t\t\tif (tiles[i][col] == null)\n\t\t\t\t{\n\t\t\t\t\tline[i] = '\\0';\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tline[i] = tiles[i][col].getLetter();\n\t\t\t\t}\n\t\t\t}\n\t\t\tline[row] = c;\n\t\t\tindex = row;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tfor (int i = 0 ; i < 15 ; i++)\n\t\t\t{\n\t\t\t\tif (tiles[row][i] == null)\n\t\t\t\t{\n\t\t\t\t\tline[i] = '\\0';\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tline[i] = tiles[row][i].getLetter();\n\t\t\t\t}\n\t\t\t}\n\t\t\tline[col] = c;\n\t\t\tindex = col;\n\t\t}\n\t\tint left = index;\n\t\twhile (left > 0)\n\t\t{\n\t\t\tif (line[left - 1] != '\\0')\n\t\t\t{\n\t\t\t\tleft--;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tint right = index;\n\t\twhile (right < 15)\n\t\t{\n\t\t\tif (line[right] != '\\0')\n\t\t\t{\n\t\t\t\tright++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif ((right - 1) == left)\n\t\t{\n\t\t\treturn 0;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tString word = new String(Arrays.copyOfRange(line, left, right));\n\t\t\tif (dictionary.isWord(word))\n\t\t\t{\n\t\t\t\tint score = 0;\n\t\t\t\tint wordBonus = 1;\n\t\t\t\tfor (int i = left ; i < right ; i++)\n\t\t\t\t{\n\t\t\t\t\tSquare s;\n\t\t\t\t\tif (horizontal)\n\t\t\t\t\t{\n\t\t\t\t\t\ts = squares[i][col];\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\ts = squares[row][i];\n\t\t\t\t\t}\n\t\t\t\t\tscore += s.getLetterMultiplier() * Pool.getValue(line[i]);\n\t\t\t\t\twordBonus *= s.getWordMultiplier();\n\t\t\t\t}\n\t\t\t\tscore *= wordBonus;\n\t\t\t\treturn score;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "be0d97756b544d4fd50ce3b8289706c1", "score": "0.6100998", "text": "public static int calculateScore()\r\n {\r\n System.out.println(\"An unnamed player without a score.\");\r\n return 0;\r\n }", "title": "" }, { "docid": "1f3884a53e4dd90e4ecac0760768d5d6", "score": "0.6100084", "text": "protected abstract double getTotalScore();", "title": "" }, { "docid": "9957968b2868ada5c1460bc70efc3d4c", "score": "0.6083738", "text": "private short getValueFromLetter(char letter)\r\n\t{\r\n\t\tswitch (letter)\r\n\t\t{\r\n\t\tcase 'R':\r\n\t\t\treturn 0;\r\n\t\tcase 'N':\r\n\t\t\treturn 1;\r\n\t\tcase 'B':\r\n\t\t\treturn 2;\r\n\t\tcase 'Q':\r\n\t\t\treturn 3;\r\n\t\tcase 'K':\r\n\t\t\treturn 4;\r\n\t\tcase 'P':\r\n\t\t\treturn 5;\r\n\t\tcase 'r':\r\n\t\t\treturn 6;\r\n\t\tcase 'n':\r\n\t\t\treturn 7;\r\n\t\tcase 'b':\r\n\t\t\treturn 8;\r\n\t\tcase 'q':\r\n\t\t\treturn 9;\r\n\t\tcase 'k':\r\n\t\t\treturn 10;\r\n\t\tcase 'p':\r\n\t\t\treturn 11;\r\n\t\tdefault:\r\n\t\t\treturn -1;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f9700d5fc51b4a579686545e6d0ecd27", "score": "0.60805315", "text": "public int getScore() {\r\n\t\treturn this.score;\r\n\t}", "title": "" }, { "docid": "92970026e565f2b1880ee83d37fce621", "score": "0.60797614", "text": "public Float score() {\n return score;\n }", "title": "" }, { "docid": "a148491e9bae553cfc43fce4eb1fac0c", "score": "0.6074566", "text": "Double getScoreIfUnknown();", "title": "" }, { "docid": "7eb1c64ee9a38076722b4beef9bb9385", "score": "0.6059921", "text": "private String convertScore(String string)\n {\n String score = string.trim();\n double sign = 1;\n if (score.startsWith(\"W+\"))\n {\n score = score.substring(2);\n sign = -1;\n }\n else if (score.startsWith(\"B+\"))\n score = score.substring(2);\n try\n {\n return FORMAT1.format(sign * Double.parseDouble(score));\n }\n catch (NumberFormatException e)\n {\n return string;\n }\n }", "title": "" }, { "docid": "3b30f5b8ddc750d9995b04467f66fcf7", "score": "0.60588104", "text": "public int getScore() {\n return mScore;\n }", "title": "" }, { "docid": "7bd35bf94a6f31eb18ba2e1ad53d7b27", "score": "0.6056296", "text": "public int getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "7bd35bf94a6f31eb18ba2e1ad53d7b27", "score": "0.6056296", "text": "public int getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "7bd35bf94a6f31eb18ba2e1ad53d7b27", "score": "0.6056296", "text": "public int getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "7bd35bf94a6f31eb18ba2e1ad53d7b27", "score": "0.6056296", "text": "public int getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "7bd35bf94a6f31eb18ba2e1ad53d7b27", "score": "0.6056296", "text": "public int getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "31f4f289402f9bec1509c2c0397741ad", "score": "0.605405", "text": "public String getScore() {\n return scoreSys;\n }", "title": "" }, { "docid": "abd03dcc4d8e51a1c143d486a0678169", "score": "0.605333", "text": "public Integer getScore() {\r\n return score;\r\n }", "title": "" }, { "docid": "40bc6bd71fb09da27ed2371dc1421036", "score": "0.6048091", "text": "@Override\n public int getScore()\n {\n return 0;\n }", "title": "" }, { "docid": "18f39a578835a74f2c56a67a1f1e9ef8", "score": "0.6045243", "text": "public Integer getScore() {\n return score;\n }", "title": "" }, { "docid": "18f39a578835a74f2c56a67a1f1e9ef8", "score": "0.6045243", "text": "public Integer getScore() {\n return score;\n }", "title": "" }, { "docid": "d77de534c9d8d3babd6f289c01d9bea9", "score": "0.60432607", "text": "public int getScore() {\n\t\treturn this.score;\n\t}", "title": "" }, { "docid": "d77de534c9d8d3babd6f289c01d9bea9", "score": "0.60432607", "text": "public int getScore() {\n\t\treturn this.score;\n\t}", "title": "" }, { "docid": "d77de534c9d8d3babd6f289c01d9bea9", "score": "0.60432607", "text": "public int getScore() {\n\t\treturn this.score;\n\t}", "title": "" }, { "docid": "0011c4ad5e764def1babd5042ac4046b", "score": "0.60240835", "text": "public void readScore() {\n\n\t}", "title": "" }, { "docid": "9699f26d2a100f5829405ec13076219f", "score": "0.6005987", "text": "public int getScore() { \n return this.score; \n }", "title": "" }, { "docid": "473e112938f22fb4942ed11ea9860f45", "score": "0.6005793", "text": "public Integer getScore() {\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "a91be5f1d92cf36161713afd32e677b1", "score": "0.59921783", "text": "public Double getResultScore() {\n return result_score;\n }", "title": "" }, { "docid": "75420b3aa1e8f0bf0c8febb9f0cc9413", "score": "0.5991527", "text": "public int score(){\r\n\t\tthis.score = this.score + this.x/50;\r\n\t\treturn this.score;\r\n\t}", "title": "" }, { "docid": "ebf79954f690dc4157e4659a4c03ed64", "score": "0.5977519", "text": "public Map<Character, Integer> readPreGeneratedLetterScores()\n throws IOException {\n return getLetterScoreFromPercentage(readMROutput(outPath));\n }", "title": "" }, { "docid": "b6249dcc38998a92feb949078e7aed20", "score": "0.59591466", "text": "public int scoreOf(String word){\r\n int i = word.length();\r\n int score;\r\n if(i >= 8){ score = 11;}\r\n else if(i == 7){ score = 5; }\r\n else if(i == 6){ score = 3; }\r\n else if(i == 5){ score = 2; }\r\n else if(i == 3 || i == 4) { score = 1; }\r\n else{ score = 0; }\r\n return score;\r\n }", "title": "" }, { "docid": "21552f820379d41a72aaf81016e7cd40", "score": "0.59586227", "text": "GameObj makeScoreText( double x )\n\t{\n\t\treturn ct.text( \"0\", x, SCORE_SIZE / 2, SCORE_SIZE, COLOR );\n\t}", "title": "" }, { "docid": "32ad3a10e62fdbf17ae625908a17a4ca", "score": "0.5949466", "text": "@Override\n public int getScore() {\n return 0;\n }", "title": "" }, { "docid": "e4766b0003f1edbe8eb6cc07e6fc3094", "score": "0.59493047", "text": "public Double getResultScore() {\n return result_score;\n }", "title": "" }, { "docid": "32dcf5d8f4d9fea3a7a27922b9a203df", "score": "0.59462315", "text": "public int score(){\r\n\t\t\r\n\t\tif(totalScore < 0)\r\n\t\t\treturn -1;\r\n\t\telse\r\n\t\t\treturn firstThrow + secondThrow;\r\n\t}", "title": "" }, { "docid": "ccfe3505809b525597784e9468bb1334", "score": "0.59424186", "text": "private int score(String word){\n switch (word.length()){\n case 0:\n case 1:\n case 2:\n return 0;\n case 3:\n case 4:\n return 1;\n case 5:\n return 2;\n case 6:\n return 3;\n case 7:\n return 5;\n default:\n return 11;\n }\n }", "title": "" }, { "docid": "033649844103761d0763e1dc162ee9ca", "score": "0.59219855", "text": "public int getScore(){\n return score ;\n }", "title": "" }, { "docid": "0b21ec72eb87a8104f237a5e3b9ce02f", "score": "0.59128165", "text": "public Float getScore() {\r\n return score;\r\n }", "title": "" }, { "docid": "a79625a6cc943224f598396d8626403b", "score": "0.59090334", "text": "private static double getScore(double[][] initialProbabMatrix, char[] kmer) {\n\t\t\r\n\t\tdouble score = 1;\r\n\t\tfor ( int i = 0 ; i < kmer.length ; i++)\r\n\t\t{\r\n\t\t\tswitch (kmer[i]) {\r\n\t\t\tcase 'A':\r\n\t\t\t\t{\r\n\t\t\t\t\tscore = score * initialProbabMatrix[0][i];\r\n\t\t\t\t\tbreak;\t\r\n\t\t\t\t}\r\n\r\n\t\t\tcase 'C':\r\n\t\t\t\t{\r\n\t\t\t\t\tscore = score * initialProbabMatrix[1][i];\r\n\t\t\t\t\tbreak;\t\r\n\t\t\t\t}\r\n\r\n\t\t\tcase 'G':\r\n\t\t\t{\r\n\t\t\t\tscore = score * initialProbabMatrix[2][i];\r\n\t\t\t\tbreak;\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tcase 'T':\r\n\t\t\t{\r\n\t\t\t\tscore = score * initialProbabMatrix[3][i];\r\n\t\t\t\tbreak;\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t};\r\n\t\t\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "fe65f90f67328e0111075913301561f6", "score": "0.5899948", "text": "public int score() {\n int total = 0;\n int frameIndex = 0;\n for (int frame = 0; frame < 10; frame++) {\n if (isStrike(frameIndex)) {\n total += 10 + rolls[frameIndex + 1] + rolls[frameIndex + 2];\n frameIndex += 1;\n } else if (isSpare(frameIndex)) {\n total += 10 + rolls[frameIndex + 2];\n frameIndex += 2;\n } else {\n total += rolls[frameIndex] + rolls[frameIndex + 1];\n frameIndex += 2;\n }\n }\n return total;\n }", "title": "" }, { "docid": "0c80915c71faf3bd5bdbe71e7d6efb8f", "score": "0.58942693", "text": "public int getScore() { return parcours.getScore();}", "title": "" } ]
59dd0a6c5cf26d61c52f9eb1f558d4f4
Util method to write an attribute without the ns prefix
[ { "docid": "a3cbb684c95bdeeb46651841f11997f7", "score": "0.0", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\")) {\n xmlWriter.writeAttribute(attName,attValue);\n } else {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" } ]
[ { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" } ]
e6d53cc51ab901b491780072e1afd498
Prepare the launch of a new Register Fragment
[ { "docid": "e8af9d39b2f0ac5fae18eb0eb9243766", "score": "0.64505726", "text": "@Override\n public void onClick(View view) {\n Fragment fragment = new RegisterFragment();\n // Launch the register fragment\n ((LoginActivity) getContext()).getSupportFragmentManager().beginTransaction().replace(R.id.frameLayoutContainer, fragment).commit();\n }", "title": "" } ]
[ { "docid": "a63933adea5843ec18a12255d8f75da1", "score": "0.67850846", "text": "private void register() {\n final AddNewUserFragment addNewUsr = AddNewUserFragment.newInstance(AddNewUserFragment.MODE_REGISTER,\n AddNewUserFragment.JUMP_LOGIN,\n null);\n\n getSupportFragmentManager().beginTransaction().replace(R.id.content_login,addNewUsr).\n addToBackStack(null).commit();\n\n }", "title": "" }, { "docid": "462d40caa03632b7c69b984c2934c3af", "score": "0.65691334", "text": "@Override\n public View onCreateView(LayoutInflater inflater, final ViewGroup container,\n Bundle savedInstanceState) {\n\n view = inflater.inflate(R.layout.fragment_register, container, false);\n\n name = (TextInputEditText) view.findViewById(R.id.edNames);\n email = (TextInputEditText) view.findViewById(R.id.edEmail);\n password = (TextInputEditText) view.findViewById(R.id.edPassword);\n locationSpinner = (AppCompatSpinner) view.findViewById(R.id.location_spinner);\n loadingView = (InsLoadingView) view.findViewById(R.id.loading_view);\n loadingView.setVisibility(View.INVISIBLE);\n android.support.v7.widget.AppCompatTextView signin = (android.support.v7.widget.AppCompatTextView) view.findViewById(R.id.tvSignIn);\n\n signin.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Fragment login = LoginFragment.newInstance(mParam1,mParam2);\n FragmentTransaction transaction = getFragmentManager().beginTransaction();\n transaction.replace(R.id.fragment,login);\n transaction.addToBackStack(null);\n transaction.commit();\n }\n });\n\n AppCompatButton signup = (AppCompatButton) view.findViewById(R.id.btnSignup);\n signup.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n if (validateForm()){\n\n PatientItem patientItem = new PatientItem();\n patientItem.setName(name.getText().toString());\n patientItem.setEmail(email.getText().toString());\n patientItem.setPassword(password.getText().toString());\n patientItem.setLocation(locationSpinner.getSelectedItem().toString());\n\n Log.d(\"item\",name.getText().toString()+email.getText().toString()+password.getText().toString()+locationSpinner.getSelectedItem().toString());\n\n registerUser(patientItem);\n if (status){\n Fragment login = LoginFragment.newInstance(mParam1,mParam2);\n FragmentTransaction transaction1 = getFragmentManager().beginTransaction();\n transaction1.replace(R.id.fragment,login);\n transaction1.addToBackStack(null);\n transaction1.commit();\n }\n }else\n Snackbar.make(v,\"Fill the form and try again\",Snackbar.LENGTH_SHORT).show();\n\n try {\n super.finalize();\n } catch (Throwable throwable) {\n throwable.printStackTrace();\n }\n }\n });\n\n return view;\n }", "title": "" }, { "docid": "80f963644e942a89c486155181af6950", "score": "0.6564222", "text": "private void handleRegisterOnPre() {\n mListener.onWaitFragmentInteractionShow();\n }", "title": "" }, { "docid": "f1883db874935e01bfad7f72261a353d", "score": "0.6560284", "text": "@Nullable\n @Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_register, container, false);\n textInputName = v.findViewById(R.id.text_input_edit_name);\n textInputSSN = v.findViewById(R.id.text_input_edit_ssn);\n textInputEmail = v.findViewById(R.id.text_input_edit_email);\n textInputPassword = v.findViewById(R.id.text_input_edit_password);\n textLayoutName = v.findViewById(R.id.text_input_layout_name);\n textLayoutSSN = v.findViewById(R.id.text_input_layout_ssn);\n textLayoutEmail = v.findViewById(R.id.text_input_layout_email);\n textLayoutPassword = v.findViewById(R.id.text_input_layout_password);\n\n // Clear error when users provides input in TextInputEditTexts\n clearEditTextErrorOnInput();\n\n // ProgressDialog retrieval\n progressDialog = (ProgressDialog) getFragmentManager().findFragmentByTag(\"progress\");\n\n // Presenter retrieval\n presenter = ((LoginActivity) getActivity()).getPresenter().getRegisterPresenter();\n\n // Switch to login fragment\n v.findViewById(R.id.tv_login).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n presenter.onSignInButtonClicked();\n }\n });\n\n // Register button clicked\n v.findViewById(R.id.bn_register).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n textInputName.clearFocus();\n textInputSSN.clearFocus();\n textInputEmail.clearFocus();\n textInputPassword.clearFocus();\n textLayoutEmail.setError(null);\n textLayoutPassword.setError(null);\n textLayoutSSN.setError(null);\n textLayoutName.setError(null);\n String name = textInputName.getText().toString();\n String ssn = textInputSSN.getText().toString();\n String email = textInputEmail.getText().toString();\n String password = textInputPassword.getText().toString();\n presenter.onRegisterButtonClicked(name, ssn, email, password);\n }\n });\n return v;\n }", "title": "" }, { "docid": "8185e6a066464832b280ef25f3fd77bc", "score": "0.6507749", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.activity_mine_fragment_register);\n\t\tinitView();\n\t\tmanager = AppManager.getInstance();\n\t\tmanager.addActivity(MineFragment_Register.this);\n\t}", "title": "" }, { "docid": "8a26d144aa916f2eb0ef62086f60fd2e", "score": "0.6473669", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_user_info, container, false);\n presenter = new RegisterPresenter(this);\n\n nameEditText = view.findViewById(R.id.userinfo_user_name);\n birthDateEditText = view.findViewById(R.id.user_birthdate);\n heightEditText = view.findViewById(R.id.user_height);\n weightEditText = view.findViewById(R.id.user_weight);\n simpleSwitch = (Switch) view.findViewById(R.id.genderSwitch);\n\n Button button = (Button)view.findViewById(R.id.user_start_button);\n fitnessLevel = getArguments().getString(\"fitnessLevelKey\");\n\n button.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n retrieveUserInput();\n if (name != null && birthdate != null && height != 0.0f && weight != 0.0f && gender != null){\n User user = new User(name, birthdate, height, weight, gender, fitnessLevel);\n RegisterRequest request = new RegisterRequest(user, getContext());\n RegisterResponse response = presenter.getRegisterResponse(request);\n if (response.success)\n openHomeActivity();\n else{\n Log.e(TAG, \"Error: while registering User\");\n Toast.makeText(getActivity(), \"Error: while registering\", Toast.LENGTH_SHORT).show();\n }\n }\n else{\n Toast.makeText(getActivity(), \"Error: invalid input!\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n return view;\n }", "title": "" }, { "docid": "e678022d2fd4a245c1d87b56e33c07b3", "score": "0.63967985", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tv = inflater.inflate(R.layout.fragment_complaintregistration,container, false);\n\t\tCheckConnectivity checknow = new CheckConnectivity();\n\t\tconnect = checknow.checkNow(getActivity());\n\t\tif (new CheckConnectivity().checkNow(getActivity())) {\n\t\t} else {\n\t\t\tToast toast = Toast.makeText(getActivity(),\n\t\t\t\t\t\"No network connection available.\", Toast.LENGTH_SHORT);\n\t\t\ttoast.show();\n\t\t}\n\t\tAnalyticsApplication application = (AnalyticsApplication) getActivity()\n\t\t\t\t.getApplication();\n\t\tmTracker = application.getDefaultTracker();\n\t\tspinner_c_area = (Spinner) v.findViewById(R.id.spinner_c_area);\n\t\tspinner_c_subarea = (Spinner) v.findViewById(R.id.spinner_c_subarea);\n\t\tspinner_c_problem = (Spinner) v.findViewById(R.id.spinner_c_problem);\n\t\tspinner_regNo = (Spinner) v.findViewById(R.id.spinner_regNo);\n\t\tedit_varient = (EditText) v.findViewById(R.id.edit_varient);\n\t\tedit_email = (EditText) v.findViewById(R.id.edit_email);\n\t\tedit_mobile = (EditText) v.findViewById(R.id.edit_mobile);\n\t\tspinner_city = (InstantAutoComplete) v.findViewById(R.id.spinner_city);\n\t\tspinner_dealer = (Spinner) v.findViewById(R.id.spinner_dealer);\n\t\tedit_dealerNo = (EditText) v.findViewById(R.id.edit_dealerNo);\n\t\tbtn_submit = (Button) v.findViewById(R.id.btn_submit);\n\t\tedit_complaintback = (EditText) v.findViewById(R.id.edit_complaintback);\n\t\tedit_resolution = (EditText) v.findViewById(R.id.edit_resolution);\n\t\t// new SamlArtifact(v.getContext()).execute();\n\n\t\tregnovalues.add(\"Select Vehicle\");\n\t\tregnovalues.add(\"Not Available\");\n\t\tint size = new UserDetails().getRegNumberList().size();\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (!(new UserDetails().getRegNumberList().get(i)\n\t\t\t\t\t.get(\"registration_num\").toString().equals(\"\"))) {\n\t\t\t\tregnovalues.add(new UserDetails().getRegNumberList().get(i)\n\t\t\t\t\t\t.get(\"registration_num\"));\n\t\t\t} else {\n\t\t\t\tregnovalues.add(new UserDetails().getRegNumberList().get(i)\n\t\t\t\t\t\t.get(\"chassis_num\"));\n\t\t\t}\n\t\t}\n\t\tArrayAdapter<String> regno = new ArrayAdapter<String>(getActivity(),\n\t\t\t\tandroid.R.layout.simple_spinner_item, regnovalues);\n\t\tregno.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\t\tspinner_regNo.setAdapter(regno);\n\n\t\tv.getRootView().setFocusableInTouchMode(true);\n\t\tv.getRootView().setFocusable(true);\n\t\tv.getRootView().requestFocus();\n\n\t\t// new WebServiceCall(getActivity(), req3,\n\t\t// Constants.GetCompPrblmAreabySubAreaCSB,\n\t\t// \"Populating Compplain Area.\").execute();\n\t\tspinner_c_problem\n\t\t\t\t.setOnItemSelectedListener(new OnItemSelectedListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onItemSelected(AdapterView<?> parent,\n\t\t\t\t\t\t\tView view, int position, long id) {\n\n\t\t\t\t\t\tif (position != 0) {\n\t\t\t\t\t\t\t((TextView) parent.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t\t\t.getColor(R.color.textcolor));\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t((TextView) parent.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t\t\t.getColor(R.color.hintcolor));\n\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onNothingSelected(AdapterView<?> parent) {\n\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\n\t\tif (new CheckConnectivity().checkNow(getActivity())) {\n\t\t\tString req = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t+ \"<GetCompTypeByBUCSB xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t+ \"<SUB_TYPE>TMPC</SUB_TYPE>\"\n\t\t\t\t\t+ \"</GetCompTypeByBUCSB>\"\n\t\t\t\t\t+ \"</SOAP:Body>\" + \"</SOAP:Envelope>\";\n\t\t\tLog.v(\"req\", req + Config.getSAMLARTIFACT());\n\t\t\tnew WebServiceCall(getActivity(), req,\n\t\t\t\t\tConstants.GetCompTypeByBUCSB, new ResponseCallback() {\n\n\t\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onResponseReceive(Object object) {\n\n\t\t\t\t\t\t\tlst_c_area = (ArrayList<ComplaintArea>) object;\n\t\t\t\t\t\t\tList<String> complainarea = new ArrayList<String>();\n\t\t\t\t\t\t\tcomplainarea.add(\"Complaint Area\");\n\n\t\t\t\t\t\t\tfor (int i = 0; i < lst_c_area.size(); i++) {\n\t\t\t\t\t\t\t\tLog.i(\"lst_c_area\", lst_c_area.get(i).VAL + \" \"\n\t\t\t\t\t\t\t\t\t\t+ lst_c_area.get(i).ROW_ID);\n\t\t\t\t\t\t\t\tfor (int j = 0; j < lovs.length; j++) {\n\t\t\t\t\t\t\t\t\tif (lst_c_area.get(i).VAL.equals(lovs[j])) {\n\t\t\t\t\t\t\t\t\t\tcomplainarea.add(lst_c_area.get(i).VAL);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tArrayAdapter<String> adapter = new ArrayAdapter<String>(\n\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\tandroid.R.layout.simple_spinner_item,\n\t\t\t\t\t\t\t\t\tcomplainarea);\n\t\t\t\t\t\t\tadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\t\t\t\t\t\t\tspinner_c_area.setAdapter(adapter);\n\n\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void onErrorReceive(String string) {\n\n\t\t\t\t\t\t\tToast.makeText(getActivity(), string,\n\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t}\n\t\t\t\t\t}, \"Populating Complaint Area.\").execute();\n\n\t\t} else {\n\t\t\tToast toast = Toast.makeText(getActivity(),\n\t\t\t\t\t\"No network connection available.\", Toast.LENGTH_SHORT);\n\t\t\ttoast.show();\n\t\t}\n\n\t\tspinner_regNo\n\t\t\t\t.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onItemSelected(AdapterView<?> arg0, View arg1,\n\t\t\t\t\t\t\tint pos, long arg3) {\n\n\t\t\t\t\t\tString regNo = spinner_regNo.getSelectedItem()\n\t\t\t\t\t\t\t\t.toString();\n\t\t\t\t\t\tspinner_c_area.setSelection(0);\n\t\t\t\t\t\tspinner_c_subarea.setSelection(0);\n\t\t\t\t\t\tspinner_c_problem.setSelection(0);\n\t\t\t\t\t\tspinner_city.setText(\"\");\n\t\t\t\t\t\tspinner_dealer.setSelection(0);\n\t\t\t\t\t\tedit_varient.setText(\"\");\n\t\t\t\t\t\tedit_complaintback.setText(\"\");\n\t\t\t\t\t\tedit_resolution.setText(\"\");\n\t\t\t\t\t\tedit_mobile.setText(\"\");\n\t\t\t\t\t\tedit_email.setText(\"\");\n\t\t\t\t\t\tedit_dealerNo.setText(\"\");\n\t\t\t\t\t\t// Log.i(\"Selected item : \", regNo + \" AT \" + pos);\n\t\t\t\t\t\tif (pos != 0) {\n\t\t\t\t\t\t\t// fire web service\n\t\t\t\t\t\t\t((TextView) arg0.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t\t\t.getColor(R.color.textcolor));\n\n\t\t\t\t\t\t\tif (regNo.toString().equals(\"Not Available\")) {\n\t\t\t\t\t\t\t\tedit_email.setText(UserDetails.getEmail_id()\n\t\t\t\t\t\t\t\t\t\t.toString());\n\t\t\t\t\t\t\t\tedit_mobile.setText(UserDetails\n\t\t\t\t\t\t\t\t\t\t.getContact_number().toString());\n\t\t\t\t\t\t\t\tcontact_id = \"\";\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tString chassis = new UserDetails()\n\t\t\t\t\t\t\t\t\t\t.getRegNumberList().get(pos - 2)\n\t\t\t\t\t\t\t\t\t\t.get(\"chassis_num\");\n\n\t\t\t\t\t\t\t\tif (new CheckConnectivity().checkNow(getActivity())) {\n\t\t\t\t\t\t\t\t\tString req = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"<GetCustomerVehicleDetailsCSB xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"<RegistrationNumber></RegistrationNumber>\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"<ChassisNumber>\"\n\t\t\t\t\t\t\t\t\t\t\t+ chassis\n\t\t\t\t\t\t\t\t\t\t\t+ \"</ChassisNumber>\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"<MobileNo></MobileNo>\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"</GetCustomerVehicleDetailsCSB>\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"</SOAP:Body>\"\n\t\t\t\t\t\t\t\t\t\t\t+ \"</SOAP:Envelope>\";\n\t\t\n\t\t\t\t\t\t\t\t\tnew WebServiceCall(\n\t\t\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\t\t\treq,\n\t\t\t\t\t\t\t\t\t\t\tConstants.GetCustomerVehicleDetailsCSB,\n\t\t\t\t\t\t\t\t\t\t\tnew ResponseCallback() {\n\n\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void onResponseReceive(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tObject object) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tuser = (ServiceBookingUser) object;\n\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tedit_varient\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(user.PL);\n\t\t\t\t\t\t\t\t\t\t\t\t\tedit_email.setText(user\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getEmail());\n\t\t\t\t\t\t\t\t\t\t\t\t\tedit_mobile.setText(user\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getPhoneno());\n\t\t\t\t\t\t\t\t\t\t\t\t\tCHASSISNO = user\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getCHASSISNUMBER();\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontact_id = user\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getContact_id();\n\t\t\t\t\t\t\t\t\t\t\t\t\tREGNO = user\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getREGISTRATIONNUMBER();\n\t\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setFocusable(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.requestFocus();\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void onErrorReceive(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tString string) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.show();\n\t\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setFocusable(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.requestFocus();\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}, \"Populating Data..\").execute();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tToast toast = Toast.makeText(getActivity(),\n\t\t\t\t\t\t\t\t\t\t\t\"No network connection available.\",\n\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\t\t\t\t\ttoast.show();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t((TextView) arg0.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t\t\t.getColor(R.color.hintcolor));\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onNothingSelected(AdapterView<?> arg0) {\n\n\t\t\t\t\t}\n\n\t\t\t\t});\n\n\t\tspinner_c_area.setOnItemSelectedListener(new OnItemSelectedListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemSelected(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\n\t\t\t\tspinner_c_subarea.setSelection(0);\n\t\t\t\tspinner_c_problem.setSelection(0);\n\t\t\t\tspinner_city.setText(\"\");\n\t\t\t\tspinner_dealer.setSelection(0);\n\t\t\t\tedit_complaintback.setText(\"\");\n\t\t\t\tedit_resolution.setText(\"\");\n\n\t\t\t\tedit_dealerNo.setText(\"\");\n\n\t\t\t\tif (position != 0) {\n\t\t\t\t\t// String PAR_ROW_ID =\n\t\t\t\t\t// lst_c_area.get(position-1).getPAR_ROW_ID();\n\n\t\t\t\t\tfor (int i = 0; i < lst_c_area.size(); i++) {\n\t\t\t\t\t\t// Log.i(\"lst_c_area\", lst_c_area.get(i).VAL + \" \"+\n\t\t\t\t\t\t// lst_c_area.get(i).ROW_ID);\n\n\t\t\t\t\t\tif (lst_c_area.get(i).VAL.equals(parent\n\t\t\t\t\t\t\t\t.getSelectedItem().toString())) {\n\t\t\t\t\t\t\trowid = lst_c_area.get(i).ROW_ID;\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\t((TextView) parent.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t.getColor(R.color.textcolor));\n\n\t\t\t\t\t/*\n\t\t\t\t\t * for (int i = 0; i < lst_c_area.size(); i++) {\n\t\t\t\t\t * Log.i(\"lst_c_area\", lst_c_area.get(i).VAL + \" \" +\n\t\t\t\t\t * lst_c_area.get(i).PAR_ROW_ID + \" \" +\n\t\t\t\t\t * lst_c_area.get(i).ROW_ID); }\n\t\t\t\t\t */\n\n\t\t\n\t\t\t\t\tif (new CheckConnectivity().checkNow(getActivity())) {\n\t\t\t\t\t\t\n\t\t\t\t\t\tLog.e(\"row id value\",\"\"+rowid);\n\t\t\t\t\t\t\n\t\t\t\t\t\tString req1 = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t\t\t\t+ \"<GetCompSubTypeByParRowIDCSB xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t\t\t\t+ \"<PAR_ROW_ID>\"\n\t\t\t\t\t\t\t\t+ rowid\n\t\t\t\t\t\t\t\t+ \"</PAR_ROW_ID>\"\n\t\t\t\t\t\t\t\t+ \"<BU>TMPC</BU>\"\n\t\t\t\t\t\t\t\t+ \"</GetCompSubTypeByParRowIDCSB>\"\n\t\t\t\t\t\t\t\t+ \"</SOAP:Body>\" + \"</SOAP:Envelope>\";\n\t\t\t\t\t\tnew WebServiceCall(getActivity(), req1,\n\t\t\t\t\t\t\t\tConstants.GetCompSubTypeByParRowIDCSB,\n\t\t\t\t\t\t\t\tnew ResponseCallback() {\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onResponseReceive(Object object) {\n\n\t\t\t\t\t\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\t\t\t\t\t\tArrayList<String> list = (ArrayList<String>) object;\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tfor(int index=0;index<list.size();index++)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tLog.e(\"sub type values\",list.get(index));\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tArrayAdapter<String> adapter = new ArrayAdapter<String>(\n\t\t\t\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\t\t\t\tandroid.R.layout.simple_spinner_item,\n\t\t\t\t\t\t\t\t\t\t\t\tlist);\n\t\t\t\t\t\t\t\t\t\tadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\t\t\t\t\t\t\t\t\t\tspinner_c_subarea.setAdapter(adapter);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onErrorReceive(String string) {\n\n\t\t\t\t\t\t\t\t\t\tToast.makeText(getActivity(), string,\n\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t}, \"Populating Complaint SubArea.\").execute();\n\n\t\t\t\t\t\t// Log.i(\"CMPL_AREAROW_ID\",\n\t\t\t\t\t\t// lst_c_area.get(position-1).ROW_ID);\n\t\t\t\t\t\tString req2 = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t\t\t\t+ \"<GetCompCitiesByType xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t\t\t\t+ \"<CMPL_AREAROW_ID>\"\n\t\t\t\t\t\t\t\t+ rowid\n\t\t\t\t\t\t\t\t+ \"</CMPL_AREAROW_ID>\"\n\t\t\t\t\t\t\t\t+ \"</GetCompCitiesByType>\"\n\t\t\t\t\t\t\t\t+ \"</SOAP:Body>\"\n\t\t\t\t\t\t\t\t+ \"</SOAP:Envelope>\";\n\n\t\t\t\t\t\tnew WebServiceCall(getActivity(), req2,\n\t\t\t\t\t\t\t\tConstants.GetDSSDealerCitiesCSB,\n\t\t\t\t\t\t\t\tnew ResponseCallback() {\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onResponseReceive(Object object) {\n\n\t\t\t\t\t\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\t\t\t\t\t\tArrayList<String> list = (ArrayList<String>) object;\n\t\t\t\t\t\t\t\t\t\tCollections.sort(list,\n\t\t\t\t\t\t\t\t\t\t\t\tnew Comparator<String>() {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic int compare(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tString lhs,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tString rhs) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn lhs\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.compareToIgnoreCase(rhs);\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});\n\n\t\t\t\t\t\t\t\t\t\tadaptercities = new ArrayAdapter<String>(\n\t\t\t\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\t\t\t\tandroid.R.layout.simple_spinner_item,\n\t\t\t\t\t\t\t\t\t\t\t\tlist);\n\t\t\t\t\t\t\t\t\t\tadaptercities\n\t\t\t\t\t\t\t\t\t\t\t\t.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\n\t\t\t\t\t\t\t\t\t\tspinner_city.setThreshold(1);\n\t\t\t\t\t\t\t\t\t\t// spinner_city.setValidator(new\n\t\t\t\t\t\t\t\t\t\t// Validator(list));\n\t\t\t\t\t\t\t\t\t\tspinner_city\n\t\t\t\t\t\t\t\t\t\t\t\t.setDropDownBackgroundResource(color.white);\n\t\t\t\t\t\t\t\t\t\tspinner_city.setAdapter(adaptercities);\n\t\t\t\t\t\t\t\t\t\tspinner_city\n\t\t\t\t\t\t\t\t\t\t\t\t.setOnClickListener(new OnClickListener() {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onClick(View v) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tspinner_city\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.showDropDown();\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});\n\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onErrorReceive(String string) {\n\n\t\t\t\t\t\t\t\t\t\tToast.makeText(getActivity(), string,\n\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t}, \"Populating Cities.\").execute();\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tToast toast = Toast.makeText(getActivity(),\n\t\t\t\t\t\t\t\t\"No network connection available.\",\n\t\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\t\ttoast.show();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t((TextView) parent.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t.getColor(R.color.hintcolor));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onNothingSelected(AdapterView<?> parent) {\n\n\t\t\t}\n\t\t});\n\n\t\tspinner_c_subarea\n\t\t\t\t.setOnItemSelectedListener(new OnItemSelectedListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onItemSelected(AdapterView<?> parent,\n\t\t\t\t\t\t\tView view, int position, long id) {\n\n\t\t\t\t\t\tspinner_c_problem.setSelection(0);\n\n\t\t\t\t\t\tif (position != 0) {\n\t\t\t\t\t\t\t((TextView) parent.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t\t\t.getColor(R.color.textcolor));\n\t\t\t\t\t\t\tif (new CheckConnectivity().checkNow(getActivity())) {\n\t\t\t\t\t\t\t\tString req = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t\t\t\t\t\t+ \"<GetCompPrblmAreabySubAreaCSB xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t\t\t\t\t\t+ \"<SUB_AREA>\"\n\t\t\t\t\t\t\t\t\t\t+ spinner_c_subarea.getSelectedItem()\n\t\t\t\t\t\t\t\t\t\t\t\t.toString()\n\t\t\t\t\t\t\t\t\t\t+ \"</SUB_AREA>\"\n\t\t\t\t\t\t\t\t\t\t+ \"</GetCompPrblmAreabySubAreaCSB>\"\n\t\t\t\t\t\t\t\t\t\t+ \"</SOAP:Body>\" + \"</SOAP:Envelope>\";\n\t\t\t\t\t\t\t\tnew WebServiceCall(getActivity(), req,\n\t\t\t\t\t\t\t\t\t\tConstants.GetCompPrblmAreabySubAreaCSB,\n\t\t\t\t\t\t\t\t\t\tnew ResponseCallback() {\n\n\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void onResponseReceive(\n\t\t\t\t\t\t\t\t\t\t\t\t\tObject object) {\n\t\t\t\t\t\t\t\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\t\t\t\t\t\t\t\tArrayList<String> list = (ArrayList<String>) object;\n\t\t\t\t\t\t\t\t\t\t\t\tArrayAdapter<String> adapter = new ArrayAdapter<String>(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tandroid.R.layout.simple_spinner_item,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlist);\n\t\t\t\t\t\t\t\t\t\t\t\tadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\t\t\t\t\t\t\t\t\t\t\t\tspinner_c_problem\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setAdapter(adapter);\n\n\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrue);\n\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void onErrorReceive(\n\t\t\t\t\t\t\t\t\t\t\t\t\tString string) {\n\n\t\t\t\t\t\t\t\t\t\t\t\tToast.makeText(getActivity(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstring,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.show();\n\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrue);\n\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t}, \"Populating Complaint Problem Area.\")\n\t\t\t\t\t\t\t\t\t\t.execute();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tToast toast = Toast.makeText(getActivity(),\n\t\t\t\t\t\t\t\t\t\t\"No network connection available.\",\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\t\t\t\ttoast.show();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t((TextView) parent.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t\t\t.getColor(R.color.hintcolor));\n\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onNothingSelected(AdapterView<?> parent) {\n\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\tspinner_city.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\n\t\t\t\t// if(position!=0){\n\t\t\t\t// ((TextView)\n\t\t\t\t// parent.getChildAt(0)).setTextColor(v.getContext().getResources().getColor(R.color.textcolor));\n\t\t\t\t// spinner_city.performValidation();\n\t\t\t\tif (new CheckConnectivity().checkNow(getActivity())) {\n\t\t\t\t\t/*\n\t\t\t\t\t * String req =\n\t\t\t\t\t * \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t * + \"<SOAP:Body>\" +\n\t\t\t\t\t * \"<GetDlrsByCityAndTypeCSB xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t * + \"<CITY>\" +\n\t\t\t\t\t * lst_c_area.get(position).ROW_ID+spinner_city.\n\t\t\t\t\t * getText().toString() + \"</CITY>\" + \"<BU>TMPC</BU>\" +\n\t\t\t\t\t * \"</GetDlrsByCityAndTypeCSB>\" + \"</SOAP:Body>\" +\n\t\t\t\t\t * \"</SOAP:Envelope>\";\n\t\t\t\t\t */\n\t\t\t\t\tString req = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t\t\t+ \"<GetDlrsByCityAndTypeCSB xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t\t\t+ \"<CITY>\"\n\t\t\t\t\t\t\t+ rowid\n\t\t\t\t\t\t\t+ spinner_city.getText().toString()\n\t\t\t\t\t\t\t+ \"</CITY>\"\n\t\t\t\t\t\t\t+ \"<BU>TMPC</BU>\"\n\t\t\t\t\t\t\t+ \"</GetDlrsByCityAndTypeCSB>\"\n\t\t\t\t\t\t\t+ \"</SOAP:Body>\" + \"</SOAP:Envelope>\";\n\t\t\t\t\tnew WebServiceCall(getActivity(), req,\n\t\t\t\t\t\t\tConstants.GetDlrsByCityAndTypeCSB,\n\t\t\t\t\t\t\tnew ResponseCallback() {\n\n\t\t\t\t\t\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void onResponseReceive(Object object) {\n\n\t\t\t\t\t\t\t\t\tdealers = (ArrayList<Dealer>) object;\n\t\t\t\t\t\t\t\t\tList<String> commonname = new ArrayList<String>();\n\t\t\t\t\t\t\t\t\tcommonname.add(\"Dealer\");\n\t\t\t\t\t\t\t\t\tfor (int i = 0; i < dealers.size(); i++) {\n\t\t\t\t\t\t\t\t\t\tLog.i(\"dealers\",\n\t\t\t\t\t\t\t\t\t\t\t\tdealers.get(i).commonname\n\t\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\t\t+ dealers.get(i).divisionId);\n\t\t\t\t\t\t\t\t\t\tcommonname.add(dealers.get(i).commonname);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tArrayAdapter<String> adapter = new ArrayAdapter<String>(\n\t\t\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\t\t\tandroid.R.layout.simple_spinner_item,\n\t\t\t\t\t\t\t\t\t\t\tcommonname);\n\t\t\t\t\t\t\t\t\tadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\t\t\t\t\t\t\t\t\tspinner_dealer.setAdapter(adapter);\n\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void onErrorReceive(String string) {\n\n\t\t\t\t\t\t\t\t\tToast.makeText(getActivity(), string,\n\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}, \"Populating Dealers..\").execute();\n\t\t\t\t} else {\n\t\t\t\t\tToast toast = Toast.makeText(getActivity(),\n\t\t\t\t\t\t\t\"No network connection available.\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\ttoast.show();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tspinner_dealer.setOnItemSelectedListener(new OnItemSelectedListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemSelected(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\n\t\t\t\tif (position != 0) {\n\t\t\t\t\t((TextView) parent.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t.getColor(R.color.textcolor));\n\n\n\t\t\t\t\tString DIVISIONID = dealers.get(position - 1)\n\t\t\t\t\t\t\t.getDivisionId();\n\t\t\t\t\tDIVISIONNAME = dealers.get(position - 1).getDivisionName();\n\t\t\t\t\tif (new CheckConnectivity().checkNow(getActivity())) {\n\t\t\t\t\t\tString req = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t\t\t\t+ \"<GetdivphonebydivCSB xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t\t\t\t+ \"<DIVISIONID>\"\n\t\t\t\t\t\t\t\t+ DIVISIONID\n\t\t\t\t\t\t\t\t+ \"</DIVISIONID>\"\n\t\t\t\t\t\t\t\t+ \"</GetdivphonebydivCSB>\"\n\t\t\t\t\t\t\t\t+ \"</SOAP:Body>\"\n\t\t\t\t\t\t\t\t+ \"</SOAP:Envelope>\";\n\n\t\t\t\t\t\tString req1 = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t\t\t\t+ \"<GetParUsrPostnByPostTypeAndDivID_CSB xmlns=\\\"src.com.CSB\\\" preserveSpace=\\\"no\\\" qAccess=\\\"0\\\" qValues=\\\"\\\">\"\n\t\t\t\t\t\t\t\t+ \"<POSITIONTYPE>DSvCRO</POSITIONTYPE>\"\n\t\t\t\t\t\t\t\t+ \"<DIVISIONID>\"\n\t\t\t\t\t\t\t\t+ DIVISIONID\n\t\t\t\t\t\t\t\t+ \"</DIVISIONID>\"\n\t\t\t\t\t\t\t\t+ \"</GetParUsrPostnByPostTypeAndDivID_CSB>\"\n\t\t\t\t\t\t\t\t+ \"</SOAP:Body>\" + \"</SOAP:Envelope>\";\n\t\t\t\t\t\tnew WebServiceCall(getActivity(), req1,\n\t\t\t\t\t\t\t\tConstants.GetParUsrPostnByPostTypeAndDivID_CSB,\n\t\t\t\t\t\t\t\tnew ResponseCallback() {\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onResponseReceive(Object object) {\n\n\t\t\t\t\t\t\t\t\t\tif (TextUtils.isEmpty(dealer\n\t\t\t\t\t\t\t\t\t\t\t\t.get(\"mobile\")))\n\t\t\t\t\t\t\t\t\t\t\tedit_dealerNo\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(\"Not available\");\n\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\tedit_dealerNo.setText(dealer\n\t\t\t\t\t\t\t\t\t\t\t\t\t.get(\"mobile\"));\n\n\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onErrorReceive(String string) {\n\n\t\t\t\t\t\t\t\t\t\tedit_dealerNo.setText(\"Not available\");\n\t\t\t\t\t\t\t\t\t\t// Toast.makeText(getActivity(), string,\n\t\t\t\t\t\t\t\t\t\t// Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}, \"Getting dealer contatct number.\").execute();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tToast toast = Toast.makeText(getActivity(),\n\t\t\t\t\t\t\t\t\"No network connection available.\",\n\t\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\t\ttoast.show();\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\t((TextView) parent.getChildAt(0)).setTextColor(v\n\t\t\t\t\t\t\t.getContext().getResources()\n\t\t\t\t\t\t\t.getColor(R.color.hintcolor));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onNothingSelected(AdapterView<?> parent) {\n\n\t\t\t}\n\t\t});\n\n\t\tbtn_reset = (Button) v.findViewById(R.id.btn_reset);\n\n\t\tbtn_reset.setOnClickListener(new OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\n\t\t\t\tspinner_regNo.setSelection(0);\n\t\t\t\tspinner_c_area.setSelection(0);\n\t\t\t\tspinner_c_subarea.setSelection(0);\n\t\t\t\tspinner_c_problem.setSelection(0);\n\t\t\t\tspinner_city.setText(\"\");\n\t\t\t\tspinner_dealer.setSelection(0);\n\t\t\t\tedit_varient.setText(\"\");\n\t\t\t\tedit_complaintback.setText(\"\");\n\t\t\t\tedit_resolution.setText(\"\");\n\t\t\t\tedit_mobile.setText(\"\");\n\t\t\t\tedit_email.setText(\"\");\n\t\t\t\tedit_dealerNo.setText(\"\");\n\t\t\t}\n\t\t});\n\t\tbtn_submit.setOnClickListener(new View.OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v1) {\n\n\t\t\t\tCalendar c = Calendar.getInstance();\n\t\t\t\tSimpleDateFormat df = new SimpleDateFormat(\"MM/dd/yyyy\");\n\t\t\t\tString formattedDate = df.format(c.getTime());\n\t\t\t\tArrayList<String> emptyFields = new ArrayList<>();\n\t\t\t\tif (spinner_regNo.getSelectedItemPosition() == 0)\n\t\t\t\t\temptyFields.add(\"Select Vehicle\");\n\t\t\t\tif (spinner_c_area.getSelectedItemPosition() == 0)\n\t\t\t\t\temptyFields.add(\"Complaint Area\");\n\t\t\t\tif (spinner_c_subarea.getSelectedItemPosition() == 0)\n\t\t\t\t\temptyFields.add(\"Complaint Sub Area\");\n\t\t\t\tif (spinner_c_problem.getSelectedItemPosition() == 0)\n\t\t\t\t\temptyFields.add(\"Problem Area\");\n\t\t\t\tif (TextUtils.isEmpty(edit_complaintback.getText().toString()))\n\t\t\t\t\temptyFields.add(\"Complaint Background\");\n\t\t\t\tif (TextUtils.isEmpty(edit_resolution.getText().toString()))\n\t\t\t\t\temptyFields.add(\"Resolution Required\");\n\t\t\t\tif (edit_email.getText().toString().equals(\"\")) {\n\t\t\t\t\temptyFields.add(\"Email Id\");\n\t\t\t\t} else if (!(Config.isEmailValid(edit_email.getText()\n\t\t\t\t\t\t.toString()))) {\n\t\t\t\t\t/*\n\t\t\t\t\t * edit_email.setError(\"Email id should not blank.\");\n\t\t\t\t\t * edit_email.setFocusable(true);\n\t\t\t\t\t */\n\t\t\t\t\temptyFields.add(\"Valid Email Id\");\n\t\t\t\t}\n\t\t\t\tif (edit_mobile.getText().toString().equals(\"\")) {\n\t\t\t\t\t/*\n\t\t\t\t\t * edit_email.setError(\"Email id should not blank.\");\n\t\t\t\t\t * edit_email.setFocusable(true);\n\t\t\t\t\t */\n\t\t\t\t\temptyFields.add(\"Mobile Number\");\n\t\t\t\t} else if (edit_mobile.getText().toString().trim().length() != 10) {\n\t\t\t\t\temptyFields.add(\"10 digits Contact Number.\");\n\t\t\t\t}\n\t\t\t\tif (spinner_city.getText().equals(\"\"))\n\t\t\t\t\temptyFields.add(\"City\");\n\t\t\t\tif (spinner_dealer.getSelectedItemPosition() == 0)\n\t\t\t\t\temptyFields.add(\"Dealer\");\n\n\t\t\t\tif (emptyFields.size() == 0) {\n\n\t\t\t\t\tif (DIVISIONNAME.contains(\"&\")) {\n\t\t\t\t\t\tDIVISIONNAME = DIVISIONNAME.replace(\"&\", \"&amp;\");\n\t\t\t\t\t}\n\t\t\t\t\tString reg;\n\t\t\t\t\tif (spinner_regNo.getSelectedItem().toString()\n\t\t\t\t\t\t\t.equals(\"Not Available\")) {\n\t\t\t\t\t\treg = \"<TMChassisRegNo>NA</TMChassisRegNo>\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (REGNO.equals(\"\")) {\n\t\t\t\t\t\t\tREGNO = \"NA\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\treg = \"<TMChassisRegNo>\" + REGNO + \"</TMChassisRegNo>\"\n\t\t\t\t\t\t\t\t+ \"<SerialNumber>\" + CHASSISNO\n\t\t\t\t\t\t\t\t+ \"</SerialNumber>\";\n\t\t\t\t\t}\n\t\t\t\t\t// KANCHAN REQ\n\t\t\t\t\tif (new CheckConnectivity().checkNow(getActivity())) {\n\t\t\t\t\t\tString ownerid = \"\";\n\t\t\t\t\t\tif (dealer.get(\"login\") != null) {\n\t\t\t\t\t\t\townerid = dealer.get(\"login\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tString req = \"<SOAP:Envelope xmlns:SOAP=\\\"http://schemas.xmlsoap.org/soap/envelope/\\\">\"\n\t\t\t\t\t\t\t\t+ \"<SOAP:Body>\"\n\t\t\t\t\t\t\t\t+ \"<TMPCComplaintsInsertOrUpdate_Input xmlns=\\\"http://siebel.com/asi/\\\">\"\n\t\t\t\t\t\t\t\t+ \"<ListOfTmCimsInterface xmlns=\\\"http://www.siebel.com/xml/TM%20CIMS%20Interface\\\">\"\n\t\t\t\t\t\t\t\t+ \"<TmCims>\" + \"<IntegrationId>\"\n\t\t\t\t\t\t\t\t+ System.currentTimeMillis()\n\t\t\t\t\t\t\t\t+ \"</IntegrationId>\"\n\t\t\t\t\t\t\t\t+ \"<Area>\"\n\t\t\t\t\t\t\t\t+ spinner_c_area.getSelectedItem().toString()\n\t\t\t\t\t\t\t\t+ \"</Area>\"\n\t\t\t\t\t\t\t\t+ \"<ContactId>\"\n\t\t\t\t\t\t\t\t+ contact_id\n\t\t\t\t\t\t\t\t+ \"</ContactId>\"\n\t\t\t\t\t\t\t\t+ \"<Description/>\"\n\t\t\t\t\t\t\t\t+ \"<Owner>\"\n\t\t\t\t\t\t\t\t+ ownerid\n\t\t\t\t\t\t\t\t+ \"</Owner>\"\n\t\t\t\t\t\t\t\t+ \"<PrimaryOrganizationId></PrimaryOrganizationId>\"\n\t\t\t\t\t\t\t\t+ \"<ServiceRequestType>Complaint</ServiceRequestType>\"\n\t\t\t\t\t\t\t\t+ \"<Source>Mobile</Source>\"\n\t\t\t\t\t\t\t\t+ \"<Status>Open</Status>\"\n\t\t\t\t\t\t\t\t+ \"<SubArea>\"\n\t\t\t\t\t\t\t\t+ spinner_c_subarea.getSelectedItem()\n\t\t\t\t\t\t\t\t.toString()\n\t\t\t\t\t\t\t\t+ \"</SubArea>\"\n\t\t\t\t\t\t\t\t+ \"<SubStatus>Case ref to dealer for action</SubStatus>\"\n\t\t\t\t\t\t\t\t+ \"<TMBusinessUnit>TMPC</TMBusinessUnit>\"\n\t\t\t\t\t\t\t\t+ reg\n\t\t\t\t\t\t\t\t+ \"<TMComplaintDateTime>\"\n\t\t\t\t\t\t\t\t+ formattedDate\n\t\t\t\t\t\t\t\t+ \"</TMComplaintDateTime>\"\n\t\t\t\t\t\t\t\t+ \"<TMComplaintType>Non-Legal</TMComplaintType>\"\n\t\t\t\t\t\t\t\t+ \"<TMMode>Customer App</TMMode>\"\n\t\t\t\t\t\t\t\t+ \"<TMOriginPoint>GM</TMOriginPoint>\"\n\t\t\t\t\t\t\t\t+ \"<TMProblemArea>\"\n\t\t\t\t\t\t\t\t+ spinner_c_problem.getSelectedItem()\n\t\t\t\t\t\t\t\t.toString()\n\t\t\t\t\t\t\t\t+ \"</TMProblemArea>\"\n\t\t\t\t\t\t\t\t+ \"<Description>Complaint Background:\"\n\t\t\t\t\t\t\t\t+ edit_complaintback.getText().toString()\n\t\t\t\t\t\t\t\t+ \" \"\n\t\t\t\t\t\t\t\t+ \"Resolution Required:\"\n\t\t\t\t\t\t\t\t+ edit_resolution.getText().toString()\n\t\t\t\t\t\t\t\t+ \" \"\n\t\t\t\t\t\t\t\t+ edit_email.getText()\n\t\t\t\t\t\t\t\t+ \" \"\n\t\t\t\t\t\t\t\t+ edit_mobile.getText()\n\t\t\t\t\t\t\t\t+ \"</Description>\"\n\t\t\t\t\t\t\t\t+ \"<TMDealer>\"\n\t\t\t\t\t\t\t\t+ DIVISIONNAME\n\t\t\t\t\t\t\t\t+ \"</TMDealer>\"\n\t\t\t\t\t\t\t\t+ \"</TmCims>\"\n\t\t\t\t\t\t\t\t+ \"</ListOfTmCimsInterface>\"\n\t\t\t\t\t\t\t\t+ \"<StatusObject></StatusObject>\"\n\t\t\t\t\t\t\t\t+ \"</TMPCComplaintsInsertOrUpdate_Input>\"\n\t\t\t\t\t\t\t\t+ \"</SOAP:Body>\" + \"</SOAP:Envelope>\";\n\n\t\t\t\t\t\t\n\t\t\t\t\t\tLog.v(\"final request\", req);\n\t\t\t\t\t\t\n\t\t\t\t\t\tLog.v(\"insert complaint request\", \"insert complaint request reached\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tnew WebServiceCall(getActivity(), req,\n\t\t\t\t\t\t\t\tConstants.TMPCComplaintsInsertOrUpdate_Input,\n\t\t\t\t\t\t\t\tnew ResponseCallback() {\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onResponseReceive(Object object) {\n\n\t\t\t\t\t\t\t\t\t\tcomplaintSuccess = (ArrayList<String>) object;\n\t\t\t\t\t\t\t\t\t\tmTracker.send(new HitBuilders.EventBuilder()\n\t\t\t\t\t\t\t\t\t\t\t\t.setCategory(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tUserDetails.getUser_id())\n\t\t\t\t\t\t\t\t\t\t\t\t.setAction(\"thread_true\")\n\t\t\t\t\t\t\t\t\t\t\t\t.setLabel(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"ComplaintRegistration\")\n\t\t\t\t\t\t\t\t\t\t\t\t.build());\n\n\t\t\t\t\t\t\t\t\t\tAlertDialog.Builder builder1 = new AlertDialog.Builder(\n\t\t\t\t\t\t\t\t\t\t\t\tgetActivity());\n\n\t\t\t\t\t\t\t\t\t\tbuilder1.setTitle(\"Complaint Registration\");\n\t\t\t\t\t\t\t\t\t\tbuilder1.setMessage(\"Complaint Registered\"\n\t\t\t\t\t\t\t\t\t\t\t\t+ \"\\n\"\n\t\t\t\t\t\t\t\t\t\t\t\t+ \"CR No: \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ complaintSuccess.get(1));\n\t\t\t\t\t\t\t\t\t\tbuilder1.setCancelable(false);\n\t\t\t\t\t\t\t\t\t\tbuilder1.setPositiveButton(\n\t\t\t\t\t\t\t\t\t\t\t\t\"OK\",\n\t\t\t\t\t\t\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onClick(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDialogInterface dialog,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tint id) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// navigate\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tFragmentManager fragmentManager = getFragmentManager();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tFragment fragment = new HomeFragment();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfragmentManager\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.beginTransaction()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.replace(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tR.id.frame_container,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfragment)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addToBackStack(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnull)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.commit();\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});\n\n\t\t\t\t\t\t\t\t\t\tAlertDialog alert11 = builder1.create();\n\t\t\t\t\t\t\t\t\t\talert11.show();\n\n\t\t\t\t\t\t\t\t\t\t// Calendar.getInstance().getTime();\n\n\t\t\t\t\t\t\t\t\t\t// STORE OFFLINE\n\t\t\t\t\t\t\t\t\t\t// DatabaseHandler db = new\n\t\t\t\t\t\t\t\t\t\t// DatabaseHandler(getActivity());\n\t\t\t\t\t\t\t\t\t\tcomplreg.setUserId(UserDetails\n\t\t\t\t\t\t\t\t\t\t\t\t.getUser_id());\n\t\t\t\t\t\t\t\t\t\tcomplreg.setComplaint_no(complaintSuccess\n\t\t\t\t\t\t\t\t\t\t\t\t.get(1));\n\t\t\t\t\t\t\t\t\t\tcomplreg.setComplaint_reg_no(user.REGISTRATIONNUMBER);\n\n\t\t\t\t\t\t\t\t\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\n\t\t\t\t\t\t\t\t\t\t\t\t\"dd-MMM-yyyy\", Locale.US);\n\t\t\t\t\t\t\t\t\t\tDate date = new Date();\n\t\t\t\t\t\t\t\t\t\tSystem.out.println(dateFormat\n\t\t\t\t\t\t\t\t\t\t\t\t.format(date));\n\t\t\t\t\t\t\t\t\t\tcomplreg.setComplaint_date(dateFormat\n\t\t\t\t\t\t\t\t\t\t\t\t.format(date));\n\t\t\t\t\t\t\t\t\t\tcomplreg.setModel(user.PPL);\n\t\t\t\t\t\t\t\t\t\tcomplreg.setPrimary_area(spinner_c_area\n\t\t\t\t\t\t\t\t\t\t\t\t.getSelectedItem().toString());\n\t\t\t\t\t\t\t\t\t\tcomplreg.setSub_area(spinner_c_subarea\n\t\t\t\t\t\t\t\t\t\t\t\t.getSelectedItem().toString());\n\t\t\t\t\t\t\t\t\t\tcomplreg.setProblem_area(spinner_c_problem\n\t\t\t\t\t\t\t\t\t\t\t\t.getSelectedItem().toString());\n\n\t\t\t\t\t\t\t\t\t\tString log = \"USERID: \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ UserDetails.getUser_id()\n\t\t\t\t\t\t\t\t\t\t\t\t+ \" SR: \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ complreg.getComplaint_no()\n\t\t\t\t\t\t\t\t\t\t\t\t+ \" ,REG: \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ complreg\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getComplaint_reg_no()\n\t\t\t\t\t\t\t\t\t\t\t\t+ \" ,DATE: \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ dateFormat.format(date);\n\n\t\t\t\t\t\t\t\t\t\t// db.addComplaint(complreg);\n\n\t\t\t\t\t\t\t\t\t\t// Save Complaint registration history\n\t\t\t\t\t\t\t\t\t\t// on Cloud.\n\t\t\t\t\t\t\t\t\t\t\tString req = Config.awsserverurl\n\t\t\t\t\t\t\t\t\t\t\t\t+ \"tmsc_ch/customerapp/vehicleServices/insertComplaintHistory\";\n\t\t\t\t\t\t\t\t\t\tList<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(\n\t\t\t\t\t\t\t\t\t\t\t\t9);\n\n\t\t\t\t\t\t\t\t\t\tnameValuePairs\n\t\t\t\t\t\t\t\t\t\t\t\t.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"user_id\", UserDetails\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getUser_id()));\n\t\t\t\t\t\t\t\t\t\tnameValuePairs.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\"registration_number\", complreg\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getComplaint_reg_no()));\n\t\t\t\t\t\t\t\t\t\tnameValuePairs.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\"complaint_number\", complreg\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getComplaint_no()));\n\t\t\t\t\t\t\t\t\t\tnameValuePairs\n\t\t\t\t\t\t\t\t\t\t\t\t.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"model\", complreg\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getModel()));\n\t\t\t\t\t\t\t\t\t\tnameValuePairs.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\"complaint_date\", complreg\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getComplaint_date()));\n\t\t\t\t\t\t\t\t\t\tnameValuePairs\n\t\t\t\t\t\t\t\t\t\t\t\t.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"primary_complaint_area\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcomplreg.getPrimary_area()));\n\t\t\t\t\t\t\t\t\t\tnameValuePairs.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\"sub_area\", complreg\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getSub_area()));\n\t\t\t\t\t\t\t\t\t\tnameValuePairs.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\"problem_area\", complreg\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getProblem_area()));\n\t\t\t\t\t\t\t\t\t\tnameValuePairs.add(new BasicNameValuePair(\n\t\t\t\t\t\t\t\t\t\t\t\t\"sessionId\", UserDetails\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getSeeionId()));\n\t\t\t\t\t\t\t\t\t\tnew AWS_WebServiceCall(\n\t\t\t\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\t\t\t\treq,\n\t\t\t\t\t\t\t\t\t\t\t\tServiceHandler.POST,\n\t\t\t\t\t\t\t\t\t\t\t\tConstants.insertComplaintHistory,\n\t\t\t\t\t\t\t\t\t\t\t\tnameValuePairs,\n\t\t\t\t\t\t\t\t\t\t\t\tnew ResponseCallback() {\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onResponseReceive(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tObject object) {\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setFocusable(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrue);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.requestFocus();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onErrorReceive(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tString string) {\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setFocusable(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrue);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tv.getRootView()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.requestFocus();\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}).execute();\n\n\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onErrorReceive(String string) {\n\n\t\t\t\t\t\t\t\t\t\tv.getRootView().setFocusable(true);\n\t\t\t\t\t\t\t\t\t\tv.getRootView().requestFocus();\n\t\t\t\t\t\t\t\t\t\tmTracker.send(new HitBuilders.EventBuilder()\n\t\t\t\t\t\t\t\t\t\t\t\t.setCategory(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tUserDetails\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getUser_id())\n\t\t\t\t\t\t\t\t\t\t\t\t.setAction(\"thread_false\")\n\t\t\t\t\t\t\t\t\t\t\t\t.setLabel(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"ComplaintRegistration\")\n\t\t\t\t\t\t\t\t\t\t\t\t.build());\n\t\t\t\t\t\t\t\t\t\tToast toast = Toast\n\t\t\t\t\t\t\t\t\t\t\t\t.makeText(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetActivity(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Complaint not registered. Please try again.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\t\t\t\t\t\ttoast.show();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t}, \"Please Wait..\").execute(); \n\t\t\t\t\t\n\t\t\t\t\t} else {\n\t\t\t\t\t\tToast toast = Toast.makeText(getActivity(),\n\t\t\t\t\t\t\t\t\"No network connection available.\",\n\t\t\t\t\t\t\t\tToast.LENGTH_SHORT);\n\t\t\t\t\t\ttoast.show();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t\n\t\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\t\tfor (int j = 0; j < emptyFields.size(); j++) {\n\t\t\t\t\t\tsb.append(emptyFields.get(j) + \"\\n\");\n\t\t\t\t\t}\n\n\t\t\t\t\tAlertDialog.Builder builder1 = new AlertDialog.Builder(\n\t\t\t\t\t\t\tgetActivity());\n\t\t\t\t\tbuilder1.setTitle(\"Following fields are missing:\");\n\t\t\t\t\tbuilder1.setMessage(sb);\n\t\t\t\t\t// TextView messageText =\n\t\t\t\t\t// (TextView)findViewById(android.R.id.message);\n\t\t\t\t\t// messageText.setGravity(Gravity.CENTER);\n\t\t\t\t\tbuilder1.setCancelable(true);\n\t\t\t\t\tbuilder1.setPositiveButton(\"OK\",\n\t\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\t\tint id) {\n\t\t\t\t\t\t\t\t\tdialog.cancel();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\tAlertDialog alert11 = builder1.create();\n\t\t\t\t\talert11.show();\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t});\n\n\t\tv.getRootView().setOnKeyListener(new OnKeyListener() {\n\t\t\t@Override\n\t\t\tpublic boolean onKey(View v, int keyCode, KeyEvent event) {\n\t\t\t\tv.setFocusable(true);\n\t\t\t\tif (event.getAction() == KeyEvent.ACTION_DOWN) {\n\t\t\t\t\tif (keyCode == KeyEvent.KEYCODE_BACK) {\n\t\t\t\t\t\tFragmentManager fm = getFragmentManager();\n\t\t\t\t\t\tFragmentTransaction tx = fm.beginTransaction();\n\t\t\t\t\t\ttx.replace(R.id.frame_container, new HomeFragment())\n\t\t\t\t\t\t\t\t.commit();\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t});\n\n\t\treturn v;\n\t}", "title": "" }, { "docid": "f0a26e0235c76793ac86bf80f876ba3d", "score": "0.6314635", "text": "void loadParticipantRegistrationFragment();", "title": "" }, { "docid": "6892839df9248976ab7f94b20d631d09", "score": "0.62934536", "text": "void registerFragment(HolderFragmentType fragment);", "title": "" }, { "docid": "fa6729b14e0b0933ff0d00cc5b52ad57", "score": "0.62789005", "text": "private void fragmentToAdd() {\n\n if (args != null) {\n mUri = args.getParcelable(Constants.DETAIL_URI);\n vehicleId = OffloadContract.VehicleEntry.getVehicleIdFromUri(mUri);\n titleKey = OffloadContract.VehicleEntry.getVehicleRegistrationFromUri(mUri);\n\n addDetailsFragment(mUri);\n\n// if (listenerTag.equals(\"listItemSelected\")){\n// addDetailsFragment(mUri);\n// }else {\n// addSummaryFragment(mUri);\n// }\n }\n }", "title": "" }, { "docid": "5f86bfcbc22c57127f1cd87a61edc507", "score": "0.6259102", "text": "private void register()\n {\n\n Intent registrationIntent = new Intent(this, RegistrationActivity.class);\n startActivity(registrationIntent);\n }", "title": "" }, { "docid": "6523679ed8c5a76be33a2412c7176d53", "score": "0.6243014", "text": "private void prepareFragment(){\n initializeEmptyText();\n\n initializeAdapter();\n\n initializeRecycler();\n }", "title": "" }, { "docid": "bcaef4e2566b06375958beade85b8096", "score": "0.61541533", "text": "@Override\n public void activityCreated(Bundle bundle){\n super.activityCreated(bundle);\n\n //prepare fragment\n prepareFragment();\n }", "title": "" }, { "docid": "12895e9281127f3c5b220ac7d06bc4a3", "score": "0.6147446", "text": "@Override\n public void onSuccess(Void unused) {\n Intent intent = new Intent(getApplicationContext(), MainActivity.class);\n String fragmentToDisplay = \"MyPlantsFragment\";\n intent.putExtra(\"fragmentToDisplay\", fragmentToDisplay);\n startActivity(intent);\n }", "title": "" }, { "docid": "d30a1c854732eb76be0158149699e3a7", "score": "0.61391336", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_register, container, false);\n getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);\n\n mainLayout= (FrameLayout) view.findViewById(R.id.registerfragment_main);\n loginSession=new LoginSessionManager(getActivity());\n txt_login= (TextView) view.findViewById(R.id.registerfragment_txtlogin);\n pass_guid= (ImageView) view.findViewById(R.id.registerfragment_passguid);\n\n getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);\n\n db=new UrlDatabaseHelper(getActivity());\n username= (EditText) view.findViewById(R.id.register_user_name);\n email= (EditText) view.findViewById(R.id.register_email);\n phn= (EditText) view.findViewById(R.id.register_phone_num);\n password= (EditText) view.findViewById(R.id.register_password);\n confirm_pass= (EditText) view.findViewById(R.id.register_confirm_password);\n register_btn= (Button) view.findViewById(R.id.register_btn_register);\n progress= (ProgressBar) view.findViewById(R.id.register_btn_progress);\n\n txt_login.setOnClickListener(this);\n pass_guid.setOnClickListener(this);\n register_btn.setOnClickListener(this);\n\n return view;\n }", "title": "" }, { "docid": "e8f7bfd18f80d0683afb7246690775d3", "score": "0.6108108", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_registration, container, false);\n etEmail = (EditText) view.findViewById(R.id.register_email);\n etDisplayName = (EditText) view.findViewById(R.id.display_name);\n etPassword = (EditText) view.findViewById(R.id.register_password);\n etVerifyPassword = (EditText) view.findViewById(R.id.verify_password);\n registerButton = (Button) view.findViewById(R.id.register);\n registerButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n register();\n }\n });\n registeringIndicator = (TextView) view.findViewById(R.id.trying_signup);\n ivPicture = (ImageView) view.findViewById(R.id.picture);\n takePicture = (TextView) view.findViewById(R.id.take_picture);\n takePicture.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n findPicture();\n }\n });\n return view;\n }", "title": "" }, { "docid": "bb6c3ad65d111733a1d2b69262de6fbd", "score": "0.6107197", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_register, container, false);\n setView();\n setListeners();\n return view;\n }", "title": "" }, { "docid": "16b1630f508f144a700f0be985af032f", "score": "0.6088763", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_teach_reg, container, false);\n\n blurImageView = view.findViewById(R.id.bookBlurImageViewteach);\n blurImageView.setBlur(2);\n imageView = view.findViewById(R.id.white_imageteach);\n imageView.setAlpha(.7f);\n\n mEmail = view.findViewById(R.id.register_email_teach_reg);\n mPassword = view.findViewById(R.id.register_password_teach_reg);\n mConfirmPassword = view.findViewById(R.id.confirm_password_teach_reg);\n mUserName = view.findViewById(R.id.teach_register_name);\n mInstitution = view.findViewById(R.id.teach_register_insti);\n mDepartment = view.findViewById(R.id.teach_register_department);\n mPhone = view.findViewById(R.id.teach_register_phone);\n\n mButtonReg = view.findViewById(R.id.btn_teach_register);\n mHaveAcc = view.findViewById(R.id.btn_have_acc_teach);\n mHaveAcc.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startActivity(new Intent(getActivity(), LoginActivity.class));\n }\n });\n\n mProgressBar = view.findViewById(R.id.progressBarRegister_teach);\n\n mButtonReg.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n registerTeacher();\n }\n });\n return view;\n }", "title": "" }, { "docid": "69ae2e165d2da19367de6475742086fb", "score": "0.6049054", "text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_register, container, false);\r\n etUsername=view.findViewById(R.id.etUsername);\r\n etPassword=view.findViewById(R.id.etPassword);\r\n etEmail=view.findViewById(R.id.etEmail);\r\n etMobile=view.findViewById(R.id.etMobile);\r\n btnSubmit=view.findViewById(R.id.btnSubmit);\r\n btnSubmit.setOnClickListener(this);\r\n context=getActivity();\r\n\r\n return view;\r\n }", "title": "" }, { "docid": "5ede497cdff1e1eb6a3e6034caf99165", "score": "0.6032816", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_register);\n initialize();\n }", "title": "" }, { "docid": "ec6d039d50e2d4b404dc092207aae67c", "score": "0.6028387", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_register, container, false);\n }", "title": "" }, { "docid": "dd9914415835eed9d82f0d6027724c28", "score": "0.60228163", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View v = inflater.inflate(R.layout.pergunta_fragment, container, false);\n\n buscarBtn = (Button) v.findViewById(R.id.buscarbt);\n\n scan_btn = (ImageButton) v.findViewById(R.id.cameraBuscar);\n tombo = (EditText) v.findViewById(R.id.tomboSerial);\n\n scan_btn.setOnClickListener(new View.OnClickListener(){\n @Override\n public void onClick(View view) {\n //TODO VER PARA PEGAR A FOTO\n\n IntentIntegrator integrator = new IntentIntegrator(getActivity());\n\n integrator.setDesiredBarcodeFormats(IntentIntegrator.ALL_CODE_TYPES);\n\n integrator.setPrompt(\"Scan\");\n integrator.setCameraId(0);\n integrator.setBeepEnabled(false);\n integrator.setBarcodeImageEnabled(false);\n integrator.initiateScan();\n\n }\n });\n\n\n buscarBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n //CADASTRAR IMAGEN NO BANCO\n FragmentTransaction ft = getActivity().getSupportFragmentManager().beginTransaction();\n ft.replace(R.id.content_main, new FeedFragment());\n ft.addToBackStack(null);\n ft.commit();\n }\n\n });\n\n\n\n return v;\n }", "title": "" }, { "docid": "a0064fd0f7445d9e1b3dd161ad4f829e", "score": "0.601527", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\trequestWindowFeature(Window.FEATURE_NO_TITLE);\r\n\t\tsetContentView(R.layout.activity_register);\r\n\r\n\t\tfindViewById();\r\n\t\tinitView();\r\n\r\n\t\t//\t\tFragment fragment = new RegGenderFragment();\r\n\t\tFragment fragment = new RegInviteCodeFragment();\r\n\t\tfragmentManager = getSupportFragmentManager();\r\n\t\tfragmentTransaction = fragmentManager.beginTransaction();\r\n\t\tfragmentTransaction.setCustomAnimations(R.anim.push_left_in, R.anim.push_left_out, R.anim.push_right_in,\r\n\t\t\t\tR.anim.push_right_out);\r\n\t\tfragmentTransaction.replace(R.id.fragment_container, fragment);\r\n\t\tfragmentTransaction.commit();\r\n\t}", "title": "" }, { "docid": "3a86049209a7d3b8fe2219be606e9658", "score": "0.6008098", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_register, container, false);\n }", "title": "" }, { "docid": "3a86049209a7d3b8fe2219be606e9658", "score": "0.6008098", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_register, container, false);\n }", "title": "" }, { "docid": "054828d153fa8d3cd65ab3a885038a6d", "score": "0.5986322", "text": "private void populateFragment() {\n getSupportFragmentManager()\n .beginTransaction()\n .replace(R.id.frame_fragment_add_parent1, AddParent1Fragment.newInstance(), AddParent1Fragment.TAG)\n .commit();\n }", "title": "" }, { "docid": "7934c94819039e0e7324378c5c1f17e3", "score": "0.59667647", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n v = inflater.inflate(R.layout.fragment_sign_up1, container, false);\n\n init();\n\n continueBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n if(userContact.getText().length() != 10 ){\n\n userContact.setError(\"Invalid length\");\n\n }else if (!userEmail.getText().toString().contains(\"@\")){\n\n userEmail.setError(\"Please enter a valid email id\");\n\n }else {\n\n SignUp2 signUp2 = new SignUp2();\n bundle.putString(\"name\", userName.getText().toString());\n bundle.putString(\"email_id\", userEmail.getText().toString());\n bundle.putString(\"phone\", userContact.getText().toString());\n signUp2.setArguments(bundle);\n\n ((AppCompatActivity) v.getContext()).getSupportFragmentManager().beginTransaction().replace(R.id.frame, signUp2).addToBackStack(\"signup_1\").commit();\n\n }\n }\n });\n\n return v;\n }", "title": "" }, { "docid": "a8d17846c4514ad3b019f687b4fd3f42", "score": "0.5945264", "text": "private void initFragment() {\n }", "title": "" }, { "docid": "945dee08c25446951d62e9de8714e520", "score": "0.59339225", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_register, container, false);\n Log.d(TAG, \"onCreate: Started.\");\n\n btn_login = (Button)view.findViewById(R.id.button);\n btn_register = (Button) view.findViewById(R.id.button2);\n\n\n btn_login.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Toast.makeText(getActivity(),\"going to Login Fragment\",Toast.LENGTH_SHORT).show();\n //navigate to Fragment\n ((MainActivity)getActivity()).setViewPager(0);\n }\n });\n btn_register.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Toast.makeText(getActivity(),\"going Register Fragment\",Toast.LENGTH_SHORT).show();\n //navigate to Activity\n\n //((MainActivity)getActivity()).setViewPager(0);\n Intent intent = new Intent(getActivity(),Main2Activity.class);\n startActivity(intent);\n }\n });\n return view;\n }", "title": "" }, { "docid": "a3efbe14ffa975b7754e79a4e71450da", "score": "0.5921651", "text": "private void loadFragmentSetup() {\n\n fragmentSetup = (FragmentSetup) getSupportFragmentManager().findFragmentByTag(FragmentSetup.class.getName());\n\n if (fragmentSetup == null) {\n fragmentSetup = FragmentSetup.getInstance();\n }\n FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();\n if (!fragmentSetup.isAdded()) {\n transaction.add(R.id.frame_home_fragment, fragmentSetup, FragmentSetup.class.getName());\n } else {\n // transaction.hide(fragmentCurrent);\n if (fragmentHome != null && fragmentHome.isAdded()) {\n transaction.hide(fragmentHome);\n }\n if (fragmentNotify != null && fragmentNotify.isAdded()) {\n transaction.hide(fragmentNotify);\n }\n if (fragmentSearch != null && fragmentSearch.isAdded()) {\n transaction.hide(fragmentSearch);\n }\n if (fragmentService != null && fragmentService.isAdded()) {\n transaction.hide(fragmentService);\n }\n transaction.show(fragmentSetup);\n }\n // fragmentCurrent = fragmentHome;\n transaction.commit();\n }", "title": "" }, { "docid": "e8b4e06fbd2ddca45019f67457033523", "score": "0.5921385", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_register, container, false);\n EditTextUsername = v.findViewById(R.id.registerEtUname);\n EditTextEmail = v.findViewById(R.id.registerEtEmail);\n EditTextPassword = v.findViewById(R.id.registerEtPassword);\n EditTextAge = v.findViewById(R.id.registerEtAge);\n EditTextAddress = v.findViewById(R.id.registerEtAddress);\n\n buttonRegister = v.findViewById(R.id.registerBtnRegister);\n\n buttonRegister.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String Username = EditTextUsername.getText().toString();\n String Email = EditTextEmail.getText().toString();\n String Password = EditTextPassword.getText().toString();\n String Age = EditTextAge.getText().toString();\n String Address = EditTextAddress.getText().toString();\n\n User user = new User(Username,Email,Password,Age,Address);\n UserApi userApi = Url.getInstance().create(UserApi.class);\n Call<Response> responseCall = userApi.register(user);\n responseCall.enqueue(new Callback<Response>() {\n @Override\n public void onResponse(Call<Response> call, retrofit2.Response<Response> response) {\n if (response.isSuccessful()) {\n Toast.makeText(getContext(), \"Registered\", Toast.LENGTH_SHORT).show();\n }\n else{\n Toast.makeText(getContext(), \"error\", Toast.LENGTH_SHORT).show();\n }\n\n\n }\n\n @Override\n public void onFailure(Call<Response> call, Throwable t) {\n Toast.makeText(getContext(), \"Error\"+t, Toast.LENGTH_SHORT).show();\n\n }\n });\n\n }\n });\n \n \n return v;\n \n }", "title": "" }, { "docid": "055f6bf108c35d4d2b6230cfbd9ec4dc", "score": "0.58691216", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_register, container, false);\n\n register_user = view.findViewById(R.id.register_username);\n register_pw = view.findViewById(R.id.register_password);\n register_btn = view.findViewById(R.id.register_button);\n\n sharedPreferences = getActivity().getSharedPreferences(\"USER\", MODE_PRIVATE);\n editor = sharedPreferences.edit();\n\n register_btn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String entered_username = register_user.getText().toString();\n String entered_password = register_pw.getText().toString();\n\n editor.putString(\"USERNAME\", entered_username);\n editor.putString(\"PASSWORD\",entered_password);\n editor.commit();\n\n Toast.makeText(getActivity(),\"You successfully registered!\",Toast.LENGTH_SHORT).show();\n fragmentManager=getActivity().getSupportFragmentManager();\n transaction=fragmentManager.beginTransaction();\n transaction.replace(R.id.fragment_container,new LoginFragment(),null).commit();\n }\n });\n\n return view;\n }", "title": "" }, { "docid": "072a3c907e882d468e259553167f7318", "score": "0.5867414", "text": "@Override\n\t\tprotected void onPreExecute() {\n\t\t\tLog.d(\"TAG\", \"REGISTER\");\n\t\t\tdialog.setMessage(\"Registering...\");\n\t\t\tdialog.setCanceledOnTouchOutside(false);\n\t\t\tdialog.show();\n\t\t\tsuper.onPreExecute();\n\t\t}", "title": "" }, { "docid": "3a9bb505c6aad973ed33acb417aaa5ca", "score": "0.5864373", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_sign_up, container, false);\n Button btn = (Button)view.findViewById(R.id.btn_new_signup);\n btn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n NetworkManager.getInstance().signup(\"aaa\", \"1111\", new NetworkManager.OnResultListener<String>() {\n @Override\n public void onSuccess(String result) {\n if (result.equals(\"ok\")) {\n PropertyManager.getInstance().setId(\"aaa\");\n PropertyManager.getInstance().setPassword(\"1111\");\n startActivity(new Intent(getContext(), MainActivity.class));\n getActivity().finish();\n } else {\n //\n }\n }\n\n @Override\n public void onFail(int code) {\n // ...\n }\n });\n }\n });\n return view;\n }", "title": "" }, { "docid": "2842c093eed10a2189a88d0555627b4a", "score": "0.5854497", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_login, container, false);\n regText = view.findViewById(R.id.register_txt);\n UserName = view.findViewById(R.id.user_name);\n UserPassword= view.findViewById(R.id.user_pass);\n LoginBtn = view.findViewById(R.id.login_btn);\n\n LoginBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n perforLogin();\n }\n });\n\n regText.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n loginFormActivityListener.performRegister();\n }\n });\n return view;\n }", "title": "" }, { "docid": "57bb5232fea737c017fc464ac06a8bfc", "score": "0.5853289", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View root = inflater.inflate(R.layout.fragment_register, container, false);\n addControls(root);\n addEvents();\n return root;\n }", "title": "" }, { "docid": "44467db2bceac6f713609589f8d4fe1b", "score": "0.5841612", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_register, container, false);\n name = (EditText) view.findViewById(R.id.text_name);\n surname = (EditText) view.findViewById(R.id.text_surname);\n email = (EditText) view.findViewById(R.id.text_email);\n username = (EditText) view.findViewById(R.id.text_user);\n password = (EditText) view.findViewById(R.id.text_pass);\n comfirm = (EditText) view.findViewById(R.id.text_conpass);\n btn = (Button) view.findViewById(R.id.btnRegis);\n btn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n sendData();\n }\n });\n return view;\n }", "title": "" }, { "docid": "c94aee135f88849dd9149abc03ffbf7e", "score": "0.5826612", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_re, container, false);\n\n rePresenter=new RePresenter(new ReModel(),this);\n registerUsername = (EditText) inflate.findViewById(R.id.register_username);\n registerUserpwd = (EditText) inflate.findViewById(R.id.register_userpwd);\n registerButt = (Button) inflate.findViewById(R.id.register_butt);\n registerButt.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n rePresenter.Re_presenter();\n }\n });\n return inflate;\n }", "title": "" }, { "docid": "64ac179bb9259cf67f2b23db73ecd4a2", "score": "0.5819105", "text": "private void initViewPage() {\n\t\tfragmentList = new ArrayList<Fragment>();\n\t\tLoginFragment loginFragment = new LoginFragment();\n\t\tRegistFragment registFragment = new RegistFragment();\n\t\tfragmentList.add(loginFragment);\n\t\tfragmentList.add(registFragment);\n\t\tviewAdapter = new LoginViewPageAdpater(getSupportFragmentManager(), fragmentList);\n\t\tfragmentViewPage.setAdapter(viewAdapter);\n\t}", "title": "" }, { "docid": "85ee214750970170199f1ec22f6ae2f6", "score": "0.5818745", "text": "private void registerform()\n {\n Intent r = new Intent(this, RegisterActivity.class);\n r.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK|Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(r);\n this.finish();\n }", "title": "" }, { "docid": "31a372a840b1318aee650e034a52e82b", "score": "0.58174187", "text": "private void createAndAddFragment(){\n Intent intent = getIntent();\n MainActivity.FragmentToLaunch fragmentToLaunch = (MainActivity.FragmentToLaunch)\n intent.getSerializableExtra(MainActivity.NOTE_FRAGMENT_TO_LOAD_EXTRA);\n\n //grabbing our fragment manager and our fragment transaction so that we can add our edit\n //or view fragment dynamically\n FragmentManager fragmentManager = getSupportFragmentManager();\n FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n\n //välja rätt fragment\n switch(fragmentToLaunch){\n case EDIT:\n //Create and add note-edit fragment to NoteDetailActivity if thats what we want to launch\n NoteEditFragment noteEditFragment = new NoteEditFragment();\n setTitle(R.string.editFragmentTitle);\n fragmentTransaction.add(R.id.note_container, noteEditFragment, \"NOTE_EDIT_FRAGMENT\");\n\n break;\n\n case VIEW:\n //Create and add note-view fragment to NoteDetailActivity if thats what we want to launch\n NoteViewFragment noteViewFragment = new NoteViewFragment();\n setTitle(R.string.viewFragmentTitle);\n fragmentTransaction.add(R.id.note_container, noteViewFragment, \"NOTE_VIEW_FRAGMENT\");\n break;\n }\n\n fragmentTransaction.commit();\n }", "title": "" }, { "docid": "e7bf397724d69bfe71fed0f3e128dd0b", "score": "0.5797342", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_register, container, false);\n\n mQuery = view.findViewById(R.id.next_query);\n\n\n mAnswer = view.findViewById(R.id.next_answer);\n mAnswer2 = view.findViewById(R.id.next_answer2);\n mButtonNext = view.findViewById(R.id.next_phone_button);\n\n if (mParam1 == 1) {\n mQuery.setText(\"Quel est votre adresse mail ?\");\n mAnswer.setHint(\"Adresse mail\");\n mAnswer2.setVisibility(View.GONE);\n mButtonNext.setText(mParam2);\n mButtonNext.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n if (!mAnswer.getText().toString().equals(\"\")) {\n onButtonMailPressed(true, mParam1, mAnswer.getText().toString().trim());\n } else {\n Toast.makeText(getContext(), \"Veillez entrer une adresse\", Toast.LENGTH_LONG).show();\n }\n }\n });\n } else if (mParam1 == 2) {\n mQuery.setText(\"Créer un mot de passe\");\n mAnswer.setHint(\"Mot de passe\");\n mAnswer2.setVisibility(View.GONE);\n mButtonNext.setText(mParam2);\n mButtonNext.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n if (!mAnswer.getText().toString().equals(\"\")) {\n onButtonPasswordPressed(true, mParam1, mAnswer.getText().toString().trim());\n } else {\n Toast.makeText(getContext(), \"Veillez entrer un mot de passe\", Toast.LENGTH_LONG).show();\n }\n }\n });\n } else if (mParam1 == 3) {\n mQuery.setText(\"Quel est votre nom ?\");\n mAnswer.setHint(\"Prénom\");\n mAnswer2.setHint(\"Nom de famille\");\n mAnswer2.setVisibility(View.VISIBLE);\n mButtonNext.setText(mParam2);\n mButtonNext.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n if (!mAnswer.getText().toString().equals(\"\") && !mAnswer2.getText().toString().equals(\"\")) {\n onButtonNamePressed(true, mAnswer.getText().toString().trim(), mAnswer2.getText().toString().trim());\n } else {\n Toast.makeText(getContext(), \"Veillez entrer un nom et prenom\", Toast.LENGTH_LONG).show();\n }\n }\n });\n } else if (mParam1 == 4) {\n mQuery.setText(\"Terminer la création du compte\");\n mAnswer.setVisibility(View.GONE);\n mAnswer2.setVisibility(View.GONE);\n mButtonNext.setText(mParam2);\n mButtonNext.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n onButtonSignUpPressed(true);\n }\n });\n }\n\n return view;\n }", "title": "" }, { "docid": "e069d7a8c9e5202c6ee324f4f9fff211", "score": "0.5782657", "text": "@Override\n public void run() {\n\n Intent intent = new Intent(SplashScrennActivity.this, Register.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "fdd7530621e91194230425bf05834656", "score": "0.5782606", "text": "public static RegisterFragment newInstance() {\n return new RegisterFragment();\n }", "title": "" }, { "docid": "f562947ed19c58da7aef254b2430be94", "score": "0.5779802", "text": "private void startProfileFragment(final UserFirebase userFirebase) {\n\n //create a new profile fragment\n Fragment profileFragment = new ProfileFragment();\n //pass in the type of the profile\n Bundle bundle = new Bundle();\n bundle.putString(currentFragment.getString(R.string.profile_type),\n currentFragment.getString(R.string.profile_type_other));\n\n //pass in details of the user to profile\n bundle.putSerializable(currentFragment.getString(R.string.user_details), userFirebase.anotherUser);\n\n profileFragment.setArguments(bundle);\n \n currentFragment.getActivity().runOnUiThread(new Runnable() {\n @Override\n public void run() {\n ((MainActivity)currentFragment.getActivity()).removeSearchToolbar();\n }\n });\n // Add Event Details Fragment to fragment manager\n currentFragment.getActivity().getSupportFragmentManager().beginTransaction()\n .replace(R.id.fragment_frame_layout, profileFragment)\n .setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN)\n .addToBackStack(currentFragment.getString(R.string.fragment_profile))\n .commit();\n\n }", "title": "" }, { "docid": "f0b61976e7ac2dc416f439f8c7c50dcd", "score": "0.57625955", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_register, container, false);\n Button b = v.findViewById(R.id.button_register);\n b.setOnClickListener(this);\n return v;\n }", "title": "" }, { "docid": "e768671b7638ddfb3587fff58aa9937e", "score": "0.5759797", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_register__info, container, false);\n Register_IpFragment reg = new Register_IpFragment();\n\n next = (Button) v.findViewById(R.id.btn_nextip);\n cmp_name = (EditText) v.findViewById(R.id.edt_name);\n userr = (EditText) v.findViewById(R.id.edt_user);\n passw = (EditText) v.findViewById(R.id.edt_pass);\n birthdate = (EditText) v.findViewById(R.id.edt_fechan);\n\n Confirmation_close();\n Confirmation_register();\n\n dialog = new ProgressDialog(getContext());\n dialog.setMessage(\"Procesando la información.....\");\n\n birthdate.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n final Calendar c = Calendar.getInstance();\n mYear = c.get(Calendar.YEAR);\n mMonth = c.get(Calendar.MONTH);\n mDay = c.get(Calendar.DAY_OF_MONTH);\n\n DatePickerDialog dpd = new DatePickerDialog(v.getContext(),\n new DatePickerDialog.OnDateSetListener() {\n\n @Override\n public void onDateSet(DatePicker view, int year,\n int monthOfYear, int dayOfMonth) {\n // Setear valor en editText\n birthdate.setText(dayOfMonth + \"-\"\n + (monthOfYear + 1) + \"-\" + year);\n }\n }, mYear, mMonth, mDay);\n dpd.show();\n }\n });\n next.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n InputMethodManager imm = (InputMethodManager)getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(passw.getWindowToken(), 0);\n dialog.show();\n AppUtil.c_name = cmp_name.getText().toString();\n AppUtil.b_date = birthdate.getText().toString();\n AppUtil.username = userr.getText().toString();\n AppUtil.pass = passw.getText().toString();\n String ma = AppUtil.email;\n String sexo = AppUtil.sex;\n\n ParseUser user = new ParseUser();\n user.setUsername(AppUtil.username);\n user.setPassword(AppUtil.pass);\n user.setEmail(AppUtil.email);\n user.put(\"name\", AppUtil.c_name);\n user.put(\"b_date\",AppUtil.b_date);\n user.put(\"sex\",AppUtil.sex);\n\n user.signUpInBackground(new SignUpCallback() {\n @Override\n public void done(ParseException e) {\n dialog.hide();\n if (e == null) {\n Log.i(\"Sign\", \"Correcto\");\n register_ok.show();\n AppUtil.c_name=\"\";\n AppUtil.username=\"\";\n AppUtil.email=\"\";\n AppUtil.b_date=\"\";\n AppUtil.pass=\"\";\n AppUtil.sex=\"\";\n\n } else {\n Log.i(\"e\", e.getMessage());\n String[] palabras = e.getMessage().split(\" \");\n for (String i : palabras) {\n if (i.equals(\"username\")) {\n Toast toast = Toast.makeText(getContext(), \"Error: Username already exist\", Toast.LENGTH_SHORT);\n toast.show();\n userr.requestFocus();\n userr.setBackgroundColor(Color.RED);\n } else {\n close.show();\n /*Toast toast = Toast.makeText(getContext(), \"Error: Email already exist\", Toast.LENGTH_SHORT);\n toast.show();\n Register_IpFragment regip = new Register_IpFragment();\n android.support.v4.app.FragmentTransaction ft = getFragmentManager().beginTransaction();\n ft.replace(R.id.container, regip);\n ft.commit();*/\n }\n\n\n\n }\n Log.i(\"Sign\", \"Incorrecto\");\n }\n }\n });\n }\n });\n\n return v;\n }", "title": "" }, { "docid": "441640d70af264a14c862f888dfedb4d", "score": "0.57358104", "text": "private void setupFragments(Bundle savedInstanceState) {\n if (savedInstanceState != null) {\n return;\n }\n \n FragmentTransaction ft = getFragmentManager().beginTransaction();\n ft.replace(R.id.compose_form_container, ComposeFormFragment.newInstance());\n ft.commit();\n }", "title": "" }, { "docid": "ba4968a1aac81c192f7903e6e25ff0ae", "score": "0.5729578", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_client_register, container, false);\n clientRegisterFragmentPresenter = new ClientRegisterPresenterImpl(this);\n clientRegisterFragmentPresenter.created();\n clientRegisterFragmentPresenter.getCities();\n HelperMethod.requestPermission(getActivity());\n return view;\n }", "title": "" }, { "docid": "322afaaf5f60fabe912c9dc26fb5f66b", "score": "0.57126653", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.fragment_guide_register, null);\n\t}", "title": "" }, { "docid": "64c23c901e1e30d3799caf18ccd44bd2", "score": "0.56968784", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n v = inflater.inflate(R.layout.fragment_payment, container, false);\n plateNo = getArguments().getString(Constants.plateNo);\n bundle.putString(Constants.plateNo, plateNo);\n\n return v;\n }", "title": "" }, { "docid": "71ea35b5a04e9996996a30efca6bfb34", "score": "0.5691227", "text": "@Override\n void initView() {\n try {\n FragmentTransaction t = this.getSupportFragmentManager()\n .beginTransaction();\n mFragment = getFragmentByType();\n\n if (mFragment != null) {\n t.replace(R.id.fragment, mFragment).commit();\n }\n }catch(Exception e)\n {e.printStackTrace();}\n }", "title": "" }, { "docid": "6a1edc5cb44a7a8e7288cdca5eb689a3", "score": "0.568929", "text": "private fragmentActivo(){}", "title": "" }, { "docid": "46bf8a5dd774697e6e8fb4ef4609e8b2", "score": "0.5683766", "text": "private void prepareFragment(){\n initializeEditText();\n //initialize \"empty\" text, displayed if data is empty\n initializeEmptyText();\n\n //initialize adapter\n initializeAdapter();\n\n //initialize recycler view\n initializeRecycler();\n\n initializeFAB();\n\n //check if exercise list is empty\n isEmptyRecycler(mRoutineExerciseList.isEmpty());\n\n }", "title": "" }, { "docid": "a6ba9d11283c38a089b01e1fbee0fd2b", "score": "0.5681824", "text": "public void setDetails() {\n\n Bundle arguments = new Bundle();\n arguments.putString(myTripDetailFragment.ARG_ITEM_ID,\n getIntent().getStringExtra(myTripDetailFragment.ARG_ITEM_ID));\n arguments.putString(\"EXTRA_USERNAME\", getIntent().getStringExtra(\"EXTRA_USERNAME\"));\n arguments.putString(\"EXTRA_PASSWORD\", getIntent().getStringExtra(\"EXTRA_PASSWORD\"));\n myTripDetailFragment fragment = new myTripDetailFragment();\n fragment.setArguments(arguments);\n getSupportFragmentManager().beginTransaction()\n .replace(R.id.mytrip_detail_container, fragment)\n .commit();\n }", "title": "" }, { "docid": "ef9503d6737022808bfafbce8286c917", "score": "0.56714636", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_registration);\n\n et_register_firstname = findViewById(R.id.et_register_firstname);\n et_register_name = findViewById(R.id.et_register_name);\n et_register_mail = findViewById(R.id.et_register_mail);\n et_register_pwd = findViewById(R.id.et_register_pwd);\n et_register_pwdconf = findViewById(R.id.et_register_pwdconf);\n bt_register_signup = findViewById(R.id.bt_register_signup);\n\n }", "title": "" }, { "docid": "aea1f3650e9d0c7c11a2e2181587f9fc", "score": "0.5668402", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_start, container, false);\n\n SettingsFragment settingsFragment = new SettingsFragment();\n CityListFragment cityListFragment = new CityListFragment();\n HistoryFragment historyFragment = new HistoryFragment();\n MapsFragment mapsFragment = new MapsFragment();\n RetrofitRequest.RetrofitCallback retroCall = this;\n StartFragment startFragment = this;\n\n initField(view);\n initDate();\n initWallpaper();\n\n Bundle bundle = getArguments();\n if (bundle != null) {\n cityName.setText(bundle.getString(CITY_NAME));\n }\n\n clickProcessing(settings, settingsFragment);\n clickProcessing(cityList, cityListFragment);\n clickProcessing(history, historyFragment);\n clickProcessing(mapBtn, mapsFragment);\n start.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n RetrofitRequest retrofitRequest = new RetrofitRequest(cityName, startFragment, retroCall);\n retrofitRequest.initRetrofit();\n retrofitRequest.request();\n }\n });\n return view;\n }", "title": "" }, { "docid": "3763f90bb3484eac5425f532836af764", "score": "0.5658832", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n binding = DataBindingUtil.inflate(inflater, R.layout.fragment_register, container, false);\n root = binding.getRoot();\n\n return root;\n }", "title": "" }, { "docid": "5902dfacef9976ca4de273d9f2967e23", "score": "0.5651173", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n bind = DataBindingUtil.inflate(inflater,R.layout.fragment_signup_frag, container, false);\n final Bundle bundle = this.getArguments();\n auth = bundle.getParcelableArrayList(\"auth\");\n bind.btnSigninClear.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n bind.txtSigninUsername.setText(\"\");\n bind.txtSigninPass.setText(\"\");\n bind.txtSigninConfirmPass.setText(\"\");\n bind.txtSigninEmail.setText(\"\");\n bind.txtSigninPhone.setText(\"\");\n }\n });\n bind.btnSigninSubmit.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n if(bind.txtSigninUsername.getText() != null && bind.txtSigninPass.getText()!=null && bind.txtSigninConfirmPass!=null){\n Auth newAuth = new Auth(bind.txtSigninUsername.getText().toString(), bind.txtSigninPass.getText().toString(),\n bind.txtSigninEmail.getText().toString(), bind.txtSigninPhone.getText().toString());\n auth.add(newAuth);\n bundle.putParcelableArrayList(\"newAuth\", (ArrayList<? extends Parcelable>) auth);\n Navigation.findNavController(view).navigate(R.id.home_frag, bundle);\n }\n }\n });\n View view = bind.getRoot();\n return view;\n }", "title": "" }, { "docid": "f3d4b54bfa2c497f83cfb15ae784caa7", "score": "0.5647643", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tsuper.setContentView(R.layout.activity_register);\r\n\t\tButton backButton = (Button) findViewById(R.id.btnBack);\r\n\t\tbackButton.setOnClickListener(new OnClickListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onClick(View v) {\r\n\t\t\t\tRegisterActivity.this.finish();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmHandler=new MyHandler(this);\r\n\t\tuserNameEt = (EditText) findViewById(R.id.userNameEt);\r\n\t\tpasswordEt = (EditText) findViewById(R.id.passwordEt);\r\n\t\tpassword2Et = (EditText) findViewById(R.id.password2Et);\r\n\t\tnameEt=(EditText)findViewById(R.id.nameEt);\r\n\t\tphoneEt = (EditText) findViewById(R.id.phoneEt);\r\n\t\tmRegionSpinner = (Spinner) findViewById(R.id.regionSpin);\r\n\t\tdepartmentSpinner = (Spinner) findViewById(R.id.departmentSpin);\r\n\t\tbtnRegister = (Button) findViewById(R.id.btnRegister);\r\n\t\tbtnRegister.setEnabled(false);\r\n\t\tTextWatcherimpl textWatcherimpl = new TextWatcherimpl();\r\n\t\tuserNameEt.addTextChangedListener(textWatcherimpl);\r\n\t\tpasswordEt.addTextChangedListener(textWatcherimpl);\r\n\t\tpassword2Et.addTextChangedListener(textWatcherimpl);\r\n\t\tphoneEt.addTextChangedListener(textWatcherimpl);\r\n\t\tnameEt.addTextChangedListener(textWatcherimpl);\r\n\t\tsetRegionView();\r\n\t\tsetDepartmentView();\r\n\t\tbtnRegister.setOnClickListener(new OnClickListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void onClick(View v) {\r\n\t\t\t\tif (user==null) {\r\n\t\t\t\t\tuser=new User();\r\n\t\t\t\t}\r\n\t\t\t\tuser.setName(userNameEt.getText().toString());\r\n\t\t\t\tuser.setPassword(passwordEt.getText().toString());\r\n\t\t\t\tuser.setPhone(phoneEt.getText().toString());\r\n\t\t\t\tuser.setXzq(WaterDectionary.getRegions().get(WaterDectionary.findRegionIndex(mRegionSpinner.getSelectedItem().toString().trim())));\r\n\t\t\t\tuser.setUserDept(WaterDectionary.getDepartments().get(departmentSpinner.getSelectedItemPosition()));\r\n\t\t\t\tuser.setXm(nameEt.getText().toString());\r\n\t\t\t\tnew Thread(new HttpThread()).start();\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "8f4dd70cd050e363cb0423ccde7ca59d", "score": "0.56421554", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\n view = inflater.inflate(R.layout.fragment_profile, container, false);\n\n session = new SessionManager(getContext());\n db = new SQLiteHandler(getContext());\n\n chargeElements();\n logoutUser();\n\n getCityByCEP();\n saveRegister();\n getUserInfo();\n cancelAction();\n\n return view;\n }", "title": "" }, { "docid": "09baa3b83d465c2390e9b2d0fd57a268", "score": "0.5637441", "text": "void loadEventRegistrationsFragment();", "title": "" }, { "docid": "c9a4065992bcaab2be0308bbbb34084a", "score": "0.5623745", "text": "@Override\n public void signUp() {\n String email = editTextEmail.getText().toString().trim();\n String password = editTextPassword.getText().toString().trim();\n String confirmPassword = editTextConfirmPassword.getText().toString().trim();\n\n //checking if email and passwords are empty and valid\n if (TextUtils.isEmpty(email)) {\n Toast.makeText(getActivity(), \"Please enter an email.\", Toast.LENGTH_LONG).show();\n return;\n }\n\n //checks email input - valid email?\n if (!isValidEmailAddress(email)) {\n Toast.makeText(getActivity(), \"Please enter an valid email.\", Toast.LENGTH_LONG).show();\n return;\n }\n\n\n if (TextUtils.isEmpty(password)) {\n Toast.makeText(getActivity(), \"Please enter a password.\", Toast.LENGTH_LONG).show();\n return;\n }\n\n if(!validPassword(password)){\n createAlertDialog(getResources().getString(R.string.password_guidelines),getResources().getString(R.string.register));\n return;\n }\n\n //check if password inputs are equal\n if(!password.equals(confirmPassword)){\n Toast.makeText(getActivity(), \"Please enter two equal passwords.\", Toast.LENGTH_LONG).show();\n return;\n }\n\n //if the email and password are not empty\n //displaying a progress dialog\n\n progressDialog.setMessage(\"Registering. Please Wait...\");\n progressDialog.show();\n\n //creating a new user\n firebaseAuth.createUserWithEmailAndPassword(email, password)\n .addOnCompleteListener(getActivity(), new OnCompleteListener<AuthResult>() {\n @Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n //checking if success\n if (task.isSuccessful()) {\n //display some message here\n Toast.makeText(getActivity(), R.string.registration_success, Toast.LENGTH_LONG).show();\n mCallback.onRegistrationSuccessful();\n Fragment fragment = null;\n fragment = new ProfileFragment();\n replaceFragment(fragment);\n } else {\n //display some message here\n Toast.makeText(getActivity(), R.string.registration_error, Toast.LENGTH_LONG).show();\n }\n progressDialog.dismiss();\n }\n });\n }", "title": "" }, { "docid": "27ebc6d23b181bf7828ecf0b9f917854", "score": "0.56236744", "text": "@Override\n public void onClick(View v) {\n Bundle bundle = new Bundle();\n bundle.putString(\"username\", username);\n bundle.putString(\"password\", password);\n //Begin transaction FRAGMENT->Fragment\n android.support.v4.app.FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n android.support.v4.app.FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();\n //Create new instance of Create Fragment\n Create Create = new Create();\n Create.setArguments(bundle);\n //finish fragment transaction\n fragmentTransaction.replace(R.id.flcontent, Create);\n fragmentTransaction.commit();\n }", "title": "" }, { "docid": "cbcb612a0274790142e2bf64235ff0b0", "score": "0.5622374", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tHotelActivity mainActivity = (HotelActivity) getActivity();\n\t\t\t\tmainActivity.showFragment(\"RegisterFragment\", false);\n\t\t\t}", "title": "" }, { "docid": "4094911baf3a4e09d16f4ab5ba3289fe", "score": "0.5617201", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n onCreatePrepareMember();\n onCreatePrepareView();\n onCreatePrepareOther();\n\n }", "title": "" }, { "docid": "70b4d794c0b852d3520d6539729246c8", "score": "0.56165195", "text": "protected abstract void initViewFragment();", "title": "" }, { "docid": "a7009e95b4b1e474d1bf83a0f84e2628", "score": "0.56138617", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_register_anime, container, false);\n initAll();\n actionButtonAll();\n\n return view;\n\n }", "title": "" }, { "docid": "c2cbf2b16c92229faf713b9412dd8728", "score": "0.56091034", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_register, container, false);\n\n initView(view);\n\n mImageView7.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n mPresenter.showDiaLog();\n }\n });\n return view;\n }", "title": "" }, { "docid": "df5307aed594ec2bb486edafd6d5a32c", "score": "0.5607412", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_verification_code, container, false);\n authentication=new Authentication(getActivity());\n database=new Database(getActivity());\n edVerificationCode=view.findViewById(R.id.edVerificationCode);\n btnContinue=view.findViewById(R.id.btnContinue);\n progressBar1=view.findViewById(R.id.progressBar1);\n\n if (getArguments()!=null){\n if (getArguments().getString(Constants.TYPE).equals(Constants.TYPE_WORKER)) {\n worker = (Worker) getArguments().get(Constants.TYPE_WORKER);\n if (worker != null) {\n phoneNumber = worker.getPhoneNumber();\n }\n }else if (getArguments().getString(Constants.TYPE).equals(Constants.TYPE_USER)){\n user = (User) getArguments().get(Constants.TYPE_USER);\n if (user != null) {\n phoneNumber=user.getPhoneNumber();\n }\n }\n sendVerificationCode(phoneNumber);\n }else {\n Toast.makeText(getContext(), getString(R.string.errorReTryAgane), Toast.LENGTH_SHORT).show();\n }\n\n\n return view;\n }", "title": "" }, { "docid": "a44942c272ad0e9b6839299d737a2d09", "score": "0.5596928", "text": "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\n\t\t// Listener to Call NewAccountFrag ( for add new user )\n\t\tOnClickListener addAccountListener = new OnClickListener() {\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tNewAccountFrag newAccount = new NewAccountFrag();\n\t\t\t\t((MyElaneMainFrag) getActivity()).navigateTo(newAccount);\n\t\t\t}\n\t\t};\n\n\t\taddBtn.setOnClickListener(addAccountListener);\n\t\taddAccountBtn.setOnClickListener(addAccountListener);\n\n\t\t\n\t\t// Getting User List from the server \n\t\tnew GetAccountList().execute();\n\t}", "title": "" }, { "docid": "55b79852264802da527411cd82608436", "score": "0.5596158", "text": "public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();\n transaction.replace(getContainerResource(), passIntentExtrasAsArgument(new WebFragment(getString(C2658R.string.title_loading))));\n transaction.commit();\n }", "title": "" }, { "docid": "55b40f621f675f6231d711085de7d0f1", "score": "0.5593899", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_registrar_plantas);\n\n // Se inicializan los elementos\n vpPagerRegPs = findViewById(R.id.vpPagerR);\n pagerAdapterRegPs = new Pager_Adapter_Registrar_Plantas(getSupportFragmentManager(),4);\n vpPagerRegPs.setAdapter(pagerAdapterRegPs);\n }", "title": "" }, { "docid": "12c9e34b988db8d800752e1faba20d78", "score": "0.55847716", "text": "@OnClick(R.id.btn_register)\n public void registerNewUser() {\n String password = passwordEditText.getText().toString();\n String passwordConfirmation = passwordConfirmEditText.getText().toString();\n\n if (! validatePassword(password, passwordConfirmation)) {\n Toast.makeText(this, \"Passwords don't match\", Toast.LENGTH_SHORT).show();\n return;\n }\n\n // If everything is good\n new RegisterTask(RegisterActivity.this, this)\n .execute(\n usernameEditText.getText().toString(),\n passwordEditText.getText().toString(),\n emailEditText.getText().toString()\n );\n }", "title": "" }, { "docid": "bb1e798e57918ea7dfb5efdcb5abc05f", "score": "0.55787444", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View registrarseEntrar = inflater.inflate(R.layout.fragment_registrarse_entrar,\n container, false);\n // inicio las variables donde guardo los botones de entrar y registrarse\n botonRegistrar = registrarseEntrar.findViewById(R.id.Registrar);\n botonEntrar = registrarseEntrar.findViewById(R.id.botonEntrar);\n\n // pongo los botones entrar y registrarse a la escucha\n botonEntrar.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {// envio el boton a la actividad\n ((IComunicacion) Objects.requireNonNull(getActivity()))\n .pulsarBoton(Activity_inicio.class);\n }\n });\n botonRegistrar.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {// envio el boton a la actividad\n ((IComunicacion) Objects.requireNonNull(getActivity()))\n .pulsarBoton(Activity_registrar.class);\n }\n });\n // Inflate the layout for this fragment\n return registrarseEntrar;\n }", "title": "" }, { "docid": "622e95eceb31d9dd6702c9d9dacdcda4", "score": "0.5575803", "text": "private void linkToRegister() {\r\n final Intent registerIntent = new Intent(this, RegistrationActivity.class);\r\n startActivity(registerIntent);\r\n }", "title": "" }, { "docid": "2588597b700d002161ee92ea53bee84b", "score": "0.5572443", "text": "@Override\n public void run()\n {\n fragmentClass=Myths_Facts_new3.class;\n try\n {\n fragment = (Fragment) fragmentClass.newInstance();\n } catch (Exception e) {\n e.printStackTrace();\n FirebaseCrash.logcat(Log.ERROR, \"Myhts_Facts_new2\", e.toString());\n }\n // Insert the fragment by replacing any existing fragment\n FragmentManager fragmentManager = getActivity().getSupportFragmentManager();\n fragmentManager.beginTransaction().replace(R.id.frame, fragment).commit();\n\n }", "title": "" }, { "docid": "d1f47d78b62c496b9b76935a7aaaa12b", "score": "0.557243", "text": "private void initFragment(Fragment carFragment) {\n FragmentManager fragmentManager = getSupportFragmentManager();\n FragmentTransaction transaction = fragmentManager.beginTransaction();\n transaction.add(R.id.fl_cars, carFragment);\n transaction.commit();\n\n }", "title": "" }, { "docid": "054e04897a2a6fc693cb1e7de63f9678", "score": "0.5567898", "text": "private void attemptRegister() {\n Intent intent = new Intent(LoginOrRegister.this, RegisterScreen.class);\n this.startActivity(intent);\n return;\n }", "title": "" }, { "docid": "29a809a6f83e09f4a5efe1277e13fbd1", "score": "0.5562273", "text": "public void sendDataToFragment() {\n Log.i(TAG, \"sendDataToFragment is called\");\n // New instance of Recipe Fragment\n RecipeFragment recipeFragment;\n recipeFragment = new RecipeFragment();\n // Create new Bundle\n Bundle bundle = new Bundle();\n bundle.putParcelableArrayList(\"RecipeList\", mRecipeList);\n // Set the bundle with desired data as arguments of the fragment\n recipeFragment.setArguments(bundle);\n // Begin fragment transaction\n getSupportFragmentManager().\n beginTransaction().replace(R.id.recipe_fragment, recipeFragment).commit();\n }", "title": "" }, { "docid": "b05090c6012068bfd37b0f31b2e34c46", "score": "0.5562088", "text": "@Override\r\n\tprotected void onResume() {\n\t\tsuper.onResume();\r\n\r\n\t\tURLParams param = new URLParams(\"user\");\r\n\t\tUser userInfo = new User();\r\n\r\n\t\tMainActivity.this.sendEvent(this, EventType.ACTION_REGISTER,\r\n\t\t\t\tparam.toString(), userInfo, User.class, HttpMethond.HTTP_POST);\r\n\r\n\t}", "title": "" }, { "docid": "ce3b81204a0d39b3d4fe3eaeee7c3e36", "score": "0.5548941", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_institute_sign_up, container, false);\n\n initViews(view);\n collegeDetails = new ArrayList<>();\n getCollegeDetails();\n\n collegeSignUp.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n if(validateContact() && validateName() && validateDomain() && validateEmail())\n {\n String inputName = Objects.requireNonNull(nameEdit.getText()).toString();\n if(ValidInstitution())\n {\n String nameAdd = nameEdit.getText().toString();\n String emailAdd = Objects.requireNonNull(emailEdit.getText()).toString();\n String domainAdd = Objects.requireNonNull(domainEdit.getText()).toString();\n String contactAdd = Objects.requireNonNull(mobileEdit.getText()).toString();\n CollegeDetails clgAdd = new CollegeDetails(nameAdd,domainAdd,emailAdd,contactAdd);\n addInstitution(clgAdd);\n }\n else\n {\n Toast.makeText(getContext(), \"Not Valid\", Toast.LENGTH_SHORT).show();\n }\n }\n\n }\n });\n\n return view;\n }", "title": "" }, { "docid": "64284fe8be25f38930aadc3f41bf60cd", "score": "0.55466133", "text": "private void listenRegister(){\n (findViewById(R.id.btnRegister)).setOnClickListener(new Button.OnClickListener(){\n public void onClick(View v){\n Intent intent = new Intent(ChooseActivity.this, RegisterActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n startActivity(intent);\n }\n });\n }", "title": "" }, { "docid": "064545e92c923d683ad5ee3caadb470d", "score": "0.5543556", "text": "public void register(View view)\n {\n Intent intent = new Intent(this, RegisterActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "ec0f2c472d47db2f2fc34e918bcdf70b", "score": "0.5538206", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_sign_in, container, false);\n phoneET = view.findViewById(R.id.phoneET);\n passwordET = view.findViewById(R.id.passET);\n singInBtn = view.findViewById(R.id.loginBtn);\n checkBox = view.findViewById(R.id.remenbercheckbox);\n forgetPass = view.findViewById(R.id.forgetPass);\n parentFrameLayout = getActivity().findViewById(R.id.registration_framelayout);\n\n\n singInBtn.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n startActivity(new Intent(getContext(), MainActivity.class));\n\n }\n });\n\n\n forgetPass.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n\n setFragment(new PhoneFragment());\n }\n });\n\n\n return view;\n }", "title": "" }, { "docid": "d31180210031ddb830f47df1a105f517", "score": "0.55374277", "text": "@Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n\n View view = inflater.inflate(R.layout.fragment_no_account, null);\n\n registerButton = (Button) view.findViewById(R.id.registerButton);\n loginButton = (Button) view.findViewById(R.id.loginButton);\n\n registerButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startActivity(new Intent( getActivity(), SignUpActivity.class));\n }\n\n });\n\n loginButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startActivity(new Intent( getActivity(), LoginActivity.class));\n }\n });\n\n return view;\n }", "title": "" }, { "docid": "5afbdc4bacd5636cdd748136cf56fb8f", "score": "0.55275804", "text": "private void performInitData()\n {\n ActivityFragment.mActivity = selectedActivity;\n WeatherFragment.mWeather = selectedWeather;\n DescriptionFragment.mDescription = selectedDescrioption;\n MediaFragment.mCurrentPhotoPath = selectedMedia;\n LocationFragment.mLocation = selectedLocation;\n\n// Log.d(\"aaaa\", selectedActivity);\n// Log.d(\"aaaw\", selectedWeather);\n// Log.d(\"aaad\", selectedDescrioption);\n// Log.d(\"aaam\", selectedMedia);\n// Log.d(\"aaal\", selectedLocation);\n }", "title": "" }, { "docid": "7106bb38416f56e63ea267341d9b6263", "score": "0.5525346", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_login_option, container, false);\n Button user=view.findViewById(R.id.btn_user);\n user.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n com.example.mask_detector.auth.phoneNumberFragment phoneNumberFragmen = new com.example.mask_detector.auth.phoneNumberFragment();\n getActivity().getSupportFragmentManager().beginTransaction().replace(R.id.container, phoneNumberFragmen).addToBackStack(null).commit();\n }\n });\n\n return view;\n }", "title": "" }, { "docid": "06c170465da43b769da844e1c3a2af70", "score": "0.5524794", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_my_details, container, false);\n Bundle extras = this.getArguments();\n if(extras!=null)\n {\n String email=extras.getString(\"email_id\");\n StaticClass.findUser(email);\n showUser(view);\n }\n return view;\n }", "title": "" }, { "docid": "6c4ad552a4047cbd279ec7d0f4a85fce", "score": "0.55221236", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_register, container, false);\n\n availableItems = (GridView)view.findViewById(R.id.AvailableItems);\n\n\n final AvailableItemsAdapter availableItemsAdapter = new AvailableItemsAdapter(view.getContext(), R.id.AvailableItems, new ArrayList<POSItem>(store.getAvailableItems()), store);\n availableItems.setAdapter(availableItemsAdapter);\n\n availableItems.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n POSItem item = availableItemsAdapter.getItem(position);\n onItemSelected(item);\n }\n });\n\n availableItems.setOnScrollListener(new AbsListView.OnScrollListener() {\n @Override public void onScrollStateChanged(AbsListView view, int scrollState) {}\n\n int lastFirstVisibleItem = -1;\n @Override public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n if (firstVisibleItem != lastFirstVisibleItem) {\n availableItemsAdapter.notifyDataSetChanged();\n lastFirstVisibleItem = firstVisibleItem;\n }\n }\n });\n\n final CurrentOrderFragment currentOrderFragment = ((CurrentOrderFragment) getChildFragmentManager().findFragmentById(R.id.PendingOrder));\n currentOrderFragment.setOrder(store.getCurrentOrder());\n currentOrderFragment.setStore(store);\n currentOrderFragment.addListener(this);\n currentOrderFragment.setCloverConnector(getCloverConnector());\n if(preAuth) {\n showPreAuthDialog();\n currentOrderFragment.setPreAuth(true);\n }\n if(vaulted){\n currentOrderFragment.setVaulted(true);\n currentOrderFragment.setVaultedCard(vaultedCard);\n }\n return view;\n }", "title": "" }, { "docid": "a61413fd025969a0808851e1817d5a7d", "score": "0.5521039", "text": "public void registerClick(View v) {\n startActivity(new Intent(LogInActivity.this, RegisterActivity.class));\n //finish();\n }", "title": "" }, { "docid": "af2f89219006d7cf6f2701bc65a1200a", "score": "0.55204993", "text": "public HowToGiveFragment() {\n }", "title": "" }, { "docid": "b43cc321e72afaead796581d468f396d", "score": "0.5515782", "text": "@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n String scannedCode = \"\";\n if (requestCode == SCAN_BARCODE_REQUEST && data != null) {\n\n scannedCode = data.getExtras().getString(Constant.AU_Data);\n\n List<Fragment> frags = getSupportFragmentManager().getFragments();\n for (Fragment f : frags) {\n if (!(f instanceof HomeFragment)) {\n /* getSupportFragmentManager().popBackStack(BACK_STACK_ROOT_TAG, FragmentManager.POP_BACK_STACK_INCLUSIVE);\n addFragmentOnTop(HomeFragment.newInstance());*/\n\n addFragmentOnTop(ItemDetailFragment.newInstance(scannedCode));\n }else{\n toolbar_title.setText(\"\");\n scannedCode = data.getExtras().getString(Constant.AU_Data);\n toolbar_title.setText(String.format(getString(R.string.text_sku), scannedCode));\n\n globals.barCode = scannedCode;\n addFragmentOnTop(HomeFragment.newInstance());\n\n }\n }\n\n /*setToolbar();\n toolbar_title.setText(\"\");\n scannedCode = data.getExtras().getString(Constant.AU_Data);\n toolbar_title.setText(String.format(getString(R.string.text_sku), scannedCode));*/\n\n }\n }", "title": "" }, { "docid": "958fef15689f9570f357713bfcccc03f", "score": "0.55122596", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n context = getActivity();\n view = inflater.inflate(R.layout.fragment_signup, container, false);\n init();\n return view;\n }", "title": "" }, { "docid": "0fa53b5182d7df07ba8a87f210193550", "score": "0.5512096", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n ViewGroup view = (ViewGroup) inflater.inflate(R.layout.fragment_register, container, false);\n mAuth = FirebaseAuth.getInstance();\n\n UserEmail = (EditText) view. findViewById(R.id.register_email);\n UserEmail.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {\n\n }\n\n @Override\n public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {\n checkInputs();\n }\n\n @Override\n public void afterTextChanged(Editable editable) {\n\n }\n });\n\n UserPassword = (EditText) view. findViewById(R.id.register_password);\n UserPassword.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {\n\n }\n\n @Override\n public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {\n checkInputs();\n }\n\n @Override\n public void afterTextChanged(Editable editable) {\n\n }\n });\n\n UserConfirmPassword = (EditText)view. findViewById(R.id.register_confirm_password);\n UserConfirmPassword.addTextChangedListener(new TextWatcher() {\n @Override\n public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {\n\n }\n\n @Override\n public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {\n checkInputs();\n }\n\n @Override\n public void afterTextChanged(Editable editable) {\n\n }\n });\n\n CreateAccountButton = (Button)view. findViewById(R.id.register_create_account);\n CreateAccountButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n checkEmailAndPassword();\n }\n });\n loadingBar = new ProgressDialog(getActivity());\n\n return view;\n }", "title": "" }, { "docid": "1888cb4efcf44f25f4b85b4b9710f53b", "score": "0.55115604", "text": "private void initPostDetailsFragment() {\n int postId = getIntent().getExtras().getInt(ARG_POST_TABLE_POST_ID);\n // Send this id to the fragment which will be hosted under this activity.\n mPostDetailsFragment = PostDetailsFragment.newInstance(postId);\n setFragment(R.id.frame_layout_post_details_container,\n mPostDetailsFragment,\n false);\n }", "title": "" }, { "docid": "16e19ce50ea555186792ac69586716f7", "score": "0.5509375", "text": "private void onCreatePrepareMember() {\n ButterKnife.bind(this);\n\n SharedPreferences prefs = getSharedPreferences(PREF, MODE_PRIVATE);\n display = prefs.getInt(DISPLAY, MAIN_DISPLAY);\n\n mode = MODE_ADD;\n\n overscan = initOverScan(this);\n }", "title": "" }, { "docid": "82d0eef4b766aab2faa25e64ecd02196", "score": "0.55067307", "text": "private void onRegisterClick(View view) {\n String email = etEmail.getText().toString();\n String pass = etPass.getText().toString();\n String name = etName.getText().toString();\n\n RegisterRequest req = new RegisterRequest(name, email, pass, this, this);\n RequestQueue queue = Volley.newRequestQueue(this);\n queue.add(req);\n }", "title": "" }, { "docid": "59f461f75cf730a2303e15f568449960", "score": "0.5495635", "text": "private void goToRegisterActivity(){\n Intent intent = new Intent(this, RegistrationActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "720eadd78a61d2d4acb355559d8fab43", "score": "0.549108", "text": "@Override\n public void run() {\n Intent mainIntent = new Intent(SplashScreen.this,Register.class);\n SplashScreen.this.startActivity(mainIntent);\n SplashScreen.this.finish();\n }", "title": "" } ]
5337331fd6986d73e47ffb156ef47b1b
Retourne le niveau de zoom
[ { "docid": "dbcd5f111c84002ff6076fcba6cca3ec", "score": "0.7723052", "text": "public int getZoom() {\r\n return zoom;\r\n }", "title": "" } ]
[ { "docid": "ce3e8af684b29c1beab82428e5039227", "score": "0.85842526", "text": "int getZoom();", "title": "" }, { "docid": "9d7814579db9ae5bbc2095a51c4be611", "score": "0.83705926", "text": "float getZoom();", "title": "" }, { "docid": "9d7814579db9ae5bbc2095a51c4be611", "score": "0.83705926", "text": "float getZoom();", "title": "" }, { "docid": "9d7814579db9ae5bbc2095a51c4be611", "score": "0.83705926", "text": "float getZoom();", "title": "" }, { "docid": "9d7814579db9ae5bbc2095a51c4be611", "score": "0.83705926", "text": "float getZoom();", "title": "" }, { "docid": "c8dd4f2b57a4240b1745e4a29e00792e", "score": "0.82834095", "text": "public abstract double getZoom();", "title": "" }, { "docid": "e89a72ea2c243c769fc00be0d251d284", "score": "0.80725783", "text": "public int getMinZoom();", "title": "" }, { "docid": "2f04c8c3ef8e7c37608b2f91fc171f5e", "score": "0.7809634", "text": "public float getZoom() { return this.zoom; }", "title": "" }, { "docid": "502dedaad70b294fee176882eeffd5c7", "score": "0.7743803", "text": "public double getZoom() {\n return this.zoom;\n }", "title": "" }, { "docid": "3c79d3710f825b990059f24b6a9f1774", "score": "0.7686496", "text": "public int getZoom() {\n return zoom;\n }", "title": "" }, { "docid": "845ae030d1127cf36f2ae12b9269934a", "score": "0.76787466", "text": "public int getDefaultZoom() {\n return defaultZoom;\n }", "title": "" }, { "docid": "57e67a6664781baf16112df7b1010ddb", "score": "0.7635734", "text": "public int getMinZoom() {\n return minZoom;\n }", "title": "" }, { "docid": "37ebc1b397ed6109829cd34cf52f2d99", "score": "0.75453067", "text": "public int getMaxZoom();", "title": "" }, { "docid": "dcb62afbebe168f5845676409442b1e5", "score": "0.7433051", "text": "public int getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "528b72b7d924daf8c9048edb3ecdcc9a", "score": "0.73152983", "text": "public double getZoomInFactor() { return this.zoomInFactor; }", "title": "" }, { "docid": "d2ed068c191200d7bcf93b6e6c28e450", "score": "0.72898287", "text": "public float getMaxZoom();", "title": "" }, { "docid": "6fd8e2eeb4d5e226e121b1a6bf58e48e", "score": "0.7284224", "text": "public double getZoom() {\n\t\t\treturn zoom;\n\t\t}", "title": "" }, { "docid": "979fdab973c23d8126e12eb86d2790a4", "score": "0.72794044", "text": "public int getZoomLevel() {\n return zoomLevel;\n }", "title": "" }, { "docid": "14d5959e16fddb1fe29155ec04d3189b", "score": "0.7264532", "text": "public int getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "e925286ebaf4db377c1d46a1890989a7", "score": "0.72323877", "text": "public float getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "e925286ebaf4db377c1d46a1890989a7", "score": "0.72323877", "text": "public float getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "e925286ebaf4db377c1d46a1890989a7", "score": "0.72323877", "text": "public float getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "e925286ebaf4db377c1d46a1890989a7", "score": "0.72323877", "text": "public float getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "3f044e1cbbfdc71f2aad2ebe8d347298", "score": "0.7226033", "text": "public double getZoomInLimitX() {\n\t}", "title": "" }, { "docid": "37e038b40db7ba6c12827fa8d0e60372", "score": "0.7119955", "text": "public void setZoom(float zoom) { this.zoom = zoom; }", "title": "" }, { "docid": "4030fc5b6c66d86f4ba3659893e1473f", "score": "0.71047455", "text": "void zoomIn();", "title": "" }, { "docid": "b736ad915041bbb0978ab9a2345fc266", "score": "0.7092179", "text": "private int getDefaultZoomClass() {\n return 19;\n\n }", "title": "" }, { "docid": "bdbecd4f00276d9acc5cd8ff6cfacc13", "score": "0.707191", "text": "public float getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "bdbecd4f00276d9acc5cd8ff6cfacc13", "score": "0.707191", "text": "public float getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "bdbecd4f00276d9acc5cd8ff6cfacc13", "score": "0.707191", "text": "public float getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "bdbecd4f00276d9acc5cd8ff6cfacc13", "score": "0.707191", "text": "public float getZoom() {\n return zoom_;\n }", "title": "" }, { "docid": "e692547ea13fe75214dd96fcaced0da6", "score": "0.70669943", "text": "public int getMaxZoom() {\n return maxZoom;\n }", "title": "" }, { "docid": "4361590612be20f1377a776a30f72ae9", "score": "0.7060535", "text": "public double getZoom() {\n\t\tdouble zoom = 0.0;\n\t\tint count = 0;\n\t\tfor (NavigationInfo info: infos.values()) {\n\t\t\tif (Double.isNaN(info.getZoom())) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tzoom += info.getZoom();\n\t\t\tcount++;\n\t\t}\n\t\treturn zoom / count;\n\t}", "title": "" }, { "docid": "9ffee449de2f9fd1e79231bda7940dfc", "score": "0.6946698", "text": "@Override\n\tpublic void zoomTo(int zoom) {\n\t\t\n\t}", "title": "" }, { "docid": "b9a6cf77b5e16d07be73c69e68bf47e3", "score": "0.69044536", "text": "public double getZoomOutFactor() { return this.zoomOutFactor; }", "title": "" }, { "docid": "4adccc3794219f19f82c05ce2b48f50c", "score": "0.68690723", "text": "public String getZoom_Levels() {\n return getMinZoom() + \"-\" + getMaxZoom();\n }", "title": "" }, { "docid": "dcc57c2e4155798d1ac773400674b031", "score": "0.6821905", "text": "public final native int getZoom() /*-{\n\t\treturn this.zoom;\n\t}-*/;", "title": "" }, { "docid": "fa1e362d91776b3616ee370d7868ea66", "score": "0.67972445", "text": "boolean hasZoom();", "title": "" }, { "docid": "fa1e362d91776b3616ee370d7868ea66", "score": "0.67972445", "text": "boolean hasZoom();", "title": "" }, { "docid": "fa1e362d91776b3616ee370d7868ea66", "score": "0.67972445", "text": "boolean hasZoom();", "title": "" }, { "docid": "fa1e362d91776b3616ee370d7868ea66", "score": "0.67972445", "text": "boolean hasZoom();", "title": "" }, { "docid": "fa1e362d91776b3616ee370d7868ea66", "score": "0.67972445", "text": "boolean hasZoom();", "title": "" }, { "docid": "9a9c2f8abe86f4fedea601f547800aec", "score": "0.67929864", "text": "void zoomTo(float scale, float focalX, float focalY);", "title": "" }, { "docid": "3bc48f26efacc7d678f997033e520c1c", "score": "0.67731595", "text": "public double getZoomMin() {\n\t\treturn zoomMin;\n\t}", "title": "" }, { "docid": "1464a9b57b26a7c4532c52cecd318cf6", "score": "0.6719857", "text": "public float getZoom() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 10536);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 10492);\n\t\t}\n\t}", "title": "" }, { "docid": "4b8cc0fb48c1afa618bacd420d8bab75", "score": "0.6659407", "text": "@Override\n\tpublic void zoomIn() {\n\n\t}", "title": "" }, { "docid": "81862dabaa1186b182eb08510dc120e8", "score": "0.66286016", "text": "public float getPanelzoom() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 208);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 200);\n\t\t}\n\t}", "title": "" }, { "docid": "3c16ee6b81c25a371e5d3abb74694018", "score": "0.65917975", "text": "public void setMinZoom(int minzoom);", "title": "" }, { "docid": "514c58b36467fc5d60a9f091e8aa1651", "score": "0.6583451", "text": "public void setDefaultZoom( int i_zoom ) {\n defaultZoom = i_zoom;\n }", "title": "" }, { "docid": "4b9202477cb1fac023ea41a8acd019e3", "score": "0.65764236", "text": "public long getZoomDataSize() {\n return zoomDataSize;\n }", "title": "" }, { "docid": "0f41e1ae2b5b60107b4e3add171ec833", "score": "0.6565769", "text": "int getScale() { return mapObj.getScale(); }", "title": "" }, { "docid": "88a992b7866e7c5d74cdd7a392f0d500", "score": "0.6510013", "text": "public int getZoomLevel() {\n double scale = RADIO / 500;\n return (int) (16 - Math.log(scale) / Math.log(2));\n }", "title": "" }, { "docid": "de962ce3b49652bee1a6c79a7ae4d714", "score": "0.65086806", "text": "public void zoomHowDoesTLIWork(){\n Reusable_Methods_With_Logger.zoomTo(driver,howDoesTLIWork,logger);\n }", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.65018857", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.65018857", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.65018857", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.65018857", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.6501672", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.6501672", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.6501672", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.6501672", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "f98b65c671c94e2b374b3d0055ff2a44", "score": "0.6501672", "text": "boolean hasMinZoom();", "title": "" }, { "docid": "b7a742d305c7516a8dd7cb25f8bf7a1f", "score": "0.64910525", "text": "boolean canZoom();", "title": "" }, { "docid": "4359de8c13ea21640a9476c61f7c5d39", "score": "0.6484798", "text": "native public boolean getUseZoomLevels();", "title": "" }, { "docid": "cafc341b8f33dc0d7ca6275e3c65a8bb", "score": "0.64771235", "text": "public void zoom(){\n calculateBox();\n \n //Finds the complex numbers that represent the square\n Complex minC = set.complexAtPixel(minX, minY);\n Complex maxC = set.complexAtPixel(maxX, maxY);\n\n set.setLimits(minC, maxC);\n updatePixels();\n \n }", "title": "" }, { "docid": "e8ff78a0157d3dc67338bedc10a9da15", "score": "0.6475362", "text": "void zoomOut();", "title": "" }, { "docid": "2cd28187b8d784398df9b48c041e111d", "score": "0.64400226", "text": "public int updateMinZoom() throws MBTilesException {\n // No definition in the metadata. Calculate it from the tile entries...\n String sql = \"SELECT MIN(zoom_level) FROM tiles\";\n try (Statement stmt = connection.createStatement()) {\n ResultSet resultSet = stmt.executeQuery(sql);\n int minZoom = resultSet.getInt(1);\n getMetadata().setMinZoom(minZoom);\n return minZoom;\n } \n catch (SQLException e) {\n throw new MBTilesException(\"Could not get max zoom\", e);\n }\n }", "title": "" }, { "docid": "7d83b5f7c09036a80521ed485b34bd11", "score": "0.64270985", "text": "public double getZoomInLimitY() {\n\t}", "title": "" }, { "docid": "9f77fbd58800c35b66a3133efacebd96", "score": "0.6414643", "text": "public double[] getZoomLimits() {\n\t}", "title": "" }, { "docid": "fcd5b4aafa6f2e22ec450f6343b3a714", "score": "0.6384238", "text": "protected abstract void requestZoom( double[][] bounds );", "title": "" }, { "docid": "577235f63ad30f0b950500c398f7c447", "score": "0.63701415", "text": "public float getZoomDamp() {\n\t\treturn mZoomDamp;\n\t}", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.6369535", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.6369535", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.6369535", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.6369535", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.6369535", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.6368502", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.6368502", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.6368268", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "753e66b6d0e1fd49dd5ef587f14a3c3a", "score": "0.63674736", "text": "com.google.protobuf.FloatValue getMinZoom();", "title": "" }, { "docid": "e12ebba6cf6c82539665a13cf241b607", "score": "0.63624424", "text": "public double getZoomMax() {\n\t\treturn zoomMax;\n\t}", "title": "" }, { "docid": "7f3ffda24925f5385081516ff093e75f", "score": "0.6357083", "text": "public long getZoomIndexOffset() {\n return zoomIndexOffset;\n }", "title": "" }, { "docid": "631666baa95a4f1f6a6ba21da907d09e", "score": "0.6356244", "text": "public long getZoomFormatLocation() {\n return zoomFormatOffset;\n }", "title": "" }, { "docid": "79fc1becfdfb3ca40462612188d3f88c", "score": "0.6343094", "text": "native public double getMarkerScale();", "title": "" }, { "docid": "cf3ec9c8d2a19d4336d85879ae201045", "score": "0.6306109", "text": "public double getZoneViewZoomAmount(){\n return location.getZoneViewZoom();\n }", "title": "" }, { "docid": "ebca5404580b16a75b37f1772c2ebfaf", "score": "0.6287447", "text": "public void zoomBy(float zoomFactor) { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "f78d539263abe6898189eb2ba05f35bb", "score": "0.6280123", "text": "public int getZoomRecordCount() {\n return zoomRecordCount;\n }", "title": "" }, { "docid": "ebf9588b09106945cbe881900cbb824a", "score": "0.62645406", "text": "public double getZoomFactorX() {\r\n\t\treturn zoomFactorX;\r\n\t}", "title": "" }, { "docid": "5866c6463ddf4589f6a7ee583e4455c9", "score": "0.6258771", "text": "@Override\n\tpublic void zoomOut() {\n\n\t}", "title": "" }, { "docid": "5866c6463ddf4589f6a7ee583e4455c9", "score": "0.6258771", "text": "@Override\n\tpublic void zoomOut() {\n\n\t}", "title": "" }, { "docid": "fc757bce55e9546508f8b393f65dac9a", "score": "0.6233283", "text": "public double getMaxZoomOut() {\n double maxZoom = 1.0;\n\n if (mBigDataArray != null) {\n int n = mBigDataArray.length;\n maxZoom = ((double) n) / mArraySize;\n }\n\n return maxZoom;\n }", "title": "" }, { "docid": "db12e21e2c273c09a1c46be57d655800", "score": "0.6205756", "text": "public void setMaxZoom(int maxzoom);", "title": "" }, { "docid": "149f1e9d13c142702bbdedc86d4179ef", "score": "0.61949885", "text": "boolean hasMaxZoom();", "title": "" }, { "docid": "149f1e9d13c142702bbdedc86d4179ef", "score": "0.61949885", "text": "boolean hasMaxZoom();", "title": "" }, { "docid": "149f1e9d13c142702bbdedc86d4179ef", "score": "0.6194216", "text": "boolean hasMaxZoom();", "title": "" }, { "docid": "149f1e9d13c142702bbdedc86d4179ef", "score": "0.6194216", "text": "boolean hasMaxZoom();", "title": "" }, { "docid": "149f1e9d13c142702bbdedc86d4179ef", "score": "0.6194216", "text": "boolean hasMaxZoom();", "title": "" }, { "docid": "149f1e9d13c142702bbdedc86d4179ef", "score": "0.6192786", "text": "boolean hasMaxZoom();", "title": "" }, { "docid": "149f1e9d13c142702bbdedc86d4179ef", "score": "0.6192786", "text": "boolean hasMaxZoom();", "title": "" }, { "docid": "149f1e9d13c142702bbdedc86d4179ef", "score": "0.6192786", "text": "boolean hasMaxZoom();", "title": "" } ]
067d67ddc041739f88a0776db6d1b194
get column and turn into parsable string
[ { "docid": "624cb135ae425437bdd4df2453af8b96", "score": "0.0", "text": "String getCol(Color[][] board, int colPos) {\n\t\tString col = \"\";\n\t\tfor (int i = 0; i < GomokuBoard.ROWS; i++) {\n\t\t\tif (board[i][colPos] == Color.BLACK)\n\t\t\t\tcol += \"b\";\n\t\t\telse if (board[i][colPos] == Color.WHITE)\n\t\t\t\tcol += \"w\";\n\t\t\telse\n\t\t\t\tcol += \"_\";\n\t\t}\n\t\treturn col;\n\t}", "title": "" } ]
[ { "docid": "06e723224894d1db5df6c40004252f4b", "score": "0.6879762", "text": "String getCol2();", "title": "" }, { "docid": "eebd919d997687778d7cd6e778d6873b", "score": "0.6828375", "text": "String getCol1();", "title": "" }, { "docid": "268cc644824552e98b3733833196a714", "score": "0.6452472", "text": "public OutputColumn getParsedColumn()\n\t{\n\t\treturn this.parsedColumn;\n\t}", "title": "" }, { "docid": "d575374a2ed51edf630a37eef0d889bf", "score": "0.64040923", "text": "com.google.protobuf.ByteString getColumn();", "title": "" }, { "docid": "d575374a2ed51edf630a37eef0d889bf", "score": "0.64040923", "text": "com.google.protobuf.ByteString getColumn();", "title": "" }, { "docid": "b3d5200394496b3c23d8f54a169cd395", "score": "0.6402307", "text": "Column getColumn();", "title": "" }, { "docid": "84e3cbbd07c4135ba98a468d68dc6ada", "score": "0.63969374", "text": "private String getFieldFromRow(ArrayList<String> row, int column) {\n try { return row.get(column); }\n catch (IndexOutOfBoundsException e) { return \"\"; }\n }", "title": "" }, { "docid": "e44bdadc74ee4fe37e9ef869793fd54d", "score": "0.62858504", "text": "private String readColumnText(BinaryFile inputFile) throws FormatException {\n StringBuffer buildretval = new StringBuffer();\n boolean skipnext = false;\n char tmp;\n try {\n while ((tmp = inputFile.readChar()) != ',') {\n if ((tmp == ':') && !skipnext) {\n return null;\n }\n if (tmp == '\\\\') {\n skipnext = true;\n } else {\n skipnext = false;\n buildretval.append(tmp);\n }\n }\n } catch (EOFException e) {\n //allowable\n }\n return buildretval.toString();\n }", "title": "" }, { "docid": "dbd923170a8768312bd981f65dcf6fa4", "score": "0.62129027", "text": "java.lang.String getColumnName();", "title": "" }, { "docid": "fa6e4bd5329dde70a0c312e6e9d9aef4", "score": "0.61308825", "text": "private String getByCol(String col)\n\t\t\t{\n\t\t\tfinal Integer idx=col2col.get(col);\n\t\t\tif(idx==null || idx>=this.tokens.length || tokens[idx].isEmpty()) return null;\n\t\t\treturn tokens[idx];\n\t\t\t}", "title": "" }, { "docid": "b39476ed50149ab29126de3971d8f414", "score": "0.6122498", "text": "private String getColumnData(CSVRecord record, int columnIndex) {\n int columnsCounter = record.size();\n return record.get(columnsCounter - columnIndex).isBlank() ? \"0\" : record.get(columnsCounter - columnIndex);\n }", "title": "" }, { "docid": "04f65209568a9e9fb7b299122ca4714c", "score": "0.61121005", "text": "String getColumn(Game game);", "title": "" }, { "docid": "7cc122f839d6aa3bc95a676a319dfab4", "score": "0.60796833", "text": "com.lin.coprocessor.generated.BSVCoprocessorProtos.BSVColumn getColumn();", "title": "" }, { "docid": "7ed39c4652df6feba25befaf786aa47c", "score": "0.60670793", "text": "int transformColumn(int column);", "title": "" }, { "docid": "c6cee97abb3a1bef44f0fd3cc52fbbc9", "score": "0.6062436", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getColumnName();", "title": "" }, { "docid": "c6cee97abb3a1bef44f0fd3cc52fbbc9", "score": "0.6062436", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getColumnName();", "title": "" }, { "docid": "b8aeb9cd12f36aaf27cd259f788d6c42", "score": "0.60223705", "text": "public String getFunctionColumn() \n{\nreturn (String)get_Value(\"FunctionColumn\");\n}", "title": "" }, { "docid": "4178fe72df321e3619202d2e8ac9ff32", "score": "0.59712875", "text": "private String getSelectedColumn(String column) {\r\n\t\tString[] colData = column.split(\"\\\\(\");\r\n\t\tif(colData[1].contains(\"QUANTITATIVE\")){\r\n\t\t\treturn colData[0];\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "2a781ac20db6800db33a653035ba3dab", "score": "0.5970071", "text": "public String value() {\n return this.column;\n }", "title": "" }, { "docid": "81e9eb30db6844520ebd6e3184352583", "score": "0.5890483", "text": "public String getColumnName(int column) {\n StringBuffer sb = new StringBuffer();\n int value = column;\n do {\n int digit = value % 26;\n sb.insert(0, (char) ('A' + digit));\n value = value / 26 - 1;\n } while (value >= 0);\n \n return sb.toString();\n }", "title": "" }, { "docid": "b30df1ec0c05c9fa6a440db66aeb6bbb", "score": "0.58867085", "text": "void mo86092a(Column column);", "title": "" }, { "docid": "1e606d4729d41e68d9aaa9376f7739be", "score": "0.58850616", "text": "public String translateColumnLine(String line, String fileName) throws InvalidLineFormatException, InvalidFileNameException {\n StringBuffer translatedLine = new StringBuffer();\n String[] splittedLine = line.split(\"\\\\t\");\n List<String> columns = fileColumnsHolder.getColumnsByFileName().get(fileName);\n if(columns == null){\n throw new InvalidFileNameException();\n }\n if(columns.size() != splittedLine.length) {\n throw new InvalidLineFormatException();\n }\n for (int i = 0; i < splittedLine.length; i++) {\n String translatedColumn = columnDictionaryConfigHolder.getColumnDictionary().get(columns.get(i));\n if (translatedColumn != null) {\n translatedLine.append(translatedColumn);\n translatedLine.append(\"\\t\");\n }\n }\n if(translatedLine.toString().equals(\"\")){\n throw new InvalidLineFormatException();\n }\n return translatedLine.substring(0,translatedLine.length() - 1);\n }", "title": "" }, { "docid": "e8f75f713e9d6bd6d5e5d8b4a3611089", "score": "0.58823895", "text": "public com.google.protobuf.ByteString getColumn() {\n return column_;\n }", "title": "" }, { "docid": "e8f75f713e9d6bd6d5e5d8b4a3611089", "score": "0.58823895", "text": "public com.google.protobuf.ByteString getColumn() {\n return column_;\n }", "title": "" }, { "docid": "2d3f00e898a0f9fa7f5c76d91ad936de", "score": "0.58790594", "text": "public static String getColumnFromIndex(int column) {\n int dividend = column;\n String columnName = \"\";\n short modulo;\n while (dividend > 0) {\n modulo = (short) ((dividend - 1) % 26);\n columnName = (char) (('A' + modulo)) + columnName;\n dividend = (dividend - modulo) / 26;\n }\n return columnName;\n }", "title": "" }, { "docid": "a49d5cc23646254ce31f557f46e248a6", "score": "0.5872605", "text": "private void parseColumnInfo(@Nonnull String line) {\n\t\tString lineWithValues = line.substring(1).trim();\n\t\t// The VCF file should be tab-delimited by standards \n\t\tList<String> cols = toList(PatternSplitter.PTRN_TAB_SPLITTER, lineWithValues);\n\t\tvcfMetadata.setColumns(cols.subList(0, 9));\n\t\tvcfMetadata.setSamples(cols.subList(9, cols.size()));\n\t}", "title": "" }, { "docid": "a20646253bd0c5bdfb4b309f45dbf0c8", "score": "0.58605313", "text": "void mo86094c(Column column);", "title": "" }, { "docid": "0f9a4229e5dacdf02379770c98ba3d26", "score": "0.5850875", "text": "public String getColumnName(int column);", "title": "" }, { "docid": "f3ecda424bd32af36583983147001c2b", "score": "0.58239526", "text": "protected Object getField(Object field, String column) {\n return field.toString();\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "82da816db32f17e1fea5b0a8bf37710a", "score": "0.5809254", "text": "public String getValue() {\n return this.column;\n }", "title": "" }, { "docid": "a6c938314ff42f81a459b1163f2a9765", "score": "0.5794516", "text": "public abstract String getOutputColumn();", "title": "" }, { "docid": "20261e4cef266238747251bf7a03d575", "score": "0.5793481", "text": "@Override\r\n public String transform(final String line) {\n\r\n final int comma = findNth(COMMA, line, SIX, TEN);\r\n final char[] characters = new char[(symbol.length() + comma) - ONE];\r\n // set row name\r\n int i = getChars(symbol, ZERO, symbol.length(), characters, ZERO);\r\n characters[i] = COMMA;\r\n // copy year\r\n i = getChars(line, ZERO, FOUR, characters, ++i);\r\n // copy month\r\n i = getChars(line, FIVE, SEVEN, characters, i);\r\n // copy rest of line\r\n line.getChars(EIGHT, comma, characters, i);\r\n\r\n return String.valueOf(characters);\r\n }", "title": "" }, { "docid": "4a8014e8d134133a4b5a44da44c16647", "score": "0.5785792", "text": "public com.google.protobuf.ByteString getColumn() {\n return column_;\n }", "title": "" }, { "docid": "4a8014e8d134133a4b5a44da44c16647", "score": "0.5785792", "text": "public com.google.protobuf.ByteString getColumn() {\n return column_;\n }", "title": "" }, { "docid": "f30ebb1e2a938a91b3b8082f2540804a", "score": "0.57565767", "text": "public String getColumn1() {\r\n return column1;\r\n }", "title": "" }, { "docid": "34163f99383f5764c65adf654cc21ccc", "score": "0.5754813", "text": "public String column() {\n return this.column;\n }", "title": "" }, { "docid": "a3a296eb5ea01b06bfae13f014003b0d", "score": "0.5749368", "text": "int getColumn();", "title": "" }, { "docid": "5820c5bec717debf60aabd56ac71c388", "score": "0.5744904", "text": "public int getColumn() {\n/* 508 */ return this.col;\n/* */ }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "e2de84779164ebbc4a16f4c8f04ad420", "score": "0.5731467", "text": "public String getEscapedColumnName() {\n if (this.isColumnNameDelimited) {\n return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();\n } else {\n return this.column;\n }\n }", "title": "" }, { "docid": "456e9c6e2664eb6c830bae9389a449ee", "score": "0.5715919", "text": "void mo86093b(Column column);", "title": "" }, { "docid": "ba4de75dc1bd45682d33cf777f89c54f", "score": "0.5712155", "text": "public com.lin.coprocessor.generated.BSVCoprocessorProtos.BSVColumn getColumn() {\n if (columnBuilder_ == null) {\n return column_;\n } else {\n return columnBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "72f11daa919346d3c0ce56ee6cfefc75", "score": "0.5707398", "text": "String cellTableFirstColumn();", "title": "" }, { "docid": "c3b9975e177954ea2491c70f3bf32ace", "score": "0.57071006", "text": "public String getColumnName(int column) {\n\treturn \"\"; // unused\n }", "title": "" }, { "docid": "796b9c4f6c8865ed92d1af063f13532a", "score": "0.5705427", "text": "public String getString (int columnIndex);", "title": "" }, { "docid": "9b34ae01bd58e9723b8cb1b340384475", "score": "0.56740093", "text": "public String getColumnName(int col){\r\n return colName[col];\r\n }", "title": "" }, { "docid": "0fbe2605b2b8796540d53546e0d13829", "score": "0.5668557", "text": "public int getCol() { return column; }", "title": "" }, { "docid": "a030f190d39454f8b3fb63b8b14cc2c2", "score": "0.56508356", "text": "public String getValue(String column)\r\n {\r\n if (null == column || \"\".equals(column)) {\r\n return \"\";\r\n } else if (\"last_update\".equalsIgnoreCase(column) || \"lastUpdate\".equalsIgnoreCase(column)) {\r\n return getLastUpdate() == null ? \"\" : getLastUpdate().toString();\r\n } else if (\"description\".equalsIgnoreCase(column) || \"description\".equalsIgnoreCase(column)) {\r\n return getDescription() == null ? \"\" : getDescription().toString();\r\n } else if (\"tran_type\".equalsIgnoreCase(column) || \"tranType\".equalsIgnoreCase(column)) {\r\n return getTranType() == null ? \"\" : getTranType().toString();\r\n } else if (\"tran_type_id\".equalsIgnoreCase(column) || \"tranTypeId\".equalsIgnoreCase(column)) {\r\n return getTranTypeId() == null ? \"\" : getTranTypeId().toString();\r\n }\r\n return \"\";\r\n }", "title": "" }, { "docid": "01c931bddd6746e5c074172307da9785", "score": "0.5624818", "text": "public String get(DataColumn column) {\r\n\t\tif (column == null) {\r\n\t\t\tthrow new NullPointerException(\"column\");\r\n\t\t}\r\n\r\n\t\treturn get(column.getName());\r\n\t}", "title": "" }, { "docid": "e3c7ba7c3f0522bf7dbecafcaeb83a1c", "score": "0.56219196", "text": "private String getAnnotationValue(String col, String s) throws Exception {\n\t\tif (s.startsWith(\"f\")) {\n\t\t\ts = s.substring(1);\n\t\t\ts = s.trim();\n\t\t}\n\t\t// need to load the columns table into memory\n\t\tABaseResults res = cache.get(col);\n\t\tif (res == null)\n\t\t\tres = buildCache(col);\n\n\t\tArrayList<GRow> rows = res.getValues();\n\t\tfor (GRow g : rows) {\n\t\t\tHashMap map = g.getData();\n\t\t\tObject va = map.get(\"field\");\n\t\t\tif (va != null) {\n\t\t\t\tString gg = va.toString();\n\t\t\t\tif (gg.equalsIgnoreCase(s)) {\n\t\t\t\t\tObject vb = map.get(col);\n\t\t\t\t\tif (vb != null)\n\t\t\t\t\t\treturn vb.toString();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn \"????????????\";\n\t}", "title": "" }, { "docid": "072b253b63bfdc6dda8eb9c1e0b3b934", "score": "0.5601712", "text": "String getFieldName(int col)\r\n {\r\n try\r\n {\r\n return Header.getField(col);\r\n }\r\n catch (Error TheError)\r\n {\r\n throw new Error(TheError);\r\n }\r\n }", "title": "" }, { "docid": "7c8071edf18bbbaadddba79bb78d57b8", "score": "0.55949587", "text": "@Override\r\n public String getColumnName(int column) {\r\n return new String[]{\r\n \"Oferta\",\r\n \"Client/Clienti\"}[column];\r\n }", "title": "" }, { "docid": "153f4c424b482daf683f25d9e56b5763", "score": "0.55938035", "text": "@Override\r\n public String getColumnName(int column) {\r\n return new String[]{\r\n \"Oferta\",\r\n \"Criteriu 1\",\r\n \"Criteriu 2\",\r\n \"Criteriu 3\",\r\n \"Criteriu 4\",\r\n \"Criteriu 5\",\r\n \"Criteriu 6\",\r\n \"Criteriu 7\",\r\n \"Criteriu 8\"}[column];\r\n }", "title": "" }, { "docid": "d6d6a77a4ef0afef678353482677ecfe", "score": "0.5581263", "text": "@Override\n public String getColumnName(int column) {\n return Header[column];\n }", "title": "" }, { "docid": "884965f1694b8dbfb43858304b8eeffa", "score": "0.5575735", "text": "public String getColumnName(int col) {\n\t if (col == 0) {\n\t\treturn \"Mote\";\n\t }\n\t else if(col==1){\n \t\treturn \"Interval\";\n\t } \n\t else {\n\t\treturn \"Color\";\n\t }\n\t}", "title": "" }, { "docid": "1d1e095091a4d4f66fc258bd2289bca4", "score": "0.5574975", "text": "@Override\n public CharSequence getStrB(int col) {\n return getStr(col);\n }", "title": "" }, { "docid": "9b7053f7fb70cd9e633995802fbbc23f", "score": "0.555932", "text": "@Override\n public Object getValueAt(int column) {\n return (column == 0) ? toString() : null;\n }", "title": "" }, { "docid": "bfc5960426c6546a68007bcf9b646db7", "score": "0.55586606", "text": "int column(String name);", "title": "" }, { "docid": "430bcbda4b5f50af8294149e69dd535d", "score": "0.5550197", "text": "public String getColumnName(int col) {\n \treturn cols[col];\n }", "title": "" }, { "docid": "c9f667b8afdd92296ea2ee32b7e35f6c", "score": "0.554581", "text": "@Override\n public String getColumnName(int column) {\n return Header1[column];\n }", "title": "" }, { "docid": "4caed503072ff1c750349b918ec0aa9d", "score": "0.55010724", "text": "@Override\n public String getColumnName(int col) {\n switch(col)\n {\n case 0:\n return \"Codigo\";\n case 1:\n return \"Nome\";\n case 2:\n return \"Fone\";\n default:\n return \"\";\n }\n }", "title": "" }, { "docid": "071128d9033c5b14b6ca7d600a39222e", "score": "0.5496378", "text": "@Override\r\n public String getColumnName(int column\r\n ) {\r\n return colunas[column];\r\n }", "title": "" }, { "docid": "0d0bb87dfb9409b137dbcd57a823d5e7", "score": "0.5494116", "text": "@Override\r\n public String getColumnName(int column) {\n switch (column) {\r\n case codigo:\r\n return \"Código\";\r\n case titulo:\r\n return \"Título\";\r\n case desconto:\r\n return \"Desconto\";\r\n case seleciona:\r\n return \"Seleciona\";\r\n default:\r\n return \"\";\r\n }\r\n }", "title": "" }, { "docid": "9fc587637eeb56dbff8228a9e7233dc2", "score": "0.5490503", "text": "public String get(String header) {\n\t\tfinal int columnIndex = this.headers.indexOf(header.toLowerCase().trim());\n\t\tif (currentRow == null || columnIndex == -1 || currentRow.length < columnIndex) {\n\t\t\t// no column available\n\t\t\treturn null;\n\t\t} else {\n\t\t\t// send back the field at the header's index\n\t\t\treturn currentRow[columnIndex] != null ? currentRow[columnIndex].trim() : null;\n\t\t}\n\t}", "title": "" }, { "docid": "3cb079072ecbb7850d8c54a91096556c", "score": "0.5479111", "text": "public abstract int getColumn();", "title": "" }, { "docid": "67c71b91346afb536ef5b6d37f41d4b6", "score": "0.547706", "text": "@java.lang.Override\n public int getColumn() {\n return column_;\n }", "title": "" }, { "docid": "66c4aea91940d14dfbb311bee49a261c", "score": "0.54753256", "text": "@java.lang.Override\n public int getColumn() {\n return column_;\n }", "title": "" }, { "docid": "01a2ff9fed7ab5868213e5c119df7fd0", "score": "0.54551834", "text": "public static void getColumnReference(int column, StringBuffer buf)\n {\n int v = column/26;\n int r = column%26;\n\n StringBuffer tmp = new StringBuffer();\n while (v != 0)\n {\n char col = (char) ('A' + r) ;\n\n tmp.append(col);\n\n r = v%26 - 1; // subtract one because only rows >26 preceded by A\n v = v/26;\n }\n\n char col = (char) ('A' + r) ;\n tmp.append(col);\n\n // Insert into the proper string buffer in reverse order\n for (int i = tmp.length() - 1; i >= 0; i--)\n {\n buf.append(tmp.charAt(i));\n }\n }", "title": "" }, { "docid": "bd0973166e4f99272928ea505dcf4976", "score": "0.5437022", "text": "@Override\n public String getColumnName(int column) {\n return model.getHeaders()[column];\n }", "title": "" }, { "docid": "6bdbcb1fedf371e773a74e56dbce1ee6", "score": "0.54314744", "text": "public String getField(int columnIndex) throws SQLException {\r\n\t\tif (columnIndex >= fieldValues.length) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\tString result = fieldValues[columnIndex];\r\n\t\tif (result != null)\r\n\t\t\tresult = result.trim();\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "2844972a63f0a156b425517400b13e21", "score": "0.5431216", "text": "public static String getColumnReference(int column)\n {\n StringBuffer buf = new StringBuffer();\n getColumnReference(column, buf);\n return buf.toString();\n }", "title": "" }, { "docid": "9a4f588b41366ed3b3079fa1a199f3f2", "score": "0.5425054", "text": "@Override\r\n\tpublic String getColumnName(int column) {\n\t\treturn columns[column];\r\n\t}", "title": "" }, { "docid": "0700e24eed0f6d36483b6996989f9473", "score": "0.54244125", "text": "public String getColumnName(int col) {\n\t\t//return columnNames[col];\n\t\tString aux = \"\";\n\t\tswitch (col){\n\t\t\tcase 0: aux = \"Id\";\n\t\t\tcase 1: aux = \"Description\";\n\t\t}\n\t\treturn aux;\n\t}", "title": "" } ]
65b23e97420b2917df4beb5c7e8a56f9
/ void deleteAllByUserId(Long userId)
[ { "docid": "b533e93209be9710313c88251d22a905", "score": "0.6649733", "text": "@Test\n\t@DisplayName(\"User ID로 PostLike 일괄 삭제 -> 정상 ,check Repo\") \n\tvoid deleteAllByUserIdTestCheckRepo() {\n\t\t//Given\n\t\tLong userId = Long.valueOf(24);\n\t\t\n\t\t//When\n\t\tpostLikeService.deleteAllByUserId(userId);\n\t\t\n\t\t//Then\n\t\tthen(postLikeRepository).should(times(1)).deleteAllByUserIdInQuery(userId);\n\t}", "title": "" } ]
[ { "docid": "7e6bfdbd319afa183387ce21a74fac26", "score": "0.8251161", "text": "public void deleteAllOrdersByUserId(Long userId) {\n orderRepository.deleteByUserId(userId);\n }", "title": "" }, { "docid": "2a552e4ee0d1bc2251163b90819cc6da", "score": "0.8209268", "text": "public void deleteUsers(String userId) {\n\t\t\n\t}", "title": "" }, { "docid": "45ef32bb9cbeb706ac04ae48e7ebe3f0", "score": "0.81169266", "text": "public void deleteAllUserCards(int userId) {\n AppDatabase.databaseWriteExecutor.execute(() -> cardDao.deleteAllUserCards(userId));\n }", "title": "" }, { "docid": "9a3adf0fc00a5d7ead11382f93e3ad37", "score": "0.7963675", "text": "public void delete(String userId);", "title": "" }, { "docid": "ec93df3f7732c8265651804b1134b97a", "score": "0.78562623", "text": "void deleteAllUsers();", "title": "" }, { "docid": "62e4aed8a6708038a3c268eb0feab909", "score": "0.7675421", "text": "public Request<Void> deleteAll(String userId) {\n Asserts.assertNotNull(userId, \"user id\");\n\n final String url = baseUrl\n .newBuilder()\n .addPathSegments(\"api/v2/grants\")\n .addQueryParameter(\"user_id\", userId)\n .build()\n .toString();\n return new VoidRequest(client, tokenProvider, url, HttpMethod.DELETE);\n }", "title": "" }, { "docid": "4e49c8b738646d722374fd409f9e723b", "score": "0.76455235", "text": "@Override\r\n\tpublic void delete(long userId) {\n\t\t\r\n\t}", "title": "" }, { "docid": "a1b12119a8294c685cff7f95061b3ff0", "score": "0.7621759", "text": "@Override\n\tpublic void delete(Integer userId) {\n\t}", "title": "" }, { "docid": "6756b7e8acbe2823c782deb7a2e30803", "score": "0.7588732", "text": "public String delete(Long id, Long userId);", "title": "" }, { "docid": "b7d771422d2961464cab9f0c6279fe8f", "score": "0.7562921", "text": "public void deleteUsers(int userId) {\n\t\t\n\t\tSession session = getSession();\n\n\t\tQuery query = session.createQuery(\"from Users where userId = ?\");\n\t\tquery.setInteger(0, userId);\n\n\t\tUsers u=(Users) query.uniqueResult();\n\t\tsession.delete(u);\n\t\tsession.flush();\n\n\t\tsession.close();\n\t\t\n\t}", "title": "" }, { "docid": "cfb829e091a1605d8843f5acac948952", "score": "0.7556669", "text": "@Modifying\n\t@Transactional\n\t@Query(value = \"DELETE FROM USER_PF A WHERE A.USER_ID = :userId\", nativeQuery = true)\n\tpublic void deleteByUserId(@Param(\"userId\") String userId);", "title": "" }, { "docid": "3f7141013a69fbf02ea453ecaca72337", "score": "0.75200367", "text": "public void deleteAllUsers() {\n\n }", "title": "" }, { "docid": "d2ce7a4a1e49d674e07404bf826911f6", "score": "0.74204755", "text": "boolean deleteTurbineUserById(List<Integer> userId) throws Exception;", "title": "" }, { "docid": "ccc235d65b8ad94b29bde5e7093a7cd3", "score": "0.74044114", "text": "@Override\n\tpublic void deleteUser(String userId) {\n\t\t\n\t}", "title": "" }, { "docid": "56ed4b611e8d7228e9cf9509b925e692", "score": "0.73427284", "text": "@Override\r\n public int deleteByPrimaryKey(Integer userId) {\n return userMapper.deleteByPrimaryKey(userId);\r\n }", "title": "" }, { "docid": "840d70b5a42fa149ea1feec624b57452", "score": "0.7340849", "text": "public int deleteAllSessions(int userId) throws SQLiteException {\n\t\tint result = 0;\n\t\tString qryDeleteSessions = null;\n\t\t\n\t\tqryDeleteSessions = ISessionTable.KEY_USER_ID + \" = \" + userId;\n\t\t\n\t\tresult = db.delete(ISessionTable.TABLE_NAME, \n\t\t\t\t \t\t qryDeleteSessions, \n\t\t\t\t null);\n\t\t\n\t\t// reset targets set \n\t\tContentValues targetDay = new ContentValues();\n\t\tfloat resetTarget = 0.0f;\n\t\ttargetDay.put(IUserTable.KEY_DURATION_TODAY, resetTarget);\n\t\t\t\t\t\t\n\t\tdb.update(IUserTable.TABLE_NAME,\n\t\t\t\t targetDay, \n\t\t\t\t ISessionTable.KEY_ID + \" = \" + userId, \n\t\t\t\t null);\n\t\t\n\t\treturn result;\n\t}", "title": "" }, { "docid": "46cb1bb764ff3b6da45a3e2c41b4686d", "score": "0.7279317", "text": "int deleteByPrimaryKey(Long userId);", "title": "" }, { "docid": "a2e0ffa67c2f2b5262d1246ae8a25875", "score": "0.72702646", "text": "@Override\r\n\tpublic void deleteAll(Collection<User> entities) {\n\t\t\r\n\t}", "title": "" }, { "docid": "2dd2c403bf9e30f772848c8daf66d3a8", "score": "0.7223557", "text": "public void deleteByUserId(Long userId) {\n\t\tsql.delete(USER_ORGANIZATION_ROLES)\n\t\t\t\t.where(USER_ORGANIZATION_ROLES.USER_ID.eq(userId)).execute();\n\t}", "title": "" }, { "docid": "28033299b12c5684999e18756ca95d27", "score": "0.7216731", "text": "@Override\n\tpublic void deleteAllUser(long gameId) {\n\n\t}", "title": "" }, { "docid": "bbff5ee4f79486b4e3ae238bd4fd2372", "score": "0.7207868", "text": "public void deleteAll() {\n AppDatabase.databaseWriteExecutor.execute(() -> userDao.deleteAllUsers());\n }", "title": "" }, { "docid": "976a6d34a5d64c78ecb0ea133d7eaf3c", "score": "0.72013277", "text": "@Override\n\tpublic void delete(int userId) throws UserNotFoundException {\n\t\tList<Account> accounts = accountRepository.findAccounts(userId);\n\t\tfor (Account account : accounts) {\n\t\t\taccountRepository.delete(account);\n\t\t}\n\t\tuserRepository.delete(userRepository.findOne(userId));\n\n\t}", "title": "" }, { "docid": "f5bc4c6186ff8a5f4d2a9cabb2324242", "score": "0.7196646", "text": "@DeleteMapping(path = \"/delete/{userId}\")\n public void deleteUser(@PathVariable(\"userId\") long userId) {\n userService.deleteUser(userId);\n }", "title": "" }, { "docid": "af33debbcd4e2730e9bbb54f6c6b43b3", "score": "0.71926564", "text": "int deleteByPrimaryKey(String userId);", "title": "" }, { "docid": "0a61ad8d7dd34ded990a94dce58ebda9", "score": "0.71782696", "text": "public void deleteOrdersByUserId(String userId) {\r\n SQLiteDatabase database = this.getWritableDatabase();\r\n database.delete(TablePlacedOrders, Key_UserId_PlacedOrder + \"= '\" + userId + \"'\", null);\r\n database.close();\r\n }", "title": "" }, { "docid": "6d519e1e8c803fa83b99df618f729715", "score": "0.71176535", "text": "int deleteByPrimaryKey(Integer userId);", "title": "" }, { "docid": "6d519e1e8c803fa83b99df618f729715", "score": "0.71176535", "text": "int deleteByPrimaryKey(Integer userId);", "title": "" }, { "docid": "4748f4d395c2e8c9a94dc30d7b774d14", "score": "0.70493335", "text": "public void deleteAll(List<Integer> ids) throws TeacheronException;", "title": "" }, { "docid": "8c47dc0eee782b0b9fac4149a8aebc4b", "score": "0.70389414", "text": "@DELETE\n void removeOpUser(String userId);", "title": "" }, { "docid": "7fcb8da989051d78be26d6c8ab82048c", "score": "0.7029263", "text": "public void deleteAll();", "title": "" }, { "docid": "7fcb8da989051d78be26d6c8ab82048c", "score": "0.7029263", "text": "public void deleteAll();", "title": "" }, { "docid": "74768a62cd7647d5314df12174d0b0ca", "score": "0.6959545", "text": "@Override\n\tpublic void deleteAll(Iterable<? extends User> arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "c69e0637d07d1a753eb60cf4c51ca085", "score": "0.6935626", "text": "void deleteAll() throws DaoException;", "title": "" }, { "docid": "a6d931084a976ae8b633ac6bc3087612", "score": "0.6925983", "text": "@Transactional\r\n\t@Query(value=\"DELETE FROM search_items si WHERE si.ebayitem_id = :item AND\"\r\n\t\t\t+ \" si.search_id IN (select s.search_id FROM search s INNER JOIN app_user u ON s.user_user_id = u.user_id WHERE u.user_id = :user)\"\r\n\t\t\t,nativeQuery=true)\r\n\t@Modifying\r\n\tvoid deleteItemFromSearchAll(@Param(\"item\") Long itemId, @Param(\"user\") Long userId);", "title": "" }, { "docid": "f370f0f6eb31a5f0c32a29d4d3bddd94", "score": "0.69209623", "text": "public void deleteInvoiceByUserId(String userId) {\r\n SQLiteDatabase database = this.getWritableDatabase();\r\n database.delete(TableInvoiceListPayment, Key_UserId_InvoiceListPayment + \"= '\" + userId + \"'\", null);\r\n database.close();\r\n }", "title": "" }, { "docid": "191d0ffce33a951ed7be7c86347a650f", "score": "0.6885342", "text": "@Override\n public void deleteUser(int userId) throws IUserDAO.DALException {\n String sql = \"DELETE FROM role_user WHERE user_id = ?\";\n updateIndhold(sql, userId);\n\n //DELETE FROM user WHERE id = 1\n String sql3 = \"DELETE FROM user WHERE id = ?\";\n updateIndhold(sql3, userId);\n }", "title": "" }, { "docid": "f4dbca45449639ac417567a50eb68e10", "score": "0.68642867", "text": "public void deleteDeliveryInvoicesByUserId(String userId) {\r\n SQLiteDatabase database = this.getWritableDatabase();\r\n database.delete(TableDeliveryScheduleInvoices, Key_UserId_DeliveryScheduleInvoices + \"= '\" + userId + \"'\", null);\r\n database.close();\r\n }", "title": "" }, { "docid": "745598d3a9b596d30d7f913a180794b1", "score": "0.68614614", "text": "public void deleteUser(Long id);", "title": "" }, { "docid": "52a81faaec136b7e16db5a201462396c", "score": "0.6851054", "text": "@Override\n\tpublic boolean delete(int userId) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "8b4f765bc99d51c085a4df381d262cef", "score": "0.68473077", "text": "@Override\n\tpublic void deleteExprCoupon(List<Integer> couponIds, String userId) {\n\t\t\n\t}", "title": "" }, { "docid": "3b0dbbd158edf4c37b429ba5d40e2f9a", "score": "0.6821209", "text": "@Override\n\tpublic void deleteAll(Iterable<? extends AppUser> entities) {\n\t\t\n\t}", "title": "" }, { "docid": "105411d1dbc8b92f3d9e0aa4c394f7ce", "score": "0.6809482", "text": "@RequestMapping(value = \"/user/{userId}\", method = RequestMethod.DELETE)\n\t@ResponseStatus(value = HttpStatus.NO_CONTENT)\n\tpublic void delete(@PathVariable(value = \"userId\") String userId) {\n\t\ttry {\n\t\t\tUser user = userDao.get(userId);\n\t\t\tuserDao.delete(user);\n\t\t} catch (UserNotFoundException e) {\n\t\t\tthrow new IllegalArgumentException(\"There is no user for id \" + userId);\n\t\t}\n\t}", "title": "" }, { "docid": "12f71142ce7e295cf5363515cba1df32", "score": "0.68011004", "text": "@Override\n\tpublic void deleteAll(Iterable<? extends FoodAppUsers> entities) {\n\t\t\n\t}", "title": "" }, { "docid": "0d57e9ba09adcf9a8c8c0aef6eff8484", "score": "0.6771438", "text": "@Override\n public int delete(List<Integer> productIdList, int userId) {\n return 0;\n }", "title": "" }, { "docid": "c7460e2c544b8f344b12fae532dbe1af", "score": "0.6765851", "text": "@Override\r\n\tpublic void deleteAllUsers() {\n jdbcTemplate.update(\"delete from jdbc_user\");\r\n\t}", "title": "" }, { "docid": "6854727a369a04153c9ca3e523385d3d", "score": "0.6763726", "text": "public void deleteUserById(int userId) {\n\t\tString sql = \"DELETE FROM Users WHERE userId = ?\";\n\t\ttry {\n\t\t\tPreparedStatement ps = conn.prepareStatement(sql);\n\t\t\tps.setInt(1, userId);\n\n\t\t\tps.executeUpdate();\n\t\t\tps.close();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "4051568be24cf0e17ef83aecee6d2f97", "score": "0.6759669", "text": "@Override\n\tpublic void deleteUser(Long userId) {\n\t\tthis.userRepository.deleteById(userId);\n\t}", "title": "" }, { "docid": "a1ad18f933e910ba39eeed944fd998fe", "score": "0.67555887", "text": "@Test\n public void deleteUser1() {\n Long[] ids = { 12L, 3L, 4L };\n service.deleteUser(ids);\n }", "title": "" }, { "docid": "5861db5a949f76589a720014900f3e9c", "score": "0.67540514", "text": "public void deleteByUserIds(String ids) {\n\t}", "title": "" }, { "docid": "2cca4c72d9857d3c068edc874665d9e7", "score": "0.6739015", "text": "@Override\n\tpublic void deleteAllById(Iterable<? extends Long> ids) {\n\t\t\n\t}", "title": "" }, { "docid": "c9d78aba60666735ba30fda5d2d4c99d", "score": "0.6734547", "text": "@Override\n public void deleteDetailOfUser(Long userId) {\n userDetailsRepository.findOneByUser_Id(userId)\n .ifPresent(userDetails -> delete(userDetails.getId()));\n }", "title": "" }, { "docid": "1c89078c87bab8c8f360f7fb56334d79", "score": "0.67092055", "text": "void deleteUser(long id);", "title": "" }, { "docid": "2b9fbfd53707d7f8f61cd356f11d1001", "score": "0.67090714", "text": "@Override\n public void deleteUser(Long userId) {\n if(userRepository.findById(userId).isPresent()){\n /* delete user*/\n userRepository.deleteById(userId);\n }\n else{\n /* throw UserNotFound exception if the given user is not in database*/\n throw new ApiException.UserNotFound(\"User does not exist with the given ID :\",userId);\n }\n\n }", "title": "" }, { "docid": "5448f338739ba9268422497427485e20", "score": "0.6706103", "text": "@Override\r\n\tpublic String deleteUser(@PathVariable Integer userId) {\r\n\t\tuserRepository.deleteById(userId);\r\n\t\treturn userId + \"Delete Successfully\";\r\n\t}", "title": "" }, { "docid": "3b2e57ff7bb78b3275c34bca9869db4d", "score": "0.67001057", "text": "void deleteAll();", "title": "" }, { "docid": "3b2e57ff7bb78b3275c34bca9869db4d", "score": "0.67001057", "text": "void deleteAll();", "title": "" }, { "docid": "3b2e57ff7bb78b3275c34bca9869db4d", "score": "0.67001057", "text": "void deleteAll();", "title": "" }, { "docid": "3b2e57ff7bb78b3275c34bca9869db4d", "score": "0.67001057", "text": "void deleteAll();", "title": "" }, { "docid": "7617cf1d5a3bdc8f91eadabece49a77d", "score": "0.6684238", "text": "public void deleteAllUserWalkingActivity(int userID) {\n SQLiteDatabase db = this.getWritableDatabase();\n // delete user record by id\n db.delete(TABLE_WALKINGACTIVITY, COLUMN_WALKINGACTIVITY_USERID + \" = ?\",\n new String[]{String.valueOf(userID)});\n db.close();\n\n }", "title": "" }, { "docid": "091442f2e7ff821a9879f1820cae74ec", "score": "0.6679826", "text": "public int deleteOne(@Param((\"userId\")) String userId);", "title": "" }, { "docid": "449affebcf682df99f45ae34332bf455", "score": "0.66740793", "text": "void delete(int userId, int listId);", "title": "" }, { "docid": "f2bcc87037d8759e21a18a6357cafb72", "score": "0.6660505", "text": "@Override\n\tpublic Integer deleteByFollowerId(Integer userId) {\n\n\t\tfinal MapSqlParameterSource parameterSource = new MapSqlParameterSource();\n\t\tparameterSource.addValue(\"userId\", userId);\n\n\t\treturn super.deleteByMappedParameterQuery(DELETE_BY_FOLLOWERID,\n\t\t\t\tparameterSource);\n\t}", "title": "" }, { "docid": "e59f97563240fdc32e792eff34dfcc47", "score": "0.6645696", "text": "public void deleteOrdersByUserIdChemistSection(String userId) {\r\n SQLiteDatabase database = this.getWritableDatabase();\r\n database.delete(TablePlacedOrders, Key_UserId_PlacedOrder + \"= '\" + userId + \"'\", null);\r\n database.close();\r\n }", "title": "" }, { "docid": "adca5846adc0852d718560d4c44f4111", "score": "0.6634574", "text": "public abstract void delete(Iterable<Long> ids);", "title": "" }, { "docid": "bf267c6eaf07ea38e5920d5b5d1ed2e7", "score": "0.6631476", "text": "void delete(List<Long> ids);", "title": "" }, { "docid": "6ec1ace748acd5087e62fa8d7335469f", "score": "0.66225314", "text": "@Override\n\tpublic DataWrapper<Void> deleteUser(Long userId) {\n\t\tUser user = userRepository.findByUserId(userId);\n\t\tif (user == null || user.getType().equals(UserType.Admin.getCode())) {\n\t\t\tthrow new AuthException(\"用户不存在\");\n\t\t}\n\t\ttry {\n\t\t\tuserRepository.delete(userId);\n\t\t} catch (Exception e) {\n\t\t\tthrow new DBException(\"数据库错误\",e);\n\t\t}\n\t\tDataWrapper<Void> dataWrapper = new DataWrapper<Void>();\n\t\t\n\t\treturn dataWrapper;\n\t}", "title": "" }, { "docid": "4154a80e57c528cb4ba01ab2567f07ff", "score": "0.6619089", "text": "@Delete(\"delete from user where user_id = #{user_id} \")\n public Integer delete(@Param(\"user_id\") Integer user_id);", "title": "" }, { "docid": "658e6f868257faaac07cb2d3607b449e", "score": "0.65993404", "text": "public int deleteAll();", "title": "" }, { "docid": "062e2477332af7e56cb7df6e615483ba", "score": "0.65916604", "text": "public void deleteAll() {\n }", "title": "" }, { "docid": "517ca11e111853165aa321540b058e24", "score": "0.6587681", "text": "@DELETE\n @Path(\"/{userId}\")\n public void deleteUser(\n @PathParam(\"userId\") int userId) throws ResourceException {\n try {\n userService.deleteUser(userId);\n } catch (ServiceException e) {\n throw new ResourceException(\"Failed to delete user id:\" + userId, e);\n }\n }", "title": "" }, { "docid": "28133eb394062a80e6f3fef06e63016f", "score": "0.6586054", "text": "public int deleteUserByUserIds(List<Integer> userIds){\n UserExample example = new UserExample();\n UserExample.Criteria criteria = example.createCriteria();\n criteria.andUserIdIn(userIds);\n return userMapper.deleteByExample(example);\n }", "title": "" }, { "docid": "16d45daf82359a864721185e09da9c1b", "score": "0.65857506", "text": "int deleteByPrimaryKey(Long userid);", "title": "" }, { "docid": "10ea775b2fdfb22eb42f8da6f2a4538b", "score": "0.6576879", "text": "@Override\n\tpublic void deleteByKyBaoCaoAndUserId(String ky, String userId) {\n\t\tact3380501Repo.deleteByKyAndUsrId(ky, userId);\n\t}", "title": "" }, { "docid": "d1cc2c611fca04545b63c2b3f8be38ed", "score": "0.657421", "text": "@Override\r\n\tpublic void delUserById(Integer pkUserId) {\n\t\tuserMapper.delUserById(pkUserId);\r\n\t}", "title": "" }, { "docid": "d0122f0b14999dba46003559c0a88b0b", "score": "0.65715516", "text": "public int deleteUserById(Integer userId){\n return userMapper.deleteByPrimaryKey(userId);\n }", "title": "" }, { "docid": "c5d500b7167ab02754e7e09120e3541f", "score": "0.6571542", "text": "public void deleteUser(Long id) {\n\n messageRepository.deleteByUserId(id);\n //mensajes en sus conversaciones\n List<Conversation> conversDelUsuario=converRepository.findAllByUserId(id);\n conversDelUsuario.forEach(c->{\n messageRepository.deleteByConverId(c.getId());\n });\n\n //Convers con productos de otros\n //Convers con sus productos\n\n converRepository.deleteByUserId(id);\n\n\n //Sus productos\n //Con el borrado en cascada deberia borrase\n //El usuario\n productRepository.deleteByUserId(id);\n productRepository.clearBoughtProducts(id);\n usersRepository.deleteById(id);\n\n }", "title": "" }, { "docid": "5715d0fa3d466fc43c35ac427a52ac60", "score": "0.65318996", "text": "@Test\n public void deleteUser2() {\n Long[] ids = { 1002L, 300L, 40L };\n service.deleteUser(ids);\n }", "title": "" }, { "docid": "33a4b9e41173162ac010cf0350ed4549", "score": "0.65245885", "text": "public void delete(Long[] ids) {\n\t\tfor(Long id:ids){\r\n\t\tFyUser u = \tfindById(id);\r\n\t\tu.setIsDel(true);\r\n\t\tthis.update(u);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d532ec3690ac490cc5124e1fd6695042", "score": "0.6522762", "text": "@Override\n\tpublic void deleteAllById(Iterable<? extends Integer> ids) {\n\t\t\n\t}", "title": "" }, { "docid": "e26fc846b32bd3acc878ae50d954acb8", "score": "0.65210515", "text": "@Override\n\tpublic void deleteUserById(long id) {\n\n\t}", "title": "" }, { "docid": "a71ff454a175c3bd181402267819cb6e", "score": "0.6516654", "text": "@Override\r\n\tpublic void deleteByAll() throws SQLException {\n\t\t\r\n\t}", "title": "" }, { "docid": "d2badb11a6055e72f5571e7b08c6e7f0", "score": "0.6514662", "text": "@Override\r\n\tpublic void deleteUser(Integer idUser)\r\n\t{\r\n\t\tappUserRepo.deleteById(idUser);\r\n\t}", "title": "" }, { "docid": "0a652d8760e1cc86cd2206052482d019", "score": "0.6513894", "text": "public void deleteAllPostsAndUsers() {\r\n SQLiteDatabase db = getWritableDatabase();\r\n db.beginTransaction();\r\n try {\r\n // Order of deletions is important when foreign key relationships exist.\r\n db.delete(TABLE_TASKS, null, null);\r\n // db.delete(TABLE_USERS, null, null);\r\n db.setTransactionSuccessful();\r\n } catch (Exception e) {\r\n Log.d(TAG, \"Error while trying to delete all posts and users\");\r\n } finally {\r\n db.endTransaction();\r\n }\r\n }", "title": "" }, { "docid": "25550d58bcf1c09d27954f1a5f5fafb6", "score": "0.6512004", "text": "@Override\r\n\tpublic void deleteUser(Long id) {\n\r\n\t}", "title": "" }, { "docid": "c8d7bd9d3f8224225b3bc774d68ec1ef", "score": "0.65020305", "text": "void removeAllBoookMarksTracking(String userId);", "title": "" }, { "docid": "93e5ce5b99e99fea2039d8a9001f49ad", "score": "0.6491826", "text": "void deleteDeckFromAllUsers(Long deckId) throws NotAuthorisedUserException;", "title": "" }, { "docid": "d56dc2171424ad17513bf0f04fb44445", "score": "0.6474318", "text": "public void deleteAll() {\n\n\t}", "title": "" }, { "docid": "f37398ad388da78a7af1f6dcde1fd1e1", "score": "0.64598656", "text": "@Override\r\n\tpublic void delete(List<Long> ids) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b5f965bb72979e057dca7767c4b65b8b", "score": "0.64569265", "text": "void deleteUser(int id);", "title": "" }, { "docid": "fab2435ae24e1a6b87df7656aca35a8d", "score": "0.6452867", "text": "@Override\n\tpublic void deleteUser(Long id) {\n\n\t}", "title": "" }, { "docid": "f2cf19df84ca1f71a1045e476b4f324b", "score": "0.64442676", "text": "@Override\r\n\tpublic boolean deleteUser(Long userid) {\n\t\t\r\n\t\treturn delete(get(userid));\r\n\t}", "title": "" }, { "docid": "9d4a3ec015af7bd0ddb14d173fb6a30a", "score": "0.6440504", "text": "public void deleteUser(User user);", "title": "" }, { "docid": "5b135e1d9e225cb580983414557c366c", "score": "0.642054", "text": "@Override\n public void deleteUserById(int Id) {\n userRepository.delete(findById(Id));\n\n }", "title": "" }, { "docid": "4fa5d8e36bb4a3457dfe02a3427c3f1c", "score": "0.64174587", "text": "public void deleteUser();", "title": "" }, { "docid": "c4b78c5572f65672cdff08d9e58bac00", "score": "0.6407229", "text": "public void deleteUsers() {\n SQLiteDatabase db = this.getWritableDatabase();\n // Delete All Rows\n db.delete(TABLE_BUSINESS, null, null);\n db.close();\n\n Log.d(TAG, \"Deleted all user info from sqlite\");\n }", "title": "" }, { "docid": "efec4b45ae52315f5958e3307a426481", "score": "0.6399554", "text": "@Override\n public void deleteUser(long userId) throws UserNotFoundException {\n UserEntity user = em.find(UserEntity.class, userId);\n if (user == null) {\n throw new UserNotFoundException(\"User not found\");\n }\n user.getAffiliatedUsers().clear();\n List<FollowRequestEntity> followRequestMade = user.getFollowRequestMade();\n for (int i = 0; i < followRequestMade.size(); i++) {\n UserEntity to = followRequestMade.get(i).getTo();\n to.getFollowRequestReceived().remove(followRequestMade.get(i));\n followRequestMade.get(i).setTo(null);\n followRequestMade.get(i).setFrom(null);\n em.remove(followRequestMade.get(i));\n }\n followRequestMade.clear();\n\n List<FollowRequestEntity> followRequestReceived = user.getFollowRequestReceived();\n for (int i = 0; i < followRequestReceived.size(); i++) {\n UserEntity from = followRequestReceived.get(i).getFrom();\n from.getFollowRequestReceived().remove(followRequestReceived.get(i));\n followRequestReceived.get(i).setTo(null);\n followRequestReceived.get(i).setFrom(null);\n em.remove(followRequestReceived.get(i));\n }\n followRequestReceived.clear();\n user.getFollowers().clear();\n user.getFollowing().clear();\n List<GroupEntity> groupsManaged = user.getGroupsManaged();\n for (int i = 0; i < groupsManaged.size(); i++) {\n groupsManaged.get(i).getGroupAdmins().remove(user);\n }\n groupsManaged.clear();\n List<GroupEntity> groupsJoined = user.getGroupsJoined();\n for (int i = 0; i < groupsJoined.size(); i++) {\n groupsJoined.get(i).getGroupMembers().remove(user);\n }\n groupsJoined.clear();\n List<GroupEntity> groupsOwned = user.getGroupsOwned();\n for (int i = 0; i < groupsOwned.size(); i++) {\n groupsOwned.get(i).setGroupOwner(null);\n }\n groupsOwned.clear();\n List<MaterialResourceAvailableEntity> mras = user.getMras();\n for (int i = 0; i < mras.size(); i++) {\n mras.get(i).setMaterialResourceAvailableOwner(null);\n em.remove(mras.get(i));\n }\n mras.clear();\n List<PostEntity> posts = user.getPosts();\n for (int i = 0; i < posts.size(); i++) {\n posts.get(i).setPostOwner(null);\n posts.get(i).setProject(null);\n em.remove(posts.get(i));\n }\n posts.clear();\n\n try {\n List<ReportEntity> reports = reportSessionBean.getProfileReports();\n List<Long> reportIds = new ArrayList<>();\n for (ReportEntity report : reports) {\n if (report.getReportedUser().getUserId() == userId) {\n reportIds.add(report.getReportId());\n }\n }\n for (int i = 0; i < reportIds.size(); i++) {\n reportSessionBean.deleteReport(reportIds.get(i));\n }\n } catch (NoResultException ex) {\n System.out.println(\"no Reports made against user\");\n }\n\n try {\n List<ReportEntity> reports = reportSessionBean.getAllReports();\n List<Long> reportIds = new ArrayList<>();\n for (ReportEntity report : reports) {\n if (report.getReportOwner().getUserId() == userId) {\n reportIds.add(report.getReportId());\n }\n }\n for (int i = 0; i < reportIds.size(); i++) {\n reportSessionBean.deleteReport(reportIds.get(i));\n }\n } catch (NoResultException ex) {\n System.out.println(\"User made no reports\");\n }\n\n List<ProjectEntity> projectAdmins = user.getProjectsManaged();\n for (int i = 0; i < projectAdmins.size(); i++) {\n projectAdmins.get(i).getProjectAdmins().remove(user);\n }\n projectAdmins.clear();\n List<ProjectEntity> projectsJoined = user.getProjectsJoined();\n for (int i = 0; i < projectsJoined.size(); i++) {\n projectsJoined.get(i).getProjectMembers().remove(user);\n }\n projectsJoined.clear();\n List<ProjectEntity> projectsOwned = user.getProjectsOwned();\n for (int i = 0; i < projectsOwned.size(); i++) {\n projectsOwned.get(i).setProjectOwner(null);\n }\n projectsOwned.clear();\n List<ReviewEntity> reviewsGiven = user.getReviewsGiven();\n for (int i = 0; i < reviewsGiven.size(); i++) {\n reviewsGiven.get(i).setFrom(null);\n }\n reviewsGiven.clear();\n List<ReviewEntity> reviewsReceived = user.getReviewsReceived();\n for (int i = 0; i < reviewsReceived.size(); i++) {\n reviewsReceived.get(i).setTo(null);\n reviewsReceived.get(i).getFrom().getReviewsGiven().remove(reviewsReceived.get(i));\n reviewsReceived.get(i).setFrom(null);\n em.remove(reviewsReceived.get(i));\n }\n reviewsReceived.clear();\n List<FulfillmentEntity> fulfillments = user.getFulfillments();\n for (int i = 0; i < fulfillments.size(); i++) {\n fulfillments.get(i).setFulfillmentOwner(null);\n fulfillments.get(i).setMra(null);\n }\n fulfillments.clear();\n user.getSdgs().clear();\n user.getSkills().clear();\n em.remove(user);\n\n }", "title": "" }, { "docid": "ce517bd95a725074ffe444aa2aaf470a", "score": "0.6398274", "text": "@Override\n\tpublic void deleteUser(int UserId) {\n\n\t}", "title": "" }, { "docid": "29ea9851765f16e52788d976aa54ede5", "score": "0.639355", "text": "@Override\r\n\tpublic void deleteUser(Integer id) {\n\r\n\t}", "title": "" }, { "docid": "6aa599e3137a0cb7dc6890d6aca81e70", "score": "0.6380457", "text": "@Transactional\n public List<FreeTime> deleteByUser(User u){\n \treturn freeTimeDao.removeByUser(u);\n }", "title": "" }, { "docid": "4e1f823fa1d086c7d695fd13df32b32b", "score": "0.6343731", "text": "@Override\n\tpublic int delUser(String userId) throws InterruptedException {\n\n\t\tString redisKey = PREFIX_USER_REDIS + userId;\n\n\t\t// 1. 删除缓存记录\n\t\tredisTemplate.delete(redisKey);\n\n\t\t// 2. 删除数据库记录\n\t\tint count = loginMapper.update(userId);\n\n\t\t// 3. 删除缓存\n\t\tThread.sleep(200);\n\t\tredisTemplate.delete(redisKey);\n\n\t\treturn count;\n\t}", "title": "" } ]
6f606c0683bd641923132b908042b163
/ Schrijf een methode testCompareTo waarin je de sorteervolgorde uittest
[ { "docid": "23bbbbd5c8a717d9fe39e8ee3703da7f", "score": "0.78644955", "text": "@Test\n\tpublic void testCompareTo() {\n\t\tint diff1 = b1.compareTo(b2);\n\t\tint diff2 = b2.compareTo(b1);\n\t\tassertTrue(\"'Onbekend' komt voor 'Van den Sande Joppe'\", diff1 < diff2);\n\t}", "title": "" } ]
[ { "docid": "6e2932f793ef6acc4380d02d3fe84081", "score": "0.76586336", "text": "@Test\n public void testCompareTo() {\n assertEquals(-1, cf1.compareTo(cf2));\n assertEquals(1, cf2.compareTo(cf3));\n assertEquals(0, cf4.compareTo(cf8));\n }", "title": "" }, { "docid": "5c6a24e513593c803cdbfeeb5ae8841f", "score": "0.7617169", "text": "public void testCompareTo() {\r\n assertEquals(0, f_Dayton.compareTo(f_Dayton));\r\n assertEquals(1, f_Dayton.compareTo(f_Columbus));\r\n }", "title": "" }, { "docid": "899b212da4dd6c16b2d350a8e3e2015d", "score": "0.74904376", "text": "@Test\n public void testCompareToLesser() {\n System.out.println(\"compareTo\");\n Card aThat = new Card(Rank.five, Color.blue);\n int expResult = -1;\n int result = instance.compareTo(aThat);\n assertEquals(expResult, result);\n\n Card bThat = new Card(Rank.two, Color.wild);\n result = instance.compareTo(bThat);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "f017bbaa2b54690cef81586d0ffc4695", "score": "0.7477767", "text": "@Test\n public void testCompareTo() {\n System.out.println(\"compareTo\");\n Book t = new Book();\n t.setTitle(\"hello\");\n Book instance = new Book();\n instance.setTitle(\"heLLo\");\n int expResult = 0;\n int result = instance.compareTo(t);\n assertEquals(expResult, result);\n \n }", "title": "" }, { "docid": "83b631d6b595597e9e9e5cbce3c50430", "score": "0.74341244", "text": "@Test\n public void testCompareTo() {\n System.out.println(\"compareTo\");\n PaisOrdemAlfabetica o = new PaisOrdemAlfabetica(\"portugal\", \"europa\", 10.31F, \"lisboa\", 38.7071631, -9.135517);\n PaisOrdemAlfabetica instance = new PaisOrdemAlfabetica(\"argentina\", \"americasul\", 41.67F, \"buenosaires\", -34.6131500, -58.3772300);\n int result = instance.compareTo(o);\n assertTrue( result <0 );\n }", "title": "" }, { "docid": "2bd8cbcf2f49b64aaed5b1d05c8f020a", "score": "0.7397968", "text": "@Test\n public void testCompareTo() {\n System.out.println(\"compareTo\");\n Jugador j2 = null;\n Jugador instance = new Jugador();\n int expResult = 0;\n int result = instance.compareTo(j2);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "d633692e15eb91c19b96692f27c1b5ec", "score": "0.73952895", "text": "@Test\n public void testCompareTo() {\n Species species = getSpecies();\n Species sp = new Species(\"Mus cus\", \"Mouse\", 5806L);\n int compare = species.compareTo(sp);\n Assertions.assertNotEquals(1, compare);\n\n }", "title": "" }, { "docid": "d68cd64b985a93b1b5099db9b5490324", "score": "0.73613185", "text": "@Test\r\n public void testCompareTo() {\r\n System.out.println(\"compareTo\");\r\n HighScore o = new HighScore(\"ABC\", 10);\r\n HighScore instance = new HighScore(\"DEF\", 5);\r\n int expResult = -1;\r\n int result = instance.compareTo(o);\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "966932d052376a376281ea93b49c65ca", "score": "0.7359444", "text": "@Test\n public void testCompareTo() {\n System.out.println(\"compareTo\");\n assertEquals(\"time == time | Time is hetzelfde\", 0, time.compareTo(time));\n assertEquals(\"time != time | Time is niet hetzelfde\", 1, time.compareTo(time.plus(5)));\n assertEquals(\"time == time | Time is hetzelfde\", 0, time.plus(5).compareTo(time.plus(5)));\n \n }", "title": "" }, { "docid": "aeda7d2d7c7f656b28b4ecbf9315a8be", "score": "0.72362435", "text": "public void testCompareTo() {\n System.out.println(\"compareTo\");\n Object o = null;\n OyenteBase instance = new OyenteBase();\n int expResult = 0;\n int result = instance.compareTo(o);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "bfefe43f1f846c6860630752a5276a26", "score": "0.7188008", "text": "@Test\r\n public void testCompareTo() {\r\n System.out.println(\"compareTo\");\r\n Empleado o = null;\r\n Empleado instance = new Empleado();\r\n int expResult = 0;\r\n int result = instance.compareTo(o);\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "f9054d22cc4ff28417f29640d92861e5", "score": "0.7186603", "text": "@Test\n public void testCompareTo() {\n System.out.println(\"compareTo\");\n Project o = new Project();\n Project instance = new Project();\n o.setDelayTime(20);\n instance.setDelayTime(20);\n o.setId(\"ID\");\n instance.setId(\"ID\");\n int expResult = 0;\n int result = instance.compareTo(o);\n assertEquals(\"Expected Result: 0 \", expResult, result);\n o.setDelayTime(10);\n expResult = 1;\n result = instance.compareTo(o);\n assertEquals(\"Expected Result: 1 \", expResult, result);\n o.setDelayTime(30);\n expResult = -1;\n result = instance.compareTo(o);\n assertEquals(\"Expected Result: -1 \", expResult, result);\n }", "title": "" }, { "docid": "5acc035fb9802fbcc11e5fc5ee639d6e", "score": "0.71596044", "text": "@Test\n public void testCompareToGreater() {\n System.out.println(\"compareTo\");\n Card aThat = new Card(Rank.one, Color.blue);\n int expResult = 1;\n int result = instance.compareTo(aThat);\n assertEquals(expResult, result);\n\n Card bThat = new Card(Rank.two, Color.red);\n result = instance.compareTo(bThat);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "05ba9ce5e16c965f25e878e36d1616e4", "score": "0.7143892", "text": "@Test\n public void testCompareTo() {\n System.out.println(\"compareTo\");\n Object t = null;\n Withdraw instance = new Withdraw();\n int expResult = 0;\n int result = instance.compareTo(t);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "d443d094bfb3368911723a05d262a874", "score": "0.7056325", "text": "@Test\n\tpublic void compareTo() {\n\t\tTestCondition tc1 = new TestCondition(1);\n\t\tTestCondition tc2 = new TestCondition(2);\n\t\tTestCondition tc3 = new TestCondition(5);\n\t\tTestCondition tc4 = new TestCondition(-1);\n\t\tTestCondition tc5 = new TestCondition(2);\n\t\t\n\t\tTestCase.assertTrue(tc1.compareTo(tc4) > 0);\n\t\tTestCase.assertTrue(tc4.compareTo(tc1) < 0);\n\t\tTestCase.assertEquals(0, tc2.compareTo(tc5));\n\t\tTestCase.assertEquals(0, tc5.compareTo(tc2));\n\t\tTestCase.assertTrue(tc1.compareTo(tc3) < 0);\n\t\tTestCase.assertTrue(tc3.compareTo(tc1) > 0);\n\t}", "title": "" }, { "docid": "1609c6833c081ddf89a3a623b17c8b70", "score": "0.70216024", "text": "@Test\r\n public void testCompareTo() {\r\n //same date\r\n System.out.println(\"compareTo\");\r\n ITime t = new Time(2017, 10, 3, 12, 30);\r\n testTime = new Time(2017, 10, 3, 12, 30);\r\n int expResult = 0;\r\n int result = testTime.compareTo(t);\r\n assertEquals(expResult, result);\r\n \r\n //earlier date\r\n t = new Time(2017, 10, 3, 12, 29);\r\n testTime = new Time(2017, 10, 3, 12, 30);\r\n expResult = -1;\r\n result = testTime.compareTo(t);\r\n assertEquals(expResult, result); \r\n \r\n //later date\r\n t = new Time(2017, 10, 3, 12, 31);\r\n testTime = new Time(2017, 10, 3, 12, 30);\r\n expResult = 1;\r\n result = testTime.compareTo(t);\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "ebf6954251409281c1c3a7115aaa4af7", "score": "0.69444495", "text": "@Test\r\n\tpublic void testComparator()\r\n\t{\r\n\t\tassertTrue(AllCards.CAC.compareTo(AllCards.C2C) < 0);\r\n\t}", "title": "" }, { "docid": "a07b654a9c0613351fdf7c5629866a78", "score": "0.69279695", "text": "@Test\n public void testCompareTo() {\n System.out.println(\"compareTO\");\n Rating instance1 = Rating.THREE_STAR;\n Rating instance2 = Rating.FOUR_STAR;\n int expResult = 1;\n int result = instance1.compareTo(instance2);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "d286c48b7ab482c577975ad89b583fbc", "score": "0.6900321", "text": "@Test\n public void testCompareToEqual() {\n System.out.println(\"compareTo\");\n Card aThat = new Card(Rank.two, Color.blue);\n int expResult = 0;\n int result = instance.compareTo(aThat);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "363e26f374dba253ebec0942477a8c72", "score": "0.6682726", "text": "public void testCompareTo()\n {\n assertEquals(1, kv.compareTo(less));\n assertEquals(-1, kv.compareTo(more));\n assertEquals(0, kv.compareTo(kv));\n \n Handle lkey = new Handle(4, 4);\n less.setKey(lkey);\n assertEquals(1, kv.compareTo(less));\n \n Handle mkey = new Handle(4, 4);\n more.setKey(mkey);\n assertEquals(-1, kv.compareTo(more));\n }", "title": "" }, { "docid": "22ed926c27f53b7cd2c07098edbf4ce8", "score": "0.6673483", "text": "@Test\r\n public void testCompareTo() {\r\n System.out.println(\"compareTo\");\r\n Association instance = null;\r\n int expResult = 0;\r\n int result = instance.compareTo(null);\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "851b571788b3ad9897f17eb3321bc9a9", "score": "0.6632212", "text": "@Test\n public void testComparator() {\n List<User> users = Arrays.asList(\n new User(\"Alain\", 35),\n new User(\"Roger\", 31),\n new User(\"Janine\", 55),\n new User(\"Rebecca\", 22)\n );\n\n Collections.sort(users, new Comparator<User>() {\n @Override\n public int compare(User user1, User user2) {\n return user1.age - user2.age;\n }\n });\n\n User[] expected = {\n new User(\"Rebecca\",22),\n new User(\"Roger\", 31),\n new User(\"Alain\", 35),\n new User(\"Janine\", 55)};\n\n assertArrayEquals(expected, users.toArray(new User[]{}));\n }", "title": "" }, { "docid": "2344727ad0383033419c94fe3e5a204a", "score": "0.6599502", "text": "@Test\n public void testCompareTo_3() throws Exception\n {\n final CodeNode other = TypeNode.builder(\"Type\", \"namespace.Type\").range(200, 1000).create();\n\n final int result = fixture.compareTo(other);\n\n // add additional test code here\n Assert.assertEquals(-1, result);\n }", "title": "" }, { "docid": "58dca4a5e8254db1e71a2f2c827c1177", "score": "0.6581424", "text": "@Override\n public int compare(HDTV e1, HDTV e2) {\n if(e1.size > e2.size){\n return 1;\n } else {\n return -1;\n }\n }", "title": "" }, { "docid": "89fe355deeaa0ca790f0ba13c29851f2", "score": "0.6554275", "text": "private int compare(T a, T b) {\n\t\tif(a instanceof Comparable && b instanceof Comparable)\n\t\t\treturn ((Comparable) a).compareTo((Comparable)b);\n\t\telse\n\t\t\treturn ((String) a).compareTo((String)b);\n\t}", "title": "" }, { "docid": "78860debacf559d48af955cc37549ce8", "score": "0.6550665", "text": "@Test\n public void testCompareTo() {\n JobID jobId = new JobID(\"1234\", 1);\n TaskID taskId1 = new TaskID(jobId, REDUCE, 0);\n TaskID taskId2 = new TaskID(jobId, REDUCE, 0);\n Assert.assertEquals((\"The compareTo() method returned non-zero for two equal \" + \"task IDs\"), 0, taskId1.compareTo(taskId2));\n taskId2 = new TaskID(jobId, MAP, 1);\n Assert.assertTrue((\"The compareTo() method did not weigh task type more than task \" + \"ID\"), ((taskId1.compareTo(taskId2)) > 0));\n TaskType[] types = TaskType.values();\n for (int i = 0; i < (types.length); i++) {\n for (int j = 0; j < (types.length); j++) {\n taskId1 = new TaskID(jobId, types[i], 0);\n taskId2 = new TaskID(jobId, types[j], 0);\n if (i == j) {\n Assert.assertEquals((\"The compareTo() method returned non-zero for two equal \" + \"task IDs\"), 0, taskId1.compareTo(taskId2));\n } else\n if (i < j) {\n Assert.assertTrue((((\"The compareTo() method did not order \" + (types[i])) + \" before \") + (types[j])), ((taskId1.compareTo(taskId2)) < 0));\n } else {\n Assert.assertTrue((((\"The compareTo() method did not order \" + (types[i])) + \" after \") + (types[j])), ((taskId1.compareTo(taskId2)) > 0));\n }\n\n }\n }\n try {\n taskId1.compareTo(jobId);\n Assert.fail(\"The compareTo() method allowed comparison to a JobID object\");\n } catch (ClassCastException ex) {\n // Expected\n }\n try {\n taskId1.compareTo(null);\n Assert.fail(\"The compareTo() method allowed comparison to a null object\");\n } catch (NullPointerException ex) {\n // Expected\n }\n }", "title": "" }, { "docid": "806bcb1ccb3dbc33eeb8d88d1086d6ab", "score": "0.6531214", "text": "@Test\n public void testCompareTo_2() throws Exception\n {\n final CodeNode other = TypeNode.builder(\"Type\", \"namespace.Type\").range(100, 1000).create();\n\n final int result = fixture.compareTo(other);\n\n // add additional test code here\n Assert.assertEquals(0, result);\n }", "title": "" }, { "docid": "20f747b225d7eb203f0b2f6d72b3b029", "score": "0.65239716", "text": "@Test\n public void testSorting() {\n List<Event> expected = new ArrayList<>(data);\n Collections.sort(expected);\n\n EventSorter sorter = new EventSorter();\n List<Event> actual = sorter.apply(data);\n\n assertEquals(expected, actual);\n }", "title": "" }, { "docid": "2305ab27fe8f2968e2ffa96262cb4186", "score": "0.65084314", "text": "public abstract long compareToOrdering();", "title": "" }, { "docid": "da2970bd4351639f17e2ab49db302a55", "score": "0.64999574", "text": "@Override\n public int compareTo(Object o) {\n DVDInfo dvdInfo=(DVDInfo) o; // ესე ვაკეთებთ მანამდე სანამ Generic -ებს არ გავივლით\n return title.compareTo(dvdInfo.title); // TITLE შეცვალეთ leadActor -ით ექსპერიმენტისთვის.\n }", "title": "" }, { "docid": "5f039034a86d9d3c83dd6d2479ed2fa1", "score": "0.649401", "text": "public int reverseCompareTo(Ideas_2011_03_27 that) {\n return - this.compareTo(that);\n }", "title": "" }, { "docid": "890ffa122f0e758008e15d0ea5084fc7", "score": "0.6479561", "text": "int compare(int a, int b) {\n if (a < b) {\n return -1;\n }\n if (a > b) {\n return 1;\n }\n return 0;\n }", "title": "" }, { "docid": "399fa23b67ad67c63ad0f04b216e26d3", "score": "0.6465936", "text": "int compare(T o1, T o2) throws Throwable;", "title": "" }, { "docid": "84351a8bd1766a632eda2748c3cffd9a", "score": "0.6456838", "text": "private int comparar(ParDeObjetos a, ParDeObjetos b){\n // Realiza la comparacion dependiendo del tipo de objeto para comparar\n if (a.getOrderField() instanceof String){\n String str1 = (String) a.getOrderField();\n String str2 = (String) b.getOrderField();\n return (str1.compareToIgnoreCase(str2)) * -1;\n }else if (a.getOrderField() instanceof java.sql.Date){\n java.sql.Date date1 = (java.sql.Date) a.getOrderField();\n java.sql.Date date2 = (java.sql.Date) b.getOrderField();\n return date1.compareTo(date2);\n }\n return 0;\n }", "title": "" }, { "docid": "4f76acb33d77f469e0c8f5b364706f46", "score": "0.6455937", "text": "@Test\n public void testComparatorWhereThisGreaterThanOther() {\n System.out.println(\"\\nStarting CoursePlan Test: testComparatorWhereThisGreaterThanOther\");\n\n CoursePlan cp1 = new CoursePlan(1, null, null, new TermType(3, \"Fall\"), 2018);\n CoursePlan cp2 = new CoursePlan(1, null, null, new TermType(3, \"Fall\"), 2017);\n CoursePlan cp3 = new CoursePlan(1, null, null, new TermType(2, \"Summer\"), 2018);\n\n assertNotNull(cp1);\n assertNotNull(cp2);\n assertNotNull(cp3);\n assertTrue(\"CoursePlan with year > other does not give a positive value\", cp1.compareTo(cp2) > 0);\n assertTrue(\"CoursePlan with TermType > other does not give a positive value\", cp1.compareTo(cp3) > 0);\n\n System.out.println(\"Finished CoursePlan Test: testComparatorWhereThisGreaterThanOther\");\n }", "title": "" }, { "docid": "ee3ee8fcb82660b5c66a5c8df38121d0", "score": "0.64375395", "text": "public int compare(Object a, Object b);", "title": "" }, { "docid": "a7adee8944705f72189404cc49ecf900", "score": "0.64363045", "text": "@Override\r\n\tpublic int compare(Mascota o1, Mascota o2) {\r\n\t\tint r = 0; \r\n\t\tif(o1.getPeso()>o2.getPeso()){\r\n\t\t\tr = -1; \r\n\t\t}else if(o1.getPeso()<o2.getPeso()){\r\n\t\t\tr = 1; \r\n\t\t}\r\n\t\treturn r;\r\n\t}", "title": "" }, { "docid": "817d29df4cb16c8f5ffef65bc6611abf", "score": "0.64260924", "text": "@Override\n\t\t\tpublic int compare(Integer arg0, Integer arg1) {\n\t\t\t\treturn arg0.compareTo(arg1);\n\t\t\t}", "title": "" }, { "docid": "ce2b3e32606b2d37daa9a3bce18911ba", "score": "0.64221174", "text": "@Override\n\tpublic int compareTo(TestAssertParameter o) {\n\t\treturn this.index.compareTo( o.getIndex() );\n\t}", "title": "" }, { "docid": "2bc49fdc729b53846e83d066b715530b", "score": "0.641841", "text": "public int compare(Sortable b) {\r\n\t\t\tEmployee eb = (Employee) b;\r\n\t\t\tif (salary<eb.salary) return -1;\r\n\t\t\tif (salary>eb.salary) return +1;\r\n\t\t\treturn 0;\r\n\t\t}", "title": "" }, { "docid": "84a6b72f74001231045efeed09d804c7", "score": "0.6415373", "text": "public boolean compare(Object a, Object b) {\r\n Renderable ra = (Renderable)a;\r\n Renderable rb = (Renderable)b;\r\n return (rb.zSortValue < ra.zSortValue);\r\n }", "title": "" }, { "docid": "ce86dd0dca36efd67ad5eda15fc1594b", "score": "0.64067364", "text": "public Boolean test02(){\n ArrayList<Card> cards = new ArrayList<>();\n ArrayList<Card> sortedCards = new ArrayList<>();\n\n cards.add(new Card(0, 4));\n cards.add(new Card(0, 8));\n cards.add(new Card(0, 3));\n cards.add(new Card(0, 5));\n cards.add(new Card(0, 2));\n\n sortedCards.add(new Card(0, 8));\n sortedCards.add(new Card(0, 5));\n sortedCards.add(new Card(0, 4));\n sortedCards.add(new Card(0, 3));\n sortedCards.add(new Card(0, 2));\n\n return testSortDesc(cards, sortedCards);\n }", "title": "" }, { "docid": "1b8938674aac7b80801b3758fdc935c9", "score": "0.64043474", "text": "@Override\n public int compare(Score a, Score b) {\n if (a.getScoreResult() > b.getScoreResult())\n return -1;\n else if (b.getScoreResult() > a.getScoreResult())\n return +1;\n else\n return 0;\n }", "title": "" }, { "docid": "ff28e19c682527e5ddba7669b1877d03", "score": "0.63995606", "text": "@Test\n public void testComparable() throws Exception {\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.deuceOfClubs) > 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.tenOfHearts) > 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.tenOfSpades) > 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.tenOfDiamonds) > 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.jackOfDiamonds) == 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.jackOfSpades) == 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.jackOfHearts) == 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.kingOfClubs) < 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.kingOfHearts) < 0);\n assert(CompleteDeck.jackOfClubs.compareTo(CompleteDeck.kingOfDiamonds) < 0);\n }", "title": "" }, { "docid": "ea202c4f84df5cbbef92c1911d340376", "score": "0.6398948", "text": "@Override\r\n\t\t public int compare(Backpack lhs, Backpack rhs) {\n\t\t return lhs.total_value > rhs.total_value ? -1 : (lhs.total_value < rhs.total_value) ? 1 : 0;\r\n\t\t }", "title": "" }, { "docid": "94ba94e5a60698469efc1f34474189cd", "score": "0.6392572", "text": "@Override\n public int compareTo(Object o) {\n Record r = (Record)o;\n // check if they have the same score\n if(getScore() == r.getScore())\n {\n int different = (int)(getDate() - r.getDate()); // if their score is the same, then check the date\n if(different == 0)\n return name.compareTo(r.getName());\n return different;\n }\n return (int)(getScore() - r.getScore());\n }", "title": "" }, { "docid": "f9d5845d6ee522f149f1aa16d4ca9fe4", "score": "0.6385053", "text": "@Override\r\npublic int compareTo(Object arg0) {\n\treturn 0;\r\n}", "title": "" }, { "docid": "eb4003ca63092b2fc80e105d5b7c35e2", "score": "0.6384948", "text": "@Override\r\n\tpublic int compareTo(puz arg0) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "8503421ca5b703aa82668eb0614601a6", "score": "0.6383315", "text": "@Test\n public void testDescendingBogosort3() {\n // Sort the array using bogosort\n Bogosort.sortDescending(this.list1);\n\n // Assert that the array is sorted in descending order\n Assert.assertTrue(Sort.isReverseSorted(this.list1));\n }", "title": "" }, { "docid": "b9d6ed1b468ae4d1012c05c2847209f0", "score": "0.6376779", "text": "public int compareTo(Object o)\n { \n \tSystem.out.println(\"inside comparator\");\n \n return 0;\n }", "title": "" }, { "docid": "48dc43ea58ec4dccdb5a2de613b7897c", "score": "0.63757277", "text": "@Override\r\n\tpublic int compare(Punto o1, Punto o2) {\n\t\t if (o1.getAltura() ==o2.getAltura())\r\n\t\t {\r\n\t\t\t return 0;\r\n\t\t\t \r\n\t\t }\r\n\t\t if (o1.getAltura() < o2.getAltura())\r\n\t\t {\r\n\t\t\t return -1;\r\n\t\t\t \r\n\t\t }\r\n\t\t if (o1.getAltura() > o2.getAltura())\r\n\t\t {\r\n\t\t\t return 1;\r\n\t\t\t \r\n\t\t }\r\n\t\t return 0;\r\n\t}", "title": "" }, { "docid": "d482359e33b3d7c75d1f69bb5ee902ca", "score": "0.6371795", "text": "@Override\n public int compare(T o1, T o2) {\n return 0;\n }", "title": "" }, { "docid": "aa36ad9ec23eeee04254e4e3d3fa9381", "score": "0.6366875", "text": "public int compare(Item a, Item b) {\n if (a.preferenceScore < b.preferenceScore) {\n return 1;\n } \n else if (a.preferenceScore > b.preferenceScore) {\n return -1;\n } \n return 0; \n }", "title": "" }, { "docid": "ea469b50e378f3f71ca08ea11a152523", "score": "0.63601655", "text": "@Override\n\t\t\tpublic int compare(Publit o1, Publit o2) {\n\t\t\t\t\n\t\t\t\tint result = 0;\n\t\t\t\t\n\t\t\t\tif ( o1.getTouched() != null ) { \n\t\t\t\t\t\n\t\t\t\t\tif ( o2.getTouched() != null ) {\n\t\t\t\t\t\t// reversed (oldest first)\n\t\t\t\t\t\tresult = o2.getTouched().compareTo( o1.getTouched() );\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tresult = -1;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tresult = 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn result;\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "31c79c7368d13cbbb8df41db5037e2ff", "score": "0.6357864", "text": "@Override\n\tpublic int compareTo(Object other) {\n\t\t\n\t\t\n\t\t\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "0f129e4598421cb30fcc84d7e4691305", "score": "0.6345269", "text": "@Test\n public void testComparatorWhereThisLessThanOther() {\n System.out.println(\"\\nStarting CoursePlan Test: testComparatorWhereThisLessThanOther\");\n\n CoursePlan cp1 = new CoursePlan(1, null, null, new TermType(1, \"Winter\"), 2018);\n CoursePlan cp2 = new CoursePlan(1, null, null, new TermType(1, \"Winter\"), 2019);\n CoursePlan cp3 = new CoursePlan(1, null, null, new TermType(2, \"Summer\"), 2018);\n\n assertNotNull(cp1);\n assertNotNull(cp2);\n assertNotNull(cp3);\n assertTrue(\"CoursePlan with year < other does not give a negative value\", cp1.compareTo(cp2) < 0);\n assertTrue(\"CoursePlan with TermType < other does not give a negative value\", cp1.compareTo(cp3) < 0);\n\n System.out.println(\"Finished CoursePlan Test: testComparatorWhereThisLessThanOther\");\n }", "title": "" }, { "docid": "4b144aa90fe4543b2613d32dc772bb7f", "score": "0.6340345", "text": "@Override\r\npublic int compareTo(Object o) {\n\treturn 0;\r\n}", "title": "" }, { "docid": "b876a9e8cf1a32ae4608ff09c71207db", "score": "0.63377655", "text": "public Boolean test03(){\n ArrayList<Card> cards = new ArrayList<>();\n ArrayList<Card> sortedCards = new ArrayList<>();\n\n cards.add(new Card(0, 4));\n cards.add(new Card(0, 8));\n cards.add(new Card(0, 0));\n cards.add(new Card(0, 5));\n cards.add(new Card(0, 2));\n\n sortedCards.add(new Card(0, 0));\n sortedCards.add(new Card(0, 8));\n sortedCards.add(new Card(0, 5));\n sortedCards.add(new Card(0, 4));\n sortedCards.add(new Card(0, 2));\n\n return testSortDesc(cards, sortedCards);\n }", "title": "" }, { "docid": "15a334f7fa7cd9bde4067ec50d82fe4e", "score": "0.6336441", "text": "@Override\r\n\t\t\tpublic int compare(Data<Integer, String> o1, Data<Integer, String> o2) {\n\t\t\t\tif(o1.getKey()== o2.getKey())\r\n\t\t\t\t\t\treturn 0;\r\n\t\t\t\telse if(o1.getKey()>=o2.getKey())\r\n\t\t\t\t\t\treturn 1;\r\n\t\t\t\telse\r\n\t\t\t\t\t\treturn -1;\r\n\t\t\t}", "title": "" }, { "docid": "1bcb7701ec0004c99819394ad391e9cc", "score": "0.63338953", "text": "@Test\n public void TriangleName_firstLowerThanSecond_true(){\n int compare = triangleNameComparator.compare(firstTriangle, secondTriangle);\n //then\n Assert.assertTrue(compare < 0);\n }", "title": "" }, { "docid": "60b8cab9816b0e46616c8ff29b712557", "score": "0.6326366", "text": "@Test\n public void compareTo() throws Exception {\n assertTrue(c1.compareTo(c1) == 0);\n assertTrue(c1.compareTo(c2) != 0);\n assertTrue(c1.compareTo(c3) != 0);\n assertTrue(c2.compareTo(c2) == 0);\n assertTrue(c2.compareTo(c3) != 0);\n assertTrue(c3.compareTo(c3) == 0);\n }", "title": "" }, { "docid": "ad40fc1397b6dd6f606d478fd421af47", "score": "0.632093", "text": "@Override\r\n\tpublic int compareTo(Object o) {\r\n\t\tMatch newMatch= (Match)o;\r\n\t\tif(selectedBlocks != null && newMatch.getSelectedBlocks() !=null)\r\n\t\t{\r\n\t\t\tif(selectedBlocks.size() > newMatch.getSelectedBlocks().size())\r\n\t\t\t{\r\n\t\t\t\treturn -1; //This default rule is changed to sort matches in descending order.\r\n\t\t\t}\r\n\t\t\telse if(selectedBlocks.size() < newMatch.getSelectedBlocks().size())\r\n\t\t\t{\r\n\t\t\t\treturn 1; //This default rule is changed to sort matches in descending order.\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "6c7d367011e5d6505f0ac5badfec3684", "score": "0.6313609", "text": "@Override\r\n\t\t\tpublic int compare(Map.Entry<String, Integer> o1, Map.Entry<String, Integer> o2) {\n\t\t\t\treturn (o1.getValue() > o2.getValue()) ? 1 : (o1.getValue() < o2.getValue()) ? -1 : 0;\r\n\t\t\t\t// (o1.getValue()).compareTo(o2.getValue());\r\n\r\n\t\t\t}", "title": "" }, { "docid": "0de3f64e1e13c969b40a348800f203e1", "score": "0.6303207", "text": "public int compareTo(Object other) {\n return -1;\n }", "title": "" }, { "docid": "e901acade370ad86c6ce3e09cf741c76", "score": "0.6283523", "text": "public boolean sortUp();", "title": "" }, { "docid": "87ca2e191168a04c801ccc508878db05", "score": "0.62798595", "text": "public int compareTo(Object other);", "title": "" }, { "docid": "1bbfff6506b7be28f6f5fbb56950789e", "score": "0.62778646", "text": "@Override\r\n public int compare(Assignment a1, Assignment a2) {\r\n //YOUR CODE GOES HERE, DONT FORGET TO EDIT THE RETURN STATEMENT\r\n\r\n //if deadline of a1 is more than deadline of a2\r\n //return 1 because a1 should appear later than a2 in list\r\n if (a1.weight > a2.weight) {\r\n return -1;\r\n }\r\n\r\n //if weight of a2 is more than weight of a1\r\n //return -1 because a2 should appear later than a1 in list\r\n else if (a2.weight > a1.weight) {\r\n return 1;\r\n }\r\n\r\n //if the weight is the same for both assignments\r\n //return 0 because they are considered equal in this case.\r\n else {\r\n return 0;\r\n }\r\n\r\n }", "title": "" }, { "docid": "263ef8e596a698b03ff54a4b5dac3b08", "score": "0.62739176", "text": "public int compare(Item a, Item b) {\n if (a.similarityScore < b.similarityScore) {\n return 1;\n } \n else if (a.similarityScore > b.similarityScore) {\n return -1;\n } \n return 0; \n }", "title": "" }, { "docid": "f35ffb46ee20855cd6e606001a1bc789", "score": "0.62721026", "text": "private static void testComparable(SortableRobot sr1, SortableRobot sr) {\n\r\n\t\tif(sr1.compareTo(sr)<0){\r\n\t\t\tSystem.out.println(sr + \" is bigger than \"+sr1);\r\n\t\t}\r\n\t\telse if(sr1.compareTo(sr)>0){\r\n\t\t\tSystem.out.println(sr1 + \" is bigger than \"+sr);\r\n\t\t}\r\n\t\telse\r\n\t\t\tSystem.out.println(sr1 + \" is equal to \"+sr);\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "44a0ea3c74470531cfef00b05f5eb55c", "score": "0.62693065", "text": "@Override\r\n\tpublic int compareTo(Card aCard) {\n\t\tif(this.getValue()>aCard.getValue())\r\n\t\t\treturn 1;\r\n\t\tif(this.getValue()<aCard.getValue())\r\n\t\t\treturn -1;\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "e1de08508bdefd5e8c13c19e77aaf1ab", "score": "0.6267053", "text": "@Override\n public int compare(OBEXFtpFolderListingItem lhs, OBEXFtpFolderListingItem rhs) {\n if(lhs.getSize() == 0 && rhs.getSize() > 0) return -1;\n else if(lhs.getSize() > 0 && rhs.getSize() == 0) return 1;\n\n // If the items are the same type then compare based on date.\n if (lhs.getTime().before(rhs.getTime())) {\n return 1;\n } else if (lhs.getTime().after(rhs.getTime())) {\n return -1;\n } else {\n return 0;\n }\n }", "title": "" }, { "docid": "c12c78ff6a3f10c7db8b411af520f124", "score": "0.6263671", "text": "public int compareTo(ComparableWrapper newCompWrap) {\r\n //stores the pageLength by retrieving the pagelenght out of the books out of the ComparableWrappers\r\n int pageNum1=newCompWrap.getBook().getPageLength();\r\n int pageNum2=getBook().getPageLength();\r\n \r\n //compares the two integers to see which is greater or less\r\n if(pageNum1>pageNum2) {\r\n return 1;\r\n } \r\n else if (pageNum1<pageNum2) {\r\n return -1;\r\n } else {\r\n return 0;\r\n }\r\n }", "title": "" }, { "docid": "37f3dbd01227016c7688fac697295ba1", "score": "0.6251464", "text": "@Test\n public void testCompareTo_1() throws Exception\n {\n final CodeNode other = TypeNode.builder(\"Type\", \"namespace.Type\").range(1, 100).create();\n\n final int result = fixture.compareTo(other);\n\n // add additional test code here\n Assert.assertEquals(1, result);\n }", "title": "" }, { "docid": "7b729b8b49b656a0351eb4752e448919", "score": "0.6245408", "text": "@Override\n\tpublic int compareTo(Selection_sort arg0) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "a315eb13e117d6809433968e30eedbc4", "score": "0.62446105", "text": "@Override\r\n\t\tpublic int compare(E o1, E o2) {\n\t\t\treturn o1.compareTo(o2);\r\n\t\t}", "title": "" }, { "docid": "d6e2b2dd9b2d79aa0a579bd92dabe48b", "score": "0.6243508", "text": "@Override\r\n\tpublic int compareTo(Object arg0) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "890c057b5afbc47d53901a74238d658f", "score": "0.6242247", "text": "@Override\n\tpublic int compareTo(Object arg0) {\n\t\tlong score1 = this.Score;\n long score2 = ((Genome)arg0).getScore();\n\n if( score1 > score2 ) {\n return -1;\n } else if (score1 < score2) {\n return 1;\n } else {\n return 0;\n }\n\t}", "title": "" }, { "docid": "68407b4ff09c011f18897fab84d4c870", "score": "0.62408745", "text": "@Override\n\tpublic int compare(Valuable v1, Valuable v2) {\n\t\tif(v1.getCurrency().compareToIgnoreCase(v2.getCurrency()) == 0){//check from .compareTo() method\n\t\t\tif (v1.getValue() < v2.getValue()) return -1;\n\t\t\telse if (v1.getValue() > v2.getValue()) return 1;\n\t\t\treturn 0;\n\t\t}\n\t\treturn v1.getCurrency().compareToIgnoreCase(v2.getCurrency());\n\t}", "title": "" }, { "docid": "a4f7b2d6bcea34ed7f22e62549bac94e", "score": "0.6239586", "text": "@Override\n\tpublic int compareTo(Score another) {\n\t return another.score > score? 1 : another.score < score? -1 : 0;\n\t}", "title": "" }, { "docid": "5d5ae10f136d056e674ad16e608287a9", "score": "0.62320644", "text": "@Override\n public int compareTo(Object o) {\n return 0;\n }", "title": "" }, { "docid": "d509ae784aa32b5f90aca0439136e206", "score": "0.6224565", "text": "@Override\n\t\t\tpublic int compare(Entry<String, Integer> o1, Entry<String, Integer> o2) {\n\t\t\t\treturn o1.getValue().compareTo(o2.getValue());\n\t\t\t}", "title": "" }, { "docid": "e0e08291161d50a313d719bd5a929393", "score": "0.62213326", "text": "@Override\n\tpublic int compare(TransactionJoined o1, TransactionJoined o2) {\n\t\tint res=0;\n\t \n\t\tres = o2.getBtc().compareTo(o1.getBtc());\n\t\t\n\t return res;\n\t\n\t}", "title": "" }, { "docid": "723245dc1f31fa8b3e1682660ad015a5", "score": "0.6220734", "text": "public void sortPersonsWithComparable()\n {\n ArrayList<PersonComparable> listOfPersons = new ArrayList<>();\n listOfPersons.add(new PersonComparable(175, \"Casper\"));\n listOfPersons.add(new PersonComparable(194, \"Rafael\"));\n listOfPersons.add(new PersonComparable(170, \"Barbara\"));\n listOfPersons.add(new PersonComparable(161, \"Bart\"));\n listOfPersons.add(new PersonComparable(168, \"Geertrui\"));\n\n System.out.println(\"\\nVoor comparable sort:\");\n printPersonsComparable(listOfPersons);\n Collections.sort(listOfPersons);\n System.out.println(\"Na comparable sort:\");\n printPersonsComparable(listOfPersons);\n }", "title": "" }, { "docid": "70424f9622a467a3fafade16b3f5cf67", "score": "0.6220482", "text": "@Override\n\t public int compare(Integer o1, Integer o2) {\n\t return o2.compareTo(o1);\n\t }", "title": "" }, { "docid": "f68e0fd2a443b68b71078e1b53f8e6b5", "score": "0.6217808", "text": "@Override\n\tpublic int compare(Object o1, Object o2) {\n\t\tInteger i=(Integer) o1;\n\t\tInteger y=(Integer)o2;\n\t\t/*if(i<y) {\n\t\treturn +1;\t\n\t\t}\n\t\telse if(i>y) {\n\t\t\treturn -1;\n\t\t}\n\t\telse\n\t\treturn 0;*/\n\t\t\n\t\t//return -i.compareTo(y);\n\t\treturn y.compareTo(i);\n\t\t//return +1; // Insertion order\n\t\t\n\t}", "title": "" }, { "docid": "50945613851b3aa860c74a26eca94b82", "score": "0.621324", "text": "@Override\n\t\t\tpublic int compare(ValueItem_hext o1, ValueItem_hext o2) {\n\t\t\t\tlong t1 = o1.getTimestamp();\n\t\t\t\tlong t2 = o2.getTimestamp();\n\t\t\t\tif(t2 > t1)\n\t\t\t\t\treturn 1;\n\t\t\t\telse if(t2 == t1)\n\t\t\t\t\treturn 0;\n\t\t\t\telse \n\t\t\t\t\treturn -1;\n\t\t\t}", "title": "" }, { "docid": "04b46731d41a0731546983966771e004", "score": "0.62127936", "text": "@Override\n public int compareTo(UserScore o) {\n if (this.score > o.getScore()) {\n return 1;\n }\n else if (this.score < o.getScore()) {\n return -1;\n }\n else\n return 0;\n }", "title": "" }, { "docid": "a0e21d5322dffb16755cf42f226f2ff3", "score": "0.62109536", "text": "public Boolean test04(){\n ArrayList<Card> cards = new ArrayList<>();\n ArrayList<Card> sortedCards = new ArrayList<>();\n\n cards.add(new Card(0, 4));\n cards.add(new Card(3, 4));\n cards.add(new Card(1, 4));\n cards.add(new Card(2, 4));\n\n sortedCards.add(new Card(0, 4));\n sortedCards.add(new Card(1, 4));\n sortedCards.add(new Card(2, 4));\n sortedCards.add(new Card(3, 4));\n\n return testSortDesc(cards, sortedCards);\n }", "title": "" }, { "docid": "b715a334b37c855219cf645988a13c16", "score": "0.6209682", "text": "@Override\n\tpublic int compareTo(Highscore o)\n\t{\n\t\tif (this.score > o.getScore())\n\t\t\treturn 666;\n\t\telse if (this.score < o.getScore())\n\t\t\treturn -666;\n\t\t// Hits this if above isn't true\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "62266b4484e25284ea18c64b4749d0a0", "score": "0.6207898", "text": "@Override\n\tpublic void sort() {\n\t\t\n\t}", "title": "" }, { "docid": "13c39c3091ff806b9021e8504c91262a", "score": "0.6206438", "text": "@Test\n public void testDescendingBogosort2() {\n // Sort the array using bogosort\n Bogosort.sortDescending(this.integerArray1);\n\n // Assert that the array is sorted in descending order\n Assert.assertTrue(Sort.isReverseSorted(this.integerArray1));\n }", "title": "" }, { "docid": "8aa3e40b00a609f3e1ef841f195789e7", "score": "0.620112", "text": "@Override\r\n\t\t\tpublic int compare(String arg0, String arg1) {\n\t\t\t\tint a = arg0.length() - arg1.length();\r\n\t\t\t\t\r\n\t\t\t\tif(a == 0) {\r\n\t\t\t\t\treturn -arg0.compareTo(arg1);\r\n\t\t\t\t}\r\n\t\t\t\treturn a;\r\n\t\t\t}", "title": "" }, { "docid": "b7dcca181a8a431501889c093c1ad521", "score": "0.62001383", "text": "@Override\n\t\t\tpublic int compare(Navigation_step o1, Navigation_step o2) {\n\t\t\t\treturn o1.getmanHattan()>o2.getmanHattan() ? 1\n\t\t\t\t\t\t:o1.getmanHattan()<o2.getmanHattan() ? -1\n\t\t\t\t\t\t:0;\n\t\t\t}", "title": "" }, { "docid": "705a86bee5f0e3a7a91d6530f616f3fd", "score": "0.6200106", "text": "@Override\n\tpublic int compare(String o1, String o2) {\n\t\treturn -o1.compareTo(o2);\n\t}", "title": "" }, { "docid": "963274cbb899460bfb26f57e898147f3", "score": "0.6196986", "text": "@Override\n\t\t\tpublic int compare(Element o1, Element o2) {\n\t\t\t\tif (o1.count > o2.count) {\n\t\t\t\t\treturn 1;\n\t\t\t\t} else if (o1.count == o2.count) {\n\t\t\t\t\tif (o1.value < o2.value) {\n\t\t\t\t\t\treturn 1;\n\t\t\t\t\t} else\n\t\t\t\t\t\treturn -1;\n\t\t\t\t} else {\n\t\t\t\t\treturn -1;\n\t\t\t\t}\n\n\t\t\t}", "title": "" }, { "docid": "a27ec558caf16f0f2362310dcc51d59d", "score": "0.61936206", "text": "@Override\n\t\tpublic int compareTo(ToDoItem arg) {\n\t\t\tif(this.primary > arg.primary)\n\t\t\t\treturn +1;\n\t\t\telse if(this.primary == arg.primary)\n\t\t\t\tif(this.secondary > arg.secondary)\n\t\t\t\t\treturn +1;\n\t\t\t\telse if(this.secondary == arg.secondary)\n\t\t\t\t\treturn 0;\n\t\t\t\telse\n\t\t\t\t\treturn -1;\n\t\t\telse\n \t\t\treturn -1;\n\t\t}", "title": "" }, { "docid": "73e371514e65529ea594b8607affc3cc", "score": "0.6192907", "text": "@Override\n\tpublic int compare(Items o1, Items o2) {\n\t\tif(o1.getSalePrice()> o2.getSalePrice()) {\n\t\t\n\t\t\treturn 1; \n\t\t} else {\n\t\t\treturn -1;\n\t\t}\n\t\t//return 0;\n\t}", "title": "" }, { "docid": "0096ed38ec858a684e3184ab13a7dda7", "score": "0.6189868", "text": "@Override\r\npublic int compareTo(Object ms) {\n\tInteger wid=((MaintainanceStaff)ms).int_MaintainanceStaffID;\r\n\t/* For Ascending order*/\r\n // return this.int_FacilityBookId;\r\n\r\n /* For Descending order do like this */\r\n\treturn wid-this.int_MaintainanceStaffID;\r\n}", "title": "" }, { "docid": "86d5f6ae867a3eac374063b2dff4667b", "score": "0.61885774", "text": "@Override\n default int compare(T load1, T load2)\n {\n return load1.compareTo(load2);\n }", "title": "" }, { "docid": "58c112bad8a4864ff3577e72820cb5bb", "score": "0.618668", "text": "public int compareTo(Object e){\n\tPlace userZip = (Place)e;\n\tint r = getZip().compareTo(userZip.getZip());\n\treturn r;\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "28792500f3243f34521a93afc74c2792", "score": "0.0", "text": "@Override\n public long getItemId(int position) {\n return position;\n }", "title": "" } ]
[ { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.7037216", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.68683225", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\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": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481321", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "4d9e164e4e911df1380f4618e0fe7a08", "score": "0.6446192", "text": "OI (){\n\t\t\n\t}", "title": "" }, { "docid": "b7026792f4497bfcada6c43399e85e01", "score": "0.6412251", "text": "@Override\r\n\tpublic void kellton() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.63880783", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3082ef05aec8dc343ca108ab345f43a", "score": "0.6346641", "text": "@Override\r\n\tpublic void morir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "063ae6a38469d06ddf88fd9af6522171", "score": "0.6303464", "text": "@Override\r\n\tpublic void guru() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d4e15b200c2022658af267c700b34269", "score": "0.6269351", "text": "@Override\n\tpublic void anlegen() {\n\t\t\n\t}", "title": "" }, { "docid": "582acaef2e3110454651d58f22c1b299", "score": "0.62566763", "text": "public void mo14492g() {\n }", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.6251392", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "bd9b859f3a9c1a1565a6602ccdbe7e59", "score": "0.6166928", "text": "@Override\n\tpublic void fiyatt() {\n\n\t}", "title": "" }, { "docid": "a2392cc71aaf87bc730f13f37ecdb439", "score": "0.6154919", "text": "private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}", "title": "" }, { "docid": "fa32f830910aeae71dc86bf338a8b0fc", "score": "0.61459744", "text": "@Override\n\tpublic void genrator() {\n\n\t}", "title": "" }, { "docid": "7ba2946d983bb1e7f8bf10a547e6dc3f", "score": "0.6142578", "text": "public void mo14489d() {\n }", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.6141126", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "fcaf77b6f021a702cb2ac62e6c374cbd", "score": "0.6100913", "text": "@Override\r\n\tpublic void afficher() {\n\r\n\t}", "title": "" }, { "docid": "12c148d05fe753983614cee07240d8f6", "score": "0.6074055", "text": "@Override\n\t\t\t\tpublic void ll() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "ad4d9339a0e3b347b6df9466d063badd", "score": "0.60696864", "text": "public void piocher(){\n\t\t\n\t}", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.6062165", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.6059389", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "817efc043b4e1d7ba918f254f9fa5ae6", "score": "0.6055012", "text": "@Override\n public void taunt() {\n\n }", "title": "" }, { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.60443264", "text": "protected void method_3848() {}", "title": "" }, { "docid": "df970d9257b3282612e3b7ad881bca60", "score": "0.6016086", "text": "protected void bhjp5027AcedeMhjj027a() {\n }", "title": "" }, { "docid": "6e6512370dbb6f9cb6dcc13bd5aa3b2d", "score": "0.60138226", "text": "@Override\n\tvoid absone() {\n\t\t\n\t}", "title": "" }, { "docid": "5fa8025455ce490980ad8cccfd13eea3", "score": "0.5963883", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "be358957d7b1e72f6001c386d8960179", "score": "0.5960806", "text": "@Override\n public void menace() {\n }", "title": "" }, { "docid": "be358957d7b1e72f6001c386d8960179", "score": "0.5960806", "text": "@Override\n public void menace() {\n }", "title": "" }, { "docid": "90e62de5f767b081d1ecd30f250f7e27", "score": "0.5956729", "text": "@Override\n\t\tpublic void ll() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "408c943a1e709ecc31c924c09b2315eb", "score": "0.5924403", "text": "protected void bhyp0200RotinaDatas() {\n }", "title": "" }, { "docid": "1a4f9aa6f736074c80c425a66e966e33", "score": "0.591473", "text": "@Override\n\tpublic void acariciar() {\n\n\t}", "title": "" }, { "docid": "a82715cbd2b63f8780c6a8d4d9ca9642", "score": "0.5904261", "text": "@Override\r\n\tpublic void getBalalnce() {\n\t\t\r\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5886539", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5886539", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "40be4915804d3229e08fed067ec03fd6", "score": "0.58759344", "text": "Bug_616419() {\r\n\t}", "title": "" }, { "docid": "2b60191c95bfebe3c1552e6c0a013032", "score": "0.58680886", "text": "@Override\r\npublic void generate() {\n\t\r\n}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.5850078", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "cf22f889d7fbcd272d230fe8e0354d0c", "score": "0.5832774", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "5c40bd2e5c1d492aac9d5983bf52d2e3", "score": "0.5811345", "text": "@Override\n\tpublic void vericar() {\n\t\t\n\t}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.5810397", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "655a271d981b875feb8fbc679e1a4f87", "score": "0.5804755", "text": "public void mo9609a() {\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": "b6296d9cb06e3094b2a07ffb1a50fe1e", "score": "0.5790954", "text": "@Override\n\tpublic void acariciar() {\n\t}", "title": "" }, { "docid": "8bb51b817eb666c4867465105352c93f", "score": "0.5789445", "text": "@Override\r\n\tvoid oracle() {\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": "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": "eaf44b0db9fccdd4e25d11d08215adc0", "score": "0.57868445", "text": "@Override\n\tpublic void zufallsKanteEinfuegen()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "cdfd4f491038656c3a88e9465c6ba0e6", "score": "0.57737845", "text": "@Override\n\tpublic void reculer() {\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": "91bd67fab28a493021bd6f1f7b3e5e0a", "score": "0.57590026", "text": "@Override\n public void dirve() {\n\n }", "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": "24b32615866ab9d1bd9b2e291b95a1c6", "score": "0.5758869", "text": "public void getPheromone() \n {\n\t \n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\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": "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": "1f4988c898d552b0a5965dcb636a68ca", "score": "0.57391614", "text": "@Override\r\n\tpublic void correr() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a59d3a080703df0c29632666d64e3e65", "score": "0.57377326", "text": "@Override\n\tprotected void initialize()\n {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94635a88abd93d3624c032aa22ccc337", "score": "0.5731695", "text": "@Override\n\t\t\tpublic void refresh() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "18ea513e33a6ccd2005fa08437bc8da3", "score": "0.573015", "text": "@Override\n public int describeContents() {\n return 0;\n }", "title": "" }, { "docid": "8887ffca90e3cb4fff0262bd3dd5bd82", "score": "0.57280916", "text": "@Override\r\n\tpublic void Y() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8648511042e2a7fd608e085a1fcb7ccf", "score": "0.5726677", "text": "@Override\r\n\tpublic void operation() {\n\r\n\t}", "title": "" }, { "docid": "1c4063058b784c69f3e491b8fe1c5d87", "score": "0.5722229", "text": "@Override\r\n\tpublic void vivir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "47b0ce2a4738b951bd3c2a4491ec7cd6", "score": "0.57205975", "text": "@Override\n \tpublic String toString() {\n \t\treturn null;\n \t}", "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": "12104bcdcc776dd1fc9415fbc08ab9a4", "score": "0.5712942", "text": "private ExtentTS() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "258fef0e9420b0df779163d8d9cb25a9", "score": "0.5707184", "text": "private void hf() {\n\n\t}", "title": "" }, { "docid": "f720716362bda7cd9a07a11b5f77ac9c", "score": "0.5702897", "text": "public void ObjeyiOlustur() {\n \r\n }", "title": "" }, { "docid": "5e4bdac9e86e82025f9be7b708955d73", "score": "0.56991893", "text": "@Override\n\tprotected void startOfIteration() {\n\n\t}", "title": "" }, { "docid": "a7998f80ff10142923d6914a455d5129", "score": "0.5687978", "text": "public void colisionBala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a4f5275a394442b77ca743e85e2d2f20", "score": "0.568737", "text": "public void mo3892a() {\n }", "title": "" }, { "docid": "1614b26591fe3a156f284f7d7d0238ab", "score": "0.56871134", "text": "public void mo3894c() {\n }", "title": "" }, { "docid": "92b8246d78d46bf0f60b46e17e797540", "score": "0.56825924", "text": "@Override\n\tpublic void init () {\n\t}", "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": "b28a6bba203633cc1b71e802b691f592", "score": "0.567235", "text": "@Override\n\tpublic void shuthdown() {\n\n\t}", "title": "" }, { "docid": "cffc9e76f5aeaa8126396b11e98f261b", "score": "0.5667161", "text": "@Override\n public int describeContents() {\n return 0;\n }", "title": "" }, { "docid": "febadec59d2787ed37a521b11b0fe57d", "score": "0.56570727", "text": "public void getdata() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
73d1b71e4b23e81756fecbd19744ef7e
Patches this WindowsAutopilotDeploymentProfileAssignment with a source
[ { "docid": "5fd34c370eac5ddced1f9d30bf1c4f22", "score": "0.7378677", "text": "@Nullable\n public WindowsAutopilotDeploymentProfileAssignment patch(@Nonnull final WindowsAutopilotDeploymentProfileAssignment sourceWindowsAutopilotDeploymentProfileAssignment) throws ClientException {\n return send(HttpMethod.PATCH, sourceWindowsAutopilotDeploymentProfileAssignment);\n }", "title": "" } ]
[ { "docid": "0bdfba33606dda740ba5bd4069aca172", "score": "0.6774833", "text": "@Nonnull\n public java.util.concurrent.CompletableFuture<WindowsAutopilotDeploymentProfileAssignment> patchAsync(@Nonnull final WindowsAutopilotDeploymentProfileAssignment sourceWindowsAutopilotDeploymentProfileAssignment) {\n return sendAsync(HttpMethod.PATCH, sourceWindowsAutopilotDeploymentProfileAssignment);\n }", "title": "" }, { "docid": "e205c4acb74e7fced8b46ed0df5932f0", "score": "0.5418063", "text": "@Nullable\n public WindowsAutopilotDeploymentProfileAssignment put(@Nonnull final WindowsAutopilotDeploymentProfileAssignment newWindowsAutopilotDeploymentProfileAssignment) throws ClientException {\n return send(HttpMethod.PUT, newWindowsAutopilotDeploymentProfileAssignment);\n }", "title": "" }, { "docid": "c8a7ccca65bb57c2f5afa8bb9c9d88fe", "score": "0.5201533", "text": "@Nullable\n public WindowsAutopilotDeploymentProfileAssignment post(@Nonnull final WindowsAutopilotDeploymentProfileAssignment newWindowsAutopilotDeploymentProfileAssignment) throws ClientException {\n return send(HttpMethod.POST, newWindowsAutopilotDeploymentProfileAssignment);\n }", "title": "" }, { "docid": "aeac47e1ef0bd39b5a6a6c42fda983aa", "score": "0.51134783", "text": "void updateStagingArea(File sourceLocation, ArtifactIdentity identity) throws DeploymentException;", "title": "" }, { "docid": "aca4f1b4a3fc36c32abc94b51c515d3a", "score": "0.50101244", "text": "@Nonnull\n public java.util.concurrent.CompletableFuture<WindowsAutopilotDeploymentProfileAssignment> putAsync(@Nonnull final WindowsAutopilotDeploymentProfileAssignment newWindowsAutopilotDeploymentProfileAssignment) {\n return sendAsync(HttpMethod.PUT, newWindowsAutopilotDeploymentProfileAssignment);\n }", "title": "" }, { "docid": "c3b7cb3dda5f8c99f2cf3a0b6febee2a", "score": "0.49160826", "text": "SecurityBaselineTemplate patch(final SecurityBaselineTemplate sourceSecurityBaselineTemplate) throws ClientException;", "title": "" }, { "docid": "3229e04266eef245846e1967b4befacc", "score": "0.48896384", "text": "public static void patchUUID(GameProfile gameprofile) \n {\n UUID init = EntityPlayer.getUUID(gameprofile);\n UUID actual = getServerPlayerUUID(gameprofile);\n \n if(!actual.toString().equals(init.toString()))\n {\n \tSystem.out.println(\"Patching Player UUID uuidPlayer:\" + gameprofile.getId() + \" with uuidServer:\" + actual);\n \t\tReflectionUtil.setFinalObject(gameprofile, actual, GameProfile.class, \"id\");\n \t\tVanillaBugFixes.playerFlags.add(gameprofile.getName());\n }\n\t}", "title": "" }, { "docid": "589ce705455c011e40425f7d1f06c294", "score": "0.48259598", "text": "Configuration addActiveProfile( String profile );", "title": "" }, { "docid": "e155e0525f966de3c298c381a543cb62", "score": "0.4793609", "text": "void patch(final ProvisioningObjectSummary sourceProvisioningObjectSummary, final ICallback<? super ProvisioningObjectSummary> callback);", "title": "" }, { "docid": "2aaed39bdedff895b3956fc04d626808", "score": "0.47755486", "text": "@Nullable\n public ManagementTemplateStepDeployment patch(@Nonnull final ManagementTemplateStepDeployment sourceManagementTemplateStepDeployment) throws ClientException {\n return send(HttpMethod.PATCH, sourceManagementTemplateStepDeployment);\n }", "title": "" }, { "docid": "023da5e74268d9a420695a4924bf6e2d", "score": "0.47736692", "text": "public synchronized void setApplicationProfile(final String newValue) {\n checkWritePermission();\n applicationProfile = newValue;\n }", "title": "" }, { "docid": "4656a968f344c2ef24814e03bdec5e8c", "score": "0.477344", "text": "ProvisioningObjectSummary patch(final ProvisioningObjectSummary sourceProvisioningObjectSummary) throws ClientException;", "title": "" }, { "docid": "0a79b66bc0aa51f28fe92ad4b36d2830", "score": "0.47633803", "text": "Configuration addInactiveProfile( String profile );", "title": "" }, { "docid": "89dc2b1efff9eb89b46020a11711deae", "score": "0.47481456", "text": "@Override\n public void setNewBasalProfile(NSProfile profile) {\n }", "title": "" }, { "docid": "7e9829a5b70ea2a872f5fd80ccdf6691", "score": "0.47378188", "text": "public WindowsAutopilotDeploymentProfileAssignmentRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n super(requestUrl, client, requestOptions, WindowsAutopilotDeploymentProfileAssignment.class);\n }", "title": "" }, { "docid": "88d23fd1fe48df104d498fe06b276ee3", "score": "0.47325155", "text": "void updateTempProduction(String nickname, Production tempProduction);", "title": "" }, { "docid": "16daa786df2d022a3fc19cc35cb931f0", "score": "0.47101232", "text": "@Nonnull\n public WindowsAutopilotDeploymentProfileAssignmentRequest expand(@Nonnull final String value) {\n addExpandOption(value);\n return this;\n }", "title": "" }, { "docid": "bb2e78631cee40137f9fa5d62e274dfb", "score": "0.46895462", "text": "@Nonnull\n public java.util.concurrent.CompletableFuture<ManagementTemplateStepDeployment> patchAsync(@Nonnull final ManagementTemplateStepDeployment sourceManagementTemplateStepDeployment) {\n return sendAsync(HttpMethod.PATCH, sourceManagementTemplateStepDeployment);\n }", "title": "" }, { "docid": "a2141481cf8a0b4d3d45778f0c1d2b5d", "score": "0.4689175", "text": "void patch(final SecurityBaselineTemplate sourceSecurityBaselineTemplate, final ICallback<? super SecurityBaselineTemplate> callback);", "title": "" }, { "docid": "09f44fae6f4cc03090e0b9e0a1345377", "score": "0.46623197", "text": "void onConflictPatchingData(ProfileManager.ConflictResolver resolver);", "title": "" }, { "docid": "eba12bcf2746ff75ccdb60049a4fffea", "score": "0.4584385", "text": "public void vmModifyHardwareProfile() {\n\t\tHardwareProfile toSet = this.getProfile();\n\t\t\n\t\tServices.execute(configuration.getVirtualBoxHome() + \"VBoxManage\"\n\t\t\t\t+ Constants.SPACE + \"modifyvm\"\n\t\t\t\t+ Constants.SPACE + this.getName()\n\t\t\t\t+ Constants.SPACE + \"--cpus\"\n\t\t\t\t+ Constants.SPACE + toSet.getCores()\n\t\t\t\t+ Constants.SPACE + \"--memory\"\n\t\t\t\t+ Constants.SPACE + (toSet.getRAM() * 1024)\n\t\t\t\t);\n\n\t}", "title": "" }, { "docid": "b89dd23bc7da4c4d723856153b024f33", "score": "0.4552964", "text": "@PreAuthorize(\"hasRole('deployer') or hasRole('supervisor')\")\n\t@RequestMapping(value = \"/global/addOrUpdate/profile\", method = RequestMethod.POST, produces = \"application/json\")\n\tpublic List<ResourceUploadStatus> addOrUpdateProfile(@ModelAttribute(\"requestObj\") AddOrUpdateRequest request,\n\t\t\tAuthentication u) throws IOException {\n\t\tvalidateRequest(request);\n\n\t\tList<ResourceUploadStatus> res = resourceLoader.addOrReplaceIntegrationProfile(request.getZip() + \"/\",\n\t\t\t\trequest.getDomain(), TestScope.valueOf(request.getScope()), u.getName(), false);\n\n\t\tFileUtils.deleteDirectory(new File(request.getZip()));\n\t\treturn res;\n\t}", "title": "" }, { "docid": "99011993f7cbcf5682edfc0467f771a2", "score": "0.4535909", "text": "@Override\r\n\tpublic void performApply(ILaunchConfigurationWorkingCopy arg0) {\n\r\n\t}", "title": "" }, { "docid": "e83e3b5b0b7b13cd6b894a1364aad6a6", "score": "0.4534881", "text": "@Nonnull\n public WindowsAutopilotDeploymentProfileAssignmentRequest select(@Nonnull final String value) {\n addSelectOption(value);\n return this;\n }", "title": "" }, { "docid": "eaa41375880087db22e8e9e98063c9e3", "score": "0.45318046", "text": "@Test\n public void testUpdateProfile() {\n System.out.println(\"updateProfile\");\n ProfileDO p = null;\n ProfileDO expResult = null;\n ProfileDO result = instance.updateProfile(p);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "957411d76d6665588420b68c3c7e5e42", "score": "0.4525147", "text": "@Test\n public void testPatchSkipLanguagePopup() throws Exception {\n postDummyProfile();\n JsonObject updatedProfile = createProfileJsonObject(sex, birthDate, preferredLanguage, firstName, lastName,\n true);\n\n Response response = RouteTestUtil.buildAuthorizedPatchRequest(token, url, updatedProfile.toString()).execute();\n HttpResponse res = response.returnResponse();\n Assert.assertEquals(HttpStatus.SC_OK, res.getStatusLine().getStatusCode());\n\n String bodyToString = EntityUtils.toString(res.getEntity());\n Profile queriedProfile = gson.fromJson(bodyToString, Profile.class);\n Assert.assertTrue(queriedProfile.getSkipLanguagePopup());\n\n updatedProfile = createProfileJsonObject(sex, birthDate, preferredLanguage, firstName, lastName, false);\n response = RouteTestUtil.buildAuthorizedPatchRequest(token, url, updatedProfile.toString()).execute();\n res = response.returnResponse();\n Assert.assertEquals(HttpStatus.SC_OK, res.getStatusLine().getStatusCode());\n bodyToString = EntityUtils.toString(res.getEntity());\n queriedProfile = gson.fromJson(bodyToString, Profile.class);\n Assert.assertFalse(queriedProfile.getSkipLanguagePopup());\n\n updatedProfile = createProfileJsonObject(sex, birthDate, preferredLanguage, firstName, lastName, null);\n response = RouteTestUtil.buildAuthorizedPatchRequest(token, url, updatedProfile.toString()).execute();\n res = response.returnResponse();\n Assert.assertEquals(HttpStatus.SC_OK, res.getStatusLine().getStatusCode());\n bodyToString = EntityUtils.toString(res.getEntity());\n queriedProfile = gson.fromJson(bodyToString, Profile.class);\n Assert.assertEquals(null, queriedProfile.getSkipLanguagePopup());\n }", "title": "" }, { "docid": "84f2219bb54c63ead451a2b7b4ee95e4", "score": "0.45189756", "text": "public void setProfile(InternalLaunchProfile profile) {\n this.profile = profile;\n }", "title": "" }, { "docid": "2fcd9a58b6c99365ef8bb07cb0633370", "score": "0.45046955", "text": "@Nonnull\n public java.util.concurrent.CompletableFuture<WindowsAutopilotDeploymentProfileAssignment> postAsync(@Nonnull final WindowsAutopilotDeploymentProfileAssignment newWindowsAutopilotDeploymentProfileAssignment) {\n return sendAsync(HttpMethod.POST, newWindowsAutopilotDeploymentProfileAssignment);\n }", "title": "" }, { "docid": "427bda42129c4ab99d53afbcc03b0744", "score": "0.44965076", "text": "@Test\n void clone_policiesMerged() throws Exception {\n logger.info(\"features.isTpsEnabled(): %s\".formatted(features.isTpsEnabled()));\n // Don't run the test if TPS is disabled\n if (!features.isTpsEnabled()) {\n return;\n }\n\n // Clean up policies from previous runs, if any exist\n mockWorkspaceV1Api.deletePolicies(userAccessUtils.defaultUserAuthRequest(), workspaceId);\n mockWorkspaceV1Api.deletePolicies(userAccessUtils.defaultUserAuthRequest(), workspaceId2);\n\n // Add broader region policy to destination, narrow policy on source.\n mockWorkspaceV1Api.updatePolicies(\n userAccessUtils.defaultUserAuthRequest(),\n workspaceId,\n /*policiesToAdd=*/ ImmutableList.of(PolicyFixtures.REGION_POLICY_IOWA),\n /*policiesToRemove=*/ null);\n mockWorkspaceV1Api.updatePolicies(\n userAccessUtils.defaultUserAuthRequest(),\n workspaceId2,\n /*policiesToAdd=*/ ImmutableList.of(PolicyFixtures.REGION_POLICY_USA),\n /*policiesToRemove=*/ null);\n\n // Clone resource\n String destResourceName = TestUtils.appendRandomNumber(\"dest-resource-name\");\n mockGcpApi.cloneReferencedBqDataTable(\n userAccessUtils.defaultUserAuthRequest(),\n /*sourceWorkspaceId=*/ workspaceId,\n sourceResource.getMetadata().getResourceId(),\n /*destWorkspaceId=*/ workspaceId2,\n ApiCloningInstructionsEnum.REFERENCE,\n destResourceName);\n\n // Assert dest workspace policy is reduced to the narrower region.\n ApiWorkspaceDescription destWorkspace =\n mockWorkspaceV1Api.getWorkspace(userAccessUtils.defaultUserAuthRequest(), workspaceId2);\n assertThat(\n destWorkspace.getPolicies(),\n containsInAnyOrder(PolicyFixtures.REGION_POLICY_IOWA, PolicyFixtures.GROUP_POLICY_DEFAULT));\n assertFalse(destWorkspace.getPolicies().contains(PolicyFixtures.REGION_POLICY_USA));\n\n // Clean up: Delete policies\n mockWorkspaceV1Api.deletePolicies(userAccessUtils.defaultUserAuthRequest(), workspaceId);\n mockWorkspaceV1Api.deletePolicies(userAccessUtils.defaultUserAuthRequest(), workspaceId2);\n }", "title": "" }, { "docid": "c2d791b5476357abd97c7e4fe3282145", "score": "0.44808045", "text": "private TeamAssignmentConfig copyTeamAssignmentConfig(TeamAssignmentConfig originalConfig) {\n TeamAssignmentConfig newConfig = new TeamAssignmentConfig();\n newConfig.setMinTeamSize(originalConfig.getMinTeamSize());\n newConfig.setMaxTeamSize(originalConfig.getMaxTeamSize());\n return newConfig;\n }", "title": "" }, { "docid": "a742e7fe894320e108d55587b681a0e1", "score": "0.44713432", "text": "public void setProfileAssigned(String profileAssigned) {\n this.profileAssigned = profileAssigned;\n }", "title": "" }, { "docid": "4fbf8c9e6bc15f188be4d3b2e0aa6204", "score": "0.44709042", "text": "@Nullable\n public WindowsAutopilotDeploymentProfileAssignment get() throws ClientException {\n return send(HttpMethod.GET, null);\n }", "title": "" }, { "docid": "909a66f45f1410da814a8ae075e748a2", "score": "0.44694924", "text": "@Override\n public void updateExtension(IPSExtensionDef def, Iterator resources) throws PSExtensionException, PSNotFoundException {\n manager.updateExtension(def,resources);\n }", "title": "" }, { "docid": "ac93167f59c5f5e4f9d42c3af98d0352", "score": "0.44614747", "text": "BillingProfile update( BillingProfile billingProfile );", "title": "" }, { "docid": "188a31db6811f149ec9bf80873dd61c6", "score": "0.44612092", "text": "private void setActiveProfile(Profile p) {\r\n\t\tactiveProfile = p;\r\n\t}", "title": "" }, { "docid": "60a920693cc471ac60ceaa3390f0e0ff", "score": "0.44441408", "text": "static void installProxyProfile(RealDevice device, HostAndPort hostAndPort)\n throws IosDeviceException {\n checkState(hostAndPort.hasPort());\n NSDictionary replacementDict = new NSDictionary();\n replacementDict.put(\"ProxyServer\", hostAndPort.getHost());\n replacementDict.put(\"ProxyServerPort\", hostAndPort.getPort());\n ConfigProfiles.installProfile(device, PROXY_PROFILE_PATH, replacementDict);\n }", "title": "" }, { "docid": "c576d2623b63da26cee1bae8a6f8a5fb", "score": "0.44379142", "text": "@Override\n\tpublic void setProfile(String profile) {\n\t\t\n\t}", "title": "" }, { "docid": "3fb2a39f75a8b0c05e92f7502f5bff75", "score": "0.44322297", "text": "@Test\n public void testPatchFullProfile() throws Exception {\n postDummyProfile();\n LocalDate dummyBirthDate = LocalDate.parse(\"2004-02-16\");\n JsonObject updatedProfile = createProfileJsonObject(UserProfile.SexType.MALE.name(),\n dummyBirthDate, \"ru\", \"foo\", \"bar\", true);\n\n Response response = RouteTestUtil.buildAuthorizedPatchRequest(token, url, updatedProfile.toString()).execute();\n HttpResponse res = response.returnResponse();\n Assert.assertEquals(HttpStatus.SC_OK, res.getStatusLine().getStatusCode());\n\n String bodyToString = EntityUtils.toString(res.getEntity());\n Profile queriedProfile = gson.fromJson(bodyToString, Profile.class);\n Assert.assertEquals(UserProfile.SexType.MALE.name(), queriedProfile.getSex());\n Assert.assertEquals(dummyBirthDate.toString(), queriedProfile.getBirthDate());\n Assert.assertEquals(\"ru\", queriedProfile.getPreferredLanguage());\n Assert.assertEquals(\"foo\", queriedProfile.getFirstName());\n Assert.assertEquals(\"bar\", queriedProfile.getLastName());\n Assert.assertEquals(true, queriedProfile.getSkipLanguagePopup());\n }", "title": "" }, { "docid": "47f85c03254e55268ee7162f8e92690f", "score": "0.44182396", "text": "@Override\n public int updateProCapability(ProCapability proCapability)\n {\n int result = proCapabilityMapper.updateProCapability(proCapability);\n\n return result;\n }", "title": "" }, { "docid": "00025ee9bb6e5dd9420cc3125df12880", "score": "0.44087687", "text": "public void update(Object destination, Object source)\n\t{\n\t\tthrow new UnsupportedOperationException();\n\t}", "title": "" }, { "docid": "f2e95053aac848a5236b51312ea3a963", "score": "0.43743432", "text": "@Test\n public void testNoPatchProfile() throws Exception {\n postDummyProfile();\n JsonObject updatedProfile = createProfileJsonObject(sex,\n birthDate, preferredLanguage, firstName, lastName, skipLanguagePopup);\n\n Response response = RouteTestUtil.buildAuthorizedPatchRequest(token, url, updatedProfile.toString()).execute();\n HttpResponse res = response.returnResponse();\n Assert.assertEquals(HttpStatus.SC_OK, res.getStatusLine().getStatusCode());\n\n String bodyToString = EntityUtils.toString(res.getEntity());\n Profile queriedProfile = gson.fromJson(bodyToString, Profile.class);\n Assert.assertEquals(sex, queriedProfile.getSex());\n Assert.assertEquals(birthDayInMonth, queriedProfile.getBirthDayInMonth());\n Assert.assertEquals(birthMonth, queriedProfile.getBirthMonth());\n Assert.assertEquals(birthYear, queriedProfile.getBirthYear());\n Assert.assertEquals(birthDate.toString(), queriedProfile.getBirthDate());\n Assert.assertEquals(preferredLanguage, queriedProfile.getPreferredLanguage());\n Assert.assertEquals(firstName, queriedProfile.getFirstName());\n Assert.assertEquals(lastName, queriedProfile.getLastName());\n Assert.assertEquals(skipLanguagePopup, queriedProfile.getSkipLanguagePopup());\n }", "title": "" }, { "docid": "c6f6bd1a84bef1526ff959064d6d3c5c", "score": "0.43737963", "text": "@Test\n public void testPatchProfileDoesntExist() throws Exception {\n profileUserIdsToDelete.add(guid);\n JsonObject updatedProfile = createProfileJsonObject(sex,\n birthDate, preferredLanguage, firstName, lastName, skipLanguagePopup);\n\n Response response = RouteTestUtil.buildAuthorizedPatchRequest(token, url, updatedProfile.toString()).execute();\n HttpResponse res = response.returnResponse();\n Assert.assertEquals(HttpStatus.SC_NOT_FOUND, res.getStatusLine().getStatusCode());\n\n String bodyToString = EntityUtils.toString(res.getEntity());\n ApiError error = gson.fromJson(bodyToString, ApiError.class);\n Assert.assertEquals(ErrorCodes.MISSING_PROFILE, error.getCode());\n Assert.assertTrue(error.getMessage().contains(\"Profile not found for user with guid\"));\n }", "title": "" }, { "docid": "b4f8873543381194270f62b5fc490cf1", "score": "0.4366988", "text": "public void updateUserProfile(){\n\t\t\n\t}", "title": "" }, { "docid": "8137a67edd67c608c03ebf6d6e51d4f4", "score": "0.43432236", "text": "@Override\n public boolean needsPatching() {\n return false;\n }", "title": "" }, { "docid": "1402e173546e2ca645a7656227076094", "score": "0.43387547", "text": "@Nullable\n public WindowsAutopilotDeploymentProfileAssignment delete() throws ClientException {\n return send(HttpMethod.DELETE, null);\n }", "title": "" }, { "docid": "78327856120e04acce37668504e4dc4c", "score": "0.43302166", "text": "static void installCertProfile(RealDevice device, String certName, String certContentBase64)\n throws IosDeviceException {\n NSDictionary replacementDict = new NSDictionary();\n replacementDict.put(\"PayloadCertificateFileName\", certName + \".cer\");\n try {\n replacementDict.put(\"PayloadContent\", new NSData(certContentBase64));\n } catch (IOException e) {\n throw new IosDeviceException(device, e);\n }\n replacementDict.put(\"PayloadDisplayName\", certName);\n ConfigProfiles.installProfile(device, CERT_PROFILE_PATH, replacementDict);\n }", "title": "" }, { "docid": "6cfb826f38f1bd1389e6942a21b1e6b1", "score": "0.43299675", "text": "public UpdateResult updateWorkProductAssignment(WorkProductAssignment wpa) throws JsonProcessingException {\n mongoDbDao.setDatabase(\"work\");\n MongoClient mongo = mongoDbDao.getMongoClient();\n MongoDatabase db = mongo.getDatabase(\"work\");\n MongoCollection<Document> collection = db.getCollection(\"work\");\n WorkProductWrapper wpw;\n Document filter = new Document();\n if(wpa.getUser() == null)\n return null;\n else\n filter.put(\"_id\", new ObjectId(wpa.getWorkProductId()));\n\n Document obj = collection.find(filter).first();\n UpdateResult result = null;\n if (obj != null) {\n try {\n String json = obj.toJson();\n wpw = (WorkProductWrapper) JsonUtils.getMapper().readValue(json, WorkProductWrapper.class);\n Iterator<WorkProductAssignment> iterator = wpw.getAssignments().iterator();\n // remove if there is an existing work product assignment with the same user id and work product id.\n while ( iterator.hasNext()) {\n WorkProductAssignment workProductAssignment = (WorkProductAssignment) iterator.next();\n if( workProductAssignment.getUser().getId().equalsIgnoreCase(wpa.getUser().getId()) && \n workProductAssignment.getWorkProductId().equalsIgnoreCase(wpa.getWorkProductId())){\n iterator.remove();\n }\n }\n // add the new work product assignment\n wpw.getAssignments().add(wpa);\n String objectJson = JsonUtils.getMapper().writeValueAsString(wpw);\n Document doc = Document.parse(objectJson);\n doc.put(\"_id\", new ObjectId(wpa.getWorkProductId()));\n result = mongoDbDao.getCollection(\"work\").replaceOne(filter, doc);\n } catch (IOException e) {\n logger.error(\"========> Deserialize: \" + e.toString());\n }\n }\n return result;\n }", "title": "" }, { "docid": "1cc38c6b7ccf51ad722f28a55ec2122a", "score": "0.4309925", "text": "public WindowsPhone81StoreApp patch(final WindowsPhone81StoreApp sourceWindowsPhone81StoreApp) throws ClientException {\n return send(HttpMethod.PATCH, sourceWindowsPhone81StoreApp);\n }", "title": "" }, { "docid": "8dab2add22de3ae6b6cbd035c44647db", "score": "0.43022892", "text": "public void setProfileExtension(String profileExtension) {\r\n\t\tthis.profileExtension = profileExtension;\r\n\t}", "title": "" }, { "docid": "0b5a4e82e379f5dca3fcfaff93364cd5", "score": "0.42880303", "text": "public void pitchForEventSlot(UUID eventSlotId, Profile profile) {\n final EventSlot eventSlot = getEventSlot(eventSlotId);\n Set<Profile> pitchers = eventSlot.getPitchers();\n\n if (pitchers == null || pitchers.size() == 0) {\n pitchers = new HashSet<>();\n }\n\n final boolean addition = pitchers.add(profile);\n if (!addition) throw new ArtistPitchExists(\"Artist has already pitched for this event slot.\");\n\n eventSlot.setPitchers(pitchers);\n\n eventSlotRepository.save(eventSlot);\n }", "title": "" }, { "docid": "38be1940edc5ce910567b4baebfa5362", "score": "0.42875808", "text": "public int updateAssignment(Assignment assignment) throws TamsException;", "title": "" }, { "docid": "78385088a5d0fadbfcd65e8d219b6d3a", "score": "0.42857268", "text": "@Override\n public void updateUserProfilePic(String currentUserProfilePicUrl) {\n }", "title": "" }, { "docid": "5a50943c3637bfda6c9c27461ecf2121", "score": "0.42519692", "text": "@Override\r\n public void updateProfileWithLocation() {\n ApiInterface apiService =\r\n ApiClient.getClient().create(ApiInterface.class);\r\n\r\n Call<Profile> call = null;\r\n Profile profile = SessionManagementUtil.getUserData();\r\n call = apiService.updateProfile(SessionManagementUtil.getUserData().getProfileId(),\r\n new Profile(profile.getProfileId(),profile.getProfileName(), profile.getProfileEmail(),profile.getProfileStory(),profile.getProfileWork(),profile.getLocation()));\r\n\r\n call.enqueue(new Callback<Profile>() {\r\n @Override\r\n public void onResponse(Call<Profile> call, Response<Profile> response) {\r\n mLoginView.hideProgressBar();\r\n mLoginView.onSuccess();\r\n }\r\n\r\n @Override\r\n public void onFailure(Call<Profile> call, Throwable t) {\r\n // Log error here since request failed\r\n mLoginView.hideProgressBar();\r\n Log.e(TAG, t.toString());\r\n }\r\n });\r\n }", "title": "" }, { "docid": "b5979d9b06917ff2658536515fe4a57c", "score": "0.42482612", "text": "@Test\n public void testUpdateProfileIfNotMissingInformation() {\n updateExecutions(AbstractBrokerTest::setUpMissingUpdateProfileOnFirstLogin);\n createUser(bc.providerRealmName(), \"all-info-set\", \"password\", \"FirstName\", \"LastName\", \"[email protected]\");\n\n driver.navigate().to(getAccountUrl(bc.consumerRealmName()));\n log.debug(\"Clicking social \" + bc.getIDPAlias());\n accountLoginPage.clickSocial(bc.getIDPAlias());\n waitForPage(driver, \"log in to\", true);\n Assert.assertTrue(\"Driver should be on the provider realm page right now\",\n driver.getCurrentUrl().contains(\"/auth/realms/\" + bc.providerRealmName() + \"/\"));\n log.debug(\"Logging in\");\n accountLoginPage.login(\"all-info-set\", \"password\");\n\n waitForPage(driver, \"keycloak account management\", true);\n accountUpdateProfilePage.assertCurrent();\n }", "title": "" }, { "docid": "e3ffe471d7b3df09c376567c47f36726", "score": "0.42441484", "text": "@Test\n public void testPatchNullProfile() throws Exception {\n postDummyProfile();\n JsonObject updatedProfile = new JsonObject();\n updatedProfile.addProperty(Profile.SEX, (String) null);\n updatedProfile.addProperty(Profile.BIRTH_DATE, (String) null);\n updatedProfile.addProperty(Profile.PREFERRED_LANGUAGE, (String) null);\n updatedProfile.addProperty(Profile.SKIP_LANGUAGE_POPUP, (String) null);\n\n Response response = RouteTestUtil.buildAuthorizedPatchRequest(token, url, updatedProfile.toString()).execute();\n HttpResponse res = response.returnResponse();\n Assert.assertEquals(HttpStatus.SC_OK, res.getStatusLine().getStatusCode());\n\n String bodyToString = EntityUtils.toString(res.getEntity());\n Profile queriedProfile = gson.fromJson(bodyToString, Profile.class);\n Assert.assertNull(queriedProfile.getSex());\n Assert.assertNull(queriedProfile.getBirthDate());\n Assert.assertNull(queriedProfile.getBirthMonth());\n Assert.assertNull(queriedProfile.getBirthDayInMonth());\n Assert.assertNull(queriedProfile.getPreferredLanguage());\n Assert.assertNull(queriedProfile.getSkipLanguagePopup());\n }", "title": "" }, { "docid": "38a8c2f34c6a93ec6e9e044dbee12f41", "score": "0.4241171", "text": "public void setSetupExtensionChanged(Changed reason);", "title": "" }, { "docid": "2f141ec3a7e842bf437fb860175d96bb", "score": "0.4240499", "text": "public void setProfile(Profile profile) {\n this.profile = profile;\n }", "title": "" }, { "docid": "acc2e72550976483a172df1fd113a180", "score": "0.423933", "text": "protected void createNewProfile(ConnectionConfiguration configuration) {\n HubProfile profile = profileService.readProfile(configuration.getCommon().getVirtualSystem(), configuration.getCommon().getAgentId());\n if (profile == null) {\n HubProfile remoteProfile = profileService.readRemoteProfile(configuration.getCommon().getVirtualSystem(), configuration.getGwos());\n if (remoteProfile == null) {\n HubProfile localProfile = profileService.createProfile(configuration.getCommon().getVirtualSystem(), configuration.getCommon().getAgentId());\n if (localProfile.getProfileType() == null) {\n localProfile.setProfileType(ProfileConversion.convertVirtualSystemToPropertyType(configuration.getCommon().getVirtualSystem()));\n }\n profileService.saveProfile(localProfile);\n }\n else {\n remoteProfile.setAgent(configuration.getCommon().getAgentId());\n if (remoteProfile.getProfileType() == null) {\n remoteProfile.setProfileType(ProfileConversion.convertVirtualSystemToPropertyType(configuration.getCommon().getVirtualSystem()));\n }\n profileService.saveProfile(remoteProfile);\n }\n }\n }", "title": "" }, { "docid": "0c0ee4e789a821315b6c2ef088822bf6", "score": "0.4231663", "text": "@Test\n\tvoid testUseIncludeProfileSpecificSourcesSourcesOverridesDefault() {\n\t\tAssertions.assertFalse(ConfigUtils.includeProfileSpecificSources(true, false));\n\t}", "title": "" }, { "docid": "456ed48ec4223b912847868971790d1f", "score": "0.420588", "text": "@When(\"^user updates profile \\\"(.*?)\\\" \\\"(.*?)\\\" \\\"(.*?)\\\" \\\"(.*?)\\\" \\\"(.*?)\\\" \\\"(.*?)\\\" \\\"(.*?)\\\" \\\"(.*?)\\\" \\\"(.*?)\\\" \\\"(.*?)\\\"$\")\r\n\tpublic void user_updates_profile(String arg1, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) throws Throwable {\n\t\tMProfPage.EnterProfileDetails(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);\r\n\t}", "title": "" }, { "docid": "85e5d0f104c8b7a15deb28438488b4f9", "score": "0.42028838", "text": "public void onCopyConfiguration(OnDeploymentConfigCopyEvent onDeploymentConfigCopyEvent) {\n ApplicationEnvironment source = onDeploymentConfigCopyEvent.getSourceEnvironment();\n ApplicationEnvironment target = onDeploymentConfigCopyEvent.getTargetEnvironment();\n DeploymentMatchingConfiguration sourceConfiguration = deploymentConfigurationDao.findById(DeploymentMatchingConfiguration.class,\n AbstractDeploymentConfig.generateId(source.getTopologyVersion(), source.getId()));\n\n DeploymentMatchingConfiguration targetConfiguration = deploymentConfigurationDao.findById(DeploymentMatchingConfiguration.class,\n AbstractDeploymentConfig.generateId(target.getTopologyVersion(), target.getId()));\n\n if (sourceConfiguration == null || MapUtils.isEmpty(sourceConfiguration.getLocationGroups()) || targetConfiguration == null\n || MapUtils.isEmpty(targetConfiguration.getLocationGroups())) {\n return; // Nothing to copy\n }\n\n // We have to execute a piece of the deployment flow to find out matching candidates so we copy only required inputs\n Topology topology = topologyServiceCore.getOrFail(Csar.createId(target.getApplicationId(), target.getTopologyVersion()));\n\n if (MapUtils.isNotEmpty(topology.getNodeTemplates())) {\n Application application = applicationService.getOrFail(target.getApplicationId());\n FlowExecutionContext executionContext = new FlowExecutionContext(deploymentConfigurationDao, topology, new EnvironmentContext(application, target));\n flowExecutor.execute(topology, getMatchingFlow(), executionContext);\n\n Map<String, Set<String>> locResTemplateIdsPerNodeIds = (Map<String, Set<String>>) executionContext.getExecutionCache()\n .get(FlowExecutionContext.SELECTED_MATCH_NODE_LOCATION_TEMPLATE_BY_NODE_ID_MAP);\n\n // Update the substitution on the target if available substitution is always compatible\n Map<String, String> validOnNewEnvSubstitutedNodes = safe(sourceConfiguration.getMatchedLocationResources()).entrySet().stream()\n .filter(entry -> locResTemplateIdsPerNodeIds.containsKey(entry.getKey())\n && locResTemplateIdsPerNodeIds.get(entry.getKey()).contains(entry.getValue()))\n .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));\n\n if (MapUtils.isNotEmpty(validOnNewEnvSubstitutedNodes)) {\n\n if (targetConfiguration.getMatchedLocationResources() == null) {\n targetConfiguration.setMatchedLocationResources(Maps.newHashMap());\n }\n\n validOnNewEnvSubstitutedNodes.forEach((key, value) -> {\n targetConfiguration.getMatchedLocationResources().put(key, value);\n // Copy properties set on the node to the new one\n targetConfiguration.getMatchedNodesConfiguration().put(key, safe(sourceConfiguration.getMatchedNodesConfiguration()).get(key));\n });\n\n deploymentConfigurationDao.save(targetConfiguration);\n }\n }\n }", "title": "" }, { "docid": "b265f5e5b54004403dd761293d0efc55", "score": "0.41926685", "text": "@Override\n public void setActiveProfile(String profileName) throws RemoteException {\n if(mProfiles.containsKey(profileName)){\n Log.d(TAG, \"Set active profile to: \" + profileName);\n mActiveProfile = profileName;\n }else{\n Log.e(TAG, \"Cannot set active profile to: \" + profileName + \" - does not exist.\");\n }\n }", "title": "" }, { "docid": "e48c9e19eef5363ab7d0f8affe6c9311", "score": "0.41794586", "text": "@Override\n\tpublic void updateProfile(UserProfileAdminPO po) {\n\t\tLog.enter(po);\n\t\tif (po == null) {\n\t\t\tLog.warn(\"Inside update method with UserProfileAdminPO == NULL\");\n\t\t\treturn;\n\t\t}\n\n\t\tif( po.getUserId() != 0 && po.getUserName() != null ){\n\t\t\t\n\t\t\ttry{\tConnection conn = getConnection();\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tPreparedStatement stmt = conn.prepareStatement(SQL.UPDATE_AUTHORIZATION_BY_USERID);\n\t\t\t\t\tstmt.setString(1, po.getAccountStatus());\n\t\t\t\t\tstmt.setString(2, po.getPrivilegeLevel());\n\t\t\t\t\tstmt.setLong(3, po.getUserId());\t\t\t\t\t\n\t\t\t\t\tint rowCount = stmt.executeUpdate();\n\n\t\t\t\t\t//can use statement batch\n\t\t\t\t\tPreparedStatement stmt1 = conn.prepareStatement(SQL.UPDATE_USER_NAME_PWD);\n\t\t\t\t\t//po = SSNCipher.encryptPassword(po);\t//modified by qihao. I put it into UerPrifileAdinService.java\n\t\t\t\t\tstmt1.setString(1, po.getUserName());\n\t\t\t\t\tstmt1.setString(2, po.getPassword());\n\t\t\t\t\tstmt1.setString(3, po.getSalt()); \n\t\t\t\t\tstmt1.setLong(4, po.getUserId());\t\t\t\t\t\n\t\t\t\t\tint rowCount1 = stmt1.executeUpdate();\t\n\t\t\t\t\t\n\t\t\t\t\tconn.commit();\n\t\t\t\t\tconn.close();\n\t\t\t\t\tLog.trace(\"Statement executed, and \" + rowCount + rowCount1 + \" rows updated.\");\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\thandleException(e);\n\t\t\t\t} finally {\n\t\t\t\t\tLog.exit();\n\t\t\t\t}\t\t\t\n\t\t}\t\n\t\t\n\t}", "title": "" }, { "docid": "202138bf463fc10495d050b259cd8567", "score": "0.41783231", "text": "private void copyPPP(){\n\t\tcopyDescriptors();\n\t\tiniAgentState();\n\t\tdPA();\n\t\tcheckPPP();\n\t}", "title": "" }, { "docid": "c31b85b33a36749ff627da7ee77e7e05", "score": "0.41508672", "text": "private static void setLauncher(Manipulator manipulator, IProfile profile, String launcherName) {\n \t\tLauncherData launcherData = manipulator.getLauncherData();\n\t\t((Profile) profile).setProperty(EclipseTouchpoint.PROFILE_PROP_LAUNCHER_NAME, launcherName);\n \t\tlauncherData.setLauncher(Util.getLauncherPath(profile));\n \t}", "title": "" }, { "docid": "6a06a11336dfc1e35cf16d99bba2b314", "score": "0.41445526", "text": "public UpdateSettingsFlowWithProfileMethod getUpdateSettingsFlowWithProfileMethod() throws ClassCastException {\n return (UpdateSettingsFlowWithProfileMethod)super.getActualInstance();\n }", "title": "" }, { "docid": "26f130d7a20dfdcd0140e8e4eb5af822", "score": "0.41416377", "text": "@Override\n public GameProfile addGameProfileTokensIfRequired(GameProfile original,\n PlayerInfoForwarding forwardingType) {\n if (forwardingType == PlayerInfoForwarding.LEGACY) {\n return original.addProperty(IS_FORGE_CLIENT_PROPERTY);\n }\n\n return original;\n }", "title": "" }, { "docid": "a9a2ed53dd564b71304e85baf495a3c2", "score": "0.4141197", "text": "public void respecSkillPoints()\n\t{\n\t\tfor(int index = 9; index > 1; index--){\n\t\t\tskillPoints[index] = skillPoints[index-1];\n\t\t}\n\t\texpertise++;\n\t}", "title": "" }, { "docid": "b058a1be70d36131885d2da59c515640", "score": "0.41377518", "text": "public void updateLabelAssignment() {\n ArrayList<LabelAssignment> tempAssignments = new ArrayList<>();\n for (int i = 0; i < user.getAssignedDatasets().size(); i++) {\n Dataset dataset = user.getAssignedDatasets().get(i);\n\n for (int j = 0; j < dataset.getLabelAssignments().size(); j++) {\n LabelAssignment labelAssignment = dataset.getLabelAssignments().get(j);\n if (labelAssignment.getUser().getId() == getUser().getId()) {\n tempAssignments.add(labelAssignment);\n }\n }\n }\n this.labelAssignments = tempAssignments;\n }", "title": "" }, { "docid": "449618eed6af2652013f92a08afe7181", "score": "0.41338265", "text": "public void updateProfileStateFromService(int pjsuaId) throws SameThreadException {\n if (!created) {\n return;\n }\n long accId = getAccountIdForPjsipId(service, pjsuaId);\n Log.d(THIS_FILE, \"Update profile from service for \" + pjsuaId + \" aka in db \" + accId);\n if (accId != SipProfile.INVALID_ID) {\n int success = pjsuaConstants.PJ_FALSE;\n pjsua_acc_info pjAccountInfo;\n pjAccountInfo = new pjsua_acc_info();\n success = pjsua.acc_get_info(pjsuaId, pjAccountInfo);\n if (success == pjsuaConstants.PJ_SUCCESS && pjAccountInfo != null) {\n ContentValues cv = new ContentValues();\n\n try {\n // Should be fine : status code are coherent with RFC\n // status codes\n cv.put(SipProfileState.STATUS_CODE, pjAccountInfo.getStatus().swigValue());\n } catch (IllegalArgumentException e) {\n cv.put(SipProfileState.STATUS_CODE,\n SipCallSession.StatusCode.INTERNAL_SERVER_ERROR);\n }\n\n cv.put(SipProfileState.STATUS_TEXT, pjStrToString(pjAccountInfo.getStatus_text()));\n cv.put(SipProfileState.EXPIRES, pjAccountInfo.getExpires());\n\n service.getContentResolver().update(\n ContentUris.withAppendedId(SipProfile.ACCOUNT_STATUS_ID_URI_BASE, accId),\n cv, null, null);\n\n Log.d(THIS_FILE, \"Profile state UP : \" + cv);\n }\n } else {\n Log.e(THIS_FILE, \"Trying to update not added account \" + pjsuaId);\n }\n }", "title": "" }, { "docid": "30aad5adebc4104d2c121230fe109283", "score": "0.41325408", "text": "@Override\n\tpublic boolean updateSonProfile(EnodeB node, String cloneFromName, SonParameters sonParmas) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "886d1f6e28aee75a415ddc4be8c7b38e", "score": "0.4132283", "text": "public UserProfile updateUserProfile(long id, UserProfile userProfileRequest) throws EntityNotFoundException;", "title": "" }, { "docid": "aaf6fae3ec8b16f6042441d8eb1105d4", "score": "0.4131787", "text": "private static void convertTestPlanDependency(Extension src, TestPlanDependencyComponent tgt) {\n ConversionContext40_50.INSTANCE.getVersionConvertor_40_50().copyElement(src, tgt, \n \"http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency.description\",\n \"http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency.predecessor\"\n );\n if (src.hasExtension(\"http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency.description\")) {\n tgt.setDescriptionElement(MarkDown40_50.convertMarkdown((org.hl7.fhir.r4.model.MarkdownType) src.getExtensionByUrl(\"http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency.description\").getValue()));\n }\n if (src.hasExtension(\"http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency.predecessor\")) {\n tgt.setPredecessor(Reference40_50.convertReference((org.hl7.fhir.r4.model.Reference) src.getExtensionByUrl(\"http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency.predecessor\").getValue()));\n }\n }", "title": "" }, { "docid": "6577f7f6230454c27e07961cae3f9d4c", "score": "0.41187122", "text": "Update withAccessTier(AccessTier accessTier);", "title": "" }, { "docid": "71f24753c8f77583d2179d4621c4eb2b", "score": "0.41107634", "text": "private void evolveComponentResources() {\n\t\t// TODO: insert safepoint to wait for Repository idle\n\t\t// Aspect bootstrapSafepointAspect = createSafePoint(this /* this maps to copversion and evolutionSpec.xml in jar of cop version */);\n\t\t// Proseystem.getAspectManager().insert(bootstrapSafepointAspect);\n\t\t// following stmts should be executed/initiated from inside advice of safepoint aspect\n\t\t\n\t\tHashtable cops = (Hashtable) ComponentRepository.Instance().getComponentResources();\n\t\tHashtable clonedCops = (Hashtable) cops.clone(); // copies all references to keys and values to avoid concurrency problems\n\t\tIterator allCops = clonedCops.values().iterator();\n\t\twhile (allCops.hasNext()) {\n\t\t\tComponentResource cop = (ComponentResource) allCops.next();\n\t\t\ttry {\n\t\t\t\tif (cop instanceof ProxyComponentResource) {\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (cop instanceof AdapterComponentResource) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tUpgradeableComponentResource eCop = evolve(cop);\n\t\t\t\t\n\t\t\t\tif (eCop == null || !eCop.isRuntimeEvolutionSupported(null)) {\n\t\t\t\t\t// undo\n\t\t\t\t\tComponentRepository.Instance().getComponentResources().remove(cop.getCodeBase());\n\t\t\t\t\tComponentRepository.Instance().getComponentResources().put(cop.getCodeBase(), cop);\n\t\t\t\t\tLOG.info(\"cop is NOT upgradable \"+cop.getCodeBase());\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\tComponentRepository.Instance().getComponentResources().remove(cop.getCodeBase());\n\t\t\t\tComponentRepository.Instance().getComponentResources().put(cop.getCodeBase(), cop);\n\t\t\t\tLOG.error(\"Adding evolution support for \"+cop.getCodeBase()+\" FAILED: \",e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d837961724696b99d111a73fcae5c65a", "score": "0.41106445", "text": "public void setProfileRemote(ProfileRemote profileRemote) {\n this.profileRemote = profileRemote;\n }", "title": "" }, { "docid": "b87b21e6f5d1232f69d02b88f9b08c6c", "score": "0.41072148", "text": "public SetupExtension getCopy() {\r\n\t\treturn SerialClone.clone(this);\r\n\t}", "title": "" }, { "docid": "7fc04aa2cde4cb2a06d3044efcbaac52", "score": "0.409845", "text": "@Nullable\n public DeviceCompliancePolicyPolicySetItem patch(@Nonnull final DeviceCompliancePolicyPolicySetItem sourceDeviceCompliancePolicyPolicySetItem) throws ClientException {\n return send(HttpMethod.PATCH, sourceDeviceCompliancePolicyPolicySetItem);\n }", "title": "" }, { "docid": "12f04b4f80e53ff5a7e83e5d6f9d2aa3", "score": "0.40898645", "text": "public void setupFrom(ComponentFeature other, boolean newAssignment)\n {\n setName(other.name());\n setOrder(other.order());\n for (SheetEntry entry : other.entries())\n {\n SheetEntry myEntry = SheetEntry.create(editingContext(),\n entry.isComplete(), entry.previousWasComplete());\n addToEntriesRelationship(myEntry);\n myEntry.setupFrom(entry, newAssignment);\n }\n }", "title": "" }, { "docid": "e82a4a5f1b1881a0a6f9cc3d1556678c", "score": "0.40879753", "text": "public void patch(final WindowsPhone81StoreApp sourceWindowsPhone81StoreApp, final ICallback<? super WindowsPhone81StoreApp> callback) {\n send(HttpMethod.PATCH, callback, sourceWindowsPhone81StoreApp);\n }", "title": "" }, { "docid": "d841d6a0ac7dbfdccd7d5f384a8de681", "score": "0.4085199", "text": "@Nullable\n public UnifiedRoleManagementPolicyApprovalRule patch(@Nonnull final UnifiedRoleManagementPolicyApprovalRule sourceUnifiedRoleManagementPolicyApprovalRule) throws ClientException {\n return send(HttpMethod.PATCH, sourceUnifiedRoleManagementPolicyApprovalRule);\n }", "title": "" }, { "docid": "632450e982ac9a5f12b2466dac077225", "score": "0.40845355", "text": "Update withProperties(ResourceGroupProperties properties);", "title": "" }, { "docid": "b96884c61ef6bf0fb3f382c167763f76", "score": "0.40845287", "text": "public XrCompositionLayerPassthroughFB set(XrCompositionLayerPassthroughFB src) {\n memCopy(src.address(), address(), SIZEOF);\n return this;\n }", "title": "" }, { "docid": "daa58951b93fdafaf61922eabc37be24", "score": "0.40836266", "text": "@Override\n public void addProfile(Profile profile) throws RemoteException {\n for (NotificationGroup group : mGroups.values()) {\n profile.ensureProfleGroup(group.getName());\n }\n profile.ensureProfleGroup(\n mContext.getString(com.android.internal.R.string.wildcardProfile), true);\n mProfiles.put(profile.getName(), profile);\n }", "title": "" }, { "docid": "8cd14adbe3ef22acf40a783e7301ea19", "score": "0.40826032", "text": "interface WithExtensionProperties {\n /**\n * Specifies extensionProperties.\n * @param extensionProperties Gets or sets extensionProperties of the maintenanceConfiguration\n * @return the next update stage\n */\n Update withExtensionProperties(Map<String, String> extensionProperties);\n }", "title": "" }, { "docid": "70f12ae676ff886640beaeaa5b834a3e", "score": "0.40752208", "text": "void setDeployment(UUID uuid) throws IOException;", "title": "" }, { "docid": "8707ef64fc5704c952f034f73bed5a49", "score": "0.40720686", "text": "public void updateProfile(CustomerPojo cust) {\n\ttemplate.update(cust);\r\n}", "title": "" }, { "docid": "af0eafbaa0f6b0fb91a3210284cd0d07", "score": "0.40666878", "text": "@Override\n public UpdateLaunchConfigurationResult updateLaunchConfiguration(UpdateLaunchConfigurationRequest request) {\n request = beforeClientExecution(request);\n return executeUpdateLaunchConfiguration(request);\n }", "title": "" }, { "docid": "31f8e936fff92763ea9269a2e3b08b75", "score": "0.4065225", "text": "public void setSelectedProfile(final String selectProfile)\n {\n // select the desired profile\n String[] items = profileCombo.getItems();\n for (int i = 0; i < items.length; i++)\n {\n if (items[i].equals(selectProfile))\n {\n profileCombo.select(i);\n profileCombo.notifyListeners(SWT.Selection, null);\n LOGGER.debug(\"selected profile \" + items[i]);\n return;\n }\n }\n LOGGER.debug(\"profile to select not found: \" + selectProfile);\n if (profileCombo.getItems() != null && profileCombo.getItems().length > 0)\n {\n LOGGER.debug(\"select first profile in list\");\n profileCombo.select(0);\n }\n\n // update the signature properties button\n if (getSelectedProfile().isDefaultType())\n {\n this.signaturePropertiesButton.setText(LocalSigner.i18n(\"changeSigProps\"));\n }\n else\n {\n this.signaturePropertiesButton.setText(LocalSigner.i18n(\"changeProfile\"));\n }\n\n if (LocalSigner.appConfig.getGuiViewMode().isSimpleMode())\n {\n this.signaturePropertiesButton.setText(LocalSigner.i18n(\"edit\"));\n }\n\n // adapt size to different capions\n this.signaturePropertiesButton.setSize(signaturePropertiesButton.computeSize(SWT.DEFAULT, SWT.DEFAULT));\n // and relayout the entouring composite\n mainshell.layout();\n\n // update selected description\n int position = profileCombo.getSelectionIndex();\n String description = getSelectedProfile().getDescription();\n profileCombo.setItem(position, description);\n profileCombo.notifyListeners(SWT.Selection, null);\n }", "title": "" }, { "docid": "23ed9870796dade15b2d82b870c4cdec", "score": "0.40575886", "text": "public void doPushProfileRequest(ClientCxDxSession arg0, JPushProfileRequest arg1) throws InternalException,\n\t\t\tIllegalDiameterStateException, RouteException, OverloadException {\n\t\t\n\t}", "title": "" }, { "docid": "e8b89a275629ecb05f9175bbc8b97f2f", "score": "0.40497935", "text": "boolean allowedToModifyInstallation(@Nullable String name, @Nullable Installation installation);", "title": "" }, { "docid": "b59d0bf02cc2c6d87112fa4766638abb", "score": "0.40487996", "text": "public void setSourceProduct(ProductUpgradeDetail value)\n {\n sourceProduct = value;\n }", "title": "" }, { "docid": "d369831b2dc0b2a775e9a071ab45bd2e", "score": "0.4043765", "text": "public void updatePPP(){\n\t\tcopyDescriptors();\n\t\tiniAgentState();\n\t\tdPA();\n\t\tcheckPPP();\n\t}", "title": "" }, { "docid": "fa4f3ad5281e0169f4107d9d0c920d64", "score": "0.40419316", "text": "public void setExtensionPoint(String value) {\n\tassertIsWriteable();\n\textensionPoint = value;\n}", "title": "" }, { "docid": "62b52aaadace0ae2b7fd7d3022c775cd", "score": "0.40297532", "text": "@Override\n\tpublic void mergeProfiles(Profile primaryProfile, Profile mergedProfile) {\n\t\ttry {\n\t\t\tgetMergeProfileSem().tryAcquire(\"mergeProfiles\", MERGE_PROFILES_SEM_TIMEOUT);\n\t\t\tif (log.isDebugEnabled())\n\t\t\t\tlog.debug(\"mergeProfiles(): primaryProfile=\" + primaryProfile + \", mergedProfile=\" + mergedProfile);\n\t\t\tMap<Record, Object> recordsToRefresh = primaryProfile.mergeWith(mergedProfile);\n\t\t\timdb.setUniqueIdForIdentifier(primaryProfile.getUniqueId(), mergedProfile.getIdentifier());\n\t\t\tfor (int d = 0; d < primaryProfile.getNumDuplicateIds(); ++d) {\n\t\t\t\tint duplicateId = primaryProfile.getDuplicateId(d);\n\t\t\t\ttry {\n\t\t\t\t\tgetBlockUpdatesSem().startRead(\"mergeProfiles\");\n\t\t\t\t\timdb.addDuplicateMapping(duplicateId, primaryProfile.getRecord());\n\t\t\t\t} catch (Exception e) {\t} finally {\n\t\t\t\t\tgetBlockUpdatesSem().endRead();\n\t\t\t\t}\n\t\t\t}\n\t\t\taddRelationalItems(primaryProfile.getRecord()); // establish any new relations so the following delete doesn't remove items now related to the primary\n\t\t\tdelete(mergedProfile.getUniqueId());\n\t\t\t// it was found that styles/tags needed to be invalidated here rather than withint he mergeWith method as the UI wasn't properly updating...\n\t\t\tif (primaryProfile instanceof StyleProfile) {\n\t\t\t\tfor (Record record : recordsToRefresh.keySet()) {\n\t\t\t\t\tif (record instanceof SearchRecord)\n\t\t\t\t\t\t((SearchRecord)record).invalidateActualStyles();\n\t\t\t\t}\n\t\t\t} else if (primaryProfile instanceof TagProfile) {\n\t\t\t\tfor (Record record : recordsToRefresh.keySet()) {\n\t\t\t\t\tif (record instanceof SearchRecord)\n\t\t\t\t\t\t((SearchRecord)record).invalidateActualTags();\n\t\t\t\t}\n\t\t\t}\n\t\t\tprimaryProfile.save();\n \t\tif (profilesMergedListeners != null) {\n \t\t\tfor (int i = 0; i < profilesMergedListeners.size(); ++i) {\n \t\t\t\tProfilesMergedListener profilesMergedListener = profilesMergedListeners.get(i);\n \t\t\t\tif (!RapidEvolution3.isTerminated)\n \t\t\t\t\tprofilesMergedListener.profilesMerged(primaryProfile, mergedProfile);\n\t\t\t\t}\n \t\t}\n \t\tif (!RapidEvolution3.isTerminated)\n \t\t\tTaskManager.runBackgroundTask(new UpdateRecordsTask(recordsToRefresh.keySet()));\n \t\tif (log.isTraceEnabled())\n\t\t\t\tlog.trace(\"mergeProfiles(): done merging\");\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"mergeProfiles(): error\", e);\n\t\t} finally {\n\t\t\tgetMergeProfileSem().release();\n\t\t}\n\t}", "title": "" }, { "docid": "2ef2412ce9d37287c8f04f9bd58157e0", "score": "0.40195727", "text": "@Override\n public UpdateUserRoutingProfileResult updateUserRoutingProfile(UpdateUserRoutingProfileRequest request) {\n request = beforeClientExecution(request);\n return executeUpdateUserRoutingProfile(request);\n }", "title": "" }, { "docid": "e708efaa29738557f76a943cc9d2dbaf", "score": "0.4014574", "text": "public void mergeIn(JMeterProperty prop);", "title": "" }, { "docid": "64b5dbe2e048ac6c1520586b3ad57817", "score": "0.40097976", "text": "private String getProfilePathComponent() {\n return getGroupId() + \"/\" +\n getArtifactId().replace('-', '/') + \".profile\";\n }", "title": "" }, { "docid": "6012dab82da2c1031c664824f7147ab0", "score": "0.4009243", "text": "@Config.Sources({\n \"classpath:InfluxReporterBeanConfig.properties\"\n})\npublic interface EclipseLinkProfilerConfig extends Config {\n @Config.DefaultValue(\"NONE\")\n String eclipseLinkProfileWeight();\n}", "title": "" }, { "docid": "e9271d7ff37efc9e865fa49112ee3376", "score": "0.40086272", "text": "public void updateProfile(User user) {\n\t\tif (user.getProfile() instanceof DeveloperProfile) {\n\t\t\tDeveloperProfile temp = (DeveloperProfile) user.getProfile();\n\t\t\t// update fields of developerprofile class with setters\n\t\t}\n\n\t\tif (user.getProfile() instanceof EmplooyerProfile) {\n\t\t\tEmplooyerProfile temp = (EmplooyerProfile) user.getProfile();\n\t\t\t// update fields of empolyerprofile class with setters\n\t\t}\n\t}", "title": "" } ]
cfc21cea0d57ef912480fbebbff4388a
Copies the specified struct data to this struct.
[ { "docid": "ef6b39cc5abdc33352817ef2d0263cb2", "score": "0.0", "text": "public VkAndroidHardwareBufferPropertiesANDROID set(VkAndroidHardwareBufferPropertiesANDROID src) {\n memCopy(src.address(), address(), SIZEOF);\n return this;\n }", "title": "" } ]
[ { "docid": "a4d3ba191bf3776d1d9075f733c3f98d", "score": "0.6402237", "text": "public COPYDATASTRUCT(final Pointer memory) {\n super(memory);\n read();\n }", "title": "" }, { "docid": "9f4dd375676ef21a30c985212a9b2a57", "score": "0.630483", "text": "public void setOwnData(Data data);", "title": "" }, { "docid": "c0c473e0f94bfc74abed0d1cc0b80d30", "score": "0.6024234", "text": "public COPYDATASTRUCT(final long pointer) {\n this(new Pointer(pointer));\n }", "title": "" }, { "docid": "fc32d74c98ef461e57e25fe507ae9a80", "score": "0.6012673", "text": "public void setData(T data) {\n this.data = data;\n }", "title": "" }, { "docid": "6ad2b2470b639e2bf93a65048a317584", "score": "0.5979219", "text": "public void setData(T data) {\n\t\tthis.data = data;\n\t}", "title": "" }, { "docid": "67cc597049b965628d559b164b37f925", "score": "0.5973416", "text": "public void setData (Data data)\n\t{\n\t\t_data = data;\n\t}", "title": "" }, { "docid": "b13975f3fc47d5184b6d775204e103c8", "score": "0.5945993", "text": "public void setData(Object data) {\n this.data = data;\n }", "title": "" }, { "docid": "05b993e1b22bf5e4ce2523815a7250b1", "score": "0.592769", "text": "public void setData(T data){\n this.data = data;\n }", "title": "" }, { "docid": "ffdcd17521343f406264d2a1a813cff7", "score": "0.591077", "text": "private void setData(byte[] data) {\n this.data = data;\n object = null;\n if (data == null) {\n length = 0;\n }\n else {\n length = data.length;\n }\n }", "title": "" }, { "docid": "787637f21f38d3ae82cbdcf8a2011e1a", "score": "0.58647203", "text": "public void setData(final T data) {\n this.data = data;\n }", "title": "" }, { "docid": "7ffb9a79fc80b1810aac0c6f2fbe547c", "score": "0.58506495", "text": "void setData(D newData);", "title": "" }, { "docid": "28abc3e300935154196b6b83642bd082", "score": "0.5747376", "text": "private void setStruct(byte[] struct) {\n this.struct = struct;\n }", "title": "" }, { "docid": "67d0d8822a732d0d78312f6f5ed55871", "score": "0.5720775", "text": "public void set(byte[] buffer) {\n bt.copy(buffer, 0, struct, 0, struct.length);\n }", "title": "" }, { "docid": "c49ecee6c1c4fabb66d5835735c8f3ff", "score": "0.5677312", "text": "public void setData(D data);", "title": "" }, { "docid": "d97a12334ab1796c6ab85cf68073db69", "score": "0.56074935", "text": "public abstract void setPrivateData(TagContent data)\r\n\t\t\tthrows TagFormatException;", "title": "" }, { "docid": "c208c21052cce90f34d0099047cbdd39", "score": "0.55941373", "text": "private void setData(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n data_ = value;\n }", "title": "" }, { "docid": "799c1ae8dbbefb98b60dc44d2912baf4", "score": "0.5582626", "text": "public abstract void setData(Object data);", "title": "" }, { "docid": "a33d15a97b57823e2ab2dd63ae2e4e43", "score": "0.5559578", "text": "public void setData(byte[] data) {\r\n this.data = data;\r\n }", "title": "" }, { "docid": "1716bd1c1f67bca04933a38740c48ec6", "score": "0.555266", "text": "public void setData(Record data){\n this.data=data;\n }", "title": "" }, { "docid": "639aad7df1c92c84cc487c3933730b4c", "score": "0.5523183", "text": "@Override\r\n\tpublic void setData(byte[] data) {\n\t\tsuper.setData(data);\r\n\t}", "title": "" }, { "docid": "57b2fc002d7e468bf01187f6b3550dc7", "score": "0.55177414", "text": "public ModelImpl(Data data){\n\t\tthis.data = data;\n\t}", "title": "" }, { "docid": "60929178797404d5902133100e3873bf", "score": "0.55172765", "text": "public void setData (E data) {\r\n\t\tthis.data = data;\r\n\t}", "title": "" }, { "docid": "97df519caed353f7e4df34e6c12c8739", "score": "0.5499111", "text": "public R data(Object data) {\n this.setData(data);\n return this;\n }", "title": "" }, { "docid": "4b6f84c2b679d110410d5b83f4af187d", "score": "0.5490596", "text": "public void setData(byte[] data) {\n this.data = data;\n }", "title": "" }, { "docid": "4b6f84c2b679d110410d5b83f4af187d", "score": "0.5490596", "text": "public void setData(byte[] data) {\n this.data = data;\n }", "title": "" }, { "docid": "2b5c1ed8af27a6b7cb88559af9027b0b", "score": "0.5455647", "text": "public void setData( byte data[] )\r\n {\r\n this.data = data;\r\n }", "title": "" }, { "docid": "e66a1a8f8c6c4049693a8468794f7c72", "score": "0.545317", "text": "public void setData(byte[] data);", "title": "" }, { "docid": "23b89a3e532af071cdfef0bfcd6da419", "score": "0.54507047", "text": "public void setData(Package data) {\n this.data = data;\n }", "title": "" }, { "docid": "1eb1d8e667889cc51035f3f3507f47d6", "score": "0.54246527", "text": "public void setData(E data) {\n this.data = data;\n }", "title": "" }, { "docid": "1eb1d8e667889cc51035f3f3507f47d6", "score": "0.54246527", "text": "public void setData(E data) {\n this.data = data;\n }", "title": "" }, { "docid": "037e1a73f82a59a8aa565ac1ec2af2ab", "score": "0.54237777", "text": "public ICData (ICData dataset)\n\t{\n\t\t// Create a name for the new dataset\n\t\t_name = \"Copy.of.\" + dataset.getName();\n\t\n\t\t//Copy the list of attributes\n\t\t_attList = new ArrayList <ICAtt> ();\n\t\tObject [] attributes = dataset.attributes();\n\t\tfor (int i=0; i<attributes.length; i++)\n\t\t\tthis._attList.add(new ICAtt ((ICAtt)attributes[i]));\t\n\t\n\t\t//Copy the list of attributes\n\t\t_instances = new ArrayList <ICInst> ();\n\t\tObject [] instances = dataset.instances();\n\t\tfor (int i=0; i<instances.length; i++)\n\t\t\tthis._instances.add(new ICInst ((ICInst)instances[i]));\t\n\t\t\n\t\tif (dataset._classIndexes != null)\n\t\t{\n\t\t\t_classIndexes = new ArrayList <Integer> ();\n\t\t\tObject [] classes = dataset.getClassIndexes().toArray();\n\t\t\tfor (int i=0; i<classes.length;i++)\n\t\t\t\t_classIndexes.add(((Integer)classes[i]).intValue());\n\t\t}//if\n\t}", "title": "" }, { "docid": "11edf1da9065274e2a536b7279cf2e07", "score": "0.5409135", "text": "public synchronized void setData(byte[] data) {\n\t\tfor (int i = 0; i < 9; i++) {\n\t\t\tthis.data[i] = data[i];\n\t\t}\n\t}", "title": "" }, { "docid": "3e618aab2ca194e23088917a6993abd1", "score": "0.5402803", "text": "void setData(byte[] data) ;", "title": "" }, { "docid": "956402fd009ee5afe1d45e7c139c8b43", "score": "0.5368943", "text": "int appendStructureData(Structure s, StructureData sdata) throws IOException, InvalidRangeException;", "title": "" }, { "docid": "03ba8b9d25797ea9357733f042798bf9", "score": "0.5343697", "text": "private void setData(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n \n data_ = value;\n }", "title": "" }, { "docid": "03ba8b9d25797ea9357733f042798bf9", "score": "0.5343697", "text": "private void setData(com.google.protobuf.ByteString value) {\n java.lang.Class<?> valueClass = value.getClass();\n \n data_ = value;\n }", "title": "" }, { "docid": "d9c9ec92690e8bd758f44068fc3d8133", "score": "0.5334696", "text": "public static CompanyDO createCopy( CompanyDataStruct data )\n throws DatabaseManagerException, ObjectIdException {\n\tCompanyDO ret = new CompanyDO ();\n\tret.data = ( CompanyDataStruct ) data.duplicate();\n\treturn ret;\n }", "title": "" }, { "docid": "1c047a4ff5ffa1756a6c7633750f45b4", "score": "0.53337735", "text": "public void setData(E data){\n\t\tthis.data = data;\r\n\t}", "title": "" }, { "docid": "659c29794942f309bedd00d0b8eab948", "score": "0.53316987", "text": "void put(byte[] data) {\n if (this.data == null) {\n setData(data);\n } else {\n appendData(data);\n }\n }", "title": "" }, { "docid": "47875f261e19eb7c952ed553edf55fef", "score": "0.53314596", "text": "public DataPacket (PacketType type, Object data) {\n this.packetType = type;\n this.data = data;\n }", "title": "" }, { "docid": "cbaababebeffe60ff1c966bbfcde4e25", "score": "0.53243893", "text": "public void read(CorsoData data) throws CorsoDataException\r\n\t{\r\n\t\tStringBuffer name = new StringBuffer(\"\");\r\n\r\n\t\t//control expected struct size\r\n\t\tint arity = data.getStructTag(name);\r\n\t\tif (arity != structSize)\r\n\t\t{\r\n\t\t\tthrow new CorsoDataException();\r\n\t\t}\r\n\t\t//control expected struct name\r\n\t\tif (!name.toString().equals(structName))\r\n\t\t{\r\n\t\t\tthrow new CorsoDataException();\r\n\t\t}\r\n\r\n\t\t//read data\r\n\t\tfor (int i = 0; i < oidList.length; i++)\r\n\t\t{\r\n\t\t\toidList[i] = new CorsoVarOid();\r\n\t\t\tdata.getShareable(oidList[i]);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "90ef17105ebfbaa7b735e70cecd8319d", "score": "0.53089046", "text": "public void setData(List<T> data) {\n this.data = data;\n }", "title": "" }, { "docid": "3d689f79cbbc5175098ab14a9dee86a5", "score": "0.529905", "text": "public void setData(Object obj) {\n\t\t\n\t}", "title": "" }, { "docid": "6ccd701f96089b4b227e7e6031f10704", "score": "0.52958924", "text": "public node_data getCopy(){\r\n node_data n= new NodeData();\r\n ((NodeData)n).setKey(k);\r\n n.setTag(tag);\r\n n.setInfo(info);\r\n return n;\r\n }", "title": "" }, { "docid": "45a4a2430692e0952df72eec59084004", "score": "0.52896786", "text": "public void setData(String data) {\n // _data = data;\n }", "title": "" }, { "docid": "2dc05f90e36128922745d2ad083ba397", "score": "0.5280951", "text": "public void setData(Type data) throws DataTypeException {\r\n if (this.data != null) {\r\n if (!(this.data instanceof Primitive) || ((Primitive) this.data).getValue() != null) {\r\n ca.uhn.hl7v2.util.DeepCopy.copy(this.data, data);\r\n }\r\n }\r\n this.data = data;\r\n }", "title": "" }, { "docid": "45145aa12f7232b639597462251e1283", "score": "0.52666587", "text": "public void setData(CoronaData data) {\n\t\t\tfData = data;\n\t\t}", "title": "" }, { "docid": "d32ea5300ad71898b8ab5da94f554c6b", "score": "0.5251956", "text": "public MemberData(String new_name, String new_street, String new_city, String new_state, String new_zip) {\n super(new_name, new_street, new_city, new_state, new_zip);\n }", "title": "" }, { "docid": "5a398436a26c103bf49c18ff1ffa7cf5", "score": "0.52387315", "text": "public void makeCopy(DataElement otherElement)\r\n {\r\n ExtPerson temp = (ExtPerson) otherElement;\r\n setName(temp.getFirstName(), temp.getLastName());\r\n address.copyAddress(temp.address);\r\n \r\n dob.setDate(temp.dob.getMonth(), temp.dob.getDay(), temp.dob.getYear());\r\n \r\n phoneNumber = temp.phoneNumber;\r\n personStatus = temp.personStatus;\r\n }", "title": "" }, { "docid": "20db2486f42d228d0976fe0c3a280a57", "score": "0.523194", "text": "public void copy() {\n\t\tObject[] data = super.copyMediaData();\n\t\tAudioBook clone = new AudioBook((String)data[0],(String)data[1],(String)data[2],(String)data[3],((Boolean)data[4]).booleanValue(),((Integer)data[5]).intValue(),\n\t\t\t\tthis.author,this.narrator);\n\t}", "title": "" }, { "docid": "47a7c574aa1f8f627ea2a05749347e54", "score": "0.52025735", "text": "public void setData(E object)\n {\n this.data = object;\n }", "title": "" }, { "docid": "4f4489070db646b8f30a809341de3991", "score": "0.52005595", "text": "public GenericData clone() {\n return this.clone();\n }", "title": "" }, { "docid": "4f4489070db646b8f30a809341de3991", "score": "0.52005595", "text": "public GenericData clone() {\n return this.clone();\n }", "title": "" }, { "docid": "2869e7032c4104edb42f9103ca605b8e", "score": "0.5192715", "text": "public void setStruct(org.apache.axis2.databinding.types.soapencoding.Struct param){\n \n this.localStruct=param;\n \n\n }", "title": "" }, { "docid": "b07ad1b149dd1738eccbe1be9959d843", "score": "0.51886106", "text": "public Data set(String name, Data data) {\n\t\tint pos = getPosForName(name);\n\t\t\n\t\t//set entry into position\n\t\treturn set(pos, data);\n\t}", "title": "" }, { "docid": "61394178b02ebbe66f8fb6819ac712dd", "score": "0.51827705", "text": "public void setData(org.apache.roller.pojos.PersistentObject otherData) {\n WebsiteData other = (WebsiteData)otherData;\n \n this.id = other.getId();\n this.name = other.getName();\n this.handle = other.getHandle();\n this.description = other.getDescription();\n this.creator = other.getCreator();\n this.defaultPageId = other.getDefaultPageId();\n this.weblogDayPageId = other.getWeblogDayPageId();\n this.enableBloggerApi = other.getEnableBloggerApi();\n this.bloggerCategory = other.getBloggerCategory();\n this.defaultCategory = other.getDefaultCategory();\n this.editorPage = other.getEditorPage();\n this.blacklist = other.getBlacklist();\n this.allowComments = other.getAllowComments();\n this.emailComments = other.getEmailComments();\n this.emailAddress = other.getEmailAddress();\n this.emailFromAddress = other.getEmailFromAddress();\n this.editorTheme = other.getEditorTheme();\n this.locale = other.getLocale();\n this.timeZone = other.getTimeZone();\n this.defaultPlugins = other.getDefaultPlugins();\n this.enabled = other.getEnabled();\n this.dateCreated = other.getDateCreated();\n this.entryDisplayCount = other.getEntryDisplayCount();\n this.active = other.getActive();\n this.lastModified = other.getLastModified();\n }", "title": "" }, { "docid": "73e3b0a77ab44d0ee708140bcfa587c8", "score": "0.51783115", "text": "@Override\n public void extract(Data input) {\n data = input;\n }", "title": "" }, { "docid": "24b2fb88edb3fc5df3955b644c011228", "score": "0.5163212", "text": "@Override\n public void updateData(Object data) {\n\n }", "title": "" }, { "docid": "bb7f8cd6fdd6709725bfd427c74524fa", "score": "0.5156885", "text": "public void setInputData(RawDataInterface data);", "title": "" }, { "docid": "e9bc93b38a08e9bc401da05d2a940c87", "score": "0.5150383", "text": "public void put(byte [] data){\n buffer.put(data);\n }", "title": "" }, { "docid": "426af4a9ffdb77ebc17a0ee8f161fb6a", "score": "0.5147975", "text": "public void setData(Collection data)\r\n {\r\n _data = data;\r\n }", "title": "" }, { "docid": "baa9a4d593721181aa6f0786c3f6f99d", "score": "0.5141191", "text": "public static void main(String[] args){\n Data [] data = {new Data(\"Eroiko\", 98), new Data(\"Senjyougahara\", 99), new Data(\"Hanekawa\", 100)}; \n \n /* Copy methods */\n data[0].grade = 97; // notice the change\n \n /* Shallow copy : only assign the reference, rather than create a new array */\n \n // method 1 : System.arraycopy(sourceArray, sourceStartIndex, target, targetStartIndex, copyLength)\n int copyLength = data.length; // can freely change\n \n Data [] shallowSysCopy = new Data[copyLength];\n System.arraycopy(data, 0, shallowSysCopy, 0, copyLength);\n \n data[0].grade = 88; // notice the change\n \n for (var i : shallowSysCopy){\n System.out.printf(\"%s : %d\\n\", i.name, i.grade);\n }\n System.out.println();\n \n // method 2 : Arrays.copyOf(sourceArray, copyLength) will return the whole array\n Data [] shallowArrayCopy = Arrays.copyOf(data, data.length);\n\n data[0].grade = 77; // notice the change\n \n for (var i : shallowArrayCopy){\n System.out.printf(\"%s : %d\\n\", i.name, i.grade);\n }\n System.out.println();\n\n \n // method 3 : assign the array use \"=\"\n var shallowDirCopy = new Data[data.length]; // of course we can use \"var\"\n for (var i = 0; i < data.length; ++i){\n shallowDirCopy[i] = data[i];\n }\n\n data[0].grade = 66; // notice the change\n \n for (var i : shallowDirCopy){\n System.out.printf(\"%s : %d\\n\", i.name, i.grade);\n }\n System.out.println();\n \n /* Deep copy : create a new Array and assign values */\n var deepCopy = new Data[data.length];\n for (var i = 0; i < copyLength; ++i){\n deepCopy[i] = new Data(data[i].name, data[i].grade);\n }\n \n data[0].grade = 55; // now this won't effect to the new array deepCopy, i.e. I won't be flunked\n \n for (var i : deepCopy){\n System.out.printf(\"%s : %d\\n\", i.name, i.grade);\n }\n System.out.println();\n }", "title": "" }, { "docid": "641aae343e3e24158ffa31fca3518779", "score": "0.51208067", "text": "public void write(CorsoData data) throws CorsoDataException\r\n\t{\r\n\t\t//Struct anlegen, Namen und Größe angeben\r\n\t\tdata.putStructTag(structName, structSize);\r\n\r\n\t\t//Daten schreiben\r\n\t\tfor (int i = 0; i < oidList.length; i++)\r\n\t\t{\r\n\t\t\tdata.putShareable(oidList[i]);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "68221930bfca0cd1b95568a425f1e1a7", "score": "0.5118527", "text": "public void putData(byte[] data) throws MathLinkException;", "title": "" }, { "docid": "6fc8be16885dad529a179159db172c3e", "score": "0.51182735", "text": "public void setData(Vector newData)\n {\n data = newData;\n computeCols();\n }", "title": "" }, { "docid": "56b191d8ef2d7e9977e8ca3b16ca733b", "score": "0.5110798", "text": "void copy(UserInfo source) {\n assert (this.id == source.id) : \"Violation of copy semantics constraint! (this.id:\"+this.id+\" must be equal to source.id: \"+source.id;\n this.openid = source.openid;\n this.firstName = source.firstName;\n this.middleName = source.middleName;\n this.lastName = source.lastName;\n this.userName = source.userName;\n this.email = source.email;\n this.dn = source.dn;\n this.organization = source.organization;\n this.orgType = source.orgType;\n this.city = source.city;\n this.state = source.state;\n this.country = source.country;\n this.statusCode = source.statusCode;\n this.permissions = source.permissions;\n this.roleSet = source.roleSet;\n }", "title": "" }, { "docid": "74ae6187e46eff570f6b1348fbdbe5c5", "score": "0.51065975", "text": "public Block(String data,String previousHash ) \n\t{\n\t\tthis.data = data;\n\t\tthis.previousHash = previousHash;\n\t\tthis.timeStamp = new Date().getTime()/3600000;\n\t\tthis.hash = calculateHash(); //Making sure we do this after we set the other values.\n\t}", "title": "" }, { "docid": "e34fd87bfc690a2a31447fcb3d14a5e8", "score": "0.5098261", "text": "abstract public void setObject(Object data);", "title": "" }, { "docid": "8b99bd27c152e9089f2664a5f3e5f577", "score": "0.50870895", "text": "public Object setData(String pName, Object pData) {\n\t\tfor(int i = 0; i < this.Fields.length; i++) {\n\t\t\tif(!UObject.equal(pName, this.FieldNames[i])) continue;\n\t\t\tField F = this.Fields[i];\n\t\t\t\n\t\t\ttry { F.set(this.Obj, pData); return pData; }\n\t\t\tcatch(IllegalAccessException E) { throw new RuntimeException(\"There is an error setting the value of `\"+pName+\"` with '\"+pData+\"'.\", E); }\n\t\t\tcatch(NullPointerException E) { throw new RuntimeException(\"There is an error setting the value of `\"+pName+\"` with '\"+pData+\"'.\", E); }\n\t\t}\n\t\tthrow new RuntimeException(\"Unable to find the field `\"+pName+\"`.\");\n\t}", "title": "" }, { "docid": "263ea854a022e04919f94932ae8df41b", "score": "0.508655", "text": "private Builder(com.bdcor.util.temp2pdf.proto.PdfData other) {\n super(SCHEMA$);\n if (isValidValue(fields()[0], other.pdfData)) {\n this.pdfData = data().deepCopy(fields()[0].schema(), other.pdfData);\n fieldSetFlags()[0] = true;\n }\n }", "title": "" }, { "docid": "9c1674aa28fc2a6a9cff06ca7bba2720", "score": "0.50782824", "text": "public abstract void setData(Object newvalue);", "title": "" }, { "docid": "9c2a98531fb0e887597b0551721be34c", "score": "0.50762457", "text": "@SuppressWarnings(\"AccessingNonPublicFieldOfAnotherObject\")\r\n public void copy(XOpenXID from) {\r\n\r\n formatID = NULL_XID;\r\n if (from == null) {\r\n return;\r\n }\r\n\r\n if (from.formatID == NULL_XID) {\r\n return;\r\n }\r\n\r\n gtridLength = from.gtridLength;\r\n bqualLength = from.bqualLength;\r\n\r\n if (data != null && from.data != null) {\r\n System.arraycopy(from.data, 0, data, 0, XIDDATASIZE);\r\n }\r\n\r\n formatID = from.formatID; // Last, in case of failure\r\n }", "title": "" }, { "docid": "26adf83422b38e4fc5cfdff22c7b4253", "score": "0.50754917", "text": "public HistoryData(HistoryData orig) {\n this();\n title = orig.getTitle();\n uniqueName = orig.getUniqueName();\n copyVec(tableVector,orig.getTableVector());\n copyVec(objectVector,orig.getObjectVector());\n copyStringArrayVec(stringArrayVector ,orig.getStringArrayVector());\n searchSpecification = orig.getSearchSpecification();\n }", "title": "" }, { "docid": "bb107481a963b3a5a2a6b7972a283042", "score": "0.5074146", "text": "public final Object_ data(String data) {\n\t\tattr(\"data\", data);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "1ae3ae93174081ed4d245d1cb0adaffc", "score": "0.50696945", "text": "public void setData(E elem){\n\t\tdata = elem;\n\t}", "title": "" }, { "docid": "1ec0facb892a641a27f33a62c41be254", "score": "0.50689965", "text": "@Override\n\tprotected void getData() {\n\t\tmTankData = (TankData) ((TankData) getIntent().getSerializableExtra(Intent.EXTRA_TANK_DATA)).clone();\n\t}", "title": "" }, { "docid": "9cc4e6c350754b4721c8cbddb5e06031", "score": "0.50678784", "text": "public void setData(String data) {\r\n this.data = data;\r\n }", "title": "" }, { "docid": "9cc4e6c350754b4721c8cbddb5e06031", "score": "0.50678784", "text": "public void setData(String data) {\r\n this.data = data;\r\n }", "title": "" }, { "docid": "2f1be4c3b31b26a27419a9ed4ef07ca9", "score": "0.50656885", "text": "void setByteBufferReference(ByteBuffer data) {\n this.data = data;\n }", "title": "" }, { "docid": "d0bddb5c0951b937e8a1a65df8ee1547", "score": "0.50611997", "text": "public Node(T data) {\n this.data = data;\n }", "title": "" }, { "docid": "de302bd23c7f97a37fc5e7cace31f3af", "score": "0.5061049", "text": "public void setData(TripStop newData){\r\n if(newData == null)\r\n throw new IllegalArgumentException(\"Argument new data cannot be null.\");\r\n data.setLocation(newData.getLocation());\r\n data.setDistance(newData.getDistance());\r\n data.setActivity(newData.getActivity());\r\n }", "title": "" }, { "docid": "6bda54b45df914c2b6696345f086160b", "score": "0.5053853", "text": "public void setData(ProjectSummaryData data) {\r\n this.data = data;\r\n }", "title": "" }, { "docid": "f95f603c5637ef39fc7aa424694c10c7", "score": "0.5046063", "text": "public void setData(String data)\n {\n this.data = data;\n }", "title": "" }, { "docid": "ac150a381ad2f61919ed6d03a42b29c0", "score": "0.5041546", "text": "void setData(byte[] dat)\r\n\t{\r\n\t\tdata = new byte[528];\r\n\t\tassert(dat.length <= 128);\r\n\t\tdataSize = (byte) dat.length;\r\n\t\tfor(int i = 0; i < dat.length; i++)\r\n\t\t{\r\n\t\t\tdata[i] = dat[i];\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c7f3bfadd67f6cfd316aa4d2440ded96", "score": "0.50361294", "text": "public void setData(byte[] data, byte length)\n {\n _length = length;\n for (int j = 0; j < length; j++)\n {\n _data[j] = data[j];\n }\n }", "title": "" }, { "docid": "b0812d6846e1699464de799104edc79f", "score": "0.5034877", "text": "private void clearData() {\n \n data_ = getDefaultInstance().getData();\n }", "title": "" }, { "docid": "b0812d6846e1699464de799104edc79f", "score": "0.5034877", "text": "private void clearData() {\n \n data_ = getDefaultInstance().getData();\n }", "title": "" }, { "docid": "c75904da40720b79ac932b724a4e8b7d", "score": "0.50290376", "text": "private MeshData copyMeshData(final MeshData meshData) throws IOException {\n final ByteArrayOutputStream bos = new ByteArrayOutputStream();\n final BinaryExporter exporter = new BinaryExporter();\n exporter.save(meshData, bos);\n bos.flush();\n final ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());\n final BinaryImporter importer = new BinaryImporter();\n final Savable sav = importer.load(bis);\n return (MeshData) sav;\n }", "title": "" }, { "docid": "03783bf4af430820a183386b3f5a12d7", "score": "0.5025421", "text": "public void setData(String d) { data = d; }", "title": "" }, { "docid": "2a4c0f8ff3d98f213f7559980aadbe4c", "score": "0.5015553", "text": "public ObjectData(ObjectData od) {\n\n\t\tthis.name = od.name;\n\t\tthis.hashData = new Hashtable<SensorType, Data>();\n\n\t\tSet<SensorType> set = od.hashData.keySet();\n\t\tfor (SensorType sensor : set) {\n\t\t\tData d = od.hashData.get(sensor);\n\t\t\tthis.hashData.put(sensor, d);\n\t\t}\n\t}", "title": "" }, { "docid": "1c65e492c349436a0c6406ec75d2b633", "score": "0.5009031", "text": "public void setData(String data) {\n this.data = data;\n }", "title": "" }, { "docid": "1c65e492c349436a0c6406ec75d2b633", "score": "0.5009031", "text": "public void setData(String data) {\n this.data = data;\n }", "title": "" }, { "docid": "ac6587dbf1e7bf06b8d1af13bbd7a27e", "score": "0.5005855", "text": "public void setData(int address, byte[] data, int offset, int length);", "title": "" }, { "docid": "6dddcd3293f015d30f270c7b8fa0c27f", "score": "0.5005727", "text": "public void setOtherData(SnapshotDataBundle otherData) {\n _otherData = otherData;\n }", "title": "" }, { "docid": "f75ab884ca17e72b73e95cb6ede55874", "score": "0.4999977", "text": "public abstract void setData(byte[] data, ConnectionInfo connectionInfo);", "title": "" }, { "docid": "f857f0c9834431c10f866d724852c9a5", "score": "0.49884504", "text": "private void clearData() {\n \n data_ = getDefaultInstance().getData();\n }", "title": "" }, { "docid": "2d8d78cad524c21ec3c3035b4f12c31a", "score": "0.49807802", "text": "void setData(E data);", "title": "" }, { "docid": "061b7a739e77642f090e6681745d8bf5", "score": "0.4978423", "text": "public Chunk(CompoundTag data) {\n\t\tthis.data = data;\n\t\tinitReferences(ALL_DATA);\n\t}", "title": "" }, { "docid": "d2d14bbfe8faebb68597ad94fa62aa9b", "score": "0.49764317", "text": "@Override\n public void addData(Object data) {\n\n }", "title": "" }, { "docid": "506b205c1374d74cc3ccbb9fa3013af4", "score": "0.497493", "text": "public Builder setDataBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n data_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "52555fc312aeff956ab559e9eedaaa7b", "score": "0.49728912", "text": "public void setData(TripStop newData){\n\n\t\ttry{\n\t\t\tif(newData == null){\n\t\t\t\tthrow new IllegalArgumentException(\"Cannot be null value\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tthis.data = newData;\n\t\t\t}\n\t\t}\n\t\tcatch(IllegalArgumentException e){\n\t\t\tSystem.out.println(\"Cannot be null value\");\n\t\t}\n\t}", "title": "" } ]
0f5aa6ef409f1578643959da7b9f0133
/ access modifiers changed from: private / renamed from: e
[ { "docid": "2445df7d45239fdd7648cf1b8f0ea1b7", "score": "0.0", "text": "public boolean m49354e() {\n if (this.f29376Q != null) {\n int i = this.f29373N;\n if (!(i == -1 || i == 0 || i == 1)) {\n return true;\n }\n }\n return false;\n }", "title": "" } ]
[ { "docid": "ae7a07503113477e871c10d6261942da", "score": "0.6758114", "text": "public String a()\r\n/* 350: */ {\r\n/* 351:381 */ return this.item.e_(this);\r\n/* 352: */ }", "title": "" }, { "docid": "1ef33eef37400cefe8500c03d6a655f9", "score": "0.663872", "text": "@Override\n public void E() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.64554304", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6443093", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6384944", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "e5c5a8f8cf9ff8fe13e6c2c84d97c56b", "score": "0.6325945", "text": "@Override\n public void m1() throws E21 {}", "title": "" }, { "docid": "0d2653b618650b92c19ee5b36534ba38", "score": "0.62969935", "text": "private final zzbe zzae() {\n }", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.62777936", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.62592906", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0d3bf6f2ee77f787007ba6b4021b5721", "score": "0.6256511", "text": "protected void olha()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "daa5f496c8f0f870f389bb4913bbdc3c", "score": "0.6191196", "text": "public void epingler() {\n\n\t}", "title": "" }, { "docid": "1692eb0911f528154972505e384ed83a", "score": "0.6145874", "text": "@Override\n\tpublic void error(Exception e) {\n\t\t\n\t}", "title": "" }, { "docid": "1692eb0911f528154972505e384ed83a", "score": "0.6145874", "text": "@Override\n\tpublic void error(Exception e) {\n\t\t\n\t}", "title": "" }, { "docid": "29d782923f3cc1cdfcd7b08b86365a4a", "score": "0.61299276", "text": "public abstract int e();", "title": "" }, { "docid": "4e49f5db36ca664153e54380025b85d4", "score": "0.612866", "text": "protected boolean method_21825() {\n }", "title": "" }, { "docid": "c8f75a8f93bc20d4e8695ba99b470e1d", "score": "0.61181444", "text": "public void mo1684e() {\n }", "title": "" }, { "docid": "a544bb4b68c1ced79245024d63295d80", "score": "0.61166483", "text": "protected void veja()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "fbaa6d497d6e05d4e8628b77cb43e243", "score": "0.6106743", "text": "public abstract void mo38928e() throws C3636z;", "title": "" }, { "docid": "bd5185dc9ddd29a0aa7b5d4fa82f7a1a", "score": "0.6078139", "text": "public Element getElement() {\n/* 150 */ return this.e;\n/* */ }", "title": "" }, { "docid": "02f9f66eb3a150b29fe768d2ef8a613d", "score": "0.6077502", "text": "public void mo82414e() {\n }", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6064092", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "41e50fb9a0b417818374927eb02c67f1", "score": "0.60535187", "text": "protected void mo5608a() {\n }", "title": "" }, { "docid": "ffd8193c9cf73515d0f9301b9a7d8817", "score": "0.6052843", "text": "@Override\n\tpublic void morrer() {\n\n\t}", "title": "" }, { "docid": "e2ef362a4c6c4aa27790565b3d3d0b8d", "score": "0.6041647", "text": "public abstract void mo38938o() throws C3636z;", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.6040328", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "894c8539c713cd7bec687c8783f2ba54", "score": "0.6009081", "text": "public void mo5772e() {\n }", "title": "" }, { "docid": "4d94b514fd6aa9b92345ed7a0ae3b273", "score": "0.60054994", "text": "private void cekstok() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "d411a0186ed83cfec6bd73de6464b3dc", "score": "0.6004672", "text": "public abstract void mo38926d() throws C3636z;", "title": "" }, { "docid": "1be622be86fb0e32473d854eecc57371", "score": "0.59789807", "text": "public abstract void mo38924c() throws C3636z;", "title": "" }, { "docid": "283db9996d7813ea89833ec2a83c1ca9", "score": "0.59751034", "text": "private void apparence()\r\n\t\t{\r\n\t\t// rien\r\n\t\t}", "title": "" }, { "docid": "9eb3480fccf5bfbdd3a2b8b9e623e542", "score": "0.5972317", "text": "public abstract void mo23184a(C8879e eVar);", "title": "" }, { "docid": "6f653341cfc7d30c8418e4b72116f7e2", "score": "0.59571", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "b0c7a8544f5bf94e86710ba6e074e1d3", "score": "0.59413713", "text": "private EMF() {}", "title": "" }, { "docid": "7bebfb20044c56784d07afc38dd21533", "score": "0.5934614", "text": "@Override\r\n\tvoid being() {\n\t\t\r\n\t}", "title": "" }, { "docid": "967c7811ac21b778457cdfd016b1fa74", "score": "0.5917078", "text": "public final void mo12688e_() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.590087", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "4b0eba413d53c67a9bbf2b47e8805010", "score": "0.5900516", "text": "@Override\n\tpublic void onEvent(Event e) {\n\n\t}", "title": "" }, { "docid": "4b0eba413d53c67a9bbf2b47e8805010", "score": "0.5900516", "text": "@Override\n\tpublic void onEvent(Event e) {\n\n\t}", "title": "" }, { "docid": "24f5e9e5d90e7d3e2f30be6eeac46ab8", "score": "0.58788115", "text": "public void mo3786e() {\n }", "title": "" }, { "docid": "e11065556138f297307ea4143b2927c9", "score": "0.58714056", "text": "public abstract void mo38942s() throws C3636z;", "title": "" }, { "docid": "b1c19f800c122e39a75e79c8d4c70d82", "score": "0.58579594", "text": "public void mo5523a(Exception exc) {\n }", "title": "" }, { "docid": "6642bb338f6cf9e47c404f1cc0559a4c", "score": "0.5849885", "text": "public abstract void mo38923b() throws C3636z;", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.5840376", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "83e813a741a1f64e0d15e26d91a898cc", "score": "0.5833562", "text": "public abstract void mo38930g() throws C3636z;", "title": "" }, { "docid": "1a2944f0680091d687cdcc976ef47056", "score": "0.58244747", "text": "public abstract void mo38907a() throws C3636z;", "title": "" }, { "docid": "19b30f4f881d8f7b600c7c12f1c30963", "score": "0.5823763", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "38971797ace0da8bba3859f86ef394f8", "score": "0.5801299", "text": "public abstract void mo38934k() throws C3636z;", "title": "" }, { "docid": "be56f3b9269d996071de6538eb904fdf", "score": "0.5800716", "text": "private void ePIIV() {\n\n }", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.57984865", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.57984865", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.57984865", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "435fb9646ce9a490cc438b059bde6714", "score": "0.5794791", "text": "@Override\n\t\tprotected void onError(Exception e) {\n\t\t\tsuper.onError(e);\n\t\t}", "title": "" }, { "docid": "2bf6dfbf1d9b2a89580038e45e0d834b", "score": "0.5791107", "text": "public abstract void mo38929f() throws C3636z;", "title": "" }, { "docid": "6a2d646f1063e16faa8f7d43795df4a3", "score": "0.57890993", "text": "public int E() {\n \t return E;\n \t}", "title": "" }, { "docid": "b8d886581a76c72e11ab317e6cb6e2a8", "score": "0.57887024", "text": "@Override\r\n public void rechercher() {\n }", "title": "" }, { "docid": "6527effc431dac52b6dba729e0887c97", "score": "0.57882684", "text": "private Early()\r\n\t{}", "title": "" }, { "docid": "b141a6a74fe92e12b082efc29e55beed", "score": "0.5787386", "text": "protected void c() {}", "title": "" }, { "docid": "c457a5ed41ccaf9a78a1de8e2b4af03e", "score": "0.57755965", "text": "@Override\n\tpublic void morte()\n\t{\n\t}", "title": "" }, { "docid": "482b1825ec60700f97ed42e420d69d99", "score": "0.5768421", "text": "@Override\n\tpublic void valide() {\n\t}", "title": "" }, { "docid": "4dbb4eebc50974ee99af1c8939d76508", "score": "0.57619965", "text": "@Override\n\t\t\tprotected void onError(Exception e) {\n\t\t\t\tsuper.onError(e);\n\t\t\t}", "title": "" }, { "docid": "8ed85455170208b95135b63f138d27d2", "score": "0.5756113", "text": "public void catchEvent(Event e) {\n\t\t\n\t}", "title": "" }, { "docid": "0adb5f1f1c75684eab047201533dcfe7", "score": "0.5740911", "text": "protected void mo5609b() {\n }", "title": "" }, { "docid": "497d594e8be6a722a4577cf595b05d59", "score": "0.57387084", "text": "@Override\n\t\t\t\t\tpublic void onIOException(IOException e) {\n\n\t\t\t\t\t}", "title": "" }, { "docid": "497d594e8be6a722a4577cf595b05d59", "score": "0.57387084", "text": "@Override\n\t\t\t\t\tpublic void onIOException(IOException e) {\n\n\t\t\t\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.57379484", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.57379484", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "c04d9e60fbe95316b26cc28a00ac81f1", "score": "0.573691", "text": "@Override\r\n\tpublic void add(Object e) {\n\t}", "title": "" }, { "docid": "b21c24aae9b2f042e7f9405c55972194", "score": "0.5726293", "text": "E recuperar();", "title": "" }, { "docid": "f096fb135d2f2e86e9acc8604f38d461", "score": "0.57248753", "text": "private void ePIETT() {\n\n }", "title": "" }, { "docid": "6a18ac81225bf476e37309fe4a6e21af", "score": "0.57241297", "text": "public void mo8706a(C1846e eVar) {\n }", "title": "" }, { "docid": "a8f4d3149e0f7a43b23b53ce69363fd6", "score": "0.5718939", "text": "public void mo5202b() {\n }", "title": "" }, { "docid": "d19db205a6dfafb044d57228b6554e49", "score": "0.5718403", "text": "private void m61336a() {\n }", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.57119536", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "87a1055a954f8c5b50f427cb7e774a17", "score": "0.571141", "text": "private ERC()\n \t{\n \t\tsuper(\"erc\");\n \t}", "title": "" }, { "docid": "cb30c252e08851e931427fee456c4174", "score": "0.5710974", "text": "public E getElement ()\r\n {\r\n return this.e;\r\n }", "title": "" }, { "docid": "2b7d1682f489f3dbd055923c7920a9b1", "score": "0.5707519", "text": "public void mo109407l() {\n }", "title": "" }, { "docid": "1a85a4c5a476155df0f5052250a3fdbd", "score": "0.5701926", "text": "@Override\r\n\tpublic void ameliorationEnergie() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.57008934", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.57008934", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.57008934", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "cfcb446ef7d66d1f95eb004167e0be09", "score": "0.56948817", "text": "public abstract void mo38936m() throws C3636z;", "title": "" }, { "docid": "7726613d984d5a288cd382387f67c2d6", "score": "0.5679548", "text": "private interface C6907e {\n }", "title": "" }, { "docid": "dca610671cecbfacf2076905cd5e6a58", "score": "0.56752527", "text": "private void smth() {\n\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5673063", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "fcfbf321ff3e4c56b4e383ce15e49dbb", "score": "0.56722397", "text": "@Override\r\n\tpublic void obtersaida()\r\n\t{\n\t}", "title": "" }, { "docid": "cfd8af396d277bf2745a2780c542e4c2", "score": "0.566753", "text": "@Override\n public void error() {\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.5667523", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.5667523", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "39fc93a8afed8fd9587e1725b3dd1330", "score": "0.5665123", "text": "public void mo9673C_() {\n }", "title": "" }, { "docid": "39fc93a8afed8fd9587e1725b3dd1330", "score": "0.5665123", "text": "public void mo9673C_() {\n }", "title": "" }, { "docid": "bcdb509580c2e96697733e4e15b24a69", "score": "0.5659764", "text": "@Override\n public void onError(Exception excptn) {\n //throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "95b0ccdc9fe5d435952428ebfec538cd", "score": "0.5646035", "text": "@Override\n\tpublic void leti() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "dc5cc98145b1632093810126be5c12d8", "score": "0.5644208", "text": "@Override\r\n\t\t\tpublic void faild() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "3e1be2cd9b9ae264ee9b5bf0ed57b703", "score": "0.56432533", "text": "@Override\n\tpublic void onException(String arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.5641179", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.5641179", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.5641179", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "43ee337ef06d3a7021e080a61726a871", "score": "0.5628226", "text": "@Override\r\n\tpublic void set(E e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "fdcc5bb4978b51f08b328e919c859b5b", "score": "0.56267476", "text": "private Fachada() {\n\t\t\n\t}", "title": "" }, { "docid": "a46e663abb8570c121174f3358771925", "score": "0.5626144", "text": "private void m13516b() {\n }", "title": "" }, { "docid": "9b09ad4e3fbfdef55993cf011e99f28a", "score": "0.5623385", "text": "@Override\r\n\tpublic void m() {\n\t\t\r\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e04af9e6969abcbd282274420fe47855", "score": "0.0", "text": "@Override\n\tpublic void run() {\n\t\n\t\ttry {\n\t\t\t/*\n\t\t\t* 通过客户端的Socket获取客户端的输出流\n\t\t\t* 用来将消息发送给客户端\n\t\t\t*/\n\t\t\tSystem.out.println(\"线程启动\");\n\t\t\tPrintWriter pw = new PrintWriter(\n\t\t\t\tnew OutputStreamWriter(socket.getOutputStream(), \"UTF-8\"), true);\n\t\t\t\n\t\t\t/*\n\t\t\t* 将客户昵称和其所说的内容存入共享集合HashMap中\n\t\t\t*/\n\t\t\tname = getName();\n\t\t\tSystem.out.println(name);\n\t\t\tputIn(name, pw);\n\t\t\tThread.sleep(100);\n\t\t\t\n\t\t\t// 服务端通知所有客户端,某用户上线\n\t\t\tsendToAll(\"[系统通知] “\" + name + \"”已上线\");\n\t\t\t\n\t\t\t/*\n\t\t\t* 通过客户端的Socket获取输入流\n\t\t\t* 读取客户端发送来的信息\n\t\t\t*/\n\t\t\tBufferedReader bReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(socket.getInputStream(), \"UTF-8\"));\n\t\t\tString msgString = null;\n\t\t\t\n\t\t\t\n\t\t\twhile((msgString = bReader.readLine()) != null) {\n\t\t\t\tSystem.out.println();\n\t\t\t\t// 检验是否为私聊(格式:@昵称:内容)\n\t\t\t\tif(msgString.startsWith(\"@\")) {\n\t\t\t\t\tint index = msgString.indexOf(\":\");\n\t\t\t\t\tif(index >= 0) {\n\t\t\t\t\t\tSystem.out.println(\"进入私聊\");\n\t\t\t\t\t\t//获取昵称\n\t\t\t\t\t\tString theName = msgString.substring(1, index);\n\t\t\t\t\t\tString info = msgString.substring(index+1, msgString.length());\n\t\t\t\t\t\tinfo = name + \":\"+ info;\n\t\t\t\t\t\t//将私聊信息发送出去\n\t\t\t\t\t\tsendToSomeone(name, info);\n\t\t\t\t\t\tsendToSomeone(theName, info);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// 遍历所有输出流,将该客户端发送的信息转发给所有客户端\n\t\t\t\tSystem.out.println(name+\":\"+ msgString);\n\t\t\t\tsendToAll(name+\":\"+ msgString);\n\t\t\t}\t\n\t\t} catch (Exception e) {\n\t\t\t// e.printStackTrace();\n\t\t} finally {\n\t\t\tremove(name);\n\t\t\t// 通知所有客户端,某某客户已经下线\n\t\t\tsendToAll(\"[系统通知] \"+name + \"已经下线了。\");\n\t\t\t\n\t\t\tif(socket!=null) {\n\t\t\t\ttry {\n\t\t\t\t\tsocket.close();\n\t\t\t\t} catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b6c961814c14fa02879570fd7e65ac5", "score": "0.6769489", "text": "@Override\r\n\tpublic void scarica() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.6386922", "text": "public void mo27791d() {\n }", "title": "" }, { "docid": "051f88f1f94e36fab8ec66de1946f037", "score": "0.6287329", "text": "public void mo27794g() {\n }", "title": "" }, { "docid": "db4b95a4460fb609bcd3716b1a4b3e23", "score": "0.6283629", "text": "@Override\r\n\tpublic void compra() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5eb303064635f4909e997c3effe2511d", "score": "0.6265152", "text": "public void mo27792e() {\n }", "title": "" }, { "docid": "fdf6bcd763ea5f5b221fd5a7669d1afb", "score": "0.6262988", "text": "public void mo28805a() {\n }", "title": "" }, { "docid": "381ca210fc42b87f9b8af474719578a0", "score": "0.62538177", "text": "public void mo41489c() {\n }", "title": "" }, { "docid": "203e120e0c17c7a390717d0ca9ff147a", "score": "0.6252656", "text": "public void mo11316JX() {\n }", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "0b319072f0ae7225e83791b70ea23079", "score": "0.6200546", "text": "@Override\r\n\tpublic void ghhvhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9cfdb7a953eedd93829d98c1649d8fa2", "score": "0.6147232", "text": "@Override\r\n\tprotected void rodape() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a1d358ef8dde60480477b5c8b2359c6d", "score": "0.611178", "text": "@Override\n\tpublic void compra() {\n\t\t\n\t}", "title": "" }, { "docid": "81e2e665536902ef3310e7a034f112ea", "score": "0.6104965", "text": "@Override\r\n\tpublic void apagar()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "e6068b0200c883e42ca4379e8b4390f4", "score": "0.61018884", "text": "@Override\n\tpublic void ihtiyacGidermek() {\n\t\t\n\t}", "title": "" }, { "docid": "222e7b9d44422cda9de5df0085949df1", "score": "0.60770625", "text": "public void mo27793f() {\n }", "title": "" }, { "docid": "6fc1bc8405449cd5caa1d0d4cc253eff", "score": "0.6024395", "text": "public void mo27783b() {\n }", "title": "" }, { "docid": "7de2b9a1638739d8a552ea81162374f7", "score": "0.6023624", "text": "@Override\r\n\tpublic void trasation() {\n\t\t \r\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "39970aed3dc3a7bed24f03fb23731e78", "score": "0.6010486", "text": "@Override\r\n\tpublic void laufen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a46f6ccc5a2230632919d59213754a52", "score": "0.59971493", "text": "@Override\n\tpublic void grafikCizme() {\n\t\t\n\t}", "title": "" }, { "docid": "5a91ef0aa6990fc22e6e46d34355029e", "score": "0.59874135", "text": "@Override public void accionar() {\n\n }", "title": "" }, { "docid": "d673691f42a5a36d5d7e5d4f81aec55e", "score": "0.59567183", "text": "@Override\n\tpublic void reveiller() {\n\t\t\n\t}", "title": "" }, { "docid": "b048ca4f20a40ca0411a5330c06ce3d5", "score": "0.5952113", "text": "@Override\n\tpublic void infinteBatery() {\n\t\t\n\t}", "title": "" }, { "docid": "2bd910d11f3b18a5106b970f6e7e4c64", "score": "0.59445894", "text": "@Override\n\tpublic void Consulter() {\n\t\t\n\t}", "title": "" }, { "docid": "fa5eb14703b2a28ee4847f692d01e39d", "score": "0.59407693", "text": "@Override\r\n\tpublic void init() {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a94b5981fe7c5ead7e5156e8e7cb9cb5", "score": "0.59315324", "text": "@Override\r\n\tpublic void attribute() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9fe10a8f8c056afc50123cc1485a6fdc", "score": "0.5927387", "text": "@Override\n\tvoid comision() {\n\t\t\n\t}", "title": "" }, { "docid": "dd66e8668788d27519d44caeb83b0c44", "score": "0.59262717", "text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "ddafdd56d6d4b904d170e3608181850c", "score": "0.5918087", "text": "private void getArtefactId() {\n\t\t\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.59013426", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.58881694", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "53a77fe02ff8601b7f3a53009ccfd05c", "score": "0.58849895", "text": "public void designBasement() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0449d2500abd0eb1624d7773d0cf88dd", "score": "0.5881909", "text": "@Override\n\tpublic void ponisti() {\n\n\t}", "title": "" }, { "docid": "a21e7f5bc4a152c3cd6818af1be8ca7f", "score": "0.5877803", "text": "@Override\n\tpublic void accionar() {\n\t\t\n\t}", "title": "" }, { "docid": "b623306824ebd023ab9bf4fc0a66aaf3", "score": "0.5876838", "text": "public void mo5928c() {\n }", "title": "" }, { "docid": "8dbedd9965a878a9a7db1c5deb6a28cd", "score": "0.5871888", "text": "@Override\n public String toString() {\n return null;\n }", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.5854053", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.5838742", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "4cc23ec21a978357a8a06db5bbae181c", "score": "0.5834908", "text": "@Override\n\t\tpublic void beSporty() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "f02c338eb46eb5cdf9d19504df309595", "score": "0.58264196", "text": "public void mo28814l() {\n }", "title": "" }, { "docid": "2be71c02c2e214eecbe2c8bd5dfe8cb0", "score": "0.58237594", "text": "@Override\n\tpublic void fortify() {\n\t\t\n\t}", "title": "" }, { "docid": "b7e98de900f4657495e91d5ff4bd6bd6", "score": "0.58140445", "text": "@Override\r\n\tpublic void init(){\r\n\t}", "title": "" }, { "docid": "e8b6a10ed01f50fbe15d66c44e6b001f", "score": "0.58043116", "text": "public void mo28809c() {\n }", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.58032876", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "1a69d70e6e0ab03826da865edbaa2710", "score": "0.5802549", "text": "@Override\r\n public void init() {\n \r\n }", "title": "" }, { "docid": "89685a97be106c5e65406e42741d0ec3", "score": "0.5795489", "text": "public void mo1383a() {\n }", "title": "" }, { "docid": "de5480604ae54822ca3e3427911bb2b8", "score": "0.57932764", "text": "@Override\r\n public void muestra() {\r\n \r\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "812af2363c26b56566247f6bee5688a9", "score": "0.57931143", "text": "@Override\r\n\tprotected void cabecalho() {\n\t\t\r\n\t}", "title": "" }, { "docid": "630b43215e2b87f8b2bd389cae71f8a6", "score": "0.5789139", "text": "@Override\n\tprotected void dataAcquisition() {\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57740533", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "68ced9354b4e22b6351af0853a611a6c", "score": "0.57685226", "text": "@Override\n\tprotected void initDataReturn() {\n\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.576386", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.576386", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "4dad4a53c5b94a389679f4aa74f10e8b", "score": "0.576086", "text": "@Override\r\n\tprotected void update() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "627bf6ef88b45b88b902a23fc9a6eb2b", "score": "0.57533413", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "393237de9c40b0b47e9d2c845ed92ee5", "score": "0.57512337", "text": "public void mo45857a() {\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "791f5ad29d019a14317f5d7e2a069c65", "score": "0.57465565", "text": "@Override\n\tpublic void aprovar() {\n\n\t}", "title": "" }, { "docid": "60492bcc1b7f57299660c3da0f16ab25", "score": "0.57418126", "text": "@Override\n\tpublic void icmek() {\n\t\t\n\t}", "title": "" }, { "docid": "da5e9df869731b2ae1dfbbfdf12b8cd8", "score": "0.5735176", "text": "public void mo3351d() {\n }", "title": "" }, { "docid": "a2125c0cb9324db88e7561e4a64c5e39", "score": "0.5734662", "text": "@Override\n\tpublic void etiquetas() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "24127c1aaba5ab942240f052757a1aae", "score": "0.5722859", "text": "@Override\n \tpublic void getStatus() {\n \t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "2097402406ed48de16ed7ccfe28a85b4", "score": "0.57133764", "text": "public void mo5927b() {\n }", "title": "" }, { "docid": "03143ee9b26aa8a7d43576d479e4400a", "score": "0.5709887", "text": "public final void mo55685Zy() {\n }", "title": "" }, { "docid": "2fbf66fc78447a45c3f7ecb3924ab4b4", "score": "0.57051754", "text": "@Override\n public void initValue() {\n \n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "e1834e089677c260b4af3324391b3b67", "score": "0.5698954", "text": "public final void mo62463l() {\n }", "title": "" }, { "docid": "b42b054dfaac7d94036bce6ecf272a0e", "score": "0.56988037", "text": "private void pepe() {\n\t\t\n\t}", "title": "" }, { "docid": "09b27558b293ecd91a8d2d3a705d8a37", "score": "0.5676146", "text": "@Override\n\t\t\tpublic void c() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "86084419dce04a98c3acda092fe2ae36", "score": "0.5674851", "text": "@Override\r\n\t\t\tpublic void refresh() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.566569", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "aabd8322198752312581d89a3059f204", "score": "0.56625766", "text": "@Override\n \tpublic void create() {\n\n \t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "29f3cdbb287e40f98a8d2f36bba2f27b", "score": "0.56487125", "text": "@Override\n\tpublic int eixos() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "ce71f38a65a1456052420d8bdcb81b78", "score": "0.5647971", "text": "@Override\r\n\tprotected void reset()\r\n\t{\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\t}", "title": "" }, { "docid": "70d974abd496677a87c8807bf56e0a5b", "score": "0.56434053", "text": "@Override\n public void desenhar() {\n \n }", "title": "" }, { "docid": "dbdc1deb5da4aee65d17f30f15f26778", "score": "0.56416714", "text": "private void getParentArtefactId() {\n\t\t\n\t}", "title": "" }, { "docid": "1f81bdf0bcfef346d61145fbc2986fa6", "score": "0.56412745", "text": "@Override\r\n public String getName() {\n return null;\r\n }", "title": "" }, { "docid": "acbb02f47467f45f5ab2c3b2e5f7545d", "score": "0.5640882", "text": "public final void mo62452a() {\n }", "title": "" } ]
2ffa652024c41928be421b33a8ab5f0b
Don't generate schemas for private shapes or members of private shapes.
[ { "docid": "e156457fe055bd38c40e189bbc6a6124", "score": "0.65859014", "text": "private boolean isExcludedPrivateShape(ShapeIndex shapeIndex, Shape shape) {\n // We can explicitly enable the generation of private shapes if desired.\n if (getConfig().getBooleanMemberOrDefault(JsonSchemaConstants.SMITHY_INCLUDE_PRIVATE_SHAPES)) {\n return false;\n }\n\n return EffectiveTraitQuery.builder()\n .shapeIndex(shapeIndex)\n .traitClass(PrivateTrait.class)\n .inheritFromContainer(true)\n .build()\n .isTraitApplied(shape);\n }", "title": "" } ]
[ { "docid": "f123ba53de9e56967b2de732249e2ffc", "score": "0.59867054", "text": "public static void CreateSchema()\n {\n CreateLayers();\n CreateUsers();\n CreateControlAreas();\n }", "title": "" }, { "docid": "86962e0ad942d7b8dcd31f358ec207f4", "score": "0.5757039", "text": "@Test\n public void testOpenAPINormalizerRemoveAnyOfOneOfAndKeepPropertiesOnly() {\n OpenAPI openAPI = TestUtils.parseSpec(\"src/test/resources/3_0/removeAnyOfOneOfAndKeepPropertiesOnly_test.yaml\");\n\n Schema schema = openAPI.getComponents().getSchemas().get(\"Person\");\n assertEquals(schema.getAnyOf().size(), 2);\n\n Map<String, String> options = new HashMap<>();\n options.put(\"REMOVE_ANYOF_ONEOF_AND_KEEP_PROPERTIES_ONLY\", \"true\");\n OpenAPINormalizer openAPINormalizer = new OpenAPINormalizer(openAPI, options);\n openAPINormalizer.normalize();\n\n Schema schema3 = openAPI.getComponents().getSchemas().get(\"Person\");\n assertNull(schema.getAnyOf());\n }", "title": "" }, { "docid": "0db01e661f5f93c489c244a3ee890669", "score": "0.5669078", "text": "protected void defineSchema() {\n // Todo: override in child classes\n }", "title": "" }, { "docid": "c009da71e9521afd078f22b057e424ba", "score": "0.5667231", "text": "@Override\r\n public AccessControlSchema getEmptySchema() {\r\n schema_object = new SimpleSchema();\r\n return schema_object;\r\n }", "title": "" }, { "docid": "146effcbaaaab59240af2e936a506c28", "score": "0.55955935", "text": "@Override\n\tpublic void parseSchema() {\n\t}", "title": "" }, { "docid": "775fc6cd63b7aa44b9bd621f65eaf551", "score": "0.5509564", "text": "@Override\n public void checkSchema(ResourceSchema s) throws IOException {\n // default implementation is a no-op\n }", "title": "" }, { "docid": "d71967bcd42a63fc74fe7e64f20e8aaa", "score": "0.5427618", "text": "@Test(expected=UnsupportedOperationException.class)\n\tpublic void testNoDetachSchema() {\n\t\tprops.setOptimistic(true);\n\t\t//TODO implement\n//\t\tPersistenceManager pm = TestTools.openPM(props);\n//\t\tpm.setDetachAllOnCommit(true);\n//\t\tpm.currentTransaction().begin();\n//\t\t\n//\t\tZooSchema s = ZooJdoHelper.schema(pm);\n//\t\ts.addClass(TestClassTiny.class);\n//\t\t\n//\t\tpm.currentTransaction().commit();\n//\t\tpm.currentTransaction().begin();\n//\t\t\n//\t\tassertNotNull(s.getClass(TestClassTiny.class));\n//\t\ttry {\n//\t\t\ts.addClass(TestClassTiny.class);\n//\t\t\tfail();\t\t\n//\t\t} catch (JDOUserException e) {\n//\t\t\t//good, is already defined\n//\t\t}\n//\t\t\n//\t\tpm.currentTransaction().commit();\n//\t\tTestTools.closePM();\n\t}", "title": "" }, { "docid": "bfbb84b2bb31c4199983693dbc004bb7", "score": "0.5318525", "text": "private void emptyTrueSchema(SchemaWrapper wrapper) {\n if (!(EmptySchema.INSTANCE.equals(original) // ||\n // TrueSchema.INSTANCE.equals(original)\n )) {\n ctx.addDifference(SUBSCHEMA_TYPE_CHANGED_TO_EMPTY_OR_TRUE, original, wrapper);\n // Change to empty schema is backwards compatible\n }\n }", "title": "" }, { "docid": "2e2634c7640c80ef41530a7470dd77a9", "score": "0.52903676", "text": "private SchemaDocument doConversion(ShapeIndex shapeIndex, Shape rootShape) {\n if (softRefStrategy || refStrategy == null) {\n softRefStrategy = true;\n refStrategy = RefStrategy.createDefaultDeconflictingStrategy(shapeIndex, getConfig());\n }\n\n // Combine custom mappers with the discovered mappers and sort them.\n mappers.sort(Comparator.comparing(JsonSchemaMapper::getOrder));\n\n SchemaDocument.Builder builder = SchemaDocument.builder();\n JsonSchemaShapeVisitor visitor = new JsonSchemaShapeVisitor(\n shapeIndex, getConfig(), getRefStrategy(), getPropertyNamingStrategy(), mappers);\n\n if (rootShape != null && !(rootShape instanceof ServiceShape)) {\n builder.rootSchema(rootShape.accept(visitor));\n }\n\n addExtensions(builder);\n Predicate<Shape> predicate = composePredicate(shapeIndex, rootShape);\n shapeIndex.shapes()\n .filter(predicate)\n // Don't include members if their container was excluded.\n .filter(shape -> memberDefinitionPredicate(shapeIndex, shape, predicate))\n // Create the pointer to the shape and schema object.\n .map(shape -> Pair.of(\n getRefStrategy().toPointer(shape.getId(), getConfig()),\n shape.accept(visitor)))\n .forEach(pair -> builder.putDefinition(pair.getLeft(), pair.getRight()));\n\n return builder.build();\n }", "title": "" }, { "docid": "6d6529f2dc88e7d1b2c350c5a75f7e7b", "score": "0.52630043", "text": "private boolean isSchemaValid()\n\t{\n\t\treturn true;\n\t}", "title": "" }, { "docid": "51958b62082695b135aa0186ac496845", "score": "0.524528", "text": "@Override\n public void validateSchema(TopicName topic, RawSchema rawSchema) {\n }", "title": "" }, { "docid": "311142b6e41e6fc5ed2ba4b1aea9391d", "score": "0.5242943", "text": "public void unsetSchema() throws VisitorException {\n mIsSchemaComputed = false;\n mSchema = null;\n }", "title": "" }, { "docid": "17aac089b1dde76480ee2555e289da90", "score": "0.5235053", "text": "@Test\n public void testSetDocumentClassVisibilityForPackage_removed() throws Exception {\n SetSchemaRequest request =\n new SetSchemaRequest.Builder().addDocumentClasses(Card.class).build();\n assertThat(request.getSchemasVisibleToPackages()).isEmpty();\n\n request =\n new SetSchemaRequest.Builder()\n .addDocumentClasses(Card.class)\n // First set it as visible\n .setDocumentClassVisibilityForPackage(Card.class, /*visible=*/\n true, new PackageIdentifier(\"com.package.foo\",\n /*sha256Certificate=*/ new byte[]{100}))\n // Then make it not visible\n .setDocumentClassVisibilityForPackage(Card.class, /*visible=*/\n false, new PackageIdentifier(\"com.package.foo\",\n /*sha256Certificate=*/ new byte[]{100}))\n .build();\n\n // Nothing should be visible.\n assertThat(request.getSchemasVisibleToPackages()).isEmpty();\n }", "title": "" }, { "docid": "9d2cff7fd1890ed58b9ccffc4da1eec9", "score": "0.52297986", "text": "public void realizeJsonSchema() throws PgSchemaException {\n\n\t\tswitch (jsonb.type) {\n\t\tcase object:\n\t\t\trealizeObjJsonSchema();\n\t\t\treturn;\n\t\tcase column:\n\t\t\trealizeColJsonSchema();\n\t\t\treturn;\n\t\tdefault:\n\t\t}\n\n\t\thasRootTable();\n\n\t\tjsonb.writeStartDocument(true);\n\t\tjsonb.writeStartSchema(def_namespaces, def_anno_appinfo, def_anno_doc);\n\n\t\ttables.stream().filter(table -> table.content_holder).sorted(Comparator.comparingInt(table -> table.order)).forEach(table -> realizeJsonSchema(table, 2));\n\n\t\tjsonb.writeEndSchema();\n\t\tjsonb.writeEndDocument();\n\n\t\tjsonb.print();\n\n\t\t// no support on conditional attribute\n\n\t\ttables.stream().filter(table -> table.content_holder).forEach(table -> {\n\n\t\t\ttable.fields.stream().filter(field -> field.simple_attr_cond).forEach(field -> {\n\n\t\t\t\tString cont_name = table.name + \".\" + field.name;\n\t\t\t\tString attr_name = getForeignTable(field).fields.stream().filter(foreign_field -> foreign_field.nested_key_as_attr).findFirst().get().foreign_table_xname + \"/@\" + field.foreign_table_xname;\n\n\t\t\t\tSystem.err.println(\"[WARNING] Simple content \\\"\" + (jsonb.case_sense ? cont_name : cont_name.toLowerCase()) + \"\\\" may be confused with attribute \\\"\" + (jsonb.case_sense ? attr_name : attr_name.toLowerCase()) + \"\\\" in relational-oriented JSON format.\");\n\n\t\t\t});\n\n\t\t});\n\n\t}", "title": "" }, { "docid": "d456ffdc079733ba4d157e614d433f64", "score": "0.51974416", "text": "private void createSchema() throws SQLException {\n\t\tsqlCommands.createSchema(getConnection());\n\t}", "title": "" }, { "docid": "557a375ad50858882863e1b59fa7c670", "score": "0.5162843", "text": "public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException {\n/* 7866 */ return false;\n/* */ }", "title": "" }, { "docid": "2bee1889e7901cc3fa38fd2bd258f413", "score": "0.51544005", "text": "boolean hasSchema();", "title": "" }, { "docid": "116f9df83351bfcc89b0385d17627d8e", "score": "0.51383895", "text": "Schema schema();", "title": "" }, { "docid": "7ae443850d5ca9a6833ea326f7ded2c6", "score": "0.513144", "text": "public void realizeObjJsonSchema() throws PgSchemaException {\n\n\t\thasRootTable();\n\n\t\tjsonb.writeStartDocument(true);\n\t\tjsonb.writeStartSchema(def_namespaces, def_anno_appinfo, def_anno_doc);\n\n\t\tint json_indent_level = 2;\n\n\t\tif (!root_table.virtual) {\n\n\t\t\tjsonb.writeStartSchemaTable(root_table, json_indent_level);\n\t\t\tjson_indent_level += 2;\n\n\t\t}\n\n\t\tint _json_indent_level = json_indent_level;\n\n\t\tList<PgField> fields = root_table.fields;\n\n\t\tfields.stream().filter(field -> field.jsonable).forEach(field -> jsonb.writeSchemaField(field, false, true, false, _json_indent_level));\n\n\t\tint[] list_id = { 0 };\n\n\t\tfields.stream().filter(field -> field.nested_key).forEach(field -> realizeObjJsonSchema(root_table, getForeignTable(field), field.nested_key_as_attr, list_id[0]++, root_table.nested_fields, _json_indent_level));\n\n\t\tif (!root_table.virtual)\n\t\t\tjsonb.writeEndSchemaTable(root_table, false);\n\n\t\tjsonb.writeEndSchema();\n\t\tjsonb.writeEndDocument();\n\n\t\tjsonb.print();\n\n\t}", "title": "" }, { "docid": "74616232f2a5714d7dede607456c8f8e", "score": "0.51314354", "text": "private ShapeFactory() {}", "title": "" }, { "docid": "71bc90a94c4b419b999978ee7cc25d61", "score": "0.5045295", "text": "public SchemaGenerationSource getSchemaGenerationDrop();", "title": "" }, { "docid": "4e3a3d4bd57fb5c129a63815b728967e", "score": "0.49989906", "text": "@Test\n public void testSetDocumentClassVisibilityForPackage_deduped() throws Exception {\n SetSchemaRequest request =\n new SetSchemaRequest.Builder().addDocumentClasses(Card.class).build();\n assertThat(request.getSchemasVisibleToPackages()).isEmpty();\n\n PackageIdentifier packageIdentifier = new PackageIdentifier(\"com.package.foo\",\n new byte[]{100});\n Map<String, Set<PackageIdentifier>> expectedVisibleToPackagesMap = new ArrayMap<>();\n expectedVisibleToPackagesMap.put(\"Card\", Collections.singleton(packageIdentifier));\n\n request =\n new SetSchemaRequest.Builder()\n .addDocumentClasses(Card.class)\n .setDocumentClassVisibilityForPackage(Card.class, /*visible=*/\n true, packageIdentifier)\n .setDocumentClassVisibilityForPackage(Card.class, /*visible=*/\n true, packageIdentifier)\n .build();\n assertThat(request.getSchemasVisibleToPackages()).containsExactlyEntriesIn(\n expectedVisibleToPackagesMap);\n }", "title": "" }, { "docid": "9c0a83f7d77151af16d24a0a9c63be11", "score": "0.49912775", "text": "public void checkTypeDerivationIsOK(SchemaType base, int block) throws SchemaException;", "title": "" }, { "docid": "98392665e79e8dee0c61f7e7995536f3", "score": "0.49797964", "text": "protected org.apache.spark.sql.types.StructType createSchema (org.apache.spark.sql.catalyst.parser.SqlBaseParser.ColTypeListContext ctx) { throw new RuntimeException(); }", "title": "" }, { "docid": "f83f8bf6384d12077dea76affb5f71f1", "score": "0.49649522", "text": "@Override\n public void schemasAvailable(Collection<Long> schemas) {\n }", "title": "" }, { "docid": "c5a50a1414ff55736a0ee3107787daca", "score": "0.4954338", "text": "private synchronized void registerPrimitiveSchemas() throws IOException {\n int expectedSchemaId = 0;\n LOG.debug(\"Pre-registering primitive schema types.\");\n for (PreRegisteredSchema desc : PreRegisteredSchema.values()) {\n final Schema schema = Schema.create(desc.getType());\n Preconditions.checkState(getOrCreateSchemaId(schema) == expectedSchemaId);\n Preconditions.checkState(desc.getSchemaId() == expectedSchemaId);\n expectedSchemaId += 1;\n }\n Preconditions.checkState(expectedSchemaId == PRE_REGISTERED_SCHEMA_COUNT);\n }", "title": "" }, { "docid": "83abfa4fd744003129ec5514a0c541c3", "score": "0.49530602", "text": "public abstract Schema getSchema() throws FrontendException;", "title": "" }, { "docid": "9db01b4c78f740d2b7d018a365549ca6", "score": "0.49390396", "text": "public void disallowPublicVisibility() {\n allowsPublicVisibility = false;\n }", "title": "" }, { "docid": "c0cd6bce36c47f9331cbd68c30d0e6a7", "score": "0.4923725", "text": "public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "7fb7c74d018bbea2a6ed3bd29616e257", "score": "0.49099454", "text": "boolean hasSchemaId();", "title": "" }, { "docid": "2ce9c740282fa8521e82944ca77ace20", "score": "0.49059644", "text": "public boolean isNoSchemaId() {\r\n return noSchemaId;\r\n }", "title": "" }, { "docid": "ad2fee55a18d8fda11151515ff33fa47", "score": "0.48939705", "text": "@Test\n public void testOpenAPINormalizerRefactorAllOfWithPropertiesOnly() {\n OpenAPI openAPI = TestUtils.parseSpec(\"src/test/resources/3_0/allOf_extension_parent.yaml\");\n\n ComposedSchema schema = (ComposedSchema) openAPI.getComponents().getSchemas().get(\"allOfWithProperties\");\n assertEquals(schema.getAllOf().size(), 1);\n assertEquals(schema.getProperties().size(), 2);\n assertEquals(((Schema) schema.getProperties().get(\"isParent\")).getType(), \"boolean\");\n assertEquals(((Schema) schema.getProperties().get(\"mum_or_dad\")).getType(), \"string\");\n\n Map<String, String> options = new HashMap<>();\n options.put(\"REFACTOR_ALLOF_WITH_PROPERTIES_ONLY\", \"true\");\n OpenAPINormalizer openAPINormalizer = new OpenAPINormalizer(openAPI, options);\n openAPINormalizer.normalize();\n\n Schema schema2 = openAPI.getComponents().getSchemas().get(\"allOfWithProperties\");\n assertEquals(schema2.getAllOf().size(), 2);\n assertNull(schema2.getProperties());\n\n Schema newSchema = (Schema) (schema2.getAllOf().get(1));\n assertEquals(((Schema) newSchema.getProperties().get(\"isParent\")).getType(), \"boolean\");\n assertEquals(((Schema) newSchema.getProperties().get(\"mum_or_dad\")).getType(), \"string\");\n assertEquals(newSchema.getRequired().get(0), \"isParent\");\n }", "title": "" }, { "docid": "16dd77d131cfc89484abde4708329470", "score": "0.48712286", "text": "public boolean supportsSchemasInDataManipulation() throws SQLException {\n/* 7844 */ return false;\n/* */ }", "title": "" }, { "docid": "54ea8c53510231811710e73e5f0a0afc", "score": "0.4845448", "text": "@Test\n public void testOpenAPINormalizerSimplifyOneOfAnyOf() {\n OpenAPI openAPI = TestUtils.parseSpec(\"src/test/resources/3_0/simplifyOneOfAnyOf_test.yaml\");\n\n Schema schema = openAPI.getComponents().getSchemas().get(\"AnyOfTest\");\n assertEquals(schema.getAnyOf().size(), 4);\n assertNull(schema.getNullable());\n\n Schema schema2 = openAPI.getComponents().getSchemas().get(\"OneOfTest\");\n assertEquals(schema2.getOneOf().size(), 4);\n assertNull(schema2.getNullable());\n\n Schema schema5 = openAPI.getComponents().getSchemas().get(\"OneOfNullableTest\");\n assertEquals(schema5.getOneOf().size(), 3);\n assertNull(schema5.getNullable());\n\n Schema schema7 = openAPI.getComponents().getSchemas().get(\"Parent\");\n assertEquals(((Schema) schema7.getProperties().get(\"number\")).getAnyOf().size(), 1);\n\n Map<String, String> options = new HashMap<>();\n options.put(\"SIMPLIFY_ONEOF_ANYOF\", \"true\");\n OpenAPINormalizer openAPINormalizer = new OpenAPINormalizer(openAPI, options);\n openAPINormalizer.normalize();\n\n Schema schema3 = openAPI.getComponents().getSchemas().get(\"AnyOfTest\");\n assertNull(schema3.getAnyOf());\n assertTrue(schema3 instanceof StringSchema);\n assertTrue(schema3.getNullable());\n\n Schema schema4 = openAPI.getComponents().getSchemas().get(\"OneOfTest\");\n assertNull(schema4.getOneOf());\n assertTrue(schema4 instanceof IntegerSchema);\n assertTrue(schema4.getNullable());\n\n Schema schema6 = openAPI.getComponents().getSchemas().get(\"OneOfNullableTest\");\n assertEquals(schema6.getOneOf().size(), 2);\n assertTrue(schema6.getNullable());\n\n Schema schema8 = openAPI.getComponents().getSchemas().get(\"Parent\");\n assertEquals(((Schema) schema8.getProperties().get(\"number\")).get$ref(), \"#/components/schemas/Number\");\n }", "title": "" }, { "docid": "5759246d946b0d8a34721f67b399d813", "score": "0.48287576", "text": "public boolean supportsSchemasInDataManipulation() throws SQLException {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "562bc970f65788437cb984c7a3ccf459", "score": "0.4821787", "text": "@ConfigurationProperty(order = 17, displayMessageKey = \"NO_SCHEMA_ID_DISPLAY\",\r\n helpMessageKey = \"NO_SCHEMA_ID_HELP\")\r\n public void setNoSchemaId(boolean noSchemaId) {\r\n this.noSchemaId = noSchemaId;\r\n }", "title": "" }, { "docid": "cc60c777134f07b78444f2d7ebc1cdb9", "score": "0.48210424", "text": "private DefaultSchema() {\n super(\"\", null);\n }", "title": "" }, { "docid": "cc60c777134f07b78444f2d7ebc1cdb9", "score": "0.48210424", "text": "private DefaultSchema() {\n super(\"\", null);\n }", "title": "" }, { "docid": "cc60c777134f07b78444f2d7ebc1cdb9", "score": "0.48210424", "text": "private DefaultSchema() {\n super(\"\", null);\n }", "title": "" }, { "docid": "d6eea2faa15c7db3082d88840aab18b5", "score": "0.48144087", "text": "public void forceSchema(Schema schema) {\n this.mSchema = schema;\n }", "title": "" }, { "docid": "bcc88d7fe13967c58b6084634c8267c6", "score": "0.48098385", "text": "public void createSchema(FeatureType featureType) throws IOException {\n if (!isLocal()) {\n throw new IOException(\n \"Cannot create FeatureType on remote shapefile\");\n }\n\n clear();\n schema = featureType;\n\n CoordinateReferenceSystem cs = featureType.getDefaultGeometry()\n .getCoordinateSystem();\n\n long temp = System.currentTimeMillis();\n\n if (isLocal()) {\n Class geomType = featureType.getDefaultGeometry().getType();\n ShapeType shapeType;\n\n if (Point.class.isAssignableFrom(geomType)) {\n shapeType = ShapeType.POINT;\n } else if (MultiPoint.class.isAssignableFrom(geomType)) {\n shapeType = ShapeType.MULTIPOINT;\n } else if (LineString.class.isAssignableFrom(geomType)\n || MultiLineString.class.isAssignableFrom(geomType)) {\n shapeType = ShapeType.ARC;\n } else if (Polygon.class.isAssignableFrom(geomType)\n || MultiPolygon.class.isAssignableFrom(geomType)) {\n shapeType = ShapeType.POLYGON;\n } else {\n // can't determine what type because type is Geometry so just return.\n return;\n }\n\n FileChannel shpChannel = (FileChannel) getWriteChannel(getStorageURL(\n shpURL, temp));\n FileChannel shxChannel = (FileChannel) getWriteChannel(getStorageURL(\n shxURL, temp));\n\n ShapefileWriter writer = null;\n\n try {\n \twriter = new ShapefileWriter(shpChannel, shxChannel, readWriteLock);\n ReferencedEnvelope env = new ReferencedEnvelope(new Envelope(-179, 179, -89, 89), DefaultGeographicCRS.WGS84);\n ReferencedEnvelope transformedBounds;\n\n if (cs != null) {\n try {\n transformedBounds = env.transform(cs, true);\n } catch (Exception e) {\n cs = null;\n transformedBounds = env;\n }\n } else {\n transformedBounds = env;\n }\n\n writer.writeHeaders(transformedBounds, shapeType, 0, 100);\n } finally {\n \tif( writer!=null )\n writer.close();\n }\n\n DbaseFileHeader dbfheader = createDbaseHeader(featureType);\n\n dbfheader.setNumRecords(0);\n\n WritableByteChannel writeChannel = getWriteChannel(getStorageURL(\n dbfURL, temp));\n\n try {\n dbfheader.writeHeader(writeChannel);\n } finally {\n writeChannel.close();\n }\n }\n\n if (cs != null) {\n String s = cs.toWKT();\n //.prj files should have no carriage returns in them, this messes up\n //ESRI's ArcXXX software, so we'll be compatible\n s = s.replaceAll(\"\\n\", \"\").replaceAll(\" \", \"\");\n \n FileWriter out = new FileWriter(getStorageFile(prjURL, temp));\n try {\n out.write(s);\n } finally {\n out.close();\n }\n }\n\n copyAndDelete(shpURL, temp);\n copyAndDelete(shxURL, temp);\n copyAndDelete(dbfURL, temp);\n if (!prjURL.equals(\"\")) {\n \ttry{\n\t\t\tcopyAndDelete(prjURL, temp);\n \t}catch(FileNotFoundException e){\n \t\tLOGGER.warning(\".prj could not be created.\");\n \t}\n\t}\n }", "title": "" }, { "docid": "3f51ffb8acd02d82d2f549b1465081d3", "score": "0.48013875", "text": "boolean hasNoStandardDescriptorAccessor();", "title": "" }, { "docid": "13a40bcf60ee44facd1747612908fdfa", "score": "0.4791393", "text": "public boolean supportsSchemasInProcedureCalls() throws SQLException {\n/* 7877 */ return false;\n/* */ }", "title": "" }, { "docid": "ef8a80f5d2afd55c1e60d2b9981dd972", "score": "0.4788746", "text": "public Schema() {\n \t\n \t\tthis.typeDefinitionListMap = new LinkedHashMap<>();\n \t\tthis.typeNamespaceListMap = new LinkedHashMap<>();\n }", "title": "" }, { "docid": "07d5e5d8107bd01975bec94bc7a9d93d", "score": "0.4782535", "text": "@Override\n\tpublic String getSchema() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4df8005c5f9d255c5d45aa80c9a00a57", "score": "0.47797978", "text": "public void setGenerateCandidateDefinitionsOnly(Boolean generateCandidateDefinitionsOnly) {\n this.generateCandidateDefinitionsOnly = generateCandidateDefinitionsOnly;\n }", "title": "" }, { "docid": "358bb49b4901d086a6fba8a9e4de99e2", "score": "0.47773007", "text": "protected ShapeUtil() {\n }", "title": "" }, { "docid": "d33ace45d1afb51e363c5b9791d758ac", "score": "0.47633207", "text": "public void markAsNonPersistentFactoryBuilder() {\n templateValidation=false;\n }", "title": "" }, { "docid": "0d10d1a47394fa97b7e7f2d1632c7026", "score": "0.47632343", "text": "@Override\n public Optional<Draft4Schema> getNotSchema() {\n return notSchema().map(this::asType);\n }", "title": "" }, { "docid": "63de89e140720c9d72d233ecbe77a80e", "score": "0.47627783", "text": "private SolrSchema() {\n }", "title": "" }, { "docid": "d3a4eeb15ffe31e5cc0c75943274ea65", "score": "0.47618058", "text": "public static boolean isGeneratable(Schema s) {\n if (s == null || s.size() == 0) {\n return false;\n }\n\n for (Schema.FieldSchema fs : s.getFields()) {\n if (fs.type == DataType.TUPLE && !isGeneratable(fs.schema)) {\n return false;\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "9564979e1b7dfc5f4634cde7bfe3500c", "score": "0.47561276", "text": "@Test\n public void testOpenAPINormalizerDisableAll() {\n OpenAPI openAPI = TestUtils.parseSpec(\"src/test/resources/3_0/convertEnumNullToNullable_test.yaml\");\n\n // before test\n Schema schema = openAPI.getComponents().getSchemas().get(\"AnyOfTest\");\n assertEquals(schema.getAnyOf().size(), 4);\n assertNull(schema.getNullable());\n\n Map<String, String> options = new HashMap<>();\n options.put(\"DISABLE_ALL\", \"true\");\n OpenAPINormalizer openAPINormalizer = new OpenAPINormalizer(openAPI, options);\n openAPINormalizer.normalize();\n\n // checks should be the same after test\n Schema schema3 = openAPI.getComponents().getSchemas().get(\"AnyOfTest\");\n assertEquals(schema3.getAnyOf().size(), 4);\n assertNull(schema3.getNullable());\n }", "title": "" }, { "docid": "d3566c169fa9dc945ddd55321cd6754b", "score": "0.47557342", "text": "private void loadSchemas(List<Node> userNodes) {\r\n // Default owner's name will remain if unknown or not set, thus each specific technology\r\n // node creator can assign its default schema\r\n idToSchema.put(DEFAULT_SCHEMA_NAME, new PhysicalSchemaImpl());\r\n\r\n for (Node node : userNodes) {\r\n // A user is a schema in two cases - it listed as its stereotype, or it has not stereotype at all\r\n if (node.matches(\r\n \"//c:Users/o:User[@Id and not(a:Stereotype)] | //c:Users/o:User[@Id and a:Stereotype = 'Schema']\")) {\r\n\r\n PhysicalSchemaImpl owner = new PhysicalSchemaImpl();\r\n setNamedObjectAttributes(node, owner);\r\n\r\n idToSchema.put(getNodeIdAttribute(node), owner);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "38b0540a76d50bd3bd6efb631bfd855c", "score": "0.4753105", "text": "public String getNoNamespaceSchemaLocation();", "title": "" }, { "docid": "24aec8b6cfccf9685e314c2ca711e380", "score": "0.47505364", "text": "protected void topologyEagerCreation(Topology topology) {\n // Default is to do nothing\n }", "title": "" }, { "docid": "56f1652ba07f7d569efa85312618d1d7", "score": "0.474248", "text": "@Override\n protected boolean isCheckOtherDefs() {\n return false;\n }", "title": "" }, { "docid": "04ac170225e490778db8e265f9d49b9c", "score": "0.47283188", "text": "private Schema getSchema() {\n if (_schema == null) {\n _schema = generateSchema(_schemeFields, _schemeTypes, 0);\n }\n\n return _schema;\n }", "title": "" }, { "docid": "08e947744ef96738241fe9338f86fac4", "score": "0.47214", "text": "String getDefaultSchema();", "title": "" }, { "docid": "3ed8010cf961f383d1743eebed4f8fbe", "score": "0.4719713", "text": "JsonSchema schema();", "title": "" }, { "docid": "9f39f9aed002bac3ac5e0a51ddf09c8c", "score": "0.47188085", "text": "private ReferenceSchema() {\r\n\t\tsuper(BASE_NAME);\r\n\r\n\t\ttry {\r\n\t\t\tadd(NAME, BasicOntology.getInstance().getSchema(BasicOntology.STRING));\r\n\t\t\tadd(OBJECT_TYPE, BasicOntology.getInstance().getSchema(BasicOntology.STRING));\r\n\t\t} \r\n\t\tcatch (OntologyException oe) {\r\n\t\t\toe.printStackTrace();\r\n\t\t} \r\n\t}", "title": "" }, { "docid": "e31126b760ac04c2d11775418df83a64", "score": "0.47180018", "text": "@Test\n public void testOpenAPINormalizerRefAsParentInAllOf() {\n OpenAPI openAPI = TestUtils.parseSpec(\"src/test/resources/3_0/allOf_extension_parent.yaml\");\n\n Schema schema = openAPI.getComponents().getSchemas().get(\"AnotherPerson\");\n assertNull(schema.getExtensions());\n\n Schema schema2 = openAPI.getComponents().getSchemas().get(\"Person\");\n assertEquals(schema2.getExtensions().get(\"x-parent\"), \"abstract\");\n\n Map<String, String> options = new HashMap<>();\n options.put(\"REF_AS_PARENT_IN_ALLOF\", \"true\");\n OpenAPINormalizer openAPINormalizer = new OpenAPINormalizer(openAPI, options);\n openAPINormalizer.normalize();\n\n Schema schema3 = openAPI.getComponents().getSchemas().get(\"AnotherPerson\");\n assertEquals(schema3.getExtensions().get(\"x-parent\"), true);\n\n Schema schema4 = openAPI.getComponents().getSchemas().get(\"AnotherParent\");\n assertEquals(schema4.getExtensions().get(\"x-parent\"), true);\n\n Schema schema5 = openAPI.getComponents().getSchemas().get(\"Person\");\n assertEquals(schema5.getExtensions().get(\"x-parent\"), \"abstract\");\n }", "title": "" }, { "docid": "dcae27decf725eb16d4106126538b36b", "score": "0.47178409", "text": "private SchemaNode generateSchemaTree() {\n SchemaNode root = new SchemaInternalNode(\"root\");\n\n SchemaNode sg = new SchemaInternalNode(\"sg\");\n root.addChild(\"sg\", sg);\n\n SchemaMeasurementNode s1 =\n new SchemaMeasurementNode(\"s1\", new MeasurementSchema(\"s1\", TSDataType.INT32));\n s1.setTagMap(Collections.singletonMap(\"key1\", \"value1\"));\n SchemaMeasurementNode s2 =\n new SchemaMeasurementNode(\"s2\", new MeasurementSchema(\"s2\", TSDataType.DOUBLE));\n s2.setTagMap(Collections.singletonMap(\"key1\", \"value1\"));\n SchemaMeasurementNode s3 =\n new SchemaMeasurementNode(\"s3\", new MeasurementSchema(\"s3\", TSDataType.BOOLEAN));\n s3.setTagMap(Collections.singletonMap(\"key1\", \"value2\"));\n SchemaMeasurementNode s4 =\n new SchemaMeasurementNode(\"s4\", new MeasurementSchema(\"s4\", TSDataType.TEXT));\n s4.setTagMap(Collections.singletonMap(\"key2\", \"value1\"));\n s2.setAlias(\"status\");\n\n SchemaEntityNode d1 = new SchemaEntityNode(\"d1\");\n sg.addChild(\"d1\", d1);\n d1.addChild(\"s1\", s1);\n d1.addChild(\"s2\", s2);\n d1.addAliasChild(\"status\", s2);\n d1.addChild(\"s3\", s3);\n\n SchemaEntityNode d2 = new SchemaEntityNode(\"d2\");\n sg.addChild(\"d2\", d2);\n d2.addChild(\"s1\", s1);\n d2.addChild(\"s2\", s2);\n d2.addAliasChild(\"status\", s2);\n d2.addChild(\"s4\", s4);\n\n SchemaEntityNode a = new SchemaEntityNode(\"a\");\n a.setAligned(true);\n d2.addChild(\"a\", a);\n a.addChild(\"s1\", s1);\n a.addChild(\"s2\", s2);\n a.addAliasChild(\"status\", s2);\n\n return root;\n }", "title": "" }, { "docid": "dbb4fbb1b7e3dd4bc40f0fc7a236fc87", "score": "0.47147745", "text": "public boolean supportsSchemasInProcedureCalls() throws SQLException {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "8db01db77f81fe42d9e9e1bea3663fb1", "score": "0.47045398", "text": "public Schema buildSchema()\n\t{\n\t\tif (!isSchemaValid())\n\t\t{\n\t\t\tthrow new IllegalStateException(\"Schema object not constructed properly\");\n\t\t}\n\t\t\n\t\taddTablesToFinalSchema();\n\t\taddForeignKeysToFinalSchema();\n\t\tschema.setVersionName(versionName);\n\t\t\n\t\treturn schema;\n\t}", "title": "" }, { "docid": "f93394efe5aebd1db6cab1fbb1f19db6", "score": "0.47037798", "text": "public final boolean isPackagePrivate() {\n\treturn !isPrivate() && !isPublic() && !isProtected();\n }", "title": "" }, { "docid": "5a0c4ba0a239beca61ce062881df5bdd", "score": "0.47035342", "text": "public boolean supportsSchemasInTableDefinitions() throws SQLException {\n/* 7888 */ return false;\n/* */ }", "title": "" }, { "docid": "9643000a42ed322ce0b1df1bc8309cea", "score": "0.4695268", "text": "@SuppressWarnings(\"serial\")\n @Test\n public void deleteShapeTypeNotPresentTest() {\n\n Shape shape1 = ShapeFactory.createShape(ShapeType.RECTANGLE, new Point(1, 1), new ArrayList<Double>(){{add(4.0); add(2.0);}});\n screenObject.addShape(shape1);\n \n Shape shape2 = ShapeFactory.createShape(ShapeType.RECTANGLE, new Point(1, 3), new ArrayList<Double>(){{add(5.0); add(2.0);}}); \n screenObject.addShape(shape2);\n \n Shape shape3 = ShapeFactory.createShape(ShapeType.CIRCLE, new Point(1, 1), new ArrayList<Double>(){{add(4.0);}});\n screenObject.addShape(shape3);\n \n assertFalse(screenObject.removeAllShapeOfType(ShapeType.SQUARE));\n assertFalse(screenObject.removeAllShapeOfType(null));\n }", "title": "" }, { "docid": "77dab5390245513c36c45942ee32ab7c", "score": "0.46766424", "text": "protected void _verifySchemaType(FormatSchema schema)\n/* */ {\n/* 1799 */ if ((schema != null) && \n/* 1800 */ (!this._parserFactory.canUseSchema(schema))) {\n/* 1801 */ throw new IllegalArgumentException(\"Can not use FormatSchema of type \" + schema.getClass().getName() + \" for format \" + this._parserFactory.getFormatName());\n/* */ }\n/* */ }", "title": "" }, { "docid": "8cf0cbaa833d4713b84ddf0b83cad774", "score": "0.46738154", "text": "public FeatureType getSchema(String typeName) throws IOException {\n typeCheck(typeName);\n\n return getSchema();\n }", "title": "" }, { "docid": "27167bc632993346b81395f61ed24482", "score": "0.46709055", "text": "public boolean hasSchemas() {\n return rootElement.getAttribute( SCHEMA_ATTRIBUTE_NAME ) != null;\n }", "title": "" }, { "docid": "a6026d19a3c1ef102eb57fd7ba7d5ca4", "score": "0.46670848", "text": "public SchemaGenerationSource getSchemaGenerationCreate();", "title": "" }, { "docid": "ae98f8ac53399c655cd8e8ddbceed94e", "score": "0.4666091", "text": "private Schema generateSchema(Fields schemeFields, Class<?>[] schemeTypes, int depth) {\n\n List<Schema.Field> fields = new ArrayList<Schema.Field>();\n for (int typeIndex = 0, fieldIndex = 0; typeIndex < schemeTypes.length; typeIndex++, fieldIndex++) {\n String tupleName = schemeFields.get(fieldIndex).toString();\n String fieldName = _avroFieldNames.get(tupleName);\n Class<?>[] subSchemeTypes = new Class[2]; // at most 2, since we\n // only allow primitive\n // types for arrays and\n // maps\n subSchemeTypes[0] = schemeTypes[typeIndex];\n final Class<?> schemeType = schemeTypes[typeIndex];\n if ((schemeTypes[typeIndex] == ARRAY_CLASS) || (schemeTypes[typeIndex] == MAP_CLASS)) {\n typeIndex++;\n subSchemeTypes[1] = schemeTypes[typeIndex];\n }\n\n final Schema schema = createAvroSchema(schemeFields, subSchemeTypes, depth + 1);\n final Schema nullSchema = Schema.create(Schema.Type.NULL);\n List<Schema> schemas = new LinkedList<Schema>() {\n {\n if (!((schemeType == MAP_CLASS) || (schemeType.isEnum())))\n add(nullSchema);\n add(schema);\n }\n };\n\n if (schemas.size() > 1) {\n fields.add(new Schema.Field(fieldName, Schema.createUnion(schemas), \"\", null));\n } else {\n fields.add(new Schema.Field(fieldName, schemas.get(0), \"\", null));\n }\n }\n\n // Avro doesn't like anonymous records - so create a named one.\n String recordName = _recordName;\n if (depth > 0) {\n recordName = recordName + depth;\n }\n Schema schema = Schema.createRecord(recordName, \"auto generated\", \"\", false);\n schema.setFields(fields);\n return schema;\n }", "title": "" }, { "docid": "bc6b3dd07a4ea151561f977a09b39c34", "score": "0.46646187", "text": "private boolean memberDefinitionPredicate(ShapeIndex shapeIndex, Shape shape, Predicate<Shape> predicate) {\n if (!shape.isMemberShape()) {\n return true;\n } else if (getConfig().getBooleanMemberOrDefault(JsonSchemaConstants.INLINE_MEMBERS)) {\n return false;\n }\n\n // Don't include broken members or members of excluded shapes.\n return shape.asMemberShape()\n .flatMap(member -> shapeIndex.getShape(member.getContainer()))\n .filter(parent -> parent.equals(shape) || predicate.test(shape))\n .isPresent();\n }", "title": "" }, { "docid": "4b2c378b002a75a9c32b2129ae862811", "score": "0.46628547", "text": "@Override\n public boolean isInternal() {\n return false;\n }", "title": "" }, { "docid": "15edb6832a80c9a7af4522c5f36d5c54", "score": "0.465975", "text": "static List<String> getSchemaAuthorizables (AuthorizationContext ctx) {\n List<String> result = new ArrayList<String>(1);\n for (CollectionRequest r : ctx.getCollectionRequests()) {\n result.add(r.collectionName);\n }\n if (result.isEmpty()) {\n LOG.debug(\"Missing collection name for the schema operation with authorization context {}.\"\n + \" Using * permissions for authorization check\", toString(ctx));\n result.add(\"*\");\n }\n\n return result;\n }", "title": "" }, { "docid": "96fdcb23b0301ae20f4c1a12f72fd490", "score": "0.46567792", "text": "public final boolean isPackagePrivate() {\n return !isPrivate() && !isPublic() && !isProtected();\n }", "title": "" }, { "docid": "b9de4b1923021d6215c715fed9ea570c", "score": "0.4652784", "text": "public void testSchemaSerialization() throws Exception {\n JsonSchemaGenerator generator = new JsonSchemaGenerator(MAPPER);\n JsonSchema jsonSchema = generator.generateSchema(SimpleBean.class);\n Map<String, Object> result = writeAndMap(MAPPER, jsonSchema);\n assertNotNull(result);\n // no need to check out full structure, just basics...\n assertEquals(\"object\", result.get(\"type\"));\n // only add 'required' if it is true...\n assertNull(result.get(\"required\"));\n assertNotNull(result.get(\"properties\"));\n }", "title": "" }, { "docid": "b5ec85428344a5e1c0a29c448cc8c999", "score": "0.46501184", "text": "private static IllegalStateException unrecognizedSchemaType(JDefinedClass parentClass,\n String memberName,\n DataSchema schema)\n {\n return new IllegalStateException(\"Unrecognized schema: \" + schema +\n parentClassAndMemberNameToString(parentClass, memberName));\n }", "title": "" }, { "docid": "76054c7e88edb9dbd9c89330d68d3851", "score": "0.46493065", "text": "public boolean supportsSchemasInIndexDefinitions() throws SQLException {\n/* 7855 */ return false;\n/* */ }", "title": "" }, { "docid": "00ad012f65dce6992100ac7fe4b96f5a", "score": "0.46431175", "text": "@Override\n public boolean isGenerateBuilders() {\n return true;\n }", "title": "" }, { "docid": "b808cbe1398e187d04bb85101a66c5a4", "score": "0.46413174", "text": "private SchemaCodeUtils()\n {\n // Private constructor to prevent instantiation\n }", "title": "" }, { "docid": "ae3b1d58289f67050d597fb97c0765cc", "score": "0.4640371", "text": "@PostConstruct\n public void createPolicyGraph() {\n addVertices();\n\n createPolicyGraphForEachType();\n\n addLateralEdgesForAllIndirectRelationships();\n }", "title": "" }, { "docid": "ffd30779ab01a845a268f4db65d12213", "score": "0.46387646", "text": "public void canNotCreateObjects() {\n//\t\tprivate Math mathUtil = new Math();\n//\t\tprivate Arrays arrayUtil = new Arrays();\n//\t\tprivate Collections collections = new Collections();\n\n//\t\tUtilityClass utilityClass = new UtilityClass();\n\n\t}", "title": "" }, { "docid": "73d4290c395fbb1cb1f1d898bbbd56c1", "score": "0.46349648", "text": "@Override\n public boolean isImplicit() {\n return false;\n }", "title": "" }, { "docid": "d083deb8cfc6c2127a62bad35c65356b", "score": "0.46334553", "text": "private Attributes() {\n\t\t\t// no instantiations\n\t\t}", "title": "" }, { "docid": "b468f3f8399b00d953eba4b0c7afa3d9", "score": "0.46260142", "text": "@Test\n public void verifyNoTypeAdapterWasGenerated_BaseExternalModel() throws Exception {\n Utils.verifyNoTypeAdapterGeneration(BaseExternalModel.class);\n }", "title": "" }, { "docid": "9db465c43a9d9e74d7d086be72161d8a", "score": "0.46241626", "text": "void verifyShape(ShapesAllow type) {\n if (!type.equals(ShapesAllow.Oval)) {\n throw new IllegalArgumentException(\"The shape being made is not Oval.\");\n }\n }", "title": "" }, { "docid": "2376137dd9c9b37d50eb7ed2f3e94e6a", "score": "0.46211737", "text": "public void allowPublicVisibility() {\n allowsPublicVisibility = true;\n }", "title": "" }, { "docid": "c69debacce9ece16e48afdc070d3c700", "score": "0.46206743", "text": "@Test\n public void testSetDocumentClassVisibilityForPackage_visible() throws Exception {\n SetSchemaRequest request =\n new SetSchemaRequest.Builder().addDocumentClasses(Card.class).build();\n assertThat(request.getSchemasVisibleToPackages()).isEmpty();\n\n PackageIdentifier packageIdentifier = new PackageIdentifier(\"com.package.foo\",\n new byte[]{100});\n Map<String, Set<PackageIdentifier>> expectedVisibleToPackagesMap = new ArrayMap<>();\n expectedVisibleToPackagesMap.put(\"Card\", Collections.singleton(packageIdentifier));\n\n request =\n new SetSchemaRequest.Builder().addDocumentClasses(\n Card.class).setDocumentClassVisibilityForPackage(\n Card.class, /*visible=*/ true, packageIdentifier).build();\n assertThat(request.getSchemasVisibleToPackages()).containsExactlyEntriesIn(\n expectedVisibleToPackagesMap);\n }", "title": "" }, { "docid": "70bf6095ef77c382492a7a54be440849", "score": "0.46130922", "text": "private SchemaInfo(Builder builder) {\n super(builder);\n }", "title": "" }, { "docid": "b61aa7ef1f400e838c676f668b89a9a6", "score": "0.46119186", "text": "@Override\n\tpublic String getDefaultSchema() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8d2bb3068170e07474c0db84dc30bd63", "score": "0.46109107", "text": "public sparqles.avro.availability.AResult.Builder clearIsPrivate() {\n fieldSetFlags()[3] = false;\n return this;\n }", "title": "" }, { "docid": "e2d904cd6d354b8f14228598fcf5f172", "score": "0.46073058", "text": "@JsonIgnore\n public void setSchema(Schema schema) {\n this.schema = schema;\n }", "title": "" }, { "docid": "9961e3f498252bb0512528570181437f", "score": "0.46066526", "text": "private Builder() {\n super(example.proto.EmptyRequest.SCHEMA$);\n }", "title": "" }, { "docid": "ed24a4a6de2337808fbcdf9a2ad2a2b6", "score": "0.4604611", "text": "public Builder clearShape() {\n shape_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ed24a4a6de2337808fbcdf9a2ad2a2b6", "score": "0.4604611", "text": "public Builder clearShape() {\n shape_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d0ea70d9bdfbcbbaab33076b348ed13e", "score": "0.4603951", "text": "@Test\n public void shouldHaveNonPrivateConstantsOnly() {\n // given / when\n Set<String> invalidFields = ALL_CLASSES.stream()\n .filter(clz -> !CLASSES_EXCLUDED_FROM_VISIBILITY_TEST.contains(clz))\n .map(Class::getDeclaredFields)\n .flatMap(Arrays::stream)\n .filter(f -> !f.getName().contains(\"$\"))\n .filter(f -> hasIllegalFieldVisibility(f))\n .map(f -> formatField(f))\n .collect(Collectors.toSet());\n\n // then\n if (!invalidFields.isEmpty()) {\n fail(\"Found \" + invalidFields.size() + \" fields with non-private, mutable fields:\\n- \"\n + String.join(\"\\n- \", invalidFields));\n }\n }", "title": "" }, { "docid": "0826fd25e0c5a5bf571fa7fa7bbb741b", "score": "0.46011707", "text": "protected boolean isAggregateNamesSupported() { return false; }", "title": "" }, { "docid": "a0797b22e95cdc7a1f52f11116ea3ded", "score": "0.4599084", "text": "private CommunicationRelationTypes()\n\t{\n\t}", "title": "" }, { "docid": "4ebc395f8e8f8d4901f9bea9c699e344", "score": "0.45981506", "text": "@Bean\n\tpublic CommonsXsdSchemaCollection librarySchema() {\n\t\tCommonsXsdSchemaCollection librarySchema = new CommonsXsdSchemaCollection();\n\t\tResource[] xsdResources = {\n\t\t\t\tnew ClassPathResource(\"model.xsd\"),\n\t\t\t\tnew ClassPathResource(\"request.xsd\"),\n\t\t\t\tnew ClassPathResource(\"response.xsd\")\n\t\t\t\t};\n\t\tlibrarySchema.setXsds(xsdResources);\n\t\tlibrarySchema.setInline(true);\n\t\treturn librarySchema;\n\t}", "title": "" } ]
6fe873dae257bdc6383eeb6544360e59
if either date is null we cant use compareTo
[ { "docid": "c03aa263eaccc360658e4fa62e3aa653", "score": "0.72445166", "text": "@Override\n public int compare(PairIndex pair1, PairIndex pair2) {\n if (pair1.getToDo().getDate() == null || pair2.getToDo().getDate() == null) {\n return (pair1.getToDo().getDate() == null && pair2.getToDo().getDate() == null) ? 0 : (pair1.getToDo().getDate() == null) ? 1 : -1;\n }\n //if neither date is null compareTo is okay\n return pair1.getToDo().getDate().compareTo(pair2.getToDo().getDate());\n\n }", "title": "" } ]
[ { "docid": "3a190a6c4ec57f5ff59c2c15ce7fc4f6", "score": "0.7028553", "text": "@Override\n public int compareTo(Date date) {\n int GREATER = 1;\n int LESSTHAN = -1;\n int EQUAL = 0;\n\n if(year > date.getYear() || (year == date.getYear() && month > date.getMonth()) || (year == date.getYear()\n && month == date.getMonth() && day > date.getDay())){\n return GREATER;\n }\n else if(year < date.getYear() || (year == date.getYear() && month < date.getMonth()) || (year == date.getYear()\n && month == date.getMonth() && day < date.getDay())){\n return LESSTHAN;\n }\n return EQUAL;\n }", "title": "" }, { "docid": "62fb6833a441e3b6b945eeec02ad943b", "score": "0.6990543", "text": "@Override\r\n public int compareTo(Corredor o) {\r\n if(this.getFecha().getTime()>o.getFecha().getTime()){\r\n return 1;\r\n }\r\n if(this.getFecha().getTime()<o.getFecha().getTime()){\r\n return -1;\r\n }\r\n return 0;\r\n }", "title": "" }, { "docid": "dfc9df5e0e0afc72aa1b34e542bfe04e", "score": "0.6904094", "text": "@Override\n public int compareTo(Date date) {\n if (this.year != date.year) {\n return this.year > date.year ? LEFT_SIDE_GREATER : this.year < date.year ? RIGHT_SIDE_GREATER : 0;\n } else {\n if (this.month != date.month) {\n return this.month > date.month ? LEFT_SIDE_GREATER : this.month < date.month ? RIGHT_SIDE_GREATER : 0;\n } else {\n return this.day > date.day ? LEFT_SIDE_GREATER : this.day < date.day ? RIGHT_SIDE_GREATER : 0;\n }\n }\n }", "title": "" }, { "docid": "d7ee20064b6b64aa7f63fd612b80462a", "score": "0.68776405", "text": "public int compareTo(Object obj)\n {\n return compareTo((Date) obj);\n }", "title": "" }, { "docid": "d889dbfc0218c0c378e018942510e7c4", "score": "0.6837478", "text": "@Override\n public int compareTo(@NonNull Date other) {\n java.util.Comparator<Date> dateChainedComparator = new DateChainedComparator();\n return dateChainedComparator.compare(other, this);\n }", "title": "" }, { "docid": "8a38fd76c5e3f12a44246d338b44a27f", "score": "0.6781809", "text": "public int compareTo(Date d)\r\n\t{\r\n\t\tif (isEmpty)\r\n\t\t\treturn Integer.MIN_VALUE;\r\n\t\telse if (isAllNines())\r\n\t\t\treturn Integer.MAX_VALUE;\r\n\t\telse\r\n\t\t\treturn super.compareTo(d);\r\n\t}", "title": "" }, { "docid": "8e2903ad794039140fd17b19270653b7", "score": "0.67432684", "text": "@Override\n public Difference compare(\n Object left,\n Object right,\n boolean onlyFirstDifference,\n ReflectionComparator reflectionComparator\n ) {\n if (oneIsSupportedAndOtherIsNull(left, right)) {\n return new Difference(\"Lenient dates, but not both instantiated or both null\", left, right);\n }\n\n return null;\n }", "title": "" }, { "docid": "b1fe4b3fa87a31869d825da8dd0da814", "score": "0.67188084", "text": "public int compareTo(Date date) { //return 0, 1, or -1 \n\t\tif(this.year < date.year)\n\t\t\treturn -1; //it's less than\n\t\telse if(this.year > date.year)\n\t\t\treturn 1;\n\t\telse { //the years are equal\n\t\t\tif(this.month < date.month)\n\t\t\t\treturn -1;\n\t\t\telse if(this.month > date.month)\n\t\t\t\treturn 1;\n\t\t\telse { //months are equal\n\t\t\t\tif(this.day < date.day)\n\t\t\t\t\treturn -1;\n\t\t\t\telse if(this.day > date.day)\n\t\t\t\t\treturn 1;\n\t\t\t\telse //days are equal\n\t\t\t\t\treturn 0;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "7647430409c56f89e73ceb932b87e54e", "score": "0.6499604", "text": "public int compareTo(Post other){\n\tif(getDate().compareTo(other.getDate()) > 0){\n\t\treturn -1;\n\t}\n\telse{\n\t\treturn 1;\n\t}\n}", "title": "" }, { "docid": "c783cb6c218781235d481bf9a010e848", "score": "0.6488763", "text": "public int compareTo(FastDate aThat) {\n if (this == aThat) return 0;\n int compare = year < aThat.year ? -1 : year > aThat.year ? 1 : 0;\n if(compare != 0) return compare;\n compare = month < aThat.month ? -1 : month > aThat.month ? 1 : 0;\n if(compare != 0) return compare;\n compare = day < aThat.day ? -1 : day > aThat.day ? 1 : 0;\n return compare;\n }", "title": "" }, { "docid": "07758dbf86105f77a49967a986a06d46", "score": "0.6446036", "text": "@Test (expected=NullPointerException.class)\r\n public void testBelowDateDifference_BothNull() {\r\n System.out.println(\"belowDateDifference(null, null)\");\r\n Gregorian.belowDateDifference(null, null);\r\n }", "title": "" }, { "docid": "4534d83f0d10ab0eb030bc83f6f59e1a", "score": "0.6380496", "text": "@Override\n public int compareTo(DateTime o) {\n Optional<Instant> time = this.value;\n Optional<Instant> otherTime = o.getDateTimeValue();\n \n if (!time.isPresent() && !otherTime.isPresent()) {\n return 0;\n } else if (!time.isPresent()) {\n return 1;\n } else if (!otherTime.isPresent()) {\n return -1;\n } else {\n return time.get().compareTo(otherTime.get());\n }\n }", "title": "" }, { "docid": "5abeecd6825a3e98bfc1b1d481c43889", "score": "0.63457954", "text": "public int compareTo(VantageDate d)\r\n\t{\r\n\t\tif (isEmpty)\r\n\t\t\treturn Integer.MIN_VALUE;\r\n\t\tif (isAllNines() && d.isAllNines()) \r\n\t\t\treturn 0;\r\n\t\telse if (isAllNines())\r\n\t\t\treturn Integer.MAX_VALUE;\r\n\t\telse if (d.isAllNines())\r\n\t\t\treturn Integer.MIN_VALUE;\r\n\t\telse \r\n\t\t\treturn super.compareTo(d);\r\n\t}", "title": "" }, { "docid": "279b04642bbcb447c411999ff0820cfb", "score": "0.63445956", "text": "@Override\n public int compareTo(CalendarDate other) {\n if (month != other.month) {\n return month - other.month;\n }\n else {\n return day - other.day;\n }\n }", "title": "" }, { "docid": "e923a20a187eaee6ba6b959496a5af1e", "score": "0.6326998", "text": "@Override\n public int compareTo(FridgeItem another) {\n return this.date < another.date ? -1 : 1;\n }", "title": "" }, { "docid": "ddf02edf34ef503c4c247badca32b67c", "score": "0.6312508", "text": "@Test\n public void testCompareTo() {\n BirthDate bd6 = bd2.copy(); \n assertTrue(bd2.compareTo(bd6) == 0);\n assertTrue(bd2.compareTo(bd1) > 0);\n assertTrue(bd1.compareTo(bd2) < 0);\n }", "title": "" }, { "docid": "8bb417005e0830346539eaa0ff17d32d", "score": "0.6302878", "text": "@Override\n\tpublic int compareTo(StockPO o) {\n\t\t// TODO Auto-generated method stub\n\t\tif (date.compareTo(o.getDate()) > 0) {\n\t\t\treturn -1;\n\t\t} else if (date.compareTo(o.getDate()) < 0) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn 0;\n\t\t}\n\t}", "title": "" }, { "docid": "ea9a2435271033f157b65291f7f1425a", "score": "0.6297075", "text": "@Override\n public int compare(Obaveza o1, Obaveza o2) {\n Date poc1;\n Date poc2;\n poc1=o1.getPocetak();\n poc2=o2.getPocetak();\n return -poc1.compareTo(poc2);\n\n }", "title": "" }, { "docid": "de4627ec9ed8cd765779a2a559700cea", "score": "0.62954175", "text": "public int compareTo(Object other) {\r\n if (!(other instanceof GDateValue)) {\r\n throw new ClassCastException(\"Date values are not comparable to \" + other.getClass());\r\n }\r\n return compareTo((GDateValue)other, new Configuration());\r\n }", "title": "" }, { "docid": "21e7001693187cea9a0bec9dbbe8b5d0", "score": "0.6262709", "text": "private void sortByDate(){\n int arrLength = this.books.length;\n for (int i = 0; i < arrLength-1; i++) {\n int currentMin = i;\n for (int j = i+1; j < arrLength; j++) {\n if (this.books[j] != null && this.books[currentMin] != null) {\n if (this.books[j].compareDates(this.books[currentMin])){\n currentMin = j;\n }\n\n }\n }\n Book temp = this.books[currentMin];\n this.books[currentMin] = this.books[i];\n this.books[i] = temp;\n }\n }", "title": "" }, { "docid": "ed56824f7d8ee63ff2ee568c9566eecf", "score": "0.6249601", "text": "public int compareTo(Object o) {\n if ( o instanceof Flexidate ) {\n return Comparison.compare( date, ((Flexidate)o).date );\n }\n else if ( o instanceof java.util.Date ) {\n // Replace this with something more efficient!!\n return compareTo( new Flexidate( (Date)o ) );\n }\n else if ( o instanceof java.util.Calendar ) {\n // Replace this with something more efficient!!\n return compareTo( new Flexidate( (Calendar)o ) );\n }\n \n throw new ClassCastException( \"Flexidate can only compare with Flexidate, Date or GregorianCalendar\" );\n }", "title": "" }, { "docid": "4d56c908ca38d36f67e98b1e7f7aae4b", "score": "0.6240539", "text": "public int compareTo(Date other) {\n\t\treturn date.compareTo(other);\n\t}", "title": "" }, { "docid": "dead0e1b80f04866a0aa89b78825c895", "score": "0.62396824", "text": "@Override\n\tpublic int compare(Task task1, Task task2) {\n\t\tint result = 0;\n\t\t\n\t\tif (task1.getEndDate() != null && task2.getEndDate() == null) {\n\t\t\tresult = -1;\n\t\t} else if (task1.getEndDate() == null && task2.getEndDate() != null) {\n\t\t\tresult = 1;\n\t\t} else if (task1.getEndDate() == null && task2.getEndDate() == null) {\n\t\t\tresult = 0;\n\t\t} else {\n\t\t\tresult = task1.getEndDateInDateType().compareTo(task2.getEndDateInDateType());\n\t\t}\n\t\t\t\n\t\tif (isResultZero(result)) {\n\t\t\tresult = task1.getTitle().compareTo(task2.getTitle());\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "title": "" }, { "docid": "1b62f628035e1e522058abbe151b9728", "score": "0.6234312", "text": "public static int compare (Date d1, Date d2) {\r\n\t\tif (d1 == null) {\r\n\t\t\treturn d2 == null ? 0 : -1;\r\n\t\t} else {\r\n\t\t\treturn d2 == null ? +1 : d1.compareTo(d2);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "37db781b4bef0325630d8141861a54d4", "score": "0.622164", "text": "@Override\n\t\t\t\tpublic int compare(MediumMovie o1, MediumMovie o2) {\n\n\t\t\t\t\tint firstDate = 0, secondDate = 0;\n\t\t\t\t\tString first = \"\", second = \"\";\n\n\t\t\t\t\tif (o1.getReleasedate() != null)\n\t\t\t\t\t\tfirst = o1.getReleasedate().replace(\"-\", \"\");\n\n\t\t\t\t\tif (!(first.equals(\"null\") | first.isEmpty()))\n\t\t\t\t\t\tfirstDate = Integer.valueOf(first);\n\n\t\t\t\t\tif (o2.getReleasedate() != null)\n\t\t\t\t\t\tsecond = o2.getReleasedate().replace(\"-\", \"\");\n\n\t\t\t\t\tif (!(second.equals(\"null\") | second.isEmpty()))\n\t\t\t\t\t\tsecondDate = Integer.valueOf(second);\n\n\t\t\t\t\t// This part is reversed to get the highest numbers first\n\t\t\t\t\tif (firstDate < secondDate)\n\t\t\t\t\t\treturn 1; // First date is lower than second date - put it second\n\t\t\t\t\telse if (firstDate > secondDate)\n\t\t\t\t\t\treturn -1; // First date is greater than second date - put it first\n\n\t\t\t\t\treturn 0; // They're equal\n\t\t\t\t}", "title": "" }, { "docid": "6518e90fd4cf1869f2328b194a2314f9", "score": "0.6201641", "text": "public int compareTo(Object obj) throws Exception {\n if (!(obj instanceof Signal))\n {\n throw new ArgumentException(\"object is not a Signal\");\n }\n \n Signal sig = (Signal)obj;\n DateTime date1 = new DateTime();\n DateTime date2 = new DateTime();\n if (AckTime.Year < 1880)\n {\n //if not acknowledged\n date1 = SigDateTime;\n }\n else\n {\n date1 = AckTime;\n } \n if (sig.AckTime.Year < 1880)\n {\n //if not acknowledged\n date2 = sig.SigDateTime;\n }\n else\n {\n date2 = sig.AckTime;\n } \n return date1.CompareTo(date2);\n }", "title": "" }, { "docid": "7c13b72399a5c7572278a3800fd11a39", "score": "0.6167578", "text": "@Override\n\tpublic int compare(CommonItem item0, CommonItem item1) {\n\t\tDate date0 = item0.getDate();\n\t\tDate date1 = item1.getDate();\n\t\t\n\t\tif (date0.before(date1)) {\n\t\t\treturn 1;\n\t\t}else if (date0.after(date1)) {\n\t\t\treturn -1;\n\t\t}\n\t\t\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "d1a97c7ea7fda486ec37dcdab6de6cf6", "score": "0.6146378", "text": "@Override\r\n\t public int compare(HashMap<String, String> first, HashMap<String, String> second) {\n\t \tString firstValue = first.get(PRZYP_DATE);\r\n\t String secondValue = second.get(PRZYP_DATE);\r\n\t return firstValue.compareTo(secondValue);\r\n\t }", "title": "" }, { "docid": "28483e0e0e49ec8a759a1ff60f401d95", "score": "0.614172", "text": "@Override\n public int compareTo(Task other) {\n if (this.startDate == null && other.startDate == null) {\n return this.description.compareTo(other.getDescription());\n }\n // one of the task is confimred not to be of todo type\n if (this.startDate == null) {\n return 1;\n }\n if (other.startDate == null) {\n return -1;\n }\n\n if (this.startDate.isBefore(other.getStartDate())) {\n return -1;\n } else if (this.startDate.isEqual(other.getStartDate())) {\n if (this.startTime.isBefore(other.getStartTime())) {\n return -1;\n } else {\n return 1;\n }\n } else { //!this.startDate.isBefore(other.getStartDate())\n return 1;\n }\n }", "title": "" }, { "docid": "b4156099a57576484d228d100ad658c9", "score": "0.6130749", "text": "@Test (expected=NullPointerException.class)\r\n public void testBelowDateDifference_FromNull() {\r\n System.out.println(\"belowDateDifference(null, x)\");\r\n Gregorian.belowDateDifference(null, new GregorianCalendar());\r\n }", "title": "" }, { "docid": "6c943647a7e1ad2f2abada2403619b82", "score": "0.60989904", "text": "@Override\n public int compareTo(Currency currency) {\n return date.compareTo(currency.getDate());\n }", "title": "" }, { "docid": "10fa7f520c8fc76ec0f4658feae59446", "score": "0.6089814", "text": "@Override \n public int compare (String ds1,\n String ds2)\n {\n Date d1 = Environment.parseDate (ds1);\n \n Date d2 = Environment.parseDate (ds2);\n \n return d1.compareTo (d2);\n \n }", "title": "" }, { "docid": "0c68982ca6657087ce5e6bbc6668edf5", "score": "0.6033292", "text": "@Override\n\tpublic int compareTo(TransactionViewBean o) {\n\t\tif(getDateIns().isBefore(o.getDateIns()))\n\t\t\treturn 1;\n\t\telse if(getDateIns().isAfter(o.getDateIns()))\n\t\t\treturn -1;\n\t\telse return 0;\n\t}", "title": "" }, { "docid": "d88163364552c7ec306c3f636732d7e5", "score": "0.59902143", "text": "@Override\n public int compare(Job job1, Job job2){\n Date r1 = job1.getNextExpectedReleaseTime();\n Date r2 = job2.getNextExpectedReleaseTime();\n if(r1.after(r2)){\n return 1;\n } else if(r2.after(r1)) {\n return -1;\n }\n return 0;\n }", "title": "" }, { "docid": "eab158966df45dc1fdcb7d50884b9ecf", "score": "0.59368193", "text": "private boolean comprobarFechas(Date date1, Date date2){\n\t\tif(date2.before(date1) || date2.equals(date1)){\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "14eb2ac3cb2e710634e7f623ec0616cb", "score": "0.5929535", "text": "public int compareTo(LabelledCitation other) {\n if (other == this) return 0;\n if (this.citation.getDateOfCreation() == null){\n if (other.citation.getDateOfCreation() == null){\n // Fall back to publication year:\n if (this.citation.getPubYear() == null){\n if (other.citation.getPubYear() == null) return 0;\n else return 1;\n } else if (other.citation.getPubYear() == null){\n return -1;\n }\n return Short.valueOf(this.citation.getPubYear())\n .compareTo(Short.valueOf(other.citation.getPubYear()));\n } else return 1;\n } else if (other.citation.getDateOfCreation() == null){\n return -1;\n }\n return this.citation.getDateOfCreation()\n .compare(other.citation.getDateOfCreation());\n }", "title": "" }, { "docid": "5832fa32601b27cd7254a2582550fddb", "score": "0.5879695", "text": "public static int compareDates(Date date1, Date date2) {\r\n\t\tif ((date1 == null) && (date2 == null)) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\tif (date1 == null) {\r\n\t\t\treturn -1;\r\n\t\t}\r\n\r\n\t\tif (date2 == null) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\r\n\t\tString strFormat = \"yyyyMMdd\";\r\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(strFormat);\r\n\r\n\t\tint intDate1 = Integer.parseInt(dateFormat.format(date1));\r\n\t\tint intDate2 = Integer.parseInt(dateFormat.format(date2));\r\n\r\n\t\tif (intDate1 == intDate2) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\tif (intDate1 > intDate2) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\r\n\t\treturn -1;\r\n\t}", "title": "" }, { "docid": "08f0bdbdc69014095216cd3c37f86273", "score": "0.5877492", "text": "private static boolean compareTwoDates (Date date1, Date date2) {\n\t\tGregorianCalendar cal1 = new GregorianCalendar();\n\t\tcal1.setTime(date1);\n\t\tGregorianCalendar cal2 = new GregorianCalendar();\n\t\tcal2.setTime(date2);\n\n\t\treturn ((cal1.getTimeInMillis() - cal2.getTimeInMillis()) > 0 );\t\n\t}", "title": "" }, { "docid": "865e3a430ef6bc8c45157cd322153e67", "score": "0.58714163", "text": "@Override\n\tpublic int compareTo(Entry o) {\n\t\treturn new CompareToBuilder()\n\t\t.append(this.startingDate, o.startingDate)\n\t\t.append(this.courseComponent.getDuration(),\n\t\t\t\to.courseComponent.getDuration()).toComparison();\n\t}", "title": "" }, { "docid": "92b3fa757222614b7d5320b1ea2a337a", "score": "0.58423215", "text": "@Test\n public void compareTo() {\n assertEquals(0, ORDER_FOR_ALICE.compareTo(ORDER_FOR_ALICE));\n\n // order 1 not completed but order 2 completed -> returns negative value\n assertTrue(ORDER_FOR_BENSON.compareTo(ORDER_FOR_ALICE) < 0);\n\n // order 1 completed but order 2 not completed -> returns positive value\n assertTrue(ORDER_FOR_ALICE.compareTo(ORDER_FOR_BENSON) > 0);\n\n // both orders completed, order 1 deadline before order 2 deadline -> returns negative value\n assertTrue(ORDER_FOR_ALICE.compareTo(ORDER_FOR_CARL) < 0);\n\n // both orders completed, order 1 deadline after order 2 deadline -> returns positive value\n assertTrue(ORDER_FOR_CARL.compareTo(ORDER_FOR_ALICE) > 0);\n\n // both orders not completed, order 1 deadline before order 2 deadline -> returns negative value\n assertTrue(ORDER_FOR_BENSON.compareTo(ORDER_FOR_DANIEL) < 0);\n\n // both orders not completed, order 1 deadline after order 2 deadline -> returns positive value\n assertTrue(ORDER_FOR_DANIEL.compareTo(ORDER_FOR_BENSON) > 0);\n }", "title": "" }, { "docid": "d306bf4e6e5e07c11718ea82a61c03a7", "score": "0.5840086", "text": "private int comparePossiblyNullObjects(Object o1, Object o2) {\n if (o1 != null && o2 != null) {\n return -2;\n }\n if (o1 == null && o2 != null) {\n return 1;\n } else if (o2 == null && o1 != null) {\n return -1;\n } else {\n return 0;\n }\n }", "title": "" }, { "docid": "2af0cc9a15cd9cfc1f5815171889e810", "score": "0.58330315", "text": "@Override\n public int compare(Disruption lhs, Disruption rhs) {\n int result = lhs.getDate().compareTo(rhs.getDate()) * -1;\n\n return result;\n }", "title": "" }, { "docid": "4dcb0e337b76fa5bc1a59d9238a227d5", "score": "0.58287084", "text": "@Override\r\n public int compareTo(Object o) {\n dataCount dt = (dataCount) o;\r\n if (this.location.equals(dt.location) && this.year.equals(dt.year) && this.month.equals(dt.month)) {\r\n return 0;\r\n } else if (location.equals(dt.location)) {\r\n if (!year.equals(dt.year)) {\r\n return year.compareTo(dt.year);\r\n }\r\n if (!month.equals(dt.month)) {\r\n return month.compareTo(dt.month);\r\n }\r\n } else {\r\n return location.compareTo(dt.location);\r\n }\r\n return location.compareTo(dt.location);\r\n }", "title": "" }, { "docid": "a68126cd936885a87ca6add78ede716c", "score": "0.58181137", "text": "private static boolean compareDate(Date date1, Date date2)\n {\n final GregorianCalendar cal1 = new GregorianCalendar();\n cal1.setTime(date1);\n final GregorianCalendar cal2 = new GregorianCalendar();\n cal2.setTime(date2);\n \n return\n cal1.get(Calendar.MONTH) == cal2.get(Calendar.MONTH)\n &&\n (\n cal1.get(Calendar.DAY_OF_MONTH) == cal2.get(Calendar.DAY_OF_MONTH)\n ||\n cal1.get(Calendar.YEAR) == cal2.get(Calendar.YEAR)\n );\n }", "title": "" }, { "docid": "84c0947b3cae8ccfbaf28e32930028b3", "score": "0.5816307", "text": "@Override\n public int compare(NewsFeedData lhs, NewsFeedData rhs) {\n try {\n return sdf.parse(lhs.getPublishedAt()).getTime() > sdf.parse(rhs.getPublishedAt()).getTime() ? -1 : (sdf.parse(lhs.getPublishedAt()).getTime() < sdf.parse(rhs.getPublishedAt()).getTime() ) ? 1 : 0;\n } catch (ParseException e) {\n e.printStackTrace();\n }\n return 0;\n }", "title": "" }, { "docid": "7e08c6d8c3712276fa484f8d23236e50", "score": "0.58113134", "text": "@Test (expected=NullPointerException.class)\r\n public void testBelowDateDifference_ToNull() {\r\n System.out.println(\"belowDateDifference(x, null)\");\r\n Gregorian.belowDateDifference(new GregorianCalendar(), null);\r\n }", "title": "" }, { "docid": "0a4b2ad88a4e8414593460bfe637c8dc", "score": "0.5798254", "text": "@Override\n public int compare(Event e1, Event e2) {\n if (e1.getTimestamp() < e2.getTimestamp()) return -1;\n if (e1.getTimestamp() > e2.getTimestamp()) return 1;\n return 0; \n }", "title": "" }, { "docid": "c617b819c748aeeea3feed48770ad7ef", "score": "0.57938063", "text": "private boolean fechaPasada(Date date1, Date date2){\n\t\tCalendar c = Calendar.getInstance();\n\t\tif(date1.before(c.getTime()) || date2.before(c.getTime())){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "7edc2f56ffec312b029310e9f0c79f25", "score": "0.57871956", "text": "@Override\n public int compare(NewsFeedData lhs, NewsFeedData rhs) {\n try {\n return sdf.parse(lhs.getPublishedAt()).getTime() < sdf.parse(rhs.getPublishedAt()).getTime() ? -1 : (sdf.parse(lhs.getPublishedAt()).getTime() > sdf.parse(rhs.getPublishedAt()).getTime() ) ? 1 : 0;\n } catch (ParseException e) {\n e.printStackTrace();\n }\n return 0;\n }", "title": "" }, { "docid": "caf6a157eb4201a4ae5f57d019543318", "score": "0.5770397", "text": "public static long compareDate(Calendar date1, Calendar date2, String pattern)\n {\n long ret = 0;\n if (date1 == null && date2 == null)\n {\n ret = 0;\n }\n else if (date1 == null)\n {\n ret = Integer.MIN_VALUE;\n }\n else if (date2 == null)\n {\n ret = Integer.MAX_VALUE;\n }\n else\n {\n ret = compareDate(date1.getTime(), date2.getTime(), pattern);\n }\n return ret;\n }", "title": "" }, { "docid": "5963c31f6c11b7f5a37f0505008a2eb8", "score": "0.5769193", "text": "private static Date max(Date d1, Date d2) {\r\n if (d1 == null && d2 == null) {\r\n return null;\r\n }\r\n if (d1 == null) {\r\n return d2;\r\n }\r\n if (d2 == null) {\r\n return d1;\r\n }\r\n return (d1.after(d2)) ? d1 : d2;\r\n }", "title": "" }, { "docid": "c0e2d7eacfc9a81324c5e525ff92dc65", "score": "0.57596254", "text": "@Override\n public int compare(ExcelSheet sheet1, ExcelSheet sheet2) {\n if (sheet1 == null) {\n if (sheet2 == null) {\n return 0;\n }\n return -1; // null is smaller than every non-null value\n } else {\n if (sheet2 == null) {\n return 1; // null is smaller than every non-null value\n }\n Date ts1 = sheet1.getTimestamp();\n Date ts2 = sheet2.getTimestamp();\n if (ts1 == null) {\n if (ts2 == null) {\n return 0;\n }\n return -1; // null is smaller than every non-null value\n } else {\n if (ts2 == null) {\n return 1; // null is smaller than every non-null\n // value\n }\n return (int) Math.abs(ts1.getTime() - ts2.getTime());\n }\n }\n }", "title": "" }, { "docid": "f2f293e4574786b9062d25c970d23906", "score": "0.57573473", "text": "public static int compareTo(Date leftDate, Date rightDate, int level){\n\t\tString format = getFormat(level);\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(format);\n\t\tString ldStr = sdf.format(leftDate);\n\t\tString rdStr = sdf.format(rightDate);\n\t\treturn ldStr.compareToIgnoreCase(rdStr);\n\t}", "title": "" }, { "docid": "7838d55b385cf5910b1732949882a3b9", "score": "0.5741723", "text": "@Override\n public int compareTo(Availability avail) {\n LocalDate dateI=avail.getInitialDate();\n LocalDate dateF=avail.getFinalDate();\n Time hourI=avail.getInitialHour();\n Time hourF=avail.getFinalHour();\n \n int compDateI=dateI.compareTo(this.date);\n int compDateF=dateF.compareTo(this.date);\n int compHourI=hourI.compareTo(this.hour);\n int compHourF=hourF.compareTo(this.hour);\n\n if ((compDateI<0 || compDateI==0) && (compDateF>0 || compDateF==0) && (compHourI==-1 || compHourI==0) && (compHourF==1 || compHourF==0)) {\n return 1;\n } else {\n return 0;\n }\n }", "title": "" }, { "docid": "d6823cd6edff9df5c998d4d18d46fc88", "score": "0.57361734", "text": "public int comparaFechas(Fecha fecha) \r\n {//metodo comparaFechas()\r\n int resultado=0;\r\n \r\n //si el año de la fecha1 es menor que la fecha2 resultado=1 \r\n if (anno<fecha.getAnno())\r\n resultado=1;\r\n else \r\n {//si año1 no menor\r\n //si el año de fecha1 es mayor que la fecha2 resultado=2\r\n if (anno>fecha.getAnno())\r\n resultado=2;\r\n else \r\n {//si año1 y año2 iguales \r\n //si mes de fecha1 menor que la fecha2 resultado=1\r\n if (mes<fecha.getMes()) \r\n resultado=1;\r\n else \r\n {//si mes1 no menor que mes2\r\n //si mes de fecha1 mayor que la fecha2 resultado=2 \r\n if (mes>fecha.getMes())\r\n resultado=2;\r\n else \r\n {//si mes1 es igual que mes2\r\n //si dia de fecha1 menor que la fecha2 resultado=1\r\n if (dia<fecha.getDia())\r\n resultado=1;\r\n else \r\n {//si dia1 no menor que dia2\r\n //si dia de fecha1 mayor que la fecha2 resultado=2\r\n if (dia>fecha.getDia())\r\n resultado=2;\r\n }//fin si dia1 no menor que dia2\r\n }//si mes1 es igual que mes2\r\n }//fin si mes1 no menor que mes2\r\n }//fin sin año1 y año2 iguales \r\n }//fin si año1 no menor\r\n return resultado;\r\n }", "title": "" }, { "docid": "e8715515a539ffda6c52ee91de277481", "score": "0.57357055", "text": "public int compareTo(ChronoLocalDateTime<?> paramChronoLocalDateTime) {\n/* 1820 */ if (paramChronoLocalDateTime instanceof LocalDateTime) {\n/* 1821 */ return compareTo0((LocalDateTime)paramChronoLocalDateTime);\n/* */ }\n/* 1823 */ return super.compareTo(paramChronoLocalDateTime);\n/* */ }", "title": "" }, { "docid": "376b4ce2858a5d3967f47ca651f8604e", "score": "0.57269406", "text": "boolean getFromDateNull();", "title": "" }, { "docid": "4664c4414529605d0f4a9a36c2b71f9c", "score": "0.57223916", "text": "public static boolean compareDate(Map<String, Integer> leftDateMap, Map<String, Integer> rightDateMap){\n if(leftDateMap.get(\"year\") > rightDateMap.get(\"year\"))\n return true;\n if(leftDateMap.get(\"year\") < rightDateMap.get(\"year\"))\n return false;\n\n if(leftDateMap.get(\"month\") > rightDateMap.get(\"month\"))\n return true;\n if(leftDateMap.get(\"month\") < rightDateMap.get(\"month\"))\n return false;\n\n if(leftDateMap.get(\"day\") > rightDateMap.get(\"day\"))\n return true;\n if(leftDateMap.get(\"day\") < rightDateMap.get(\"day\"))\n return false;\n return false;\n }", "title": "" }, { "docid": "86594d545cd485bbbf034e952ac57ad3", "score": "0.5712735", "text": "@Override\r\n public int compareTo(Object o) {\r\n\r\n // if statement block to check if this Customer's service time is equal to the other Customer's service time\r\n // and if so, Return this Customer's entry time minus the other Customer's entry time\r\n if(this.serviceTime == ((Customer)o).getServiceTime()){\r\n return (this.entryTime - ((Customer)o).getEntryTime());\r\n }\r\n // else statement block that executes if this Customer's service time is not equal to the other Customer's\r\n // service time. If this is the case, Return this Customer's service time minus the Other Customer's\r\n // service time\r\n else{\r\n return (this.serviceTime - ((Customer)o).getServiceTime());\r\n }\r\n }", "title": "" }, { "docid": "af2f3dbbb42c0895461212af1837e3d8", "score": "0.56818444", "text": "@Override\n public int compareTo(Event o) {\n return (int)(getDaysLeft()-o.getDaysLeft());\n }", "title": "" }, { "docid": "ad47482d5b967aef1427502f60241b4f", "score": "0.5677743", "text": "@Override\r\n\t\tpublic int compareTo(comp o) {\n\t\t\tif(this.end == o.end) //끝 시간이 같다면\r\n\t\t\t\treturn Integer.compare(this.start, o.start); //시작시간으로 정렬.\r\n\t\t\treturn Integer.compare(this.end, o.end);\r\n\t\t}", "title": "" }, { "docid": "621c23414547e8c4479d39b8955d9f7f", "score": "0.56776917", "text": "@Override\n\tpublic int compareTo(WonderfulInfo another) {\n\t\tif (createTime < another.createTime) {\n\t\t\treturn -1;\n\t\t} else if (createTime > another.createTime) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn 0;\n\t\t}\n\t}", "title": "" }, { "docid": "c72fe49ee497df5bfe25329bc31329d6", "score": "0.56681377", "text": "private boolean compare(Number f1, Number f2) {\n if (f1 == null && f2 == null) {\n return true;\n } else if (f1 == null || f2 == null) {\n return false;\n }\n return Math.abs(f1.doubleValue() - f2.doubleValue()) < 0.001;\n }", "title": "" }, { "docid": "dd80276d82c896cf80afb3022d8fd9f4", "score": "0.5647092", "text": "boolean getDateIndependentNull();", "title": "" }, { "docid": "52159cb69c2c4fdebdd5ee785ca20b18", "score": "0.5633851", "text": "@Override\n public int compareTo(Assignment other) {\n if (this.timeCreated - other.timeCreated > 0) {\n return -1;\n } else { // not possible to have the assignments created at the same time\n return 1;\n }\n }", "title": "" }, { "docid": "982f5dead52575501c06656e32e875ec", "score": "0.56334764", "text": "@Override\n\t\t\t\t\t\t\t\t\tpublic int compare(Transaction moreRecent,\n\t\t\t\t\t\t\t\t\t\t\tTransaction lessRecent) {\n\t\t\t\t\t\t\t\t\t\tif (moreRecent.getDate().getTime() > lessRecent.getDate()\n\t\t\t\t\t\t\t\t\t\t\t\t.getTime()) {\n\t\t\t\t\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t\t\t\t\t} else if (moreRecent.getDate().getTime() < lessRecent\n\t\t\t\t\t\t\t\t\t\t\t\t.getDate().getTime()) {\n\t\t\t\t\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "c345e2736c26c9bb0f04e9dc337c9279", "score": "0.56180984", "text": "@Override\n\tpublic int compare(Double one, Double two) {\n\t\tif (one == null && two == null) {\n\t\t\treturn 0;\n\t\t} else if (one == null) {\n\t\t\treturn 1;\n\t\t} else if (two == null) {\n\t\t\treturn -1;\n\t\t} else {\n\n\t\t\treturn -1 * Double.compare(one, two);\n\t\t}\n\n\t}", "title": "" }, { "docid": "a416f93a1a3a8e93c36c727bf1dad803", "score": "0.5612152", "text": "@Test\r\n public void test_compare_Equal4() {\r\n data1.setResolutionDate(null);\r\n data2.setResolutionDate(data1.getResolutionDate());\r\n data2.setProjectId(data1.getProjectId());\r\n int res = instance.compare(data1, data2);\r\n\r\n assertTrue(\"'compare' should be correct.\", res == 0);\r\n }", "title": "" }, { "docid": "59b3d1c5c7b74704730301fa7b6ef794", "score": "0.56115556", "text": "@Test\n\tpublic void dateRangeWithNullData() {\n\t\ttestDataRetriever.putData(DateFormattingUtil.parseEurofx(\"2020-01-01\"), TestDataRetriever.genSampleTestRecord(new BigDecimal(1.1636), new BigDecimal(129.21), null));\n\t\tassertNull(formedixExchangeAPI.getHighestExchangeRateDuringPeriod(DateFormattingUtil.parseEurofx(\"2020-01-01\"), DateFormattingUtil.parseEurofx(\"2020-01-01\"), \"BGN\"));\n\n\t\tfinal HashMap<String, BigDecimal> exchangeMap = new HashMap();\n\t\texchangeMap.put(\"USD\", new BigDecimal(1.1636));\n\t\texchangeMap.put(\"JPY\", new BigDecimal(129.21));\n\t\texchangeMap.put(\"BGN\", new BigDecimal(2.9558));\n\t\texchangeMap.put(\"CYP\", null);\n\t\texchangeMap.put(\"CZK\", new BigDecimal(25.415));\n\t\tfinal ExchangeRateRecord exchangeRaterecord = new ExchangeRateRecord(exchangeMap);\n\t\ttestDataRetriever.putData(DateFormattingUtil.parseEurofx(\"2021-10-08\"), exchangeRaterecord);\n\t\tassertTrue(new BigDecimal(2.9558).compareTo(formedixExchangeAPI.getHighestExchangeRateDuringPeriod(DateFormattingUtil.parseEurofx(\"2020-01-01\"), DateFormattingUtil.parseEurofx(\"2021-10-08\"), \"BGN\")) == 0);\n\t}", "title": "" }, { "docid": "c5d8e516889a796ebd364b5c39fc8374", "score": "0.5598201", "text": "@Override\r\n\t\t\t\t\t\t\tpublic int compare(Auditoria arg0, Auditoria arg1) {\n\t\t\t\t\t\t\t\treturn arg0.getDatahora().compareTo(arg1.getDatahora());\r\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "a9aab20e03d0e31cc5dfc0ccde9dc5de", "score": "0.5593936", "text": "public int compareTo(Match1 o) {\n\t\treturn matchDate.compareTo(o.getMatchDate());\n\t\t\n\t}", "title": "" }, { "docid": "ba3bd71d6efe208de72fcc6a8c3cbc8f", "score": "0.55815625", "text": "@Test\r\n public void test_compare_Less3() {\r\n data2.setResolutionDate(data1.getResolutionDate());\r\n int res = instance.compare(data1, data2);\r\n\r\n assertTrue(\"'compare' should be correct.\", res < 0);\r\n }", "title": "" }, { "docid": "7b4bd6a910d63d2ac0165b657ed7d0a6", "score": "0.55799896", "text": "@Override\npublic int compare(TimeVariate arg0, TimeVariate arg1) {\n\tint comparison;\n\tif(arg0.timepoint> arg1.timepoint){\n\t\tcomparison=1;\n\t}\n\telse if(arg0.timepoint == arg1.timepoint){\n\t\tcomparison=0;\n\t}\n\telse{\n\t\tcomparison=-1;\n\t}\n\treturn comparison;\n\t\n}", "title": "" }, { "docid": "32d8c62fb23b79bb964e6050c6689b6b", "score": "0.5566379", "text": "@Override\n public int compare(Node o1, Node o2) {\n int foo = o1.modificationDate.compareTo(o2.modificationDate);\n if (foo == 0) foo = o1.className.compareTo(o2.className);\n return foo;\n }", "title": "" }, { "docid": "d0ce326113e83440cbfb1d76154cb7e1", "score": "0.555533", "text": "boolean getToDateAndTimeNull();", "title": "" }, { "docid": "ca360f34be90904564ed3c26bd7dc62b", "score": "0.5550433", "text": "public int compareTo(FlightsModel m) {\n\t\tthis.fm = m;\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"dd-MM-yyyy\");\n\t\tjava.util.Date start = null;\n\t\tjava.util.Date end = null;\n\t\ttry {\n\t\t\tstart = sdf.parse(this.Date);\n\n\t\t\tend = sdf.parse(m.validTill);\n\n\t\t\tif (start.before(end) || sdf.format(start).equals(sdf.format(end))) {\n\t\t\t} else {\n\t\t\t\treturn 0;\n\t\t\t}\n\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tif (m.getArrLoc().equals(this.getArrLoc()) && m.getDepLoc().equals(this.getDepLoc())\n\t\t\t\t&& m.getAvailability().equals(\"Y\") && m.getFlightClass().equals(this.getFlightClass()))\n\t\t\t// && (start.compareTo(end) > 0))\n\t\t\treturn -1;\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "95fdaf8a410399240eeb8a8466f671a6", "score": "0.5540329", "text": "@Override\n\tpublic int compareTo(Object arg0) {\n\t\tif (arg0 == null)\n\t\t\tthrow new IllegalArgumentException(\"Can't compare null object\");\n\t\tif (arg0 instanceof String)\n\t\t\treturn s.compareTo((String)arg0);\n\t\telse\n\t\t\tthrow new IllegalArgumentException(\"Expected: Double; Actual: \" + arg0.getClass().getName());\t\t\t\n\t}", "title": "" }, { "docid": "123a936c5fa176a26c7bd74dedaade3b", "score": "0.5540265", "text": "private boolean compararHoras(String h1, String h2) {\n String sDate1=\"31/12/1998\"+ h1; // hora de entrada\n String sDate2=\"31/12/1998\"+h2; // hora actual\n\n boolean fichaje = false;\n\n SimpleDateFormat sdf = new SimpleDateFormat(\"dd/MM/yyyyHH:mm\");\n Date dt1 = new Date();\n Date dt2 = new Date();\n\n try {\n dt1 = sdf.parse(sDate1);\n dt2 = sdf.parse(sDate2);\n } catch (ParseException ex) {\n Log.v(\"Exception\", ex.getLocalizedMessage());\n }\n\n if(dt1.compareTo(dt2) > 0) { //dt2 mayor que dt1\n fichaje = true;\n } else if(dt1.compareTo(dt2) <= 0) { // dt2 menor o igual que dt1\n fichaje = false;\n }\n return fichaje;\n }", "title": "" }, { "docid": "a6facf961727f95fa28979dd796ad799", "score": "0.55382013", "text": "@Override\n public int compareTo(Post entry) {\n if (time > entry.time){\n return -1;\n } else {\n return 1;\n }\n }", "title": "" }, { "docid": "47edd63a88e589d3ae00ee5c51e32f28", "score": "0.55380285", "text": "@Test\r\n public void test_compare_Less2() {\r\n data2 = null;\r\n int res = instance.compare(data2, data1);\r\n\r\n assertTrue(\"'compare' should be correct.\", res < 0);\r\n }", "title": "" }, { "docid": "a2656b55ab468a350d45f4fa99b27726", "score": "0.5537579", "text": "public static long compareDate(Date date1, Date date2, String pattern)\n {\n long ret = 0;\n if (date1 == null && date2 == null)\n {\n ret = 0;\n }\n else if (date1 == null)\n {\n ret = Integer.MIN_VALUE;\n }\n else if (date2 == null)\n {\n ret = Integer.MAX_VALUE;\n }\n else\n {\n SimpleDateFormat format = new SimpleDateFormat(pattern);\n long v1 = Long.parseLong(format.format(date1));\n long v2 = Long.parseLong(format.format(date2));\n ret = v1 - v2;\n }\n return ret;\n }", "title": "" }, { "docid": "66a2947c325a5eb286d6b1453a768c40", "score": "0.5535878", "text": "@Override\n public int compare(AbstractCommandImpl<?> element1, AbstractCommandImpl<?> element2)\n {\n\t\t\tlong processingCommencementDateDelta = element1.getProcessingCommencementTargetDate().getTime() - \n\t\t\t\telement2.getProcessingCommencementTargetDate().getTime();\n\t\t\tint result = 0;\n\t\t\t\n\t\t\t// if processingCommencementDateDelta < 0 then element1 target date is before element2 target date\n\t\t\t// element1 should be sorted as less than element2 unless element1 processing\n\t\t\t// is estimated to overlap with element2 processing (assuming synchronous execution)\n\t\t\t// and element2 has a higher priority\n\t\t\tif(processingCommencementDateDelta < 0)\n\t\t\t{\n\t\t\t\tlogger.debug(element1.toString() + \" commencement date is before \" + element2.toString() + \" commencement date\" );\n\n\t\t\t\t// in the default case the estimated duration is NOT provided, so cannot be used in the\n\t\t\t\t// priority calculation, sort strictly by priority\n\t\t\t\tif(element1.getProcessingDurationEstimate() < 0)\n\t\t\t\t{\n\t\t\t\t\tresult = -1 * ( element1.getPriority().compareTo(element2.getPriority()) );\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tDate element1EstimatedCompletionDate = \n\t\t\t\t\t\tnew Date(element1.getProcessingCommencementTargetDate().getTime() + element1.getProcessingDurationEstimate());\n\t\t\t\t\tlogger.debug(element1.toString() + \" estimated completion date is \" + element1EstimatedCompletionDate );\n\t\t\t\t\t\n\t\t\t\t\t// if the estimated completion date of element1 is greater than the target date\n\t\t\t\t\t// of element2\n\t\t\t\t\t// and\n\t\t\t\t\t// element2 is higher priority\n\t\t\t\t\t// then element2 is sorted closer to the head (-1)\n\t\t\t\t\tif( element1EstimatedCompletionDate.compareTo(element2.getProcessingCommencementTargetDate()) > 0 &&\n\t\t\t\t\t\t\telement2.getPriority().compareTo(element1.getPriority()) > 0)\n\t\t\t\t\t\tresult = -1; // element2 is closer to the head than element1\n\t\t\t\t\telse\n\t\t\t\t\t\tresult = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// if targetDateDelta > 0 then element1 target date is after element2 target date\n\t\t\t// element2 should be sorted as closer to head than element1 unless element2 processing\n\t\t\t// is estimated to overlap with element1 processing (assuming synchronous execution)\n\t\t\t// and element1 has a higher priority\n\t\t\telse if(processingCommencementDateDelta > 0)\n\t\t\t{\n\t\t\t\tlogger.debug(element1.toString() + \" commencement date is before \" + element2.toString() + \" commencement date\" );\n\t\t\t\t\n\t\t\t\t// in the default case the estimated duration is NOT provided, so cannot be used in the\n\t\t\t\t// priority calculation, sort strictly by priority\n\t\t\t\tif(element2.getProcessingDurationEstimate() < 0)\n\t\t\t\t{\n\t\t\t\t\tresult = -1 * ( element1.getPriority().compareTo(element2.getPriority()) );\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tDate element2EstimatedCompletionDate = \n\t\t\t\t\t\tnew Date(element2.getProcessingCommencementTargetDate().getTime() + element2.getProcessingDurationEstimate());\n\t\t\t\t\tlogger.debug(element2.toString() + \" estimated completion date is \" + element2EstimatedCompletionDate );\n\t\t\t\t\t\n\t\t\t\t\t// if the estimated completion date of element2 is greater than the target date\n\t\t\t\t\t// of element1\n\t\t\t\t\t// and\n\t\t\t\t\t// element1 is higher priority\n\t\t\t\t\t// then element1 is sorted closer to the head (-1)\n\t\t\t\t\tif( element2EstimatedCompletionDate.compareTo(element1.getProcessingCommencementTargetDate()) > 0 &&\n\t\t\t\t\t\t\telement1.getPriority().compareTo(element2.getPriority()) > 0)\n\t\t\t\t\t\tresult = -1; // element1 is greater than element2\n\t\t\t\t\telse\n\t\t\t\t\t\tresult = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tlogger.debug(element1.toString() + \" commencement date is equal to \" + element2.toString() + \" commencement date\" );\n\t\t\t\t\n\t\t\t\t// if the processing commencement dates are the same then\n\t\t\t\t// sort by priority only\n\t\t\t\t// enum.compareTo() = \"Returns a negative integer, zero, or a positive integer as \n\t\t\t\t// this object is less than, equal to, or greater than the specified object. \n\t\t\t\t// Enum constants are only comparable to other enum constants of the same enum type. \n\t\t\t\t// The natural order implemented by this method is the order in which the constants are declared.\"\n\t\t\t\t// i.e. if element1 priority compared to element2 priority is -1 means that element1\n\t\t\t\t// priority is lower (since priority is in increasing order) and element1 should come later\n\t\t\t\t// in the processing (i.e. closer to the tail) therefore return 1\n\t\t\t\tresult = -1 * ( element1.getPriority().compareTo(element2.getPriority()) );\n\t\t\t}\n\t\t\t\n\t\t\tlogger.debug(\n\t\t\t\telement1.toString() + \" is \" + \n\t\t\t\t(result>0 ? \"lower priority\" : result<0 ? \"higher priority\" : \"equal priority\") + \n\t\t\t\t\" relative to \" + element2.toString());\n\t\t\t\n\t\t\treturn result;\n }", "title": "" }, { "docid": "d6e2b2dd9b2d79aa0a579bd92dabe48b", "score": "0.5535161", "text": "@Override\r\n\tpublic int compareTo(Object arg0) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "d6e2b2dd9b2d79aa0a579bd92dabe48b", "score": "0.5535161", "text": "@Override\r\n\tpublic int compareTo(Object arg0) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "d6e2b2dd9b2d79aa0a579bd92dabe48b", "score": "0.5535161", "text": "@Override\r\n\tpublic int compareTo(Object arg0) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "d343a037ce4ae7a816dd7cf479d281ec", "score": "0.55305016", "text": "public int compare(Article article1, Article article2) \n\t\t{\n\t\t\tDate date1 = null;\n\t\t\tDate date2 = null;\n\t\t\ttry {\n\t\t\t\tdate1 = new SimpleDateFormat(\"MM/dd/yyy\").parse(article1.date);\n\t\t\t\tdate2 = new SimpleDateFormat(\"MM/dd/yyy\").parse(article2.date);\n\t\t\t} catch (ParseException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn date1.compareTo(date2);\n\t\t}", "title": "" }, { "docid": "bd1aecacd41eaa7bb51840ee9b782687", "score": "0.5520725", "text": "public int compareTo(Event anObject)\n {\n int maybeSame = this.getDate().compareTo(anObject.getDate());\n\n if (maybeSame == 0) {\n return this.getTitle().compareTo(anObject.getTitle());\n }\n else {\n return maybeSame;\n }\n }", "title": "" }, { "docid": "bd1c395ea8c628032ea7c4e139841e5a", "score": "0.5516582", "text": "public int compareTo(MixedCourseList o) {\n\t\tif (this.numClassDays()<o.numClassDays())\n\t\t\treturn -1;\n\t\tif (this.numClassDays()>o.numClassDays())\n\t\t\treturn 1;\n\t\tif (this.duration()<o.duration())\n\t\t\treturn -1;\n\t\tif (this.duration()>o.duration())\n\t\t\treturn 1;\n\t\treturn 0; //Same days and same duration\n\t}", "title": "" }, { "docid": "2a7c899e7f27a4366b7df35c886c7119", "score": "0.5514634", "text": "public int compareToByTime(Event event){\n if (this.getYear()<event.getYear())\n return -1;\n else if (this.getYear()>event.getYear())\n return 1;\n if (this.getMonth()<event.getMonth())\n return -1;\n else if (this.getMonth()>event.getMonth())\n return 1;\n if (this.getDay()<event.getDay())\n return -1;\n else if (this.getDay()>event.getDay())\n return 1;\n if (this.getHourStart()<event.getHourStart())\n return -1;\n else if (this.getHourStart()>event.getHourStart())\n return 1;\n if (this.getMinuteStart()<event.getMinuteStart())\n return -1;\n else if (this.getMinuteStart()>event.getMinuteStart())\n return 1;\n\n\n return 0;\n }", "title": "" }, { "docid": "b057189dd93108f7642d39eaad764d96", "score": "0.5512761", "text": "@Override\r\n\tpublic int compareTo(ServiceHistory another) {\n\t\treturn time > another.time ? 1: -1;\r\n\t}", "title": "" }, { "docid": "edf712dd0530390f9f36e86ff4a8d4e6", "score": "0.5511115", "text": "public int compare(Article article1, Article article2) \n\t\t{\n\t\t\tDate date1 = null;\n\t\t\tDate date2 = null;\n\t\t\ttry {\n\t\t\t\tdate1 = new SimpleDateFormat(\"MM/dd/yyy\").parse(article1.date);\n\t\t\t\tdate2 = new SimpleDateFormat(\"MM/dd/yyy\").parse(article2.date);\n\t\t\t} catch (ParseException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn date2.compareTo(date1);\n\t\t}", "title": "" }, { "docid": "d070bf8ebc734f9d486aae4ac5f9f529", "score": "0.5504892", "text": "@Override\n\t\t\t\tpublic int compare(Object[] o1, Object[] o2) {\n\t\t\t\t\tlong enterTime1 = Long.parseLong(String.valueOf(o1[0]));\n\t\t\t\t\tlong enterTime2 = Long.parseLong(String.valueOf(o2[0]));\n\t\t\t\t\tif (enterTime1 > enterTime2) {\n\t\t\t\t\t\treturn 1;\n\t\t\t\t\t} else if (enterTime1 < enterTime2) {\n\t\t\t\t\t\treturn -1;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t}\n\t\t\t\t}", "title": "" }, { "docid": "215c79ddf7e0ba95aed8b4ed4bb1b1e6", "score": "0.5503622", "text": "public int compareTo(final StudentData that) {\n if (this.totalMarks > that.totalMarks) {\n return 1;\n } else if (this.totalMarks < that.totalMarks) {\n return -1;\n }\n if (this.sub3marks > that.sub3marks) {\n return 1;\n } else if (this.sub3marks < that.sub3marks) {\n return -1;\n }\n if (this.sub2marks > that.sub2marks) {\n return 1;\n } else if (this.sub2marks < that.sub2marks) {\n return -1;\n }\n if (Integer.parseInt(this.dateCheck()[2])\n > Integer.parseInt(that.dateCheck()[2])) {\n return 1;\n } else if (Integer.parseInt(this.dateCheck()[2])\n < Integer.parseInt(that.dateCheck()[2])) {\n return -1;\n }\n if (Integer.parseInt(this.dateCheck()[1])\n > Integer.parseInt(that.dateCheck()[1])) {\n return 1;\n } else if (Integer.parseInt(this.dateCheck()[1])\n < Integer.parseInt(that.dateCheck()[1])) {\n return -1;\n }\n if (Integer.parseInt(this.dateCheck()[0])\n > Integer.parseInt(that.dateCheck()[0])) {\n return 1;\n } else if (Integer.parseInt(this.dateCheck()[0])\n < Integer.parseInt(that.dateCheck()[0])) {\n return -1;\n }\n return 0;\n }", "title": "" }, { "docid": "f0a6780f8a3ec144f0d618a7cc1e5fd9", "score": "0.54971254", "text": "@Override\n\tpublic int compare(Doggie o1, Doggie o2) {\n\t\treturn o1.getBirthDate()-o2.getBirthDate();\n\t}", "title": "" }, { "docid": "fa325cbda4efc5ed4dabe5c74b105d5c", "score": "0.54934686", "text": "public int compare(Appointment o1, Appointment o2)\n {\n \n return o1.getDateTime().compareTo(o2.getDateTime());\n }", "title": "" }, { "docid": "8cd8fac4e2b410a8e2e514f33ace3c79", "score": "0.5492801", "text": "@Test\r\n public void test_compare_Greater3() {\r\n data2.setResolutionDate(data1.getResolutionDate());\r\n int res = instance.compare(data2, data1);\r\n\r\n assertTrue(\"'compare' should be correct.\", res > 0);\r\n }", "title": "" }, { "docid": "725558491be92ffa47245375e8915479", "score": "0.54888546", "text": "public boolean rangoFechasCorrecto(java.util.Date d1, java.util.Date d2){\r\n java.util.Calendar d1Cal = Calendar.getInstance();\r\n d1Cal.setTime(d1);\r\n // Convertimos todo el tiempo a 12:00:00'00\r\n d1Cal.set(java.util.Calendar.HOUR, 12);\r\n d1Cal.set(java.util.Calendar.MINUTE, 0);\r\n d1Cal.set(java.util.Calendar.SECOND, 0);\r\n d1Cal.set(java.util.Calendar.MILLISECOND, 0);\r\n java.util.Calendar d2Cal = Calendar.getInstance();\r\n d2Cal.setTime(d2);\r\n // Igual, Convertimos todo el tiempo a 12:00:00'00\r\n d2Cal.set(java.util.Calendar.HOUR, 12);\r\n d2Cal.set(java.util.Calendar.MINUTE, 0);\r\n d2Cal.set(java.util.Calendar.SECOND, 0);\r\n d2Cal.set(java.util.Calendar.MILLISECOND, 0);\r\n java.util.Calendar fechaHoy = Calendar.getInstance();\r\n // La fecha de hoy siempre está por default a las 12 y no se puede cambiar\r\n fechaHoy.set(java.util.Calendar.HOUR, 0);\r\n fechaHoy.set(java.util.Calendar.MINUTE, 0);\r\n fechaHoy.set(java.util.Calendar.SECOND, 0);\r\n fechaHoy.set(java.util.Calendar.MILLISECOND, 0);\r\n \r\n if(d1Cal.equals(fechaHoy)){\r\n if(d2Cal.before(d1Cal)){\r\n return false;\r\n }else{\r\n return true;\r\n }\r\n }else{\r\n if(d1Cal.before(fechaHoy)){\r\n return false;\r\n }else{\r\n if(d2Cal.before(d1Cal)){\r\n return false;\r\n }else{\r\n return true;\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "7ad11bdea3e87a83cdebf5fd9ff1ce96", "score": "0.54853755", "text": "public int compareTo(PostThread other) {\n if (other == null) {\n return 1;\n }\n return other.date.compareTo(this.date);\n }", "title": "" }, { "docid": "596c0b0042a4a1ac4f9ddc2e3645aed4", "score": "0.54851794", "text": "public int compareTo(Time other) {\n\t\tif (year < other.year)\n\t\t\treturn -1;\n\t\telse if (year > other.year)\n\t\t\treturn 1;\n\t\telse if (month < other.month)\n\t\t\treturn -1;\n\t\telse if (month > other.month)\n\t\t\treturn 1;\n\t\telse if (day < other.day)\n\t\t\treturn -1;\n\t\telse if (day > other.day)\n\t\t\treturn 1;\n\t\telse if (hour < other.hour)\n\t\t\treturn -1;\n\t\telse if (hour > other.hour)\n\t\t\treturn 1;\n\t\telse if (minute < other.minute)\n\t\t\treturn -1;\n\t\telse if (minute > other.minute)\n\t\t\treturn 1;\n\t\telse\n\t\t\treturn 0;\n\t}", "title": "" }, { "docid": "49a8dda6fba037d794ade717de6ed470", "score": "0.54776144", "text": "public static int compareDates(String date1, String date2) {\n int day1 = DateValidator.obtainDay(date1);\n int day2 = DateValidator.obtainDay(date2);\n int month1 = DateValidator.obtainMonth(date1);\n int month2 = DateValidator.obtainMonth(date2);\n int year1 = DateValidator.obtainYear(date1);\n int year2 = DateValidator.obtainYear(date2);\n \n if(year1 != year2) {return year1 - year2;}\n else if(month1 != month2) {return month1 - month2;}\n else if(day1 != day2) {return day1 - day2;}\n \n return 0;\n }", "title": "" } ]
fb0afe36292ff0fcdf874e16d121c172
End of variables declaration//GENEND:variables
[ { "docid": "0aeef4262d463134ae08184f55bb3458", "score": "0.0", "text": "private void show_property_detail() {\n try {\n rs = stmt.executeQuery(\"select * from property_master where property_id =\"+pid);\n \n rs.next();\n String type=rs.getString(\"type\");\n jLabel10.setText(type);\n int rent = rs.getInt(\"rent\");\n jLabel12.setText(rent+\"\");\n int floor = rs.getInt(\"floor\");\n if(floor==0)\n jLabel9.setText(\"Ground floor\");\n if(floor==1)\n jLabel9.setText(\"Basement\");\n if(floor==2)\n jLabel9.setText(\"!st Floor\");\n if(floor==3)\n jLabel9.setText(\"2nd Floor\");\n if(floor==4)\n jLabel9.setText(\"3rd Floor\");\n if(floor==5)\n jLabel9.setText(\"4th Floor\");\n if(floor==6)\n jLabel9.setText(\"5th Floor\");\n \n int oid=rs.getInt(\"owner_id\");\n Statement st=c.createStatement();\n ResultSet s=st.executeQuery(\"select * from owner where owner_id=\"+oid);\n s.next();\n phone=s.getString(\"phone\");\n \n String oname=s.getString(\"owner_name\");\n jLabel6.setText(oname);\n String city = rs.getString(\"city\");\n jLabel28.setText(city);\n \n String pincode = rs.getString(\"pincode\");\n jLabel27.setText(pincode);\n \n String colony =rs.getString(\"colony\");\n jLabel26.setText(colony);\n \n String pre = rs.getString(\"preferred\");\n jLabel25.setText(pre);\n \n String bal = rs.getString(\"balcony\");\n jLabel22.setText(bal);\n \n String fac = rs.getString(\"facing\");\n jLabel21.setText(fac);\n \n String fur = rs.getString(\"furshing\");\n jLabel20.setText(fur);\n \n int ar = rs.getInt(\"area\");\n jLabel19.setText(ar+\"\");\n \n String pdate = rs.getString(\"posted_date\");\n jLabel5.setText(pdate);\n \n location_name();\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null,\"Error\"+ex);\n }\n }", "title": "" } ]
[ { "docid": "4fed9205404a2cf50930c327e2a3c699", "score": "0.6392478", "text": "@Override\n\tpublic void variableInit() {\n\t\t\n\t}", "title": "" }, { "docid": "d2bb25c9512608650d5e25ed1f6e55ff", "score": "0.6303109", "text": "@Override\n\tprotected void initVariable() {\n\n\t}", "title": "" }, { "docid": "f5fd4f1b89ecbb54b8b64a1b9e40552c", "score": "0.62214917", "text": "protected void mo7431b() {\n }", "title": "" }, { "docid": "c2b1e81a080804916a788413031e651f", "score": "0.60201454", "text": "public void mo39596a() {\n }", "title": "" }, { "docid": "c2b1e81a080804916a788413031e651f", "score": "0.60201454", "text": "public void mo39596a() {\n }", "title": "" }, { "docid": "48b63de2548886473121db1e531f2684", "score": "0.60089654", "text": "@Override\n\tpublic void initVariable() {\n\n\t}", "title": "" }, { "docid": "48b63de2548886473121db1e531f2684", "score": "0.60089654", "text": "@Override\n\tpublic void initVariable() {\n\n\t}", "title": "" }, { "docid": "48b63de2548886473121db1e531f2684", "score": "0.60089654", "text": "@Override\n\tpublic void initVariable() {\n\n\t}", "title": "" }, { "docid": "8d7772a24d0c246ec6550039e4edc41e", "score": "0.59999526", "text": "public void mo24527a_() {\n }", "title": "" }, { "docid": "9850c0c0f147a886f74cb9f6ebd2f04e", "score": "0.59940803", "text": "protected boolean func_70041_e_() { return false; }", "title": "" }, { "docid": "6e99941939c49f47ed377afc5b6700e9", "score": "0.5991798", "text": "public void mo24438b_() {\n }", "title": "" }, { "docid": "451963e711347a36d9f8209aa1e707e2", "score": "0.59841466", "text": "public void mo39716g() {\n }", "title": "" }, { "docid": "4c3b3d975dd112cd0977aeae3ca50081", "score": "0.59688365", "text": "public void mo12930a() {\n }", "title": "" }, { "docid": "3b85481494f0d9080d2372972f6e969b", "score": "0.59226775", "text": "public void metodo24hs() {\n\r\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5916", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "8b9fb3d86dfde50f0dee5b9df8f1386c", "score": "0.59149", "text": "void mo18642pG();", "title": "" }, { "docid": "f13a29996996a34a710d85285e104a7f", "score": "0.5903757", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.59033936", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "90586632a4af36d51003a1554ebef902", "score": "0.5900592", "text": "public void mo24205Oz() {\n }", "title": "" }, { "docid": "86ed6713ba8e5a54203c31fb8f461898", "score": "0.5884194", "text": "protected boolean func_70814_o() { return true; }", "title": "" }, { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.587543", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "35ef46a3c79661e7e72ced6a62c3c80b", "score": "0.5874837", "text": "public void mo104409b() {\n }", "title": "" }, { "docid": "3fb97b46c147b19f8180197325c66d34", "score": "0.5863257", "text": "@Override\n public void quite() {\n }", "title": "" }, { "docid": "944529d8d6ce4a5977d7631e273d3bef", "score": "0.5863119", "text": "public void mo19364c() {\n }", "title": "" }, { "docid": "2cc97f340071c93ab12395f2981731ee", "score": "0.5860525", "text": "public void mo25307b() {\n }", "title": "" }, { "docid": "49c1c38a2ba820bc4a379e424906bf28", "score": "0.5859405", "text": "public void mo1114b() {\n }", "title": "" }, { "docid": "089be79d90be02605e37d2a48b09e194", "score": "0.58502734", "text": "@Override\n\tpublic void gril() {\n\n\t}", "title": "" }, { "docid": "c5fa2315669c0925b60762f7cca5f0f6", "score": "0.58371246", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.5812075", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "39ede8b729d50cc65ac03a2096f8ca63", "score": "0.5811002", "text": "public void mo386c() {\n }", "title": "" }, { "docid": "83c17378086426b4324c4ea8c160e29d", "score": "0.58107555", "text": "@Override\r\n\tpublic void provjeri() {\n\r\n\t}", "title": "" }, { "docid": "e8f6ecd3f06f1f0e76ca511991b76265", "score": "0.58037865", "text": "protected void defesa(){}", "title": "" }, { "docid": "cce59b1187dd9e51a1b9d514512590d4", "score": "0.5802015", "text": "public void mo39228i() {\n }", "title": "" }, { "docid": "64d7e7aa6171a58c9037c52f7f0f1382", "score": "0.57945484", "text": "public final void mo74769c() {\n }", "title": "" }, { "docid": "24b980dcc7998c9061eef81fa0379a62", "score": "0.57877916", "text": "private void misccode() {\n\t\n\t}", "title": "" }, { "docid": "8c5321a939ff964cbfcfed4a4ac30946", "score": "0.57717973", "text": "@Override\n \tpublic void generateV() {\n \n \t}", "title": "" }, { "docid": "c44a78e7b866c2c348f318fc9b9bad68", "score": "0.57659507", "text": "private Variables() {\r\n\r\n }", "title": "" }, { "docid": "c7017bb0f571e1aced5412e60e58f9c6", "score": "0.57401276", "text": "public void mo385b() {\n }", "title": "" }, { "docid": "6fdee6df859d02229649e9693fa28697", "score": "0.573719", "text": "public final void mo74769c() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.5734773", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "9ee6be05232928533401d708d518b6ed", "score": "0.5731645", "text": "@Override\r\n\t\t\tpublic void enginetype() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "a1483cb59e81616cafe07934cf2a28f5", "score": "0.5731247", "text": "protected void mo1960i() {\n }", "title": "" }, { "docid": "81488a3212e9004be8808ba15e91f1a5", "score": "0.57273465", "text": "public final void mo93546b() {\n }", "title": "" }, { "docid": "222e940affde964fb9b52910580e02dc", "score": "0.5727098", "text": "private Problem3 ()\n\t{\n\t}", "title": "" }, { "docid": "49026d527a6034dadd87c08b08e9c2d5", "score": "0.57263535", "text": "public void mo430a() {\n }", "title": "" }, { "docid": "343bff8c2978aad779e15b9bc8d8a36c", "score": "0.57226795", "text": "public void mo97602d() {\n }", "title": "" }, { "docid": "90e9be10c2c69543036119c8db74189e", "score": "0.5703995", "text": "public void mo6944a() {\n }", "title": "" }, { "docid": "73505425d75fccf0aaca07c596941abd", "score": "0.56911045", "text": "static private void herd() {\n\t\t\n\t}", "title": "" }, { "docid": "c5c24c12a0dcd520bb073ed1749fda1d", "score": "0.5685445", "text": "public void mo19423b() {\n }", "title": "" }, { "docid": "970de608e510cd68027fa4f1fed634d5", "score": "0.5683161", "text": "void mo4129a(AbstractC0458e eVar);", "title": "" }, { "docid": "79cb84271225249fbc70f5f7b2fff90a", "score": "0.5681718", "text": "@Override\n\tpublic void visit(VariableNode node) {\n\t\t\n\t}", "title": "" }, { "docid": "829efa0211e42d9b28f2d3f9bf6197d5", "score": "0.56708074", "text": "public void mo3138a() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.5666574", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "fb8c5a88ca6c49e7613b8ad2c69a302a", "score": "0.56589586", "text": "public void mo39600b() {\n }", "title": "" }, { "docid": "fb8c5a88ca6c49e7613b8ad2c69a302a", "score": "0.56589586", "text": "public void mo39600b() {\n }", "title": "" }, { "docid": "118f2ab0b205bd0eaf2431b60213c13b", "score": "0.5654627", "text": "public void m1(){\n\t\tdefualtvariableA1 = 15;\n\t\tprotectedvariableA1 = 20;\n\t\tpublicvariableA1 = 25;\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "f448e47f2da25727e964a3718545f012", "score": "0.5651994", "text": "public final void mo93547c() {\n }", "title": "" }, { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.5647146", "text": "@Override\r\n\tpublic void 위험물회피() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a4e7c9d40162fb663f7305c579764241", "score": "0.56307864", "text": "public void e120P2( )\n {\n }", "title": "" }, { "docid": "40a41a107fa03a270a78b03d0bcf910d", "score": "0.563076", "text": "private void ergebnisAuswerten() {\n\n\t}", "title": "" }, { "docid": "3dfa47a88afa660765feb75614fc5b36", "score": "0.5613098", "text": "public void mo42785a() {\n }", "title": "" }, { "docid": "7b8c15e7999d828d92a1a026651cf012", "score": "0.5610786", "text": "public void mo3110a() {\n }", "title": "" }, { "docid": "c52abf264dc130278399a6a822295dca", "score": "0.5609588", "text": "@Override\n\t\t\tpublic void e() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "bde53ee3de9072b04cd122133e6162a1", "score": "0.5607464", "text": "public void soigner() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f02e82ef79f1d199f08f697ae4843ed7", "score": "0.5606942", "text": "public void aggiorna()\r\n\t{\r\n\t}", "title": "" }, { "docid": "e74841359f2b616460c1fcf1e3e0b696", "score": "0.56025904", "text": "@Override\n\tpublic void Oeffne_Schadenanlage() {\n\t\t\n\t}", "title": "" }, { "docid": "6575bb2e40b92b7e378d5d71b5551f39", "score": "0.5592374", "text": "public void mo383a() {\n }", "title": "" }, { "docid": "ce01e16cbc1fc0a29d28a4365b63f79d", "score": "0.5591632", "text": "@Override\n\tprotected void specialFuntion() {\n\t\t\n\t}", "title": "" }, { "docid": "29ccce724fd58392d185e72cc041be9f", "score": "0.5590335", "text": "public void mo1112c(C0244e eVar) {\n }", "title": "" }, { "docid": "c7e46898326a8035a77f0ef2c6d699de", "score": "0.55819416", "text": "public void mo54944s() {\n }", "title": "" }, { "docid": "a66ea1004175e4ee90835287538aa2e8", "score": "0.5581407", "text": "public void mo104408a() {\n }", "title": "" }, { "docid": "bfa9bd1c757dcb4651c7f075fcb216e8", "score": "0.5573651", "text": "@Override\n\tpublic void g() {\n\t\t\n\t}", "title": "" }, { "docid": "75007b530ab3a040f42b2979fc2ef5cb", "score": "0.55685556", "text": "private ZYMPController$Finger_status() {\n void var2_-1;\n void var1_-1;\n }", "title": "" }, { "docid": "5475c3e0d4f2d7f5a9f8ecf21fcf1470", "score": "0.5561506", "text": "void method_7939() {\r\n super.method_7939();\r\n this.field_7735 = true;\r\n }", "title": "" }, { "docid": "ce3831915f3c4a72f40a4cf729dbcd42", "score": "0.5559473", "text": "Fragment mo20240a(C7394e eVar);", "title": "" }, { "docid": "556495e35d508ac961dae051dd40b377", "score": "0.55523443", "text": "@Override\n\tpublic void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "cafabf52461ff440e52d46b01e269524", "score": "0.5528023", "text": "public void mo24471e() {\n }", "title": "" }, { "docid": "0e281be4fbc814290809cbdae250ea77", "score": "0.55146194", "text": "public final void mo59418f() {\n }", "title": "" }, { "docid": "a21047eaafcc2c1ada6326bfbe33e0ad", "score": "0.55108625", "text": "@Override\r\n public void alquilar() {\n }", "title": "" }, { "docid": "45ec4afde7555a42086b570a552a45a5", "score": "0.55050945", "text": "public void mo29067d() {\n }", "title": "" }, { "docid": "c18c3127184f8abd7be145ddb9d4c3e6", "score": "0.5504049", "text": "@Override\r\n\tpublic void 온도내리기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3f2992e6b797c2700993efbec2eb8cf7", "score": "0.55030704", "text": "public void mo2110a() {\n }", "title": "" }, { "docid": "4c427b281a4d8d1fcbab5740a9c597cc", "score": "0.5498909", "text": "void mo2336c(fz fzVar);", "title": "" }, { "docid": "4621e385d21324973d30eae0ec3fef40", "score": "0.54988515", "text": "public abstract void mo16713d();", "title": "" }, { "docid": "83c47fd690f50cb6e7abe6c574059096", "score": "0.54984987", "text": "@Override\r\n\tpublic void SCORReturn() {\n\r\n\t}", "title": "" }, { "docid": "d8bdda5026940193fc3e88494b07c26c", "score": "0.54963917", "text": "@Override\r\n\tpublic void modifyVariable() {\n\t}", "title": "" }, { "docid": "3ab22e2a31b28676b61af02c6d2ea845", "score": "0.54902446", "text": "@Override\n\tpublic void tt() {\n\t\t\n\t}", "title": "" }, { "docid": "9b9787eedaf8ab2866634795354c59ac", "score": "0.5490098", "text": "@Override\n\tprotected void special() {\n\n\t}", "title": "" }, { "docid": "18f681784b220f2ed0bc5e03bc7fa630", "score": "0.54864407", "text": "@Override\n\tpublic void enterVariableDeclarator(VariableDeclaratorContext ctx) {\n\t\t\n\t}", "title": "" }, { "docid": "f98329c4ce112f2ebcf93e4b478576a0", "score": "0.54798025", "text": "@Override\r\n\tpublic void work4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "63540154d3be39e052087327f2335fdd", "score": "0.54653925", "text": "public void mo1803ab() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54590267", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54590267", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54590267", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54590267", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54590267", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54590267", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "96950fcd6668067c4f88772215663192", "score": "0.54522794", "text": "private void init() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "fdbf96893589fef5cdd1a8fe92e98938", "score": "0.5451789", "text": "@Override\n\tpublic void enfria() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.54515827", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6ce1f49a3a80c20f13ecba1ddf4fd5b6", "score": "0.54447937", "text": "void mo1112c(C0244e eVar);", "title": "" } ]
692762706b4891f88c823ed2b9644fa1
The value to sort results by.
[ { "docid": "13c49987650f90fbdc000fc6ade7377f", "score": "0.0", "text": "public void setSortBy(String sortBy) {\n this.sortBy = sortBy;\n }", "title": "" } ]
[ { "docid": "8484be0abee92bef5351d975456404df", "score": "0.6546557", "text": "private MsoFileFindSortBy(int value) { this.value = value; }", "title": "" }, { "docid": "0c1924db7e2afd6e870fd4ed674eeac1", "score": "0.65098864", "text": "public Integer getSort() {\r\n return this.sort;\r\n }", "title": "" }, { "docid": "5aa9f8e1c603a68fe4f1e2f7dc0605d2", "score": "0.6395289", "text": "public Integer getSort() {\r\n return sort;\r\n }", "title": "" }, { "docid": "a2bba74cb8fda0408dddc00846420203", "score": "0.63278896", "text": "public Integer getSort() {\n return sort;\n }", "title": "" }, { "docid": "a2bba74cb8fda0408dddc00846420203", "score": "0.63278896", "text": "public Integer getSort() {\n return sort;\n }", "title": "" }, { "docid": "a2bba74cb8fda0408dddc00846420203", "score": "0.63278896", "text": "public Integer getSort() {\n return sort;\n }", "title": "" }, { "docid": "a2bba74cb8fda0408dddc00846420203", "score": "0.63278896", "text": "public Integer getSort() {\n return sort;\n }", "title": "" }, { "docid": "625a2b4a79c16a3fec6c73ea348cc024", "score": "0.6267978", "text": "String getSortField();", "title": "" }, { "docid": "4f11eaf8fb1e0e3579778fe66077e336", "score": "0.61841685", "text": "Object getComparisonValue();", "title": "" }, { "docid": "c53cfd86765962c7348d3f97c30d5a76", "score": "0.618332", "text": "public java.lang.String getSortOrder();", "title": "" }, { "docid": "61fe5f2d37b835552ce3c76d1679aa4d", "score": "0.6050615", "text": "public Integer getSortNum() {\n return sortNum;\n }", "title": "" }, { "docid": "2e058423bb73bda5cd0974e4422b58dd", "score": "0.60133725", "text": "@Override\n\t\t\tpublic int compare(Entry<Integer, Integer> o1, Entry<Integer, Integer> o2) {\n\t\t\t\treturn o2.getValue().compareTo(o1.getValue());\n\t\t\t}", "title": "" }, { "docid": "d081e81f4227220509980da709e4c2dc", "score": "0.6001607", "text": "public Integer getRoomSort() {\n return roomSort;\n }", "title": "" }, { "docid": "f0d8f248d8e1e37a63f0d389fbe48e44", "score": "0.59787405", "text": "String getSortCriterion();", "title": "" }, { "docid": "e53cef9e87f664c8dfd411532a95ede8", "score": "0.59691966", "text": "public int getValue() { return(this._priority); }", "title": "" }, { "docid": "cd92df6ed4cb6adc0bc8d6a81b97cff8", "score": "0.59604204", "text": "public int getValue() {\n \t\t\treturn ordinal();\n \t\t}", "title": "" }, { "docid": "cd92df6ed4cb6adc0bc8d6a81b97cff8", "score": "0.59604204", "text": "public int getValue() {\n \t\t\treturn ordinal();\n \t\t}", "title": "" }, { "docid": "cd92df6ed4cb6adc0bc8d6a81b97cff8", "score": "0.59604204", "text": "public int getValue() {\n \t\t\treturn ordinal();\n \t\t}", "title": "" }, { "docid": "11b2e2cd83ceffc34bca31da7e7b8b44", "score": "0.59376943", "text": "int getOrdTypeValue();", "title": "" }, { "docid": "dce7791f67f2f1e58ba37687539f16e5", "score": "0.58328116", "text": "public Integer getFeatureSort() {\n return featureSort;\n }", "title": "" }, { "docid": "8d98fbe84e0052550e9bc1cf1265d26c", "score": "0.58071995", "text": "public String getSort() {\n\t\treturn sort;\n\t}", "title": "" }, { "docid": "5d7f966954065175acee37d3c858c2de", "score": "0.5807011", "text": "String getOrdering();", "title": "" }, { "docid": "ed4fb5e8ee6a2a2ca88e4028e2a10548", "score": "0.5797408", "text": "public String getSortField() {\n return sortField;\n }", "title": "" }, { "docid": "afdbc74bda315e5662799de6a6a82846", "score": "0.57703954", "text": "public int getSortOrder() {\n/* 322 */ return this.sortOrder;\n/* */ }", "title": "" }, { "docid": "def0eb9e7931f1284bb4f5a4225aaaee", "score": "0.5745062", "text": "public Object topValue();", "title": "" }, { "docid": "a92afa5abe7168b8d0ec8cc58b773389", "score": "0.5742052", "text": "@Override\n\tpublic int compareTo(Entry o) {\n\t\treturn o.val - this.val;\n\t}", "title": "" }, { "docid": "7672d429db716927a08a24f210f96440", "score": "0.5739404", "text": "public String getSortBy() {\n return this.sortBy;\n }", "title": "" }, { "docid": "6ea7244f79161c63abeaef2a1d3eef94", "score": "0.5730852", "text": "@Override\n\t\t\tpublic int compare(Entry<String, Integer> entry1,\n\t\t\t\t\tEntry<String, Integer> entry2) {\n\t\t\t\treturn entry2.getValue().compareTo(entry1.getValue());\n\t\t\t}", "title": "" }, { "docid": "2a79356f8edbefffa3ca8e4470f50d9f", "score": "0.5716942", "text": "public int getPriorityValue() { return(this._priority); }", "title": "" }, { "docid": "b7d40657497779c2d7003b7cbc0453ff", "score": "0.5714014", "text": "Sort getSort();", "title": "" }, { "docid": "2f39208b07d8e5b7b6063149386a064d", "score": "0.5695204", "text": "public String getTakeableSortOrder()\n\t{\n\t\treturn takeableSortOrder;\n\t}", "title": "" }, { "docid": "29a531f584a9ad3c57437e0bf488de8a", "score": "0.56841844", "text": "@Override\n\t\tpublic int compare(Entry<String, Integer> o1, Entry<String, Integer> o2) {\n\t\t\treturn o1.getValue()-o2.getValue();\n\t\t}", "title": "" }, { "docid": "a3fe3a6864fa1ca46daa55afaca5ab9f", "score": "0.56756365", "text": "@JsonIgnore\r\n public String getSortOrder() {\r\n return OptionalNullable.getFrom(sortOrder);\r\n }", "title": "" }, { "docid": "572283ab22a59937fb0ce5ed7a07c996", "score": "0.56529516", "text": "public Integer getSortOrder() {\n return sortOrder;\n }", "title": "" }, { "docid": "3caf2baa4510c861bef1885835e0c997", "score": "0.5651833", "text": "public int topAnswerVal() { return answers.get(0).getValue(); }", "title": "" }, { "docid": "6a2c1b199ff45438717bfcabd296c1b8", "score": "0.5646573", "text": "public Integer getCsort() {\n return csort;\n }", "title": "" }, { "docid": "71c3ba6adcbf79f6c16bbd91718fc67c", "score": "0.56449896", "text": "public String getUsrMonitoredSortOrder(){\n switch (settingPref.getString(SETTINGS_MONITORED_TASKS_SORT_ORDER, UNSORTED)){\n case FREQUENCY:\n return FREQUENCY;\n case TIME:\n return TIME;\n default:\n return TIME;\n }\n }", "title": "" }, { "docid": "ee397ff473e22377c2e8afe924d5c4ab", "score": "0.5641878", "text": "@Override\n public int compareTo(Valuable o) {\n\tif (this.getCurrency().equalsIgnoreCase(o.getCurrency()))\n\t return Double.compare(this.getValue(), o.getValue());\n\treturn this.getCurrency().compareToIgnoreCase(o.getCurrency());\n }", "title": "" }, { "docid": "bea2452f2cdead9d7f75d41f29e72a04", "score": "0.56365454", "text": "public String getNameValue() {\n\t\t\tif (whenSorting)\n\t\t\t\treturn nameValue.get().toLowerCase();\n\t\t\telse\n\t\t\t\treturn nameValue.get();\n\t\t}", "title": "" }, { "docid": "1451d9f6a2ffed2e9080be71eb5f5f64", "score": "0.56129116", "text": "@Override\n public int compare(Entry<Integer, Double> o1,Entry<Integer, Double> o2) {\n return o2.getValue() == o1.getValue() ? 0 :\n (o2.getValue() > o1.getValue() ? 1 : -1);\n }", "title": "" }, { "docid": "43da8ad97a83e7c8a19d77f1852f4dde", "score": "0.5609082", "text": "public Byte getSort_order() {\n return sort_order;\n }", "title": "" }, { "docid": "71a58fc870dce5397526601289c4e910", "score": "0.55970204", "text": "public void sortByValue(String sName){\n }", "title": "" }, { "docid": "d4b7b0dc3e03abb0703e74ffbd4efa92", "score": "0.55910105", "text": "@Override\r\n\t\tpublic int compare(Entry<String, Integer> arg0, Entry<String, Integer> arg1) {\n\t\t\treturn arg0.getValue().compareTo(arg1.getValue());\r\n\t\t}", "title": "" }, { "docid": "fc79a1a928e8d5e6990bf51b1158f723", "score": "0.5584795", "text": "public String getSortColumn() {\n\t\treturn sortColumn;\r\n\t}", "title": "" }, { "docid": "ee2aa4dcd67f22e043b74b8f1c471a9f", "score": "0.5582791", "text": "public static MsoFileFindSortBy valueOf(int value) {\r\n switch(value) {\r\n case 1: return msoFileFindSortbyAuthor;\r\n case 2: return msoFileFindSortbyDateCreated;\r\n case 3: return msoFileFindSortbyLastSavedBy;\r\n case 4: return msoFileFindSortbyDateSaved;\r\n case 5: return msoFileFindSortbyFileName;\r\n case 6: return msoFileFindSortbySize;\r\n case 7: return msoFileFindSortbyTitle;\r\n default: return new MsoFileFindSortBy(value);\r\n }\r\n }", "title": "" }, { "docid": "c3cb64f3846b7b2dbd0b6ee9747e8389", "score": "0.5579755", "text": "public int getOrder() {\n return Ordered.LOWEST;\n }", "title": "" }, { "docid": "7e8160076e35f2abc09efda9381bc492", "score": "0.55770874", "text": "public Integer getLiveTvOrder();", "title": "" }, { "docid": "879201d930a956d73d7898133fbf3475", "score": "0.5566691", "text": "Object topValue();", "title": "" }, { "docid": "10e55e9a7ed19db99a19b4b2b6f41a5d", "score": "0.5564178", "text": "public int getSortOrder() {\n return sortOrder;\n }", "title": "" }, { "docid": "e7665c91667af9b8f4dcd11ef9c34a28", "score": "0.55598384", "text": "@Override\r\n\t\t\tpublic int compare(ArrangementList o1, ArrangementList o2) {\n\t\t\t\treturn o1.getValue().compareTo(o2.getValue());\r\n\t\t\t}", "title": "" }, { "docid": "e7665c91667af9b8f4dcd11ef9c34a28", "score": "0.55598384", "text": "@Override\r\n\t\t\tpublic int compare(ArrangementList o1, ArrangementList o2) {\n\t\t\t\treturn o1.getValue().compareTo(o2.getValue());\r\n\t\t\t}", "title": "" }, { "docid": "1647dfbea5480f21abcb9c20238ca67d", "score": "0.5558311", "text": "public int getSortedColumn() {\n \treturn sortedColumn;\n }", "title": "" }, { "docid": "45e13f912264dad111576edc4a1cd83f", "score": "0.55520666", "text": "public Integer getSurveysort() {\n return surveysort;\n }", "title": "" }, { "docid": "008b3ebb3d3caf1f4c2e0e07328e0cc3", "score": "0.5539775", "text": "public DotName getSortName(){\n return(mycore.getSortName());\n }", "title": "" }, { "docid": "943fa36d2601aa32cf969e7cfb3776fd", "score": "0.553475", "text": "public String asc() {\n return this.column + \" ASC\";\n }", "title": "" }, { "docid": "9cc87d68de2234c34ec8c91cc4865a76", "score": "0.5531835", "text": "public String getOrdering() {\n/* 380 */ return this.ordering;\n/* */ }", "title": "" }, { "docid": "2af14d07d0d5effd102964dd20428fd1", "score": "0.5527565", "text": "@Override\n\t\t\tpublic int compare(Entry<String, Integer> o1, Entry<String, Integer> o2) {\n\t\t\t\treturn o2.getValue() - o1.getValue();\n\t\t\t}", "title": "" }, { "docid": "db2fee6bd594059b6bbe8b4f8102b6f0", "score": "0.5519357", "text": "@Override\n\t\t\tpublic int compare(Object o1, Object o2) {\n\t\t\t\treturn ((Map.Entry<Integer, String>) (o1)).getValue().compareTo(((Map.Entry<Integer, String>)(o2)).getValue());\n\t\t\t}", "title": "" }, { "docid": "d01aacd642f475d035a404749402003b", "score": "0.5517258", "text": "public Integer getSortOrder()\n\t{\n\t\treturn sortOrder;\n\t}", "title": "" }, { "docid": "97d27c48e087031092abceb47f296d72", "score": "0.5497778", "text": "public String getSortString() {\r\n return this.sortString;\r\n }", "title": "" }, { "docid": "97d27c48e087031092abceb47f296d72", "score": "0.5497778", "text": "public String getSortString() {\r\n return this.sortString;\r\n }", "title": "" }, { "docid": "bb8a405451808a420e4c5f9186a335a1", "score": "0.5488148", "text": "public int getLowerValue() {\n return getValue();\n }", "title": "" }, { "docid": "bdca37f71ff0a6fc52ad862f8b43c24d", "score": "0.548408", "text": "public int getValue() { return value; }", "title": "" }, { "docid": "488e1bc2df0d7e7c90bb9d973079c2ac", "score": "0.5472679", "text": "int getOrdering() {\n return ordering;\n }", "title": "" }, { "docid": "9a12034f35a7da53b34feca343e388b8", "score": "0.54719704", "text": "public int getDommageSort() {\r\n\t\treturn dommageSort;\r\n\t}", "title": "" }, { "docid": "d24c7998587ef11ee57a562033a9f91f", "score": "0.54607564", "text": "@Override\n\t\tpublic int compare(ScoredValue left,\n\t\t\t\tScoredValue right) {\n\t\t\tif (left.score > right.score)\n\t\t\t\treturn 1;\n\t\t\telse if (left.score == right.score)\n\t\t\t\treturn 0;\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t\t\t\n\t\t}", "title": "" }, { "docid": "90974537a4a55f73f0e50d3f8e208ef7", "score": "0.5460296", "text": "public Integer getNavigationSort() {\n return navigationSort;\n }", "title": "" }, { "docid": "acaad5740320781918e6eb6b194b0e62", "score": "0.5460135", "text": "public Integer getDisplayOrder() {\r\n return this.displayOrder;\r\n }", "title": "" }, { "docid": "d9efe687b8ba25d94358245cb5e22cc0", "score": "0.54587483", "text": "public String getSortOrder() {\n return this.sortOrder;\n }", "title": "" }, { "docid": "9584d3ccf09fcbee911221433649d77a", "score": "0.5456244", "text": "@Override\n public int compare(Entry<String, Integer> o1,\n Entry<String, Integer> o2) {\n return o2.getValue()-o1.getValue();\n }", "title": "" }, { "docid": "6657f7ed7bbfa37d7ef7259842c6dc3c", "score": "0.5453437", "text": "IReportRootCollectionRequest orderBy(final String value);", "title": "" }, { "docid": "3c3ef28f733e939b2d08bce668397440", "score": "0.5452779", "text": "public static String getSortQuery() {\n int intSettings = Settings.getIntSettings(Settings.KEY_SORT_MODE, 3);\n if (intSettings == 0) {\n return \"datetaken ASC\";\n }\n if (intSettings == 1) {\n return \"_display_name COLLATE LOCALIZED ASC\";\n }\n if (intSettings == 2) {\n return \"duration ASC\";\n }\n if (intSettings == 3) {\n return \"datetaken DESC\";\n }\n if (intSettings != 4) {\n return intSettings != 5 ? \"datetaken DESC\" : \"duration DESC\";\n }\n return \"_display_name COLLATE LOCALIZED DESC\";\n }", "title": "" }, { "docid": "7463c1bd3b4b47b715f7a27f6bc470e0", "score": "0.5448613", "text": "public com.amazon.ask.smapi.model.v1.auditLogs.SortField getSortField() {\n return com.amazon.ask.smapi.model.v1.auditLogs.SortField.fromValue(sortField);\n }", "title": "" }, { "docid": "fb320b701d31d394a011df5bccaedbd7", "score": "0.54482955", "text": "public String getSortingExpression(){\n if (isMeasure()){\n return \"(\" + uName + \")\";\n }else{\n return getDimensionNameForSorting() + \".CurrentMember.Name\";\n }\n }", "title": "" }, { "docid": "3e14fc4a7064ce4debe7ddda10bd4201", "score": "0.5446874", "text": "public String getCompare() {\n return compare;\n }", "title": "" }, { "docid": "b840ffb29eb6e5497694acec71e4b12b", "score": "0.5439519", "text": "public abstract int compare(ExprValue other);", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "478347b4b0bbceec6ccf97be61e5da42", "score": "0.54348665", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "7f62bf2355068ddcb4adf602cf2c39d6", "score": "0.5423482", "text": "@Override\r\n\tpublic int getSortId() {\n\t\treturn this.getAppEnumKey();\r\n\t}", "title": "" }, { "docid": "784a7a80878636963381a05d5487ceb6", "score": "0.54230636", "text": "public int getValue() {\n return value;\n }", "title": "" }, { "docid": "f6afbf5894e0abef2388430e23645c49", "score": "0.5417514", "text": "public double sortValue(String key) {\n // subclasses will override this with a real implementation if they can be sorted\n throw new IllegalArgumentException(\"Can't sort a [\" + getType() + \"] aggregation [\" + getName() + \"]\");\n }", "title": "" }, { "docid": "395032188a6ca12963e702d679481e2c", "score": "0.5413704", "text": "@Override\n public int compare(Item item1, Item item2) {\n return item2.getValue() - item1.getValue();\n }", "title": "" }, { "docid": "35a5709c9ac96cd6eee2d133465e89d9", "score": "0.54091173", "text": "ParseResult parseSort(String val);", "title": "" }, { "docid": "5999f6f56eed28a44864ba2237711d28", "score": "0.54040164", "text": "public int compareTo(Number param)\n\t{\n\t\treturn 0;\t\t\n\t}", "title": "" }, { "docid": "b440f1d0ae450e0eea0d704f6bd6f96f", "score": "0.540332", "text": "public int getValue() {\n return value_;\n }", "title": "" }, { "docid": "a6079f319e5d25122eaaf3881dc75e43", "score": "0.53938", "text": "public int getValue() { return this.value; }", "title": "" }, { "docid": "2530a4340ff4dec46165f8585b10a95b", "score": "0.5388444", "text": "public String getAscending() {\r\n return this.ascending;\r\n }", "title": "" }, { "docid": "2530a4340ff4dec46165f8585b10a95b", "score": "0.5388444", "text": "public String getAscending() {\r\n return this.ascending;\r\n }", "title": "" }, { "docid": "54155501f0424d0a8c04e94510fd092f", "score": "0.53768224", "text": "public int getValue () { return value; }", "title": "" }, { "docid": "40b40b216cac17881acc4ed6d0e45cb4", "score": "0.5374951", "text": "@Override\n\tpublic int getValue() {\n\t\treturn value;\n\t}", "title": "" }, { "docid": "40b40b216cac17881acc4ed6d0e45cb4", "score": "0.5374951", "text": "@Override\n\tpublic int getValue() {\n\t\treturn value;\n\t}", "title": "" }, { "docid": "9d374dfaa6eda6ecaf8d5c4328c9af95", "score": "0.53728414", "text": "public Sort.Direction sort() {\n return sort;\n }", "title": "" } ]
a3ea07d976e5c04c80426f333f3c7919
Get position of center child in Y Axes
[ { "docid": "9045693bf2e22e7cb322638bddabe9fa", "score": "0.6766587", "text": "public static int getCenterYChildPosition(RecyclerView recyclerView) {\n int childCount = recyclerView.getChildCount();\n if (childCount > 0) {\n for (int i = 0; i < childCount; i++) {\n View child = recyclerView.getChildAt(i);\n if (isChildInCenterY(recyclerView, child)) {\n return recyclerView.getChildAdapterPosition(child);\n }\n }\n }\n return childCount;\n }", "title": "" } ]
[ { "docid": "2851b4b666e53a699e18bfdd35b3c08d", "score": "0.70283014", "text": "public double getCenterY() {\n return 0;\n }", "title": "" }, { "docid": "a1a2851eb8706deaba938c23f9947522", "score": "0.6907502", "text": "public double getCentreY() { return centre[1]; }", "title": "" }, { "docid": "0535ea076a02854555e96988db3ab64b", "score": "0.6860992", "text": "public float getCenterY ()\n {\n return (_v1.y + _v2.y + _v3.y) * (1f / 3f);\n }", "title": "" }, { "docid": "234b86eaf9813d67fae0c93bc3a89fbd", "score": "0.68223125", "text": "public int getCenterY() {\n return center.getY();\n }", "title": "" }, { "docid": "894496c6288290b651ee4813362cdd25", "score": "0.681182", "text": "public int getCenterY(){return centerY; }", "title": "" }, { "docid": "195fd32299618e20308c3755eb8b4b30", "score": "0.6725034", "text": "public int getyCenter(){\r\n\t\treturn this.yCenter;\r\n\t}", "title": "" }, { "docid": "06f4727c767f0a4ea5e00b1595462b6d", "score": "0.66578966", "text": "public int getYCenter() {\n return y + image.getIconHeight()/2;\n }", "title": "" }, { "docid": "bfb0a08b8579a9c90ee57e9923597f12", "score": "0.6612922", "text": "public int getCentreY() {\n return centreY;\n }", "title": "" }, { "docid": "645c344bdc17baa30dcd2a3ff95057a7", "score": "0.65861887", "text": "abstract public Point2D getCenterPosition();", "title": "" }, { "docid": "e3f02b747e299a0a5bbe6bbd60d9ec95", "score": "0.65812767", "text": "public double getCenterY() {\n return centerY;\n }", "title": "" }, { "docid": "f1863940d2ffbd5ad0b0fbad2247bb54", "score": "0.6560554", "text": "public double getYCenter()\n\t{return yCenter;}", "title": "" }, { "docid": "0e3cb374e8fa9c5ada348bcd3b9221b8", "score": "0.6538358", "text": "public Vec2d getPosition(){\n return new Vec2d(this.src.x + this.parentPosition.x, this.src.y + this.parentPosition.y);\n }", "title": "" }, { "docid": "666c97f1bd5d0efeef21509dc6b8ff94", "score": "0.6509182", "text": "public int getCentroY() {\r\n return this.iCentroY;\r\n }", "title": "" }, { "docid": "21be27e26b8638399a06d3b9ce282664", "score": "0.6499522", "text": "B center(double x, VerticalAlign y);", "title": "" }, { "docid": "2a3d4343113fa1f420d17323e644e950", "score": "0.6487125", "text": "public void calculateXYPosition();", "title": "" }, { "docid": "9fedfca90548a667d062e691db454111", "score": "0.6482643", "text": "public float getYCenter() {\r\n return yCenter;\r\n }", "title": "" }, { "docid": "c72519180dd1c6c8a3a8ea0e7e78698c", "score": "0.6474424", "text": "protected float calculateCenterY() {\n\t\tfloat centerY = getMeasuredHeight() / 2;\n\t\tLOGGER.trace(\"Calculated Action Button center Y: {}\", centerY);\n\t\treturn centerY;\n\t}", "title": "" }, { "docid": "450c9035de78a2ffab7fa84afffd5d1b", "score": "0.64735305", "text": "public final Point getAbsolutePosition() {\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tCSMComponent p = this;\n\t\tfor (p = this; p != null; p = p.getParent()) {\n\t\t\tx += p.getPosition().x;\n\t\t\ty += p.getPosition().y;\n\t\t}\n\t\treturn new Point(x, y);\n\t}", "title": "" }, { "docid": "0117e7d64ae2d0e69a4a97a52aaffa14", "score": "0.64667547", "text": "public int getY(){\n return pos.getY();\n }", "title": "" }, { "docid": "20a107aa206c492d3d9c7b2f0d927b9f", "score": "0.6458239", "text": "public double getMountedYOffset() {\n return (double)this.getHeight() - (this.isChild() ? 0.2D : 0.15D);\n }", "title": "" }, { "docid": "9e027e51550f8ab0a31b3da0ba820242", "score": "0.64439565", "text": "public WalkPosition getCenter() {\n return getNodePosition(Node.MIDDLE);\n }", "title": "" }, { "docid": "326825fe98466aafa82446689f271639", "score": "0.64325994", "text": "private static float getPosCenterY(float objectHeight, float containerHeight) {\n return getPosCenterY(objectHeight, containerHeight, 0);\n }", "title": "" }, { "docid": "ed63070c8427c44d8aa0d08e256f250a", "score": "0.6427343", "text": "@Override\r\n\tpublic Point getLocationOnScreen() {\r\n\t\tInsets offset = (Insets) $(outerNode).offset();\r\n\t\treturn new Point(offset.left, offset.top);\r\n\t}", "title": "" }, { "docid": "66b4dd188979cadb2f997295d921677e", "score": "0.6371737", "text": "public float getYCenter() {\n \t\treturn viewFrustum.getHeight() / 2;\n \t}", "title": "" }, { "docid": "5d32e1538cfa5d83d72b2392be4b5cdf", "score": "0.6357269", "text": "public static View getCenterYChild(RecyclerView recyclerView) {\n int childCount = recyclerView.getChildCount();\n if (childCount > 0) {\n for (int i = 0; i < childCount; i++) {\n View child = recyclerView.getChildAt(i);\n if (isChildInCenterY(recyclerView, child)) {\n return child;\n }\n }\n }\n return null;\n }", "title": "" }, { "docid": "1988d2f0214d4483e4d31725ab74eb4d", "score": "0.63412523", "text": "public int[] getCenterXY() {\n return center.getXY();\n }", "title": "" }, { "docid": "e04b93af989476fca029a0fb911a6ef3", "score": "0.63313335", "text": "Posn centeredGreater() {\n if (this.right && this.pos.x % ITile.WIDTH >= ITile.WIDTH / 2\n || !this.right && this.pos.x % ITile.WIDTH <= ITile.WIDTH / 2) {\n return new Posn(this.pos.x / ITile.WIDTH * ITile.WIDTH + ITile.WIDTH / 2, this.pos.y);\n }\n return pos;\n }", "title": "" }, { "docid": "711c5a1f4b4fe0c498a06b602df94dfc", "score": "0.6330862", "text": "private int getPosition() {\n\t\tif (parent_ == null)\n\t\t\treturn -1;\n\t\treturn parent_.children_.indexOf(this);\n\t}", "title": "" }, { "docid": "bf2b1378c2fefba98fcba7b9fcfa9017", "score": "0.63190925", "text": "private int getPositionOfChild(GObject child) {\n\t\treturn children_.indexOf(child);\n\t}", "title": "" }, { "docid": "b81fd03be6de2d4bfbf27697daa885a1", "score": "0.6309611", "text": "public double getCenterX() {\n return 0;\n }", "title": "" }, { "docid": "97e6be499717cfbc8ff98cb322b05ad4", "score": "0.6301304", "text": "public int getY() {\r\n int y = Integer.MAX_VALUE;\r\n\r\n for (PartitionedNodeEntry a : containerEntries) {\r\n if (a.getAbsoluteY() < y) {\r\n y = a.getAbsoluteY();\r\n }\r\n }\r\n\r\n return y;\r\n }", "title": "" }, { "docid": "f5edc8a807a1b9178df9db7473b56a10", "score": "0.6297932", "text": "public double getCenterY() {\n\t\treturn centerY;\n\t}", "title": "" }, { "docid": "b50c4ab7bfe64b5f18a37db2e5285160", "score": "0.62978375", "text": "public void updatePosition() {\n final Vector2f centre = getParent().getTransform().getCentre();\n returnPosition.setX(centre.getX());\n returnPosition.setY(centre.getY());\n }", "title": "" }, { "docid": "4c88ac4271893e7fa4e45df56ccf4047", "score": "0.62959176", "text": "public double getCenterY()\n {\n light.onForAWhile();\n if( pRep != null && pRep.length > 0 && pRep[0] != null)\n return pRep[0].center_mass_y_normalized;\n else\n return 0.0;\n }", "title": "" }, { "docid": "4f9ff4797e72dc79516f533d01c966d4", "score": "0.62936074", "text": "public int getCenterX(){return centerX; }", "title": "" }, { "docid": "05f1c1f2da7a220c4557aa194d9a5f86", "score": "0.62927705", "text": "public double getCentreX() { return centre[0]; }", "title": "" }, { "docid": "55d7dc88db50f9a002311cce2f7b1511", "score": "0.62739617", "text": "public Point2 getCenterPoint() {\n\t\treturn control.getPoint(side);\n\t}", "title": "" }, { "docid": "a8ff3527df2bf930138befcd95d6f468", "score": "0.62633896", "text": "public Point getCenter() {\n\t\treturn new Point((float) this.width / 2, (float) this.height / 2);\n\t}", "title": "" }, { "docid": "d790d5ed3a5939859e832b6f9e2b891c", "score": "0.62513536", "text": "int getVerticalPosition();", "title": "" }, { "docid": "f38819e1b1fe33a128db5d6f18394c78", "score": "0.6232281", "text": "public int getTextYOrigin() {return ypos + height / 2;}", "title": "" }, { "docid": "ab55139f2230e254c9a3b14a9270160c", "score": "0.62306285", "text": "public double getYMin() { return getBBox()[0].y; }", "title": "" }, { "docid": "9fb672906179bbc79299658510402da3", "score": "0.622545", "text": "public int getY() {\n return (int) Math.round(this.center.getY());\n }", "title": "" }, { "docid": "7bd37b5069ff0251f16d31fcab97c83b", "score": "0.62095726", "text": "public static double getParentY(int child){\n for(Stem stem:stemList){\n if(child == stem.id){\n return stem.startY;\n }\n }\n return 0;\n }", "title": "" }, { "docid": "da84b2125724be18e6765b8c14469167", "score": "0.6203525", "text": "public int getXCenter() {\n return x + image.getIconWidth()/2;\n }", "title": "" }, { "docid": "9c0cb2b77261155a562ad04ddf3cf9a8", "score": "0.62011755", "text": "public double getInitialPositionY() { return iy; }", "title": "" }, { "docid": "0d585597257a2d67751b96fb7ccae3ce", "score": "0.6190141", "text": "Double getCentreOfGravityInY();", "title": "" }, { "docid": "95e1d3f85781caa21ec58d5c7f98d56a", "score": "0.61687356", "text": "public static float getCenterX(){\n return width/2f;\n }", "title": "" }, { "docid": "54942781693fb7de86c2734f4f8df996", "score": "0.61587495", "text": "public double getY_pos() {\r\n return pos.get(1, 0);\r\n }", "title": "" }, { "docid": "baf351304cfabe475498be44ff7447c7", "score": "0.61533964", "text": "public int getCenterX() {\n return center.getX();\n }", "title": "" }, { "docid": "d92f08ea4e96102a402d091ed0754865", "score": "0.61387026", "text": "public Punkt getCenter(){\n\t\tdouble a = origin.x + size.widht / 2;\n\t\tdouble b = origin.y + size.height / 2;\n\t\tPunkt centrum = new Punkt(a,b);\n\t\treturn centrum;\n\t}", "title": "" }, { "docid": "4c27ba4bdb2441de4015f3bbfdb59e5d", "score": "0.6133877", "text": "public int getCentreY() {\r\n\treturn centreY;\r\n}", "title": "" }, { "docid": "832efa9f7bcefa3624a700d63afe2273", "score": "0.6132477", "text": "public float getYCenterCircle() {\n\t\treturn this.yStatic;\n\t}", "title": "" }, { "docid": "eb0266753824bd3795f0decfdff68505", "score": "0.6121328", "text": "public static int getCenterXChildPosition(RecyclerView recyclerView) {\n int childCount = recyclerView.getChildCount();\n if (childCount > 0) {\n for (int i = 0; i < childCount; i++) {\n View child = recyclerView.getChildAt(i);\n if (isChildInCenterX(recyclerView, child)) {\n return recyclerView.getChildAdapterPosition(child);\n }\n }\n }\n return childCount;\n }", "title": "" }, { "docid": "db3eccde644caf020993b48c94af6966", "score": "0.6120629", "text": "@Override\n public int getPositionY(){\n return super.getPositionY();\n }", "title": "" }, { "docid": "db3eccde644caf020993b48c94af6966", "score": "0.6120629", "text": "@Override\n public int getPositionY(){\n return super.getPositionY();\n }", "title": "" }, { "docid": "759dae2a3c667d54c2ddf9080e28f186", "score": "0.6111568", "text": "public double getXCenter()\n\t{return xCenter;}", "title": "" }, { "docid": "67f452cd092466c7a391892718ae6580", "score": "0.6104607", "text": "private static float getPosCenter(float objectDimension, float containerDimension,\n float containerPos) {\n return containerPos + ((containerDimension - objectDimension) / 2);\n }", "title": "" }, { "docid": "ca81bb359b95ebb0decf61d982d3ae7a", "score": "0.6093", "text": "int getScaleY();", "title": "" }, { "docid": "407831c964e9c4179ae8e73c33c36f51", "score": "0.6090607", "text": "public Vector getCenter() {\n\t\treturn point.plus(size.scaledBy(0.5));\n\t}", "title": "" }, { "docid": "10798eb2d209e17a914c9f23a40e92e5", "score": "0.6082752", "text": "public static int getDisplayedYPosition() {\n return (int)getRealYPosition();\n }", "title": "" }, { "docid": "3723813c5ff2ac445d5b237d08dd9f05", "score": "0.6081875", "text": "B center(HorizontalAlign x, double y);", "title": "" }, { "docid": "7d2781ab7c9b82e452ba1bd1675b36ac", "score": "0.60804576", "text": "public int getCentreX() {\n return centreX;\n }", "title": "" }, { "docid": "9eb9ae62f685149d8f1d125e9ff89b91", "score": "0.60773104", "text": "public PointD getCenter() {\n return this.getExtent().getCenterPoint();\n }", "title": "" }, { "docid": "b04881f88a86356d7cfcf6c0d764348c", "score": "0.6071098", "text": "public static double getRealYPosition() {\n return positionReal[0];\n }", "title": "" }, { "docid": "ae9d288a197bd081643aced2bf8b9d40", "score": "0.6068939", "text": "public int getPosition() {\n return (type == YOZPLANE) ? parent.getYOZPosition() : 0;\n}", "title": "" }, { "docid": "f33f43c43ba0ea72b80d87fdf9cd8be6", "score": "0.605856", "text": "public Point getCenter() {\n\t\treturn center;\n\t}", "title": "" }, { "docid": "c4b9a4c86b7a83f8a198995b92eb77d7", "score": "0.60499924", "text": "public double getCenterX() {\r\n return centerX;\r\n }", "title": "" }, { "docid": "b7f7bb830513a9535123ddd143bd4f72", "score": "0.60477906", "text": "public int getY_pos();", "title": "" }, { "docid": "a7eda6116298c938e295899494085b0b", "score": "0.60417277", "text": "public float getXCenter() {\r\n return xCenter;\r\n }", "title": "" }, { "docid": "6e884480802389b54ecd569c2833014c", "score": "0.6039977", "text": "public Point getCenter() {\r\n\t\treturn new Point(getX() + radius, getY() + radius);\r\n\t}", "title": "" }, { "docid": "80beafe5397d61e71aa31d8ba2bbac35", "score": "0.60220516", "text": "public float getCenterX ()\n {\n return (_v1.x + _v2.x + _v3.x) * (1f / 3f);\n }", "title": "" }, { "docid": "4e41671233d52d1a1ef99c9a8cf33e81", "score": "0.601081", "text": "public double getYMax() { return getBBox()[1].y; }", "title": "" }, { "docid": "0aef20a0a5172b0c96680be40e08d548", "score": "0.6010213", "text": "public float getPositionY()\r\n\t{\r\n\t\treturn y;\r\n\t\t//this.getB\r\n\t}", "title": "" }, { "docid": "84f0d3edda5a7d05abe77a920385067c", "score": "0.6008086", "text": "double getLayoutY();", "title": "" }, { "docid": "328b67c86818246990fed88eb81541b6", "score": "0.6004794", "text": "public float getY() {\n return pos.getY();\n }", "title": "" }, { "docid": "842fb156d1dca3cab5c219bd328717ff", "score": "0.60042083", "text": "public double getCenterX() {\n return centerX;\n }", "title": "" }, { "docid": "88dc824e4bea0b03b9b779dc8bafa283", "score": "0.600156", "text": "public abstract Point3D getCenterPosition();", "title": "" }, { "docid": "3766c3ea8916be818ef23c53425f7229", "score": "0.600032", "text": "@Nonnull\n public idx3d_Vector getCenter() {\n idx3d_Vector max = max();\n idx3d_Vector min = min();\n return new idx3d_Vector((max.x + min.x) / 2, (max.y + min.y) / 2, (max.z + min.z) / 2);\n }", "title": "" }, { "docid": "2baa788720b79d7baac1d6f075ce206b", "score": "0.59998167", "text": "public Point2D getCenter() {\n\t\treturn m_ellipseFit.getCenter();\n\t}", "title": "" }, { "docid": "635fc5a2c3c987ac6d4a4763b6cd5699", "score": "0.5986844", "text": "public Point<T> getCenter() {\n return o;\n }", "title": "" }, { "docid": "bd1a0f46b9e9cd142b375f4bfcf9ccf2", "score": "0.5980219", "text": "public Location getCenterLocation() {\n return getProjectileEntity().getLocation().add(0, getProjectileEntity().getHeight() / 2, 0);\n }", "title": "" }, { "docid": "f41a15e97a676e33e56880ef60411165", "score": "0.5979285", "text": "private Point2D computeLayoutOrigin() {\n Dimension size = getSize();\n Point2D.Float origin = new Point2D.Float();\n origin.x = (size.width - textLayout.getAdvance()) / 2;\n origin.y = (size.height - textLayout.getDescent() + textLayout.getAscent()) / 2;\n return origin;\n }", "title": "" }, { "docid": "858309e7fd1d54f5506a03ed537d00f4", "score": "0.59729147", "text": "static public void positionToBarycenter (NodeView node_view){\n Node node = node_view.getNode();\n int rootIndex = node.getRootGraphIndex();\n GraphView graphView = node_view.getGraphView();\n GraphPerspective gp = graphView.getGraphPerspective();\n \n int [] childrenNodeIndices = gp.getNodeMetaChildIndicesArray(rootIndex);\n if(childrenNodeIndices == null || childrenNodeIndices.length == 0){return;}\n \n GraphPerspective childGP = node.getGraphPerspective();\n if(childGP == null || childGP.getNodeCount() == 0){\n throw new IllegalStateException(\"Node \" + node.getIdentifier() + \" has a non-empty array \" +\n \" of children-node indices, but, it has no child GraphPerspective\");\n }\n List childrenNodeList = childGP.nodesList();\n Iterator it = childrenNodeList.iterator();\n double x = 0.0;\n double y = 0.0;\n double viewableChildren = 0;\n while(it.hasNext()){\n Node childNode = (Node)it.next();\n if(gp.containsNode(childNode, false)){\n NodeView childNV = graphView.getNodeView(childNode.getRootGraphIndex());\n if(childNV != null){\n x += childNV.getXPosition();\n y += childNV.getYPosition();\n viewableChildren++;\n }\n }\n }//while it\n if(viewableChildren != 0){\n x /= viewableChildren;\n y /= viewableChildren;\n node_view.setXPosition(x);\n node_view.setYPosition(y);\n }\n }", "title": "" }, { "docid": "7355427f995aa51318eacb85f010a35c", "score": "0.59699917", "text": "@Override\n public int getY(){\n return super.getY();\n }", "title": "" }, { "docid": "7355427f995aa51318eacb85f010a35c", "score": "0.59699917", "text": "@Override\n public int getY(){\n return super.getY();\n }", "title": "" }, { "docid": "7a48890caa53252f3b8dcb11df92e7e4", "score": "0.59689325", "text": "int getPosY();", "title": "" }, { "docid": "7a48890caa53252f3b8dcb11df92e7e4", "score": "0.59689325", "text": "int getPosY();", "title": "" }, { "docid": "7a48890caa53252f3b8dcb11df92e7e4", "score": "0.59689325", "text": "int getPosY();", "title": "" }, { "docid": "7a48890caa53252f3b8dcb11df92e7e4", "score": "0.59689325", "text": "int getPosY();", "title": "" }, { "docid": "7a48890caa53252f3b8dcb11df92e7e4", "score": "0.59689325", "text": "int getPosY();", "title": "" }, { "docid": "7a48890caa53252f3b8dcb11df92e7e4", "score": "0.59689325", "text": "int getPosY();", "title": "" }, { "docid": "540dada254f1dcc59d8331e58b2cc6ec", "score": "0.5968629", "text": "public Vector2D getPosition() {\n return metaData.getPosition();\n }", "title": "" }, { "docid": "6a046632caa0b7474049fed0db276127", "score": "0.5967501", "text": "@Override\r\n protected Map<MutableElement, Vector2i> computePositions() {\n Map<MutableElement, Vector2i> positions = new HashMap<>();\r\n\r\n // Stacking is just a case of cumulatively putting Elements on top of each other while respecting Margins\r\n Vector2i currentPosition = Vector2i.of(0, 0);\r\n\r\n boolean centerOnMajor = centerOnX && majorAxis == Axis.HORIZONTAL || centerOnY && majorAxis == Axis.VERTICAL;\r\n boolean centerOnMinor = centerOnX && majorAxis == Axis.VERTICAL || centerOnY && majorAxis == Axis.HORIZONTAL;\r\n\r\n MutableElement firstElement = null;\r\n MutableElement lastElement = null;\r\n\r\n for (MutableElement childElement : children) {\r\n // currentPosition with this element's margin added such that it will be properly respected\r\n Vector2i marginedPosition = currentPosition.add(Vector2i.of(\r\n childElement.getMargin().getLeft(),\r\n childElement.getMargin().getTop()\r\n ));\r\n\r\n Vector2i computedPosition;\r\n if (centerOnMinor) {\r\n if (fixedSize == null) {\r\n throw new IllegalStateException(\r\n \"MutableStackingContainer is set as centering without a fixedSize: \" + this);\r\n }\r\n\r\n// System.out.println(\"CENTERING: \" + childElement);\r\n// System.out.println(\"fixedSize: \" + fixedSize);\r\n// System.out.println(\"parentSize: \" + getSize());\r\n// System.out.println(\"childSize: \" + childElement.getMarginedSize());\r\n\r\n Vector2i centeringOffset = getSize().div(2) // move to middle\r\n .sub(childElement.getMarginedSize().div(2)) // adjust for element width, allow movement with margin\r\n .toInt();\r\n computedPosition = marginedPosition.add(\r\n majorAxis == Axis.HORIZONTAL\r\n ? centeringOffset.setX(0) // minorAxis=VERTICAL\r\n : centeringOffset.setY(0) // minorAxis=HORIZONTAL\r\n );\r\n } else {\r\n computedPosition = marginedPosition;\r\n }\r\n // Offset final position by offset values\r\n // No need to affect \"currentPosition\" here since this will happen to all elements *after* position\r\n // computation\r\n positions.put(childElement, computedPosition.add(Vector2i.of(offsetX, offsetY)));\r\n\r\n Vector2i childMarginedSize = childElement.getMarginedSize();\r\n\r\n // Only affect the majorAxis\r\n currentPosition = majorAxis == Axis.HORIZONTAL\r\n ? currentPosition.add(childMarginedSize.setY(0))\r\n : currentPosition.add(childMarginedSize.setX(0));\r\n\r\n // Set allocated size for element\r\n childElement.setAllocatedSize(childElement.getMarginedSize());\r\n\r\n if (firstElement == null) firstElement = childElement;\r\n lastElement = childElement;\r\n }\r\n\r\n // In order to account for centerOnMajor, we need to transform all of these positions such that the midpoint\r\n // of the two outer elements is the middle of this container.\r\n if (centerOnMajor && !positions.isEmpty()) {\r\n // If the size of positions is 1, then firstElement and lastElement will be equal. However, the resultant\r\n // midpoint can be resolved in the same way.\r\n Vector2i midpointChildren = positions.get(firstElement)\r\n .add(positions.get(lastElement).add(lastElement.getMarginedSize()))\r\n .div(2)\r\n .toInt();\r\n Vector2i midpointContainer = getSize().div(2).toInt();\r\n // Now we can calculate the difference of this midpoint to the midpoint of the container\r\n Vector2i midpointOffset = midpointContainer.sub(midpointChildren);\r\n // With this, we can transform all positions to be correct\r\n positions = positions.entrySet()\r\n .stream()\r\n .collect(Collectors.toMap(\r\n Map.Entry::getKey,\r\n entry -> entry.getValue().add(\r\n // Only affect the majorAxis\r\n majorAxis == Axis.HORIZONTAL\r\n ? midpointOffset.setY(0)\r\n : midpointOffset.setX(0)\r\n )\r\n ));\r\n }\r\n\r\n return positions;\r\n }", "title": "" }, { "docid": "3cf7f4faa70cfa7c05b230a697b6be67", "score": "0.5967106", "text": "public float getPos() {\n //Return the slider position and account for button space\n return spos - ps_Padding;\n }", "title": "" }, { "docid": "868376c37dae9e747b0634088346bbbf", "score": "0.5960719", "text": "public int getPosY();", "title": "" }, { "docid": "07d8bd3fa338e7202e94264dd5f8e66c", "score": "0.59582186", "text": "Position getPos();", "title": "" }, { "docid": "07d8bd3fa338e7202e94264dd5f8e66c", "score": "0.59582186", "text": "Position getPos();", "title": "" }, { "docid": "9d2d4aa185d07490f2e2c116923a00ee", "score": "0.5951325", "text": "B center(HorizontalAlign x, VerticalAlign y);", "title": "" }, { "docid": "00e3b116faa585161c397ce03e753e14", "score": "0.5946241", "text": "public int yPos() { return yPos; }", "title": "" }, { "docid": "efa610255cf4e43b46cde6317951b3a5", "score": "0.5944969", "text": "public Integer getPositiony() {\r\n\t\treturn positiony;\r\n\t}", "title": "" } ]
074ec69c1ae86df9293df78efa561b92
Let's take the tumor bean in common to test tumor has 3 properties: tumorId, tumorName, tumorDescription;
[ { "docid": "5709467dd4a6c65d85a344632db8d888", "score": "0.5331847", "text": "@Test\r\n public void testGetterMethodSucess() throws Exception {\r\n Method m = GetterMethod.getGetter(Tumor.class, \"tumorId\");\r\n assertNotNull(m);\r\n assertEquals(\"getTumorId\", m.getName());\r\n }", "title": "" } ]
[ { "docid": "f9c9a522bba658a2f9e0ef1fba98657f", "score": "0.55626076", "text": "@Test\n public void getTarjetaPrepagoTest()\n {\n TarjetaPrepagoEntity entity = data.get(0);\n TarjetaPrepagoEntity resultEntity = tarjetaPrepagoLogic.getTarjetaPrepago(entity.getId());\n Assert.assertNotNull(resultEntity);\n Assert.assertEquals(entity.getId(), resultEntity.getId());\n Assert.assertEquals(entity.getNumTarjetaPrepago(), resultEntity.getNumTarjetaPrepago());\n Assert.assertEquals(entity.getSaldo(), resultEntity.getSaldo(), 0.001);\n Assert.assertEquals(entity.getPuntos(), resultEntity.getPuntos(),0.001);\n }", "title": "" }, { "docid": "4bb26d06e17bd2284635591efb8a40e7", "score": "0.54971206", "text": "@Test\n public void testJPA3ListAll (){\n Iterable<TruckInfo> trucklist = truckRepo.findAll();\n\n\n\n\n }", "title": "" }, { "docid": "2aa2915f40942fed94aa8414099f5e33", "score": "0.54813707", "text": "private static void testLunchOrderBean() {\n LunchOrderBean bean = new LunchOrderBean();\n bean.setBread(\"Bean Bread\");\n bean.setCondiments(\"Bean Condiments\");\n bean.setDressing(\"Bean Dressings\");\n bean.setMeat(\"Bean Meat\");\n\n System.out.println(bean.getBread());\n System.out.println(bean.getCondiments());\n System.out.println(bean.getDressing());\n System.out.println(bean.getMeat());\n\n }", "title": "" }, { "docid": "deaa9f5e5bf3c011694e56893f2e3787", "score": "0.54811174", "text": "@Test\r\n public void testCreate() throws Exception {\r\n PodamFactory pf=new PodamFactoryImpl();\r\n MonitoriaEntity nuevaEntity=pf.manufacturePojo(MonitoriaEntity.class);\r\n MonitoriaEntity respuestaEntity=persistence.create(nuevaEntity);\r\n Assert.assertNotNull(respuestaEntity);\r\n Assert.assertEquals(respuestaEntity.getId(), nuevaEntity.getId());\r\n Assert.assertEquals(respuestaEntity.getIdMonitor(), nuevaEntity.getIdMonitor());\r\n Assert.assertEquals(respuestaEntity.getTipo(), nuevaEntity.getTipo());\r\n \r\n \r\n }", "title": "" }, { "docid": "28323f8d98707330d54d01f87e3d5b8b", "score": "0.54636276", "text": "@Override\n protected void createTestBean() {\n ProjectStatusDAOBean bean = new ProjectStatusDAOBean();\n bean.setEntityManager(getEntityManager());\n setTestBean(bean);\n }", "title": "" }, { "docid": "242def9593ec48cc7608d9aed1a00296", "score": "0.5432305", "text": "@Test\n public void updateTarjetaPrepagoTest() throws BusinessLogicException \n {\n TarjetaPrepagoEntity entity = data.get(0);\n TarjetaPrepagoEntity pojoEntity = factory.manufacturePojo(TarjetaPrepagoEntity.class);\n pojoEntity.setId(entity.getId());\n tarjetaPrepagoLogic.updateTarjetaPrepago(pojoEntity.getId(), pojoEntity);\n TarjetaPrepagoEntity resp = em.find(TarjetaPrepagoEntity.class, entity.getId());\n Assert.assertEquals(pojoEntity.getId(), resp.getId());\n Assert.assertEquals(pojoEntity.getSaldo(), resp.getSaldo(),0.001);\n Assert.assertEquals(pojoEntity.getPuntos(), resp.getPuntos(), 0.001);\n Assert.assertEquals(pojoEntity.getNumTarjetaPrepago(), resp.getNumTarjetaPrepago());\n }", "title": "" }, { "docid": "7c50069cd59fcffb46ff98190097eae2", "score": "0.5417683", "text": "@Test\n public void createPerroTest() throws BusinessLogicException {\n \n PerroEntity newEntity = factory.manufacturePojo(PerroEntity.class);\n int ed = newEntity.getEdad();\n \n if(ed<0){\n newEntity.setEdad(ed*-1);\n }\n \n PerroEntity result = perroLogic.createPerro(newEntity);\n int edad =result.getEdad();\n if(edad<0)\n {\n result.setEdad(edad*-1);\n }\n \n\n\n \n Assert.assertNotNull(result);\n PerroEntity entity = em.find(PerroEntity.class, result.getId());\n int eda =entity.getEdad();\n if(eda<0)\n {\n entity.setEdad(eda*-1);\n }\n \n Assert.assertEquals(newEntity.getId(), entity.getId());\n Assert.assertEquals(newEntity.getIdPerro(), entity.getIdPerro());\n Assert.assertEquals(newEntity.getNombre(), entity.getNombre());\n Assert.assertEquals(newEntity.getEdad(), entity.getEdad());\n Assert.assertEquals(newEntity.getRaza(), entity.getRaza());\n }", "title": "" }, { "docid": "1a03d9fadbc77b3aae2ce8710ac0e59a", "score": "0.5325311", "text": "@Test\n public void getEmpleadoTest() {\n EmpleadoEntity entity = data.get(0);\n EmpleadoEntity resultEntity = empleadoLogic.getEmpleado(entity.getId());\n Assert.assertNotNull(resultEntity);\n Assert.assertEquals(entity.getId(), resultEntity.getId());\n Assert.assertEquals(entity.getNombreEmpleado(), resultEntity.getNombreEmpleado());\n Assert.assertEquals(entity.getNombreUsuario(), resultEntity.getNombreUsuario());\n }", "title": "" }, { "docid": "938555d42f22894b90fe354a690de1f0", "score": "0.52472025", "text": "@Test\n public void testGetLugarInteres() {\n LugaresInteresEntity lugar = new LugaresInteresEntity();\n lugar.setId(new Long(23));\n HospedajeLugarEntity hospedajeL = new HospedajeLugarEntity();\n hospedajeL.setLugarInteres(lugar);\n Assert.assertTrue(hospedajeL.getLugarInteres().getId().equals(lugar.getId()));\n }", "title": "" }, { "docid": "5c5578e919a1512b5185bea692df8ffb", "score": "0.51995707", "text": "@Test\n void getByPropertyEqualSuccess() {\n List<UserRoles> usersRoles = genericDao.getByPropertyEqual(\"roleName\", \"admin\");\n assertEquals(1, usersRoles.size());\n assertEquals(3, usersRoles.get(0).getId());//not sure about this one\n }", "title": "" }, { "docid": "9f06ab0f3fb5bd81139db1f7d0871dfe", "score": "0.51799047", "text": "@BeforeEach\n public void setUp() {\n EntityManager em = emf.createEntityManager();\n p1 = new Person(\"Joakim\", \"Stensnaes\", \"[email protected]\");\n p2 = new Person(\"Benjamin\", \"Benzo\", \"[email protected]\");\n p3 = new Person(\"Thor\", \"Thorsten\", \"[email protected]\");\n p4 = new Person(\"Lars\", \"Larsen\", \"[email protected]\");\n\n Hobby h1 = new Hobby(\"Acting\", \"\", \"\", \"\");\n Hobby h2 = new Hobby(\"Baking\", \"\", \"\", \"\");\n Hobby h3 = new Hobby(\"Cooking\", \"\", \"\", \"\");\n\n Address a1 = new Address(\"Bagervej 12\", \"N/A\");\n Address a2 = new Address(\"Krystalgade 40\", \"N/A\");\n\n CityInfo c1 = new CityInfo(\"2200\", \"København N\");\n CityInfo c2 = new CityInfo(\"2400\", \"København N\");\n\n Phone ph1 = new Phone(\"20202020\", \"\");\n Phone ph2 = new Phone(\"30303030\", \"\");\n Phone ph3 = new Phone(\"40404040\", \"\");\n Phone ph4 = new Phone(\"50505050\", \"\");\n Phone ph5 = new Phone(\"60606060\", \"\");\n\n p1.addHobby(h1);\n p1.addHobby(h2);\n p2.addHobby(h1);\n p3.addHobby(h2);\n p3.addHobby(h3);\n p4.addHobby(h1);\n p4.addHobby(h2);\n p4.addHobby(h3);\n\n a1.setCityInfo(c1);\n a2.setCityInfo(c2);\n\n p1.setAddress(a1);\n p2.setAddress(a1);\n p3.setAddress(a2);\n p4.setAddress(a2);\n\n p1.addPhone(ph1);\n p1.addPhone(ph2);\n p2.addPhone(ph3);\n p3.addPhone(ph4);\n p4.addPhone(ph5);\n\n try {\n em.getTransaction().begin();\n em.createQuery(\"DELETE from CityInfo\").executeUpdate();\n em.createQuery(\"DELETE from Address\").executeUpdate();\n em.createQuery(\"DELETE from Hobby\").executeUpdate();\n em.createQuery(\"DELETE from Phone\").executeUpdate();\n em.createQuery(\"DELETE from Person\").executeUpdate();\n em.persist(p1);\n em.persist(p2);\n em.persist(p3);\n em.persist(p4);\n em.getTransaction().commit();\n } finally {\n em.close();\n }\n }", "title": "" }, { "docid": "37ad0704511d1fd961ebf8dd28583e33", "score": "0.5172587", "text": "@Test\n @Transactional\n void createTerritorioWithExistingId() throws Exception {\n territorio.setId(1L);\n\n int databaseSizeBeforeCreate = territorioRepository.findAll().size();\n\n // An entity with an existing ID cannot be created, so this API call must fail\n restTerritorioMockMvc\n .perform(post(ENTITY_API_URL).contentType(MediaType.APPLICATION_JSON).content(TestUtil.convertObjectToJsonBytes(territorio)))\n .andExpect(status().isBadRequest());\n\n // Validate the Territorio in the database\n List<Territorio> territorioList = territorioRepository.findAll();\n assertThat(territorioList).hasSize(databaseSizeBeforeCreate);\n }", "title": "" }, { "docid": "9b9f7ff1918ecb47ac7ad92d180e430d", "score": "0.51701355", "text": "@Test\n @DisplayName(\"Testataan kaikkien tilausten haku\")\n void getAllReservations() {\n assertEquals(0, reservationsDao.getAllReservations().size());\n\n TablesEntity table1 = new TablesEntity();\n table1.setSeats(2);\n tablesDao.createTable(table1);\n // Test that returns the same number as created reservations\n ReservationsEntity firstReservation = new ReservationsEntity(\"amal\",\"46111222\", new Date(System.currentTimeMillis()), table1.getId(),new Time(1000),new Time(2000));\n reservationsDao.createReservation(firstReservation);\n\n TablesEntity table2 = new TablesEntity();\n table2.setSeats(2);\n tablesDao.createTable(table2);\n reservationsDao.createReservation(new ReservationsEntity(\"juho\", \"46555444\", new Date(System.currentTimeMillis()), table2.getId(), new Time(1000),new Time(2000)));\n\n List<ReservationsEntity> reservations = reservationsDao.getAllReservations();\n assertEquals(2, reservations.size());\n assertEquals(firstReservation, reservations.get(0));\n }", "title": "" }, { "docid": "54e4a1cf13cded2b8c367a2a50f9f825", "score": "0.51559806", "text": "@Test\n public void createEmpleadoTest() throws BusinessLogicException {\n \n try{\n EmpleadoEntity newEntity = factory.manufacturePojo(EmpleadoEntity.class);\n EmpleadoEntity result = empleadoLogic.createEmpleado(newEntity);\n Assert.assertNotNull(result);\n EmpleadoEntity entity = em.find(EmpleadoEntity.class, result.getId());\n Assert.assertEquals(newEntity.getId(), entity.getId());\n Assert.assertEquals(newEntity.getNombreEmpleado(), entity.getNombreEmpleado());\n Assert.assertEquals(newEntity.getNombreUsuario(), entity.getNombreUsuario());\n }catch(BusinessLogicException b){\n Assert.fail();\n }\n }", "title": "" }, { "docid": "34255b8c24c46fb14693edbb7d74f050", "score": "0.51553625", "text": "@Test\n public void findAll() {\n try{\n repo.save(s);\n repot.save(t);\n repon.save(n);\n Student s2 = new Student(2,221, \"Pop Ion\",\"[email protected]\",\"prof\");\n Tema t2 = new Tema(2, 0, 6, \"GUI\");\n Nota n2 = new Nota(2, 2, \"prof\", 9, \"Nu ai teste\");\n repo.save(s2);\n repot.save(t2);\n repon.save(n2);\n int countS=0, countT=0, countN=0;\n for(Student ignored : repo.findAll()) countS++;\n for(Tema ignored : repot.findAll()) countT++;\n for(Nota ignored : repon.findAll()) countN++;\n assert countS==2;\n assert countT==2;\n assert countN==2;\n\n }\n catch (ValidationException e){\n }\n }", "title": "" }, { "docid": "735bd79fdfbab9030e57b8fce54fc65f", "score": "0.51335377", "text": "@Test\n public void createRecipeTest() throws BusinessLogicException {\n RecipeEntity newEntity = factory.manufacturePojo(RecipeEntity.class);\n newEntity.getIngredientes().add(new IngredientEntity());\n RecipeEntity persistence=recipeLogic.createRecipe(newEntity);\n Assert.assertEquals(persistence.getId(), newEntity.getId());\n Assert.assertEquals(persistence.getDescription(), newEntity.getDescription());\n Assert.assertEquals(persistence.getName(), newEntity.getName());\n }", "title": "" }, { "docid": "43ab57c58084e15bef2029a67b5aac80", "score": "0.5127935", "text": "@Test\n public void testGetHospedaje() {\n HospedajeEntity hospedaje = new HospedajeEntity();\n hospedaje.setId(new Long(23));\n HospedajeLugarEntity hospedajeL = new HospedajeLugarEntity();\n hospedajeL.setHospedaje(hospedaje);\n Assert.assertTrue(hospedajeL.getHospedaje().getId().equals(hospedaje.getId()));\n }", "title": "" }, { "docid": "5bd698fe993e6dd1f37b466febd83af0", "score": "0.5127483", "text": "@Test\n public void createTest() {\n // Se construye una fabrica de objetos\n PodamFactory factory = new PodamFactoryImpl();\n\n //A la fabrica de objetos se le pide que nos de un objeto del tipo que le pasamos por parametro\n ViajeroEntity viajero = factory.manufacturePojo(ViajeroEntity.class);\n\n ViajeroEntity result = vp.create(viajero);\n // Pruebo que el resultado del metodo create no sea null\n Assert.assertNotNull(result);\n\n // El entity manager busca en la base de datos si hay una entidad que coincida con la \n // entidad que acabo de crear por su id\n ViajeroEntity entity\n = em.find(ViajeroEntity.class, result.getId());\n\n // Verifico que para cada entidad creada por podam,\n // en la base de datos se reflejen esos mismos datos\n Assert.assertEquals(viajero.getContrasenha(), entity.getContrasenha());\n Assert.assertEquals(viajero.getCorreo(), entity.getCorreo());\n Assert.assertEquals(viajero.getFechaDeNacimiento(), entity.getFechaDeNacimiento());\n Assert.assertEquals(viajero.getNombre(), entity.getNombre());\n Assert.assertEquals(viajero.getNumDocumento(), entity.getNumDocumento());\n Assert.assertEquals(viajero.getTelefono(), entity.getTelefono());\n Assert.assertEquals(viajero.getTipoDocumento(), entity.getTipoDocumento());\n }", "title": "" }, { "docid": "da1771a5c0187d38517abff2f2cd2b33", "score": "0.51272887", "text": "@Test\n public void createComentarioTest() {\n PodamFactory factory = new PodamFactoryImpl();\n ComentarioEntity nuevaEntity = factory.manufacturePojo(ComentarioEntity.class);\n ComentarioEntity resultado = comentarioPersistence.create(nuevaEntity);\n\n Assert.assertNotNull(resultado);\n\n ComentarioEntity entity = em.find(ComentarioEntity.class, resultado.getId());\n\n Assert.assertEquals(nuevaEntity.getNombreUsuario(), entity.getNombreUsuario());\n \n }", "title": "" }, { "docid": "0b1c92bdda58ea245d09712dca486af0", "score": "0.512695", "text": "public static void testEmprunt() throws DaoException {\r\n EmpruntDao empruntDao = EmpruntDaoImpl.getInstance();\r\n LivreDao livreDao = LivreDaoImpl.getInstance();\r\n MembreDao membreDao = MembreDaoImpl.getInstance();\r\n\r\n List<Emprunt> list = new ArrayList<Emprunt>();\r\n list = empruntDao.getList();\r\n System.out.println(\"\\n 'Emprunts' list: \" + list);\r\n\r\n list = empruntDao.getListCurrent();\r\n System.out.println(\"\\n Current 'Emprunts' list: \" + list);\r\n\r\n list = empruntDao.getListCurrentByMembre(5);\r\n System.out.println(\"\\n Current 'Emprunts' list by member: \" + list);\r\n\r\n list = empruntDao.getListCurrentByLivre(3);\r\n System.out.println(\"\\n Current 'Emprunts' list by book: \" + list);\r\n\r\n Emprunt test = empruntDao.getById(5);\r\n System.out.println(\"\\n Selected 'Emprunt' : \" + test);\r\n\r\n empruntDao.create(1, 4, LocalDate.now());\r\n list = empruntDao.getList();\r\n System.out.println(\"\\n List updated with one creation: \" + list);\r\n\r\n\r\n int id_book = livreDao.create(\"My Book\", \"My Autor\", \"123456\");\r\n Livre test_livre = new Livre();\r\n test_livre = livreDao.getById(id_book);\r\n int idMember = membreDao.create(\"Rodrigues\", \"Henrique\", \"ENSTA\", \"[email protected]\", \"+33071234567\", Abonnement.VIP);\r\n Membre test_membre = new Membre();\r\n test_membre = membreDao.getById(idMember);\r\n test = new Emprunt(2, test_membre, test_livre, LocalDate.now(), LocalDate.now().plusDays(60));\r\n empruntDao.update(test);\r\n list = empruntDao.getList();\r\n System.out.println(\"\\n List updated: \" + list);\r\n //System.out.println(\"\\n \" + test_livre.getId() + \" \" + test_membre.getId());\r\n\r\n\r\n int total = empruntDao.count();\r\n System.out.println(\"\\n Number of 'emprunts' in DB : \" + total);\r\n\r\n }", "title": "" }, { "docid": "96b1fc481d7fe93fd5edf866c0c8f117", "score": "0.51181716", "text": "@Test\r\n public void testCreateUsuario() throws Exception \r\n {\r\n UsuarioEntity entity = factory.manufacturePojo(UsuarioEntity.class);\r\n UsuarioEntity buscado = usuarioLogic.createUsuario(entity);\r\n Assert.assertNotNull(buscado);\r\n \r\n buscado = em.find(UsuarioEntity.class, entity.getId());\r\n Assert.assertEquals(entity, buscado);\r\n }", "title": "" }, { "docid": "5d5a045449907e3703e3e707b3ec6bb2", "score": "0.5118165", "text": "@Test\n void getByPropertyLikeSuccess() {\n List<UserRoles> usersRoles = genericDao.getPropertyByName(\"roleName\", \"user\");\n assertEquals(2, usersRoles.size());\n }", "title": "" }, { "docid": "361b1c045d20121351a7da09507666c5", "score": "0.5088791", "text": "@Test\n public void UpdatePerroTest() throws BusinessLogicException {\n\n PerroEntity entity = Perrodata.get(0);\n int edada =entity.getEdad();\n if(edada<0)\n {\n entity.setEdad(edada*-1);\n }\n \n PerroEntity newEntity = factory.manufacturePojo(PerroEntity.class);\n \n int e = newEntity.getEdad();\n if(e<0)\n {\n newEntity.setEdad(e*-1);\n }\n \n newEntity.setId(entity.getId());\n perroLogic.updatePerro(newEntity.getId(), newEntity);\n \n \n PerroEntity resp = em.find(PerroEntity.class, entity.getId());\n \n int eda =resp.getEdad();\n if(eda<0)\n {\n resp.setEdad(eda*-1);\n }\n \n Assert.assertEquals(newEntity.getId(), resp.getId());\n Assert.assertEquals(newEntity.getIdPerro(), resp.getIdPerro());\n Assert.assertEquals(newEntity.getNombre(), resp.getNombre());\n Assert.assertEquals(newEntity.getEdad(), resp.getEdad());\n Assert.assertEquals(newEntity.getRaza(), resp.getRaza());\n }", "title": "" }, { "docid": "e2848d9e4f8277243809517c6af6d5b1", "score": "0.50743246", "text": "@Test\n public void getTarjetasPrepagoTest() {\n List<TarjetaPrepagoEntity> list = tarjetaPrepagoLogic.getTarjetasPrepago();\n Assert.assertEquals(data.size(), list.size());\n for (TarjetaPrepagoEntity entity : list) {\n boolean found = false;\n for (TarjetaPrepagoEntity storedEntity : data) {\n if (entity.getId().equals(storedEntity.getId())) {\n found = true;\n }\n }\n Assert.assertTrue(found);\n }\n }", "title": "" }, { "docid": "5a45f0e725f10b768a19087743ca1cc7", "score": "0.5073299", "text": "@Test\n public void getPerroTest() {\n \n PerroEntity entity = Perrodata.get(0);\n PerroEntity resultEntity = perroLogic.getPerro(entity.getId());\n Assert.assertNotNull(resultEntity);\n \n Assert.assertEquals(entity.getId(), resultEntity.getId());\n Assert.assertEquals(entity.getIdPerro(), resultEntity.getIdPerro());\n Assert.assertEquals(entity.getNombre(), resultEntity.getNombre());\n Assert.assertEquals(entity.getEdad(), resultEntity.getEdad());\n Assert.assertEquals(entity.getRaza(), resultEntity.getRaza());\n }", "title": "" }, { "docid": "b2fa8ca72c86f9438aec5c7c74176fdd", "score": "0.5071703", "text": "@Test\n public void testGetUsersTank() throws Exception {\n\n UserTo userTo = new UserTo(MOCKED_USER,\"MockerUser\",\"pw123\");\n userTo.setId(1L);\n\n UserEntity userEntity = new UserEntity();\n Mapper.mapUserTo2Entity(userTo, userEntity);\n\n given(this.userRepository.getByEmail(MOCKED_USER)).willReturn(userEntity);\n\n AquariumTo aquariumTo = testDataFactory.getTestAquariumFor(userTo);\n AquariumEntity aquariumEntity = new AquariumEntity();\n Mapper.mapAquariumTo2Entity(aquariumTo, aquariumEntity);\n aquariumEntity.setUser(userEntity); // ToMappper does not Map the User\n\n given(this.aquariumRepository.getAquariumEntityByIdAndUser_IdIs(aquariumTo.getId(), userTo.getId())).willReturn(aquariumEntity);\n\n // and we need a valid authentication token for oure mocked user\n String authToken = TokenAuthenticationService.createAuthorizationTokenFor(MOCKED_USER);\n\n // when this authorized user requests his aquarium list\n HttpHeaders headers = RestHelper.prepareAuthedHttpHeader(authToken);\n HttpEntity<String> requestEntity = new HttpEntity<>(headers);\n\n // Notice the that the controller defines a list, the resttemplate will get it as array.\n ResponseEntity<String> responseEntity = restTemplate.exchange(\"/api/tank/\" + aquariumTo.getId(),\n HttpMethod.GET, requestEntity, String.class);\n\n // then we should get a 202 as result.\n assertThat(responseEntity.getStatusCode(), equalTo(HttpStatus.OK));\n\n // and our test aquarium\n AquariumTo myObject = objectMapper.readValue(responseEntity.getBody(), AquariumTo.class);\n assertEquals(myObject.getDescription(), aquariumTo.getDescription());\n }", "title": "" }, { "docid": "f6b055eed79ff3ef23dbea344f53c41b", "score": "0.50344396", "text": "@Test\r\n public void testUpdate() throws Exception {\r\n MonitoriaEntity entity = data.get(0);\r\n PodamFactory pf = new PodamFactoryImpl();\r\n MonitoriaEntity nuevaEntity = pf.manufacturePojo(MonitoriaEntity.class);\r\n nuevaEntity.setId(entity.getId());\r\n persistence.update(nuevaEntity);\r\n// Assert.assertEquals(nuevaEntity.getName(), resp.getName());\r\n }", "title": "" }, { "docid": "0f4f6ac2bcd9e2e9eb7e18ad60a07fb9", "score": "0.5020531", "text": "@Test\n public void testSetLugarInteres() {\n LugaresInteresEntity lugar = new LugaresInteresEntity();\n lugar.setId(new Long(23));\n HospedajeLugarEntity hospedajeL = new HospedajeLugarEntity();\n hospedajeL.setLugarInteres(lugar);\n Assert.assertTrue(hospedajeL.getLugarInteres().getId().equals(lugar.getId()));\n }", "title": "" }, { "docid": "35331e541e3a31bc642feb95d8e73402", "score": "0.50168055", "text": "@Test\n void getByPropertyEqualUnique() {\n UserRoles role = (UserRoles)genericDAO.getByPropertyEqualUnique(\"userName\", \"admin\");\n assertEquals(\"admin\", role.getUserName());\n }", "title": "" }, { "docid": "3b5a031e18ca506eb17025562cd357dd", "score": "0.5011633", "text": "@Test\n void getByPropertyEqualSuccess() {\n List<Order> orders = dao.getByPropertyEqual(\"description\", \"February Large Long-Sleeve\");\n assertEquals(1, orders.size());\n assertEquals(2, orders.get(0).getId());\n }", "title": "" }, { "docid": "85a3db1c2a818d383bdbe4913aadbbfb", "score": "0.50100684", "text": "public void test_findUniqueByPropertys() {\r\n\t\tPerson person = (Person) this.persistenceService.findUniqueByPropertys(Person.class, getParamMap(2));\r\n\t\tassertForFindUniquePerson(person);\r\n\t}", "title": "" }, { "docid": "7718dceda983e1f5297cef70e51a75e4", "score": "0.50034964", "text": "@Test\n void getByPropertyLikeSuccess() {\n List<UserRoles> roles = genericDAO.getByPropertyLike(\"userName\", \"a\");\n for(UserRoles role : roles) {\n log.info(role.getUserName());\n }\n assertEquals(2, roles.size());\n }", "title": "" }, { "docid": "fb4f1a7a4cb10ee790291c6b66513e11", "score": "0.49956954", "text": "@Test\n void getByPropertyLikeSuccess() {\n List<Event> events = genericDao.getByPropertyLike(\"name\", \"ti\");\n assertEquals(2, events.size());\n assertEquals(1, events.get(0).getId());\n assertEquals(2, events.get(1).getId());\n }", "title": "" }, { "docid": "c856d977f6c4bf7b4a86fd56ba78313a", "score": "0.49863324", "text": "@Test \r\n\t\r\n\tpublic void ataqueDeMagoSinMagia(){\r\n\t\tPersonaje perso=new Humano();\r\n\t\tEspecialidad mago=new Hechicero();\r\n\t\tperso.setCasta(mago);\r\n\t\tperso.bonificacionDeCasta();\r\n\t\t\r\n\t\tPersonaje enemigo=new Orco();\r\n\t\tEspecialidad guerrero=new Guerrero();\r\n\t\tenemigo.setCasta(guerrero);\r\n\t\tenemigo.bonificacionDeCasta();\r\n\t\t\r\n\t\tAssert.assertEquals(50,perso.getCasta().getMagia());\r\n\t\tAssert.assertEquals(7,perso.getFuerza());\r\n\t\tAssert.assertEquals(44,perso.getEnergia());\r\n\t\tAssert.assertEquals(17,perso.calcularPuntosDeAtaque());\r\n\t\t\r\n\t\t//ataque normal\r\n\t\tperso.atacar(enemigo);\r\n\t\t\r\n\t\tAssert.assertEquals(50,perso.getCasta().getMagia());\r\n\t\tAssert.assertEquals(7,perso.getFuerza());\r\n\t\tAssert.assertEquals(32,perso.getEnergia());\r\n\t\tAssert.assertEquals(17,perso.calcularPuntosDeAtaque());\r\n\t\t\r\n\t\t// utilizar hechizo\r\n\t\tperso.getCasta().getHechicero().agregarHechizo(\"Engorgio\", new Engorgio());\r\n\t\tperso.getCasta().getHechicero().hechizar(\"Engorgio\",enemigo);\r\n\t\t\r\n\t\tAssert.assertEquals(20,perso.getCasta().getMagia());\r\n\t\tAssert.assertEquals(7,perso.getFuerza());\r\n\t\tAssert.assertEquals(32,perso.getEnergia());\r\n\t\tAssert.assertEquals(17,perso.calcularPuntosDeAtaque());\r\n\t}", "title": "" }, { "docid": "da61e74e6355631a6e3c459c03b672da", "score": "0.49723774", "text": "@Test\n public void test_getSupervisors_2() throws Exception {\n User user1 = createUser(1, false);\n createUser(2, false);\n createUser(3, true);\n\n List<User> res = instance.getSupervisors();\n\n assertEquals(\"'getSupervisors' should be correct.\", 1, res.size());\n\n User entity1 = res.get(0);\n\n assertEquals(\"'getSupervisors' should be correct.\", user1.getUsername(), entity1.getUsername());\n assertEquals(\"'getSupervisors' should be correct.\", user1.getDefaultTab(), entity1.getDefaultTab());\n assertEquals(\"'getSupervisors' should be correct.\", user1.getNetworkId(), entity1.getNetworkId());\n assertEquals(\"'getSupervisors' should be correct.\", user1.getRole().getId(), entity1.getRole().getId());\n assertEquals(\"'getSupervisors' should be correct.\", user1.getFirstName(), entity1.getFirstName());\n assertEquals(\"'getSupervisors' should be correct.\", user1.getLastName(), entity1.getLastName());\n assertEquals(\"'getSupervisors' should be correct.\", user1.getEmail(), entity1.getEmail());\n assertEquals(\"'getSupervisors' should be correct.\", user1.getTelephone(), entity1.getTelephone());\n assertEquals(\"'getSupervisors' should be correct.\", user1.getStatus().getId(), entity1.getStatus().getId());\n }", "title": "" }, { "docid": "280d8de5d5a65b683f1ad4994f0b29cf", "score": "0.497199", "text": "@Test(expected = BusinessLogicException.class)\n public void createEmpleadoConMismoNombreUsuarioTest() throws BusinessLogicException {\n \n\n EmpleadoEntity newEntity = factory.manufacturePojo(EmpleadoEntity.class);\n newEntity.setNombreUsuario(data.get(0).getNombreUsuario());\n empleadoLogic.createEmpleado(newEntity);\n\n }", "title": "" }, { "docid": "3f1ee37ae4158fe387802e0fc178ce71", "score": "0.49667874", "text": "@Test\n public void setTutor() {\n Employee em = employeeService.findById(5);\n System.out.println(\"=======\" + em.getName());\n Student student1 = studentService.findById(22);\n System.out.println(\"*********\" + student1.getName());\n student1.setTutor(em);\n studentService.update(student1);\n studentService.saveOrUpdate(student1);\n }", "title": "" }, { "docid": "2a0d4eac0786722891259bf7c0bd7d91", "score": "0.49655676", "text": "@Test\n public void getEmpleadosTest() {\n List<EmpleadoEntity> list = empleadoLogic.getEmpleados();\n Assert.assertEquals(\"No tiene el mismo numero de empleados\",data.size(), list.size());\n for (EmpleadoEntity entity : list) {\n boolean found = false;\n for (EmpleadoEntity storedEntity : data) {\n if (entity.getId().equals(storedEntity.getId())) {\n found = true;\n }\n }\n Assert.assertTrue(\"Alguno de los empleados en data no se encontro en la persitencia\",found);\n }\n }", "title": "" }, { "docid": "da07dbc3e69c298d50d342db02743d6a", "score": "0.49647275", "text": "@Test\n public void testCarregarTableViewPagamentos() {\n }", "title": "" }, { "docid": "79a4c8def6faa65513feaa73839db78b", "score": "0.4959025", "text": "@BeforeEach\n\tpublic void setup() {\n\t\tuser= new Utente(\"Nome\",\n\t\t\t\t\"Cognome\",\n\t\t\t\t\"mail\",\n\t\t\t\tLocalDateTime.now(),\n\t\t\t\t\"CodiceFiscale\",\n\t\t\t\t\"Username\", \n\t\t\t\t\"password\");\n\t\tuser_diverso= new Utente(\"Nome\",\n\t\t\t\t\"Cognome\",\n\t\t\t\t\"mail\",\n\t\t\t\tLocalDateTime.now(),\n\t\t\t\t\"CodiceFiscale\",\n\t\t\t\t\"Username_diverso\", \n\t\t\t\t\"password\");\n\t\tuser_uguale= new Utente(\"Nome\",\n\t\t\t\t\"Cognome\",\n\t\t\t\t\"mail\",\n\t\t\t\tLocalDateTime.now(),\n\t\t\t\t\"CodiceFiscale\",\n\t\t\t\t\"Username\", \n\t\t\t\t\"password\");\n\t\t\n\t\tfruitore =new Fruitore(user);\n\t\tfruitore_uguale =new Fruitore(user_uguale);\n\t\tfruitore_diverso =new Fruitore(user_diverso);\n\t}", "title": "" }, { "docid": "7500b34d57115b8d6672b007afe81407", "score": "0.4956112", "text": "@Test\n\t@Transactional(value = TransactionMode.ROLLBACK)\n\t@UsingDataSet({ \"persona.json\", \"registro.json\", \"administrador.json\", \"cuenta.json\", \"empleado.json\",\n\t\t\t\"familia.json\", \"genero.json\", \"recolector.json\", \"planta.json\" })\n\tpublic void listarPlantasPorGeneroFromEmpleadoTest() {\n\t\tTypedQuery<Planta> query = entityManager.createNamedQuery(Planta.LISTAR_PLANTAS_POR_GENERO, Planta.class);\n\t\tquery.setParameter(\"genero\", \"carnivoras\");\n\t\tList<Planta> listaPlantas = query.getResultList();\n\n\t\tAssert.assertEquals(listaPlantas.size(), 2);\n\t}", "title": "" }, { "docid": "7b05436c4af4949ed17d2e48602f7acb", "score": "0.49513528", "text": "@Test\n void getByPropertyEqualSuccess() {\n List<UserRoles> roles = genericDAO.getByPropertyEqual(\"userName\", \"admin\");\n assertEquals(1, roles.size());\n assertEquals(1, roles.get(0).getUserRoleId());\n }", "title": "" }, { "docid": "465ad73145b8bdd8dbb50e64a4ed144c", "score": "0.49427843", "text": "@Test\n @Tag(\"CREATE\")\n @Tag(\"RESOURCE\")\n @DisplayName(\"Test CRUD Create with Address 04\")\n public void testCRUDCreateWithAddress04()\n {\n System.out.println(\"Programme Start\");\n long startTime = System.nanoTime();\n\n List<SBAddress04> address04s = new ArrayList<>();\n\n for (int i = 0; i < 20; i++) {\n SBAddress04 sbAddress04 = new SBAddress04();\n sbAddress04.setAddress04Street(\"KusumaramaStreet\" + i);\n sbAddress04.setAddress04Village(\"Seenigama\");\n sbAddress04.setAddress04City(\"Hikkaduwa\");\n sbAddress04.setAddress04Country(\"Sri Lanka\");\n sbAddress04.setAddress04Zip(\"29200\" + i);\n sbAddress04.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n sbAddress04.setRawLastUpdateLogId(1);\n sbAddress04.setUpdateUserAccountId(1);\n sbAddress04.setRawActiveStatus(1);\n sbAddress04.setRawDeleteStatus(1);\n sbAddress04.setRawShowStatus(1);\n sbAddress04.setRawUpdateStatus(1);\n\n address04s.add(sbAddress04);\n }\n\n Transaction transaction = null;\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\n transaction = session.beginTransaction();\n address04s.forEach(address -> session.save(address));\n transaction.commit();\n\n address04s.forEach(address -> System.out.println(\"Added Address : \" + address.getAddress04Street()));\n\n } catch (Throwable throwable) {\n if (transaction != null) {\n transaction.rollback();\n }\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\n throwable.printStackTrace();\n }\n\n MoraAccessProperties accessProperties = new MoraAccessProperties();\n UuidUtilities utilities = new UuidUtilities();\n\n address04s.forEach(address -> {\n accessProperties.setPropertyFromPath(\n \"D:\\\\SLMORAWorkSpace\\\\IntelliJProjects\\\\MoraHibernateLearn004\\\\src\\\\main\\\\resources\\\\hibernatetestsupport.properties\",\n \"MORA.HIBERNATE.TEST.testCRUDCreateWithAddress04.\" + address.getAddress04Street(),\n utilities.getUUIDFromOrderedUUIDByteArrayWithApacheCommons(address.getAddress04Id()).toString(),\n \"Test Comment\");\n });\n\n long endTime = System.nanoTime();\n ELAPSED_TIME = endTime - startTime;\n System.out.println(\"Programme End\");\n\n }", "title": "" }, { "docid": "59070936c645bdbc0dfc13e539acb2f5", "score": "0.4935836", "text": "@Test\n @Tag(\"CREATE\")\n @Tag(\"RESOURCE\")\n @DisplayName(\"Test CRUD Create with Address 02\")\n public void testCRUDCreateWithAddress02()\n {\n System.out.println(\"Programme Start\");\n long startTime = System.nanoTime();\n\n List<SBAddress02> address02s = new ArrayList<>();\n\n for (int i = 0; i < 20; i++) {\n SBAddress02 sbAddress02 = new SBAddress02();\n sbAddress02.setAddress02Street(\"KusumaramaStreet\" + i);\n sbAddress02.setAddress02Village(\"Seenigama\");\n sbAddress02.setAddress02City(\"Hikkaduwa\");\n sbAddress02.setAddress02Country(\"Sri Lanka\");\n sbAddress02.setAddress02Zip(\"29200\" + i);\n sbAddress02.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n sbAddress02.setRawLastUpdateLogId(1);\n sbAddress02.setUpdateUserAccountId(1);\n sbAddress02.setRawActiveStatus(1);\n sbAddress02.setRawDeleteStatus(1);\n sbAddress02.setRawShowStatus(1);\n sbAddress02.setRawUpdateStatus(1);\n\n address02s.add(sbAddress02);\n }\n\n Transaction transaction = null;\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\n transaction = session.beginTransaction();\n address02s.forEach(address -> session.save(address));\n transaction.commit();\n\n address02s.forEach(address -> System.out.println(\"Added Address : \" + address.getAddress02Street()));\n\n } catch (Throwable throwable) {\n if (transaction != null) {\n transaction.rollback();\n }\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\n throwable.printStackTrace();\n }\n\n MoraAccessProperties accessProperties = new MoraAccessProperties();\n UuidUtilities utilities = new UuidUtilities();\n\n address02s.forEach(address -> {\n accessProperties.setPropertyFromPath(\n \"D:\\\\SLMORAWorkSpace\\\\IntelliJProjects\\\\MoraHibernateLearn004\\\\src\\\\main\\\\resources\\\\hibernatetestsupport.properties\",\n \"MORA.HIBERNATE.TEST.testCRUDCreateWithAddress02.\" + address.getAddress02Street(),\n utilities.getUUIDFromOrderedUUIDByteArrayWithApacheCommons(address.getAddress02Id()).toString(),\n \"Test Comment\");\n });\n\n long endTime = System.nanoTime();\n ELAPSED_TIME = endTime - startTime;\n System.out.println(\"Programme End\");\n\n }", "title": "" }, { "docid": "37b7d1f1d004fff0769c90196e42eebd", "score": "0.4928228", "text": "@Test\n public void testSetHospedaje() {\n HospedajeEntity hospedaje = new HospedajeEntity();\n hospedaje.setId(new Long(23));\n HospedajeLugarEntity hospedajeL = new HospedajeLugarEntity();\n hospedajeL.setHospedaje(hospedaje);\n Assert.assertTrue(hospedajeL.getHospedaje().getId().equals(hospedaje.getId()));\n }", "title": "" }, { "docid": "84f67aa27df8d3343ae299fe6ddbe3b6", "score": "0.49251866", "text": "@Test\n @Tag(\"CREATE\")\n @Tag(\"RESOURCE\")\n @DisplayName(\"Test CRUD Create with Address 05\")\n public void testCRUDCreateWithAddress05()\n {\n System.out.println(\"Programme Start\");\n long startTime = System.nanoTime();\n\n List<SBAddress05> address05s = new ArrayList<>();\n\n for (int i = 0; i < 20; i++) {\n SBAddress05 sbAddress05 = new SBAddress05();\n sbAddress05.setAddress05Street(\"KusumaramaStreet\" + i);\n sbAddress05.setAddress05Village(\"Seenigama\");\n sbAddress05.setAddress05City(\"Hikkaduwa\");\n sbAddress05.setAddress05Country(\"Sri Lanka\");\n sbAddress05.setAddress05Zip(\"29200\" + i);\n sbAddress05.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n sbAddress05.setRawLastUpdateLogId(1);\n sbAddress05.setUpdateUserAccountId(1);\n sbAddress05.setRawActiveStatus(1);\n sbAddress05.setRawDeleteStatus(1);\n sbAddress05.setRawShowStatus(1);\n sbAddress05.setRawUpdateStatus(1);\n\n address05s.add(sbAddress05);\n }\n\n Transaction transaction = null;\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\n transaction = session.beginTransaction();\n address05s.forEach(address -> session.save(address));\n transaction.commit();\n\n address05s.forEach(address -> System.out.println(\"Added Address : \" + address.getAddress05Street()));\n\n } catch (Throwable throwable) {\n if (transaction != null) {\n transaction.rollback();\n }\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\n throwable.printStackTrace();\n }\n\n MoraAccessProperties accessProperties = new MoraAccessProperties();\n UuidUtilities utilities = new UuidUtilities();\n\n address05s.forEach(address -> {\n accessProperties.setPropertyFromPath(\n \"D:\\\\SLMORAWorkSpace\\\\IntelliJProjects\\\\MoraHibernateLearn004\\\\src\\\\main\\\\resources\\\\hibernatetestsupport.properties\",\n \"MORA.HIBERNATE.TEST.testCRUDCreateWithAddress05.\" + address.getAddress05Street(),\n utilities.getUUIDFromOrderedUUIDByteArrayWithApacheCommons(address.getAddress05Id()).toString(),\n \"Test Comment\");\n });\n\n long endTime = System.nanoTime();\n ELAPSED_TIME = endTime - startTime;\n System.out.println(\"Programme End\");\n\n }", "title": "" }, { "docid": "75702c498ad4cb80c7c266cc7f3d81a5", "score": "0.49192646", "text": "@Test\n public void updateComentarioTest(){\n ComentarioEntity entity = data.get(0);\n PodamFactory factory = new PodamFactoryImpl();\n ComentarioEntity newEntity = factory.manufacturePojo(ComentarioEntity.class);\n newEntity.setId(entity.getId());\n comentarioPersistence.update(newEntity);\n \n ComentarioEntity respuesta = em.find(ComentarioEntity.class,entity.getId());\n \n Assert.assertEquals(respuesta.getNombreUsuario(), newEntity.getNombreUsuario());\n \n \n }", "title": "" }, { "docid": "65ecdcd17a4c7fff00512bf9b580bd70", "score": "0.49175027", "text": "@Test\n public void test2(){\n\n List<FitActivity> upper = fitActivityRepository.findAllByBodyPart(\"Upper\");\n for (FitActivity fitActivity : upper) {\n System.out.println(fitActivity.getName());\n\n }\n\n }", "title": "" }, { "docid": "c8bb848d288caba4b2e924a1f9a59484", "score": "0.4912544", "text": "public interface TreatmentRepository extends CrudRepository <Treatment, Integer> {\n}", "title": "" }, { "docid": "93f693b02677eff0e52573073be0804d", "score": "0.4901206", "text": "public void testGetContactUs(String namaContactUs){\n assertEquals(\"komentarContactUs\",contactUsJpa.getContactUs(\"namaContactUs\").getKomentarContactUs());\n }", "title": "" }, { "docid": "5c5be7dc200fe0e1a31c7488f5fc4391", "score": "0.48966944", "text": "@Test\n @Order(4)\n @Transactional\n void shouldCreateAndFindToModify () throws Exception {\n LinkedMultiValueMap<String, String> materias = new LinkedMultiValueMap<>();\n materias.add(\"materias\", \"2\");\n materias.add(\"materias\", \"3\");\n mockMvc.perform(MockMvcRequestBuilders\n .post(NUEVO)\n .param(\"id\", \"\")\n .param(\"nombre\", \"Tony Stark\")\n .params(materias))\n .andExpect(status().isFound())\n .andExpect(status().is3xxRedirection())\n .andExpect(view().name(\"redirect:\" + INDEX))\n .andExpect(model().hasNoErrors())\n ;\n Profesor profesor = profesorService.findLastInserted();\n assertThat(profesor.getNombre()).isEqualTo(\"Tony Stark\");\n assertThat(profesor.getMaterias()).isNotNull();\n this.id = profesor.getId();\n //////////\n mockMvc.perform(MockMvcRequestBuilders.get(MODIFICAR, this.id))\n .andExpect(status().isOk())\n .andExpect(status().is2xxSuccessful())\n .andExpect(view().name(\"profesor-modificar\"))\n .andExpect(model().attributeExists(\"profesor\"))\n .andExpect(model().attributeExists(\"materiasWithNoProfesor\"))\n .andExpect(model().hasNoErrors())\n ;\n ///////////////////\n\n }", "title": "" }, { "docid": "d8ef16a0b0c47cdbe00fd927e2c1e4b4", "score": "0.48951107", "text": "@Test\n\tpublic void testCrudRole() {\n\t\tRoleUtilisateur r1 = new RoleUtilisateur();\n\t\tr1.setId(1);\n\t\tr1.setNom(\"Commercial\");\n\t\t\n\t\tRoleUtilisateur r2 = new RoleUtilisateur();\n\t\tr2.setId(2);\n\t\tr2.setNom(\"Magasinier\");\n\t\t\n\t\tSystem.err.println(daoRole.getDao());\n\t\tdaoRole.createRoleUtilisateur(r1);\n\t\tdaoRole.createRoleUtilisateur(r2);\n\t\t\n\t\t//Récuperation des deux rôles crées\n\t\tRoleUtilisateur r1Recup = daoRole.findByIdRoleUtilisateur(1);\n\t\t\n\t\tassertNotNull(r1Recup);\n\t\tassertEquals(\"Commercial\", r1Recup.getNom());\n\t\t\n\t\t\n\t\tRoleUtilisateur r2Recup = daoRole.findByIdRoleUtilisateur(2);\n\t\t\n\t\tassertNotNull(r2Recup);\n\t\tassertEquals(\"Magasinier\", r2Recup.getNom());\n\t\t\n\t\n\t\t//Modification des deux roles\n\t\tRoleUtilisateur r1Modifie = r1;\n\t\tr1Modifie.setNom(\"CommercialMod\");\n\t\t\n\t\tRoleUtilisateur r2Modifie = r2;\n\t\tr2Modifie.setNom(\"MagasinierMod\");\n\t\t\n\t\tdaoRole.updateRoleUtilisateur(r1Modifie);\n\t\tdaoRole.updateRoleUtilisateur(r2Modifie);\n\t\t\n\t\t\n\t\t\n\t\tRoleUtilisateur rRecupModifie1 = daoRole.findByIdRoleUtilisateur(1);\n\t\tassertEquals(\"CommercialMod\", rRecupModifie1.getNom());\n\n\t\tRoleUtilisateur rRecupModifie2 = daoRole.findByIdRoleUtilisateur(2);\n\t\tassertEquals(\"MagasinierMod\", rRecupModifie2.getNom());\n\t\t\n\t\t\n\t\t//Afficher la liste des roles\n\t\tList<RoleUtilisateur> allRoleUtilisateur = daoRole.findAllRoleUtilisateur();\n\t\tassertEquals(2, allRoleUtilisateur.size());\n\t\t\n\t\tassertEquals(\"CommercialMod\", allRoleUtilisateur.get(0).getNom());\n\t\tassertEquals(\"MagasinierMod\", allRoleUtilisateur.get(1).getNom());\n\n\n\t}", "title": "" }, { "docid": "172d198932f61db93509921ceda271bd", "score": "0.48900893", "text": "@BeforeEach\n\tpublic void setup() {\n\t\t\n\t\trisorsa= new Film(1,1);\n\t\tuser=new Utente(\"nome\",\"cognome\",\"mail\",LocalDateTime.now(),\"cf\",\"user\",\"psw\");\n\t\tfruitore = new Fruitore(user);\n\t\t\n\t\trisorsa_diversa= new Film(2,1);\n\t\tuser_diverso=new Utente(\"nome\",\"cognome\",\"mail\",LocalDateTime.now(),\"cf\",\"user_diverso\",\"psw\");\n\t\tfruitore_diverso = new Fruitore(user_diverso);\n\t\t\n\t\tprestito= new Prestito(risorsa, fruitore);\n\t\tprestito_diverso= new Prestito(risorsa_diversa, fruitore_diverso);\n\t}", "title": "" }, { "docid": "3f7b48055df1ccf59a7cf653a29f1eea", "score": "0.48826724", "text": "@Test\n public void testRepositoryControl(){\n String databaseUrl = \"jdbc:h2:mem:fivet_db\";\n\n //Connection source: autoclose with the try/catch\n try(ConnectionSource connectionSource = new JdbcConnectionSource(databaseUrl)){\n\n //Create table Persona\n TableUtils.createTableIfNotExists(connectionSource, Persona.class);\n //Create table Ficha\n TableUtils.createTableIfNotExists(connectionSource, Ficha.class);\n //Create table Control\n TableUtils.createTableIfNotExists(connectionSource, Control.class);\n //Insert Personas on the table\n Repository<Persona,Long> theRepoPersona = new RepositoryOrmLite<>(connectionSource,Persona.class);\n\n Repository<Ficha,Long> repoFicha = new RepositoryOrmLite<>(connectionSource,Ficha.class);\n //Repository Control\n Repository<Control,Long> repoControl = new RepositoryOrmLite<>(connectionSource,Control.class);\n\n //Instanciar a Duenio\n Persona duenio = new Persona(\"Gerald\",\"Lopez\",\"198221287\",\"Malleco 1204\",55222222,944707039,\"[email protected]\");\n\n if(!theRepoPersona.create(duenio)){\n Assertions.fail(\"Can't insert persona\");\n }\n\n //Instanciar una ficha\n Ficha ficha = new Ficha(123, ZonedDateTime.now(),\"Firulais\",\"Canino\",\"Rottweiler\", Sexo.MACHO,\"Negro\", Tipo.INTERNO,duenio);\n\n if(!repoFicha.create(ficha)){\n Assertions.fail(\"Can't create ficha\");\n }\n\n Ficha ficha1 = repoFicha.findById(1L);\n\n //Instanciar a Veterinario\n Persona vet = new Persona(\"Mauricio\",\"Contreras\",\"116002825\",\"Av Argentina 0351\",55111111,987654321,\"[email protected]\");\n\n if(!theRepoPersona.create(vet)){\n Assertions.fail(\"Can't insert persona\");\n }\n\n //Instancia of Control\n Control control = new Control(ZonedDateTime.now(),ZonedDateTime.now(),36,40,68,\"Dado de alta\",vet,ficha1);\n\n //Crear un control via repositorio\n if(!repoControl.create(control)){\n Assertions.fail(\"Can't create control\");\n }\n\n\n log.debug(\"Control: {}.\", Entity.toString(control));\n\n log.debug(\"Ficha: {}\",Entity.toString(ficha1));\n\n\n\n\n } catch (SQLException | IOException exception){\n throw new RuntimeException(exception);\n }\n\n\n }", "title": "" }, { "docid": "8deafd48cd3526713208be702d8e79e4", "score": "0.48795545", "text": "@Test\n public void getComentarioTest() {\n ComentarioEntity entity = data.get(0);\n ComentarioEntity nuevaEntity = comentarioPersistence.find(dataLibro.get(0).getId(), entity.getId());\n Assert.assertNotNull(nuevaEntity);\n Assert.assertEquals(entity.getNombreUsuario(), nuevaEntity.getNombreUsuario());\n }", "title": "" }, { "docid": "7669e222e397d5a338675772ccbf7219", "score": "0.48787206", "text": "@Test\n public void updateEspecieTest() {\n EspecieEntity entity = especieData.get(0);\n EspecieEntity pojoEntity = factory.manufacturePojo(EspecieEntity.class);\n pojoEntity.setId(entity.getId());\n especieLogic.updateSpecies(pojoEntity.getId(), pojoEntity);\n EspecieEntity resp = em.find(EspecieEntity.class, entity.getId());\n Assert.assertEquals(pojoEntity.getId(), resp.getId());\n Assert.assertEquals(pojoEntity.getNombre(), resp.getNombre());\n }", "title": "" }, { "docid": "57277ccb74d7af6daf99f3077e66e3a4", "score": "0.48755005", "text": "@Test\n public void getEspecieTest() {\n EspecieEntity entity = especieData.get(0);\n EspecieEntity resultEntity = especieLogic.getSpecies(entity.getId());\n Assert.assertNotNull(resultEntity);\n Assert.assertEquals(entity.getId(), resultEntity.getId());\n Assert.assertEquals(entity.getNombre(), resultEntity.getNombre());\n }", "title": "" }, { "docid": "6d0cdff75e301ad780f0aaa1bfa2a8ed", "score": "0.48724324", "text": "@Test\r\n public void updateCarritoDeComprasTest() {\r\n System.out.println(\"up voy\"+data);\r\n CarritoDeComprasEntity entity = data.get(0);\r\n PodamFactory factory = new PodamFactoryImpl();\r\n CarritoDeComprasEntity newEntity = factory.manufacturePojo(CarritoDeComprasEntity.class);\r\n\r\n newEntity.setId(entity.getId());\r\n\r\n carritoDeComprasPersistence.update(newEntity);\r\n\r\n CarritoDeComprasEntity resp = em.find(CarritoDeComprasEntity.class, entity.getId());\r\n\r\n Assert.assertEquals(newEntity.getTotalCostDeCarritoCompras(), resp.getTotalCostDeCarritoCompras());\r\n \r\n }", "title": "" }, { "docid": "78b2bb1d17282c404f1fa4be946d9f15", "score": "0.48719537", "text": "@Test\n public void allPropertiesShouldBeRepresentedInToStringOutput() {\n assertThat(AssignForceBatch.class, hasValidBeanToStringFor(\"name\"));\n assertThat(AssignForceBatch.class, hasValidBeanToStringFor(\"startDate\"));\n assertThat(AssignForceBatch.class, hasValidBeanToStringFor(\"endDate\"));\n assertThat(AssignForceBatch.class, hasValidBeanToStringFor(\"curriculum\"));\n assertThat(AssignForceBatch.class, hasValidBeanToStringFor(\"trainer\"));\n assertThat(AssignForceBatch.class, hasValidBeanToStringFor(\"ID\"));\n }", "title": "" }, { "docid": "15e11e14b4aecaddfd64e614070cf8ec", "score": "0.4870876", "text": "@PostConstruct\n public void init() {\n if (revenueRepository.findAll().isEmpty()) {\n for (int i = 2; i < 20; i++) {\n Revenue revenue = new Revenue.RevenueBuilder()\n // TODO später durch Response von Reservation ersetzen\n// .withValue(12)\n .withTimestamp(new Date().getTime())\n .withSoldTicketsFirstClassInternet(i + 40)\n .withSoldTicketsEconomyClassInternet(i + 30)\n .withSoldTicketsFirstClassTravelOffice(i + 25)\n .withSoldTicketsEconomyClassTravelOffice(i + 47)\n .withSoldTicketsFirstClassCounter(i + 40)\n .withSoldTicketsEconomyClassCounter(i + 23)\n .withsoldTicketsBusinessClassStaff(i + 13)\n .withsoldTicketsBusinessClassCounter(i + 41)\n .withsoldTicketsBusinessClassTravelOffice(i + 54)\n .withSoldTicketsBusinessClassInternet(i + 68)\n .withsoldTicketsFirstClassStaff(i + 24)\n .withsoldTicketsEconomyClassStaff(i + 17)\n .withFlightId(UUID.randomUUID())\n .build();\n revenueRepository.save(revenue);\n }\n Revenue revenueSame = new Revenue.RevenueBuilder()\n .withTimestamp(1452759161549L)\n .withSoldTicketsFirstClassInternet(50)\n .withSoldTicketsEconomyClassInternet(80)\n .withSoldTicketsFirstClassTravelOffice(90)\n .withSoldTicketsEconomyClassTravelOffice(100)\n .withSoldTicketsFirstClassCounter(500)\n .withSoldTicketsEconomyClassCounter(100)\n .withsoldTicketsBusinessClassStaff(13)\n .withsoldTicketsBusinessClassCounter(41)\n .withsoldTicketsBusinessClassTravelOffice(54)\n .withSoldTicketsBusinessClassInternet(68)\n .withsoldTicketsFirstClassStaff(24)\n .withsoldTicketsEconomyClassStaff(17)\n .withFlightId(UUID.fromString(\"9aacad96-6730-4443-b6f6-33325b00ce39\"))\n .build();\n revenueRepository.save(revenueSame);\n }\n }", "title": "" }, { "docid": "0bce344b1e2f0b59fb940076be94a0a7", "score": "0.48667043", "text": "private void testMentorDAO(){\n System.out.println(\"==========================\");\n System.out.println(\"test finding mentor by userID\");\n int mentorID = mentorDAO.getIdMentor(11);\n System.out.println(mentorID);\n System.out.println(\"\\n\");\n\n // test setting mentor classroom\n // System.out.println(\"test setting mentor classroom\");\n // List<Integer> idsClassroom = new ArrayList<>();\n // idsClassroom.add(1);\n // idsClassroom.add(2);\n // idsClassroom.add(3);\n // int idMentor = 2;\n // mentorDAO.setMentorClassroom(idsClassroom, idMentor);\n // System.out.println(\"mentor classes set successfully\");\n // System.out.println(\"\\n\");\n\n // test finding mentor classes by mentorID\n System.out.println(\"test finding mentor classes by mentorID\");\n List<Classroom> classroomList = mentorDAO.getMentorClassrooms(2);\n for (Classroom classroom : classroomList) {\n System.out.println(classroom.toString());\n }\n System.out.println(\"\\n\");\n }", "title": "" }, { "docid": "a39a0b526777c36e3d59cc477a91e0f3", "score": "0.48660776", "text": "@Test\n public void shouldInitializeBeans() throws Exception {\n FixtureAnnotations.initFixtures(this);\n\n assertThat(bean1.getStringProperty()).isEqualTo(\"property\");\n assertThat(bean1.getIntProperty()).isEqualTo(1);\n\n assertThat(bean2.getStringProperty()).isEqualTo(\"property2\");\n assertThat(bean2.getIntProperty()).isEqualTo(1);\n\n assertThat(bean3.getStringProperty()).isEqualTo(\"property\");\n assertThat(bean3.getIntProperty()).isEqualTo(1);\n assertThat(bean3.getListProperty()).containsExactly(\"element1\", \"element2\", \"element3\");\n\n assertThat(bean4.getStringProperty()).isEqualTo(\"property\");\n assertThat(bean4.getIntProperty()).isEqualTo(3);\n\n assertThat(beanList).hasSize(3);\n assertThat(beanList.get(0).getStringProperty()).isEqualTo(\"property1\");\n assertThat(beanList.get(0).getIntProperty()).isEqualTo(1);\n assertThat(beanList.get(1).getStringProperty()).isEqualTo(\"property2\");\n assertThat(beanList.get(1).getIntProperty()).isEqualTo(2);\n assertThat(beanList.get(2).getStringProperty()).isEqualTo(\"property3\");\n assertThat(beanList.get(2).getIntProperty()).isEqualTo(3);\n }", "title": "" }, { "docid": "3cdc62d2cafbc55154ebb8bdb78e2be8", "score": "0.48610213", "text": "@Test\n public void test6FindByHeadquarters() {\n System.out.println(\"Prueba de Headquarters en metodo findByHeadquarters\");\n HeadquartersDAO dao = HeadquartersFactory.create(Headquarters.class);\n List<Headquarters> lista = dao.findByHeadquarters(\"SENA SEDE BARRIO COLOMBIA\");\n assertTrue(!lista.isEmpty());\n for (Headquarters headquarters : lista) {\n assertEquals(headquarters.getNameHeadquarters(),\"SENA SEDE BARRIO COLOMBIA\");\n }\n }", "title": "" }, { "docid": "85c931f15e5a92c00089496b7cb57e73", "score": "0.4854571", "text": "@Before\n public void antesDeTestear(){\n this.creditosHaberes = new Ingreso();\n this.creditosHaberes.setMonto(10000.0);\n this.creditosHaberes.setFecha(LocalDate.of(2020,9,25));\n\n this.donacion = new Ingreso();\n this.donacion.setMonto(500.0);\n this.donacion.setFecha(LocalDate.of(2020,9,26));\n\n\n this.compraUno = new Egreso();\n this.compraUno.setFecha(LocalDate.of(2020,9,26));\n this.compraUno.setMonto(1000.0);\n\n this.compraDos = new Egreso();\n this.compraDos.setFecha(LocalDate.of(2020,9,27));\n this.compraDos.setMonto(2500.0);\n\n this.compraTres = new Egreso();\n this.compraTres.setFecha(LocalDate.of(2020,9,23));\n this.compraTres.setMonto(10000.0);\n\n ingresos.add(donacion);\n ingresos.add(creditosHaberes);\n\n egresos.add(compraUno);\n egresos.add(compraDos);\n egresos.add(compraTres);\n\n /***************Creacion de condiciones*************/\n this.condicionEntreFechas = new CondicionEntreFechas();\n\n this.condicionValor = new CondicionValor();\n\n this.condicionSinIngresoAsociado = new CondicionSinIngresoAsociado();\n /***************Creacion criterio*******************/\n this.ordenValorPrimeroEgreso = new OrdenValorPrimeroEgreso();\n this.ordenValorPrimeroIngreso = new OrdenValorPrimeroIngreso();\n this.ordenFecha = new Fecha();\n this.mix = new Mix();\n\n\n /***************Creacion vinculador*****************/\n vinculador = Vinculador.instancia();\n vinculador.addCondiciones(this.condicionValor);\n vinculador.addCondiciones(this.condicionEntreFechas);\n vinculador.addCondiciones(this.condicionSinIngresoAsociado);\n }", "title": "" }, { "docid": "8aa21f71b8a72a9a8e54e929060796f4", "score": "0.48530987", "text": "@Test\n public void shouldCreateCabrioWhenSummer() {\n CarSettlement.getSeasonAndTime(\"lato\", true);\n ApplicationContext context = new AnnotationConfigApplicationContext(\"com.kodilla.spring\");\n Car car = (Car) context.getBean(\"seasonCar\");\n //When\n String whichCar = car.getCarType();\n //Then\n Assertions.assertEquals(\"Cabrio\", whichCar);\n }", "title": "" }, { "docid": "97e37a05fc738a7d90834a2de73da071", "score": "0.4848748", "text": "@Test\n void getByPropertyLikeSuccess() {\n List<Car> carList = carDao.getByPropertyLike(\"make\",\"Je\") ;\n assertEquals(1, carList.size());\n }", "title": "" }, { "docid": "8b6c895991f8b8fbd0271fa7155715af", "score": "0.48476887", "text": "@Test(expected = BusinessLogicException.class)\n public void updateTarjetaPrepagoConPuntosInvalidoTest() throws BusinessLogicException \n {\n TarjetaPrepagoEntity entity = data.get(0);\n TarjetaPrepagoEntity pojoEntity = factory.manufacturePojo(TarjetaPrepagoEntity.class);\n double valor = (Math.random()) * (-100);\n pojoEntity.setPuntos(valor);\n pojoEntity.setId(entity.getId());\n tarjetaPrepagoLogic.updateTarjetaPrepago(pojoEntity.getId(), pojoEntity);\n }", "title": "" }, { "docid": "c6ad99b32996c73b0b1eb6b7f54a3602", "score": "0.48391038", "text": "@Test\n public void getPerrosTest() {\n List<PerroEntity> list = perroLogic.getPerros();\n Assert.assertEquals(Perrodata.size(), list.size());\n for (PerroEntity entity : list) {\n boolean found = false;\n for (PerroEntity storedEntity : Perrodata) {\n if (entity.getId().equals(storedEntity.getId())) {\n found = true;\n }\n }\n Assert.assertTrue(found);\n }\n }", "title": "" }, { "docid": "466a4ee4e075e9bd0c745561b4e28fb4", "score": "0.48274884", "text": "@Test\n public void testCreateUsersTank() throws Exception {\n\n UserTo userTo = new UserTo(MOCKED_USER,\"MockerUser\",\"pw123\");\n userTo.setId(1L);\n\n UserEntity storedUserEntity = new UserEntity();\n Mapper.mapUserTo2Entity(userTo, storedUserEntity);\n\n given(this.userRepository.getByEmail(MOCKED_USER)).willReturn(storedUserEntity);\n\n\n AquariumTo aquariumTo = testDataFactory.getTestAquariumFor(userTo);\n AquariumEntity createdAquariumEntity = new AquariumEntity();\n\n createdAquariumEntity.setUser(storedUserEntity);\n\n mapAquariumTo2Entity(aquariumTo, createdAquariumEntity);\n\n given(this.aquariumRepository.saveAndFlush(any())).willReturn(createdAquariumEntity);\n\n // and we need a valid authentication token for our mocked user\n String authToken = TokenAuthenticationService.createAuthorizationTokenFor(MOCKED_USER);\n\n // when this authorized user requests to create a aquarium\n HttpHeaders headers = RestHelper.prepareAuthedHttpHeader(authToken);\n\n String requestJson = objectMapper.writeValueAsString(aquariumTo);\n HttpEntity<String> entity = new HttpEntity<String>(requestJson, headers);\n\n ResponseEntity<String> responseEntity = restTemplate.postForEntity(\"/api/tank/create\", entity, String.class);\n\n // then we should get a 201 as result.\n assertThat(responseEntity.getStatusCode(), equalTo(HttpStatus.CREATED));\n\n // and our test aquarium\n AquariumTo createdAquarium = objectMapper.readValue(responseEntity.getBody(), AquariumTo.class);\n assertEquals(createdAquarium.getDescription(), aquariumTo.getDescription());\n }", "title": "" }, { "docid": "c29ce00f84c3e3acaafd1c6aef4f3844", "score": "0.48270237", "text": "public LotteryInfoEntityExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "a1bbaa64ff96deb9a6ea9fda87dbada2", "score": "0.4819448", "text": "@Test\r\n public void testReadWrite() throws Throwable {\r\n System.out.println(\"testReadWrite\");\r\n\r\n Long o0 = Long.MAX_VALUE;\r\n Integer o1 = 1;\r\n String o2 =\"TEST\";\r\n Date o3 = new Date();\r\n Float o4 = 123456.456F;\r\n\r\n BeanUjoImpl ujb = new BeanUjoImpl();\r\n\r\n BeanUjoImpl.PRO_P0.setValue(ujb, o0);\r\n BeanUjoImpl.PRO_P1.setValue(ujb, o1);\r\n BeanUjoImpl.PRO_P2.setValue(ujb, o2);\r\n BeanUjoImpl.PRO_P3.setValue(ujb, o3);\r\n BeanUjoImpl.PRO_P4.setValue(ujb, o4);\r\n BeanUjoImpl.PRO_P0.setValue(ujb, o0);\r\n BeanUjoImpl.PRO_P1.setValue(ujb, o1);\r\n BeanUjoImpl.PRO_P2.setValue(ujb, o2);\r\n BeanUjoImpl.PRO_P3.setValue(ujb, o3);\r\n BeanUjoImpl.PRO_P4.setValue(ujb, o4);\r\n\r\n assertEquals(o0, BeanUjoImpl.PRO_P0.of(ujb));\r\n assertEquals(o1, BeanUjoImpl.PRO_P1.of(ujb));\r\n assertEquals(o2, BeanUjoImpl.PRO_P2.of(ujb));\r\n assertEquals(o3, BeanUjoImpl.PRO_P3.of(ujb));\r\n assertEquals(o4, BeanUjoImpl.PRO_P4.of(ujb));\r\n assertEquals(o0, BeanUjoImpl.PRO_P0.of(ujb));\r\n assertEquals(o1, BeanUjoImpl.PRO_P1.of(ujb));\r\n assertEquals(o2, BeanUjoImpl.PRO_P2.of(ujb));\r\n assertEquals(o3, BeanUjoImpl.PRO_P3.of(ujb));\r\n assertEquals(o4, BeanUjoImpl.PRO_P4.of(ujb));\r\n\r\n }", "title": "" }, { "docid": "27f310b003d4f9f459a2e1135ca95b92", "score": "0.48172244", "text": "TestEntity buildEntity () {\n TestEntity testEntity = new TestEntity();\n testEntity.setName(\"Test name\");\n testEntity.setCheck(true);\n testEntity.setDateCreated(new Date(System.currentTimeMillis()));\n testEntity.setDescription(\"description\");\n\n Specialization specialization = new Specialization();\n specialization.setName(\"Frontend\");\n specialization.setLevel(\"Senior\");\n specialization.setYears(10);\n\n testEntity.setSpecialization(specialization);\n\n return testEntity;\n }", "title": "" }, { "docid": "b54f4e7c588f8f4e74f8d88c76705beb", "score": "0.48020515", "text": "@Test\n void getByPropertyExactSuccess() {\n List<Car> carList = carDao.getByPropertyEqual(\"make\", \"Jeep\");\n assertEquals(1, carList.size());\n }", "title": "" }, { "docid": "429d376c22fa20cd9812af8a50177686", "score": "0.48006383", "text": "@Test\n public void createQuejaEntityTest() {\n PodamFactory factory = new PodamFactoryImpl();\n QuejaEntity newEntity = factory.manufacturePojo(QuejaEntity.class);\n QuejaEntity result = quejaPersistence.create(newEntity);\n\n Assert.assertNotNull(result);\n QuejaEntity entity = em.find(QuejaEntity.class, result.getId());\n Assert.assertNotNull(entity);\n Assert.assertEquals(newEntity.getName(), entity.getName());\n}", "title": "" }, { "docid": "1278afa07444a1f2493cc030b6852656", "score": "0.47959438", "text": "@Test\r\n\tpublic void testGetPeliBalorazioak() {\n\t\tBektorea bek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioak(p1.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(e1.getId()) == 4);\r\n\t\tassertTrue(bek.getBalioa(e3.getId()) == 0.5);\r\n\t\tassertFalse(bek.bektoreanDago(e2.getId()));\r\n\t\t\r\n\t\t// p2 pelikula baloratu duten erabiltzaileen ID-ak eta balorazioak itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioak(p2.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 4);\r\n\t\tassertTrue(bek.getBalioa(e1.getId()) == 3);\r\n\t\tassertTrue(bek.getBalioa(e2.getId()) == 2);\r\n\t\tassertTrue(bek.getBalioa(e3.getId()) == 3.5);\r\n\t\tassertTrue(bek.getBalioa(e4.getId()) == 3.5);\r\n\t\t\r\n\t\t// p3 pelikula baloratu duten erabiltzaileen ID-ak eta balorazioak itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioak(p3.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(e2.getId()) == 1);\r\n\t\tassertTrue(bek.getBalioa(e3.getId()) == 4);\r\n\t\tassertFalse(bek.bektoreanDago(e1.getId()));\r\n\t\t\r\n\t\t// p4 pelikula baloratu duten erabiltzaileen ID-ak eta balorazioak itzuli\r\n\t\tbek = BalorazioenMatrizea.getBalorazioenMatrizea().getPeliBalorazioak(p4.getPelikulaId());\r\n\t\tassertTrue(bek.luzera() == 2);\r\n\t\tassertTrue(bek.getBalioa(e1.getId()) == 3.5);\r\n\t\tassertTrue(bek.getBalioa(e3.getId()) == 5);\r\n\t\tassertFalse(bek.bektoreanDago(e2.getId()));\r\n\r\n\t}", "title": "" }, { "docid": "3e69421bab3a4e5459c7cc200a9a246f", "score": "0.47878885", "text": "void populateObjects(UnitTestDescriptor unitTestDescriptor) {\n if (!unitTestDescriptor.isExternalTcesEnabled()) {\n PipelineTask tpsPipelineTask = createPipelineTask(TPS_TASK_ID, TPS_INSTANCE_ID);\n tpsDbResults = DvMockUtils.mockTpsResult(dvJMockTest,\n tpsOperations, FluxType.SAP,\n unitTestDescriptor.getStartCadence(),\n unitTestDescriptor.getEndCadence(),\n tpsPipelineTask,\n unitTestDescriptor.getSkyGroupId(),\n unitTestDescriptor.getStartKeplerId(),\n unitTestDescriptor.getEndKeplerId(),\n unitTestDescriptor.getTargetsPerTable(),\n unitTestDescriptor.getPlanetaryCandidatesFilterParameters());\n keplerIds.clear();\n List<FsId> fsIdList = new ArrayList<FsId>(tpsDbResults.size());\n for (TpsDbResult tpsDbResult : tpsDbResults) {\n fsIdList.add(TpsFsIdFactory.getDeemphasizedNormalizationTimeSeriesId(\n TPS_INSTANCE_ID,\n tpsDbResult.getKeplerId(),\n tpsDbResult.getTrialTransitPulseInHours()));\n keplerIds.add(tpsDbResult.getKeplerId());\n }\n if (tpsDbResults.size() > 0) {\n producerTaskIds.add(TPS_TASK_ID);\n MockUtils.mockReadFloatTimeSeries(dvJMockTest, getFsClient(),\n unitTestDescriptor.getStartCadence(),\n unitTestDescriptor.getEndCadence(), TPS_TASK_ID,\n fsIdList.toArray(new FsId[fsIdList.size()]), false);\n }\n dvJMockTest.allowing(tpsCrud).retrieveLatestTpsRun(TpsType.TPS_FULL);\n dvJMockTest.will(returnValue(tpsPipelineTask.getPipelineInstance()));\n } else {\n externalTceModel = DvMockUtils.mockExternalTceModel(dvJMockTest,\n externalTceModelOperations,\n unitTestDescriptor.getStartCadence(),\n unitTestDescriptor.getEndCadence(),\n unitTestDescriptor.getSkyGroupId(),\n unitTestDescriptor.getStartKeplerId(),\n unitTestDescriptor.getEndKeplerId(),\n unitTestDescriptor.getTargetsPerTable(),\n unitTestDescriptor.getPlanetaryCandidatesFilterParameters());\n keplerIds.clear();\n for (ExternalTce tce : externalTceModel.getExternalTces()) {\n if (!keplerIds.contains(tce.getKeplerId())) {\n keplerIds.add(tce.getKeplerId());\n }\n }\n DvMockUtils.mockSkyGroupIdsForKeplerIds(dvJMockTest,\n celestialObjectOperations, keplerIds,\n unitTestDescriptor.getSkyGroupId());\n }\n celestialObjectParametersListByKeplerId = DvMockUtils.mockCelestialObjectParameterLists(\n dvJMockTest, celestialObjectOperations, keplerIds,\n unitTestDescriptor.getSkyGroupId(),\n unitTestDescriptor.getBoundedBoxWidth());\n targetTableLogs = DvMockUtils.mockTargetTables(dvJMockTest, targetCrud,\n TargetType.LONG_CADENCE, unitTestDescriptor.getStartCadence(),\n unitTestDescriptor.getEndCadence(),\n unitTestDescriptor.getTargetTableCount());\n cadenceTimes = MockUtils.mockCadenceTimes(dvJMockTest, mjdToCadence,\n CadenceType.LONG, unitTestDescriptor.getStartCadence(),\n unitTestDescriptor.getEndCadence(), true, false);\n quarters = new ArrayList<Integer>(targetTableLogs.size());\n for (int i = 0; i < targetTableLogs.size(); i++) {\n quarters.add(i + 1);\n }\n skyGroups = DvMockUtils.mockSkyGroups(dvJMockTest, kicCrud,\n unitTestDescriptor.getSkyGroupId());\n observedTargetsList = DvMockUtils.mockTargets(dvJMockTest, targetCrud,\n targetTableLogs, keplerIds, allTargetFsIds);\n\n ancillaryPipelineDataByTargetTableLog = DvMockUtils.mockAncillaryPipelineData(\n dvJMockTest, mjdToCadence, rollTimeOperations, ancillaryOperations,\n unitTestDescriptor.getAncillaryPipelineMnemonics(),\n targetTableLogs, quarters, ANCILLARY_TASK_ID);\n if (unitTestDescriptor.getAncillaryPipelineMnemonics().length > 0) {\n producerTaskIds.add(ANCILLARY_TASK_ID);\n }\n DvMockUtils.mockArgabrighteningIndices(dvJMockTest, fsClient,\n targetTableLogs, ARGABRIGHTENING_TASK_ID);\n producerTaskIds.add(ARGABRIGHTENING_TASK_ID);\n backgroundBlobFileSeriesList = DvMockUtils.mockBackgroundBlobFileSeries(\n dvJMockTest, blobOperations, targetTableLogs,\n BACKGROUND_BLOB_TASK_ID);\n if (backgroundBlobFileSeriesList.size() > 0) {\n producerTaskIds.add(BACKGROUND_BLOB_TASK_ID);\n }\n motionBlobFileSeriesList = DvMockUtils.mockMotionBlobFileSeries(\n dvJMockTest, blobOperations, targetTableLogs, MOTION_BLOB_TASK_ID);\n if (motionBlobFileSeriesList.size() > 0) {\n producerTaskIds.add(MOTION_BLOB_TASK_ID);\n }\n cbvBlobFileSeriesList = DvMockUtils.mockCbvBlobFileSeries(dvJMockTest,\n blobOperations, targetTableLogs, CBV_BLOB_TASK_ID);\n if (cbvBlobFileSeriesList.size() > 0) {\n producerTaskIds.add(CBV_BLOB_TASK_ID);\n }\n\n DvMockUtils.mockUkirtImages(dvJMockTest, blobOperations,\n AbstractDvPipelineModuleTest.MATLAB_WORKING_DIR, keplerIds);\n\n DvMockUtils.mockPlannedTargets(dvJMockTest, targetSelectionCrud,\n new HashSet<Integer>(keplerIds));\n }", "title": "" }, { "docid": "9fa4b2edc7e819d63779b06b03700c0e", "score": "0.47863013", "text": "@Test\n public void testFindByProperties(){\n\n }", "title": "" }, { "docid": "4b41c960cf359703f1be2e5fb457cbeb", "score": "0.47848114", "text": "@Test\n @IfProfileValue(name=\"dept-test-group\", values={\"all\",\"role\"})\n public void _4_2_2_getOneDeptRole() throws Exception {\n this.mockMvc.perform(get(\"/api/v1.0/companies/\"+\n d_2.getCompany()+\n \"/departments/\"+\n d_2.getId().toString()+\n \"/roles/\"+\n r_2.getId())\n .header(AUTHORIZATION, ACCESS_TOKEN))\n .andDo(print())\n .andExpect(status().isOk())\n .andExpect(jsonPath(\"$.id\",is(r_2.getId().toString())))\n .andExpect(jsonPath(\"$.name\",is(r_2.getName())))\n .andExpect(jsonPath(\"$.description\",is(r_2.getDescription())))\n .andExpect(jsonPath(\"$.department\",is(r_2.getDepartment().toString())))\n .andExpect(jsonPath(\"$.occupants\",hasSize(1)))\n .andExpect(jsonPath(\"$.occupants\",containsInAnyOrder(\n s_1.getId().toString()\n )));\n }", "title": "" }, { "docid": "c68b3a92db4950068ed0cf47a7d33f72", "score": "0.47825295", "text": "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t\trooms.add(room1);\r\n\t\trooms1.add(room2);\r\n\r\n\t\tclasses.add(class1);\r\n\t\tclasses1.add(class2);\r\n\r\n\t\tnewPersonTime.add(person2);\r\n\t\tnewSubjects.add(sub2);\r\n\r\n\t\tteachu1.getSubjects().add(sub1);\r\n\r\n\t\t// Hinzufuegen von Klassen\r\n\t\tbreaku1.setClasses(classes);\r\n\t\texternu1.setClasses(classes);\r\n\t\tmeetingu1.setClasses(classes);\r\n\t\tteachu1.setClasses(classes);\r\n\r\n\t\t// Hinzufuegen von Raeumen\r\n\t\tbreaku1.setRooms(rooms);\r\n\t\texternu1.setRooms(rooms);\r\n\t\tmeetingu1.setRooms(rooms);\r\n\t\tteachu1.setRooms(rooms);\r\n\r\n\t\t// Hinzufuegen von Personen\r\n\t\tmeetingu1.getMembers().add(teach1);\r\n\t\tmeetingu1.getMembers().add(teach2);\r\n\r\n\t\t// Hinzufuegen von PersonTime\r\n\t\tteachu1.getPersons().add(person1);\r\n\t\tteachu1.getPersons().add(person2);\r\n\r\n\t\t// setId()\r\n\t\tbreaku1.setId(1);\r\n\t\texternu1.setId(2);\r\n\t\tmeetingu1.setId(3);\r\n\t\tteachu1.setId(4);\r\n\t}", "title": "" }, { "docid": "83aca936edebe829033516b3eaafa5a1", "score": "0.47803006", "text": "@Test\r\n\t@Transactional\r\n\tpublic void test(){\n\t\t\r\n\t\tList<Foo> foos = dao.findAll();\r\n\t\tfor (Foo foo : foos) {\r\n\t\t\tSystem.out.println( foo.getName() );\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "67bade1196eaed8f876b489e54a3e57f", "score": "0.4778741", "text": "public interface TemporaryTableUpdateRepository {\n /**\n * 查询项目人员权限变信息\n * */\n PersonnelAuthorityTimeEntity queryPersonnel(String id);\n /**\n * 查询楼栋临时表数据 id\n * **/\n BuildingMappingTimeEntity queryBuild(String id);\n /**\n * 增加楼栋临时表信息\n */\n void createBuild(BuildingMappingTimeEntity BuildingMappingTime);\n /**\n * 增加项目人员权限临时表信息\n */\n void createPersonnel(PersonnelAuthorityTimeEntity PersonnelAuthorityTime);\n /**\n * 修改楼栋临时表信息\n * */\n void updateBuild(BuildingMappingTimeEntity BuildingMappingTime);\n /**\n * 更新项目人员权限临时表信息\n * */\n void updatePersonnel(PersonnelAuthorityTimeEntity PersonnelAuthorityTime);\n /**\n * 获取所有房屋数据\n */\n List<BuildingMappingTimeEntity> getBuildingList();\n\n /**\n * 查询活动临时表数据 id\n * **/\n ActiveTemporaryTimeEntity queryActive(String id);\n\n\n /**\n * 查询活动临时表数据 id\n * **/\n ActiveTemporaryTimeEntity queryActiveBUild(String id,String PlanId);\n /**\n * 增加活动临时表信息\n */\n void createActive(ActiveTemporaryTimeEntity ActiveTemporaryTime);\n /**\n * 修改活动临时表信息\n * */\n void updateActive(ActiveTemporaryTimeEntity ActiveTemporaryTime);\n\n /**\n * 修改活动临时表信息 关闭计划\n * */\n void updateActiveStateById(String planId);\n\n /**\n * 修改活动临时表信息 关闭计划(批量)\n * */\n void updateActiveStateByIdList(List<String> idList);\n\n /**\n * 获取所有计划数据\n */\n List<ActiveTemporaryTimeEntity> getActiveList();\n\n /**\n * 查询活动临时表数据 id\n * **/\n ClassificationTemporaryTimeEntity queryClass(String id);\n\n /**\n * 查询活动临时表数据 id\n * **/\n ClassificationTemporaryTimeEntity queryClassforgradle(String id,String grad);\n\n /**\n * 查询活动临时表数据 id\n * **/\n ClassificationTemporaryTimeEntity queryClassfour(String id,String type);\n\n /**\n * 查询临时表数据\n * **/\n ClassificationTemporaryTimeEntity queryByParentId(String parentId);\n\n /**\n * 增加三级分类临时表信息\n */\n void createClass(ClassificationTemporaryTimeEntity ClassificationTemporaryTime);\n\n /**\n * 修改三级分类临时表信息\n * */\n void updateClass(ClassificationTemporaryTimeEntity ClassificationTemporaryTime);\n\n /**\n * 获取所有三级分类数据\n */\n List<ClassificationTemporaryTimeEntity> getClassList();\n}", "title": "" }, { "docid": "1d5597b278d32bce352c97e24e31b971", "score": "0.47754815", "text": "public void setTiempo(String tiempo) {\r\n this.tiempo = tiempo;\r\n }", "title": "" }, { "docid": "4f6f184a0127d804d5daf0401265af38", "score": "0.47743833", "text": "@Test\n public void beanFactoryPostProcessir() {\n Person p1 = (Person) applicationContext.getBean(\"p1\");\n //System.out.println(p1.getAge());\n\n // applicationContext.getBean(\"p3\");\n }", "title": "" }, { "docid": "3433f85acc047477c2cc3f196978ca57", "score": "0.4773207", "text": "@Test\r\n public void testUpdateUsuario() throws Exception \r\n {\r\n UsuarioEntity entity = dataUs.get(0);\r\n UsuarioEntity nuevo = factory.manufacturePojo(UsuarioEntity.class);\r\n nuevo.setId(entity.getId());\r\n \r\n usuarioLogic.updateUsuario(nuevo);\r\n \r\n UsuarioEntity buscado = em.find(UsuarioEntity.class, entity.getId());\r\n \r\n Assert.assertEquals(nuevo.getId(), buscado.getId());\r\n }", "title": "" }, { "docid": "99c6613183005c8c1609393126ea1dc2", "score": "0.47725764", "text": "@Test\n public void contextLoads() {\n\n ServicosProdutos inserir = new ServicosProdutos() {\n @Override\n public ItemProduto inserir() {\n return super.inserir();\n }\n };\n\n ServicosProdutos listar = new ServicosProdutos() {\n @Override\n public ItemProduto listar() {\n return super.listar();\n }\n };\n\n\n\n ServicosProdutos alterar = new ServicosProdutos() {\n @Override\n public ItemProduto alterar() {\n return super.alterar();\n }\n };\n\n ServicosProdutos deletar = new ServicosProdutos() {\n @Override\n public ItemProduto deletar() {\n return super.deletar();\n }\n };\n\n\n\n }", "title": "" }, { "docid": "9390bf87a7185fac825c31d32bac4b34", "score": "0.47565952", "text": "public void test_findUniqueByProperty() {\r\n\t\tPerson person = (Person) this.persistenceService.findUniqueByProperty(Person.class, NAME_PROPERTY, NAME_PARAM[2]);\r\n\t\tassertForFindUniquePerson(person);\r\n\t}", "title": "" }, { "docid": "df671cb380b5a086747e541a1d14a4c3", "score": "0.47562146", "text": "@Test\n void getUserRolesByNameLikeSuccess() {\n List<UserRoles> userRoles = genericDao.getEntityByName(\"roleName\", \"all\");\n assertEquals(2, userRoles.size());\n List<UserRoles> users2 = genericDao.getEntityByName(\"roleName\", \"user\");\n assertEquals(2, users2.size());\n }", "title": "" }, { "docid": "94c97960d00bbac3197e13c53925d617", "score": "0.47539097", "text": "@Test\n public void printPetDetailedListTest() {\n\n }", "title": "" }, { "docid": "c51af109fc4a7b11ef26dfb088abf597", "score": "0.47537965", "text": "public interface TariffRepository extends CrudRepository<Tariff, Integer> {\n}", "title": "" }, { "docid": "0ea9098bbc79a1bc2ae87f2c667b0ac9", "score": "0.47536722", "text": "@Test\n public void test_getAll_2() throws Exception {\n User user1 = createUser(1, false);\n User user2 = createUser(2, false);\n createUser(3, true);\n\n List<User> res = instance.getAll();\n\n assertEquals(\"'getAll' should be correct.\", 2, res.size());\n\n User entity1 = res.get(0);\n User entity2 = res.get(1);\n if (entity1.getUsername().equals(user2.getUsername())) {\n entity1 = res.get(1);\n entity2 = res.get(0);\n }\n\n assertEquals(\"'getAll' should be correct.\", user1.getUsername(), entity1.getUsername());\n assertEquals(\"'getAll' should be correct.\", user1.getDefaultTab(), entity1.getDefaultTab());\n assertEquals(\"'getAll' should be correct.\", user1.getNetworkId(), entity1.getNetworkId());\n assertEquals(\"'getAll' should be correct.\", user1.getRole().getId(), entity1.getRole().getId());\n assertEquals(\"'getAll' should be correct.\", user1.getFirstName(), entity1.getFirstName());\n assertEquals(\"'getAll' should be correct.\", user1.getLastName(), entity1.getLastName());\n assertEquals(\"'getAll' should be correct.\", user1.getEmail(), entity1.getEmail());\n assertEquals(\"'getAll' should be correct.\", user1.getTelephone(), entity1.getTelephone());\n assertEquals(\"'getAll' should be correct.\", user1.getStatus().getId(), entity1.getStatus().getId());\n\n assertEquals(\"'getAll' should be correct.\", user2.getUsername(), entity2.getUsername());\n assertEquals(\"'getAll' should be correct.\", user2.getDefaultTab(), entity2.getDefaultTab());\n assertEquals(\"'getAll' should be correct.\", user2.getNetworkId(), entity2.getNetworkId());\n assertEquals(\"'getAll' should be correct.\", user2.getRole().getId(), entity2.getRole().getId());\n assertEquals(\"'getAll' should be correct.\", user2.getFirstName(), entity2.getFirstName());\n assertEquals(\"'getAll' should be correct.\", user2.getLastName(), entity2.getLastName());\n assertEquals(\"'getAll' should be correct.\", user2.getEmail(), entity2.getEmail());\n assertEquals(\"'getAll' should be correct.\", user2.getTelephone(), entity2.getTelephone());\n assertEquals(\"'getAll' should be correct.\", user2.getStatus().getId(), entity2.getStatus().getId());\n }", "title": "" }, { "docid": "77a8f31f629c679ad949bb17af197f23", "score": "0.47485736", "text": "@Test\n public void getCoffeeByRoasterId() {\n Roaster roaster1 = new Roaster();\n roaster1.setName(\"Roaster 1\");\n roaster1.setStreet(\"123 Test Lane\");\n roaster1.setCity(\"Crossvile\");\n roaster1.setState(\"TN\");\n roaster1.setPostal_code(\"38555\");\n roaster1.setPhone(\"9312005591\");\n roaster1.setEmail(\"[email protected]\");\n roaster1.setNote(\"Test Note for Roaster 1\");\n roaster1 = roasterDao.addRoaster(roaster1);\n\n // Create and add roaster2 object\n Roaster roaster2 = new Roaster();\n roaster2.setName(\"Roaster 2\");\n roaster2.setStreet(\"456 Example Circle\");\n roaster2.setCity(\"Atlanta\");\n roaster2.setState(\"GA\");\n roaster2.setPostal_code(\"37591\");\n roaster2.setPhone(\"2064229874\");\n roaster2.setEmail(\"[email protected]\");\n roaster2.setNote(\"Test Note for Roaster 2\");\n roaster2 = roasterDao.addRoaster(roaster2);\n\n // Create and add coffee to the database with roaster1 id\n Coffee coffee = new Coffee();\n coffee.setRoaster_id(roaster1.getRoaster_id());\n coffee.setName(\"Starbucks House Blend\");\n coffee.setCount(10);\n coffee.setUnit_price(new BigDecimal(\"12.50\"));\n coffee.setDescription(\"Medium Brew Coffee\");\n coffee.setType(\"Regular\");\n coffeeDao.addCoffee(coffee);\n\n // Create and add coffee to the database with roaster2 id\n coffee = new Coffee();\n coffee.setRoaster_id(roaster2.getRoaster_id());\n coffee.setName(\"Starbucks House Blend\");\n coffee.setCount(10);\n coffee.setUnit_price(new BigDecimal(\"12.50\"));\n coffee.setDescription(\"Medium Brew Coffee\");\n coffee.setType(\"Regular\");\n coffeeDao.addCoffee(coffee);\n\n // Create and add coffee to the database with roaster2 id\n coffee = new Coffee();\n coffee.setRoaster_id(roaster2.getRoaster_id());\n coffee.setName(\"Starbucks House Blend\");\n coffee.setCount(10);\n coffee.setUnit_price(new BigDecimal(\"12.50\"));\n coffee.setDescription(\"Medium Brew Coffee\");\n coffee.setType(\"Regular\");\n coffeeDao.addCoffee(coffee);\n\n // Create a list with all coffee's with roaster1 id\n List<Coffee> coffeeList = coffeeDao.getCoffeeByRoasterId(roaster1.getRoaster_id());\n assertEquals(1, coffeeList.size());\n\n coffeeList = coffeeDao.getCoffeeByRoasterId(roaster2.getRoaster_id());\n assertEquals(2, coffeeList.size());\n }", "title": "" }, { "docid": "f9de911dffb82c816e8843110df8b203", "score": "0.47481635", "text": "@Test\n public void testGetOwner() {\n \n }", "title": "" }, { "docid": "3019d49e2cc496461b04c2e6885d5ccc", "score": "0.4747152", "text": "@Test\n void getByPropertyEqualSuccess() {\n List<Event> events = genericDao.getByPropertyEqual(\"name\", \"Dentist\");\n assertEquals(1, events.size());\n assertEquals(2, events.get(0).getId());\n }", "title": "" }, { "docid": "5ebc0d187fa6dbc4aa4bb73fad327130", "score": "0.4742954", "text": "@Test\n public void shouldCreateSUVWhenWinter() {\n CarSettlement.getSeasonAndTime(\"zima\", true);\n ApplicationContext context = new AnnotationConfigApplicationContext(\"com.kodilla.spring\");\n Car car = (Car) context.getBean(\"seasonCar\");\n //When\n String whichCar = car.getCarType();\n //Then\n Assertions.assertEquals(\"SUV\", whichCar);\n }", "title": "" }, { "docid": "40379f1d901663159b39e9e7a17f2be1", "score": "0.47420445", "text": "int getRealtorNumCnt(RealtorDTO realtorDTO);", "title": "" }, { "docid": "8f20e57900b184fec6983f1c1da9ee0f", "score": "0.47397727", "text": "@Test\n void getByPropertySuccess() {\n List<User> users = genericDao.findByPropertyEqual(\"userName\", \"BigAl\");\n // should only find one entry with the username \"BigAl\"\n assertEquals(users.size(), 1);\n }", "title": "" }, { "docid": "138ddc4842b0e5cc3747fdcad8e5d222", "score": "0.47391945", "text": "@Test\n public void mainTests(){\n assertTrue(property1.getPropertyId() == id1);\n if(property1.getPropertyId() != id1) {\n property2.setPropertyId(id1);\n }\n else {\n assertTrue(property2.getPropertyId() == id2);\n }\n //Getter works Correct for ID\n }", "title": "" }, { "docid": "8cb5c6426e6a7f8c8934696f5e74c76d", "score": "0.47380298", "text": "@Test\n public void getCoffeeByType() {\n Roaster roaster = new Roaster();\n roaster.setName(\"Roaster\");\n roaster.setStreet(\"123 Test Lane\");\n roaster.setCity(\"Crossvile\");\n roaster.setState(\"TN\");\n roaster.setPostal_code(\"38555\");\n roaster.setPhone(\"9312005591\");\n roaster.setEmail(\"[email protected]\");\n roaster.setNote(\"Test Note for Roaster\");\n roaster = roasterDao.addRoaster(roaster);\n\n // Create and add coffee to the database with roaster id\n Coffee coffee = new Coffee();\n coffee.setRoaster_id(roaster.getRoaster_id());\n coffee.setName(\"Starbucks House Blend\");\n coffee.setCount(10);\n coffee.setUnit_price(new BigDecimal(\"12.50\"));\n coffee.setDescription(\"Medium Brew Coffee\");\n coffee.setType(\"Regular\");\n coffeeDao.addCoffee(coffee);\n\n // Create and add coffee to the database with roaster2 id\n coffee = new Coffee();\n coffee.setRoaster_id(roaster.getRoaster_id());\n coffee.setName(\"Starbucks House Blend\");\n coffee.setCount(10);\n coffee.setUnit_price(new BigDecimal(\"12.50\"));\n coffee.setDescription(\"Medium Brew Coffee\");\n coffee.setType(\"Bold\");\n coffeeDao.addCoffee(coffee);\n\n // Create and add coffee to the database with roaster2 id\n coffee = new Coffee();\n coffee.setRoaster_id(roaster.getRoaster_id());\n coffee.setName(\"Starbucks House Blend\");\n coffee.setCount(10);\n coffee.setUnit_price(new BigDecimal(\"12.50\"));\n coffee.setDescription(\"Medium Brew Coffee\");\n coffee.setType(\"Bold\");\n coffeeDao.addCoffee(coffee);\n\n // Create a list with all coffee's with roaster1 id\n List<Coffee> coffeeList = coffeeDao.getCoffeeByType(\"Regular\");\n assertEquals(1, coffeeList.size());\n\n coffeeList = coffeeDao.getCoffeeByType(\"Bold\");\n assertEquals(2, coffeeList.size());\n }", "title": "" }, { "docid": "d4c15be92dae2d54d0f5cc9e3599fb04", "score": "0.4731528", "text": "@Test\n\t@Transactional(value = TransactionMode.ROLLBACK)\n\t@UsingDataSet({ \"persona.json\", \"registro.json\", \"administrador.json\", \"cuenta.json\", \"empleado.json\",\n\t\t\t\"familia.json\", \"genero.json\", \"recolector.json\", \"planta.json\" })\n\tpublic void listarPlantasPorFamiliaFromEmpleadoTest() {\n\t\tTypedQuery<Planta> query = entityManager.createNamedQuery(Planta.LISTAR_PLANTAS_POR_FAMILIA, Planta.class);\n\t\tquery.setParameter(\"familia\", \"telepiatos\");\n\t\tList<Planta> listaPlantas = query.getResultList();\n\n\t\tAssert.assertEquals(listaPlantas.size(), 3);\n\t}", "title": "" }, { "docid": "e4aaf1764141029dabca3eefc814b40f", "score": "0.47287154", "text": "@Test\n @Tag(\"CREATE\")\n @Tag(\"RESOURCE\")\n @DisplayName(\"Test CRUD Create with Address 03\")\n public void testCRUDCreateWithAddress03()\n {\n System.out.println(\"Programme Start\");\n long startTime = System.nanoTime();\n\n List<SBAddress03> address03s = new ArrayList<>();\n\n for (int i = 0; i < 20; i++) {\n SBAddress03 sbAddress03 = new SBAddress03();\n sbAddress03.setAddress03Street(\"KusumaramaStreet\" + i);\n sbAddress03.setAddress03Village(\"Seenigama\");\n sbAddress03.setAddress03City(\"Hikkaduwa\");\n sbAddress03.setAddress03Country(\"Sri Lanka\");\n sbAddress03.setAddress03Zip(\"29200\" + i);\n sbAddress03.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n sbAddress03.setRawLastUpdateLogId(1);\n sbAddress03.setUpdateUserAccountId(1);\n sbAddress03.setRawActiveStatus(1);\n sbAddress03.setRawDeleteStatus(1);\n sbAddress03.setRawShowStatus(1);\n sbAddress03.setRawUpdateStatus(1);\n\n address03s.add(sbAddress03);\n }\n\n\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\n Transaction transaction = null;\n try {\n transaction = session.beginTransaction();\n address03s.forEach(address -> session.save(address));\n transaction.commit();\n\n address03s.forEach(address -> System.out.println(\"Added Address : \" + address.getAddress03Street()));\n } catch (Exception e) {\n if (transaction != null) {\n transaction.rollback();\n }\n LOGGER.error(ExceptionUtils.getFullStackTrace(e));\n e.printStackTrace();\n }\n\n } catch (Throwable throwable) {\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\n throwable.printStackTrace();\n }\n\n MoraAccessProperties accessProperties = new MoraAccessProperties();\n UuidUtilities utilities = new UuidUtilities();\n\n address03s.forEach(address -> {\n accessProperties.setPropertyFromPath(\n \"D:\\\\SLMORAWorkSpace\\\\IntelliJProjects\\\\MoraHibernateLearn004\\\\src\\\\main\\\\resources\\\\hibernatetestsupport.properties\",\n \"MORA.HIBERNATE.TEST.testCRUDCreateWithAddress03.\" + address.getAddress03Street(),\n utilities.getUUIDFromOrderedUUIDByteArrayWithApacheCommons(address.getAddress03Id()).toString(),\n \"Test Comment\");\n });\n\n long endTime = System.nanoTime();\n ELAPSED_TIME = endTime - startTime;\n System.out.println(\"Programme End\");\n\n }", "title": "" } ]
6c4a902d7a6a6840dbc13ccf548d041b
Private helper function to check the normalisation throughout the tree.
[ { "docid": "e34c9a4cc35972ef1ad2832735ffd41a", "score": "0.7046169", "text": "private boolean checkTreeNormalizationRecursive(Objective currentRoot) {\n\t\tboolean normalised = true;\n\t\tdouble lSum = 0;\n\n\t\tEnumeration<Objective> children = currentRoot.children();\n\n\t\twhile (children.hasMoreElements() && normalised) {\n\n\t\t\tObjective tmpObj = children.nextElement();\n\t\t\tlSum += (fEvaluators.get(tmpObj)).getWeight();\n\n\t\t}\n\t\treturn (normalised && lSum > .98 && lSum < 1.02);\n\t}", "title": "" } ]
[ { "docid": "eb91dec4fe66a4946cb6f5b0ccad3fc2", "score": "0.83322763", "text": "private boolean checkTreeNormalization() {\n\t\treturn checkTreeNormalizationRecursive(getDomain().getObjectivesRoot());\n\t}", "title": "" }, { "docid": "f63cca973232c99abe3b26b9f2276433", "score": "0.5823739", "text": "@Test\n\tpublic void goodIsValid() {\n\t\tassertTrue(barricade.isValid(goodTree));\n\t}", "title": "" }, { "docid": "49df27e7c0b4ac4b9271d2c6dacabeca", "score": "0.571926", "text": "private boolean check() {\n\n\t\tif ( ! isBST() ) {\n\t\t\tStdOut.println( \"Not in symmetric order\" );\n\t\t}\n\t\tif ( ! isSizeConsistent() ) {\n\t\t\tStdOut.println( \"Subtree counts not consistent\" );\n\t\t}\n\t\tif ( ! isRankConsistent() ) {\n\t\t\tStdOut.println( \"Ranks not consistent\" );\n\t\t}\n\t\treturn isBST() && isSizeConsistent() && isRankConsistent();\n\t}", "title": "" }, { "docid": "7f01a89c2117050d1ee17dc942600e71", "score": "0.5644798", "text": "public void testIfSameTree(){\n\n\t}", "title": "" }, { "docid": "02a5d3b5242db34c86dc28f1379ce1b3", "score": "0.5633501", "text": "private boolean verifyChildrenOfRedNodes() {\n\t\treturn verifyChildrenOfRedNodes((RBNode<T>) this.root);\n\t}", "title": "" }, { "docid": "8e949b0fd61c5e9e7af45c5c1e52f7c8", "score": "0.5613482", "text": "private static void checkStructure()\n\t{\n\t\tcheckFilmArchiveStructure();\n\t\tcheckMovieStructure();\n\t\tcheckImplementorsStructure();\n\t}", "title": "" }, { "docid": "2b6afd9e427a9c118f21a52559fc7997", "score": "0.5572057", "text": "@Override\n\tpublic boolean checkForBalancedTree() {\n\t\t// TODO: implement checkForBalancedTree()\n\t\treturn false;\n\t}", "title": "" }, { "docid": "8fe182b9f0c17abf5f83e28ad050bd83", "score": "0.55234504", "text": "public boolean isValid(){ return isLeaf() ? !isEmpty() : isEmpty();}", "title": "" }, { "docid": "2782ca9a34d6f0c023731ae5c516b793", "score": "0.545516", "text": "protected void verifyStructure(Node rootNode) throws LoaderException\r\n\t{\r\n\t\t// TODO verify the structure\r\n\t}", "title": "" }, { "docid": "7bac6e704026a591902733330d885542", "score": "0.54435855", "text": "@Override\n public boolean verify() {\n return this.isInitialized()\n && this.getParents().size() == RelationTypes.ONE.getVal()\n && this.getChildren().size() == RelationTypes.ONE.getVal();\n }", "title": "" }, { "docid": "92d7472821b55bf879512d23eab074ce", "score": "0.5382559", "text": "public void testIfTreeIsSymmetric(){\n\t\t\n\t}", "title": "" }, { "docid": "6099347d763c8db245fecef2b79c6671", "score": "0.53678846", "text": "public boolean validateBSTProperty(){\n TreeIterator it = iterator();\n it.setInorder();\n boolean valid = true;\n\n if(!it.hasNext()) return true;\n\n KeyedItem item1 = (KeyedItem) it.next();\n while(it.hasNext()){\n KeyedItem item2 = (KeyedItem) it.next();\n\n if(item1.getKey().compareTo(item2.getKey())> 0){\n valid = false;\n break;\n }\n\n item1 = item2;\n }\n return valid;\n }", "title": "" }, { "docid": "451aa284caf7c68546303ebf9fa9cd31", "score": "0.5342586", "text": "public boolean is_normalized()\n {\n IntOctagon on = this.normalize();\n boolean result =\n lx == on.lx && ly == on.ly && rx == on.rx && uy == on.uy &&\n llx == on.llx && lrx == on.lrx && ulx == on.ulx && urx == on.urx;\n return result;\n }", "title": "" }, { "docid": "d6303c7df36067eaad2365229fca6ab3", "score": "0.5309121", "text": "public boolean validate(InputNode node) throws Exception{\n InputNode from = node.getParent();\n Class type = entry.getType();\n String name = node.getName();\n \n while(node != null) {\n boolean valid = root.validate(node, type);\n \n if(valid == false) {\n return false;\n }\n node = from.getNext(name);\n } \n return true;\n }", "title": "" }, { "docid": "f5791bff998e954a168f206108fac166", "score": "0.530339", "text": "public void validateChildOrder() {\n String str = TAG;\n StringBuilder sb = new StringBuilder();\n sb.append(\"validating child count \");\n sb.append(getChildCount());\n Log.d(str, sb.toString());\n if (getChildCount() >= 1) {\n boolean z = false;\n int position = getPosition(getChildAt(0));\n int a = this.mOrientationHelper.mo4913a(getChildAt(0));\n if (this.mShouldReverseLayout) {\n int i = 1;\n while (i < getChildCount()) {\n View childAt = getChildAt(i);\n int position2 = getPosition(childAt);\n int a2 = this.mOrientationHelper.mo4913a(childAt);\n if (position2 < position) {\n logChildren();\n StringBuilder sb2 = new StringBuilder();\n sb2.append(\"detected invalid position. loc invalid? \");\n if (a2 < a) {\n z = true;\n }\n sb2.append(z);\n throw new RuntimeException(sb2.toString());\n } else if (a2 > a) {\n logChildren();\n throw new RuntimeException(\"detected invalid location\");\n } else {\n i++;\n }\n }\n } else {\n int i2 = 1;\n while (i2 < getChildCount()) {\n View childAt2 = getChildAt(i2);\n int position3 = getPosition(childAt2);\n int a3 = this.mOrientationHelper.mo4913a(childAt2);\n if (position3 < position) {\n logChildren();\n StringBuilder sb3 = new StringBuilder();\n sb3.append(\"detected invalid position. loc invalid? \");\n if (a3 < a) {\n z = true;\n }\n sb3.append(z);\n throw new RuntimeException(sb3.toString());\n } else if (a3 < a) {\n logChildren();\n throw new RuntimeException(\"detected invalid location\");\n } else {\n i2++;\n }\n }\n }\n }\n }", "title": "" }, { "docid": "4d5912336b3cd25a5a645e818942c25d", "score": "0.52957404", "text": "public boolean checkIntegrity()\n\t{\n\t\tboolean isIntegrous\t\t\t= true;\n\t\tint numberOfDatasetsInWS\t= getNumberOfDatasetsInWS();\n\t\t\n\t\t// Check for integrity of pre-calculated distance data.\n\t\tif (numberOfDatasetsInWS != numberOfDatasetsInDISTable) {\n\t\t\tisIntegrous = false;\n\t\t}\n\n\t\t// Check for integrity of pre-calculated MDS coordinate data.\n\t\tif (isIntegrous && isMDSDataLoaded) {\n\t\t\tif (numberOfDatasetsInWS != numberOfDatasetsInMDSFile) {\n\t\t\t\tisIntegrous = false;\n\t\t\t}\n\t\t\t\n\t\t\t// Check if configuration in line in .mds file is consistent with configuration line\n\t\t\t// parsed from raw topic data files.\n\t\t\telse {\n\t\t\t\tisIntegrous = compareToLDAConfiguration(Paths.get(directory, FILENAME_MDSCOORDINATES), \" \"); \n\t\t\t}\n\t\t}\n\t\n\t\t// Check if number of datasets in DIS table and MDS file match each other.\n\t\tif (numberOfDatasetsInDISTable != numberOfDatasetsInMDSFile)\n\t\t\tisIntegrous = false;\n\t\t\n\t\treturn isIntegrous;\n\t}", "title": "" }, { "docid": "fd85f19273642d833e0ff9c153832af8", "score": "0.52538514", "text": "public void check_all_nodes() {\n\t\tfor(int i = 0; i < work_stack_tos; i++)\n\t\t\tcheck_node(work_stack[i]);\n\n\t\tfor(int i = 0; i < table_size; i++)\n\t\t\tif( isValid(i) && getRefPlain(i) > 0 )\n\t\t\t\tcheck_node(i);\n\t}", "title": "" }, { "docid": "85895bab2bd07e64917e31a40c97084a", "score": "0.52517223", "text": "public boolean condDistinguished(JCTree tree){\n \treturn false;\n }", "title": "" }, { "docid": "f99fc1eff4820d18ef51627981bcd381", "score": "0.52492696", "text": "private boolean compareStructure(BinaryNode<AnyType> t) //main calls this\n {\n if(t == null && isEmpty())\n {\n return true; //empty trees have the same structure (both being none)\n }\n else if(t == null|| isEmpty())\n {\n return false; //only one of the trees are empty\n }\n else\n {\n return compareStructure(t, root); //neither tree is empty\n }\n }", "title": "" }, { "docid": "2fae5d3eb29cf43793d764d695299639", "score": "0.5249173", "text": "boolean checkOrder () throws RootE {\n\t// TODO\n boolean result = true;\n\t for(int i = 0; i >= size; i++){\n\t if(getValue(size-i) > getValue(getDAncestorIndex(size-i))) {\n\t result = true;\n } else {\n\t return false;\n }\n }\n\t return result;\n }", "title": "" }, { "docid": "4ec9051c258ca88aaaa673450a0aaf40", "score": "0.52404785", "text": "private void checkRep() {\n assert (this.boundingBoxPosition.x() >= 0 && this.boundingBoxPosition.x() <= Board.SIDELENGTH);\n assert (this.boundingBoxPosition.y() >= 0 && this.boundingBoxPosition.y() <= Board.SIDELENGTH);\n\n }", "title": "" }, { "docid": "b4b9c63e9157f25a3500bdf6c0c89b0a", "score": "0.5237479", "text": "public void visit(Treebuilder tree){\n\t\tNode root = tree.getRoot();\n\t\t\tcheckPalindromes(root);\t\n\t}", "title": "" }, { "docid": "d9eff798d0f76a1649085ec6731335e1", "score": "0.5229911", "text": "@Test\r\n\tpublic void testCreateTreeInvalidWidth() {\r\n\t\tassertEquals(0, tm.getTree().size());\r\n\t\t\r\n\t\tSpecies treeASpecies = new Species(null, null, \"treeA\", null, null);\r\n\t\tMunicipality treeAMunicipality = new Municipality(\"locationA\");\r\n\t\tCalendar c = Calendar.getInstance();\r\n\t\tc.set(2017, Calendar.MARCH, 16, 9, 0, 0);\r\n\t\tDate plantDate = new Date(c.getTimeInMillis());\r\n\t\tReport reportA = new Report(plantDate, ReportType.Planted, \"John\");\r\n\t\t\r\n\t\tString error = null;\r\n\t\t\r\n\t\tTreePLEService tps = new TreePLEService(tm);\r\n\t\ttry {\r\n\t\t\ttps.createTree(0.1, 0.1, 1.1, -1.1, Landtype.Institutional, treeASpecies, treeAMunicipality, reportA);\r\n\t\t} catch (InvalidInputException e) {\r\n\t\t\terror = e.getMessage();\r\n\t\t}\r\n\t\t\r\n\t\t// check error\r\n\t\tassertEquals(\"Cannot have negative diameter.\", error);\r\n\r\n\t\t// check no change in memory\r\n\t\tassertEquals(0, tm.numberOfTree());\r\n\t}", "title": "" }, { "docid": "45f4e510c2615a13fcb07675107634a7", "score": "0.5223737", "text": "public static void normalizeTree(BinaryTree tree){\n\t\tTag tag = tree.value.tag();\n\t\tTag replacement;\n\t\tswitch(tag.text){\n//\t\tcase \"QP\":\n//\t\t\treplacement = Tag.get(\"CD\"); break;\n//\t\tcase \"RBS\":\n//\t\tcase \"RBR\":\n//\t\t\treplacement = Tag.get(\"RB\"); break;\n//\t\tcase \"SINV\":\n//\t\tcase \"SQ\":\n//\t\t\treplacement = Tag.get(\"S\"); break;\n//\t\tcase \"SBARQ\":\n//\t\t\treplacement = Tag.get(\"SBAR\"); break;\n\t\tcase \"NX\":\n\t\tcase \"NAC\":\n\t\t\treplacement = Tag.get(\"NP\"); break;\n\t\tdefault:\n\t\t\treplacement = tag;\n\t\t}\n\t\ttree.value.setTag(replacement);\n\t\tif(tree.left != null){\n\t\t\tnormalizeTree(tree.left);\n\t\t\tnormalizeTree(tree.right);\n\t\t}\n\t}", "title": "" }, { "docid": "811ae31a6e5f7662c4f070d497b58af7", "score": "0.52201307", "text": "protected void checkNode(CommonTree treeNode) throws ReadingException {\n }", "title": "" }, { "docid": "40e50bd4363dc2f52a0161c24de1650b", "score": "0.5209367", "text": "public boolean checkValidity() {\n\t\treturn getNode().checkValidity();\n\t}", "title": "" }, { "docid": "d263a497c79eaca0156237effa5cde10", "score": "0.52091974", "text": "boolean check(Node node) {\n int level = 0;\n return checkUtil(node, level, mylevel);\n }", "title": "" }, { "docid": "f070e3effceaed4d1b24577773348a49", "score": "0.520482", "text": "private void checkBoundingBox() {\n\t\tcheckBoundingBoxHelper(topBound, SHIP_UP);\n\t\tcheckBoundingBoxHelper(bottomBound, SHIP_DOWN);\n\t\tcheckBoundingBoxHelper(leftBound, SHIP_LEFT);\n\t\tcheckBoundingBoxHelper(rightBound, SHIP_RIGHT);\n\t}", "title": "" }, { "docid": "a69096aed2a0f4d872a10e08e54ffe04", "score": "0.5194937", "text": "public void Check_Sanitation(){\n\t\t\r\n\t}", "title": "" }, { "docid": "a1fa0d2a0e9c8cde0b55c24854d0d4b6", "score": "0.5194896", "text": "public void normalizeDocument() {\n\t}", "title": "" }, { "docid": "cd2e790952b45905e96d06c00b7d658d", "score": "0.5183114", "text": "private static boolean normalizeBySegmentLength(Polygon polygon)\n {\n // If the outer ring doesn't require normalization none of the inner\n // rings will either.\n boolean normalizedOuter = normalizeRingBySegmentLength(polygon.getExteriorRing().getCoordinates());\n if (normalizedOuter)\n {\n for (int i = 0; i < polygon.getNumInteriorRing(); ++i)\n {\n normalizeRingBySegmentLength(polygon.getInteriorRingN(i).getCoordinates());\n }\n }\n return normalizedOuter;\n }", "title": "" }, { "docid": "b41b94a4d371ef0516d02b3c0d7dd56f", "score": "0.5154331", "text": "boolean check() {\n\t\tif (root_ == null)\n\t\t\treturn true;\n\t\tif (root_.child[0] != null)\n\t\t\tfor (int i = 0; i <= root_.count; i++)\n\t\t\t\tif (!checkCount(root_.child[i]))\n\t\t\t\t\treturn false;\n\n\t\t// The keys in the node are checked to make sure they are in sequence.\n\t\tfor (int i = 1; i < root_.count; i++)\n\t\t\tif (root_.key[i].compareTo(root_.key[i + 1]) > 0) {\n\t\t\t\tSystem.out.println(\"Keys are out of order in Node: \" + root_);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t// Each key is checked against its left+right branches.\n\t\tfor (int i = 1; i <= root_.count; i++) {\n\t\t\tif (!check(root_.child[i - 1], root_.key[i], false))\n\t\t\t\treturn false;\n\t\t\tif (!check(root_.child[i], root_.key[i], true))\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "670728ead3766f85280eb406b0503f00", "score": "0.513737", "text": "public abstract void normalize();", "title": "" }, { "docid": "2ec92d1b73f8c1f8aadd300adc668409", "score": "0.5131666", "text": "@Override\r\n\tpublic void validCheck() {\n\t\t\r\n\t}", "title": "" }, { "docid": "045a26bed3d2b39c80129f2f416c7f22", "score": "0.5119573", "text": "@Override\n\tpublic boolean checkForBinarySearchTree() {\n\t\treturn checkForBinarySearchTree(root);\n\t}", "title": "" }, { "docid": "429560813da30a42587cb94c0ea17f6b", "score": "0.51152265", "text": "boolean validateBranchInternal();", "title": "" }, { "docid": "b70802b636d226d7dc4f840516861226", "score": "0.51101273", "text": "private boolean verifyRootColour() {\n\t\treturn ((RBNode<T>) root).getColour() == Colour.BLACK; // already\n\t\t// implemented\n\t}", "title": "" }, { "docid": "2da48d008e84d5e52b7d66d376d6708c", "score": "0.510861", "text": "public boolean isNormalized() {\n return mNormalized;\n }", "title": "" }, { "docid": "abd5fedd492c2615eecb791d31136a1c", "score": "0.5100174", "text": "void cleanTree();", "title": "" }, { "docid": "32b09bcc048abe292f54db8e76128b2d", "score": "0.5098575", "text": "protected String checkContradictionRaw(BoardState state)\r\n {\r\n \tString error = \"No unlinked tent is not adjacent to an unlinked tree.\";\r\n \tint height = state.getHeight();\r\n \tint width = state.getWidth();\r\n \tboolean found;\r\n \tArrayList<Object> validLinks = state.getExtraData(); \r\n\r\n \t// Check all tents to see if they are adjacent to a tree\r\n \tfor (int y=0;y<height;y++)\r\n \t{\r\n \t for (int x=0;x<width;x++)\r\n \t {\r\n \t \tif (state.getCellContents(x,y) == TreeTent.CELL_TENT)\r\n \t \t{\r\n \t \t\tPoint tent = new Point(x,y);\r\n \t \t\tif(TreeTent.isLinked(validLinks, tent))\r\n \t \t\t\tcontinue;\r\n \t \t\t\r\n \t \t\tfound = false;\r\n \t \t\tif(y > 0)\r\n \t \t\t{\r\n \t \t\t\tif(state.getCellContents( x, y-1 ) == TreeTent.CELL_TREE)\r\n \t \t\t\t{\r\n \t \t\t\t\tif(!TreeTent.isLinked(validLinks, new Point(x,y-1)))\r\n \t \t\t\t\t\tfound = true;\r\n \t \t\t\t}\r\n \t \t\t}\r\n \t \t\tif(y < height-1)\r\n \t \t\t{\r\n \t \t\t\tif(state.getCellContents( x, y+1 ) == TreeTent.CELL_TREE)\r\n \t \t\t\t{\r\n \t \t\t\t\tif(!TreeTent.isLinked(validLinks, new Point(x,y+1)))\r\n \t \t\t\t\t\tfound = true;\r\n \t \t\t\t}\r\n \t \t\t}\r\n \t \t\tif(x > 0)\r\n \t \t\t{\r\n \t \t\t\tif(state.getCellContents( x-1, y ) == TreeTent.CELL_TREE)\r\n \t \t\t\t{\r\n \t \t\t\t\tif(!TreeTent.isLinked(validLinks, new Point(x-1,y)))\r\n \t \t\t\t\t\tfound = true;\r\n \t \t\t\t}\r\n \t \t\t}\r\n \t \t\tif(x < width-1)\r\n \t \t\t{\r\n \t \t\t\tif(state.getCellContents( x+1, y ) == TreeTent.CELL_TREE)\r\n \t \t\t\t{\r\n \t \t\t\t\tif(!TreeTent.isLinked(validLinks, new Point(x+1,y)))\r\n \t \t\t\t\t\tfound = true;\r\n \t \t\t\t}\r\n \t \t\t}\r\n \t \t\tif(found == false)\r\n \t \t\t\treturn null;\r\n \t \t}\r\n \t }\r\n \t}\r\n\r\n\t\treturn error;\r\n }", "title": "" }, { "docid": "b7271c03f8189a36a37fc3f01ae21e32", "score": "0.5096706", "text": "public int checkRalatedValueInValueTree(Node root, boolean contributionType) {\n\t\treturn sweepTree(root);\n\t\t \n\t}", "title": "" }, { "docid": "2de0af53905706a0d98611a2ac715559", "score": "0.5089525", "text": "private boolean mustBeSetParentStatus(BucketNode v) {\n\t\tif (v.getParent() != null) {\r\n\r\n\t\t\tif (v.getParent().getStatus() == null) {\r\n\r\n\t\t\t\tif (v.getSplitValue() < v.getParent().getSplitValue()) {\r\n\r\n\t\t\t\t\t// v is a left child of v.parent\r\n\t\t\t\t\tv.getParent().setStatus(leftVisited); \r\n\t\t\t\t\treturn true;\r\n\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\t// v is a right child of v.parent\r\n\t\t\t\t\tv.getParent().setStatus(rightVisited);\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t// n.parent.status not is NIL => do nothing\r\n\t\t\t\treturn false;\r\n\t\t\t} \r\n\t\t} else {\r\n\t\t\t// n is root => do nothing\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0e63a9fb999e40a9a302323f88fde2eb", "score": "0.50843287", "text": "public static void methodSigCheck() {\r\n\t\t//This ensures that you've written your method signatures correctly\r\n\t\t//and understand how to call the various methods from the assignment\r\n\t\t//description.\r\n\t\t\r\n\t\tString[] strings = { \"_\", \"_\", \"A\", \"B\", \"N\", null, null };\r\n\t\t\r\n\t\tKTree<String> tree = new KTree<>(strings, 2);\r\n\t\tint x = tree.getK(); //should return 2\r\n\t\tint y = tree.size(); //should return 5\r\n\t\tint z = tree.height(); //should return 2\r\n\t\t\r\n\t\tString v = tree.get(0); //should be \"_\"\r\n\t\tboolean b = tree.set(0, \"x\"); //should set the root to \"x\"\r\n\t\tObject[] o = tree.toArray(); //should return [ \"x\", \"_\", \"A\", \"B\", \"N\", null, null ]\r\n\t\t\r\n\t\tString s = tree.toString(); //should be \"x\\n_ A\\nB N null null\"\r\n\t\tString s2 = \"\" + tree; //should also be \"x\\n_ A\\nB N null null\"\r\n\t\t\r\n\t\tIterator<String> it1 = tree.getLevelOrderIterator(); //gets an iterator\r\n\t\tIterator<String> it2 = tree.getPreOrderIterator(); //gets an iterator\r\n\t\tIterator<String> it3 = tree.getPostOrderIterator(); //gets an iterator\r\n\t\t\r\n\t\tString s3 = tree.toStringLevelOrder(); //should be \"_ _ A B N\"\r\n\t\tString s4 = tree.toStringPreOrder(); //should be \"_ _ B N _ N\"\r\n\t\tString s5 = tree.toStringPostOrder(); //should be \"B N _ A _\"\r\n\t\t\r\n\t\tString s6 = decode(tree, \"001011011\"); //should be \"BANANA\"\r\n\t\t\r\n\t\tObject[] o2 = tree.mirror(); //should return [ \"x\", \"A\", \"_\", null, null, \"N\", \"B\" ]\r\n\t\tObject[] o3 = tree.subtree(1); //should return [ \"_\", \"B\", \"N\" ]\r\n\t\r\n\t}", "title": "" }, { "docid": "1fef933a4861c198ef8f4656a2d2f3c4", "score": "0.50831735", "text": "private void verifyCorrectness() {\n String language = normalizeLanguage(formats[0].language);\n @C.RoleFlags int roleFlags = normalizeRoleFlags(formats[0].roleFlags);\n for (int i = 1; i < formats.length; i++) {\n if (!language.equals(normalizeLanguage(formats[i].language))) {\n logErrorMessage(\n /* mismatchField= */ \"languages\",\n /* valueIndex0= */ formats[0].language,\n /* otherValue=* */ formats[i].language,\n /* otherIndex= */ i);\n return;\n }\n if (roleFlags != normalizeRoleFlags(formats[i].roleFlags)) {\n logErrorMessage(\n /* mismatchField= */ \"role flags\",\n /* valueIndex0= */ Integer.toBinaryString(formats[0].roleFlags),\n /* otherValue=* */ Integer.toBinaryString(formats[i].roleFlags),\n /* otherIndex= */ i);\n return;\n }\n }\n }", "title": "" }, { "docid": "da9232d59c83975bf59e5ae585aba760", "score": "0.5071122", "text": "public void sanityCheck() {\n\t\tif (DEBUG) {\n\t\t\t// YOUR CODE HERE\n\n\t\t\tif (!checkHeights())\n\t\t\t\tthrow new RuntimeException(\"Check heights is failed!\");\n\t\t\tif (!checkWidths())\n\t\t\t\tthrow new RuntimeException(\"Check widths is failed!\");\n\t\t\tif (!checkMaxHeight())\n\t\t\t\tthrow new RuntimeException(\"Check maxHeight is failed!\");\n\t\t}\n\t}", "title": "" }, { "docid": "bf1c7565de96b065be5f8d15bc5373de", "score": "0.5069282", "text": "public void displayNormalized()\n\t{\n\t\tTreeDisplay display = new TreeDisplay(\"Normalized: \" + expression);\n\t\tdisplay.setRoot(rootNorm);\n\t}", "title": "" }, { "docid": "0cecb9a6099389ff952bfafa73e5b8f3", "score": "0.50668645", "text": "protected ValidationResult validateFieldLevel()\n {\n return getSyntaxValidator().isValid(fetchHandler().getData());\n }", "title": "" }, { "docid": "23078cc81855a171f8c39135d48d5d2a", "score": "0.5062893", "text": "public void verifySearchOrder() {\n if (left != null) {\n assert(left.maxNode().data.compareTo(data) == -1);\n left.verifySearchOrder();\n }\n if (right != null) {\n assert(data.compareTo(right.minNode().data) == -1);\n right.verifySearchOrder();\n }\n }", "title": "" }, { "docid": "6f5fdecd99db8a5c91a820cf118a4939", "score": "0.50616336", "text": "boolean hasRooted();", "title": "" }, { "docid": "6f5fdecd99db8a5c91a820cf118a4939", "score": "0.50616336", "text": "boolean hasRooted();", "title": "" }, { "docid": "0561a95842c542a50416fe5c696317a2", "score": "0.5061415", "text": "public void normalize();", "title": "" }, { "docid": "fc448abaa3985f46ea5b939c1faae2a8", "score": "0.5059453", "text": "private void test() {\n\n TreeNode root = new TreeNode(0);\n root.left = new TreeNode(1);\n root.right = new TreeNode(-1);\n\n boolean ans = checkEqualTree(root);\n System.out.println(ans);\n }", "title": "" }, { "docid": "3f47857c1f3bd0146689b308667db05b", "score": "0.50575477", "text": "private boolean checkGroupedColumn() {\n boolean allowEdit = true;\n if (getTreeTableRow().getTreeItem() != null) {\n Object rowObject = getTreeTableRow().getTreeItem().getValue();\n if (rowObject instanceof RecursiveTreeObject && rowObject.getClass() == RecursiveTreeObject.class) {\n allowEdit = false;\n } else {\n // check grouped columns in the tableview\n if (getTableColumn() instanceof JFXTreeTableColumn && ((JFXTreeTableColumn) getTableColumn()).isGrouped()) {\n // make sure that the object is a direct child to a group node\n if (getTreeTableRow().getTreeItem().getParent() != null &&\n getTreeTableRow().getTreeItem().getParent().getValue().getClass() == RecursiveTreeObject.class) {\n allowEdit = false;\n }\n }\n }\n }\n return allowEdit;\n }", "title": "" }, { "docid": "ef42b3426b9ede93abb201447adb8cd9", "score": "0.5056303", "text": "public void checkSemantics() {}", "title": "" }, { "docid": "48f3c7eec82e53c3eaf542b4cea11394", "score": "0.505331", "text": "public boolean isInternal()\n {\n if((leftChild!=null) || (rightChild!=null)) //since internal node have children, the node should have value and not be null.\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "fb035c00134dfbc24a1726c9c502cc03", "score": "0.5025834", "text": "@Test\n public void testIsRoot() {\n String messageRootExpected = \"The tree node was expected to be root, but actually was not\";\n assertTrue(messageRootExpected, root.isRoot());\n\n // Test if non root tree node is non root tree node\n String messageRootNotExpected = \"The tree node was not expected to be root, but actually was\";\n assertFalse(messageRootNotExpected, node2.isRoot());\n assertFalse(messageRootNotExpected, node6.isRoot());\n }", "title": "" }, { "docid": "c92ee45bc9b0f48b79345621e71e7331", "score": "0.50147855", "text": "private void validateChildren(Checker nodeChecker) {\n\t\tnodeChecker\n\t\t\t.singleValue(ProblemCode.PI_NUMERATOR_DENOMINATOR_MISSING_MEASURE_ID, \"measureId\")\n\t\t\t.hasChildren(ProblemCode.PI_NUMERATOR_DENOMINATOR_MISSING_CHILDREN)\n\t\t\t.childExact(ProblemCode.PI_NUMERATOR_DENOMINATOR_VALIDATOR_EXACTLY_ONE_NUMERATOR_OR_DENOMINATOR_CHILD_NODE\n\t\t\t\t\t.format(AciDenominatorValidator.DENOMINATOR_NAME), 1, TemplateId.PI_DENOMINATOR)\n\t\t\t.childExact(ProblemCode.PI_NUMERATOR_DENOMINATOR_VALIDATOR_EXACTLY_ONE_NUMERATOR_OR_DENOMINATOR_CHILD_NODE\n\t\t\t\t\t.format(AciNumeratorValidator.NUMERATOR_NAME), 1, TemplateId.PI_NUMERATOR);\n\t}", "title": "" }, { "docid": "8fd380fb134e9b6f616a294f631d31ad", "score": "0.50132805", "text": "private void checkRep() throws RuntimeException {\n\t\tif (parent == null) {\n\t\t\tthrow new RuntimeException(\"Parent cannot be null\");\n\t\t} else if (child == null) {\n\t\t\tthrow new RuntimeException(\"Child cannot be null\");\n\t\t}\n\t}", "title": "" }, { "docid": "b04df89250cc7fedb84864c854a704b4", "score": "0.49897677", "text": "private void check(int size, String expectedLevelOrder)\r\n {\n List<Integer> levelOrder = tree.levelOrder();\r\n assertTrue(expectedLevelOrder.equals(levelOrder.toString()));\r\n }", "title": "" }, { "docid": "694ca08ca00bdf362a1a6c3fb062225b", "score": "0.49820063", "text": "private void verifyCases()\n\t{\n\t\tflagBalanced = false;\n\t\tNode<T, S> rNode = this.getRoot();\n\t\t\n\t\tverifyCases(rNode);\n\t\t\n\t\tif (flagBalanced)\n\t\t{\n\t\t\tverifyCases();\n\t\t}\n\t}", "title": "" }, { "docid": "3c92d3e6bed833d552f8d0f6b87e0cc5", "score": "0.49661338", "text": "private boolean check() {\n if (!isBST()) System.out.println(\"Not in symmetric order\");\n if (!is23()) System.out.println(\"Not a 2-3 tree\");\n if (!isBalanced()) System.out.println(\"Not balanced\");\n return isBST() && is23() && isBalanced();\n }", "title": "" }, { "docid": "446a46c9c2f15a4793027081f2d92f5b", "score": "0.49634197", "text": "public Result check(ParseTree tree) throws ParseException {\n\t\treturn this.checker.check(tree);\n\t}", "title": "" }, { "docid": "2279f3958598c3559aea21c8f24afc31", "score": "0.49615255", "text": "protected void checkMutate () {\n // noop\n }", "title": "" }, { "docid": "37cf95a19098936ab4ee71f6a99d2aa2", "score": "0.49591115", "text": "private static boolean isValidSentFormNode(Tree parent) {\n boolean isValid = false;\n if (!parent.isLeaf() && !Arrays.asList(new String[]{\"ROOT\", \"FRAG\", \"X\", \"SBAR\"}).contains(parent.label().value())) {// check if parent was not covered in previous rules\n isValid = true;\n for (Tree child : parent.getChildrenAsList()) {// check if child was not covered in previous rules\n if (child.isLeaf() || Arrays.asList(new String[]{\"ROOT\", \"FRAG\", \"X\", \"SBAR\"}).contains(child.label().value())) {\n isValid = false;\n }\n }\n\n\n }\n return isValid;\n }", "title": "" }, { "docid": "e67657e9aaf7eb21a79d794765f961d6", "score": "0.49450737", "text": "protected abstract boolean isRootGenerated();", "title": "" }, { "docid": "b528c1e099b6010e7d3f6827c77c938a", "score": "0.49406976", "text": "@Override\n\tpublic void test() {\n\t\tTreeNode root=new TreeNode(1);\n\t\troot.left=new TreeNode(2);\n\t\troot.right=new TreeNode(3);\n\t\tflatten(root);\n\t\treturn;\n\t}", "title": "" }, { "docid": "50aee88ac95c3ee015d034b798f46ca5", "score": "0.49397454", "text": "public boolean validate() {\n\t\treturn getNode().validate();\n\t}", "title": "" }, { "docid": "32f1739ed130f559e0a77772c9820809", "score": "0.4939149", "text": "public static void main(String[] args)\n {\n \n Node root = new Node(1);\n root.left = new Node(2);\n root.right = new Node(3);\n root.left.left = new Node(4);\n root.left.right = new Node(5);\n root.right.left = new Node(6);\n root.right.right = new Node(7);\n \n if (checkSubtree(root, root.right)) {\n System.out.print(\"Yes\");\n }\n else {\n System.out.print(\"No\");\n }\n }", "title": "" }, { "docid": "75d95e2abf2da6fb7514cd14e553de3a", "score": "0.4937385", "text": "@Test\r\n\tpublic void onlyrooTPNULL() {\r\n\t\t// fail(\"Not yet implemented\");\r\n\r\n\t\t// assertEquals(\"onlyrooTPNULL\",true,myTree.getRoot().isonlyrootPnull());\r\n\t}", "title": "" }, { "docid": "7dd4f7048f693fb96a171c4ddaeb41df", "score": "0.49358112", "text": "public boolean containsTypeSpecificNormalizer() {\n for (int i = 0; i < normalizerDeclarations.length; ++i)\n if (normalizerDeclarations[i].learner != null) return true;\n return false;\n }", "title": "" }, { "docid": "25c36a3c425d5f19b28f206ea771cc32", "score": "0.49320653", "text": "public void checkInvariants() {\n\t\tif(!isFreeCell(getWdt(), getHgt())) {\n\t\t\tthrow new InvariantError(\"Le personnage n'est pas sur une case libre\");\n\t\t}\n\t}", "title": "" }, { "docid": "95f3f99bd224dee2b170a29eef5ffb18", "score": "0.49295625", "text": "@Test\n\tpublic void testToStringNormal() {\n\t\tSystem.out.println(\"\\n\" + \"Test of toString() with a normal tree:\" + \"\\n\" + normalTree.toString());\n\t\tSystem.out.println(\"OK\");\n\t}", "title": "" }, { "docid": "81d1ec410499ceb6fb26e4c9ce9e160c", "score": "0.49241802", "text": "@Test\n\tpublic void testBalanceNormalTree() {\n\t\tSystem.out.println(\"\\n\" + \"Test of balanceLevel() with a normal tree:\" + \"\\n\" + normalTree.balanceLevel());\n\t\tSystem.out.println(\"OK\");\n\t}", "title": "" }, { "docid": "7a24526e5f2e1de52cc6116ab02b1bce", "score": "0.49218482", "text": "private void verifyCases(Node<T, S> node)\n\t{\t\t\n\t\tif (node.getLeftNode() != null) verifyCases(node.getLeftNode());\n\t\tif (node.getRightNode() != null) verifyCases(node.getRightNode());\t\n\t\t\n\t\tverifyCases(node, true);\n\t}", "title": "" }, { "docid": "dfa067cd25b13dfd9f435dae201eadcb", "score": "0.4916957", "text": "public void turnOnNormalizationFlag() {\n\t\tnormalizationFlag = false;\n\t}", "title": "" }, { "docid": "33bd7d067665a6de54bc3d5a2beeb0bb", "score": "0.49157622", "text": "public boolean wantAnyTreeFloats() {\n return true;\n }", "title": "" }, { "docid": "29aed2943fa6d17a08f6ff23f84ea345", "score": "0.49077052", "text": "@Test\n public void correctNumberOfDifferingDimensionsFromParentTest(){\n Node root = new Node(new Object[][]{\n {d1,d1prod},\n {d2,d2loc},\n {d3,d3day},\n {d4,d4opinion}\n });\n\n GraphManager gm = new GraphManager(root);\n\n gm.nodes.put(root,root);\n gm.generateTree(root);\n\n int counter = 0;\n ArrayList<Level> parentLevels = new ArrayList<>();\n ArrayList<Level> childLevels = new ArrayList<>();\n\n for(Node n: gm.nodes.keySet()){\n parentLevels = getLevelsInNode(n);\n for(Node child: n.getChildren()){\n childLevels = getLevelsInNode(child);\n for(int i = 0; i < parentLevels.size();i++){\n if(parentLevels.get(i) != childLevels.get(i)){\n counter++;\n }\n }\n assertEquals(1, counter);\n counter = 0;\n }\n }\n }", "title": "" }, { "docid": "fd872a77f86c2bfd8dafd9b1d45af61e", "score": "0.49042836", "text": "private static boolean checkBST(TreeNode n) {\n\t\tif (n == null) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// check / recurse left\n\t\tif (!checkBST(n.left)) {\n\t\t\treturn false;\n\t\t}\n\t\t// check current\n\t\tif (lastPrinted != null && n.data <= lastPrinted) {\n\t\t\treturn false;\n\t\t}\n\t\tlastPrinted = n.data;\n\t\t// check / recurse right\n\t\tif (!checkBST(n.right)) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true; // all good\n\t}", "title": "" }, { "docid": "0779d2c1513f7555dafb0d6471962975", "score": "0.49029487", "text": "protected void sanityCheck() throws IllegalStateException {\n List<String> columnOrder = grid.getState().columnOrder;\n for (ROWTYPE row : rows) {\n for (Set<String> cellGroup : row.getRowState().cellGroups\n .keySet()) {\n if (!checkCellGroupAndOrder(columnOrder, cellGroup)) {\n throw new IllegalStateException(\n \"Not all merged cells were in a continuous range.\");\n }\n }\n }\n }", "title": "" }, { "docid": "6b699e8f290ec325dfc272f0dd7e3dbb", "score": "0.48941445", "text": "public void checkNodes();", "title": "" }, { "docid": "2af3dadc06078a85e7aef3068681023a", "score": "0.48899025", "text": "private void validateData() {\n }", "title": "" }, { "docid": "8f76baa226729d5041303e800ed11552", "score": "0.48772556", "text": "public boolean checkBBoxChange() {\n final double oldWidth = bbox.getWidth();\n final double oldHeight = bbox.getHeight();\n RenderpassPainter.getPassBoundingBox(bbox, pass);\n return bbox.getWidth() != oldWidth || bbox.getHeight() != oldHeight;\n }", "title": "" }, { "docid": "c651a6a96b8f1e42a1f23f76fe18aef2", "score": "0.48745614", "text": "private void checkRep() {\n\t\t// RI: campus != null, buildings != null, buildings.size() > 1\n\t\tassert (this.campusGraph != null) : \"Campus cannot be null.\";\n\t\tassert (this.buildings != null) : \"Buildings cannot be null.\";\n\t\tassert (this.buildings.size() > 0) : \"There must be at least one \"\n\t\t\t\t+ \"building on the campus.\";\n\t}", "title": "" }, { "docid": "35bf7e6360dfacdcc22005880f03f8d5", "score": "0.48744223", "text": "private boolean preCheckTaxonomyFile(String filename, CmsPath parentPath) throws Exception {\r\n BufferedReader reader = null;\r\n boolean badLine = false;\r\n try {\r\n reader = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));\r\n String folder;\r\n String badNameRegex = IResource.invalidCharactersRegex;// moved to IResource\".*[\\\"\\\\*\\\\\\\\>\\\\<\\\\?\\\\/\\\\:\\\\|\\\\%\\\\&\\\\+\\\\;\\\\xA3\\\\xAC]+.*\";\r\n String endsWithTabRegex = \".*[\\\\t]+\";// used to check for trailing tabs\r\n String blankLineRegex = \"[\\\\s]+\";// used to check for totally blank lines\r\n int lineNumber = 0;\r\n String line = reader.readLine();\r\n\r\n String errorMessage = \"\";\r\n while (line != null && !badLine) {\r\n lineNumber++;\r\n folder = line.trim();\r\n // check for bad characters\r\n badLine = false;\r\n errorMessage = \"\";\r\n if (folder.matches(badNameRegex)) {\r\n badLine = true;\r\n errorMessage = \"A folder name \" + IResource.invalidCharactersMsg;\r\n // }else if(line.matches(endsWithTabRegex)){\r\n // badLine = true;\r\n // errorMessage = \"A line in the taxonomy import file cannot end with a tab.\";\r\n }\r\n // else if(line.matches(blankLineRegex) || line.length() == 0 || folder.length() == 0){\r\n // badLine = true;\r\n // errorMessage = \"Blank lines are not allowed in the taxonomy import file\";\r\n // }\r\n\r\n if (badLine) {\r\n // TODO: what are these hex characters that are not allowed so that i can display to user in error message??? A3 AC\r\n final int badLineNumber = lineNumber;\r\n final String message = errorMessage;\r\n Display.getDefault().syncExec(new Runnable() {\r\n public void run() {\r\n final IStatus status = new Status(IStatus.ERROR, CatRcpPlugin.PLUGIN_ID, 0, message, null);\r\n ErrorDialog.openError(getShell(), \"Error Importing Taxonomy\", \"The taxonomy could not be imported because the file has an invalid character(s) on line number \" + badLineNumber + \".\", status);\r\n }\r\n });\r\n }\r\n line = reader.readLine();\r\n }\r\n\r\n } finally {\r\n if (reader != null) {\r\n reader.close();\r\n }\r\n }\r\n return !badLine;\r\n }", "title": "" }, { "docid": "59bb81cd9178301cb284bb8e3bcd5f65", "score": "0.48690447", "text": "void assertNestMate();", "title": "" }, { "docid": "974904dc7e286aecf11465daf4a6dd89", "score": "0.48688868", "text": "public boolean isTree(Node any);", "title": "" }, { "docid": "ebde8ea429bf7423964f472e3e647ba2", "score": "0.48655635", "text": "public boolean isValidBST(TreeNode root) {\r\n\t \r\n\t\t return recursiveResultBST(root, Long.MIN_VALUE, Long.MAX_VALUE);\r\n\t }", "title": "" }, { "docid": "a1e9af46031f1eefe97d5d39004ae0e3", "score": "0.48624903", "text": "public void validate() {\n if (this.isEmpty())\n return;\n\n // make a copy, don't modify existing list\n Segments<T> all = new Segments<>(this);\n Collections.sort(all);\n\n // check consistent isOffsetCube()\n boolean isOffsetCube = all.get(0).isOffsetCube();\n for (ISegment seg : all) {\n seg.validate();\n if (seg.isOffsetCube() != isOffsetCube)\n throw new IllegalStateException(\"Inconsistent isOffsetsOn for segment \" + seg);\n }\n\n Segments<T> ready = all.getSegments(SegmentStatusEnum.READY, SegmentStatusEnum.WARNING);\n Segments<T> news = all.getSegments(SegmentStatusEnum.NEW);\n validateReadySegs(ready);\n validateNewSegs(ready, news);\n }", "title": "" }, { "docid": "49341f161029f3903915dc6b1e4d6571", "score": "0.48620713", "text": "protected boolean loadTreeRecursive(SimpleElement currentRoot) {\n\t\tint nrOfWeights = 0;\n\n\t\tint index;\n\t\t// load reservation value\n\t\ttry {\n\t\t\tif ((currentRoot.getChildByTagName(RESERVATION) != null)\n\t\t\t\t\t&& (currentRoot\n\t\t\t\t\t\t\t.getChildByTagName(RESERVATION).length > 0)) {\n\t\t\t\tSimpleElement xmlReservation = (SimpleElement) (currentRoot\n\t\t\t\t\t\t.getChildByTagName(RESERVATION)[0]);\n\t\t\t\tsetReservationValue(\n\t\t\t\t\t\tDouble.valueOf(xmlReservation.getAttribute(\"value\")));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Utility space has no reservation value\");\n\t\t}\n\t\t// load discount factor\n\t\ttry {\n\t\t\tif ((currentRoot.getChildByTagName(\"discount_factor\") != null)\n\t\t\t\t\t&& (currentRoot\n\t\t\t\t\t\t\t.getChildByTagName(\"discount_factor\").length > 0)) {\n\t\t\t\tSimpleElement xmlReservation = (SimpleElement) (currentRoot\n\t\t\t\t\t\t.getChildByTagName(\"discount_factor\")[0]);\n\t\t\t\tdouble df = Double\n\t\t\t\t\t\t.parseDouble(xmlReservation.getAttribute(\"value\"));\n\t\t\t\tsetDiscount(validateDiscount(df));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Utility space has no discount factor;\");\n\t\t}\n\n\t\tVector<Evaluator> tmpEvaluator = new Vector<Evaluator>();\n\t\t/*\n\t\t * tmp vector with all Evaluators at this level. Used to normalize\n\t\t * weigths.\n\t\t */\n\t\tEVALUATORTYPE evalType;\n\t\tString type, etype;\n\t\tEvaluator lEvaluator = null;\n\n\t\t// Get the weights of the current children\n\t\tObject[] xml_weights = currentRoot.getChildByTagName(\"weight\");\n\t\tnrOfWeights = xml_weights.length; // assuming each\n\t\tHashMap<Integer, Double> tmpWeights = new HashMap<Integer, Double>();\n\t\tfor (int i = 0; i < nrOfWeights; i++) {\n\t\t\tindex = Integer.valueOf(\n\t\t\t\t\t((SimpleElement) xml_weights[i]).getAttribute(\"index\"));\n\t\t\tDouble dval = Double.parseDouble(\n\t\t\t\t\t((SimpleElement) xml_weights[i]).getAttribute(\"value\"));\n\t\t\ttmpWeights.put(index, dval);\n\t\t}\n\n\t\t// Collect evaluations for each of the issue values from file.\n\t\t// Assumption: Discrete-valued issues.\n\t\tObject[] xml_issues = currentRoot.getChildByTagName(\"issue\");\n\t\tObject[] xml_objectives = currentRoot.getChildByTagName(\"objective\");\n\t\tObject[] xml_obj_issues = new Object[xml_issues.length\n\t\t\t\t+ xml_objectives.length];\n\t\tint i_ind;\n\t\tfor (i_ind = 0; i_ind < xml_issues.length; i_ind++) {\n\t\t\txml_obj_issues[i_ind] = xml_issues[i_ind];\n\t\t}\n\t\tfor (int o_ind = 0; (o_ind + i_ind) < xml_obj_issues.length; o_ind++) {\n\t\t\txml_obj_issues[(o_ind + i_ind)] = xml_objectives[o_ind];\n\t\t}\n\n\t\tfor (int i = 0; i < xml_obj_issues.length; i++) {\n\t\t\tindex = Integer.valueOf(\n\t\t\t\t\t((SimpleElement) xml_obj_issues[i]).getAttribute(\"index\"));\n\t\t\ttype = ((SimpleElement) xml_obj_issues[i]).getAttribute(\"type\");\n\t\t\tetype = ((SimpleElement) xml_obj_issues[i]).getAttribute(\"etype\");\n\t\t\tif (type == null) { // No value type specified.\n\t\t\t\tevalType = EVALUATORTYPE.DISCRETE;\n\t\t\t} else if (type.equals(etype)) {\n\t\t\t\tevalType = EVALUATORTYPE.convertToType(type);\n\t\t\t} else if (type != null && etype == null) {\n\t\t\t\tevalType = EVALUATORTYPE.convertToType(type);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\n\t\t\t\t\t\t\"Conflicting value types specified for evaluators in utility template file.\");\n\t\t\t\tevalType = EVALUATORTYPE.convertToType(type);\n\t\t\t}\n\t\t\tif (tmpWeights.get(index) != null) {\n\t\t\t\tswitch (evalType) {\n\t\t\t\tcase DISCRETE:\n\t\t\t\t\tlEvaluator = new EvaluatorDiscrete();\n\t\t\t\t\tbreak;\n\t\t\t\tcase INTEGER:\n\t\t\t\t\tlEvaluator = new EvaluatorInteger();\n\t\t\t\t\tbreak;\n\t\t\t\tcase REAL:\n\t\t\t\t\tlEvaluator = new EvaluatorReal();\n\t\t\t\t\tbreak;\n\t\t\t\tcase OBJECTIVE:\n\t\t\t\t\tlEvaluator = new EvaluatorObjective();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlEvaluator.loadFromXML((SimpleElement) (xml_obj_issues[i]));\n\n\t\t\t\ttry {\n\t\t\t\t\tfEvaluators.put(\n\t\t\t\t\t\t\tgetDomain().getObjectivesRoot().getObjective(index),\n\t\t\t\t\t\t\tlEvaluator);\n\t\t\t\t\t/*\n\t\t\t\t\t * get the Objective or Issue.\n\t\t\t\t\t */\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.out.println(\"Domain-utilityspace mismatch\");\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tif (nrOfWeights != 0) {\n\t\t\t\t\tdouble tmpdwt = tmpWeights.get(index).doubleValue();\n\t\t\t\t\tObjective tmpob = getDomain().getObjectivesRoot()\n\t\t\t\t\t\t\t.getObjective(index);\n\t\t\t\t\tfEvaluators.get(tmpob).setWeight(tmpdwt);\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(\n\t\t\t\t\t\t\"Evaluator-weight mismatch or no weight for this issue or objective.\");\n\t\t\t}\n\t\t\ttmpEvaluator.add(lEvaluator); // for normalisation purposes.\n\t\t}\n\n\t\t// Recurse over all children:\n\t\tboolean returnval = false;\n\t\tObject[] objArray = currentRoot.getChildElements();\n\t\tfor (int i = 0; i < objArray.length; i++)\n\t\t\treturnval = loadTreeRecursive((SimpleElement) objArray[i]);\n\t\treturn returnval;\n\t}", "title": "" }, { "docid": "a6a2003c07f23fd89fc3bf55abd129da", "score": "0.48582426", "text": "private static boolean checkCategoryTreeVersion()\n {\n File xmlFile = new File(catTreeLocation);\n //If file does not exist then we need to get it\n if(xmlFile.exists() == false)\n {\n System.out.println(\"Application run for first time, downloading category tree. Please wait...\");\n if(getEntireCategoryTree())\n System.out.println(\"Category tree retrieved and saved locally.\");\n else //error\n return false;\n }\n else //file exists - check it is up to date\n {\n System.out.println();\n try\n {\n String localVersion = getLocalVersionNumber();\n String onlineVersion = getOnlineVersionNumber();\n\n if(onlineVersion == null)\n return false;\n //versions must be equal as online version can increment or decrement version number\n if ( localVersion !=null ){\n if(!localVersion.equals(onlineVersion))\n {\n //different version numbers - Update\n System.out.println(\"Updating local category tree. Please wait...\");\n if(getEntireCategoryTree())\n System.out.println(\"Category tree updated and saved locally.\");\n else //error\n return false;\n }\n\t\t\t}\n }\n catch(Exception ex)\n {\n ex.printStackTrace();\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "c915591a866c2a0b96a922cb2e48d62d", "score": "0.4852545", "text": "boolean isRoot();", "title": "" }, { "docid": "fbd6d7fd887c8db9708a84768a260a40", "score": "0.4850547", "text": "@Override\n protected boolean canHaveAsLeftTree(BinaryTree tree) {\n return tree instanceof EmptySearchTree;\n }", "title": "" }, { "docid": "e56a6f7e1f00c6eb8bc7d868938fcda1", "score": "0.48501655", "text": "public static void checkStateTreeForNaN(AspectSubTreeNode set, boolean expected)\n\t{\n\t\tFindNaNVisitor findNaNVisitor=new FindNaNVisitor();\n\t\tset.apply(findNaNVisitor);\n\t\t\n\t\tif(expected)\n\t\t{\n\t\t\tAssert.assertTrue(\"No NaN values detected when expected.\", findNaNVisitor.hasNaN());\n\t\t} \n\t\telse \n\t\t{\n\t\t\tAssert.assertTrue(\"Unexpected NaN values detected: \" + findNaNVisitor.getParticleWithNaN(), !findNaNVisitor.hasNaN());\n\t\t}\n\t}", "title": "" }, { "docid": "7062e50a7cc0fb87c1b66a43bf6d186c", "score": "0.48497722", "text": "@Test\n public void testHasSubtree() {\n String messageSubtreeExpected =\n \"The tree node was expected to have the specified subtree, but actually was not\";\n assertTrue(messageSubtreeExpected, root.hasSubtree(node1));\n assertTrue(messageSubtreeExpected, root.hasSubtree(node9));\n assertTrue(messageSubtreeExpected, node2.hasSubtree(node7));\n assertTrue(messageSubtreeExpected, node5.hasSubtree(node6));\n\n // Test if tree node does not have the specified subtree\n String messageSubtreeNotExpected =\n \"The tree node was not expected to have the specified subtree, but actually was\";\n assertFalse(messageSubtreeNotExpected, node1.hasSubtree(node10));\n assertFalse(messageSubtreeNotExpected, node5.hasSubtree(null));\n assertFalse(messageSubtreeNotExpected, node2.hasSubtree(root));\n assertFalse(messageSubtreeNotExpected, root.hasSubtree(node7));\n }", "title": "" }, { "docid": "625fe637342523bc9577889fcafb7dd0", "score": "0.4846706", "text": "public void pruneTree(){\n\t\tapp.reducedErrorPruneTree();\n\t\tapp.treeToXML(OUTPUT_FILE);\n\t}", "title": "" }, { "docid": "9f9cf6b8e37faa70a33a692b007b42c3", "score": "0.484355", "text": "@Test\n\tpublic void testIsRoot() {\n\t\tassertTrue(root.isRoot());\n\t\t// firstChild is not a root\n\t\tassertFalse(firstChild.isRoot());\n\t\t\n\t}", "title": "" }, { "docid": "c72f04aa5b5277a0829c55c860b68773", "score": "0.48333782", "text": "public boolean isNormalSize() {\n\t\treturn isLenWithin(2, 3);\n\t}", "title": "" }, { "docid": "a7c20f4ac93a1f420d701c1968bf0a92", "score": "0.4832639", "text": "private boolean isWellFormed()\n {\n for (int i = 0 ; i < maxHeight ; i++)\n {\n int c = 0;\n for (Node node = head ; node != null ; node = node.next(i))\n {\n if (node.prev(i) != null && node.prev(i).next(i) != node)\n return false;\n if (node.next(i) != null && node.next(i).prev(i) != node)\n return false;\n c += node.size[i];\n if (i + 1 < maxHeight && node.parent(i + 1).next(i + 1) == node.next(i))\n {\n if (node.parent(i + 1).size[i + 1] != c)\n return false;\n c = 0;\n }\n }\n if (i == maxHeight - 1 && c != size + 1)\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "79dc770c1b0669ad879ba1c171659b82", "score": "0.4830743", "text": "public void normalize() \n\t{\n\t\tString expressionNormPost = new String(postfixEx);\n\t\t\n\t\t\n\t\t//double negs\n\t\tif (expressionNormPost.length() > 2)\n\t\t{\n\t\t\tfor (int i = 0; i < expressionNormPost.length() - 2;)\n\t\t\t{\n\t\t\t\ti++;\n\t\t\t\tif (expressionNormPost.charAt(i) == '!' && expressionNormPost.charAt(i + 1) == '!')\n\t\t\t\t{\n\t\t\t\t\texpressionNormPost = expressionNormPost.substring(0, i) + expressionNormPost.substring(i + 2);\t\t\t\t\t\n\t\t\t\t\ti = 0;\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Create tree\n\t\tDeque<Node> treeStack = new ArrayDeque<Node>();\n\t\tfor (int i = 0; i < expressionNormPost.length(); i++)\n\t\t{\n\t\t\tchar x = expressionNormPost.charAt(i);\n\t\t\tif (x >= 65 && x <= 90)\t\t\t\t\t\t\t//Push in atoms\n\t\t\t{\n\t\t\t\ttreeStack.push(new Node(x + \"\"));\t\t\t\t\n\t\t\t}\n\t\t\tif (x == '!')\t\t\t\t\t\t\t\t\t//Push in a new '!' node with an atom as child\n\t\t\t{\n\t\t\t\tNode temp = treeStack.pop();\n\t\t\t\tNode nw = new Node(\"!\", null, temp);\n\t\t\t\ttemp.parent = nw;\n\t\t\t\ttreeStack.push(nw);\n\t\t\t}\n\t\t\tif (x == '^' || x == 'v')\t\t\t\t\t\t//Push in a new '^' or 'v' node with 2 atoms as children\n\t\t\t{\n\t\t\t\tNode right = treeStack.pop();\n\t\t\t\tNode left = treeStack.pop();\n\t\t\t\tNode nw = new Node(x + \"\", left, right);\n\t\t\t\tright.parent = nw;\n\t\t\t\tleft.parent = nw;\n\t\t\t\ttreeStack.push(nw);\n\t\t\t}\n\t\t}\t\t\t\n\t\trootNorm = treeStack.pop();\t\n\t}", "title": "" }, { "docid": "130e0f2ee5caf0bc046a604e6cee6be6", "score": "0.48302794", "text": "private void validate() {\n }", "title": "" } ]
e61deb81bda496183b25bf4a901abcd9
Get the URL component that is used in the .ent file when building the Docbook files.
[ { "docid": "19e06157dae58717d36b2096293ecd8d", "score": "0.0", "text": "public String getBugzillaURL()\n \t{\n \t\treturn bugzillaURL == null ? null : bugzillaURL.getValue().toString();\n \t}", "title": "" } ]
[ { "docid": "7c36ffb8c1b2e1dd88658085f128df4b", "score": "0.68354124", "text": "public String getReferenceURL();", "title": "" }, { "docid": "47de8abe8ea9b76185edb35d9c7966c0", "score": "0.6646621", "text": "EnodeURL getEnodeURL();", "title": "" }, { "docid": "2a7b732389f8cb07d3f5cf195b533d38", "score": "0.65928906", "text": "public String geturl() {\n\t\t\n\t\t//calling the fileProperties method\n\t\tfileProperties();\n\t\t\t\t\n\t\t//returning the Url name from property file\n\t\treturn prop.getProperty(\"base_url\");\n\t\t}", "title": "" }, { "docid": "533c811eb60f592868130288a459a9a7", "score": "0.6497358", "text": "public URL getURL() {\n return docURL;\n }", "title": "" }, { "docid": "1b5e98705e4c5ec94b01869d6e6d455c", "score": "0.6437779", "text": "public String getUrl() {\r\n\r\n\t\tString Url = properties.getProperty(\"URL\");\r\n\t\tif (Url != null)\r\n\t\t\treturn Url;\r\n\r\n\t\telse\r\n\t\t\tthrow new RuntimeException(\"url not specified in cong file\");\r\n\r\n\t}", "title": "" }, { "docid": "9378306253a4d3501850aad28a5dbc4d", "score": "0.64003193", "text": "default String getEnodeURLString() {\n return this.getEnodeURL().toString();\n }", "title": "" }, { "docid": "969a1a874ac462f8e1001a3f4b714683", "score": "0.63431823", "text": "public URL getURL () {\n try {\n return new URL(\"http://www.bluej.org/doc/writingextensions.html\");\n } catch ( Exception eee ) {\n // The link is either dead or otherwise unreachable\n System.out.println (\"Simple extension: getURL: Exception=\"+eee.getMessage());\n return null;\n }\n }", "title": "" }, { "docid": "c66f01ecb3c6de8c71fad7314d17a999", "score": "0.62552184", "text": "public String getURI() {\n return ontProperty.resource().toString();\n }", "title": "" }, { "docid": "2cef96b914d63cf9a52d7dd5db78f640", "score": "0.6250866", "text": "protected abstract String getURL();", "title": "" }, { "docid": "f930939362267cd770b81dbd41014427", "score": "0.62186337", "text": "String getURL();", "title": "" }, { "docid": "82e661c3d30c5fdc178b28def7ff84b9", "score": "0.62065744", "text": "public String getUrl() {\n\t\treturn DataUtil.toString(super.getByIndex(INDEX_URL, true));\n\t}", "title": "" }, { "docid": "e8a84bf8f2c867f43db3e89b24ea8bd3", "score": "0.6194726", "text": "public abstract String getXsltUrl();", "title": "" }, { "docid": "85eecd6e918d9736688bdda1e2a3adf7", "score": "0.6190977", "text": "public WebURL getSourceURL()\n {\n SGDoc d = getDoc();\n return d != null ? d.getSourceURL() : null;\n }", "title": "" }, { "docid": "7a8e3bcd3e751c2b8c48e5e3e5f6e76a", "score": "0.6190533", "text": "protected String getUrl(Document doc) {\n return doc.getFieldValue(url, url);\n }", "title": "" }, { "docid": "79ee1f302e8518f78416c347191a0835", "score": "0.6168413", "text": "@Schema(description = \"Reference of the product specification\")\r\n\r\n\tpublic String getHref() {\r\n\t\treturn href;\r\n\t}", "title": "" }, { "docid": "bc2942e5753d83b6eac44fef0201895d", "score": "0.6160485", "text": "public String getURL() {\n return url.toString().endsWith(\"/\") ? url.toString() : url + \"/\";\n }", "title": "" }, { "docid": "9de609e2645b8a9c95d6b47d345b623b", "score": "0.61172277", "text": "String getHref();", "title": "" }, { "docid": "6dee00e0355a81497b3e6d6665b2ff8c", "score": "0.61054", "text": "java.lang.String getHref();", "title": "" }, { "docid": "85836cb6bfe18c4f96451a8287a33433", "score": "0.6105079", "text": "public String getUrlExtn() {\n\t\treturn urlExtn;\n\t}", "title": "" }, { "docid": "da8821e1e600e1e6f39dc10f1208781d", "score": "0.60978436", "text": "@Override\n public URI getComponentURI() {\n String uriStr = DIRECT + \"://\" + getConfig(NAME);\n return URI.create(uriStr.toString());\n }", "title": "" }, { "docid": "56f03a3538ca5feb419338d291efff3a", "score": "0.6086186", "text": "public static String getURL()\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tFile src = new File(\"./testConfigFiles/Config.property\");\n\t\t\t\tFileInputStream fis = new FileInputStream(src);\n\t\t\t\tpro = new Properties();\n\t\t\t\tpro.load(fis);\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Exception is ==\"+e.getMessage());\n\t\t\t}\n\t\t\t\n\t\t\tString url = pro.getProperty(\"URL\");\n\t\t\treturn url;\n\t\t}", "title": "" }, { "docid": "12e4e1615f11a2ae23cc5fd9faf73d3d", "score": "0.6085985", "text": "java.lang.String getLink();", "title": "" }, { "docid": "d04711fa7862f9927457365dd8cd5d04", "score": "0.6076651", "text": "public String getURLPath() {\n return getString(ATTR_URL, null);\n }", "title": "" }, { "docid": "a6a5da8cb71a81acd277e54e9fda7e90", "score": "0.6073588", "text": "public String getUrl() {\n return getUrl(\"\"); // NOI18N\n }", "title": "" }, { "docid": "b689d1494aacb0ab3c72e6948a193ca0", "score": "0.6052879", "text": "public String getURL()\n {\n if (! isWindows())\n return escapeURL(\"file:\" + getFullPath());\n \n String path = getFullPath();\n int length = path.length();\n CharBuffer cb = new CharBuffer();\n \n // #2725, server/1495\n cb.append(\"file:\");\n \n char ch;\n int offset = 0;\n // For windows, convert /c: to c:\n if (length >= 3\n \t&& path.charAt(0) == '/'\n \t&& path.charAt(2) == ':'\n \t&& ('a' <= (ch = path.charAt(1)) && ch <= 'z'\n \t || 'A' <= ch && ch <= 'Z')) {\n // offset = 1;\n }\n else if (length >= 3\n \t && path.charAt(0) == '/'\n \t && path.charAt(1) == ':'\n \t && path.charAt(2) == '/') {\n cb.append('/');\n cb.append('/');\n cb.append('/');\n cb.append('/');\n offset = 3;\n }\n \n for (; offset < length; offset++) {\n ch = path.charAt(offset);\n \n if (ch == '\\\\')\n \tcb.append('/');\n else\n \tcb.append(ch);\n }\n \n return escapeURL(cb.toString());\n \n }", "title": "" }, { "docid": "af1d2f387bffe1388feea0afe72d55b8", "score": "0.60499567", "text": "public String getUrl() {\n\t\treturn (String) metadata.get(FEATURE_URL);\n\t}", "title": "" }, { "docid": "510c12672429ed465d0decb673211547", "score": "0.6048334", "text": "public String getURL() {\n\t\treturn mURL.toString();\n\t}", "title": "" }, { "docid": "a8c7dbf363ebb1e5a70a1c941e8326c3", "score": "0.60305214", "text": "public abstract String getURL();", "title": "" }, { "docid": "6a2abc0d6422ce4d2c0f06cf75e33c21", "score": "0.6020619", "text": "protected String getModuleUrl () {\n String moduleUrl = Location.getHref ();\n\n if (moduleUrl.indexOf (\"#\") != -1) {\n moduleUrl = moduleUrl.substring (0, Location.getHref ().indexOf (\"#\"));\n }\n\n return moduleUrl;\n }", "title": "" }, { "docid": "d937e863e0eb7859878b27173bf1e740", "score": "0.6019517", "text": "public String findProtocolUrl() {\n\t\tString hostpart = this.url.getProtocol() + \"://\" + this.url.getHost();\n\t\tint locationProtocolHtml = this.description\n\t\t\t\t.indexOf(\"Protokoll HTML-Format:\");\n\t\tif (locationProtocolHtml > 0) {\n\t\t\tString hrefPattern = \"<a href='\";\n\t\t\tint locationProtocolHref = this.description.indexOf(hrefPattern,\n\t\t\t\t\tlocationProtocolHtml);\n\t\t\tlocationProtocolHref += hrefPattern.length();\n\t\t\tint endLocationProtocolHref = this.description.indexOf('\\'',\n\t\t\t\t\tlocationProtocolHref);\n\t\t\treturn hostpart\n\t\t\t\t\t+ this.description.substring(locationProtocolHref,\n\t\t\t\t\t\t\tendLocationProtocolHref);\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4cd533e1ef46b2a43dec285fb8a9cfae", "score": "0.6018658", "text": "public String getEntityUrl(Reference arg0) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "93f45ed8011641169165bf835d3aa180", "score": "0.60006326", "text": "private String getDocumentationBaseUrl(String osDocsPath) {\n File f = new File(osDocsPath);\n \n if (f.isDirectory()) {\n try {\n // Note: to create a file:// URL, one would typically use something like\n // f.toURI().toURL().toString(). However this generates a broken path on\n // Windows, namely \"C:\\\\foo\" is converted to \"file:/C:/foo\" instead of\n // \"file:///C:/foo\" (i.e. there should be 3 / after \"file:\"). So we'll\n // do the correct thing manually.\n \n String path = f.getAbsolutePath();\n if (File.separatorChar != '/') {\n path = path.replace(File.separatorChar, '/');\n }\n \n // For some reason the URL class doesn't add the mandatory \"//\" after\n // the \"file:\" protocol name, so it has to be hacked into the path.\n URL url = new URL(\"file\", null, \"//\" + path); //$NON-NLS-1$ //$NON-NLS-2$\n String result = url.toString();\n return result;\n } catch (MalformedURLException e) {\n // ignore malformed URLs\n }\n }\n \n return null;\n }", "title": "" }, { "docid": "b93ff879ce2b6df99370a65f746b6b57", "score": "0.5985943", "text": "String GetBaseURI();", "title": "" }, { "docid": "a9acaa71f3b61c9923f8c890557a0317", "score": "0.5963458", "text": "String getSourceUrl();", "title": "" }, { "docid": "8058df03f136f9f3a47e0a53c2900fac", "score": "0.5955519", "text": "public String getUrl() {\n\t\treturn url.get();\n\t}", "title": "" }, { "docid": "37d644bc119e0182393649641b991871", "score": "0.5938507", "text": "com.google.protobuf.StringValue getPdfUrl();", "title": "" }, { "docid": "4475ed8f7db79d09bb41f2bf5b29af6b", "score": "0.59193593", "text": "public abstract String getXmlUrl();", "title": "" }, { "docid": "604ad230f95e94b59bfdd4bb730ca7e1", "score": "0.5913694", "text": "@Override\n\tprotected String getURL() {\n\t\treturn APP.getAppConfig().getRequest_news()+\"cctv11/paper\";\n\t}", "title": "" }, { "docid": "70a0a90ea68a31c6dadcfcb3197cefea", "score": "0.5912665", "text": "private String getFullLink() {\n String link;\n if (url.startsWith(WWW_KW)) {\n link = HTTPS_KW + url;\n } else {\n link = url;\n }\n return link;\n }", "title": "" }, { "docid": "1e689044aebafd177460c132a8333a0b", "score": "0.5909459", "text": "@Override\n\tpublic URL url()\n\t{\n\t\tURL url = null;\n\t\ttry\n\t\t{\n\t\t\turl = file.toURI().toURL();\n\t\t}\n\t\tcatch (MalformedURLException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn url;\n\t}", "title": "" }, { "docid": "1e07e7ec8894a1608b118ddbb23cc4a2", "score": "0.5904404", "text": "protected String getURLString(String jarURL)\n {\n if(PROTOCOL.endsWith(\":\") && jarURL.startsWith(\":\"))\n {\n\n return (PROTOCOL + jarURL.substring(1) + \"!/\" + FILE_PATH + ABOUT_HTML_TITLE);\n }\n else\n {\n return (PROTOCOL + jarURL + \"!/\" + FILE_PATH + ABOUT_HTML_TITLE);\n }\n }", "title": "" }, { "docid": "8ae85c93930f71bb2ffe1491959e9efb", "score": "0.5896326", "text": "@AutoEscape\n\tpublic String getUrl();", "title": "" }, { "docid": "856bbaaff513091b010fdd33a40b5e3b", "score": "0.5893588", "text": "String getLOCAL_ONTOLOGY_URI();", "title": "" }, { "docid": "e7bb56fd988c651b8fb51dc665f4d7e5", "score": "0.5893315", "text": "public final String getUrl() {\n\t\treturn url.applyParameterValues();\n\t}", "title": "" }, { "docid": "cde13a2cfca9690d35391fefddbdcc55", "score": "0.5870503", "text": "public String getUrl() {\n\t\treturn getId();\n\t}", "title": "" }, { "docid": "3ecabadb6fd2aafb93d62727487ca2d1", "score": "0.5858864", "text": "public URI getBaseUri ()\n\t{\n\t\treturn doc.getBaseUri ();\n\t}", "title": "" }, { "docid": "3c1036104dc9ead2c2ea075e7af9eccc", "score": "0.5854126", "text": "String getURL() {\n String url;\n if (request != null) {\n url = (String)request.getRequest().get(\"url\");\n } else {\n url = wsRequest.getURL();\n }\n return url;\n }", "title": "" }, { "docid": "2fc2db42afe54a807af0c4d833246ff0", "score": "0.5829823", "text": "public static String getUrl() {\r\n\t\treturn url;\r\n\t}", "title": "" }, { "docid": "b4869bd98ca885001674ed4c2fc35574", "score": "0.5828876", "text": "public String getUrl(long docId) {\n DocIdUrlInfo item = docIdIndex.get(docId);\n if (item == null)\n return null;\n return item.getURL();\n }", "title": "" }, { "docid": "da85975a2018ed1c3f621fd60da5296f", "score": "0.58121455", "text": "org.apache.xmlbeans.XmlAnyURI xgetHref();", "title": "" }, { "docid": "7d48ddd142ad43b5e1881d2bc93823e5", "score": "0.58089316", "text": "public String getLink() {\n \t\tString link = UrlSupport.concat(new String[] { getServername(), Env.getMountpoint() });\n \t\tif (link.endsWith(\"/\")) {\n \t\t\tlink = link.substring(0, link.length() - 1);\n \t\t}\n \t\treturn link;\n \t}", "title": "" }, { "docid": "605927b21d9a4d598f8de2430af084ea", "score": "0.580502", "text": "java.lang.String getWeblink();", "title": "" }, { "docid": "605927b21d9a4d598f8de2430af084ea", "score": "0.580502", "text": "java.lang.String getWeblink();", "title": "" }, { "docid": "605927b21d9a4d598f8de2430af084ea", "score": "0.580502", "text": "java.lang.String getWeblink();", "title": "" }, { "docid": "44998bf098a12bb69911cb8dd31807ed", "score": "0.58004034", "text": "public static String composeURLforDocument (String mode, int type, String qualifiedName)\n {\n return \"protected/\" + mode + \"/document/type-code/\" + type + \"/qname/\" + qualifiedName;\n }", "title": "" }, { "docid": "f6589b105f1122fe88a826a0821ab306", "score": "0.57988256", "text": "public URL getURL();", "title": "" }, { "docid": "51538e2a1c522ae370e07d91c489eb4d", "score": "0.57860243", "text": "public String getUrl()\n\t\t{\n\t\t\treturn getAccessPoint(false) + m_id;\n\n\t\t}", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "d1b00ebc67a878f265ac4a99b2581b3e", "score": "0.5783519", "text": "java.lang.String getUrl();", "title": "" }, { "docid": "38c200ecd0e16483d464ee3ef4cdec1d", "score": "0.5780612", "text": "String getReference();", "title": "" }, { "docid": "38c200ecd0e16483d464ee3ef4cdec1d", "score": "0.5780612", "text": "String getReference();", "title": "" }, { "docid": "88f367742cababf74d480c76a94c2b19", "score": "0.57799757", "text": "public String getHTTPURL();", "title": "" }, { "docid": "03c282afb33cc597cc5651cb9f6e7d48", "score": "0.5773498", "text": "private void getAppUrlString() {\n appUrlString = app.getURL().toExternalForm();\n int lastSlash = appUrlString.lastIndexOf(\"/\");\n if (lastSlash == appUrlString.length() - 1) {\n // go back one more slash, the string ended with /\n lastSlash = appUrlString.lastIndexOf(\"/\", lastSlash - 1);\n }\n appUrlString = appUrlString.substring(0, lastSlash + 1);\n // System.err.println(\"appUrlString with slash=\"+appUrlString);\n }", "title": "" }, { "docid": "6361de3c71071f6488a845d8ac6cdc07", "score": "0.57731223", "text": "Path getArticlePath(URL url);", "title": "" }, { "docid": "3b8630321b08df56e086830dfdb9602d", "score": "0.57695556", "text": "public String getUrl ()\n\t{\n\t\treturn url;\n\t}", "title": "" }, { "docid": "ecde4f43fc14b1085e615301e646dc47", "score": "0.5769237", "text": "public String getURL() {\n\t\treturn URL;\n\t}", "title": "" }, { "docid": "cb75ed42dabfb4e7c4579732f3d5d746", "score": "0.5767513", "text": "String getComponentRef();", "title": "" }, { "docid": "578df9250e4b6e645bf4d28ada90211c", "score": "0.5766711", "text": "String uri();", "title": "" }, { "docid": "7c6f04319bad370798016f9466147307", "score": "0.57493395", "text": "java.lang.String getReference();", "title": "" }, { "docid": "7c6f04319bad370798016f9466147307", "score": "0.57493395", "text": "java.lang.String getReference();", "title": "" }, { "docid": "7c6f04319bad370798016f9466147307", "score": "0.57493395", "text": "java.lang.String getReference();", "title": "" }, { "docid": "7b306d754898482483e3975d85f99f45", "score": "0.574842", "text": "public Input getUrl()\n\t{\n\t\tif (url != null)\n\t\t\treturn url;\n\t\turl = new LabelInput(getManifest().getURL());\n\t\treturn url;\n\t}", "title": "" }, { "docid": "355d5c56838f4adb51471b18680d5b17", "score": "0.5746792", "text": "public String getUrlAsString() {\n\t\treturn getUrl();\n\t}", "title": "" }, { "docid": "61d97bc0f6eab4daf0d7e172d21e7443", "score": "0.57446545", "text": "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\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 url_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "b7913f1777d762a5cca8ab884a28aef3", "score": "0.57431006", "text": "String getRef();", "title": "" }, { "docid": "b7913f1777d762a5cca8ab884a28aef3", "score": "0.57431006", "text": "String getRef();", "title": "" }, { "docid": "b7913f1777d762a5cca8ab884a28aef3", "score": "0.57431006", "text": "String getRef();", "title": "" }, { "docid": "2a6a6793fdf5320fcacb0afed340b590", "score": "0.574037", "text": "public String url() {\n return this.innerProperties() == null ? null : this.innerProperties().url();\n }", "title": "" }, { "docid": "e5c1862703f77b94f3a208ec3b78d9d9", "score": "0.5736816", "text": "URL getDescription();", "title": "" }, { "docid": "75373e2af8aa45131ad2a62ff0a0e690", "score": "0.5735526", "text": "String getURI();", "title": "" }, { "docid": "75373e2af8aa45131ad2a62ff0a0e690", "score": "0.5735526", "text": "String getURI();", "title": "" }, { "docid": "ce52f3022a5cca8c30309fd4feb61fe4", "score": "0.57344353", "text": "private CharSequence getThingUrl(int position) {\n String url = getUrl(position);\n if (!TextUtils.isEmpty(url)) {\n return url;\n }\n\n // Comment references just provide a thing and link id.\n String thingId = getThingId(position);\n String linkId = getLinkId(position);\n return Urls.commentListing(thingId, linkId, -1, -1, Urls.TYPE_HTML);\n }", "title": "" }, { "docid": "a75a824507a705fd98ba484ac11ae4dd", "score": "0.57341886", "text": "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\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 url_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "a75a824507a705fd98ba484ac11ae4dd", "score": "0.57341886", "text": "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\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 url_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "ccc276eafbfa2de5a0879c80532bccce", "score": "0.5729659", "text": "public String getDocumentBase();", "title": "" }, { "docid": "a3b8b4bd4422212e6f8c4005c98850b4", "score": "0.5717077", "text": "public String getURL(){\r\n\t\treturn _reqURL;\r\n\t}", "title": "" }, { "docid": "631d4ad1b047ff898283a246a9e4606c", "score": "0.57142705", "text": "@ApiModelProperty(required = true, value = \"Reference of the product specification.\")\n @NotNull\n\n\n public String getHref() {\n return href;\n }", "title": "" }, { "docid": "94fab9a83b4604cf1a100617db19bbcc", "score": "0.57141083", "text": "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\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 url_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "811488f96b620cb71e8f8233fc5a0eeb", "score": "0.5708606", "text": "public String getURL() {\n\t\treturn this.url;\n\t}", "title": "" }, { "docid": "811488f96b620cb71e8f8233fc5a0eeb", "score": "0.5708606", "text": "public String getURL() {\n\t\treturn this.url;\n\t}", "title": "" }, { "docid": "13b0e5420f177e1b76c42c8db1b2ede8", "score": "0.5698919", "text": "public static String composeURLforDocument (String mode, String typeName, String qualifiedName)\n {\n return \"protected/\" + mode + \"/document/type-name/\" + typeName + \"/qname/\" + qualifiedName;\n }", "title": "" }, { "docid": "6f05adea7f8afe2d469fd5f709b26518", "score": "0.56939673", "text": "public final String URL() {\n return urlString;\n }", "title": "" }, { "docid": "d7daf0efe100ca28ebfaf0958fa92f6b", "score": "0.56903815", "text": "public String getUrl() {\n return url.toString();\n }", "title": "" }, { "docid": "8ef218126a748e06e0add14d2b68bdda", "score": "0.5690093", "text": "public java.lang.String getHref()\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(HREF$2);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "title": "" } ]
88dcb7b4575f7fe83925040563da5b0c
Returns the location of this item.
[ { "docid": "44629a7f5b6397d557c618ae1de4dac4", "score": "0.68019706", "text": "public String getLocation() {\n\t\treturn location_;\n\t}", "title": "" } ]
[ { "docid": "1e8a24f5457350995ab29d35a4a8a891", "score": "0.82316685", "text": "public String getItemLocation() {\r\n return itemLocation;\r\n }", "title": "" }, { "docid": "2afd87e486ef222ab4ec74fb65a71f71", "score": "0.7875882", "text": "public int getItemLocation() {\r\n return itemLocation;\r\n }", "title": "" }, { "docid": "c1569fd2e9a923dafa3d8a65e19878be", "score": "0.725975", "text": "public Object getLocation() {\n\t\treturn this.location;\n\t}", "title": "" }, { "docid": "53eea9891c5f5b27ebb1116732850d63", "score": "0.7131825", "text": "public Point getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "f36ed15d0d9a6ea94e957de6ca0637a2", "score": "0.7002927", "text": "public String getLocation() {\n\t\treturn this.location;\n\t}", "title": "" }, { "docid": "3990cc21f0317a770e251063002d8d05", "score": "0.7002578", "text": "public GridVector getLocation()\n\t{\n\t\treturn location;\n\t}", "title": "" }, { "docid": "21789ae3e128f9c3fb3ceea1d4890909", "score": "0.69705343", "text": "public String getLocation() {\r\n\t\treturn location;\r\n\t}", "title": "" }, { "docid": "3a9c48e95fa4385ff1686609367f035a", "score": "0.6952827", "text": "public Point getLocation() {\t\t\t\r\n\t\treturn (Point)getProperty(\"location\");\t\t\t\r\n\t}", "title": "" }, { "docid": "b70ec8ae4e8f373146ae762773d80a1e", "score": "0.69521606", "text": "public Location getLocation() {\n\t\treturn this.loc;\n\t}", "title": "" }, { "docid": "d852c0c641e076c16d8347e7d1654588", "score": "0.6947584", "text": "public SourceLocation getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "3ab86e4dee5f5ff5c1310f0d3011578e", "score": "0.691842", "text": "public String getLoc() {\r\n return loc;\r\n }", "title": "" }, { "docid": "254ee3d4338a0067ef53283f0775fc62", "score": "0.6917596", "text": "public String getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "254ee3d4338a0067ef53283f0775fc62", "score": "0.6917596", "text": "public String getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "254ee3d4338a0067ef53283f0775fc62", "score": "0.6917596", "text": "public String getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "254ee3d4338a0067ef53283f0775fc62", "score": "0.6917596", "text": "public String getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "254ee3d4338a0067ef53283f0775fc62", "score": "0.6917596", "text": "public String getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "254ee3d4338a0067ef53283f0775fc62", "score": "0.6917596", "text": "public String getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "09caa6009c3cda15a72170476b1920fd", "score": "0.6879351", "text": "public String getLoc() {\n\t\treturn loc;\n\t}", "title": "" }, { "docid": "6dc71804968dbc4085ae0dcb249ed0d0", "score": "0.68721175", "text": "public int getLocationSlot()\n\t{\n\t\tif (Config.ASSERT)\n\t\t\tassert _loc == ItemLocation.PAPERDOLL || _loc == ItemLocation.PET_EQUIP || _loc == ItemLocation.FREIGHT || _loc == ItemLocation.INVENTORY;\n\n\t\treturn _locData;\n\t}", "title": "" }, { "docid": "4bfeda04ac7e88a84c553380ffc9b77f", "score": "0.68644017", "text": "public Location getLocation() {\n\t\treturn this.location;\n\t}", "title": "" }, { "docid": "6258c75f06825233f9e2848cf73ca2e4", "score": "0.6852717", "text": "public String getLocation() {\n return this.location;\n }", "title": "" }, { "docid": "6258c75f06825233f9e2848cf73ca2e4", "score": "0.6852717", "text": "public String getLocation() {\n return this.location;\n }", "title": "" }, { "docid": "ffd10d740cbc1423c471d29dcc03037f", "score": "0.6843341", "text": "public java.lang.Integer getLocation () {\r\n\t\treturn location;\r\n\t}", "title": "" }, { "docid": "ad827102f80d41a0cc0e2d5448708a78", "score": "0.68396026", "text": "public String location() {\n return this.location;\n }", "title": "" }, { "docid": "ad827102f80d41a0cc0e2d5448708a78", "score": "0.68396026", "text": "public String location() {\n return this.location;\n }", "title": "" }, { "docid": "ad827102f80d41a0cc0e2d5448708a78", "score": "0.68396026", "text": "public String location() {\n return this.location;\n }", "title": "" }, { "docid": "ad827102f80d41a0cc0e2d5448708a78", "score": "0.68396026", "text": "public String location() {\n return this.location;\n }", "title": "" }, { "docid": "0a84e23899097b09ac55c3b95a35a429", "score": "0.68249655", "text": "public Location getLocation() {\r\n\t\treturn location;\r\n\t}", "title": "" }, { "docid": "32a7fa98eea4b3667317e1b4226da95f", "score": "0.68197155", "text": "public String getLocation() {\r\n return location;\r\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "614ba8e0d6718648e4ac42e02c5a5cd3", "score": "0.677968", "text": "public String getLocation() {\n return location;\n }", "title": "" }, { "docid": "70f2edeb22f71ad97ad3ce8299caeff2", "score": "0.675764", "text": "public java.lang.CharSequence getLocation() {\n return location;\n }", "title": "" }, { "docid": "23f17f0cddd5e3439ca8d160b61fa599", "score": "0.673572", "text": "public Point getLocation() {\n\t\treturn new Point(x,y);\n\t}", "title": "" }, { "docid": "86961d244c6fe9166cb5bcc08148b562", "score": "0.6731715", "text": "public Point getLocation() {\r\n\t return location;\r\n\t }", "title": "" }, { "docid": "f0310af13208d4b15fdc0dcc9724bee8", "score": "0.67306966", "text": "public java.lang.CharSequence getLocation() {\n return location;\n }", "title": "" }, { "docid": "68d2a137b75017b7daed8017b8af0f0f", "score": "0.6715274", "text": "public Position getLocation();", "title": "" }, { "docid": "31c33355b2ea2b7871308aeb1c303d06", "score": "0.6703557", "text": "public String getLocation() {\n \n return this.location;\n }", "title": "" }, { "docid": "31c33355b2ea2b7871308aeb1c303d06", "score": "0.6703557", "text": "public String getLocation() {\n \n return this.location;\n }", "title": "" }, { "docid": "bc4514f22838742c7bbac10dabf14f0f", "score": "0.6673769", "text": "public String getPosition() {\n return this.position;\n }", "title": "" }, { "docid": "f95d903c0e43b5e3d9cab485343e034d", "score": "0.6673403", "text": "public String getPosition() {\n\t\treturn myPosition;\n\t}", "title": "" }, { "docid": "f8346cbf2dc4cf48072af76dc320687a", "score": "0.666679", "text": "public Location getLocation() {\n return this.location;\n }", "title": "" }, { "docid": "1ff91b797d7a7977ed258ef7187c7992", "score": "0.66592735", "text": "public String getPosition() {\n\t\treturn this.position;\n\t}", "title": "" }, { "docid": "fa06bc09e52f28693856817454a0cdbc", "score": "0.66287345", "text": "public String getLocation()\n {\n return location;\n }", "title": "" }, { "docid": "fa06bc09e52f28693856817454a0cdbc", "score": "0.66287345", "text": "public String getLocation()\n {\n return location;\n }", "title": "" }, { "docid": "2773a517a023bf2ed1b0bb2e34dfb62b", "score": "0.6621363", "text": "public Location getLocation() {\n return this.location;\n }", "title": "" }, { "docid": "8e05d60f9956ab943c7bc24935646cab", "score": "0.6621305", "text": "public IPath getLocation() {\n return this.location;\n }", "title": "" }, { "docid": "48b95dfe7fdae8b791a0a0a01d9baa15", "score": "0.66144246", "text": "public Location getLocation() {\r\n\t\treturn topLeftCornerLocation;\r\n\t}", "title": "" }, { "docid": "8a8b6e684cfc0610f310b6004d8c5faf", "score": "0.66066116", "text": "public Location getLocation() {\n return tile;\n }", "title": "" }, { "docid": "55c9ee9e437818859ec43c8941625f23", "score": "0.65827304", "text": "public Location getLocation() {\n return location;\n }", "title": "" }, { "docid": "55c9ee9e437818859ec43c8941625f23", "score": "0.65827304", "text": "public Location getLocation() {\n return location;\n }", "title": "" }, { "docid": "55c9ee9e437818859ec43c8941625f23", "score": "0.65827304", "text": "public Location getLocation() {\n return location;\n }", "title": "" }, { "docid": "55c9ee9e437818859ec43c8941625f23", "score": "0.65827304", "text": "public Location getLocation() {\n return location;\n }", "title": "" }, { "docid": "f4324dfb6c909548b6b97ac130b2d3c8", "score": "0.65776455", "text": "public String getLocation() {\r\n \treturn marker.getLocationDisplay();\r\n }", "title": "" }, { "docid": "db2db9ca491526afdc6470534d4f029d", "score": "0.6570647", "text": "public String getLocation() {\n \t\treturn (location);\n \t}", "title": "" }, { "docid": "ebe3d5d17f19cc040198867570778ead", "score": "0.65675133", "text": "@Override\n\tpublic Point getLocation() {\n\t\treturn new Point(x,y);\n\t}", "title": "" }, { "docid": "b223055017d1b766b32b0694c1d1f2e6", "score": "0.6563034", "text": "public Location getLocation()\n {\n return this.currentLocation;\n }", "title": "" }, { "docid": "031910ab856ddafd82624f661af29d42", "score": "0.6542877", "text": "public int getPosition() {\n return this.position;\n }", "title": "" }, { "docid": "031910ab856ddafd82624f661af29d42", "score": "0.6542877", "text": "public int getPosition() {\n return this.position;\n }", "title": "" }, { "docid": "bcba5bb7b5aa79d640c87fa9859843cb", "score": "0.6540503", "text": "public String getPosition() {\n return position;\n }", "title": "" }, { "docid": "7ff38e2a932c6410bb810e93e8d6ae1a", "score": "0.6527444", "text": "public String getPosition() {\n return (String) get(PROPERTY_POSITION);\n }", "title": "" }, { "docid": "8be2e18fef6ccbb25b292536a65e2de0", "score": "0.65185326", "text": "public int getPosition() {\n if (super.getProperty(POSITION)==null) {\n return -1;\n }\n return Integer.parseInt(super.getProperty(POSITION));\n }", "title": "" }, { "docid": "4f17bd599e32c4e015de75a192128a91", "score": "0.6516908", "text": "public Location getLocation(){\n\t\treturn loc;\n\t}", "title": "" }, { "docid": "654d6f12ccc92d5af8854c511a42c342", "score": "0.6516071", "text": "public String getPosition()\n {\n return position;\n }", "title": "" }, { "docid": "4196433ce9742bfec9ceb9ac3798f701", "score": "0.65005046", "text": "public int getPosition() {\r\n return this.position;\r\n }", "title": "" }, { "docid": "dac01c3047abc251257694ccbe9ba308", "score": "0.64930004", "text": "public Island getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "a4cfe82a6fc85723b779457a50dca30d", "score": "0.6486606", "text": "public Location getLocation()\r\n {\r\n return location;\r\n }", "title": "" }, { "docid": "2a5a60df89bbbd3c42d1f2ca38cd3adb", "score": "0.64806825", "text": "public String getLocation(){\r\n\t\treturn location.get();\r\n\t}", "title": "" }, { "docid": "d6f44d3d1bb59f6be2ff4c24f567e00c", "score": "0.64747584", "text": "public PSLocation getLocation()\n {\n return m_location;\n }", "title": "" }, { "docid": "80a510e21ad922d8caf2aefcd8f7afe7", "score": "0.6469409", "text": "public int get_Position() {\n\t\treturn this.position;\n\t}", "title": "" }, { "docid": "54e9a32ec78092deb120730474be5501", "score": "0.6468914", "text": "public Integer getPosition() {\n return (Integer) get(\"position\");\n }", "title": "" }, { "docid": "658d250454d1e00c5e046fbe268d4f13", "score": "0.6468255", "text": "Position getLocation();", "title": "" }, { "docid": "8ec3d1e285a10ab4e879b3a4823aff87", "score": "0.6464304", "text": "public Coordinate getPosition() {\n\t\treturn position;\n\t}", "title": "" }, { "docid": "50ab3510519d84e948d10e3c172f30bf", "score": "0.6460932", "text": "public String getPosition() {\n\n return position;\n\n }", "title": "" }, { "docid": "a56006aada43def249bdd6b7124bd526", "score": "0.6453609", "text": "public void setItemLocation(int location) {\r\n itemLocation = location;\r\n }", "title": "" }, { "docid": "dcfc899fb480649c0454628e765fe3d0", "score": "0.6449642", "text": "public int getPosition() {\n return mPosition;\n }", "title": "" }, { "docid": "97457317164bd2ffae82dccbf6009341", "score": "0.64433277", "text": "public int getPosition()\n\t{\n\t\treturn this.position;\n\t}", "title": "" }, { "docid": "97457317164bd2ffae82dccbf6009341", "score": "0.64433277", "text": "public int getPosition()\n\t{\n\t\treturn this.position;\n\t}", "title": "" }, { "docid": "1d2c0e638868dba9ab286c2465ee016c", "score": "0.64267814", "text": "public Location getLocation() {\n\t\t\n\t\treturn new Location(location);\n\t}", "title": "" }, { "docid": "344133a3dce5ab6d956454c522529b38", "score": "0.64249927", "text": "public static String getLocation() {\n\t\treturn location;\n\t}", "title": "" }, { "docid": "bba9acc07d5c6824f0ae215bc73b2410", "score": "0.6419027", "text": "public com.fretron.Model.Place getLocation() {\n return location;\n }", "title": "" }, { "docid": "83af671102cff40d7b29f025a95fb0a5", "score": "0.64125633", "text": "public Integer getPosition() {\n return position;\n }", "title": "" }, { "docid": "83af671102cff40d7b29f025a95fb0a5", "score": "0.64125633", "text": "public Integer getPosition() {\n return position;\n }", "title": "" }, { "docid": "f3ea368bcf0cc2fcc6e9fa8ad3685c92", "score": "0.640685", "text": "public int getPosition() {\n return position;\n }", "title": "" }, { "docid": "612589febc96cf195ac02d01f894645c", "score": "0.63987356", "text": "public com.fretron.Model.Place getLocation() {\n return location;\n }", "title": "" }, { "docid": "540dada254f1dcc59d8331e58b2cc6ec", "score": "0.639631", "text": "public Vector2D getPosition() {\n return metaData.getPosition();\n }", "title": "" }, { "docid": "2011a669527963a340d0b566f35061bc", "score": "0.6395085", "text": "public java.lang.String getLocation()\r\n {\r\n return this.location;\r\n }", "title": "" }, { "docid": "bc5bd5fd1071e060d81ef3e9a4ceecf8", "score": "0.63888437", "text": "public int getPosition() {\n\t\treturn position;\n\t}", "title": "" }, { "docid": "11d47b1aa5836f39ceff7ca56954b248", "score": "0.6387179", "text": "public java.lang.String getLocation() {\n return location;\n }", "title": "" }, { "docid": "62db686088ec7354bdfacb213c5bcaba", "score": "0.6383142", "text": "public java.lang.String getLocation()\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(LOCATION$16);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "title": "" }, { "docid": "cbadf63f60041d325bc6c239aea2ecb4", "score": "0.6382461", "text": "public Integer getPosition() {\r\n return position;\r\n }", "title": "" }, { "docid": "9702091d720fd8400b6e2937a5adfdfe", "score": "0.63805884", "text": "public String getLocation() {\n return super.getMetaStoreTable().getSd().getLocation();\n }", "title": "" } ]
aa31ec95d6a779dbd57de77003835b95
When some button is clicked in the gui
[ { "docid": "cee5c78a0ef00ed7c46375edfd20d8e4", "score": "0.0", "text": "public void onActionButtonClick(View view) {\n // Creates an instance of the dialog\n GirafProfileSelectorDialog multiSelectDialog = GirafProfileSelectorDialog.newInstance(this,getGuardianIdentifier(),false,true,\"Select some profiles for some purpose\", PROFILE_SELECT_DIALOG_ID);\n\n // Shows the dialog\n multiSelectDialog.show(getSupportFragmentManager(), PROFILE_SELECT_DIALOG_TAG);\n }", "title": "" } ]
[ { "docid": "1677e6803d0c1d7dbba41ee8e870a846", "score": "0.7514049", "text": "void buttonWasPressed();", "title": "" }, { "docid": "dd9ca478244a379215c1caab7c4b9b6b", "score": "0.7510377", "text": "public void buttonSelected();", "title": "" }, { "docid": "56b84adbce8f117bd6742431eb9e2619", "score": "0.7493452", "text": "public void lefButtonClicked();", "title": "" }, { "docid": "7f29abcb7c511375bf7ae5debb6b105d", "score": "0.73354995", "text": "private void BtnPilihActionPerformed(java.awt.event.ActionEvent evt) {\n \n }", "title": "" }, { "docid": "ae2aa85a3e1757933c7b3ffcf5fc5c43", "score": "0.7311286", "text": "@FXML\n\tprotected void buttonClicked(ActionEvent evt) throws Exception {\n\t\t// Store button pressed\n\t\tButton button = (Button)evt.getSource();\t// Get button pressed\n\t\tfinal String buttonText = button.getText();\t// Get button text\n\n\t\t// Perform action based on button text\n\t\tif (buttonText.equals(\"Back\")) \t\t// Go Back\n\t\t\tback(button);\n\t\telse if (buttonText.equals(\"Play\")) \t// Start Game\n\t\t\tstart(button);\n\t\telse if (buttonText.equals(\"Submit\")) { // Add Score, then it takes you back to main menu\n\t\t\tsubmit(button);\n\t\t\tsetTop5();\n\t\t}\n\t\telse \t\t\t\t\t\t\t\t\t\t// Exit\n\t\t\tSystem.exit(0);\n\t}", "title": "" }, { "docid": "5324624da33df728054d41267c241d99", "score": "0.7302954", "text": "public void btnClicked (String buttonName);", "title": "" }, { "docid": "31f4fd0291d0eb9c6474d8dc3061a0be", "score": "0.7248012", "text": "void clickPlotButton();", "title": "" }, { "docid": "dd22a17f61e7def4e01bf6fbfa1f59f9", "score": "0.7240063", "text": "public void doClick() {\r\n\t\tbutton.doClick();\r\n\t}", "title": "" }, { "docid": "a5af7f61ae3746e236055483a7fbdb97", "score": "0.7232838", "text": "@Override\n public void actionPerformed(ActionEvent ae){\n Object button = ae.getSource();\n\n // Si le joueur appuie sur 'yes', le nombre choisi dans le menu déroulant s'affiche dans le bouton choisi\n if (((JButton) button).getText() == \"Yes\")\n {\n Object newButtonTitle = this.choiceNumberBox.getSelectedItem();\n GUI.button.setText(\"\" + newButtonTitle);\n GUI.grilleToConsole();\n GUI.grille.verifVictoire();\n if(GUI.grille.getVictory())GUI.victoryPanel.setVisible(true);\n }\n\n // Dans tous les cas la fenetre se ferme\n this.dispatchEvent(new WindowEvent(this, WindowEvent.WINDOW_CLOSING));\n\n }", "title": "" }, { "docid": "e1d7c1ddfa5f4f29cdc0eafecf6156aa", "score": "0.7215037", "text": "public void yesButtonClicked();", "title": "" }, { "docid": "e7ff1e910fc24348f0170de3cffb924e", "score": "0.7187516", "text": "public void OKButtonClicked(){\n\t}", "title": "" }, { "docid": "deedc8a6b1d9e383cbeba47a555c9966", "score": "0.7127043", "text": "@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tverificareButon(buton);\r\n\t\t\t\t\t} catch (InterruptedException e1) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t}", "title": "" }, { "docid": "b4688bb16e9945df003caa71f3d15fc9", "score": "0.70946896", "text": "protected void actionPerformed(GuiButton par1GuiButton)\n {\n if (!par1GuiButton.enabled)\n {\n return;\n }\n\n if (par1GuiButton.id == 1)\n {\n guiScreen.confirmClicked(false, 0);\n }\n else if (par1GuiButton.id == 0)\n {\n serverListStorage.host = serverTextField.getText();\n guiScreen.confirmClicked(true, 0);\n }\n }", "title": "" }, { "docid": "2cfe9942b294a7cccf4b94bc71d2b5b9", "score": "0.708679", "text": "private void btnAyudaActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "d7156ca5856f3c0d055efb1db015054e", "score": "0.7073875", "text": "void clicked();", "title": "" }, { "docid": "cfb85f37af45db930d5fd091cfaca0f6", "score": "0.7039186", "text": "void controlButtonPressed();", "title": "" }, { "docid": "ab25f19f05abb6561b2e30a3e8dfb1c6", "score": "0.70200497", "text": "private void jButton11ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "d98f26566ffb7e908c2bd0b529f6c091", "score": "0.70152086", "text": "public void SEHIZOCLICK(ActionEvent actionEvent) {\n Boton.setText(\"YEEEEAH\");\n\n drawStuff();\n\n\n }", "title": "" }, { "docid": "5b09c8814248a698dc5cc9615ddedfa5", "score": "0.70106936", "text": "private void jButton1ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "e2dd02583d4e5943c33cf909070cc09b", "score": "0.6992118", "text": "private void btnSimpsonuntercioActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "f50049360a144f54e9d926c01241a053", "score": "0.69680005", "text": "@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\tvisi();\r\n\t\t\t\t}", "title": "" }, { "docid": "a72ca71b90dbfe41043485d75f167735", "score": "0.6961741", "text": "@FXML\r\n\tpublic void buttoncontrol(ActionEvent event) throws Exception { \r\n\t\tcloseMain(stage1);\r\n\t\tif(howToDo.isSelected()){\r\n\t\t\topenNewLayout(\"/view/HowToDoLayout.fxml + Show How To Play...\");\r\n\t\t}else if(play.isSelected()){\r\n\t\t\topenNewLayout(\"/view/GamePlayOptions.fxml + Choice What To Play...\");\r\n//\t\topenSecondLayout(\"/view/PlayLayout.fxml + It's The Gaming Plot...\"); \t\t\r\n\t\t}else if(scoure.isSelected()){\r\n\t\t\topenNewLayout(\"/view/ScoureBoardLayout.fxml + Scoure Board Is Here...\"); \t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2e48491e562e9df45615c84e73f9cfd4", "score": "0.6957904", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n okClick();\n }", "title": "" }, { "docid": "7dd2e164518e82a7f5b5f99831951741", "score": "0.6957573", "text": "private void btnSimpsonuntercioGeneralizadoActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "4b849399d64a94c3b33323749c9b4734", "score": "0.69394386", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tclickedAbbrechen();\r\n\t\t\t}", "title": "" }, { "docid": "944099043eebb6707365f9401f0112c9", "score": "0.691253", "text": "@Override\r\n\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\t\r\n\t\t\t\t\tselectAction();\r\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "8ac9c1bcfdf61330c3ce0716f7410fad", "score": "0.6910447", "text": "void GoButtonPressed();", "title": "" }, { "docid": "bb7c456c5185a967383064acf0933bc5", "score": "0.6897418", "text": "public void sendbtn(ActionEvent event) {\n\t\tsendMessage();\n\t}", "title": "" }, { "docid": "77538d0d4d80487eae65c35d8c6aaff3", "score": "0.6883199", "text": "private void btnTrapecioGeneralizadoActionPerformed(java.awt.event.ActionEvent evt) {\n}", "title": "" }, { "docid": "638189a6f36064fe91b5fb6082d8adf0", "score": "0.68760914", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\n\t\tString test = tf1.getText();\n\t\tSystem.out.println(test);\n\t\t\n\t\tif(e.getSource()==b1) {\n\t\t\tnew LoadGUI();\n\t\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "7e06b8db5124105a79e9ff0754f1fb21", "score": "0.6871081", "text": "private void jButtonUpdateMouseClicked(java.awt.event.MouseEvent evt) {\n }", "title": "" }, { "docid": "0a1ce245d2c4c514ea83b205d824817b", "score": "0.6865979", "text": "private void Button_simpanActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "104bf89ad9c36bf8238fce7e6f97b1cb", "score": "0.6862253", "text": "private void btnTrapecioSencilloActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "0bc33b0a453052e2e1bcb62248432222", "score": "0.6858716", "text": "private void kurangActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "9b68cbda66307ad67ba6c9e23adabd9a", "score": "0.6855983", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n\t}", "title": "" }, { "docid": "37ed162ed5dca60c46e6d134f1cd169e", "score": "0.6854609", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "2809d2f9ace0d35fc969c9f1723053ef", "score": "0.68493843", "text": "private void okButtonActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "9c8648cfbf32ba35f1bbd9babb857d0f", "score": "0.68473995", "text": "private void buttonPressed(ActionEvent event)\n {\n // Finding what button was pressed\n Button button = (Button) event.getSource();\n String buttonText = button.getText();\n \n // Stat button pressed\n if (buttonText.equals(\"Stats\"))\n {\n // Returning to stat screen\n changeScreen(\"statScene\");\n }\n \n // Input button pressed\n if (buttonText.equals(\"Input\"))\n {\n // Going to input screen\n changeScreen(\"inputScene\");\n }\n \n // Submit button pressed\n if (buttonText.equals(\"Submit\"))\n {\n // Checking if input is valid\n if (checkInput())\n {\n // Getting stats from input fields\n getStats();\n \n // Updating stats \n updateStats();\n \n // Clearing input screen\n clearInput();\n \n // Switching back to stats screen\n changeScreen(\"statScene\");\n }\n }\n }", "title": "" }, { "docid": "12c5bead640b0879a4a7a1f141831945", "score": "0.68436176", "text": "private void jButton12ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "6be8022b42bc64135597ecc5d9aab402", "score": "0.6843046", "text": "protected void onButtonControlSelected() {\n \t}", "title": "" }, { "docid": "38c39feea63bb348c80dbcd5afdb5336", "score": "0.68332654", "text": "private void handleButton(ActionEvent event) {\n\t\thelloText.setText(\"You clicked!\");\n\t\thelloText.setFont(Font.font(\"Helvetica\", 48));\n\t\tbutton.setDisable(true);\n\t}", "title": "" }, { "docid": "dcb0f0338a0ca45081a8198ee9e382e2", "score": "0.6807154", "text": "private void hamericanoActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "24ec102ae9215da1fdfe30af83ddfa76", "score": "0.68061817", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n \tactualizarGUI(); \n }", "title": "" }, { "docid": "796346418fa6aee6d29d548b8da876ba", "score": "0.67972434", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b3e91a8f091a30bda0c8752a6d6fea4d", "score": "0.6796307", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "b3e91a8f091a30bda0c8752a6d6fea4d", "score": "0.6796307", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "b3e91a8f091a30bda0c8752a6d6fea4d", "score": "0.6796307", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "b3e91a8f091a30bda0c8752a6d6fea4d", "score": "0.6796307", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "b3e91a8f091a30bda0c8752a6d6fea4d", "score": "0.6796307", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "4eea89e2fadf2329d622a77f599a7f2f", "score": "0.6795353", "text": "@Override\n public void actionPerformed(ActionEvent event) {\n Object source = event.getSource();\n if (source instanceof JButton) {\n JButton button = (JButton) source;\n if (button == buttonOpen) {\n openFile();\n buttonStop.setEnabled(true);\n buttonPlay.setEnabled(true);\n } else if (button == buttonStop) {\n stopPlaying();\n resetColor();\n } else if (button == buttonPlay) {\n if (!isPlaying) {\n playBack();\n } else {\n if (!isPause) {\n pausePlaying();\n buttonSaveCoordinates.setEnabled(true);\n } else {\n resumePlaying();\n }\n }\n\n } else if (button == buttonProgramStart) {\n if (!programStart) {\n programStart = true;\n button.setText(\"END\");\n buttonSaveCoordinates.setEnabled(true);\n } else {\n programStart = false;\n button.setText(\"START\");\n save();\n map.clear();\n \n }\n } else if (button == buttonConnectWalabot) {\n if (!connectWalabot) {\n connectWalabot = true;\n button.setText(\"Disconnect Walabot\");\n try{\n ProcessBuilder pb = new ProcessBuilder(\"python\",\"SensorApp.py\");\n \n pb.redirectOutput();\n pb.redirectError();\n \n// BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));\n \n new Thread(new Runnable() {\n @Override\n public void run() {\n try {\n Process p = pb.start();\n } catch (IOException ex) {\n Logger.getLogger(View.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }).start();\n //while(true){\n \n //System.out.println(in.readLine());\n //} \n \n }catch(Exception e){\n e.printStackTrace();\n }\n// pythonConnection.connectWalabot();\n //pythonConnection.callPython();\n } else {\n connectWalabot = false;\n button.setText(\"Connect Walabot\");\n pythonConnection.disconnectWalabot();\n }\n }\n }\n }", "title": "" }, { "docid": "087961a23428b10398feec9d8c20dd02", "score": "0.6789092", "text": "private void Button_SairActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "04e53b8ec4b4c2ddb54ced8cdf634272", "score": "0.67834485", "text": "public static void action() {\n ButtonT button = new ButtonT() {\n @Override\n public void click() {\n System.out.println(\"Przycisk klikniety \");\n }\n };\n button.click();\n }", "title": "" }, { "docid": "fa74d9c77e5d2ac1148a039bf2c73f75", "score": "0.6775765", "text": "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t}", "title": "" }, { "docid": "06227529f2a7631df81fb93ee1e9358f", "score": "0.6775715", "text": "private void infoButtonActionPerformed(ActionEvent event) {\n\t\tuserInfo();\n\t}", "title": "" }, { "docid": "1b67b0fd173995d175333dd1af90ea9a", "score": "0.6770393", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "1b67b0fd173995d175333dd1af90ea9a", "score": "0.6770393", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "1b67b0fd173995d175333dd1af90ea9a", "score": "0.6770393", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "1b67b0fd173995d175333dd1af90ea9a", "score": "0.6770393", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "6a64aeeb06eefec61b24f9212740a2e0", "score": "0.6767942", "text": "void controlButtonReleased();", "title": "" }, { "docid": "d2c6f81eb6119f65802935a73265d2e7", "score": "0.6765233", "text": "protected void HandleButtonStart() {\n\t\t\n\t}", "title": "" }, { "docid": "12999bfb9564614776d88a4c9606db55", "score": "0.6761838", "text": "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "12999bfb9564614776d88a4c9606db55", "score": "0.6761838", "text": "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "0921ac25becbb8c58e06dfe034df591f", "score": "0.6757287", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getSource() == button1){\t\t\t\t\t\n\t\t\tSystem.out.println(\"\"+ rs);\n\t\t\t\n\t\t\t//Calculation_lib clib = Calculation_lib(val1,val2);//Calculation_libをFrameSystemのsrcにコピー\n\t\t\t//text3.setText(String.valueOf(clib.getPlus()));\n\t\t\t}\n\t\t\t\n\t\t\n\t}", "title": "" }, { "docid": "b2b38e50f494c2a7cd04331e68280613", "score": "0.6741085", "text": "private void buttonEvents(){\n\t\tfast.setOnMouseClicked(e -> hub.increaseRate());\n\t\tslow.setOnMouseClicked(e->hub.decreaseRate());\n\t\tstop.setOnMouseClicked(e->hub.pauseSimulation());\n\t\tstart.setOnMouseClicked(e->hub.playSimulation());\n\t\tstep.setOnMouseClicked(e->hub.simulationStep());\n\t\tload.setOnMouseClicked(e->load());\n outlines.selectedProperty().addListener(new ChangeListener<Boolean>() {\n public void changed(ObservableValue<? extends Boolean> ov,\n Boolean old_val, Boolean new_val) {\n myPossibleRenders.get(myCellShape).setGridOutline(outlines.isSelected());\n }\n });\n\t}", "title": "" }, { "docid": "21d69038e166f629f56e9cfbf5dc63a6", "score": "0.67378634", "text": "private void windowButtonsMouseClicked(java.awt.event.MouseEvent evt) {\n \n }", "title": "" }, { "docid": "8df9fe18f9bb58f7d7156310b1573e1d", "score": "0.6730223", "text": "private void jButton3ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "11164ccb852957f619b8fd9c593145d8", "score": "0.6729386", "text": "@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tObject source = arg0.getSource();\n\t\tif(source == button)\n\t\t{\t \t\n\t\t button.setText(\"Hello\");\n\t\t answer.setText(ll.isEmptyList());\n\t\t setVisible(true); \n\t\t}\n\t}", "title": "" }, { "docid": "93be666a4fe8bc58dba418e9e6153f58", "score": "0.6726815", "text": "private void jButton5ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "666a5e98a5cb717cdc1acf5b607488e6", "score": "0.67108905", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tcl.show(main, \"second\");\n\t\t\t}", "title": "" }, { "docid": "2d0760a1295ea1a099c6d681c011417f", "score": "0.67102623", "text": "private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {\n \n }", "title": "" }, { "docid": "ecfd3b9afede4fba6b82f3a064989b53", "score": "0.67071545", "text": "public void actionPerformed(ActionEvent e) {\n\t\tObject obj = e.getSource();\n\t\tif(obj == bt1)\n\t\t{lb.setText(\"확인버튼 Event 발동!!\");\n\t\tcon.setBackground(Color.yellow);\n\t\tbt1.setBackground(Color.green);\n\t\tSystem.out.println(\"레벨업!!\");}\n\t\telse if(obj == bt2){\n\t\t\tlb.setText(\"최소버튼 발동!!\");\n\t\t\tcon.setBackground(Color.pink);\n\t\t\tbt2.setBackground(Color.cyan);\n\t\t\tSystem.out.println(\"레벨다운!!\");}\n\t\t}", "title": "" }, { "docid": "2bb8ad221346c5e5abff70bbdc477582", "score": "0.67055994", "text": "public void actionPerformed(ActionEvent e) {\r\n String cmd = e.getActionCommand();\r\n if (cmd.equals(\"View\")) {\r\n onViewAccount();\r\n } else if (cmd.equals(\"Exit\")) {\r\n onExit();\r\n } // Exit\r\n }", "title": "" }, { "docid": "acc08e09b820ab0ebc037d048b754ec9", "score": "0.6704507", "text": "private void jTextTopologyActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "d1760d5bc563d554c0d095b5b8b53a97", "score": "0.67038125", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "title": "" }, { "docid": "d1760d5bc563d554c0d095b5b8b53a97", "score": "0.67038125", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "title": "" }, { "docid": "ef2bd56ef5eaf191d7dceab6686a356a", "score": "0.6701412", "text": "private void btnOkActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "5bdf93ac7786b9e133a6caaaf0c4c2ab", "score": "0.66984946", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n thongTin();\n }", "title": "" }, { "docid": "be1810795f1d6a9e71966d1ebb7f839e", "score": "0.66945595", "text": "protected void actionPerformed(GuiButton par1GuiButton) {\n\t\tif (par1GuiButton.enabled) {\n\t\t\tif (par1GuiButton.id == 1) {\n\t\t\t\tthis.mc.displayGuiScreen(this.parentGuiScreen);\n\t\t\t} else if (par1GuiButton.id == 0) {\n\t\t\t\tthis.mc.displayGuiScreen((GuiScreen) null);\n\n\t\t\t\tif (this.createClicked) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tthis.createClicked = true;\n\t\t\t\tlong var2 = (new EaglercraftRandom()).nextLong();\n\t\t\t\tString var4 = this.textboxSeed.getText();\n\n\t\t\t\tif (!MathHelper.stringNullOrLengthZero(var4)) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tlong var5 = Long.parseLong(var4);\n\n\t\t\t\t\t\tif (var5 != 0L) {\n\t\t\t\t\t\t\tvar2 = var5;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException var7) {\n\t\t\t\t\t\tvar2 = (long) var4.hashCode();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tEnumGameType var8 = EnumGameType.getByName(this.gameMode);\n\t\t\t\tWorldSettings var6 = new WorldSettings(var2, var8, this.generateStructures, this.isHardcore,\n\t\t\t\t\t\tWorldType.worldTypes[this.worldTypeId]);\n\t\t\t\tvar6.func_82750_a(this.generatorOptionsToUse);\n\n\t\t\t\tif (this.bonusItems && !this.isHardcore) {\n\t\t\t\t\tvar6.enableBonusChest();\n\t\t\t\t}\n\n\t\t\t\tif (this.commandsAllowed && !this.isHardcore) {\n\t\t\t\t\tvar6.enableCommands();\n\t\t\t\t}\n\n\t\t\t\tthis.mc.launchIntegratedServer(this.folderName, this.textboxWorldName.getText().trim(), var6);\n\t\t\t} else if (par1GuiButton.id == 3) {\n\t\t\t\tthis.func_82287_i();\n\t\t\t} else if (par1GuiButton.id == 2) {\n\t\t\t\tif (this.gameMode.equals(\"survival\")) {\n\t\t\t\t\tif (!this.commandsToggled) {\n\t\t\t\t\t\tthis.commandsAllowed = false;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.isHardcore = false;\n\t\t\t\t\tthis.gameMode = \"hardcore\";\n\t\t\t\t\tthis.isHardcore = true;\n\t\t\t\t\tthis.buttonAllowCommands.enabled = false;\n\t\t\t\t\tthis.buttonBonusItems.enabled = false;\n\t\t\t\t\tthis.updateButtonText();\n\t\t\t\t} else if (this.gameMode.equals(\"hardcore\")) {\n\t\t\t\t\tif (!this.commandsToggled) {\n\t\t\t\t\t\tthis.commandsAllowed = true;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.isHardcore = false;\n\t\t\t\t\tthis.gameMode = \"creative\";\n\t\t\t\t\tthis.updateButtonText();\n\t\t\t\t\tthis.isHardcore = false;\n\t\t\t\t\tthis.buttonAllowCommands.enabled = true;\n\t\t\t\t\tthis.buttonBonusItems.enabled = true;\n\t\t\t\t} else {\n\t\t\t\t\tif (!this.commandsToggled) {\n\t\t\t\t\t\tthis.commandsAllowed = false;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.gameMode = \"survival\";\n\t\t\t\t\tthis.updateButtonText();\n\t\t\t\t\tthis.buttonAllowCommands.enabled = true;\n\t\t\t\t\tthis.buttonBonusItems.enabled = true;\n\t\t\t\t\tthis.isHardcore = false;\n\t\t\t\t}\n\n\t\t\t\tthis.updateButtonText();\n\t\t\t} else if (par1GuiButton.id == 4) {\n\t\t\t\tthis.generateStructures = !this.generateStructures;\n\t\t\t\tthis.updateButtonText();\n\t\t\t} else if (par1GuiButton.id == 7) {\n\t\t\t\tthis.bonusItems = !this.bonusItems;\n\t\t\t\tthis.updateButtonText();\n\t\t\t} else if (par1GuiButton.id == 5) {\n\t\t\t\t++this.worldTypeId;\n\n\t\t\t\tif (this.worldTypeId >= WorldType.worldTypes.length) {\n\t\t\t\t\tthis.worldTypeId = 0;\n\t\t\t\t}\n\n\t\t\t\twhile (WorldType.worldTypes[this.worldTypeId] == null\n\t\t\t\t\t\t|| !WorldType.worldTypes[this.worldTypeId].getCanBeCreated()) {\n\t\t\t\t\t++this.worldTypeId;\n\n\t\t\t\t\tif (this.worldTypeId >= WorldType.worldTypes.length) {\n\t\t\t\t\t\tthis.worldTypeId = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.generatorOptionsToUse = \"\";\n\t\t\t\tthis.updateButtonText();\n\t\t\t\tthis.func_82288_a(this.moreOptions);\n\t\t\t} else if (par1GuiButton.id == 6) {\n\t\t\t\tthis.commandsToggled = true;\n\t\t\t\tthis.commandsAllowed = !this.commandsAllowed;\n\t\t\t\tthis.updateButtonText();\n\t\t\t} else if (par1GuiButton.id == 8) {\n\t\t\t\tthis.mc.displayGuiScreen(new GuiCreateFlatWorld(this, this.generatorOptionsToUse));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f0f48937944e3824f7281c11b578e136", "score": "0.66926837", "text": "private void nom1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "98ae34ca1523e6d52c84f4cde589434e", "score": "0.669048", "text": "private void buttPlayerActionPerformed(java.awt.event.ActionEvent evt)\n {\n }", "title": "" }, { "docid": "6571b0ca6e94fc6115d4e6f59970c634", "score": "0.6690155", "text": "private void jButton9ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "9085afdc04451e1d6a69e3a0243d8195", "score": "0.6687674", "text": "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "9085afdc04451e1d6a69e3a0243d8195", "score": "0.6687674", "text": "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "d17a2cef94416c8d359526432145db19", "score": "0.66867846", "text": "private void btnSimpsonTresOctavosActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "981de1cfada146ed71a3281e21079daa", "score": "0.6685511", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "537067a6eb9e757add04b9af62c694cb", "score": "0.6684529", "text": "private void txtInicioActionPerformed(ActionEvent evt) {}", "title": "" }, { "docid": "5c2a38aae54c8c990a5835134f6fa348", "score": "0.6681775", "text": "private void jButtonObsVirtuaisActionPerformed(ActionEvent evt) {\n try {\n new JanelajButtonObsVirtuais().setVisible(true);\n } catch (FileNotFoundException ex) {\n Logger.getLogger(JanelaEntradas2.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "4220cff1595f180e556563546366c4a3", "score": "0.6674884", "text": "private void Text_ComplementoActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "9cac66b97824f9af477bfeb3c54ab4b9", "score": "0.66716015", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tvMdtr.changeGuiStrategy(new SomethingCool());\n\t}", "title": "" }, { "docid": "ea94f8a888b211425adfb1e53035cb8e", "score": "0.6664922", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tcl.show(main, \"first\");\n\t\t\t}", "title": "" }, { "docid": "6d9928d22f785f3f0baaae93c352e0b2", "score": "0.66643715", "text": "@Override\r\n\t\tpublic void actionPerformed(ActionEvent e) {\n\r\n\t\t\tif(e.getActionCommand().equals(\"modificar\")){\r\n\t\t\t\t// Frame de modificar con boton presupuesto visible\r\n\t\t\t\tmodificar();\r\n\t\t\t}\r\n\t\t\tif(e.getActionCommand().equals(\"eliminar\")){\r\n\t\t\t\teliminar();\r\n\t\t\t}\r\n\r\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "256b633cdd6d268b182fffbc5ef77ce8", "score": "0.66617537", "text": "private void btn_etiqueta_feitaActionPerformed(java.awt.event.ActionEvent evt) {\n etiqueta_feita();\n \n }", "title": "" }, { "docid": "c94b660fbb706c2384e8a347c3946266", "score": "0.66606283", "text": "private void jButton14ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "c874edf34fa305e97f0032a91f527865", "score": "0.66589177", "text": "private void rdComprasActionPerformed(ActionEvent evt) {}", "title": "" }, { "docid": "cec59695874407534c80d62b9ffec932", "score": "0.66558105", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n if(e.getSource().equals(btnThem)){\n btnThemClick();\n }\n \n // else if (e.getSource().equals((btnChinhsua))){\n // btnChinhsuaClick();\n // }\n }", "title": "" }, { "docid": "34562f11d29540d26aa1d678da708600", "score": "0.6655801", "text": "@Override\n\t\tpublic void actionPerformed(ActionEvent e) \n\t\t{\n\t\t}", "title": "" }, { "docid": "f1c0688d4d185f7dc1e45986b8a1b47e", "score": "0.66516364", "text": "@Override\r\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\tonClick();\t\t\t\r\n\t\t}", "title": "" }, { "docid": "fc289b3e15caa7307fcbd1a99bc844db", "score": "0.66459775", "text": "private void textoActionPerformed(java.awt.event.ActionEvent evt) {\n \n\n }", "title": "" }, { "docid": "e94f5aa4fe3ff7d745638e33f3857b1d", "score": "0.664529", "text": "private void jButton12ActionPerformed(java.awt.event.ActionEvent evt) {\n\t}", "title": "" }, { "docid": "feef1f240fa3a418c0c8612f28baab6f", "score": "0.66446877", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n \tbuttonPressed = true;\n \t\n }", "title": "" }, { "docid": "39a0710d6cbd2facdd944b01b5c327d8", "score": "0.6643959", "text": "@Override\r\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\r\n\t\t}", "title": "" } ]
c1d3c4171fbcf3a22ce67df6e006e739
Creates new form NewJFrame
[ { "docid": "39ef9581e7dce864a26508efe483f2f0", "score": "0.0", "text": "public Faculty_Details() {\n initComponents();\n }", "title": "" } ]
[ { "docid": "eecd45cacc155eedc7faf8bbf6832d27", "score": "0.80340195", "text": "public NewJFrame() {\n \n\n initComponents();\n }", "title": "" }, { "docid": "683f6f67629b051859d3fab4cc4b5065", "score": "0.80117303", "text": "public NewJFrame() {\n initComponents();\n \n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7934054", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "a0c98f07b0e2d23d591fa4a43f3a5951", "score": "0.7822031", "text": "public NewJFrame() {\n initComponents();\n nueve.setVisible(false);\n }", "title": "" }, { "docid": "b37836b93460f3c3e6642fab4f51a00c", "score": "0.76502705", "text": "public NewJFrame1() {\n initComponents();\n }", "title": "" }, { "docid": "6b8497c5afebc47b0005b4ec1bcfec92", "score": "0.756234", "text": "public NewJFrame4() {\n initComponents();\n }", "title": "" }, { "docid": "32948d5323fdc16e3b99e07b643fa9b1", "score": "0.7437899", "text": "public NewJFrame3() {\n initComponents();\n }", "title": "" }, { "docid": "a7946f7450027db41ff8a2465de21685", "score": "0.74231887", "text": "public NewJFrame() {\r\ninitComponents();\r\n}", "title": "" }, { "docid": "b419ad03c3afa6f4ed571215f76011b8", "score": "0.7152178", "text": "public CrearJFrame() {\r\n\r\n\t\tthis(\"\",800,600);\t\t\r\n\r\n\t}", "title": "" }, { "docid": "04373812e57ec18343d05ed5126b668d", "score": "0.7115425", "text": "void createNewFolderFrame() {\r\n newFolderFrame = new JFrame();\r\n newFolderFrame.setLayout(new GridBagLayout());\r\n newFolderFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n newFolderFrame.setTitle(\"Create new folder\");\r\n newFolderFrame.setSize(new Dimension(400, 300));\r\n newFolderFrame.setResizable(false);\r\n JPanel northPanel = new JPanel();\r\n northPanel.setLayout(new GridLayout(0,1)); \r\n JButton backButton = new JButton(\"Back to new chatroom window\");\r\n JButton newFolderButton = new JButton(\"Create new folder\");\r\n folderNameField = new JTextField();\r\n folderNameField.setPreferredSize( new Dimension( 200, 30 ) );\r\n northPanel.add(NEW_CHATROOM_FOLDER_LABEL);\r\n northPanel.add(new JLabel(\"Enter folder name here:\"));\r\n northPanel.add(folderNameField);\r\n newFolderFrame.add(northPanel, new GridBagConstraints());\r\n northPanel.add(newFolderButton);\r\n northPanel.add(backButton);\r\n newFolderFrame.setVisible(true);\r\n backButton.addActionListener(this);\r\n newFolderButton.addActionListener(this);\r\n }", "title": "" }, { "docid": "23e9965f9e3743386873fc4ce0aeb0ff", "score": "0.7114296", "text": "public NewJFrame_home() {\n initComponents();\n \n \n }", "title": "" }, { "docid": "b005062c6cc4e4bd2f9aca47b1aa3cd2", "score": "0.70804036", "text": "public NewJFrame152() {\n initComponents();\n conectar();\n //leerBD();\n //leerEnlaces();\n \n \n }", "title": "" }, { "docid": "4809da1ac09cf6192620082947db2af9", "score": "0.70603734", "text": "public NewJFrame() {\n lgDialog = new LoginDialog(this, true);\n lgDialog.setLocationRelativeTo(null);\n lgDialog.setVisible(true);\n }", "title": "" }, { "docid": "f5a184faa51a4658ff10aee89a0f64c5", "score": "0.7041428", "text": "private void setUpNewBookFrame() {\r\n newBookFrame = new JFrame();\r\n newBookFrame.setTitle(\"Add a New Book\");\r\n newBookFrame.setBounds(100, 100, 1044, 822);\r\n newBookFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\r\n newBookFrame.getContentPane().setLayout(null);\r\n newBookFrame.setResizable(false);\r\n final Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();\r\n newBookFrame.setLocation(dim.width / 2 - newBookFrame.getSize().width / 2,\r\n (int) (dim.getHeight() / 2 - newBookFrame.getSize().height / 2));\r\n newBookFrame.setVisible(true);\r\n }", "title": "" }, { "docid": "aa9056cb0c3dd5d528518fb6fdc95b16", "score": "0.7029457", "text": "public NewJFrame() {\n initComponents();\n m1();\n DateTime();\n clear();\n\n }", "title": "" }, { "docid": "ffa71456659ec0999d73257f0caa102b", "score": "0.6920463", "text": "private void createAndShowGUI() {\n\t\t//Create and set up the window.\n\t\tentireFrame = new JFrame(resources.getString(\"title\"));\n\t\tentireFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\tJPanel basePanel = ViewHelper.makeNewPanel();\n\t\tentireFrame.getContentPane().add(basePanel);\n\t\t\n\t\taddMenu(basePanel);\n\t\taddPanels(basePanel);\n\t\t\n\t\tentireFrame.pack();\n\t\tentireFrame.setVisible(true);\n\t}", "title": "" }, { "docid": "af4d0ef8ab3a727b4288403b898f92f1", "score": "0.68985057", "text": "public NewJFramesignup() {\n initComponents();\n }", "title": "" }, { "docid": "fa7ab816c2c2ed07f495df2163e06c4c", "score": "0.67057765", "text": "public static void create()\r\n\t{\n\t\tJFrame frame = new JFrame();\r\n\t\tframe.setTitle(\"Product Menu\");\r\n\t\t\r\n\t\t//Set frame layout\r\n\t\tframe.setLayout(new FlowLayout());\r\n\t\t\r\n\t\t//JLabel header = new JLabel(\"Product Menu:\");\r\n\t\t\r\n\t\t//Make buttons\r\n\t\tJButton productBuyButton = new JButton(\"Get Customer(s) of Product\");\r\n\t\r\n\t\t//Make button bigger for frame\r\n\t\tproductBuyButton.setPreferredSize(new Dimension(200, 50));\r\n\t\t\r\n\t\t//Add buttons\r\n\t\t//frame.add(header);\r\n\t\tframe.add(productBuyButton);\r\n\t\t\r\n\t\t//Makes the frame open with the given buttons\r\n\t\tframe.pack();\r\n\t\tframe.setVisible(true);\r\n\t\t\r\n\t\t//Adds actions\r\n\t\tnew ProductBuyWindow();\r\n\t\tproductBuyButton.addActionListener(event -> ProductBuyWindow.create());\r\n\r\n\t}", "title": "" }, { "docid": "da33df82ab6f6b119cd2c490f85f505c", "score": "0.6678018", "text": "public NewJFrame() {\n initComponents();\n Component frame = null;\n JOptionPane.showMessageDialog(frame,\"Hello from the paint aaaapp ! :D\");\n \n \n }", "title": "" }, { "docid": "76857a0147387e763504eba0b4b46040", "score": "0.6677734", "text": "private void createFrame() {\n JFrame frame = new JFrame(Strings.TITLE);\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n frame.setPreferredSize(new Dimension(MyDims.FRAME_WIDTH, MyDims.FRAME_HEIGHT));\n Container mainFrame = frame.getContentPane();\n\n mainFrame.setLayout(new GridLayout(1,4));\n mainFrame.setBackground(Colors.GREEN);\n\n // Previous Sets\n prevSets = new PreviousSetsPanel(previousSets);\n mainFrame.add(prevSets.getView());\n\n // Name Vs Name\n names = new NamesPanel(playerOneLabel, playerTwoLabel);\n mainFrame.add(names.getView());\n\n // Match Match Scores\n currentGame = new CurrentScorePanel(currentScores);\n mainFrame.add(currentGame.getView());\n\n // Win Point\n controls = new buttonsPanel(addPointOne, addPointTwo);\n mainFrame.add(controls.getView());\n\n // Add Action Listeners\n addPointOne.addActionListener(this);\n addPointTwo.addActionListener(this);\n\n frame.pack();\n frame.setVisible(true);\n\n }", "title": "" }, { "docid": "c6a5aa335976e5a84323d6baa488f996", "score": "0.66738594", "text": "public Generador (NewJFrame p){\n puntero=p;\n }", "title": "" }, { "docid": "a4b8b3e0384c811d52a6d415e5d3079e", "score": "0.6612244", "text": "public static void NewScreen() {\r\n\t\tEventQueue.invokeLater(new Runnable() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tTienda windowT = new Tienda();\r\n\t\t\t\t\t// window.frame.setVisible(true);\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "9504c151199ee464d798cc2839fcb274", "score": "0.65889925", "text": "public void createCharacterForm()\n {\n //if (_createCharacterView == null)\n {\n _createCharacterView = new CharacterJFrame();\n }\n _createCharacterView.setVisible(true);\n }", "title": "" }, { "docid": "39a4f7724eecca4ee099fd05195a2d08", "score": "0.6586436", "text": "private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"CMU GeoLocator version 3.0 Running Helper\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n Dimension minimumSize = new Dimension();\n minimumSize.setSize(1000, 1000);\n frame.setMinimumSize(minimumSize);\n\n // Add content to the window.\n frame.add(new NewDesktop());\n\n // Display the window.\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "8e47f0df594146b94e2ad8e7357492b5", "score": "0.6550225", "text": "public NewJFrame() {\n initComponents();\n nonactive();\n Insert.setVisible(false);\n \n \n model=(DefaultTableModel)jTable1.getModel(); //castinf jtabel to default\n }", "title": "" }, { "docid": "66915608078c33bf19fdf576afbc9e20", "score": "0.6548703", "text": "private void newGui(){\n\t\t\t\n\t\t\t// Überschrift des DetailPanel;\n\t\t\tcLabel.setText(\"Neuen Kontakt anlegen\");\n\t\t\t\n\t\t\t// Ausblenden von Gui Elementen\n\t\t\tlabelReceivedFrom.setVisible(false);\n\t\t\tlabelSharedWith.setVisible(false);\n\t\t\tsharedWithUser.setVisible(false);\n\t\t\teditPartButton.setVisible(false);\n\t\t\tlabelReceivedFrom.setVisible(false);\n\t\t\tlabelShare.setVisible(false);\n\t\t\tlistBoxShareWith.setVisible(false);\n\t\t\t\n\t\t\t// Eingeblendete GUI Elemnte\n\t\t\tlabelAddElement.setVisible(true);\n\t\t\taddElement.setVisible(true);\n\t\t\taddButton.setVisible(true);\n\t\t\t\n\t\t\t// Buttonpanels austauschen falls es vorher noch nicht passiert ist\n\t\t\tvp.remove(editPanel);\n\t\t\tvp.remove(sharePanel);\n\t\t\tvp.remove(btnPanel);\n\t\t\tvp.add(newPanel);\n\t\t}", "title": "" }, { "docid": "25d5419315eaba23850ed5c024b97070", "score": "0.6525238", "text": "public void createFrame() {\n\t}", "title": "" }, { "docid": "d3a636a2b6a33f9b179c1f3e5ea557e5", "score": "0.65118843", "text": "private static void createAndShowGUI() {\n frame = new JFrame();\n frame.setLayout(new GridBagLayout());\n frame.setPreferredSize(new Dimension(1000, 500));\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //Set up the content pane.\n StartMenu.createAndShowStartGUI(frame.getContentPane());\n // frame.setResizable(true);\n frame.setLocationRelativeTo( null );\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "742d724b928e7a71d514dbfef141d55a", "score": "0.6506826", "text": "static void createAndShowGUI(GUIFrame mainFrame) {\n frame = new JFrame(\"New GradeBook from String\");\n frame.setLayout(new BorderLayout());\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n\n frame.add(new GUIStatistics(mainFrame));\n\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "a466b5ecb31a1c2243c8fdf6510e8284", "score": "0.65063745", "text": "public NewJFrame() {\n initComponents();\n /*save original size and location of buttons befor animation*/\n size = playTab.getSize();\n size2 = levelTab.getSize();\n size3 = seqTab.getSize();\n location = playTab.getLocation();\n location2 = levelTab.getLocation();\n location3 = seqTab.getLocation();\n \n groupRadios(); //group radios when the program runs\n hideComponents(\"level\", true); //hide level radios\n hideComponents(\"gamepanel\", true); //hide internal game panel\n scoreOperation(\"read\", 0); //read the best scores from file\n \n animation = new AnimationClass();\n animationTimer = new Timer(50, animation); //50 milisecond delay\n animationTimer.start(); //this timer is infinite timer to animate the stars on home screen\n \n }", "title": "" }, { "docid": "15e7b0870886255f1c482e62829ea541", "score": "0.6485861", "text": "public void createAndShowGUI(){\n\t\ttry {\n\t\t UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName() );\n\t\t } catch (Exception e) {\n\t\t e.printStackTrace();\n\t\t }\n frame = new JFrame(\"Best Sudoku Program Ever\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setMinimumSize(new Dimension(400,200));\n \n frame.setJMenuBar(buildMenuBar(frame));\n \n\n\t\tpanel = new JPanel();\n frame.getContentPane().add(panel);\n \n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "5dbfefa5c829d13d79c729c48bf19c0e", "score": "0.6475439", "text": "public static void createAndShowGUI() {\t\t\n\t\t//Create and set up the window.\n JFrame frame = new JFrame(\"Hotel Search Engine\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //Create and set up the content pane.\n MainFrame contentPane = new MainFrame();\n contentPane.addComponentToPane(frame.getContentPane());\n \n //Display the window.\n frame.setSize(800, 400);\n frame.setVisible(true);\n\t\t\n\t}", "title": "" }, { "docid": "6765d70f631cf2a341cc330ac928df4d", "score": "0.64684355", "text": "private void createGUI() {\n\t\tframe = new JFrame(\"Scheduler\");\r\n\t\tframe.setSize(700,550);\r\n\t\t//closes application when the user hits the X on the window\r\n\t\tframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\r\n\t\t//panel where elements can be added to frame\r\n\t\tctrl_panel = new JPanel();\r\n\t\t//elements added to window and able to be displayed\r\n\t\tframe.add(ctrl_panel);\r\n\t\tframe.setVisible(true);\r\n\t}", "title": "" }, { "docid": "9a514d31e7959556d20b06d3a10f0f10", "score": "0.64278656", "text": "public void create(){\n\t\tJFrame frame = new JFrame();\n\t\tb1 = new JButton(\"Click\");\n\t\t\n\t\t\n\t\t\n\t\t//add action listener to button\n\t\tb1.addActionListener(this);\n\t\t\n\t\t\n\t\t//add the button to content pane of window\n\t\tframe.getContentPane().add(BorderLayout.SOUTH,b1);\n\t\t\n\t\t//set the size of window\n\t\tframe.setSize(450,300);\n\t\t\n\t\t//make the window visible\n\t\tframe.setVisible(true);\n\t\t\n\t\t//Close operation on window\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}", "title": "" }, { "docid": "f8eb984e26b11240f94cc0bfda377c64", "score": "0.6406614", "text": "public void createRegisterFrame() {\n RegisterGUI RGUI = new RegisterGUI();\n JFrame frame = new JFrame(\"Register\");\n frame.setContentPane(RGUI.mainPanel);\n frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\n frame.pack();\n frame.setVisible(true);\n //assign the registerFrame to be closed later\n RGUI.registerFrame = frame;\n }", "title": "" }, { "docid": "866ce6650909601b6db4a0800d5f0403", "score": "0.64021176", "text": "public NewJFrame() {\n inizioDurata = System.currentTimeMillis();\n \n boolean numeroValido = false;\n \n while(numeroValido == false){\n numeroRandom = NewJFrame.randomString();\n numeroValido = NewJFrame.numeroValido(numeroRandom);\n }\n initComponents();\n }", "title": "" }, { "docid": "52d18dd58e357910bc245e5018741841", "score": "0.6401208", "text": "@Override\r\n public void actionPerformed(ActionEvent e) {\r\n frame = new JFrame(\"New Reminder\");\r\n JComponent newContentPane = new NewReminderView(list, listModel, reminderList, reminderAppGUI);\r\n newContentPane.setOpaque(true);\r\n frame.setLayout(new BoxLayout(frame, BoxLayout.PAGE_AXIS));\r\n frame.setContentPane(newContentPane);\r\n frame.pack();\r\n frame.setLocationRelativeTo(null);\r\n frame.setVisible(true);\r\n }", "title": "" }, { "docid": "ef514951e96578eb67c83ea0f8a353ed", "score": "0.6382713", "text": "private static void createAndShowGUI() {\n //Make sure we have nice window decorations.\n JFrame.setDefaultLookAndFeelDecorated(true);\n\n //Create and set up the window.\n frame = new JFrame(\"MetaDataEditor\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Create and set up the content pane.\n MetaDataEditor newContentPane = new MetaDataEditor(createJobs());\n newContentPane.setOpaque(true); //content panes must be opaque\n frame.setContentPane(newContentPane);\n\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "4113ea9df5618161809b4beb4e62d348", "score": "0.63399136", "text": "private static void createAndShowGUI() {\n\t\tJFrame frame = new JFrame(\"Calculate Pi\");\n\t frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t // Create and set up the content pane.\n\t JComponent newContentPane = new PiSwing();\n\t newContentPane.setOpaque(true); // content panes must be opaque\n\t frame.setContentPane(newContentPane);\n\n\t // Display the window.\n\t frame.pack();\n\t frame.setVisible(true);\n\t}", "title": "" }, { "docid": "705d44c78c36c8da5b2ae20fa085ff30", "score": "0.63339055", "text": "private static void createAndShowGUI() {\r\n ToolTipManager.sharedInstance().setInitialDelay(200);\r\n // Create and set up the window.\r\n frame = new JFrame(\"Izi RMS\" + \" - \" + getCustomerName());\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n frame.setMinimumSize(WINDOW_MIN_SIZE);\r\n frame.setExtendedState(Frame.MAXIMIZED_BOTH);\r\n initCenterPanes();\r\n contentPane = createContentPane();\r\n frame.setJMenuBar(createMenuBar());\r\n frame.setContentPane(contentPane);\r\n frame.pack();\r\n frame.setVisible(true);\r\n // splashScreen.close();\r\n // login\r\n LoginDialog loginDialog = new LoginDialog(frame, new Runnable() {\r\n\r\n @Override\r\n public void run() {\r\n }\r\n }, new Runnable() {\r\n\r\n @Override\r\n public void run() {\r\n frame.dispose();\r\n }\r\n });\r\n loginDialog.setVisible(true);\r\n splashScreen.dispose();\r\n }", "title": "" }, { "docid": "88474f7da9c8ce9075d5507195c1a750", "score": "0.6331711", "text": "@Override\n\n public void actionPerformed(ActionEvent e) {\n if (e.getActionCommand().equals(R.CMD_NEW_USER)) {\n CreateUserForm newUserForm = new CreateUserForm();\n newUserForm.addWindowListener(this);\n newUserForm.setVisible(true);\n }\n //Llama al panel de creacion de convocatoria\n if (e.getActionCommand().equals(R.CMD_NEW_CONVOCATORY)) {\n CreateConvocatoryForm newConvocatoryForm = new CreateConvocatoryForm();\n newConvocatoryForm.addWindowListener(this);\n newConvocatoryForm.setVisible(true);\n }\n \n //Llama al panel de creacion de convocatoria\n if (e.getActionCommand().equals(R.CMD_NEW_APPLICANT)) {\n CreateApplicantResumeForm applicantForm = new CreateApplicantResumeForm();\n applicantForm.addWindowListener(this);\n applicantForm.setVisible(true);\n }\n }", "title": "" }, { "docid": "4d7a3ebca6a2912015303c42292e9506", "score": "0.63178086", "text": "private void initialize() {\r\n\t\tfrmNewProject = new JInternalFrame();\r\n\t\tfrmNewProject.setTitle(\"New Project\");\r\n\t\tfrmNewProject.setBounds(100, 100, 870, 549);\r\n\t\tfrmNewProject.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t\r\n\t\tJToolBar toolBar_up = new JToolBar();\r\n\t\tfrmNewProject.getContentPane().add(toolBar_up, BorderLayout.NORTH);\r\n\t\t\r\n\t\tJButton btnNewButton = new JButton(\"New button\");\r\n\t\ttoolBar_up.add(btnNewButton);\r\n\t\t\r\n\t\tJButton btnNewButton_1 = new JButton(\"New button\");\r\n\t\ttoolBar_up.add(btnNewButton_1);\r\n\t\t\r\n\t\tJToolBar toolBar_down = new JToolBar();\r\n\t\tfrmNewProject.getContentPane().add(toolBar_down, BorderLayout.SOUTH);\r\n\t\t\r\n\t\tJButton btnNewButton_3 = new JButton(\"New button\");\r\n\t\ttoolBar_down.add(btnNewButton_3);\r\n\t\t\r\n\t\tJLabel lblNewLabel = new JLabel(\"New label\");\r\n\t\ttoolBar_down.add(lblNewLabel);\r\n\t\t\r\n\t\tJProgressBar progressBar = new JProgressBar();\r\n\t\ttoolBar_down.add(progressBar);\r\n\t\t\r\n\t\tJPanel panel = new JPanel();\r\n\t\tfrmNewProject.getContentPane().add(panel, BorderLayout.WEST);\r\n\t\t\r\n\t\tJTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);\r\n\t\tpanel.add(tabbedPane);\r\n\t\t\r\n\t\tJButton btnNewButton_2 = new JButton(\"New button\");\r\n\t\ttabbedPane.addTab(\"New tab\", null, btnNewButton_2, null);\r\n\t\t\r\n\t\tJTextArea textArea = new JTextArea();\r\n\t\ttabbedPane.addTab(\"New tab\", null, textArea, null);\r\n\t\t\r\n\t\tJPanel panel_1 = new JPanel();\r\n\t\tfrmNewProject.getContentPane().add(panel_1, BorderLayout.CENTER);\r\n\t}", "title": "" }, { "docid": "8ae5a762ae44e9cbde06ea54afa69451", "score": "0.6312277", "text": "private static void createAndShowGUI() {\n\r\n\t JFrame frame = new JFrame(\"Macrosoft Media Works\");\r\n\r\n\t frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\r\n\r\n\t //Set up the content pane.\r\n\r\n\t addComponentsToPane(frame.getContentPane());\r\n\r\n\r\n\r\n\t //Size and display the window.\r\n\r\n\t Insets insets = frame.getInsets();\r\n\r\n\t frame.setSize(800 + insets.left + insets.right,\r\n\r\n\t 600 + insets.top + insets.bottom);\r\n\r\n\t frame.setVisible(true);\r\n\r\n\t }", "title": "" }, { "docid": "08c0966c73130a3d245a2e2e4bb11dbd", "score": "0.63104993", "text": "@Override\r\n\tpublic JFrame getJFrame() \r\n\t{\r\n\t\tJFrame result = new JFrame();\r\n\t\t\r\n\t\tresult.setBackground(DarkPrimaryColor);\r\n\t\t\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "2eb1a43f8db47065ef3d92b2e9e9c536", "score": "0.6307755", "text": "private void createAndShowGUI() {\n this.setTitle(titlePrefix);\n this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n this.addComponentsToPane();\n this.pack();\n this.setVisible(true);\n }", "title": "" }, { "docid": "cdc7273846be8b7c761f11717b5940eb", "score": "0.63073164", "text": "private static void createAndShowGUI() {\n Test frame = new Test(\"TicTacToe\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n //Set up the content pane.\n frame.addComponentsToPane(frame.getContentPane());\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "f33f515543adc42f4c99fbc793e2e413", "score": "0.6297491", "text": "public NewFrame (int width, int height)\n {\n\tthis.setTitle (\"Snoot Club Membership Test\");\n\tthis.setResizable (true);\n\tthis.setSize (width, height);\n\t\n\tContainer cPane = this.getContentPane();\n\t// cPane.setLayout (new BorderLayout());\n\t\n\t// First, a welcome message, as a Label.\n\tJLabel L = new JLabel (\"<html><b>Are you elitist enough for our exclusive club?\"\n\t\t\t + \" <br>Fill out the form and find out</b></html>\");\n\tL.setForeground (Color.blue);\n\tcPane.add (L, BorderLayout.NORTH);\n\t\n\t// Now the center panel with the questions.\n\tcard = new CardLayout ();\n\tcenterpanel = new JPanel ();\n\tcenterpanel.setLayout (card);\n\tcenterpanel.setOpaque (false);\n\t\n\t// Each question will be created in a separate method.\n\t// The cardlayout requires a label as second parameter.\n\tcenterpanel.add (firstQuestion (), \"1\");\n\tcenterpanel.add (secondQuestion(), \"2\");\n\tcenterpanel.add (thirdQuestion(), \"3\");\n\tcenterpanel.add (fourthQuestion(), \"4\");\n\tcenterpanel.add (fifthQuestion(), \"5\");\n\tcPane.add (centerpanel, BorderLayout.CENTER);\n\t\n\t// Next, a panel of four buttons at the bottom.\n // The four buttons: quit, submit, next-question, previous-question.\n\tJPanel bottomPanel = getBottomPanel ();\n\tcPane.add (bottomPanel, BorderLayout.SOUTH);\n\n\t// Finally, show the frame.\n\tthis.setVisible (true);\n }", "title": "" }, { "docid": "1d289cccae01c6e01b150a1a364c455b", "score": "0.62912583", "text": "private void createStandardFrame()\r\n\t{\r\n\t\tshowInfo.addActionListener(new ActionListener()\r\n\t\t{\r\n\t\t\tpublic void actionPerformed(ActionEvent actionEvent)\r\n\t\t\t{\r\n\t\t\t\tclass AccountInfoDialog extends JDialog\r\n\t\t\t\t{\r\n\t\t\t\t\tpublic AccountInfoDialog(User anUser)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tsuper();\r\n\t\t\t\t\t\tsetTitle(\"Account info\");\r\n\t\t\t\t\t\tmainPanel=new JPanel();\r\n\t\t\t\t\t\tname=new JLabel(\"Name: \" + anUser.getName());\r\n\t\t\t\t\t\tsurname=new JLabel(\"Surname: \" + anUser.getSurname());\r\n\t\t\t\t\t\tage=new JLabel(\"Age: \" + anUser.getAge());\r\n\t\t\t\t\t\temail=new JLabel(\"Email: \" + anUser.getEmail());\r\n\t\t\t\t\t\tpassword=new JLabel(\"Password: \" + anUser.getPassword());\r\n\t\t\t\t\t\tmainPanel.add(name);\r\n\t\t\t\t\t\tmainPanel.add(surname);\r\n\t\t\t\t\t\tmainPanel.add(age);\r\n\t\t\t\t\t\tmainPanel.add(email);\r\n\t\t\t\t\t\tmainPanel.add(password);\r\n\t\t\t\t\t\tadd(mainPanel);\r\n\t\t\t\t\t\tpack();\r\n\t\t\t\t\t\tsetModal(true);\r\n\t\t\t\t\t\tsetDefaultCloseOperation(DISPOSE_ON_CLOSE);\r\n\t\t\t\t\t\tDimension screenSize=getToolkit().getScreenSize();\r\n\t\t\t\t\t\tsetLocation((int)(screenSize.width-getWidth())/2, (int)(screenSize.height-getHeight())/2);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tprivate JPanel mainPanel;\r\n\t\t\t\t\tprivate JLabel name, surname, age, email, password;\r\n\t\t\t\t\t\r\n\t\t\t\t\tprivate static final long serialVersionUID = 1738767593022899805L;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tAccountInfoDialog accountInfoDialog=new AccountInfoDialog(user);\r\n\t\t\t\t\r\n\t\t\t\taccountInfoDialog.setVisible(true);\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuAccount.add(showInfo);\r\n\t\tmenuBar.add(menuAccount);\r\n\t\tif(user instanceof Client)\r\n\t\t\tcreateClientFrame();\r\n\t\telse\r\n\t\t\tcreateManagerFrame();\r\n\t\tadd(menuBar, BorderLayout.NORTH);\r\n\t\tadd(tabbedPane, BorderLayout.SOUTH);\r\n\t\taddWindowListener(new WindowAdapter()\r\n\t\t{\r\n\t\t\tpublic void windowClosing(WindowEvent windowEvent)\r\n\t\t\t{\r\n\t\t\t\tcinema.saveData(cinema.getDiscountsManager().isActive());\r\n\t\t\t\tsuper.windowClosing(windowEvent);\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "964cf84f914193747f842233143e89b4", "score": "0.6286624", "text": "private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"HelloWorldSwing\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Add the ubiquitous \"Hello World\" label.\n ViewBuilder label = new ViewBuilder();\n frame.getContentPane().add(label);\n frame.setMinimumSize(new Dimension(800,400));\n frame.setPreferredSize(new Dimension(800,500));\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "3c86df2d801ca29aff897bf0950e8d85", "score": "0.6283802", "text": "public static void main(String[] args) {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tNewJFrame inst = new NewJFrame();\n\t\t\t\tinst.setLocationRelativeTo(null);\n\t\t\t\tinst.setVisible(true);\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "ef5d79b682a146a7ef80f1a3262e32c3", "score": "0.627555", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n pnlNew = new javax.swing.JPanel();\n btnNew = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n pnlOpen = new javax.swing.JPanel();\n btnOpen = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n pnlAbout = new javax.swing.JPanel();\n btnAbout = new javax.swing.JButton();\n jLabel3 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Start Notepad\");\n setBackground(new java.awt.Color(255, 255, 255));\n setResizable(false);\n\n pnlNew.setBackground(new java.awt.Color(255, 255, 255));\n pnlNew.setPreferredSize(new java.awt.Dimension(225, 450));\n\n btnNew.setBackground(new java.awt.Color(255, 255, 255));\n btnNew.setBorder(null);\n btnNew.setBorderPainted(false);\n btnNew.setContentAreaFilled(false);\n btnNew.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n btnNew.setFocusPainted(false);\n btnNew.setFocusable(false);\n btnNew.setMaximumSize(new java.awt.Dimension(205, 205));\n btnNew.setMinimumSize(new java.awt.Dimension(205, 205));\n btnNew.setPreferredSize(new java.awt.Dimension(205, 205));\n btnNew.setRequestFocusEnabled(false);\n btnNew.setRolloverEnabled(false);\n btnNew.setVerifyInputWhenFocusTarget(false);\n\n jLabel1.setFont(new java.awt.Font(\"Times New Roman\", 0, 24)); // NOI18N\n jLabel1.setForeground(new java.awt.Color(102, 102, 102));\n jLabel1.setText(\"New Note\");\n jLabel1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n\n javax.swing.GroupLayout pnlNewLayout = new javax.swing.GroupLayout(pnlNew);\n pnlNew.setLayout(pnlNewLayout);\n pnlNewLayout.setHorizontalGroup(\n pnlNewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlNewLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(pnlNewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlNewLayout.createSequentialGroup()\n .addComponent(btnNew, javax.swing.GroupLayout.PREFERRED_SIZE, 205, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnlNewLayout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(63, 63, 63))))\n );\n pnlNewLayout.setVerticalGroup(\n pnlNewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlNewLayout.createSequentialGroup()\n .addGap(79, 79, 79)\n .addComponent(btnNew, javax.swing.GroupLayout.PREFERRED_SIZE, 205, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(109, Short.MAX_VALUE))\n );\n\n pnlOpen.setBackground(new java.awt.Color(255, 255, 255));\n pnlOpen.setPreferredSize(new java.awt.Dimension(225, 450));\n\n btnOpen.setBackground(new java.awt.Color(255, 255, 255));\n btnOpen.setBorderPainted(false);\n btnOpen.setContentAreaFilled(false);\n btnOpen.setPreferredSize(new java.awt.Dimension(205, 205));\n\n jLabel2.setFont(new java.awt.Font(\"Times New Roman\", 0, 24)); // NOI18N\n jLabel2.setForeground(new java.awt.Color(102, 102, 102));\n jLabel2.setText(\"Open Note\");\n jLabel2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n\n javax.swing.GroupLayout pnlOpenLayout = new javax.swing.GroupLayout(pnlOpen);\n pnlOpen.setLayout(pnlOpenLayout);\n pnlOpenLayout.setHorizontalGroup(\n pnlOpenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlOpenLayout.createSequentialGroup()\n .addGroup(pnlOpenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlOpenLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(btnOpen, javax.swing.GroupLayout.PREFERRED_SIZE, 205, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(pnlOpenLayout.createSequentialGroup()\n .addGap(59, 59, 59)\n .addComponent(jLabel2)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n pnlOpenLayout.setVerticalGroup(\n pnlOpenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlOpenLayout.createSequentialGroup()\n .addGap(80, 80, 80)\n .addComponent(btnOpen, javax.swing.GroupLayout.PREFERRED_SIZE, 205, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(108, Short.MAX_VALUE))\n );\n\n pnlAbout.setBackground(new java.awt.Color(255, 255, 255));\n pnlAbout.setPreferredSize(new java.awt.Dimension(225, 450));\n\n btnAbout.setBackground(new java.awt.Color(255, 255, 255));\n btnAbout.setBorderPainted(false);\n btnAbout.setContentAreaFilled(false);\n\n jLabel3.setFont(new java.awt.Font(\"Times New Roman\", 0, 24)); // NOI18N\n jLabel3.setForeground(new java.awt.Color(102, 102, 102));\n jLabel3.setText(\"About Note\");\n jLabel3.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n\n javax.swing.GroupLayout pnlAboutLayout = new javax.swing.GroupLayout(pnlAbout);\n pnlAbout.setLayout(pnlAboutLayout);\n pnlAboutLayout.setHorizontalGroup(\n pnlAboutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlAboutLayout.createSequentialGroup()\n .addGroup(pnlAboutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlAboutLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(btnAbout, javax.swing.GroupLayout.PREFERRED_SIZE, 205, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(pnlAboutLayout.createSequentialGroup()\n .addGap(62, 62, 62)\n .addComponent(jLabel3)))\n .addContainerGap())\n );\n pnlAboutLayout.setVerticalGroup(\n pnlAboutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlAboutLayout.createSequentialGroup()\n .addGap(84, 84, 84)\n .addComponent(btnAbout, javax.swing.GroupLayout.PREFERRED_SIZE, 205, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jLabel3)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\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 .addGap(19, 19, 19)\n .addComponent(pnlNew, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(pnlOpen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(pnlAbout, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(20, 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 .addContainerGap(27, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(pnlAbout, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(pnlOpen, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(pnlNew, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(23, 23, 23))\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "ff9f027ebd4875f043754e054b237ad0", "score": "0.62728226", "text": "private void createAndShowGUI() {\r\n\t\tframe = new JFrame(\"Weather\"); // - Set up the empty frame.\r\n\t\tframe.getContentPane().setBackground(blue);\r\n\t\tframe.setSize(frameWidth, frameHeight);\r\n\t\tframe.setExtendedState(JFrame.MAXIMIZED_BOTH);\r\n\t\tframe.setLocationRelativeTo(null);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tframe.setVisible(true);\r\n\r\n\t\tcreateIntroFrame();\r\n\t}", "title": "" }, { "docid": "0162e8dd52752a6ba9c4c2f5648efa53", "score": "0.6269692", "text": "public void createGui(){\n\t\t\n\t\tJFrame inputGUIFrame = new JFrame();\n\t\tcontentPane = inputGUIFrame.getContentPane();\n\t\tinputGUIFrame.setContentPane(contentPane);\n\t\t\n\t\tJPanel inputGUIPanel = new JPanel();\n\t\tinputGUIFrame.setBounds(50, 50, 700, 250);\n\t\t\n\t\tusernameInput = new JTextField(\"wizard710\");\n\t\tusernameInput.setColumns(15);\n\t\tinputGUIPanel.add(usernameInput);\n\t\t\n\t\tbtnGetData = new JButton(\"Get Data\");\n\t\tinputGUIPanel.add(btnGetData);\n\t\t\n\t\tbtnDeleteHistory = new JButton(\"Delete History\");\n\t\tinputGUIPanel.add(btnDeleteHistory);\n\t\t\n\t\t\n\t\t\n\t\tcontentPane.add(inputGUIPanel, BorderLayout.PAGE_START);\n\t\tinputGUIFrame.setVisible(true);\n\t}", "title": "" }, { "docid": "283c103ad6a74aeb963bd7e8f87eb8e9", "score": "0.62660176", "text": "@Override\n public void onNewAccountCreated() {\n this.dispose(); //close the previous form\n AvailableVehicleForm jf = new AvailableVehicleForm();\n jf.setTitle(\"Available Vehicles\");\n\n jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n\n GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();\n int width = gd.getDisplayMode().getWidth();\n int height = gd.getDisplayMode().getHeight();\n\n Point middle = new Point(width / 2, height / 2);\n Point newLocation = new Point(middle.x - (jf.getWidth() / 2), middle.y - (jf.getHeight() / 2));\n\n jf.pack();\n\n jf.setLocation(newLocation);\n\n jf.setVisible(true);\n JOptionPane.showMessageDialog(null, \"Account created successfully.\");\n System.out.println(\"OnSuccessAccount\");\n }", "title": "" }, { "docid": "a2f3b8c83ed7e40454fca5f7d62d0b50", "score": "0.6265903", "text": "private static void createAndShowGUI() {\n\t\t\n\t\t//PF: JFrame\n\t\tJFrame main_frame = new JFrame();\n\t\tmain_frame.setTitle(\"Picasso\");\n\t\tmain_frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\t//PF: MenuBar\n\t\tMenuBar menu_bar = new MenuBar();\n\t\tmain_frame.setJMenuBar(menu_bar);\n\t\t\n\t\t//PF: Instantiate Model, View, and Controller\n\t\tMainModel model = new MainModel();\n\t\tMainView view = new MainView(model);\n\t\tMainController controller = new MainController(model, view);\n\t\t\n\t\tmain_frame.setContentPane(view);\n\t\tmain_frame.setExtendedState(JFrame.MAXIMIZED_BOTH); //Set Maximized at Start\n\t\tmain_frame.setMinimumSize(new Dimension(230, 0));\n\t\tmain_frame.pack();\n\t\tmain_frame.setVisible(true);\n\t\t\n\t}", "title": "" }, { "docid": "187a828f7fc503f165a8a4095299eeab", "score": "0.62597525", "text": "public void createAndShowGui() {\n\t\t\n\t\tDibujoDeCortador mainPanel = myDibujoDeCortador;\n\t\tJFrame frame;\n\t\tframe = new JFrame(\"Cortador\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().add(mainPanel);\n\t\tframe.pack();\n\t\tframe.setLocationByPlatform(true);\n\t\tframe.setVisible(true);\n\t}", "title": "" }, { "docid": "897729c59b00dbf066b0c1a0fc2b4363", "score": "0.6258151", "text": "public JFrameAgregar() {\n initComponents();\n }", "title": "" }, { "docid": "2898babbfb04186d9ff65caa1081a41d", "score": "0.6254631", "text": "public void createWindow() {\n\t\tgetFrame().setTitle(\"Rare Puppers\");\n\t\tgetFrame().getContentPane().setLayout(null);\n\t\tgetFrame().pack();\n\t\tgetFrame().setSize(1000, 1000);\n\t\tgetFrame().setLocationRelativeTo(null);\n\t\tgetFrame().setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n\t}", "title": "" }, { "docid": "b1c2d72c037d84f61df9a2244da84a12", "score": "0.6237919", "text": "public VentanaJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "118407c39151d624636a4ab6c4575eec", "score": "0.6237671", "text": "private void initFrame()\n {\n this.frame = new JFrame(\"Adding Your Own Template\");\n contents.setLayout(new BorderLayout());\n frame.setVisible(true);\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n }", "title": "" }, { "docid": "27c1f15e8375646a4f19ea6d8b3f8ded", "score": "0.6236072", "text": "public CrearArtistas(JFrame jf) {\n this.jf=jf;\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "baf6b8d6bb97718d9232fc5ead15a6e5", "score": "0.6225492", "text": "public HoaDonChiTietJFrame() {\n initComponents();\n init();\n }", "title": "" }, { "docid": "401c1f205dadcc64808cfc75ccec818f", "score": "0.6215288", "text": "private static void createAndShowGUI() {\n jFrame = new JFrame(\"Java Embedding Demo\");\r\n jFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\r\n //Create and set up the content pane.\r\n TVBEmbedDemo newContentPane = new TVBEmbedDemo();\r\n newContentPane.setOpaque(true); //content panes must be opaque\r\n jFrame.setContentPane(newContentPane);\r\n jFrame.addWindowListener(newContentPane);\r\n //Display the window.\r\n jFrame.pack();\r\n jFrame.setSize(appWidth+80, appHeigth+160);\r\n jFrame.setLocationRelativeTo(null);\r\n jFrame.setResizable(true);\r\n jFrame.setVisible(true);\r\n }", "title": "" }, { "docid": "2b0db0d8b321e8280cc5939baa74e78b", "score": "0.6211271", "text": "private static void createAndShowGUI() {\n //Create and set up the window\n JFrame frame = new JFrame(\"Stock Visualizer\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //Create and set up the content pane\n UserInterface newPanel = new UserInterface(frame);\n newPanel.setOpaque(true);\n frame.setContentPane(newPanel);\n \n //Display the window\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "65ffc456d832e33b55a5b606223d69bb", "score": "0.62103087", "text": "private void createAndShowGUI()\n\t{\n\t\t//Create and set up the window.\n\t\tmFrame = new JFrame(\"Same-bird\");\n\t\tmFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n\n\t\tmContentPane = new JPanel();\n\t\tmContentPane.setLayout(new CardLayout());\n\t\tmMainMenu = new MainMenu();\n\t\tmConnectedScreen = new ConnectedScreen();\n\t\tmLoginScreen = new LoginScreen();\n\t\tmCreateUserScreen = new CreateUserScreen();\n\t\tmContentPane.add(mMainMenu, \"MainMenu\");\n\t\tmContentPane.add(mConnectedScreen, \"ConnectedScreen\");\n\t\tmContentPane.add(mLoginScreen, \"LoginScreen\");\n\t\tmContentPane.add(mCreateUserScreen, \"CreateUserScreen\");\n\n\t\tmFrame.setMinimumSize(new Dimension(800, 600));\n\t\tmFrame.setSize(800, 600);\n\t\tmFrame.setLocation(50, 50);\n\t\tmFrame.setResizable(false);\n\n\t\t/*// Start by creating a MainMenu object and assigning it to mFrame.\n\t\tMainMenu mainMenu = new MainMenu();\n\n\t\tmainMenu.setOpaque(true);\n*/\n\t\tmFrame.setContentPane(mContentPane);\n\t\t//Display the window.\n\t\tmFrame.pack();\n\t\tmFrame.setVisible(true);\n\t}", "title": "" }, { "docid": "4db5b36d5ddcf449f430782c8c636250", "score": "0.62091756", "text": "public CP3106JFrame() {\n initComponents();\n }", "title": "" }, { "docid": "a59bfceb79df59d311378352fc158281", "score": "0.62068444", "text": "public InitNewForm() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "5d9c9a25e7fcb6ee0a1778538f182070", "score": "0.62063587", "text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.getContentPane().setBackground(Color.GRAY);\n\t\tframe.getContentPane().setLayout(null);\n\t\t\n\t\tJButton btnNewButton = new JButton(\"PRODUCTOS\");\n\t\tbtnNewButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tPRODUCTOS PRODUCTOS = new PRODUCTOS();\n\t\t\t\tPRODUCTOS.frame.setVisible(true);\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t\tbtnNewButton.setForeground(new Color(105, 105, 105));\n\t\tbtnNewButton.setFont(new Font(\"NSimSun\", Font.BOLD | Font.ITALIC, 27));\n\t\tbtnNewButton.setBounds(25, 117, 366, 242);\n\t\tframe.getContentPane().add(btnNewButton);\n\t\t\n\t\tJButton btnNewButton_1 = new JButton(\"CATEGORIA\");\n\t\tbtnNewButton_1.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCATEGORIA CATEGORIA = new CATEGORIA();\n\t\t\t\tCATEGORIA.frame.setVisible(true);\n\t\t\t}\n\t\t});\n\t\tbtnNewButton_1.setForeground(new Color(105, 105, 105));\n\t\tbtnNewButton_1.setFont(new Font(\"NSimSun\", Font.BOLD | Font.ITALIC, 27));\n\t\tbtnNewButton_1.setBounds(435, 119, 410, 236);\n\t\tframe.getContentPane().add(btnNewButton_1);\n\t\t\n\t\tJButton btnNewButton_2 = new JButton(\"<< VOLVER AL MEN\\u00DA\");\n\t\tbtnNewButton_2.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tMENU VOLVER = new MENU();\n\t\t\t\tMENU.frame.setVisible(true);\n\t\t\t}\n\t\t});\n\t\tbtnNewButton_2.setFont(new Font(\"NSimSun\", Font.BOLD | Font.ITALIC, 15));\n\t\tbtnNewButton_2.setBounds(634, 445, 186, 38);\n\t\tframe.getContentPane().add(btnNewButton_2);\n\t\t\n\t\tJLabel lblNewLabel = new JLabel(\"ADMINISTRACI\\u00D3N\");\n\t\tlblNewLabel.setFont(new Font(\"NSimSun\", Font.BOLD | Font.ITALIC, 22));\n\t\tlblNewLabel.setBounds(25, 21, 644, 51);\n\t\tframe.getContentPane().add(lblNewLabel);\n\t\tframe.setBounds(100, 100, 884, 550);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}", "title": "" }, { "docid": "7ebffd73562873a79554d962bf1b4483", "score": "0.6197284", "text": "public addFrame() {\n initComponents();\n this.dispose();\n //this.setVisible(True);\n }", "title": "" }, { "docid": "bf9431ca3f2a0b9f610144e54c2c2a02", "score": "0.6192223", "text": "public crear() {\n initComponents();\n }", "title": "" }, { "docid": "c7adde44c36f2c0971809ef7c78d8bf7", "score": "0.6186414", "text": "public GetComponentJFrame() {\n initComponents();\n \n \n }", "title": "" }, { "docid": "75b30e8143019b9ca2ebbcca76b8fd7b", "score": "0.6178496", "text": "public void newFrame() \r\n\t{\r\n\t\tImageIcon nouvelleImage = new ImageIcon();\r\n\t\tlistImages.add(nouvelleImage);\r\n\t\t//Ajout d'un canvas ou image en + en fin de ligne,\r\n\t\t\r\n\t}", "title": "" }, { "docid": "5eeb69d3576415a916c69d95de73e519", "score": "0.6164525", "text": "private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"TableDemo\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n //Create and set up the content pane.\r\n JavaUI newContentPane = new JavaUI();\r\n // JPanels are opaque by default!\r\n //newContentPane.setOpaque(true); //content panes must be opaque\r\n frame.setContentPane(newContentPane);\r\n\r\n //Display the window.\r\n frame.pack();\r\n frame.setLocationRelativeTo(null);\r\n frame.setVisible(true);\r\n }", "title": "" }, { "docid": "c468bac89b841461e3dcc5cdd20c16b2", "score": "0.61638016", "text": "private static void createAndShowGUI() {\n\t\tGUI frame = new GUI();\r\n\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\t\t// Display the window.\r\n\t\tframe.setVisible(true);\r\n\t}", "title": "" }, { "docid": "c468bac89b841461e3dcc5cdd20c16b2", "score": "0.61638016", "text": "private static void createAndShowGUI() {\n\t\tGUI frame = new GUI();\r\n\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\t\t// Display the window.\r\n\t\tframe.setVisible(true);\r\n\t}", "title": "" }, { "docid": "fc6bb3b574b60e5f772dc8bffa48bac5", "score": "0.6151218", "text": "private void buildFrame() {\n\t\t\n\t\t// Build a JFrame\n\t\tframe = new JFrame(\"NumChop\");\n\t\t\n\t\t// Make it so you can't change the size of the game window\n\t\tframe.setResizable(false);\n\t\t\n\t\t// Allow the user to close the application on exit\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\t// Set the size of the application window to the constants declared above\n\t\tframe.setSize(windowWidth, windowHeight);\n\t\t\n\t\t// We're going to use the BorderLayout for the main frame\n\t\tframe.getContentPane().setLayout(new BorderLayout());\n\t}", "title": "" }, { "docid": "2565166b7397377fe1cbdf9ff99e0820", "score": "0.6151085", "text": "private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {\n if(objq==null || objq.isClosed())\n {\n objq=new frmqiz();\n jDesktopPane1.add(objq);\n }\n objq.setVisible(true);\n }", "title": "" }, { "docid": "96fab084c533e70344537774f37c9f05", "score": "0.6147264", "text": "private void initialize() {\n\t\tframe = new JFrame(\"Bem vindo ao sistema Kwik-E-Mart\");\n\t\tframe.getContentPane().setLayout(null);\n\t\tframe.getContentPane().setBackground(new Color(51,13,160));\n\t\t\n\t\tJButton btnNewButton = new JButton(new ImageIcon(this.getClass().getResource(\"/botao-entrarcomusuario.png\")));\n\t\tbtnNewButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tLoginWindow loginWindow = new LoginWindow();\n\t\t\t}\n\t\t});\n\t\t\n\t\tbtnNewButton.setBounds(304, 308, 157, 40);\n\t\tframe.getContentPane().add(btnNewButton);\n\t\t\n\t\tJButton btnNewButton_1 = new JButton(new ImageIcon(this.getClass().getResource(\"/botao-cadastrarusuario.png\")));\n\t\tbtnNewButton_1.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tCadastrarWindow cadastrarWindow = new CadastrarWindow();\n\t\t\t}\n\t\t});\n\t\t\n\t\t\n\t\tbtnNewButton_1.setBounds(304, 366, 157, 40);\n\t\tframe.getContentPane().add(btnNewButton_1);\n\t\t\n\t\tJLabel lblNewLabel = new JLabel(new ImageIcon(this.getClass().getResource(\"/logogrande.png\")));\n\t\tlblNewLabel.setBounds(148, 76, 473, 220);\n\t\tframe.getContentPane().add(lblNewLabel);\n\t\tframe.setBounds(100, 100, 735, 525);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}", "title": "" }, { "docid": "479ab74001a60a2ac2a8f068afd71753", "score": "0.6146865", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tNovoAluguelFrame frame = new NovoAluguelFrame();\n\t\tframe.setVisible(true);\n\t}", "title": "" }, { "docid": "2bc7330ce3bb70d0114661f52de2c4d6", "score": "0.61433995", "text": "public void actionPerformed(ActionEvent event)\r\n\t{\r\n\t\tif(NewFrame.singleton == null){\r\n NewFrame.singleton = new NewFrame(); \r\n\t\t}\r\n\t}", "title": "" }, { "docid": "28001669e44c226e7d2a51a2fd0ee2ca", "score": "0.6134237", "text": "private void showFrame(){\n frame = new JFrame(\"VectorTool\");\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n frame.setMinimumSize(new Dimension(700, 800));\n frame.setPreferredSize(new Dimension(720, 800));\n frame.setLocation(0,0);\n frame.getContentPane().setLayout(new BorderLayout());\n }", "title": "" }, { "docid": "572c2f5ef1e48c60fc296026f05d7601", "score": "0.6129629", "text": "private void prepareGUI() {\n\t\tmainFrame = new JFrame(\"HNGRY\");\r\n\t\tmainFrame.setSize(300, 400);\r\n\t\tmainFrame.setLayout(new GridLayout(2,1));\r\n\t\t\r\n\t\theaderLabel = new JLabel(\"\", JLabel.CENTER);\r\n\t\t\r\n\t\t//closes window\r\n\t\tmainFrame.addWindowListener(new WindowAdapter() {\r\n\t\t\tpublic void windowClosing(WindowEvent windowEvent) {\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t}\r\n\t\t});\r\n\t\tcontrolPanel = new JPanel();\r\n\t\tcontrolPanel.setLayout(new FlowLayout());\r\n\t\t\r\n\t\tmainFrame.add(headerLabel);\r\n\t\tmainFrame.add(controlPanel);\r\n\t\tmainFrame.setVisible(true);\r\n\t}", "title": "" }, { "docid": "9af968f1d7c54cc4ababaa88c48f1db7", "score": "0.6128327", "text": "public another_new() {\n initComponents();\n Registered re = new Registered();\n jDesktopPane1.add(re).setSize(1340,620);\n re.setVisible(true);\n jPanel2.setVisible(false);\n jPanel4.setVisible(false);\n setdate(jLabel12);\n \n }", "title": "" }, { "docid": "eeed549b36beb357ad3f7faa5393afb7", "score": "0.61261606", "text": "public void createAndShowGUI() {\n frame = new JFrame(\"Nephos Weather\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n System.out.println(isBig);\n if(isBig)\n {\n frame.setPreferredSize(new Dimension(1024, 786));\n }\n else\n {\n frame.setPreferredSize(new Dimension(320, 480));\n }\n frame.setResizable(false);\n // frame.setUndecorated(true); //<- removes the top bar thing\n \n //Create and set up the content pane.\n // View demo = new View();\n // demo.\n addComponentToPane(frame.getContentPane());\n \n KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager();\n manager.addKeyEventDispatcher(new MyDispatcher());\n\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "833aa540e1fd72a83842c2e1fe03d058", "score": "0.6124148", "text": "protected void createFrame() {\n // basic setup\n setIconImage(ComponentHelper.getImage(\"weka_icon.gif\"));\n setSize(ArffViewerMainPanel.WIDTH, ArffViewerMainPanel.HEIGHT);\n setCenteredLocation();\n setDefaultCloseOperation(DISPOSE_ON_CLOSE);\n // remove the listener - otherwise we get the strange behavior that one\n // frame receives a window-event for every single open frame!\n removeWindowListener(this);\n // add listener anew\n addWindowListener(this);\n \n getContentPane().setLayout(new BorderLayout());\n \n m_MainPanel = new ArffViewerMainPanel(this);\n m_MainPanel.setConfirmExit(false);\n getContentPane().add(m_MainPanel, BorderLayout.CENTER);\n \n setJMenuBar(m_MainPanel.getMenu());\n }", "title": "" }, { "docid": "94f59aac643f1c4f2d1b0acecae8c12d", "score": "0.61215943", "text": "private void createFrame()\r\n\t{\r\n\t\tJPanel panel = new JPanel();\r\n\t\tpanel.setLayout(new GridLayout(3,2));\r\n\t\t\r\n\t\t// Create each of the main panels\r\n\t\tpanel.add(createMapSizeComponents());\r\n\t\tpanel.add(createTileSizeComponents());\r\n\t\tpanel.add(createSheetSelectionComponents());\r\n\t\t\r\n\t\t// Add each of the panels\r\n\t\tadd(panel, BorderLayout.NORTH);\r\n\t\tadd(createColorPicker(), BorderLayout.CENTER);\r\n\t\tadd(createConfirmButtons(), BorderLayout.SOUTH);\r\n\t}", "title": "" }, { "docid": "5b82b869b7c3ef5c5ca9f3a655557301", "score": "0.61146337", "text": "public Cadastro_FornecedorJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "01033819ac775c7d0d9f0bfdb1eb0388", "score": "0.61086786", "text": "public void createAndShowGUI() {\n //CREATE AND SET UP WINDOW\n setTitle(\"Tweeter Table\");\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n setLocation(200,200); // (x, y)\n setSize(300,200); // (width, height)\n \n //CREATE MENUBAR\n JMenuBar menuBar = new JMenuBar(); \n \n //MENUBAR ITEMS\n createFileMenu(menuBar);\n createEditMenu(menuBar);\n createViewMenu(menuBar);\n\n //DISPLAY WINDOW\n //pack(); \n setVisible(true); \n }", "title": "" }, { "docid": "8133740296ff0b2ce3c8f2b066dcf2ce", "score": "0.6104919", "text": "private static void createAndShowGUI() {\n\t\t// Make sure we have nice window decorations.\n\t\tJFrame.setDefaultLookAndFeelDecorated(true);\n\t\tJDialog.setDefaultLookAndFeelDecorated(true);\n\n\t\t// Create and set up the window.\n\t\tJFrame frame = new JFrame(\"Cryptography Algorithms\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t// Create and set up the content pane.\n\t\tJComponent newContentPane = new UI();\n\t\tnewContentPane.setOpaque(true); // content panes must be opaque\n\t\tframe.setContentPane(newContentPane);\n\n\t\t// Display the window.\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}", "title": "" }, { "docid": "6fb0e992f9207da849820c679e8a8b7a", "score": "0.61021185", "text": "private static void createAndShowGUI() {\n //Create and set up the window.\n JFrame frame = new JFrame(\"VocaBuild\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.addWindowListener(new WindowAdapter() {\n public void windowClosing(WindowEvent e) {\n writeDataFile();\n System.exit(0);\n }\n }\n );\n\n //Create and set up the content pane.\n JComponent newContentPane = new VocaBuild();\n newContentPane.setOpaque(true); //content panes must be opaque\n frame.setContentPane(newContentPane);\n\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n\n\n }", "title": "" }, { "docid": "1cc6b50402557b260aa2fd7f1903e266", "score": "0.6095171", "text": "private JFrame makeFrame(int width, int height) {\n JFrame frame = new JFrame();\n JFrame.setDefaultLookAndFeelDecorated(true);\n frame.setSize(new Dimension(width, height));\n frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\n frame.setLocationRelativeTo(frame);\n frame.setBackground(Color.WHITE);\n frame.setLayout(new BorderLayout());\n frame.setVisible(true);\n return frame;\n }", "title": "" }, { "docid": "27e0251b5a5631ad0e4e8203d8503b59", "score": "0.6085332", "text": "public InitialFrame() {\n\t\tcreateComponents();\n\t\tmReceipt = new Receipt();\n\t\tthis.setTitle(\"New Order\");\n\t\tthis.setSize(800, 500);\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t}", "title": "" } ]
c1a342af45abcf072ba07c740f45b54f
optional uint32 reason = 1;
[ { "docid": "81c9e4d94d0120af94c867bdb3d5ae41", "score": "0.0", "text": "public boolean hasReason() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "44b55a080b544438845a66ac0c7d54e2", "score": "0.6963854", "text": "int getReason();", "title": "" }, { "docid": "44b55a080b544438845a66ac0c7d54e2", "score": "0.6963854", "text": "int getReason();", "title": "" }, { "docid": "5bee6d91c82be1bd37359c2e2e96bfe9", "score": "0.695798", "text": "String reason();", "title": "" }, { "docid": "9a9d4cfb75902543e6a17ef390f0992d", "score": "0.6773644", "text": "int getReasonValue();", "title": "" }, { "docid": "9a9d4cfb75902543e6a17ef390f0992d", "score": "0.6773644", "text": "int getReasonValue();", "title": "" }, { "docid": "f09706a88b89befcf8aa00c9813a8052", "score": "0.6521878", "text": "public int getReason() {\n return reason_;\n }", "title": "" }, { "docid": "f09706a88b89befcf8aa00c9813a8052", "score": "0.6521878", "text": "public int getReason() {\n return reason_;\n }", "title": "" }, { "docid": "4b18257e4f340138f8b534b4bd936fda", "score": "0.6440225", "text": "public void setReason(String r) { reason = r; }", "title": "" }, { "docid": "87def91aeee605c5ff30ba368a7d6049", "score": "0.64342177", "text": "public String getReason() { return reason; }", "title": "" }, { "docid": "0cf64b30dc03fce97ed5f49826caae8e", "score": "0.633817", "text": "private void setReasonValue(int value) {\n reason_ = value;\n }", "title": "" }, { "docid": "77e792d7ad293934939bdf93b969920d", "score": "0.63164115", "text": "public int getReason() {\n return reason_;\n }", "title": "" }, { "docid": "77e792d7ad293934939bdf93b969920d", "score": "0.63164115", "text": "public int getReason() {\n return reason_;\n }", "title": "" }, { "docid": "a9dcabd6281aafff8963b01976f02ca3", "score": "0.63089806", "text": "@java.lang.Override\n public int getReasonValue() {\n return reason_;\n }", "title": "" }, { "docid": "a9dcabd6281aafff8963b01976f02ca3", "score": "0.63089806", "text": "@java.lang.Override\n public int getReasonValue() {\n return reason_;\n }", "title": "" }, { "docid": "c63fbbe52560d3f2a20872dd6e4066b9", "score": "0.6197722", "text": "@java.lang.Override\n public int getReasonValue() {\n return reason_;\n }", "title": "" }, { "docid": "faa11d851af76d5e11b3d13efa59b4a6", "score": "0.618242", "text": "private void clearReason() {\n \n reason_ = 0;\n }", "title": "" }, { "docid": "d77ce4ef6b56872b7fb0e0ab75e4a72b", "score": "0.61360115", "text": "public String getReason() {\n return reason;\n }", "title": "" }, { "docid": "d77ce4ef6b56872b7fb0e0ab75e4a72b", "score": "0.61360115", "text": "public String getReason() {\n return reason;\n }", "title": "" }, { "docid": "a13a37ca109d542878609b2651e1c763", "score": "0.6088722", "text": "String getReason();", "title": "" }, { "docid": "a13a37ca109d542878609b2651e1c763", "score": "0.6088722", "text": "String getReason();", "title": "" }, { "docid": "14332007590c7200119c844d3c322387", "score": "0.6033849", "text": "boolean hasReason();", "title": "" }, { "docid": "14332007590c7200119c844d3c322387", "score": "0.6033849", "text": "boolean hasReason();", "title": "" }, { "docid": "14332007590c7200119c844d3c322387", "score": "0.6033849", "text": "boolean hasReason();", "title": "" }, { "docid": "14332007590c7200119c844d3c322387", "score": "0.6033849", "text": "boolean hasReason();", "title": "" }, { "docid": "1bf96c5a97ee07a009de6cf6ec6af7c0", "score": "0.60265", "text": "public String getReason() {\n return reason;\n }", "title": "" }, { "docid": "1bf96c5a97ee07a009de6cf6ec6af7c0", "score": "0.60265", "text": "public String getReason() {\n return reason;\n }", "title": "" }, { "docid": "1bf96c5a97ee07a009de6cf6ec6af7c0", "score": "0.60265", "text": "public String getReason() {\n return reason;\n }", "title": "" }, { "docid": "c182279c6be5fd0d9a40fb703b53d38f", "score": "0.6009699", "text": "public int getReason() {\n\t\treturn m_reason;\n\t}", "title": "" }, { "docid": "05cb0edb6e545524ba3c1c89a7fc7513", "score": "0.60045916", "text": "public void setReason(String reason) {\n this.reason = reason;\n }", "title": "" }, { "docid": "8d544960cdd25364addda406c21e7d55", "score": "0.599812", "text": "java.lang.String getReason();", "title": "" }, { "docid": "8d544960cdd25364addda406c21e7d55", "score": "0.599812", "text": "java.lang.String getReason();", "title": "" }, { "docid": "1444477e821697705aac441b5172b077", "score": "0.5997268", "text": "public void onFailure(int reason) {\n }", "title": "" }, { "docid": "eaab1feb7fe6e9b8eeaf8c6c96fdcbb9", "score": "0.5966971", "text": "int getEdenyReason();", "title": "" }, { "docid": "eaab1feb7fe6e9b8eeaf8c6c96fdcbb9", "score": "0.5966971", "text": "int getEdenyReason();", "title": "" }, { "docid": "cff7d9350e32e906c2a81aaee28a4155", "score": "0.5956203", "text": "public String reason() {\n return this.reason;\n }", "title": "" }, { "docid": "b6b98bd9cab508a17808cfaee5b77008", "score": "0.5951326", "text": "public void onFailure(int reason) {\n }", "title": "" }, { "docid": "fd7762fcb9ebdf7a7ad78a36d9ee9a27", "score": "0.594513", "text": "com.google.protobuf.ByteString\n getReasonBytes();", "title": "" }, { "docid": "a011f84fa56c6071a03588e0195071a9", "score": "0.594317", "text": "short reply_status ();", "title": "" }, { "docid": "718b27b9a46540032920aa74cf163dda", "score": "0.59233093", "text": "public String getReason() {\n return this.reason;\n }", "title": "" }, { "docid": "ecb87c9d781d7d059be22c23926b18d9", "score": "0.58867174", "text": "@Override\n \t\t\tpublic void onFailure(int reason) {\n \n \t\t\t}", "title": "" }, { "docid": "297e2a4f23698a8624e10c873691571c", "score": "0.5886058", "text": "void mo23464a(int i, ErrorCode bVar);", "title": "" }, { "docid": "0162804ec26f9356f87f35f8357803f0", "score": "0.5880239", "text": "public void setReason(String input)\r\n\t{\r\n\t\treason = input;\r\n\t}", "title": "" }, { "docid": "ef0a9430750418041b3419ac0a360437", "score": "0.5865726", "text": "public void tryAgain(String reason);", "title": "" }, { "docid": "ea00c81e417b8a313f2b77ac5806466b", "score": "0.5833894", "text": "@Override\n\t\t\tpublic String getName() {\n\t\t\t\treturn \"reason\";\n\t\t\t}", "title": "" }, { "docid": "604e9bf3d6a0b484cf31bcd24907c289", "score": "0.5803075", "text": "public void setReason(String reason) {\n this.reason = reason;\n }", "title": "" }, { "docid": "604e9bf3d6a0b484cf31bcd24907c289", "score": "0.5803075", "text": "public void setReason(String reason) {\n this.reason = reason;\n }", "title": "" }, { "docid": "894e0373edb42123e477f854909645bd", "score": "0.57751137", "text": "int getStatusMsg();", "title": "" }, { "docid": "f45d8e037f9f2063934b2f3b2789eb59", "score": "0.5775045", "text": "@Override\n\t\t\t\t\t\t\tpublic void onFailure(Throwable reason) {\n\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "a98a9c3062f7562af07aa5427fc53af8", "score": "0.5767351", "text": "CodeableConcept getReason();", "title": "" }, { "docid": "6545c8c3f6cc4754774d86de0fc0eea2", "score": "0.57432246", "text": "public String getReason(){\n\t\t\treturn this.reason;\n\t\t}", "title": "" }, { "docid": "0f65baa70a77c78a0da0f1ffd880919c", "score": "0.57164097", "text": "java.lang.String getReasonMessage();", "title": "" }, { "docid": "82d0c5ca0743d350edf9006db7f1ce7b", "score": "0.5710573", "text": "public String getReason() {\n return reasonBuffer.length() == 0 ? null : reasonBuffer.toString();\n }", "title": "" }, { "docid": "0d0fed3d3dcc0c74e0a6174f3b10228b", "score": "0.57044375", "text": "public String getReason()\n\t{\n\t\treturn reason.toString();\n\t}", "title": "" }, { "docid": "dc48a7804b7263824cbb6b2514a27047", "score": "0.5680922", "text": "public int getHinting() {\n/* 90 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "163d743b2340aff7cbed81ac695e5098", "score": "0.56778026", "text": "@Override\n\t\t\tpublic void onFailure(Throwable reason) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a6be141e227ee0862abf5db8b8349312", "score": "0.56758714", "text": "public void setReason(String reason){\n\t\t\tthis.reason = reason;\n\t\t}", "title": "" }, { "docid": "9d738776e166c7de3ef120942c3d4aee", "score": "0.56705755", "text": "public String get_undefreason() throws Exception {\n\t\treturn this.undefreason;\n\t}", "title": "" }, { "docid": "39334b838fed1a1f79d51b2a4be82c63", "score": "0.5641562", "text": "@Test(priority=7)\n\tpublic void validateTargetIsRequiredErrorMsg() throws InterruptedException \n\t{\n\t\tdouble cmp=c.getCmpValue();\n\t\tc.getTargetIsRequiredErrorMsgBuyType(cmp-3.0);\n\t}", "title": "" }, { "docid": "c687e2951d71cae8eecbf8de803109c1", "score": "0.5635271", "text": "void mo1594a(Status status);", "title": "" }, { "docid": "e05b81e3f0a390bbf44f8521abebdf99", "score": "0.5633235", "text": "public void addReason(Reason<?> reason) {\r\n\t\taddReason(reason, 1);\r\n\t}", "title": "" }, { "docid": "f28b72469ecedc89898f8a4c726f1dd3", "score": "0.5633121", "text": "com.google.protobuf.ByteString\n getReasonBytes();", "title": "" }, { "docid": "37961a92b81df00c92ca3dc7f5b2e594", "score": "0.56227106", "text": "private static short getQuoteStatus(String reason) {\n\t \tshort status = 0;\n\t\t\n\t\tfor (short i = 0; i < quoteStatusText.length; i++) {\n\t\t\tif (quoteStatusText[i].equals(reason )) {\n\t\t\t\tstatus = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\treturn status;\n\t }", "title": "" }, { "docid": "a133e67f801e2248a7daa51129de83ec", "score": "0.56165504", "text": "public Builder setReason(int value) {\n bitField0_ |= 0x00000001;\n reason_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a133e67f801e2248a7daa51129de83ec", "score": "0.56165504", "text": "public Builder setReason(int value) {\n bitField0_ |= 0x00000001;\n reason_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "935f5d44b5f6449291f723958f2e9353", "score": "0.5586457", "text": "int getClientExceeded(){\r\n \r\n return p;\r\n \r\n }", "title": "" }, { "docid": "7d67e470dd7fecaf99f4bf6e1c6ef1ab", "score": "0.55770177", "text": "void mo23465a(int i, ErrorCode bVar, ByteString fVar);", "title": "" }, { "docid": "dde764ba999cfc5c2455b7190c56d082", "score": "0.55738425", "text": "public void printMessage(String reason){\n System.out.println(reason);\n\n }", "title": "" }, { "docid": "f92290b5c29fd87f7aed8106e534b4a8", "score": "0.5559604", "text": "public int getMisfireInstruction();", "title": "" }, { "docid": "87549c076e6525bd3b24914e2f9adb9c", "score": "0.5554322", "text": "@java.lang.Override\n public int getReasonValue() {\n return instance.getReasonValue();\n }", "title": "" }, { "docid": "650c1e714611bab22d340c6c3e1bf33f", "score": "0.555075", "text": "com.google.protobuf.ByteString getReasonMessageBytes();", "title": "" }, { "docid": "6c8da00ae9ec21221e79302d792c03e0", "score": "0.5550392", "text": "RequestFailureReason(int code) {\n this.code = code;\n this.hasProtocolSupport = true;\n }", "title": "" }, { "docid": "5bd60c846dabc540ef66e9882852556a", "score": "0.55433935", "text": "public interface ValidationFailureReason {\n\n @SuppressWarnings(\"unused\")\n String getMessage();\n\n}", "title": "" }, { "docid": "00c7b43c950a365537d1243b49706587", "score": "0.5506097", "text": "public int getSubtype() {\n/* 59 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" }, { "docid": "f910b38a7cbc47dd7c82573f0a2aad4b", "score": "0.5496446", "text": "MsgDefine.error_code_e getErrorCode();", "title": "" } ]
a88c240bb13e4516822f4355cc99291e
Gets the "CdgIntRecep" element
[ { "docid": "9d21dfd737c5f52710c56ce217bf63f3", "score": "0.811115", "text": "java.lang.String getCdgIntRecep();", "title": "" } ]
[ { "docid": "24cf86f8d40f0beeb1e4c3f5c212e71f", "score": "0.8325032", "text": "cl.sii.siiDte.DTEDefType.Liquidacion.Encabezado.Receptor.CdgIntRecep xgetCdgIntRecep();", "title": "" }, { "docid": "57650947873fe6ae15b41ac7163d3f97", "score": "0.8311834", "text": "cl.sii.siiDte.DTEDefType.Documento.Encabezado.Receptor.CdgIntRecep xgetCdgIntRecep();", "title": "" }, { "docid": "0594ce33bf29798ae2db0d2f5f0b6a9f", "score": "0.8213828", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Encabezado.Receptor.CdgIntRecep xgetCdgIntRecep();", "title": "" }, { "docid": "9201aa47fea681d2b5b01747e12b3c29", "score": "0.74433166", "text": "void xsetCdgIntRecep(cl.sii.siiDte.DTEDefType.Liquidacion.Encabezado.Receptor.CdgIntRecep cdgIntRecep);", "title": "" }, { "docid": "9a49595c8c4868eb2a3cb5353af0873d", "score": "0.74406797", "text": "void xsetCdgIntRecep(cl.sii.siiDte.DTEDefType.Documento.Encabezado.Receptor.CdgIntRecep cdgIntRecep);", "title": "" }, { "docid": "f89bbb03b49d8bf814ba37248a226f56", "score": "0.73607576", "text": "void xsetCdgIntRecep(cl.sii.siiDte.DTEDefType.Exportaciones.Encabezado.Receptor.CdgIntRecep cdgIntRecep);", "title": "" }, { "docid": "4956c4fee81d3b454fddcd6460573a8f", "score": "0.70138603", "text": "void setCdgIntRecep(java.lang.String cdgIntRecep);", "title": "" }, { "docid": "4956c4fee81d3b454fddcd6460573a8f", "score": "0.70138603", "text": "void setCdgIntRecep(java.lang.String cdgIntRecep);", "title": "" }, { "docid": "4956c4fee81d3b454fddcd6460573a8f", "score": "0.70138603", "text": "void setCdgIntRecep(java.lang.String cdgIntRecep);", "title": "" }, { "docid": "5dc1b6d4ff7e02b0d28634463a5031b4", "score": "0.6661614", "text": "boolean isSetCdgIntRecep();", "title": "" }, { "docid": "5dc1b6d4ff7e02b0d28634463a5031b4", "score": "0.6661614", "text": "boolean isSetCdgIntRecep();", "title": "" }, { "docid": "5dc1b6d4ff7e02b0d28634463a5031b4", "score": "0.6661614", "text": "boolean isSetCdgIntRecep();", "title": "" }, { "docid": "1452889e58b5fddb9521312eb34a6e94", "score": "0.6166627", "text": "void unsetCdgIntRecep();", "title": "" }, { "docid": "1452889e58b5fddb9521312eb34a6e94", "score": "0.6166627", "text": "void unsetCdgIntRecep();", "title": "" }, { "docid": "1452889e58b5fddb9521312eb34a6e94", "score": "0.6166627", "text": "void unsetCdgIntRecep();", "title": "" }, { "docid": "ce8a1988fc77bfd6792aad9aab55459a", "score": "0.60097235", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Encabezado.Receptor.Extranjero.IdAdicRecep xgetIdAdicRecep();", "title": "" }, { "docid": "749f17da3a4bff1e542763f716a1e0bf", "score": "0.6006954", "text": "public int getInterrupt()\n {\n return Integer.parseInt(cbbInterrupt.getSelectedItem().toString(), 16);\n }", "title": "" }, { "docid": "a4fc508de7392d41177a6bfd1443d64c", "score": "0.57646906", "text": "public EIntElements getEIntAccess() {\n\t\treturn pEInt;\n\t}", "title": "" }, { "docid": "a4fc508de7392d41177a6bfd1443d64c", "score": "0.57646906", "text": "public EIntElements getEIntAccess() {\n\t\treturn pEInt;\n\t}", "title": "" }, { "docid": "a4fc508de7392d41177a6bfd1443d64c", "score": "0.57646906", "text": "public EIntElements getEIntAccess() {\n\t\treturn pEInt;\n\t}", "title": "" }, { "docid": "a4fc508de7392d41177a6bfd1443d64c", "score": "0.57646906", "text": "public EIntElements getEIntAccess() {\n\t\treturn pEInt;\n\t}", "title": "" }, { "docid": "a4fc508de7392d41177a6bfd1443d64c", "score": "0.57646906", "text": "public EIntElements getEIntAccess() {\n\t\treturn pEInt;\n\t}", "title": "" }, { "docid": "30d6bdb493608d65d3361f3b33a475b0", "score": "0.5627933", "text": "java.lang.String getCdgVendedor();", "title": "" }, { "docid": "30d6bdb493608d65d3361f3b33a475b0", "score": "0.5626976", "text": "java.lang.String getCdgVendedor();", "title": "" }, { "docid": "30d6bdb493608d65d3361f3b33a475b0", "score": "0.5626976", "text": "java.lang.String getCdgVendedor();", "title": "" }, { "docid": "d6b5e68ecde7faca437608225cba08bf", "score": "0.5622162", "text": "cl.sii.siiDte.DTEDefType.Documento.Detalle.CdgItem.VlrCodigo xgetVlrCodigo();", "title": "" }, { "docid": "81b91a97489420fcbdc2b93405f1a447", "score": "0.5572997", "text": "cl.sii.siiDte.DTEDefType.Liquidacion.Detalle.CdgItem.VlrCodigo xgetVlrCodigo();", "title": "" }, { "docid": "87c0bbfb32f0a9ef3c4b6d29c0d58adc", "score": "0.5545242", "text": "cl.sii.siiDte.DTEDefType.Documento.Encabezado.IdDoc.IndNoRebaja xgetIndNoRebaja();", "title": "" }, { "docid": "a6e18a5910160d3fb9618fa8bf122e85", "score": "0.5544759", "text": "cl.sii.siiDte.DTEDefType.Documento.DscRcgGlobal.IndExeDR xgetIndExeDR();", "title": "" }, { "docid": "136c4d676bd30ec1a45879c43ca5c9cc", "score": "0.548159", "text": "cl.sii.siiDte.ComunaType xgetCmnaRecep();", "title": "" }, { "docid": "136c4d676bd30ec1a45879c43ca5c9cc", "score": "0.54812497", "text": "cl.sii.siiDte.ComunaType xgetCmnaRecep();", "title": "" }, { "docid": "136c4d676bd30ec1a45879c43ca5c9cc", "score": "0.54812497", "text": "cl.sii.siiDte.ComunaType xgetCmnaRecep();", "title": "" }, { "docid": "fdb3fd75514f30b083a5381c26858fe8", "score": "0.5468721", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Detalle.CdgItem.VlrCodigo xgetVlrCodigo();", "title": "" }, { "docid": "75f92c793509f16c045494e98733e474", "score": "0.5467281", "text": "public String getIndicieRecarga() {\n\t\treturn indicieRecarga;\n\t}", "title": "" }, { "docid": "bbd8e379d585a67f11d7b52e8091f367", "score": "0.5455422", "text": "cl.sii.siiDte.DTEDefType.Documento.Detalle.CdgItem.TpoCodigo xgetTpoCodigo();", "title": "" }, { "docid": "a988878322f97b7091bd92b3b57b62ee", "score": "0.54499424", "text": "public java.lang.String getIntermgracceptid () {\n\t\treturn intermgracceptid;\n\t}", "title": "" }, { "docid": "1400f10602a3ba7103150948c0edc3d5", "score": "0.54213387", "text": "cl.sii.siiDte.DTEDefType.Liquidacion.Detalle.CdgItem.TpoCodigo xgetTpoCodigo();", "title": "" }, { "docid": "37c59b3f220ab7e8fcaa4c93b260f260", "score": "0.5375688", "text": "cl.sii.siiDte.DTEDefType.Liquidacion.Encabezado.Emisor.CdgVendedor xgetCdgVendedor();", "title": "" }, { "docid": "1e08878a9ff22eb50c303b29465ab611", "score": "0.5343407", "text": "public HTMLElement getElementNroRegistros() { return this.$element_NroRegistros; }", "title": "" }, { "docid": "5cac861c7ccbe0cc6845bcc74eb349a8", "score": "0.53423375", "text": "public java.lang.String getTip_cal_ati_cd();", "title": "" }, { "docid": "579cb496befebadf3a22643fe844d50a", "score": "0.53313076", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Detalle.CdgItem.TpoCodigo xgetTpoCodigo();", "title": "" }, { "docid": "28b554e512e87f97c2a99cc86eabb78c", "score": "0.53169847", "text": "int getCdgSIISucur();", "title": "" }, { "docid": "28b554e512e87f97c2a99cc86eabb78c", "score": "0.53169847", "text": "int getCdgSIISucur();", "title": "" }, { "docid": "28b554e512e87f97c2a99cc86eabb78c", "score": "0.53169847", "text": "int getCdgSIISucur();", "title": "" }, { "docid": "c7a6a8c0497822aff9a5be1950511b13", "score": "0.52997965", "text": "cl.sii.siiDte.DTEDefType.Documento.Detalle.IndExe xgetIndExe();", "title": "" }, { "docid": "66c1425db4b420b9d8f7c24643e02a0b", "score": "0.5293974", "text": "cl.sii.siiDte.DTEDefType.Documento.Encabezado.Emisor.CdgVendedor xgetCdgVendedor();", "title": "" }, { "docid": "dd61449f8223a46e793634067ca407cf", "score": "0.5258161", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.DscRcgGlobal.IndExeDR xgetIndExeDR();", "title": "" }, { "docid": "c21dcef311054ec6bc1b2a1b25d95679", "score": "0.5233953", "text": "public Integer getFaultId() {\n return faultId;\n }", "title": "" }, { "docid": "288c5929a0b1511c42eaf35a4881fd89", "score": "0.52163655", "text": "public int getIconCodepoint() {\n return iconCodepoint;\n }", "title": "" }, { "docid": "46e9ce56e15cf74a0ab416fae8319761", "score": "0.52130055", "text": "java.lang.String getIdAdicRecep();", "title": "" }, { "docid": "18cd2ab915355e2256e6493504295ce5", "score": "0.52100074", "text": "cl.sii.siiDte.DTEDefType.Liquidacion.Detalle.IndExe xgetIndExe();", "title": "" }, { "docid": "c3d45074582d2cb7dab6469d5a1a861f", "score": "0.52025855", "text": "org.apache.xmlbeans.XmlPositiveInteger xgetNroLinDR();", "title": "" }, { "docid": "c3d45074582d2cb7dab6469d5a1a861f", "score": "0.52025855", "text": "org.apache.xmlbeans.XmlPositiveInteger xgetNroLinDR();", "title": "" }, { "docid": "dbcc674e5306e863812242be1b140151", "score": "0.51985604", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Encabezado.Emisor.CdgVendedor xgetCdgVendedor();", "title": "" }, { "docid": "05df6ef761d822f56899768f3f095dca", "score": "0.51962227", "text": "cl.sii.siiDte.DTEDefType.Liquidacion.Encabezado.Emisor.CdgSIISucur xgetCdgSIISucur();", "title": "" }, { "docid": "5cd2b154c3bc15c23eeb34c6605e7300", "score": "0.5181523", "text": "public int getTempCongelacionRecomendada() {\n\t\treturn tempCongelacionRecomendada;\n\t}", "title": "" }, { "docid": "2a0dc9975b5d61709d9597a26d69671d", "score": "0.5177579", "text": "cl.sii.siiDte.ValorType xgetMntExe();", "title": "" }, { "docid": "7e58b4a99451f16530d8f548df073df1", "score": "0.51731694", "text": "java.lang.String getDrgInjCnt();", "title": "" }, { "docid": "aa199e07e1f1e5dd4fed93f50e9e1894", "score": "0.51720184", "text": "public int getElement(){\n\t\treturn element;\n\t}", "title": "" }, { "docid": "6445ff6f5ec0aec5b970320eb5606bb4", "score": "0.5169114", "text": "cl.sii.siiDte.DTEDefType.Documento.Encabezado.Emisor.IdAdicEmisor xgetIdAdicEmisor();", "title": "" }, { "docid": "2e4a89985705c4b1b0b19eb3e85b5ec2", "score": "0.5164012", "text": "public int getElement()\n\t{\n\t\treturn ELEMENTO;\n\t}", "title": "" }, { "docid": "d17386fe850f91244635be6e586e163b", "score": "0.5144521", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Encabezado.Emisor.IdAdicEmisor xgetIdAdicEmisor();", "title": "" }, { "docid": "bcd6c5fa64bfeb1bd5db5590cc2d5793", "score": "0.5142529", "text": "org.apache.xmlbeans.XmlDouble xgetStaStart();", "title": "" }, { "docid": "cf1726c1308da1e795aabb13bf0b9532", "score": "0.51312196", "text": "int readElement() throws RemoteException;", "title": "" }, { "docid": "b23a9a1ebf5bf6878025a54d65d98e9a", "score": "0.51288986", "text": "cl.sii.siiDte.DTEDefType.Documento.Encabezado.Receptor.GiroRecep xgetGiroRecep();", "title": "" }, { "docid": "9c3956ebc200dda158c5de78da6e09c6", "score": "0.51231664", "text": "public CINTEGER getCintegerfield()\n {\n return cintegerfield;\n }", "title": "" }, { "docid": "46038435613d42d8c5d32e29f95af61d", "score": "0.5122254", "text": "public java.lang.Integer getLng_ele_inf_cd();", "title": "" }, { "docid": "a134d04f38d5aa18230949e36e50f61b", "score": "0.5121953", "text": "cl.sii.siiDte.ValorType xgetValComExe();", "title": "" }, { "docid": "a134d04f38d5aa18230949e36e50f61b", "score": "0.5121953", "text": "cl.sii.siiDte.ValorType xgetValComExe();", "title": "" }, { "docid": "67fe78eafae8f3a983a2daafea63170b", "score": "0.5120925", "text": "cl.sii.siiDte.DTEDefType.Documento.Encabezado.Emisor.CdgSIISucur xgetCdgSIISucur();", "title": "" }, { "docid": "5b0735d2ecb4423f9aabe8cdb118566f", "score": "0.5120707", "text": "cl.sii.siiDte.Dec162Type xgetValorRecargo();", "title": "" }, { "docid": "5b0735d2ecb4423f9aabe8cdb118566f", "score": "0.5120707", "text": "cl.sii.siiDte.Dec162Type xgetValorRecargo();", "title": "" }, { "docid": "47b937873fc1748f315fbdcb4639bfaf", "score": "0.5115573", "text": "public java.lang.String getInd_ser_efe_in();", "title": "" }, { "docid": "bfd0dbe34ed54e8f6964ed5715ddf2a6", "score": "0.51128626", "text": "cl.sii.siiDte.DTEDefType.Liquidacion.Encabezado.Receptor.GiroRecep xgetGiroRecep();", "title": "" }, { "docid": "7b08e9383859983e8a5941b5917487d9", "score": "0.5111163", "text": "public int getIdtCodigoRetorno() \n\t{\n\t\treturn this.idtCodigoRetorno;\n\t}", "title": "" }, { "docid": "2be77dec5f51e5b949b948a5a9dd8f73", "score": "0.5111162", "text": "public WebElement getIdMinistarstva () {\n\t\treturn driver.findElement(By.xpath(\"//input[@name='mntrID']\"));\n\t}", "title": "" }, { "docid": "d7cd1d9afa2abd1265980d6c221c1d7d", "score": "0.5103327", "text": "public java.lang.String getInd_ave_rei_in();", "title": "" }, { "docid": "fc0ebf5449e4a930faa092012aa3b5e8", "score": "0.5101041", "text": "void xsetIdAdicRecep(cl.sii.siiDte.DTEDefType.Exportaciones.Encabezado.Receptor.Extranjero.IdAdicRecep idAdicRecep);", "title": "" }, { "docid": "65de7037137893b26c34c7f19f641567", "score": "0.5095699", "text": "public java.lang.String getTip_doc_rte_cd();", "title": "" }, { "docid": "cd9aa04d14081fa8437f6844f758c133", "score": "0.5087805", "text": "cl.sii.siiDte.RUTType xgetRUTRecep();", "title": "" }, { "docid": "cd9aa04d14081fa8437f6844f758c133", "score": "0.5087805", "text": "cl.sii.siiDte.RUTType xgetRUTRecep();", "title": "" }, { "docid": "cd9aa04d14081fa8437f6844f758c133", "score": "0.5087805", "text": "cl.sii.siiDte.RUTType xgetRUTRecep();", "title": "" }, { "docid": "c4a196e4b19501b47e1d2e5d5adceaaf", "score": "0.50737715", "text": "java.lang.String getCorreoRecep();", "title": "" }, { "docid": "c4a196e4b19501b47e1d2e5d5adceaaf", "score": "0.50737715", "text": "java.lang.String getCorreoRecep();", "title": "" }, { "docid": "c4a196e4b19501b47e1d2e5d5adceaaf", "score": "0.50737715", "text": "java.lang.String getCorreoRecep();", "title": "" }, { "docid": "c3b76e6ab68693b0102c9605f176bb83", "score": "0.5072725", "text": "org.apache.xmlbeans.XmlString xgetTransferNumber();", "title": "" }, { "docid": "4d1bfffc95a48889e13ba78180dfb5da", "score": "0.5051611", "text": "org.apache.xmlbeans.XmlUnsignedInt xgetRow();", "title": "" }, { "docid": "6f6ecafcb631bcbea028bc1341ac5cef", "score": "0.50500196", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Encabezado.Emisor.CdgSIISucur xgetCdgSIISucur();", "title": "" }, { "docid": "373df91a6463743495d46a85e9491748", "score": "0.50483865", "text": "cl.sii.siiDte.MntImpType xgetRecargoMonto();", "title": "" }, { "docid": "373df91a6463743495d46a85e9491748", "score": "0.50478977", "text": "cl.sii.siiDte.MntImpType xgetRecargoMonto();", "title": "" }, { "docid": "68fce8c17452c7f6a8b28a5693e4d3b2", "score": "0.5037561", "text": "public int getRptCode_Indicator() {\n return rptCode_Indicator;\n }", "title": "" }, { "docid": "dec80363e103f761005065b491a6f1fe", "score": "0.50353974", "text": "public Integer getRecuperacion( ) {\n \t\treturn recuperacion;\n \t}", "title": "" }, { "docid": "b870c5eafaa641400c0f60b36506f313", "score": "0.5034758", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Encabezado.Receptor.GiroRecep xgetGiroRecep();", "title": "" }, { "docid": "f4bee30ba98524350e3a3f45616b1a7f", "score": "0.5030113", "text": "public HTMLDivElement getElementTrConsulta() { return this.$element_TrConsulta; }", "title": "" }, { "docid": "c34342743bf2d710fe7c16ae226d725b", "score": "0.5022018", "text": "cl.sii.siiDte.MailType xgetCorreoRecep();", "title": "" }, { "docid": "c34342743bf2d710fe7c16ae226d725b", "score": "0.5022018", "text": "cl.sii.siiDte.MailType xgetCorreoRecep();", "title": "" }, { "docid": "c34342743bf2d710fe7c16ae226d725b", "score": "0.5020267", "text": "cl.sii.siiDte.MailType xgetCorreoRecep();", "title": "" }, { "docid": "2d10653996cb983c7d5956f7bffcb19a", "score": "0.501761", "text": "cl.sii.siiDte.DTEDefType.Exportaciones.Referencia.IdAdicOtr xgetIdAdicOtr();", "title": "" } ]
58b7dce8ab876a55f38afd302b704fc8
Returns which indices are free in the table, maybe be more than one of same index for multiple bucket hashing
[ { "docid": "5856ae09cb1520c8fb2503cc2240eb6e", "score": "0.0", "text": "public void getFreeSpaces() {\r\n for (int i : stackTrace) \r\n System.out.print(i + \" \");\r\n System.out.println();\r\n }", "title": "" } ]
[ { "docid": "c54f5729da894286eb10ef327ed21f94", "score": "0.6012321", "text": "private void freeEntireBuckets(int completelyFreeBucketsNeeded) {\n if (completelyFreeBucketsNeeded != 0) {\n // First we will build a set where the offsets are reference counted, usually\n // this set is small around O(Handler Count) unless something else is wrong\n Set<Integer> inUseBuckets = new HashSet<>();\n backingMap.forEach((k, be) -> {\n if (be.isRpcRef()) {\n inUseBuckets.add(bucketAllocator.getBucketIndex(be.offset()));\n }\n });\n Set<Integer> candidateBuckets =\n bucketAllocator.getLeastFilledBuckets(inUseBuckets, completelyFreeBucketsNeeded);\n for (Map.Entry<BlockCacheKey, BucketEntry> entry : backingMap.entrySet()) {\n if (candidateBuckets.contains(bucketAllocator.getBucketIndex(entry.getValue().offset()))) {\n evictBucketEntryIfNoRpcReferenced(entry.getKey(), entry.getValue());\n }\n }\n }\n }", "title": "" }, { "docid": "3e0699c110b561a82cb310a2f186e0bd", "score": "0.5847277", "text": "protected int getBucketIndex(int nHash, int cBuckets)\n {\n return (int) ((((long) nHash) & 0xFFFFFFFFL) % ((long) cBuckets));\n }", "title": "" }, { "docid": "7123cbb4ff2e187b33d658a58471e17a", "score": "0.5845321", "text": "protected final int nextIndex() {\n/* 1025 */ if (this._expectedSize != this._hash.size()) {\n/* 1026 */ throw new ConcurrentModificationException();\n/* */ }\n/* */ \n/* 1029 */ Object[] set = TObjectLongHashMap.this._set;\n/* 1030 */ int i = this._index;\n/* 1031 */ while (i-- > 0 && (set[i] == TObjectHash.FREE || set[i] == TObjectHash.REMOVED));\n/* */ \n/* */ \n/* */ \n/* */ \n/* 1036 */ return i;\n/* */ }", "title": "" }, { "docid": "da01980079a574c514391944612aaacc", "score": "0.58238155", "text": "int getIndexCount();", "title": "" }, { "docid": "a99bfc6782304f243028e3a8fe494c40", "score": "0.5817232", "text": "@Override\n\tpublic Map<Column, List<Pair<IndexSpecification, Integer>>> getPossibleFutureUseIndices() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5fafebdc0aae4a53bbf66180be65048a", "score": "0.5807444", "text": "private int conflicts(int index) {\n\t\tint conflicts = 0;\n\t\tif (hashTable.get(index).size() > 1) {\n\t\t\tfor (int i = 0; i < hashTable.get(index).size(); i++) {\n\t\t\t\tconflicts += 1;\n\t\t\t}\n\t\t}\n\t\treturn conflicts;\n\t}", "title": "" }, { "docid": "3109956ede3aa48f3e4f9113b0004fc4", "score": "0.57399505", "text": "private int calcIndex(KeyType key) {\r\n\t\tint hash = (Math.abs(key.hashCode()) % this.capacity);\r\n\t\treturn hash;\r\n\t}", "title": "" }, { "docid": "32892134b912db5780263c0ba33f1f97", "score": "0.57324034", "text": "BigDecimal getAllShareIndex();", "title": "" }, { "docid": "afab9f1d17f28eef7d7d648be552f89c", "score": "0.5705569", "text": "Collection<String> allClosedIndices();", "title": "" }, { "docid": "7b38568dfff96c6e1587a727f9928b5f", "score": "0.5697348", "text": "public double calcGBCEAllShareIndex() throws Exception;", "title": "" }, { "docid": "41a620b37342955fc63a042044a811c9", "score": "0.56798637", "text": "private int getIndexFor(Object key) {\n\t\treturn Math.abs(key.hashCode() % SIZE);\n\t}", "title": "" }, { "docid": "94d4848612f384a6de73e073035ba3be", "score": "0.56696767", "text": "public int getG2HashTableNumberOfEntries() throws G2AccessException;", "title": "" }, { "docid": "3a3c5934a14fc22f7191c57380adab3d", "score": "0.56441337", "text": "private int[] getCompleteHash(Object data) {\n int[] hashKeys = new int[hashCount];\n hashKeys[0] = getHash(data.hashCode());\n for (int i = 1; i < hashCount; i++)\n hashKeys[i] = (getHash(hashKeys[i - 1]));\n return hashKeys;\n }", "title": "" }, { "docid": "df6cd620940f85a5f612d426bf0f406d", "score": "0.5550809", "text": "long getIndex();", "title": "" }, { "docid": "df6cd620940f85a5f612d426bf0f406d", "score": "0.5550809", "text": "long getIndex();", "title": "" }, { "docid": "78a01f99b641c7b3c95030f12c410bce", "score": "0.55399066", "text": "public int getIndex(Object key) {\n\t\tint tableSize = table.length;\n\t\tint index = Math.abs(key.hashCode());\n\t\treturn index % tableSize;\n\t}", "title": "" }, { "docid": "e1dbc2ed35dfa3c25ed37e7453c63eeb", "score": "0.55374825", "text": "public synchronized Enumeration<Integer> indices() {\n return memoryToItemIndices.keys();\n }", "title": "" }, { "docid": "07ed46c5f529e56c58f692d03e297cfd", "score": "0.55348057", "text": "CycList<Integer> allIndicesOf(E elem);", "title": "" }, { "docid": "d693abdd90401c88649a5af5e8047d73", "score": "0.55322397", "text": "private int calculateIndex(Object key, int tableCapacity) {\n\t\treturn Math.abs(key.hashCode()) % tableCapacity;\n\t}", "title": "" }, { "docid": "30f19109882adcfcda0501ec6e30f583", "score": "0.55058724", "text": "private A getBucketIndex (L location) {\r\n\t\t// Call Java's hashCode... or another function\r\n\t\tint hashCode = location.hashCode();\r\n\t\t// Every now and again, hashCode returns a negative value\r\n\t\tint hashCode = Math.abs(hashCode);\r\n\t\tint index = hashCode % numBuckets;\r\n\t\treturn index;\r\n\t}", "title": "" }, { "docid": "5a9d45a6dc9b8c3ab37071be9d7850d1", "score": "0.54992855", "text": "private int[] getIndicesOfNextEmptyCell()\n\t{\n\t\tint[] xy = new int[2];\n\t\t\n\t\tfor (xy[0]=0; xy[0]<nCellsPerSide; xy[0]++)\n\t\t\tfor (xy[1]=0; xy[1]<nCellsPerSide; xy[1]++)\n\t\t\t\tif (values[xy[0]][xy[1]] == 0)\n\t\t\t\t\treturn xy;\n\t\t\n\t\treturn null;\n\t}", "title": "" }, { "docid": "185ba7305b3680263f6b89d1d27ad537", "score": "0.5456093", "text": "BigInteger getCurrentIndex();", "title": "" }, { "docid": "03ccf089b4a6c277f878ba192a3d191e", "score": "0.54560524", "text": "public java.lang.String getNumBuckets(){\r\n return localNumBuckets;\r\n }", "title": "" }, { "docid": "dc4222a3ecd4749ccfc60cbe52c06b10", "score": "0.5448112", "text": "boolean hasIndex();", "title": "" }, { "docid": "dc4222a3ecd4749ccfc60cbe52c06b10", "score": "0.5448112", "text": "boolean hasIndex();", "title": "" }, { "docid": "dc4222a3ecd4749ccfc60cbe52c06b10", "score": "0.5448112", "text": "boolean hasIndex();", "title": "" }, { "docid": "dc4222a3ecd4749ccfc60cbe52c06b10", "score": "0.5448112", "text": "boolean hasIndex();", "title": "" }, { "docid": "dc4222a3ecd4749ccfc60cbe52c06b10", "score": "0.5448112", "text": "boolean hasIndex();", "title": "" }, { "docid": "c1d073eccf79c4d49582a2c89afab998", "score": "0.544115", "text": "private AtomicReferenceArray getTable()\r\n {\r\n expungeCount++;\r\n if (expungeCount >= MAX_EXPUNGE_COUNT)\r\n {\r\n expungeCount = 0;\r\n if (expungerUpdater.compareAndSet(this, 0, 1))\r\n {\r\n MithraConcurrentEvictorThread.getInstance().queueEviction(this);\r\n }\r\n }\r\n return table;\r\n }", "title": "" }, { "docid": "0577a16704a05eb70b9e2cde979fc2e8", "score": "0.5428594", "text": "public Map getIndex() {\n Hashtable availableIndexes = new Hashtable();\n for (final Object ind : indexes.values()) {\n // Check if the returned value is instance of Index (this means\n // the index is not in create phase, its created successfully).\n if (ind instanceof Index) {\n availableIndexes.put(((Index) ind).getName(), ind);\n }\n }\n return availableIndexes;\n }", "title": "" }, { "docid": "dc22d50cf49d676f455f9525b1dab9a8", "score": "0.5428347", "text": "int[] getIndices();", "title": "" }, { "docid": "cabc62a684b3c18f63523d3302fcb20b", "score": "0.5413334", "text": "public long getIndex();", "title": "" }, { "docid": "5d29cf6675c0ee5971eeefc136a449b2", "score": "0.5363236", "text": "public int getTablesVisibleIn();", "title": "" }, { "docid": "1755c653c82574f97b184979e136464c", "score": "0.5353803", "text": "private int currentSize() {\n\t\treturn indexMap.size();\n\t}", "title": "" }, { "docid": "5d6a5891b64481478c241d7ee95bba87", "score": "0.5347018", "text": "@Override\n public int numOfCollisions() {\n // save all hash values.\n int[] hashValues = new int[size];\n int index = 0;\n int collisionsNum = 0;\n for (int i = 0; i < hashArray.length; i++) {\n if (hashArray[i] != null && hashArray[i] != DELETED) {\n // find out all values in the hash table.\n hashValues[index++] = hashValue(hashArray[i].value);\n }\n }\n // check all size element in the table and find the same hash values\n // To ignore the checked hashValue,using a flag to mark\n boolean[] flag = new boolean[index]; // default value is false\n for (int i = 0; i < index; i++) {\n if (!flag[i]) {\n for (int j = i + 1; j < index; j++) {\n if (!flag[j]) {\n if (hashValues[j] == hashValues[i]) {\n collisionsNum++;\n // mark the have checked value\n flag[i] = true;\n flag[j] = true;\n }\n }\n }\n }\n }\n return collisionsNum;\n }", "title": "" }, { "docid": "da349607638a75f9d8e4d77ef1d51531", "score": "0.53433496", "text": "private int bucketSizesAboveThresholdCount(float minFactor) {\n BucketAllocator.IndexStatistics[] stats = bucketAllocator.getIndexStatistics();\n int fullCount = 0;\n for (int i = 0; i < stats.length; i++) {\n long freeGoal = (long) Math.floor(stats[i].totalCount() * (1 - minFactor));\n freeGoal = Math.max(freeGoal, 1);\n if (stats[i].freeCount() < freeGoal) {\n fullCount++;\n }\n }\n return fullCount;\n }", "title": "" }, { "docid": "356cb7fcfa807a132005f4a23d7bc27f", "score": "0.53426296", "text": "private int hash(K key) {\n\t\treturn key.hashCode() % table.length;\n\t}", "title": "" }, { "docid": "4a6ade9f2b8fab366a407a28db1944bc", "score": "0.53308654", "text": "long getIfIndex();", "title": "" }, { "docid": "802886b35b0ab8eb878890a15cc6c353", "score": "0.5330184", "text": "public int[] findIndices() {\n int len = 0;\n for (int i = 0; i < length; i++) {\n if (get(i) != 0.0) {\n len++;\n }\n }\n\n int[] indices = new int[len];\n int c = 0;\n\n for (int i = 0; i < length; i++) {\n if (get(i) != 0.0) {\n indices[c++] = i;\n }\n }\n\n return indices;\n }", "title": "" }, { "docid": "2880068382fb62c4929aff57a01f30fa", "score": "0.53299564", "text": "int getUsedPublicActionIDs(int index);", "title": "" }, { "docid": "28be9b97d995f36b062408a403b30c20", "score": "0.53285885", "text": "public final int getNumIndices()\n\t{\n\t\treturn asset.indices.size();\n\t}", "title": "" }, { "docid": "c28f1d813440a061cc62f0653be0ebcb", "score": "0.5300151", "text": "public boolean hasIndex();", "title": "" }, { "docid": "53256e54875ccca048632929fd70944b", "score": "0.5297529", "text": "public int getIndexCount()\n{\n return index.length;\n}", "title": "" }, { "docid": "6c0007af44c372b4c714a76afd382f72", "score": "0.5294187", "text": "private int keyHelper(K key) {\n int addr = Math.abs(key.hashCode()) % table.length;\n for (int j = 0; j < addr; j++) {\n if (table[(addr + j * j) % table.length] == null) {\n return -1;\n } else if (table[(addr + j * j) % table.length].getKey()\n .equals(key)\n && !table[(addr + j * j) % table.length].isRemoved()) {\n return (addr + j * j) % table.length;\n }\n }\n for (int i = addr; i < table.length; i++) {\n if (table[(addr + i * i) % table.length] == null) {\n return -1;\n } else if (table[(addr + i * i) % table.length].getKey()\n .equals(key)\n && !table[(addr + i * i) % table.length].isRemoved()) {\n return (addr + i * i) % table.length;\n }\n }\n return -1;\n }", "title": "" }, { "docid": "2a9f17fdf2bcc5f554477ee1d3d443f5", "score": "0.5273152", "text": "public int getIndex(String key) {\n\t\tint h = Math.abs(key.hashCode());\n\t\tint index = h%numBuckets;\n\t\treturn index;\n\t}", "title": "" }, { "docid": "9f3ed8d5905bfc339c6af4fe9c2b2fd9", "score": "0.52651745", "text": "private int prepareIndexInfo()\n {\n m_conceptFulltextIndex = m_termbase.getConceptLevelFulltextIndex();\n\n m_fulltextIndexes = m_termbase.getFulltextIndexes();\n m_fuzzyIndexes = m_termbase.getFuzzyIndexes();\n\n int result = m_conceptFulltextIndex == null ? 0 : 1;\n result += m_fulltextIndexes.size();\n result += m_fuzzyIndexes.size();\n\n return result;\n }", "title": "" }, { "docid": "b740438e29ca7894a787ad416b7e5880", "score": "0.52592456", "text": "private int hash(K key) {\n return key.hashCode() % numBuckets;\n }", "title": "" }, { "docid": "efa6ea9f5912113592b7234578e37a95", "score": "0.52531594", "text": "private int hash(T t) {\r\n return t.hashCode() % Table.size();\r\n }", "title": "" }, { "docid": "447ffb92ffb4cab67e63f4426dbe16ca", "score": "0.5245837", "text": "private int[] getLocation(K key) {\n\t\t\n\t\tint index = hashFunction(key);\n\t\t\n\t\tint x = key.hashCode();\n\t\tArrayList<Entry<K, V>> bucket = slots.get(index);//the bucket of the slot\n\t\t\n\t\tint i;\n\t\tfor(i = 0 ; i < bucket.size(); i++) {\n\t\t\tif(bucket.get(i).hashCode == x)\n\t\t\t\tbreak;\n\t\t}\n\t\t\n\t\tif(i == bucket.size())//key not found\n\t\t\treturn null;\n\t\t\n\t\tint r[] = new int[2];\n\t\tr[0] = index;\n\t\tr[1] = i;\n\t\treturn r;\n\t}", "title": "" }, { "docid": "0a3e90ff08fdd760627cdf81137ecd46", "score": "0.52334046", "text": "public Collection<Integer> getActiveIndexes() {\n HashSet<Integer> result = new HashSet<Integer>();\n for (AtomicInteger i : mActiveIndexes) {\n result.add(i.get());\n }\n return result;\n }", "title": "" }, { "docid": "743c93cf3414c13feb2a5015e0d47ea2", "score": "0.5220202", "text": "private void indexInit()\n {\n int[] anHashOld = m_anHash;\n\n int cBucketsOld = anHashOld == null ? 0 : anHashOld.length;\n int nModuloOld = cBucketsOld >>> 1;\n int nModuloNew = INDEX_SIZE[Integer.numberOfTrailingZeros(m_aElem.length)];\n assert nModuloNew > 0;\n if (nModuloNew == nModuloOld)\n {\n return;\n }\n\n // allocate the new index structure; size 2*(prime bigger than array size) and fill with -1\n int cBucketsNew = nModuloNew << 1;\n int[] anHashNew = new int[cBucketsNew];\n Arrays.fill(anHashNew, -1);\n m_anHash = anHashNew;\n\n if (cBucketsOld == 0)\n {\n // create the initial entries in the new index structure\n Object[] aElem = m_aElem;\n int nMask = aElem.length-1;\n for (int i = m_iTail, c = m_iHead; i < c; ++i)\n {\n Object o = aElem[i & nMask];\n if (o != null && !(o instanceof Stop))\n {\n indexAdd(o.hashCode(), i);\n }\n }\n }\n else\n {\n // copy the old index entries to the new index structure\n for (int iOld = 0, cOld = anHashOld.length; iOld < cOld; iOld += 2)\n {\n int iElem = anHashOld[iOld];\n if (iElem >= 0)\n {\n int nHash = anHashOld[iOld+1];\n int iNew = ((int) ((nHash & 0xFFFFFFFFFL) % nModuloNew)) << 1;\n while (true)\n {\n // use the first empty bucket that we encounter\n if (anHashNew[iNew] < 0)\n {\n anHashNew[iNew ] = iElem;\n anHashNew[iNew+1] = nHash;\n break;\n }\n\n // proceed to the \"next bucket\" (technically, a pair of values)\n iNew += 2;\n if (iNew >= cBucketsNew)\n {\n iNew = 0;\n }\n }\n }\n }\n }\n }", "title": "" }, { "docid": "115c826f5a79ef40817426e144e85d7e", "score": "0.5204563", "text": "public int countBucket(int index) throws IndexOutOfBoundsException {\r\n if (index < 0 || index >= Table.size()) {\r\n throw new IndexOutOfBoundsException(\"countBucket: your index is out of table's bounds!\");\r\n }\r\n\r\n List<T> list = Table.get(index);\r\n return list.getLength();\r\n }", "title": "" }, { "docid": "0fd4fe76d8e7d6dca592202fb2d9819b", "score": "0.52013385", "text": "public int[] getIndices(Object[] key) {\n return factorTable.getIndices(key);\n }", "title": "" }, { "docid": "18d6c0197a63074bf635666dee91f184", "score": "0.51919305", "text": "static int hashToIndex(int hash, int numBuckets) {\n return hash & (numBuckets - 1);\n }", "title": "" }, { "docid": "b0a7ec672a54e64aa4b0d08b14450a06", "score": "0.51630414", "text": "void calcIndexes()\r\n\t{\r\n\t\tshort indexes[] = new short[4]; // 0: this, 1: right, 2:bottom, 3: bottom-right\r\n\r\n\t\tif (!isRepeating())\r\n\t\t{\r\n\t\t\tshort index = 0;\r\n\r\n\t\t\tfor (int row = 0; row < mNumRows; row++)\r\n\t\t\t{\r\n\t\t\t\tfor (int col = 0; col < mNumCols; col++, index++)\r\n\t\t\t\t{\r\n\t\t\t\t\tindexes[0] = index;\r\n\t\t\t\t\tindexes[1] = (short) (index + 1); // right\r\n\t\t\t\t\tindexes[2] = (short) (index + mNumCols + 1); // bottom\r\n\t\t\t\t\tindexes[3] = (short) (indexes[2] + 1); // right bottom\r\n\r\n\t\t\t\t\tmResult.putTwoTriangles(indexes);\r\n\t\t\t\t}\r\n\t\t\t\tindex++;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tfor (int row = 0; row < mNumRows; row++)\r\n\t\t\t{\r\n\t\t\t\tfor (int col = 0; col < mNumCols; col++)\r\n\t\t\t\t{\r\n\t\t\t\t\tindexes[0] = mIndexTL.get(ID(row, col)); // top-left\r\n\t\t\t\t\tindexes[1] = getIndex(ID(row, col + 1), mIndexTR); // top-right\r\n\t\t\t\t\tindexes[2] = getIndex(ID(row + 1, col), mIndexBL); // bottom-left\r\n\t\t\t\t\tindexes[3] = getIndex(ID(row + 1, col + 1), mIndexBR, mIndexTR, mIndexBL); // bottom-right\r\n\r\n\t\t\t\t\tmResult.putTwoTriangles(indexes);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b44a1956fda96acafb751aadb59207f7", "score": "0.5162496", "text": "default int[] hashCodeVector() {\n final int n = getPositionCount();\n int[] results = new int[n];\n for (int position = 0; position < n; position++) {\n results[position] = hashCode(position);\n }\n return results;\n }", "title": "" }, { "docid": "7823a87a977a221c94d193898fb805e9", "score": "0.5158491", "text": "@Override\n protected ShortBuffer getIndices() {\n final ByteBuffer vbb = ByteBuffer.allocateDirect(mNumQuads * 2 * 3 * Short.SIZE/8); \n vbb.order(ByteOrder.nativeOrder());\n final ShortBuffer indices = vbb.asShortBuffer(); \n \n for (int i = 0; i < mNumQuads; i++) {\n final int offset = i * 4;\n indices.put((short) offset);\n indices.put((short) (offset+1));\n indices.put((short) (offset+2));\n indices.put((short) (offset+2));\n indices.put((short) (offset+3));\n indices.put((short) (offset));\n }\n indices.rewind();\n return indices;\n }", "title": "" }, { "docid": "12db1c0492241da4155e46b02fe87340", "score": "0.5154786", "text": "public int[] get_exc_index_table() {\r\n return exc_index_table;\r\n }", "title": "" }, { "docid": "e5bc2663f061b373edeefa9b7fbef70c", "score": "0.51520985", "text": "public synchronized int size() {\n\t\treturn this.buckets.length;\n\t}", "title": "" }, { "docid": "11ed986decef88c74788c53bb13c9215", "score": "0.5148654", "text": "public int getNumberOfHashTables(){\n\t\treturn memoryHashTable.size();\n\t}", "title": "" }, { "docid": "25690080c7ee999441a8e79871188079", "score": "0.513416", "text": "private boolean validateIndex(host sourceHost,int index) {\n\t\tHashMap<Integer,String> lookupTable=DBFunction.gethostSecurityInfo().get(sourceHost.getIP()).getLookupTable();\n\t\tList<String> freeHosts=DBFunction.getDeploymentStatus().getFreeHosts().stream().map(h->h.getIP()).collect(Collectors.toList());\n\t/*\tfor(Map.Entry<Integer,String> entry:lookupTable.entrySet()){\n\t\t\tSystem.out.println(\"entry table\");\n\t\t\tSystem.out.print(entry.getKey()+\" \"+entry.getValue());\n\t\t}*/\n\t\tif(!lookupTable.containsKey(index))\n\t\t return false;\n\t\telse if(!freeHosts.contains(lookupTable.get(index)))\n\t\t return false;\n\t\telse if(!lookupTable.get(index).equals(\"10.0.0.4\"))\n\t\t return false;\n\t\telse \n\t\t return true;\n\t}", "title": "" }, { "docid": "ec30f3b0461d888eca4fecbb7b07bdf0", "score": "0.51314855", "text": "public boolean hasIndex() {\n return fieldSetFlags()[18];\n }", "title": "" }, { "docid": "ca88665bbd3a902c98e784dc0043afd8", "score": "0.51296526", "text": "public java.lang.String getHasBuckets(){\r\n return localHasBuckets;\r\n }", "title": "" }, { "docid": "b1a9c5d8b5f6c2399da289f2334fcc99", "score": "0.5119268", "text": "int getNumEntries();", "title": "" }, { "docid": "b1a9c5d8b5f6c2399da289f2334fcc99", "score": "0.5119268", "text": "int getNumEntries();", "title": "" }, { "docid": "b1a9c5d8b5f6c2399da289f2334fcc99", "score": "0.5119268", "text": "int getNumEntries();", "title": "" }, { "docid": "07a8305a9e02deb4c8ffedfa5b0990a4", "score": "0.51172876", "text": "private int getFirstFreeSpace(Object key)\r\n\t{\r\n\t\tint position = Math.abs(key.hashCode()) % capacity; // Getting hash code of the key\r\n\t\t\r\n\t\twhile (storage[position] != null && !isTombstone(position) ) // traversing table\r\n\t\t\t\tposition = (position + 1) % capacity;\r\n\t\t\r\n\t\treturn position;\r\n\t}", "title": "" }, { "docid": "b56ae03a630b2099016dea548fa961ce", "score": "0.51059866", "text": "@Override\n\tpublic int hashCode() {\n\t\treturn super.hashCode() ^ (int)offset ^ (int)limit;\n\t}", "title": "" }, { "docid": "a53cec1a5419a8e2c597f4fb01724de8", "score": "0.5105147", "text": "private int findObiInHotbar() {\n int slot = -1;\n for (int i = 0; i < 9; i++) {\n\n // filter out non-block items\n ItemStack stack = mc.player.inventory.getStackInSlot(i);\n\n if (stack == ItemStack.EMPTY || !(stack.getItem() instanceof ItemBlock)) {\n continue;\n }\n\n Block block = ((ItemBlock) stack.getItem()).getBlock();\n if (block instanceof BlockObsidian) {\n slot = i;\n break;\n }\n\n }\n\n return slot;\n\n }", "title": "" }, { "docid": "a70acbb5632060e78d4e961907bb5196", "score": "0.50944316", "text": "protected int findIndexGE(Object key) {\n\t\t\tfor (int i = 0; i < numberOfKeys; i++) {\n\t\t\t\tif (compare(keys[i], key) >= 0)\n\t\t\t\t\treturn i;\n\t\t\t}\n\t\t\treturn -1;\n\t\t}", "title": "" }, { "docid": "7eeaa4be9e8e5b549ec6b17663c5a96f", "score": "0.5090147", "text": "public Long getSUM_NO_GOOD_INDEX_USED() {\n return SUM_NO_GOOD_INDEX_USED;\n }", "title": "" }, { "docid": "65b60e33cf328c79d28e0142f41753bc", "score": "0.5078168", "text": "public int getNumBuckets(){\r\n\t\treturn numBuckets;\r\n\t}", "title": "" }, { "docid": "dfcc6bf48c89cb38d1c4738913d2b629", "score": "0.50729734", "text": "public boolean checkIndexesAreAllDifferent() {\n Set cmpReady = indexesViaName.keySet();\n DbIndexIterator iter = iterator(); \n boolean different = true;\n while (iter.hasNext()) {\n DbIndex index1 = iter.next();\n String index1Name = index1.getName();\n DbIndexIterator iter2 = iterator();\n while (iter2.hasNext()) {\n DbIndex index2 = iter2.next();\n String index2Name = index2.getName();\n if (!index1Name.equals(index2Name) && cmpReady.contains(index2Name)) { \n if (index1.columnsAreEqual((ArrayList)index2.getColumnNames(),index2.getName()))\n different = false;\n } \n } \n cmpReady.remove(index1Name); \n }\n return different;\n }", "title": "" }, { "docid": "bfebbee3dcb56c412b3d7ba81b33fe9c", "score": "0.50715566", "text": "public void verifyIndices() {\n\t\tfor (int i = 0; i < sets.size(); i++) {\n\t\t\tLinkedList<Line> set = sets.get(i);\n\t\t\tfor (Line l : set) {\n\t\t\t\tif (l.lineAddress() != null) {\n\t\t\t\t\tassert index(l.lineAddress().get()) == i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a4ab5848bbf3d5bb56c406f6a8913580", "score": "0.50704414", "text": "public Iterable<K> keySet() {\n\t\tPositionList<K> keys = new NodePositionList<K>();\n\t\tfor (int i = 0; i < capacity; i++)\n\t\t\tif (( bucket[i] != null) && (bucket[i] != AVAILABLE))\n\t\t\t\tkeys.addLast(bucket[i].getKey());\n\t\treturn keys;\n\t}", "title": "" }, { "docid": "012a67a5257972b00883b05bce08ca5b", "score": "0.50573206", "text": "private int hash(Object key){\n\t\treturn Math.abs(key.hashCode()) % buckets.length;\n\t}", "title": "" }, { "docid": "4797e8225d7df3113dd0bfc490ad022f", "score": "0.5056994", "text": "long getNumConflicts();", "title": "" }, { "docid": "39cca0ef7720eaa88c1093d74051aeb1", "score": "0.5049604", "text": "int probe(String key) {\n int index = getHash(key);\n int result = -1;\n\n // searching\n boolean found = false;\n int iterator = index;\n int availableStateIndex = -1;\n while (!found && arr[iterator].status != Occupancy.Empty) {\n if (arr[iterator].status == Occupancy.Occupied) {\n if (arr[iterator].key == key) {\n found = true;\n result = iterator;\n } else {\n iterator = (iterator + 1) % arr.length;\n }\n }\n if (arr[iterator].status == Occupancy.Empty) {\n // it is not occupied\n // it could be empty\n result = iterator;\n found = true;\n }\n\n if (arr[iterator].status == Occupancy.Available) {\n // it is not occupied\n // it could be available\n availableStateIndex = iterator;\n iterator = (iterator + 1) % arr.length;\n }\n }\n if (found)\n return result;\n else if (availableStateIndex != -1)\n return availableStateIndex;\n else\n return index;\n\n }", "title": "" }, { "docid": "42a4164c81c9dce8d2d9e453fec7798c", "score": "0.5038122", "text": "private boolean isValidEntryIndex(MapEntry<Integer,V>[] table, int i) {\n\t\treturn (table[i] == null || table[i].isRemoved()); \n\t}", "title": "" }, { "docid": "03154d8b298bd703a2612311c0b300f7", "score": "0.50261235", "text": "int getNumBuckets() {\n return numBuckets;\n }", "title": "" }, { "docid": "b93ab0dbbacf0aba190062f344b694b2", "score": "0.50156355", "text": "public int findEmptySlot()\n {\n for(int i = 0; i<4; i++)\n {\n if(cribFull[i] == false)\n {\n return i + 1;\n }\n }\n\n return 0;\n }", "title": "" }, { "docid": "6733192403b7ac0c877f96234bb46ee5", "score": "0.50139666", "text": "bucket()\n\t{\n\t\thashIndex = -1;\n\t\tdeleted = false;\n\t\tinTable = false;\n\t}", "title": "" }, { "docid": "0b401dfcd041486d733681973b980c03", "score": "0.50073814", "text": "boolean isIdxValid(int i, int j) {\n\t\treturn (i >= 0 && i < this.brs && j >= 0 && j < this.kol);\n\t}", "title": "" }, { "docid": "d5c6e21bb38a25537c54d3c31eee2588", "score": "0.50055534", "text": "@Override\n\tpublic int hashCode() {\n\t\treturn tableDescriptor.hashCode();\n\t}", "title": "" }, { "docid": "26bfa7bd7966f92cf1af772356a1c650", "score": "0.5004676", "text": "public abstract int getBucketedSize(int i);", "title": "" }, { "docid": "a31b446d29b42334a768809d8e24ed29", "score": "0.5002344", "text": "final int maxKeysPerIndexPage() {\n\t\treturn 1 + maxKeysPerLeafPage();\n\t}", "title": "" }, { "docid": "ea2140090d8700ab6e3505ce7bfc3e3c", "score": "0.49939114", "text": "boolean hasEntityindex();", "title": "" }, { "docid": "ea2140090d8700ab6e3505ce7bfc3e3c", "score": "0.49939114", "text": "boolean hasEntityindex();", "title": "" }, { "docid": "7c88d33260154b4cac5c683096d6da40", "score": "0.49920383", "text": "@Override\n public int hashCode () {\n return this.tableName.length();\n }", "title": "" }, { "docid": "9131813a061c7f75f326da17c251f901", "score": "0.49873835", "text": "boolean checkDbIndependent() {\n boolean ok = true;\n DbIndexIterator iterator = new DbIndexIterator(first);\n while (iterator.hasNext()) {\n ok = ok & ((DbIndex) iterator.next()).checkDbIndependent();\n }\n return ok & checkIndexesAreAllDifferent();\n\t }", "title": "" }, { "docid": "4db27a6b3bdd2ce541f53c3b524d7c91", "score": "0.49794582", "text": "int getKeyCount();", "title": "" }, { "docid": "4db27a6b3bdd2ce541f53c3b524d7c91", "score": "0.49794582", "text": "int getKeyCount();", "title": "" }, { "docid": "4301839878adda2844a7e4bc0aab637a", "score": "0.49750814", "text": "public HashMap getIndices(Class table)\r\n {\r\n Table t = locateTable(table, true, false);\r\n return t == null ? new HashMap() : t.indicesMap;\r\n }", "title": "" }, { "docid": "9bdacf759a3ec2d518bdab0063d5b83e", "score": "0.4969119", "text": "@Override\n int findKey(final byte[] key) {\n final long[] hash = MurmurHash3.hash(key, SEED);\n int entryIndex = getIndex(hash[0], tableEntries_);\n int firstDeletedIndex = -1;\n final int loopIndex = entryIndex;\n do {\n if (isBitClear(stateArr_, entryIndex)) {\n return firstDeletedIndex == -1 ? ~entryIndex : ~firstDeletedIndex; // found empty or deleted\n }\n if (couponsArr_[entryIndex * maxCouponsPerKey_] == 0) { //found deleted\n if (firstDeletedIndex == -1) { firstDeletedIndex = entryIndex; }\n } else if (Map.arraysEqual(keysArr_, entryIndex * keySizeBytes_, key, 0, keySizeBytes_)) {\n return entryIndex; // found key\n }\n entryIndex = (entryIndex + getStride(hash[1], tableEntries_)) % tableEntries_;\n } while (entryIndex != loopIndex);\n throw new SketchesArgumentException(\"Key not found and no empty slots!\");\n }", "title": "" }, { "docid": "cf12562fa217334adf470a9b6480b3ae", "score": "0.49607867", "text": "int getFieldsIndexCount();", "title": "" }, { "docid": "f40250cd339db290ed0e566f77b2ecfa", "score": "0.49598143", "text": "boolean hasEntityIndex();", "title": "" }, { "docid": "f40250cd339db290ed0e566f77b2ecfa", "score": "0.49598143", "text": "boolean hasEntityIndex();", "title": "" }, { "docid": "f40250cd339db290ed0e566f77b2ecfa", "score": "0.49598143", "text": "boolean hasEntityIndex();", "title": "" }, { "docid": "0bdfad684399871912464d2df49b39ee", "score": "0.49574488", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic String[] getKeys() {\n\t\tString[] keys = new String[itemCount];\n\t\tint count = itemCount;\n\t\tmainloop:\n\t\tfor (int i = 0; i != table.length; i++) {\n\t\t\tfor (int ii = 0; ii != table[i].length; ii++) {\n\t\t\t\t//if (itemCount > 20) { System.out.println(\"table[\"+i+\"][\"+ii+\"][1] => \"+(String)table[i][ii][1]); }\n\t\t\t\tif (table[i][ii][1] != null) {\n\t\t\t\t\tkeys[itemCount-count] = (String)table[i][ii][1];\n\t\t\t\t\tcount--;\n\t\t\t\t\tif (count == 0) { break mainloop; }\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn keys;\n\t}", "title": "" }, { "docid": "84aa251358c5798b186c556ffd491d98", "score": "0.49571744", "text": "private void checkIndexBounds(List<byte[]> codeTable, long index, MemoryCacheImageInputStream in) throws IOException {\n/* 139 */ if (index < 0L)\n/* */ {\n/* 141 */ throw new IOException(\"negative array index: \" + index + \" near offset \" + in\n/* 142 */ .getStreamPosition());\n/* */ }\n/* 144 */ if (index >= codeTable.size())\n/* */ {\n/* 146 */ throw new IOException(\"array index overflow: \" + index + \" >= \" + codeTable\n/* 147 */ .size() + \" near offset \" + in\n/* 148 */ .getStreamPosition());\n/* */ }\n/* */ }", "title": "" }, { "docid": "0351c126cb4d2ca0e3d145f7be134f34", "score": "0.494835", "text": "public static int countPagesInUse() {\n\t\tint pages_used = 0;\n\t\t\n\t\tfor (String tableName :store.keySet()) {\n\t\t\tfor (int pg_no :store.get(tableName).getChains()) {\n\t\t\t\tif (-1 == pg_no) continue;\n\t\t\t\tbyte firstPg [] = new byte [Page.PAGE_SIZE];\n\t\t\t\tgetDisk().readPage(firstPg, pg_no);\n\t\t\t\tint pages_in_chain = Page.getChainLength(firstPg);\n\t\t\t\tpages_used += pages_in_chain;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn pages_used;\n\t}", "title": "" } ]
c99ce323c90fd9d67fefd39e943a7852
The current status of the replica. Valid values are as follows: ACTIVE CREATING CREATION_FAILED DELETING UPDATING
[ { "docid": "d29bc89a3fba554bace43323b11255cd", "score": "0.7938055", "text": "public String getReplicaStatus() {\n return this.replicaStatus;\n }", "title": "" } ]
[ { "docid": "3ff82d2a2e614ad1f5a94b58bf4643a6", "score": "0.77558905", "text": "public String getReplicaStatusDescription() {\n return this.replicaStatusDescription;\n }", "title": "" }, { "docid": "db8461809510c361cdffb11c8fc3dab5", "score": "0.7267153", "text": "public io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatus getStatus() {\n return status_ == null\n ? io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatus.getDefaultInstance()\n : status_;\n }", "title": "" }, { "docid": "aa8c27a47b230146cf44eccda3aff438", "score": "0.7180776", "text": "io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatus getStatus();", "title": "" }, { "docid": "ae99c7c49b08066c9f96333cdcf87d12", "score": "0.7165036", "text": "public io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatusOrBuilder getStatusOrBuilder() {\n return status_ == null\n ? io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatus.getDefaultInstance()\n : status_;\n }", "title": "" }, { "docid": "5805b0e7b673a1496c6f34fc3f171bf4", "score": "0.7073768", "text": "public io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatus getStatus() {\n if (statusBuilder_ == null) {\n return status_ == null\n ? io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatus.getDefaultInstance()\n : status_;\n } else {\n return statusBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "8e38ad1a00aefedabd7cea188b567aad", "score": "0.6957562", "text": "public io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatusOrBuilder getStatusOrBuilder() {\n if (statusBuilder_ != null) {\n return statusBuilder_.getMessageOrBuilder();\n } else {\n return status_ == null\n ? io.kubernetes.client.proto.V1beta2Apps.ReplicaSetStatus.getDefaultInstance()\n : status_;\n }\n }", "title": "" }, { "docid": "2db78dd36e6199261a764f84d43a53f7", "score": "0.69284606", "text": "public Integer getStatus() {\n\t\treturn status;\n\t}", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "bcb6ccf70c84a3b5b004bddc6514156c", "score": "0.6923734", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "ed6a5c6b1607a2e7fb086322e15fadcb", "score": "0.69044924", "text": "public Integer getStatus() {\r\n\t\treturn status;\r\n\t}", "title": "" }, { "docid": "dc9a0ffd1ec879c2d2ac0527bc728d7c", "score": "0.6887737", "text": "public Integer getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "dc9a0ffd1ec879c2d2ac0527bc728d7c", "score": "0.6887737", "text": "public Integer getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "d97420111725e9ba64ded40604ffa924", "score": "0.6883054", "text": "public int getStatus() {\n return status;\n }", "title": "" }, { "docid": "d97420111725e9ba64ded40604ffa924", "score": "0.6883054", "text": "public int getStatus() {\n return status;\n }", "title": "" }, { "docid": "d97420111725e9ba64ded40604ffa924", "score": "0.6883054", "text": "public int getStatus() {\n return status;\n }", "title": "" }, { "docid": "d97420111725e9ba64ded40604ffa924", "score": "0.6883054", "text": "public int getStatus() {\n return status;\n }", "title": "" }, { "docid": "d97420111725e9ba64ded40604ffa924", "score": "0.6883054", "text": "public int getStatus() {\n return status;\n }", "title": "" }, { "docid": "d97420111725e9ba64ded40604ffa924", "score": "0.6883054", "text": "public int getStatus() {\n return status;\n }", "title": "" }, { "docid": "d97420111725e9ba64ded40604ffa924", "score": "0.6883054", "text": "public int getStatus() {\n return status;\n }", "title": "" }, { "docid": "d97420111725e9ba64ded40604ffa924", "score": "0.6883054", "text": "public int getStatus() {\n return status;\n }", "title": "" }, { "docid": "204f38141f543c73ca79bfce46d66127", "score": "0.68828905", "text": "public java.lang.Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "204f38141f543c73ca79bfce46d66127", "score": "0.68828905", "text": "public java.lang.Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "204f38141f543c73ca79bfce46d66127", "score": "0.68828905", "text": "public java.lang.Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "204f38141f543c73ca79bfce46d66127", "score": "0.68828905", "text": "public java.lang.Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "2a59697c4c6454ac85bf014feebd04a8", "score": "0.68824774", "text": "public java.lang.Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "f478e70828212427ff3cd81e6c3e6ea9", "score": "0.68750566", "text": "public Integer getStatus() {\n return status;\n }", "title": "" }, { "docid": "702a926eb1ce3444660887f3155447e1", "score": "0.68511707", "text": "public int getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "5ae7aef9bb002dc6d6c6a2e500122d88", "score": "0.6844896", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "5ae7aef9bb002dc6d6c6a2e500122d88", "score": "0.6844896", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "5ae7aef9bb002dc6d6c6a2e500122d88", "score": "0.6844896", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "5ae7aef9bb002dc6d6c6a2e500122d88", "score": "0.6844896", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "5ae7aef9bb002dc6d6c6a2e500122d88", "score": "0.6844896", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "5ae7aef9bb002dc6d6c6a2e500122d88", "score": "0.6844896", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "5ae7aef9bb002dc6d6c6a2e500122d88", "score": "0.6844896", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "094d85441cb990e6330c8655cb068204", "score": "0.6826283", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "094d85441cb990e6330c8655cb068204", "score": "0.6826283", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "094d85441cb990e6330c8655cb068204", "score": "0.6826283", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "094d85441cb990e6330c8655cb068204", "score": "0.6826283", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "094d85441cb990e6330c8655cb068204", "score": "0.6826283", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "094d85441cb990e6330c8655cb068204", "score": "0.6826283", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "094d85441cb990e6330c8655cb068204", "score": "0.6826283", "text": "public int getStatus() {\n return status_;\n }", "title": "" }, { "docid": "5009b713124eb9faae7611d90fc29bb0", "score": "0.6825417", "text": "public int getStatus() {\n\t\treturn status;\n\t}", "title": "" }, { "docid": "5009b713124eb9faae7611d90fc29bb0", "score": "0.6825417", "text": "public int getStatus() {\n\t\treturn status;\n\t}", "title": "" }, { "docid": "5009b713124eb9faae7611d90fc29bb0", "score": "0.6825417", "text": "public int getStatus() {\n\t\treturn status;\n\t}", "title": "" }, { "docid": "5009b713124eb9faae7611d90fc29bb0", "score": "0.6825417", "text": "public int getStatus() {\n\t\treturn status;\n\t}", "title": "" }, { "docid": "aad27e3dbfb00a89205691c622e7f35e", "score": "0.682064", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "452ec704207cbd99862b644f754d0f46", "score": "0.6812331", "text": "public String getStatus() {\r\n return status.get();\r\n }", "title": "" }, { "docid": "06dc50bda049323d58ced1fb26d950ce", "score": "0.6802087", "text": "public String getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "06dc50bda049323d58ced1fb26d950ce", "score": "0.6802087", "text": "public String getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "06dc50bda049323d58ced1fb26d950ce", "score": "0.6802087", "text": "public String getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "06dc50bda049323d58ced1fb26d950ce", "score": "0.6802087", "text": "public String getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "06dc50bda049323d58ced1fb26d950ce", "score": "0.6802087", "text": "public String getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "06dc50bda049323d58ced1fb26d950ce", "score": "0.6802087", "text": "public String getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "06dc50bda049323d58ced1fb26d950ce", "score": "0.6802087", "text": "public String getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "06dc50bda049323d58ced1fb26d950ce", "score": "0.6802087", "text": "public String getStatus() {\r\n return status;\r\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" }, { "docid": "a5d3bd3cb7d3cc43848b8776d8392aac", "score": "0.6794358", "text": "public String getStatus() {\n return status;\n }", "title": "" } ]
3d863494b540478e14ea74c3f5c9ab6c
$ANTLR end "rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_0" $ANTLR start "rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1" InternalUSE.g:18278:1: rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1 : ( ruleExpCS ) ;
[ { "docid": "8ecceb070e57e11eb77252fc657568c4", "score": "0.7317058", "text": "public final void rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18282:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:18283:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:18283:2: ( ruleExpCS )\r\n // InternalUSE.g:18284:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_1_3_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_1_3_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": "7341c6376eb17b68300f6ffa085a019c", "score": "0.7425174", "text": "public final void rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_0_2_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18180:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:18181:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:18181:2: ( ruleExpCS )\r\n // InternalUSE.g:18182:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_0_2_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_0_2_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": "cf4e7bd060934c187e25438c4a9200f2", "score": "0.74236226", "text": "public final void rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_2_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18384:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:18385:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:18385:2: ( ruleExpCS )\r\n // InternalUSE.g:18386:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_2_3_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_1_2_3_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": "96c3cc9f35a21afc5261db9b9eb242b4", "score": "0.74117494", "text": "public final void rule__NavigatingArgCS__Group_0_1_0_2__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14404:1: ( ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_0_2_1 ) ) )\r\n // InternalUSE.g:14405:1: ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_0_2_1 ) )\r\n {\r\n // InternalUSE.g:14405:1: ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_0_2_1 ) )\r\n // InternalUSE.g:14406:2: ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_0_2_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionAssignment_0_1_0_2_1()); \r\n }\r\n // InternalUSE.g:14407:2: ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_0_2_1 )\r\n // InternalUSE.g:14407:3: rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_0_2_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_0_2_1();\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.getNavigatingArgCSAccess().getOwnedInitExpressionAssignment_0_1_0_2_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": "4e781dbc45fd6fee319f2217595d3a5d", "score": "0.72495806", "text": "public final void rule__NavigatingArgCS__OwnedNameExpressionAssignment_0_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18112:1: ( ( ruleNavigatingArgExpCS ) )\r\n // InternalUSE.g:18113:2: ( ruleNavigatingArgExpCS )\r\n {\r\n // InternalUSE.g:18113:2: ( ruleNavigatingArgExpCS )\r\n // InternalUSE.g:18114:3: ruleNavigatingArgExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_0_0_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleNavigatingArgExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_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": "f0f0777a9935b6e231bbeb5b51215583", "score": "0.7213241", "text": "public final void rule__NavigatingArgCS__Group_0_1_1_3__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14620:1: ( ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1 ) ) )\r\n // InternalUSE.g:14621:1: ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1 ) )\r\n {\r\n // InternalUSE.g:14621:1: ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1 ) )\r\n // InternalUSE.g:14622:2: ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionAssignment_0_1_1_3_1()); \r\n }\r\n // InternalUSE.g:14623:2: ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1 )\r\n // InternalUSE.g:14623:3: rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_1_3_1();\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.getNavigatingArgCSAccess().getOwnedInitExpressionAssignment_0_1_1_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": "fa9b991c804081a542cb14f8b83e1c22", "score": "0.71773607", "text": "public final void rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_0_2_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17791:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17792:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17792:2: ( ruleExpCS )\r\n // InternalUSE.g:17793:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_0_2_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_0_2_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": "2d54889b57b56f6959059ffe5af986e0", "score": "0.70867443", "text": "public final void rule__NavigatingArgCS__Group_0_1_2__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14728:1: ( ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_2_3 ) ) )\r\n // InternalUSE.g:14729:1: ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_2_3 ) )\r\n {\r\n // InternalUSE.g:14729:1: ( ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_2_3 ) )\r\n // InternalUSE.g:14730:2: ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_2_3 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedInitExpressionAssignment_0_1_2_3()); \r\n }\r\n // InternalUSE.g:14731:2: ( rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_2_3 )\r\n // InternalUSE.g:14731:3: rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_2_3\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedInitExpressionAssignment_0_1_2_3();\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.getNavigatingArgCSAccess().getOwnedInitExpressionAssignment_0_1_2_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": "0fe04ec6d3675edca2ddef4249d77ccd", "score": "0.7034003", "text": "public final void rule__NavigatingBarArgCS__OwnedInitExpressionAssignment_2_2_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17689:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17690:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17690:2: ( ruleExpCS )\r\n // InternalUSE.g:17691:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingBarArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingBarArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_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": "71feb52eaad8cbeafb3e9c83529e38c0", "score": "0.7029658", "text": "public final void rule__NavigatingArgCS__Group_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14243:1: ( ( ( rule__NavigatingArgCS__OwnedNameExpressionAssignment_0_0 ) ) )\r\n // InternalUSE.g:14244:1: ( ( rule__NavigatingArgCS__OwnedNameExpressionAssignment_0_0 ) )\r\n {\r\n // InternalUSE.g:14244:1: ( ( rule__NavigatingArgCS__OwnedNameExpressionAssignment_0_0 ) )\r\n // InternalUSE.g:14245:2: ( rule__NavigatingArgCS__OwnedNameExpressionAssignment_0_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedNameExpressionAssignment_0_0()); \r\n }\r\n // InternalUSE.g:14246:2: ( rule__NavigatingArgCS__OwnedNameExpressionAssignment_0_0 )\r\n // InternalUSE.g:14246:3: rule__NavigatingArgCS__OwnedNameExpressionAssignment_0_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedNameExpressionAssignment_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.getNavigatingArgCSAccess().getOwnedNameExpressionAssignment_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": "a99ff7bbd28ad786f39c9fdb6f56c8e8", "score": "0.6976043", "text": "public final void rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_1_3_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17893:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17894:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17894:2: ( ruleExpCS )\r\n // InternalUSE.g:17895:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_1_3_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_1_3_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": "cfdbd3c989520e2b64e494772f8576d3", "score": "0.6948009", "text": "public final void rule__NavigatingSemiArgCS__OwnedInitExpressionAssignment_2_2_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18097:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:18098:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:18098:2: ( ruleExpCS )\r\n // InternalUSE.g:18099:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_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": "4433fa9c5a6082f046013522f6f7b083", "score": "0.69151527", "text": "public final void rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_2_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17995:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17996:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17996:2: ( ruleExpCS )\r\n // InternalUSE.g:17997:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_3_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionExpCSParserRuleCall_2_2_3_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": "56d4c9a1410091bdf6be2c80b6f86f72", "score": "0.6809737", "text": "public final void rule__NavigatingSemiArgCS__OwnedNameExpressionAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18029:1: ( ( ruleNavigatingArgExpCS ) )\r\n // InternalUSE.g:18030:2: ( ruleNavigatingArgExpCS )\r\n {\r\n // InternalUSE.g:18030:2: ( ruleNavigatingArgExpCS )\r\n // InternalUSE.g:18031:3: ruleNavigatingArgExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleNavigatingArgExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_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": "b2b636b29cb985a2538af5d61dabf45e", "score": "0.67526156", "text": "public final void rule__NavigatingArgCS__Group_0_1_0_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14378:1: ( ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_0_2_0 ) ) )\r\n // InternalUSE.g:14379:1: ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_0_2_0 ) )\r\n {\r\n // InternalUSE.g:14379:1: ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_0_2_0 ) )\r\n // InternalUSE.g:14380:2: ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_0_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEAssignment_0_1_0_2_0()); \r\n }\r\n // InternalUSE.g:14381:2: ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_0_2_0 )\r\n // InternalUSE.g:14381:3: rule__NavigatingArgCS__SymbolIEAssignment_0_1_0_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__SymbolIEAssignment_0_1_0_2_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.getNavigatingArgCSAccess().getSymbolIEAssignment_0_1_0_2_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": "4a6422150aaf767d4ce3bcb4e817600a", "score": "0.67007965", "text": "public final void rule__NavigatingCommaArgCS__Group_2_0_2__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13567:1: ( ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_0_2_1 ) ) )\r\n // InternalUSE.g:13568:1: ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_0_2_1 ) )\r\n {\r\n // InternalUSE.g:13568:1: ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_0_2_1 ) )\r\n // InternalUSE.g:13569:2: ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_0_2_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionAssignment_2_0_2_1()); \r\n }\r\n // InternalUSE.g:13570:2: ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_0_2_1 )\r\n // InternalUSE.g:13570:3: rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_0_2_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_0_2_1();\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.getNavigatingCommaArgCSAccess().getOwnedInitExpressionAssignment_2_0_2_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": "405eb88eff52836a4f9ebbdbb8658dd3", "score": "0.66006637", "text": "public final void rule__NavigatingArgCS__Group_0_1_1_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14594:1: ( ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_0 ) ) )\r\n // InternalUSE.g:14595:1: ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_0 ) )\r\n {\r\n // InternalUSE.g:14595:1: ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_0 ) )\r\n // InternalUSE.g:14596:2: ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEAssignment_0_1_1_3_0()); \r\n }\r\n // InternalUSE.g:14597:2: ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_0 )\r\n // InternalUSE.g:14597:3: rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_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.getNavigatingArgCSAccess().getSymbolIEAssignment_0_1_1_3_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": "dc1c2c87e4e5a54bbabb9dab45b14f11", "score": "0.6567798", "text": "public final void rule__NavigatingArgCS__Group_0_1_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14297:1: ( ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_0_0 ) ) )\r\n // InternalUSE.g:14298:1: ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_0_0 ) )\r\n {\r\n // InternalUSE.g:14298:1: ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_0_0 ) )\r\n // InternalUSE.g:14299:2: ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_0_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCIAssignment_0_1_0_0()); \r\n }\r\n // InternalUSE.g:14300:2: ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_0_0 )\r\n // InternalUSE.g:14300:3: rule__NavigatingArgCS__SymbolCIAssignment_0_1_0_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__SymbolCIAssignment_0_1_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.getNavigatingArgCSAccess().getSymbolCIAssignment_0_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": "991e2b05dc9e7e961d79e3e161064e90", "score": "0.6549082", "text": "public final void rule__NavigatingBarArgCS__Group_2_2__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13351:1: ( ( ( rule__NavigatingBarArgCS__OwnedInitExpressionAssignment_2_2_1 ) ) )\r\n // InternalUSE.g:13352:1: ( ( rule__NavigatingBarArgCS__OwnedInitExpressionAssignment_2_2_1 ) )\r\n {\r\n // InternalUSE.g:13352:1: ( ( rule__NavigatingBarArgCS__OwnedInitExpressionAssignment_2_2_1 ) )\r\n // InternalUSE.g:13353:2: ( rule__NavigatingBarArgCS__OwnedInitExpressionAssignment_2_2_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingBarArgCSAccess().getOwnedInitExpressionAssignment_2_2_1()); \r\n }\r\n // InternalUSE.g:13354:2: ( rule__NavigatingBarArgCS__OwnedInitExpressionAssignment_2_2_1 )\r\n // InternalUSE.g:13354:3: rule__NavigatingBarArgCS__OwnedInitExpressionAssignment_2_2_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingBarArgCS__OwnedInitExpressionAssignment_2_2_1();\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.getNavigatingBarArgCSAccess().getOwnedInitExpressionAssignment_2_2_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": "9d0387adfcbfca9341c272f59ae5a92d", "score": "0.6535717", "text": "public final void rule__NavigatingCommaArgCS__OwnedNameExpressionAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17723:1: ( ( ruleNavigatingArgExpCS ) )\r\n // InternalUSE.g:17724:2: ( ruleNavigatingArgExpCS )\r\n {\r\n // InternalUSE.g:17724:2: ( ruleNavigatingArgExpCS )\r\n // InternalUSE.g:17725:3: ruleNavigatingArgExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleNavigatingArgExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_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": "2cd80f1de6861d4de5b19e400ae66834", "score": "0.65308195", "text": "public final void rule__NavigatingArgCS__Group_0_1_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14324:1: ( ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_0_1 ) ) )\r\n // InternalUSE.g:14325:1: ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_0_1 ) )\r\n {\r\n // InternalUSE.g:14325:1: ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_0_1 ) )\r\n // InternalUSE.g:14326:2: ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_0_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorAssignment_0_1_0_1()); \r\n }\r\n // InternalUSE.g:14327:2: ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_0_1 )\r\n // InternalUSE.g:14327:3: rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_0_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_0_1();\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.getNavigatingArgCSAccess().getOwnedCoIteratorAssignment_0_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": "84d4131955b14cbc6cdda87ec56725a2", "score": "0.6489409", "text": "public final void rule__NavigatingBarArgCS__OwnedNameExpressionAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17621:1: ( ( ruleNavigatingArgExpCS ) )\r\n // InternalUSE.g:17622:2: ( ruleNavigatingArgExpCS )\r\n {\r\n // InternalUSE.g:17622:2: ( ruleNavigatingArgExpCS )\r\n // InternalUSE.g:17623:3: ruleNavigatingArgExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingBarArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleNavigatingArgExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingBarArgCSAccess().getOwnedNameExpressionNavigatingArgExpCSParserRuleCall_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": "d633c77486fd30b9105deebadc3d32a7", "score": "0.6476059", "text": "public final void rule__NavigatingArgCS__Group_0_1_1_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14540:1: ( ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_1_2_0 ) ) )\r\n // InternalUSE.g:14541:1: ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_1_2_0 ) )\r\n {\r\n // InternalUSE.g:14541:1: ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_1_2_0 ) )\r\n // InternalUSE.g:14542:2: ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_1_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCIAssignment_0_1_1_2_0()); \r\n }\r\n // InternalUSE.g:14543:2: ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_1_2_0 )\r\n // InternalUSE.g:14543:3: rule__NavigatingArgCS__SymbolCIAssignment_0_1_1_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__SymbolCIAssignment_0_1_1_2_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.getNavigatingArgCSAccess().getSymbolCIAssignment_0_1_1_2_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": "d9945c522568a17b5f70ba51910134d0", "score": "0.64665973", "text": "public final void rule__NavigatingSemiArgCS__Group_2_2__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14215:1: ( ( ( rule__NavigatingSemiArgCS__OwnedInitExpressionAssignment_2_2_1 ) ) )\r\n // InternalUSE.g:14216:1: ( ( rule__NavigatingSemiArgCS__OwnedInitExpressionAssignment_2_2_1 ) )\r\n {\r\n // InternalUSE.g:14216:1: ( ( rule__NavigatingSemiArgCS__OwnedInitExpressionAssignment_2_2_1 ) )\r\n // InternalUSE.g:14217:2: ( rule__NavigatingSemiArgCS__OwnedInitExpressionAssignment_2_2_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedInitExpressionAssignment_2_2_1()); \r\n }\r\n // InternalUSE.g:14218:2: ( rule__NavigatingSemiArgCS__OwnedInitExpressionAssignment_2_2_1 )\r\n // InternalUSE.g:14218:3: rule__NavigatingSemiArgCS__OwnedInitExpressionAssignment_2_2_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingSemiArgCS__OwnedInitExpressionAssignment_2_2_1();\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.getNavigatingSemiArgCSAccess().getOwnedInitExpressionAssignment_2_2_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": "bd0deb8244a91b9bf400637524fec77b", "score": "0.64406866", "text": "public final void rule__NavigatingArgCS__Group_0_1_2_1__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14810:1: ( ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_2_1_0 ) ) )\r\n // InternalUSE.g:14811:1: ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_2_1_0 ) )\r\n {\r\n // InternalUSE.g:14811:1: ( ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_2_1_0 ) )\r\n // InternalUSE.g:14812:2: ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_2_1_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCIAssignment_0_1_2_1_0()); \r\n }\r\n // InternalUSE.g:14813:2: ( rule__NavigatingArgCS__SymbolCIAssignment_0_1_2_1_0 )\r\n // InternalUSE.g:14813:3: rule__NavigatingArgCS__SymbolCIAssignment_0_1_2_1_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__SymbolCIAssignment_0_1_2_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.getNavigatingArgCSAccess().getSymbolCIAssignment_0_1_2_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": "1ca33c5d8d1b0debecbb3f6774bec97b", "score": "0.63958657", "text": "public final void rule__NavigatingArgCS__Group_0_1_1_2__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14566:1: ( ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_1_2_1 ) ) )\r\n // InternalUSE.g:14567:1: ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_1_2_1 ) )\r\n {\r\n // InternalUSE.g:14567:1: ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_1_2_1 ) )\r\n // InternalUSE.g:14568:2: ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_1_2_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorAssignment_0_1_1_2_1()); \r\n }\r\n // InternalUSE.g:14569:2: ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_1_2_1 )\r\n // InternalUSE.g:14569:3: rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_1_2_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_1_2_1();\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.getNavigatingArgCSAccess().getOwnedCoIteratorAssignment_0_1_1_2_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": "9f1d1489db9332d3ed6bcf6b1f77819e", "score": "0.63822377", "text": "public final void rule__NavigatingArgCS__Group_0_1_2_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14836:1: ( ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_2_1_1 ) ) )\r\n // InternalUSE.g:14837:1: ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_2_1_1 ) )\r\n {\r\n // InternalUSE.g:14837:1: ( ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_2_1_1 ) )\r\n // InternalUSE.g:14838:2: ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_2_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorAssignment_0_1_2_1_1()); \r\n }\r\n // InternalUSE.g:14839:2: ( rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_2_1_1 )\r\n // InternalUSE.g:14839:3: rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_2_1_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_2_1_1();\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.getNavigatingArgCSAccess().getOwnedCoIteratorAssignment_0_1_2_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": "c70992c5d40f3e0572ec7d4021143f8c", "score": "0.63022816", "text": "public final void rule__RoundBracketedClauseCS__Group_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13109:1: ( ( ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_0 ) ) )\r\n // InternalUSE.g:13110:1: ( ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_0 ) )\r\n {\r\n // InternalUSE.g:13110:1: ( ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_0 ) )\r\n // InternalUSE.g:13111:2: ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsAssignment_2_0()); \r\n }\r\n // InternalUSE.g:13112:2: ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_0 )\r\n // InternalUSE.g:13112:3: rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_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.getRoundBracketedClauseCSAccess().getOwnedArgumentsAssignment_2_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": "fa044da6d39c2a5976040588e6fce7c2", "score": "0.6300765", "text": "public final void rule__NavigatingArgCS__Group_0_1_2__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14702:1: ( ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_2_2 ) ) )\r\n // InternalUSE.g:14703:1: ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_2_2 ) )\r\n {\r\n // InternalUSE.g:14703:1: ( ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_2_2 ) )\r\n // InternalUSE.g:14704:2: ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_2_2 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEAssignment_0_1_2_2()); \r\n }\r\n // InternalUSE.g:14705:2: ( rule__NavigatingArgCS__SymbolIEAssignment_0_1_2_2 )\r\n // InternalUSE.g:14705:3: rule__NavigatingArgCS__SymbolIEAssignment_0_1_2_2\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__SymbolIEAssignment_0_1_2_2();\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.getNavigatingArgCSAccess().getSymbolIEAssignment_0_1_2_2()); \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": "aab568099aa3e253d5734a314519b2b0", "score": "0.62648976", "text": "public final void rule__NavigatingCommaArgCS__Group_2_2__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13891:1: ( ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_2_3 ) ) )\r\n // InternalUSE.g:13892:1: ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_2_3 ) )\r\n {\r\n // InternalUSE.g:13892:1: ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_2_3 ) )\r\n // InternalUSE.g:13893:2: ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_2_3 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionAssignment_2_2_3()); \r\n }\r\n // InternalUSE.g:13894:2: ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_2_3 )\r\n // InternalUSE.g:13894:3: rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_2_3\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_2_3();\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.getNavigatingCommaArgCSAccess().getOwnedInitExpressionAssignment_2_2_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": "a1ebe23acf2faea68557eeaa1bc4e80e", "score": "0.62632626", "text": "public final void rule__ExpCS__OwnedRightAssignment_0_1_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:16851:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:16852:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:16852:2: ( ruleExpCS )\r\n // InternalUSE.g:16853:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getExpCSAccess().getOwnedRightExpCSParserRuleCall_0_1_2_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getExpCSAccess().getOwnedRightExpCSParserRuleCall_0_1_2_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": "105f96336609aa56778050c333491503", "score": "0.62603116", "text": "public final void rule__NavigatingCommaArgCS__Group_2_1_3__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13783:1: ( ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_1_3_1 ) ) )\r\n // InternalUSE.g:13784:1: ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_1_3_1 ) )\r\n {\r\n // InternalUSE.g:13784:1: ( ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_1_3_1 ) )\r\n // InternalUSE.g:13785:2: ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_1_3_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedInitExpressionAssignment_2_1_3_1()); \r\n }\r\n // InternalUSE.g:13786:2: ( rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_1_3_1 )\r\n // InternalUSE.g:13786:3: rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_1_3_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__OwnedInitExpressionAssignment_2_1_3_1();\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.getNavigatingCommaArgCSAccess().getOwnedInitExpressionAssignment_2_1_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": "c36d2fd0cb7229a9766080a20a1eef9c", "score": "0.6242534", "text": "public final void rule__LetVariableCS__OwnedInitExpressionAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17557:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17558:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17558:2: ( ruleExpCS )\r\n // InternalUSE.g:17559:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getLetVariableCSAccess().getOwnedInitExpressionExpCSParserRuleCall_4_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getLetVariableCSAccess().getOwnedInitExpressionExpCSParserRuleCall_4_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": "aa96e0e1dd407043a57a8c6ea5e92938", "score": "0.62302995", "text": "public final void rule__NavigatingArgCS__Group_0_1_2_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14782:1: ( ( ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_2_0_1 ) ) )\r\n // InternalUSE.g:14783:1: ( ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_2_0_1 ) )\r\n {\r\n // InternalUSE.g:14783:1: ( ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_2_0_1 ) )\r\n // InternalUSE.g:14784:2: ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_2_0_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeAssignment_0_1_2_0_1()); \r\n }\r\n // InternalUSE.g:14785:2: ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_2_0_1 )\r\n // InternalUSE.g:14785:3: rule__NavigatingArgCS__OwnedTypeAssignment_0_1_2_0_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedTypeAssignment_0_1_2_0_1();\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.getNavigatingArgCSAccess().getOwnedTypeAssignment_0_1_2_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": "8fc2edda7364a7439833dc179051a766", "score": "0.6229257", "text": "public final void rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17572:1: ( ( ruleNavigatingArgCS ) )\r\n // InternalUSE.g:17573:2: ( ruleNavigatingArgCS )\r\n {\r\n // InternalUSE.g:17573:2: ( ruleNavigatingArgCS )\r\n // InternalUSE.g:17574:3: ruleNavigatingArgCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingArgCSParserRuleCall_2_0_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleNavigatingArgCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsNavigatingArgCSParserRuleCall_2_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": "de7093efd3ca448e05b63b911649573e", "score": "0.6182989", "text": "public final void rule__PrefixedLetExpCS__OwnedRightAssignment_0_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:16881:1: ( ( rulePrefixedLetExpCS ) )\r\n // InternalUSE.g:16882:2: ( rulePrefixedLetExpCS )\r\n {\r\n // InternalUSE.g:16882:2: ( rulePrefixedLetExpCS )\r\n // InternalUSE.g:16883:3: rulePrefixedLetExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPrefixedLetExpCSAccess().getOwnedRightPrefixedLetExpCSParserRuleCall_0_2_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n rulePrefixedLetExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getPrefixedLetExpCSAccess().getOwnedRightPrefixedLetExpCSParserRuleCall_0_2_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": "ad2156daa232ed53fe2b9c853948a2ec", "score": "0.6179777", "text": "public final void rule__NavigatingArgCS__OwnedTypeAssignment_0_1_2_0_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18316:1: ( ( ruleTypeExpCS ) )\r\n // InternalUSE.g:18317:2: ( ruleTypeExpCS )\r\n {\r\n // InternalUSE.g:18317:2: ( ruleTypeExpCS )\r\n // InternalUSE.g:18318:3: ruleTypeExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_0_1_2_0_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleTypeExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_0_1_2_0_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": "6f8c2bfc75675cb0c3463c467624923e", "score": "0.61717415", "text": "public final void rule__NavigatingArgCS__SymbolIEAssignment_0_1_0_2_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18161:1: ( ( ( '=' ) ) )\r\n // InternalUSE.g:18162:2: ( ( '=' ) )\r\n {\r\n // InternalUSE.g:18162:2: ( ( '=' ) )\r\n // InternalUSE.g:18163:3: ( '=' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEEqualsSignKeyword_0_1_0_2_0_0()); \r\n }\r\n // InternalUSE.g:18164:3: ( '=' )\r\n // InternalUSE.g:18165:4: '='\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEEqualsSignKeyword_0_1_0_2_0_0()); \r\n }\r\n match(input,37,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolIEEqualsSignKeyword_0_1_0_2_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolIEEqualsSignKeyword_0_1_0_2_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": "cb7a7ff31bbb54b4ff1efa1d421853e3", "score": "0.615936", "text": "public final void rule__NavigatingCommaArgCS__Group_2_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13460:1: ( ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_0_0 ) ) )\r\n // InternalUSE.g:13461:1: ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_0_0 ) )\r\n {\r\n // InternalUSE.g:13461:1: ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_0_0 ) )\r\n // InternalUSE.g:13462:2: ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_0_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolCIAssignment_2_0_0()); \r\n }\r\n // InternalUSE.g:13463:2: ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_0_0 )\r\n // InternalUSE.g:13463:3: rule__NavigatingCommaArgCS__SymbolCIAssignment_2_0_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__SymbolCIAssignment_2_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.getNavigatingCommaArgCSAccess().getSymbolCIAssignment_2_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": "c926da8b252ad2b51ddae6e83316c794", "score": "0.6157457", "text": "public final void rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_0_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18146:1: ( ( ruleCoIteratorVariableCS ) )\r\n // InternalUSE.g:18147:2: ( ruleCoIteratorVariableCS )\r\n {\r\n // InternalUSE.g:18147:2: ( ruleCoIteratorVariableCS )\r\n // InternalUSE.g:18148:3: ruleCoIteratorVariableCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_0_1_0_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleCoIteratorVariableCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_0_1_0_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": "9c8dc6466f223c40619c950b55e30e78", "score": "0.6145626", "text": "public final void rule__NavigatingCommaArgCS__Group_2_0_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13541:1: ( ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_0_2_0 ) ) )\r\n // InternalUSE.g:13542:1: ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_0_2_0 ) )\r\n {\r\n // InternalUSE.g:13542:1: ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_0_2_0 ) )\r\n // InternalUSE.g:13543:2: ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_0_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEAssignment_2_0_2_0()); \r\n }\r\n // InternalUSE.g:13544:2: ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_0_2_0 )\r\n // InternalUSE.g:13544:3: rule__NavigatingCommaArgCS__SymbolIEAssignment_2_0_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__SymbolIEAssignment_2_0_2_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.getNavigatingCommaArgCSAccess().getSymbolIEAssignment_2_0_2_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": "0140c47b837cc015b477375f74116313", "score": "0.61400473", "text": "public final void rule__MapLiteralPartCS__OwnedKeyAssignment_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17204:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17205:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17205:2: ( ruleExpCS )\r\n // InternalUSE.g:17206:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getMapLiteralPartCSAccess().getOwnedKeyExpCSParserRuleCall_0_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getMapLiteralPartCSAccess().getOwnedKeyExpCSParserRuleCall_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": "339133c17dba7d376808854bd2081713", "score": "0.6074875", "text": "public final void rule__ShadowPartCS__OwnedInitExpressionAssignment_0_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:16701:1: ( ( ( rule__ShadowPartCS__OwnedInitExpressionAlternatives_0_2_0 ) ) )\r\n // InternalUSE.g:16702:2: ( ( rule__ShadowPartCS__OwnedInitExpressionAlternatives_0_2_0 ) )\r\n {\r\n // InternalUSE.g:16702:2: ( ( rule__ShadowPartCS__OwnedInitExpressionAlternatives_0_2_0 ) )\r\n // InternalUSE.g:16703:3: ( rule__ShadowPartCS__OwnedInitExpressionAlternatives_0_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionAlternatives_0_2_0()); \r\n }\r\n // InternalUSE.g:16704:3: ( rule__ShadowPartCS__OwnedInitExpressionAlternatives_0_2_0 )\r\n // InternalUSE.g:16704:4: rule__ShadowPartCS__OwnedInitExpressionAlternatives_0_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__ShadowPartCS__OwnedInitExpressionAlternatives_0_2_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.getShadowPartCSAccess().getOwnedInitExpressionAlternatives_0_2_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": "d2ea18fd466e5649557fc2896b01b22a", "score": "0.60593027", "text": "public final void rule__ShadowPartCS__Group_0__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:9976:1: ( ( ( rule__ShadowPartCS__OwnedInitExpressionAssignment_0_2 ) ) )\r\n // InternalUSE.g:9977:1: ( ( rule__ShadowPartCS__OwnedInitExpressionAssignment_0_2 ) )\r\n {\r\n // InternalUSE.g:9977:1: ( ( rule__ShadowPartCS__OwnedInitExpressionAssignment_0_2 ) )\r\n // InternalUSE.g:9978:2: ( rule__ShadowPartCS__OwnedInitExpressionAssignment_0_2 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionAssignment_0_2()); \r\n }\r\n // InternalUSE.g:9979:2: ( rule__ShadowPartCS__OwnedInitExpressionAssignment_0_2 )\r\n // InternalUSE.g:9979:3: rule__ShadowPartCS__OwnedInitExpressionAssignment_0_2\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__ShadowPartCS__OwnedInitExpressionAssignment_0_2();\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.getShadowPartCSAccess().getOwnedInitExpressionAssignment_0_2()); \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": "82a0d52ef5d67185568ce28ed1b13f2a", "score": "0.60525477", "text": "public final void rule__NavigatingCommaArgCS__Group_2_2_1__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13973:1: ( ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_2_1_0 ) ) )\r\n // InternalUSE.g:13974:1: ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_2_1_0 ) )\r\n {\r\n // InternalUSE.g:13974:1: ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_2_1_0 ) )\r\n // InternalUSE.g:13975:2: ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_2_1_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolCIAssignment_2_2_1_0()); \r\n }\r\n // InternalUSE.g:13976:2: ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_2_1_0 )\r\n // InternalUSE.g:13976:3: rule__NavigatingCommaArgCS__SymbolCIAssignment_2_2_1_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__SymbolCIAssignment_2_2_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.getNavigatingCommaArgCSAccess().getSymbolCIAssignment_2_2_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": "f76ab74f626cacc996a8e9cd99df5eaf", "score": "0.6048685", "text": "public final void rule__NavigatingArgCS__SymbolIEAssignment_0_1_1_3_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18263:1: ( ( ( '=' ) ) )\r\n // InternalUSE.g:18264:2: ( ( '=' ) )\r\n {\r\n // InternalUSE.g:18264:2: ( ( '=' ) )\r\n // InternalUSE.g:18265:3: ( '=' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEEqualsSignKeyword_0_1_1_3_0_0()); \r\n }\r\n // InternalUSE.g:18266:3: ( '=' )\r\n // InternalUSE.g:18267:4: '='\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEEqualsSignKeyword_0_1_1_3_0_0()); \r\n }\r\n match(input,37,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolIEEqualsSignKeyword_0_1_1_3_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolIEEqualsSignKeyword_0_1_1_3_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": "42806a50fa438c28caab8d0c4bb04d4b", "score": "0.6019593", "text": "public final void rule__CollectionLiteralPartCS__OwnedExpressionAssignment_0_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17099:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17100:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17100:2: ( ruleExpCS )\r\n // InternalUSE.g:17101:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedExpressionExpCSParserRuleCall_0_0_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedExpressionExpCSParserRuleCall_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": "8f6cbd5465f651ee04dbbd2c06d29359", "score": "0.60187167", "text": "public final void rule__NavigatingArgCS__OwnedTypeAssignment_0_1_1_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18214:1: ( ( ruleTypeExpCS ) )\r\n // InternalUSE.g:18215:2: ( ruleTypeExpCS )\r\n {\r\n // InternalUSE.g:18215:2: ( ruleTypeExpCS )\r\n // InternalUSE.g:18216:3: ruleTypeExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_0_1_1_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleTypeExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_0_1_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": "2df770a086b0188c375eb8e5223d91d8", "score": "0.60158896", "text": "public final void rule__RoundBracketedClauseCS__Group_2__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13135:1: ( ( ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_1 )* ) )\r\n // InternalUSE.g:13136:1: ( ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_1 )* )\r\n {\r\n // InternalUSE.g:13136:1: ( ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_1 )* )\r\n // InternalUSE.g:13137:2: ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_1 )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsAssignment_2_1()); \r\n }\r\n // InternalUSE.g:13138:2: ( rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_1 )*\r\n loop136:\r\n do {\r\n int alt136=2;\r\n int LA136_0 = input.LA(1);\r\n\r\n if ( (LA136_0==59||LA136_0==76||LA136_0==109) ) {\r\n alt136=1;\r\n }\r\n\r\n\r\n switch (alt136) {\r\n \tcase 1 :\r\n \t // InternalUSE.g:13138:3: rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_1\r\n \t {\r\n \t pushFollow(FOLLOW_91);\r\n \t rule__RoundBracketedClauseCS__OwnedArgumentsAssignment_2_1();\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 loop136;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getRoundBracketedClauseCSAccess().getOwnedArgumentsAssignment_2_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": "7544df72254782f6841278976623d077", "score": "0.6001591", "text": "public final void rule__NavigatingArgCS__Group_0_1_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14459:1: ( ( ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_1_1 ) ) )\r\n // InternalUSE.g:14460:1: ( ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_1_1 ) )\r\n {\r\n // InternalUSE.g:14460:1: ( ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_1_1 ) )\r\n // InternalUSE.g:14461:2: ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeAssignment_0_1_1_1()); \r\n }\r\n // InternalUSE.g:14462:2: ( rule__NavigatingArgCS__OwnedTypeAssignment_0_1_1_1 )\r\n // InternalUSE.g:14462:3: rule__NavigatingArgCS__OwnedTypeAssignment_0_1_1_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedTypeAssignment_0_1_1_1();\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.getNavigatingArgCSAccess().getOwnedTypeAssignment_0_1_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": "ece94b87fee023f4eb32f2046ac15c9d", "score": "0.5971178", "text": "public final void rule__NavigatingCommaArgCS__Group_2_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13487:1: ( ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_0_1 ) ) )\r\n // InternalUSE.g:13488:1: ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_0_1 ) )\r\n {\r\n // InternalUSE.g:13488:1: ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_0_1 ) )\r\n // InternalUSE.g:13489:2: ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_0_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorAssignment_2_0_1()); \r\n }\r\n // InternalUSE.g:13490:2: ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_0_1 )\r\n // InternalUSE.g:13490:3: rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_0_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_0_1();\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.getNavigatingCommaArgCSAccess().getOwnedCoIteratorAssignment_2_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": "65c4c1ea4daa9129f90ce856575027c0", "score": "0.5967244", "text": "public final void rule__NavigatingCommaArgCS__Group_2_1_3__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13757:1: ( ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_1_3_0 ) ) )\r\n // InternalUSE.g:13758:1: ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_1_3_0 ) )\r\n {\r\n // InternalUSE.g:13758:1: ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_1_3_0 ) )\r\n // InternalUSE.g:13759:2: ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_1_3_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEAssignment_2_1_3_0()); \r\n }\r\n // InternalUSE.g:13760:2: ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_1_3_0 )\r\n // InternalUSE.g:13760:3: rule__NavigatingCommaArgCS__SymbolIEAssignment_2_1_3_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__SymbolIEAssignment_2_1_3_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.getNavigatingCommaArgCSAccess().getSymbolIEAssignment_2_1_3_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": "55a11e7ad60612984958f8d064addae1", "score": "0.59481055", "text": "public final void rule__TupleLiteralPartCS__OwnedInitExpressionAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17294:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17295:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17295:2: ( ruleExpCS )\r\n // InternalUSE.g:17296:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTupleLiteralPartCSAccess().getOwnedInitExpressionExpCSParserRuleCall_3_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTupleLiteralPartCSAccess().getOwnedInitExpressionExpCSParserRuleCall_3_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": "af0332d8c4c6a13eab2bf2542baebe7a", "score": "0.5940115", "text": "public final void rule__NavigatingBarArgCS__Group_2_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13325:1: ( ( ( rule__NavigatingBarArgCS__SymbolIEAssignment_2_2_0 ) ) )\r\n // InternalUSE.g:13326:1: ( ( rule__NavigatingBarArgCS__SymbolIEAssignment_2_2_0 ) )\r\n {\r\n // InternalUSE.g:13326:1: ( ( rule__NavigatingBarArgCS__SymbolIEAssignment_2_2_0 ) )\r\n // InternalUSE.g:13327:2: ( rule__NavigatingBarArgCS__SymbolIEAssignment_2_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingBarArgCSAccess().getSymbolIEAssignment_2_2_0()); \r\n }\r\n // InternalUSE.g:13328:2: ( rule__NavigatingBarArgCS__SymbolIEAssignment_2_2_0 )\r\n // InternalUSE.g:13328:3: rule__NavigatingBarArgCS__SymbolIEAssignment_2_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingBarArgCS__SymbolIEAssignment_2_2_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.getNavigatingBarArgCSAccess().getSymbolIEAssignment_2_2_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": "45c06a05ccf38fd9e6835d9e618f5b80", "score": "0.5934936", "text": "public final void rule__NavigatingCommaArgCS__Group_2_1_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13703:1: ( ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_1_2_0 ) ) )\r\n // InternalUSE.g:13704:1: ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_1_2_0 ) )\r\n {\r\n // InternalUSE.g:13704:1: ( ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_1_2_0 ) )\r\n // InternalUSE.g:13705:2: ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_1_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolCIAssignment_2_1_2_0()); \r\n }\r\n // InternalUSE.g:13706:2: ( rule__NavigatingCommaArgCS__SymbolCIAssignment_2_1_2_0 )\r\n // InternalUSE.g:13706:3: rule__NavigatingCommaArgCS__SymbolCIAssignment_2_1_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__SymbolCIAssignment_2_1_2_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.getNavigatingCommaArgCSAccess().getSymbolCIAssignment_2_1_2_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": "2ff6f1b0ad33670df53bd7f5c71894ea", "score": "0.59194297", "text": "public final void rule__NavigatingCommaArgCS__SymbolIEAssignment_2_0_2_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17772:1: ( ( ( '=' ) ) )\r\n // InternalUSE.g:17773:2: ( ( '=' ) )\r\n {\r\n // InternalUSE.g:17773:2: ( ( '=' ) )\r\n // InternalUSE.g:17774:3: ( '=' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEEqualsSignKeyword_2_0_2_0_0()); \r\n }\r\n // InternalUSE.g:17775:3: ( '=' )\r\n // InternalUSE.g:17776:4: '='\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEEqualsSignKeyword_2_0_2_0_0()); \r\n }\r\n match(input,37,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEEqualsSignKeyword_2_0_2_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEEqualsSignKeyword_2_0_2_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": "1e43079900728b1e3f2f15b91d06a410", "score": "0.5916578", "text": "public final void rule__SquareBracketedClauseCS__OwnedTermsAssignment_2_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17039:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17040:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17040:2: ( ruleExpCS )\r\n // InternalUSE.g:17041:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getSquareBracketedClauseCSAccess().getOwnedTermsExpCSParserRuleCall_2_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getSquareBracketedClauseCSAccess().getOwnedTermsExpCSParserRuleCall_2_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": "90f31dee90ae0beb632686ce3e15b47b", "score": "0.59115946", "text": "public final void rule__NavigatingSemiArgCS__Group_2_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14189:1: ( ( ( rule__NavigatingSemiArgCS__SymbolIEAssignment_2_2_0 ) ) )\r\n // InternalUSE.g:14190:1: ( ( rule__NavigatingSemiArgCS__SymbolIEAssignment_2_2_0 ) )\r\n {\r\n // InternalUSE.g:14190:1: ( ( rule__NavigatingSemiArgCS__SymbolIEAssignment_2_2_0 ) )\r\n // InternalUSE.g:14191:2: ( rule__NavigatingSemiArgCS__SymbolIEAssignment_2_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingSemiArgCSAccess().getSymbolIEAssignment_2_2_0()); \r\n }\r\n // InternalUSE.g:14192:2: ( rule__NavigatingSemiArgCS__SymbolIEAssignment_2_2_0 )\r\n // InternalUSE.g:14192:3: rule__NavigatingSemiArgCS__SymbolIEAssignment_2_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingSemiArgCS__SymbolIEAssignment_2_2_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.getNavigatingSemiArgCSAccess().getSymbolIEAssignment_2_2_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": "5520d0f0a271a714b618550e6732a726", "score": "0.5894413", "text": "public final void rule__PathNameCS__OwnedPathElementsAssignment_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:16806:1: ( ( RULE_ID ) )\r\n // InternalUSE.g:16807:2: ( RULE_ID )\r\n {\r\n // InternalUSE.g:16807:2: ( RULE_ID )\r\n // InternalUSE.g:16808:3: RULE_ID\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPathNameCSAccess().getOwnedPathElementsIDTerminalRuleCall_0_0()); \r\n }\r\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getPathNameCSAccess().getOwnedPathElementsIDTerminalRuleCall_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": "1e3c00f5636faab4d825d0084788ce2d", "score": "0.58806604", "text": "public final void rule__NavigatingArgCS__SymbolCIAssignment_0_1_0_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18127:1: ( ( ( '<-' ) ) )\r\n // InternalUSE.g:18128:2: ( ( '<-' ) )\r\n {\r\n // InternalUSE.g:18128:2: ( ( '<-' ) )\r\n // InternalUSE.g:18129:3: ( '<-' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_0_0_0()); \r\n }\r\n // InternalUSE.g:18130:3: ( '<-' )\r\n // InternalUSE.g:18131:4: '<-'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_0_0_0()); \r\n }\r\n match(input,90,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_0_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_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": "f6a7ba9300e3cb1cd32ac9b7b8cf4eaf", "score": "0.58737504", "text": "public final void rule__NavigatingArgCS__Group_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14890:1: ( ( ( rule__NavigatingArgCS__OwnedTypeAssignment_1_1 ) ) )\r\n // InternalUSE.g:14891:1: ( ( rule__NavigatingArgCS__OwnedTypeAssignment_1_1 ) )\r\n {\r\n // InternalUSE.g:14891:1: ( ( rule__NavigatingArgCS__OwnedTypeAssignment_1_1 ) )\r\n // InternalUSE.g:14892:2: ( rule__NavigatingArgCS__OwnedTypeAssignment_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeAssignment_1_1()); \r\n }\r\n // InternalUSE.g:14893:2: ( rule__NavigatingArgCS__OwnedTypeAssignment_1_1 )\r\n // InternalUSE.g:14893:3: rule__NavigatingArgCS__OwnedTypeAssignment_1_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__OwnedTypeAssignment_1_1();\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.getNavigatingArgCSAccess().getOwnedTypeAssignment_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": "73d56c00627195b33aed6d2bc2c96e67", "score": "0.5873335", "text": "public final void rule__PrefixedLetExpCS__Group_0__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:10516:1: ( ( ( rule__PrefixedLetExpCS__OwnedRightAssignment_0_2 ) ) )\r\n // InternalUSE.g:10517:1: ( ( rule__PrefixedLetExpCS__OwnedRightAssignment_0_2 ) )\r\n {\r\n // InternalUSE.g:10517:1: ( ( rule__PrefixedLetExpCS__OwnedRightAssignment_0_2 ) )\r\n // InternalUSE.g:10518:2: ( rule__PrefixedLetExpCS__OwnedRightAssignment_0_2 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPrefixedLetExpCSAccess().getOwnedRightAssignment_0_2()); \r\n }\r\n // InternalUSE.g:10519:2: ( rule__PrefixedLetExpCS__OwnedRightAssignment_0_2 )\r\n // InternalUSE.g:10519:3: rule__PrefixedLetExpCS__OwnedRightAssignment_0_2\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__PrefixedLetExpCS__OwnedRightAssignment_0_2();\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.getPrefixedLetExpCSAccess().getOwnedRightAssignment_0_2()); \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": "b414f0232f4081c1403a48196fa8a922", "score": "0.58631206", "text": "public final void rule__NestedExpCS__OwnedExpressionAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17362:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17363:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17363:2: ( ruleExpCS )\r\n // InternalUSE.g:17364:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNestedExpCSAccess().getOwnedExpressionExpCSParserRuleCall_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNestedExpCSAccess().getOwnedExpressionExpCSParserRuleCall_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": "3af1ffa40c74cadccae676250ec89aa7", "score": "0.5839878", "text": "public final void rule__NavigatingArgCS__OwnedTypeAssignment_1_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18418:1: ( ( ruleTypeExpCS ) )\r\n // InternalUSE.g:18419:2: ( ruleTypeExpCS )\r\n {\r\n // InternalUSE.g:18419:2: ( ruleTypeExpCS )\r\n // InternalUSE.g:18420:3: ruleTypeExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_1_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleTypeExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_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": "29515fe9f11952933faa715fbbffa31e", "score": "0.5830317", "text": "public final void rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_2_1_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18350:1: ( ( ruleCoIteratorVariableCS ) )\r\n // InternalUSE.g:18351:2: ( ruleCoIteratorVariableCS )\r\n {\r\n // InternalUSE.g:18351:2: ( ruleCoIteratorVariableCS )\r\n // InternalUSE.g:18352:3: ruleCoIteratorVariableCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_0_1_2_1_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleCoIteratorVariableCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_0_1_2_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": "dc00c8af14c1f01158f4cb4ff0750a4d", "score": "0.5820923", "text": "public final void rule__CollectionLiteralPartCS__Group_0__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:11192:1: ( ( ( rule__CollectionLiteralPartCS__OwnedExpressionAssignment_0_0 ) ) )\r\n // InternalUSE.g:11193:1: ( ( rule__CollectionLiteralPartCS__OwnedExpressionAssignment_0_0 ) )\r\n {\r\n // InternalUSE.g:11193:1: ( ( rule__CollectionLiteralPartCS__OwnedExpressionAssignment_0_0 ) )\r\n // InternalUSE.g:11194:2: ( rule__CollectionLiteralPartCS__OwnedExpressionAssignment_0_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getCollectionLiteralPartCSAccess().getOwnedExpressionAssignment_0_0()); \r\n }\r\n // InternalUSE.g:11195:2: ( rule__CollectionLiteralPartCS__OwnedExpressionAssignment_0_0 )\r\n // InternalUSE.g:11195:3: rule__CollectionLiteralPartCS__OwnedExpressionAssignment_0_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__CollectionLiteralPartCS__OwnedExpressionAssignment_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.getCollectionLiteralPartCSAccess().getOwnedExpressionAssignment_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": "437196c62df6bece5c503a7dfb4b0680", "score": "0.58202726", "text": "public final void rule__NavigatingBarArgCS__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13190:1: ( ( ( rule__NavigatingBarArgCS__OwnedNameExpressionAssignment_1 ) ) )\r\n // InternalUSE.g:13191:1: ( ( rule__NavigatingBarArgCS__OwnedNameExpressionAssignment_1 ) )\r\n {\r\n // InternalUSE.g:13191:1: ( ( rule__NavigatingBarArgCS__OwnedNameExpressionAssignment_1 ) )\r\n // InternalUSE.g:13192:2: ( rule__NavigatingBarArgCS__OwnedNameExpressionAssignment_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingBarArgCSAccess().getOwnedNameExpressionAssignment_1()); \r\n }\r\n // InternalUSE.g:13193:2: ( rule__NavigatingBarArgCS__OwnedNameExpressionAssignment_1 )\r\n // InternalUSE.g:13193:3: rule__NavigatingBarArgCS__OwnedNameExpressionAssignment_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingBarArgCS__OwnedNameExpressionAssignment_1();\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.getNavigatingBarArgCSAccess().getOwnedNameExpressionAssignment_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": "ed26cbbb76b647b93091518d73feb612", "score": "0.5814934", "text": "public final void rule__ShadowPartCS__OwnedInitExpressionAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:16716:1: ( ( ruleStringLiteralExpCS ) )\r\n // InternalUSE.g:16717:2: ( ruleStringLiteralExpCS )\r\n {\r\n // InternalUSE.g:16717:2: ( ruleStringLiteralExpCS )\r\n // InternalUSE.g:16718:3: ruleStringLiteralExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionStringLiteralExpCSParserRuleCall_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleStringLiteralExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionStringLiteralExpCSParserRuleCall_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": "cf09b7c2a716510c1a7e7d4c2931e102", "score": "0.5800123", "text": "public final void rule__NavigatingArgCS__SymbolCIAssignment_0_1_2_1_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18331:1: ( ( ( '<-' ) ) )\r\n // InternalUSE.g:18332:2: ( ( '<-' ) )\r\n {\r\n // InternalUSE.g:18332:2: ( ( '<-' ) )\r\n // InternalUSE.g:18333:3: ( '<-' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_2_1_0_0()); \r\n }\r\n // InternalUSE.g:18334:3: ( '<-' )\r\n // InternalUSE.g:18335:4: '<-'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_2_1_0_0()); \r\n }\r\n match(input,90,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_2_1_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_2_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": "0062e92bc7c1fccb002d72309a7daa9d", "score": "0.5797243", "text": "public final void rule__NavigatingCommaArgCS__SymbolIEAssignment_2_1_3_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17874:1: ( ( ( '=' ) ) )\r\n // InternalUSE.g:17875:2: ( ( '=' ) )\r\n {\r\n // InternalUSE.g:17875:2: ( ( '=' ) )\r\n // InternalUSE.g:17876:3: ( '=' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEEqualsSignKeyword_2_1_3_0_0()); \r\n }\r\n // InternalUSE.g:17877:3: ( '=' )\r\n // InternalUSE.g:17878:4: '='\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEEqualsSignKeyword_2_1_3_0_0()); \r\n }\r\n match(input,37,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEEqualsSignKeyword_2_1_3_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEEqualsSignKeyword_2_1_3_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": "4ab4209baee5d3c0f1b590e214b97e9b", "score": "0.57917714", "text": "public final void rule__NavigatingArgCS__OwnedCoIteratorAssignment_0_1_1_2_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18248:1: ( ( ruleCoIteratorVariableCS ) )\r\n // InternalUSE.g:18249:2: ( ruleCoIteratorVariableCS )\r\n {\r\n // InternalUSE.g:18249:2: ( ruleCoIteratorVariableCS )\r\n // InternalUSE.g:18250:3: ruleCoIteratorVariableCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_0_1_1_2_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleCoIteratorVariableCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_0_1_1_2_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": "a47f33b65ffcfb40310761b20b667357", "score": "0.5780568", "text": "public final void rule__SquareBracketedClauseCS__OwnedTermsAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17024:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17025:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17025:2: ( ruleExpCS )\r\n // InternalUSE.g:17026:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getSquareBracketedClauseCSAccess().getOwnedTermsExpCSParserRuleCall_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getSquareBracketedClauseCSAccess().getOwnedTermsExpCSParserRuleCall_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": "04a674184fb39e779d2d8dfb4db63506", "score": "0.5780462", "text": "public final void rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_0_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17757:1: ( ( ruleCoIteratorVariableCS ) )\r\n // InternalUSE.g:17758:2: ( ruleCoIteratorVariableCS )\r\n {\r\n // InternalUSE.g:17758:2: ( ruleCoIteratorVariableCS )\r\n // InternalUSE.g:17759:3: ruleCoIteratorVariableCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_2_0_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleCoIteratorVariableCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_2_0_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": "96e045daa78b47a37c222747b6818e4d", "score": "0.57725596", "text": "public final void rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_2_0_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17927:1: ( ( ruleTypeExpCS ) )\r\n // InternalUSE.g:17928:2: ( ruleTypeExpCS )\r\n {\r\n // InternalUSE.g:17928:2: ( ruleTypeExpCS )\r\n // InternalUSE.g:17929:3: ruleTypeExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_2_0_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleTypeExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_2_0_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": "e5df56da315755ac1e75180f3080d365", "score": "0.5759598", "text": "public final void rule__NavigatingArgCS__SymbolCIAssignment_0_1_1_2_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18229:1: ( ( ( '<-' ) ) )\r\n // InternalUSE.g:18230:2: ( ( '<-' ) )\r\n {\r\n // InternalUSE.g:18230:2: ( ( '<-' ) )\r\n // InternalUSE.g:18231:3: ( '<-' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_1_2_0_0()); \r\n }\r\n // InternalUSE.g:18232:3: ( '<-' )\r\n // InternalUSE.g:18233:4: '<-'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_1_2_0_0()); \r\n }\r\n match(input,90,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_1_2_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_0_1_1_2_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": "78f5e0595af874271de75377c6916390", "score": "0.57588553", "text": "public final void rule__NavigatingArgCS__SymbolIEAssignment_0_1_2_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18365:1: ( ( ( 'in' ) ) )\r\n // InternalUSE.g:18366:2: ( ( 'in' ) )\r\n {\r\n // InternalUSE.g:18366:2: ( ( 'in' ) )\r\n // InternalUSE.g:18367:3: ( 'in' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEInKeyword_0_1_2_2_0()); \r\n }\r\n // InternalUSE.g:18368:3: ( 'in' )\r\n // InternalUSE.g:18369:4: 'in'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolIEInKeyword_0_1_2_2_0()); \r\n }\r\n match(input,100,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolIEInKeyword_0_1_2_2_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolIEInKeyword_0_1_2_2_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": "9c377fcfb04086ec481fb85586aeec6c", "score": "0.5747524", "text": "public final void rule__LambdaLiteralExpCS__OwnedExpressionCSAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17144:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17145:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17145:2: ( ruleExpCS )\r\n // InternalUSE.g:17146:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getLambdaLiteralExpCSAccess().getOwnedExpressionCSExpCSParserRuleCall_2_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getLambdaLiteralExpCSAccess().getOwnedExpressionCSExpCSParserRuleCall_2_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": "666a325f669390d615a10a7c07525123", "score": "0.57444143", "text": "public final void rule__PrefixedPrimaryExpCS__OwnedRightAssignment_0_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:16911:1: ( ( rulePrefixedPrimaryExpCS ) )\r\n // InternalUSE.g:16912:2: ( rulePrefixedPrimaryExpCS )\r\n {\r\n // InternalUSE.g:16912:2: ( rulePrefixedPrimaryExpCS )\r\n // InternalUSE.g:16913:3: rulePrefixedPrimaryExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPrefixedPrimaryExpCSAccess().getOwnedRightPrefixedPrimaryExpCSParserRuleCall_0_2_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n rulePrefixedPrimaryExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getPrefixedPrimaryExpCSAccess().getOwnedRightPrefixedPrimaryExpCSParserRuleCall_0_2_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": "a5360f99b9d2836b9a28b27ff03003ec", "score": "0.57322747", "text": "public final void rule__PrefixedPrimaryExpCS__Group_0__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:10597:1: ( ( ( rule__PrefixedPrimaryExpCS__OwnedRightAssignment_0_2 ) ) )\r\n // InternalUSE.g:10598:1: ( ( rule__PrefixedPrimaryExpCS__OwnedRightAssignment_0_2 ) )\r\n {\r\n // InternalUSE.g:10598:1: ( ( rule__PrefixedPrimaryExpCS__OwnedRightAssignment_0_2 ) )\r\n // InternalUSE.g:10599:2: ( rule__PrefixedPrimaryExpCS__OwnedRightAssignment_0_2 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPrefixedPrimaryExpCSAccess().getOwnedRightAssignment_0_2()); \r\n }\r\n // InternalUSE.g:10600:2: ( rule__PrefixedPrimaryExpCS__OwnedRightAssignment_0_2 )\r\n // InternalUSE.g:10600:3: rule__PrefixedPrimaryExpCS__OwnedRightAssignment_0_2\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__PrefixedPrimaryExpCS__OwnedRightAssignment_0_2();\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.getPrefixedPrimaryExpCSAccess().getOwnedRightAssignment_0_2()); \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": "8986aa2a06b2a09df0b684c190373f30", "score": "0.5727276", "text": "public final void ruleNavigatingArgExpCS() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:2574:2: ( ( ruleExpCS ) )\r\n // InternalUSE.g:2575:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:2575:2: ( ruleExpCS )\r\n // InternalUSE.g:2576:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgExpCSAccess().getExpCSParserRuleCall()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgExpCSAccess().getExpCSParserRuleCall()); \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": "3cc8ff24a70d781ac795a547a99d5bbf", "score": "0.5726395", "text": "public final void rule__NavigatingSemiArgCS__SymbolIEAssignment_2_2_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18078:1: ( ( ( '=' ) ) )\r\n // InternalUSE.g:18079:2: ( ( '=' ) )\r\n {\r\n // InternalUSE.g:18079:2: ( ( '=' ) )\r\n // InternalUSE.g:18080:3: ( '=' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingSemiArgCSAccess().getSymbolIEEqualsSignKeyword_2_2_0_0()); \r\n }\r\n // InternalUSE.g:18081:3: ( '=' )\r\n // InternalUSE.g:18082:4: '='\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingSemiArgCSAccess().getSymbolIEEqualsSignKeyword_2_2_0_0()); \r\n }\r\n match(input,37,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingSemiArgCSAccess().getSymbolIEEqualsSignKeyword_2_2_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingSemiArgCSAccess().getSymbolIEEqualsSignKeyword_2_2_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": "fa87a8728b45c04aab972c3417fe2df8", "score": "0.57218", "text": "public final void rule__LetExpCS__OwnedInExpressionAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17497:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17498:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17498:2: ( ruleExpCS )\r\n // InternalUSE.g:17499:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getLetExpCSAccess().getOwnedInExpressionExpCSParserRuleCall_4_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getLetExpCSAccess().getOwnedInExpressionExpCSParserRuleCall_4_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": "d3237a81300ff681c11d7b96c1e13ce4", "score": "0.5708506", "text": "public final void rule__NameExpCS__OwnedPathNameAssignment_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:16926:1: ( ( rulePathNameCS ) )\r\n // InternalUSE.g:16927:2: ( rulePathNameCS )\r\n {\r\n // InternalUSE.g:16927:2: ( rulePathNameCS )\r\n // InternalUSE.g:16928:3: rulePathNameCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNameExpCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n rulePathNameCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNameExpCSAccess().getOwnedPathNamePathNameCSParserRuleCall_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": "dea6cfc549786a52bfb4a74485cbdb73", "score": "0.57082427", "text": "public final void rule__IfExpCS__OwnedThenExpressionAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17392:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17393:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17393:2: ( ruleExpCS )\r\n // InternalUSE.g:17394:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getIfExpCSAccess().getOwnedThenExpressionExpCSParserRuleCall_3_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getIfExpCSAccess().getOwnedThenExpressionExpCSParserRuleCall_3_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": "a3778fe9f04ff28a1d1df2c94f11d1e6", "score": "0.5703643", "text": "public final void rule__NavigatingCommaArgCS__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13406:1: ( ( ( rule__NavigatingCommaArgCS__OwnedNameExpressionAssignment_1 ) ) )\r\n // InternalUSE.g:13407:1: ( ( rule__NavigatingCommaArgCS__OwnedNameExpressionAssignment_1 ) )\r\n {\r\n // InternalUSE.g:13407:1: ( ( rule__NavigatingCommaArgCS__OwnedNameExpressionAssignment_1 ) )\r\n // InternalUSE.g:13408:2: ( rule__NavigatingCommaArgCS__OwnedNameExpressionAssignment_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedNameExpressionAssignment_1()); \r\n }\r\n // InternalUSE.g:13409:2: ( rule__NavigatingCommaArgCS__OwnedNameExpressionAssignment_1 )\r\n // InternalUSE.g:13409:3: rule__NavigatingCommaArgCS__OwnedNameExpressionAssignment_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__OwnedNameExpressionAssignment_1();\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.getNavigatingCommaArgCSAccess().getOwnedNameExpressionAssignment_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": "b7a2d11910f437cfdec9355a17a5278a", "score": "0.56973225", "text": "public final void rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_2_1_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17961:1: ( ( ruleCoIteratorVariableCS ) )\r\n // InternalUSE.g:17962:2: ( ruleCoIteratorVariableCS )\r\n {\r\n // InternalUSE.g:17962:2: ( ruleCoIteratorVariableCS )\r\n // InternalUSE.g:17963:3: ruleCoIteratorVariableCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_2_2_1_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleCoIteratorVariableCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_2_2_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": "22623f51311578f830340bb951ffe4f3", "score": "0.5691313", "text": "public final void rule__NavigatingSemiArgCS__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:14054:1: ( ( ( rule__NavigatingSemiArgCS__OwnedNameExpressionAssignment_1 ) ) )\r\n // InternalUSE.g:14055:1: ( ( rule__NavigatingSemiArgCS__OwnedNameExpressionAssignment_1 ) )\r\n {\r\n // InternalUSE.g:14055:1: ( ( rule__NavigatingSemiArgCS__OwnedNameExpressionAssignment_1 ) )\r\n // InternalUSE.g:14056:2: ( rule__NavigatingSemiArgCS__OwnedNameExpressionAssignment_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingSemiArgCSAccess().getOwnedNameExpressionAssignment_1()); \r\n }\r\n // InternalUSE.g:14057:2: ( rule__NavigatingSemiArgCS__OwnedNameExpressionAssignment_1 )\r\n // InternalUSE.g:14057:3: rule__NavigatingSemiArgCS__OwnedNameExpressionAssignment_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingSemiArgCS__OwnedNameExpressionAssignment_1();\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.getNavigatingSemiArgCSAccess().getOwnedNameExpressionAssignment_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": "4a5310f2791212e61ceaae2e79515df0", "score": "0.5690706", "text": "public final void rule__NavigatingCommaArgCS__Group_2_2__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13865:1: ( ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_2_2 ) ) )\r\n // InternalUSE.g:13866:1: ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_2_2 ) )\r\n {\r\n // InternalUSE.g:13866:1: ( ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_2_2 ) )\r\n // InternalUSE.g:13867:2: ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_2_2 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolIEAssignment_2_2_2()); \r\n }\r\n // InternalUSE.g:13868:2: ( rule__NavigatingCommaArgCS__SymbolIEAssignment_2_2_2 )\r\n // InternalUSE.g:13868:3: rule__NavigatingCommaArgCS__SymbolIEAssignment_2_2_2\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__SymbolIEAssignment_2_2_2();\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.getNavigatingCommaArgCSAccess().getSymbolIEAssignment_2_2_2()); \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": "06f104116234736298dfab577ae71b1f", "score": "0.56800735", "text": "public final void rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_1_2_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17859:1: ( ( ruleCoIteratorVariableCS ) )\r\n // InternalUSE.g:17860:2: ( ruleCoIteratorVariableCS )\r\n {\r\n // InternalUSE.g:17860:2: ( ruleCoIteratorVariableCS )\r\n // InternalUSE.g:17861:3: ruleCoIteratorVariableCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_2_1_2_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleCoIteratorVariableCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorCoIteratorVariableCSParserRuleCall_2_1_2_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": "ee38e9ecbf874f3a5c5457ec11907b00", "score": "0.56581706", "text": "public final void rule__NavigatingCommaArgCS__Group_2_2_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13999:1: ( ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_2_1_1 ) ) )\r\n // InternalUSE.g:14000:1: ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_2_1_1 ) )\r\n {\r\n // InternalUSE.g:14000:1: ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_2_1_1 ) )\r\n // InternalUSE.g:14001:2: ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_2_1_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorAssignment_2_2_1_1()); \r\n }\r\n // InternalUSE.g:14002:2: ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_2_1_1 )\r\n // InternalUSE.g:14002:3: rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_2_1_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_2_1_1();\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.getNavigatingCommaArgCSAccess().getOwnedCoIteratorAssignment_2_2_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": "08d67617979cc2bd4596f0d047e0473f", "score": "0.56503993", "text": "public final void rule__NavigatingCommaArgCS__Group_2_1_2__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13729:1: ( ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_1_2_1 ) ) )\r\n // InternalUSE.g:13730:1: ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_1_2_1 ) )\r\n {\r\n // InternalUSE.g:13730:1: ( ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_1_2_1 ) )\r\n // InternalUSE.g:13731:2: ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_1_2_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedCoIteratorAssignment_2_1_2_1()); \r\n }\r\n // InternalUSE.g:13732:2: ( rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_1_2_1 )\r\n // InternalUSE.g:13732:3: rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_1_2_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__OwnedCoIteratorAssignment_2_1_2_1();\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.getNavigatingCommaArgCSAccess().getOwnedCoIteratorAssignment_2_1_2_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": "46dd068c36d9ed29d71dce4fc5b39d08", "score": "0.56326205", "text": "public final void rule__NavigatingCommaArgCS__SymbolCIAssignment_2_0_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17738:1: ( ( ( '<-' ) ) )\r\n // InternalUSE.g:17739:2: ( ( '<-' ) )\r\n {\r\n // InternalUSE.g:17739:2: ( ( '<-' ) )\r\n // InternalUSE.g:17740:3: ( '<-' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_2_0_0_0()); \r\n }\r\n // InternalUSE.g:17741:3: ( '<-' )\r\n // InternalUSE.g:17742:4: '<-'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_2_0_0_0()); \r\n }\r\n match(input,90,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_2_0_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getSymbolCILessThanSignHyphenMinusKeyword_2_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": "0c9d9c78f6f72e66409987b4ded13ce8", "score": "0.56293035", "text": "public final void rule__NavigatingArgCS__SymbolTAssignment_0_1_2_0_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:18297:1: ( ( ( ':' ) ) )\r\n // InternalUSE.g:18298:2: ( ( ':' ) )\r\n {\r\n // InternalUSE.g:18298:2: ( ( ':' ) )\r\n // InternalUSE.g:18299:3: ( ':' )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolTColonKeyword_0_1_2_0_0_0()); \r\n }\r\n // InternalUSE.g:18300:3: ( ':' )\r\n // InternalUSE.g:18301:4: ':'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getSymbolTColonKeyword_0_1_2_0_0_0()); \r\n }\r\n match(input,73,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolTColonKeyword_0_1_2_0_0_0()); \r\n }\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingArgCSAccess().getSymbolTColonKeyword_0_1_2_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": "f7b361c7a08a59db953e72e9fa566b63", "score": "0.5624831", "text": "public final void rule__ShadowPartCS__OwnedInitExpressionAlternatives_0_2_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:3367:1: ( ( ruleExpCS ) | ( rulePatternExpCS ) )\r\n int alt27=2;\r\n switch ( input.LA(1) ) {\r\n case RULE_INT:\r\n case RULE_STRING:\r\n case 11:\r\n case 12:\r\n case 13:\r\n case 14:\r\n case 15:\r\n case 16:\r\n case 17:\r\n case 18:\r\n case 24:\r\n case 25:\r\n case 26:\r\n case 27:\r\n case 28:\r\n case 29:\r\n case 32:\r\n case 52:\r\n case 53:\r\n case 60:\r\n case 89:\r\n case 91:\r\n case 92:\r\n case 93:\r\n case 94:\r\n case 99:\r\n case 105:\r\n case 107:\r\n case 108:\r\n {\r\n alt27=1;\r\n }\r\n break;\r\n case RULE_ID:\r\n {\r\n int LA27_2 = input.LA(2);\r\n\r\n if ( (LA27_2==EOF||LA27_2==11||(LA27_2>=30 && LA27_2<=51)||(LA27_2>=59 && LA27_2<=60)||(LA27_2>=63 && LA27_2<=64)||LA27_2==68||LA27_2==85||LA27_2==106) ) {\r\n alt27=1;\r\n }\r\n else if ( (LA27_2==73) ) {\r\n alt27=2;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 27, 2, input);\r\n\r\n throw nvae;\r\n }\r\n }\r\n break;\r\n case 73:\r\n {\r\n alt27=2;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 27, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt27) {\r\n case 1 :\r\n // InternalUSE.g:3368:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:3368:2: ( ruleExpCS )\r\n // InternalUSE.g:3369:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_2_0_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionExpCSParserRuleCall_0_2_0_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // InternalUSE.g:3374:2: ( rulePatternExpCS )\r\n {\r\n // InternalUSE.g:3374:2: ( rulePatternExpCS )\r\n // InternalUSE.g:3375:3: rulePatternExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionPatternExpCSParserRuleCall_0_2_0_1()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n rulePatternExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getShadowPartCSAccess().getOwnedInitExpressionPatternExpCSParserRuleCall_0_2_0_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\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": "fcba36e63c2e44c41636706905e4ddd8", "score": "0.56055397", "text": "public final void rule__NavigatingCommaArgCS__Group_2_2_0__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:13945:1: ( ( ( rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_2_0_1 ) ) )\r\n // InternalUSE.g:13946:1: ( ( rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_2_0_1 ) )\r\n {\r\n // InternalUSE.g:13946:1: ( ( rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_2_0_1 ) )\r\n // InternalUSE.g:13947:2: ( rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_2_0_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedTypeAssignment_2_2_0_1()); \r\n }\r\n // InternalUSE.g:13948:2: ( rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_2_0_1 )\r\n // InternalUSE.g:13948:3: rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_2_0_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_2_0_1();\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.getNavigatingCommaArgCSAccess().getOwnedTypeAssignment_2_2_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": "38dfc95137fe3fe5305da09a98373044", "score": "0.5580117", "text": "public final void rule__NavigatingCommaArgCS__OwnedTypeAssignment_2_1_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17825:1: ( ( ruleTypeExpCS ) )\r\n // InternalUSE.g:17826:2: ( ruleTypeExpCS )\r\n {\r\n // InternalUSE.g:17826:2: ( ruleTypeExpCS )\r\n // InternalUSE.g:17827:3: ruleTypeExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_1_1_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleTypeExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getNavigatingCommaArgCSAccess().getOwnedTypeTypeExpCSParserRuleCall_2_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": "0aa642f4ad3dbc1c00887aa8fb6ad19a", "score": "0.55636597", "text": "public final void rule__MapLiteralExpCS__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:11408:1: ( ( ( rule__MapLiteralExpCS__OwnedTypeAssignment_0 ) ) )\r\n // InternalUSE.g:11409:1: ( ( rule__MapLiteralExpCS__OwnedTypeAssignment_0 ) )\r\n {\r\n // InternalUSE.g:11409:1: ( ( rule__MapLiteralExpCS__OwnedTypeAssignment_0 ) )\r\n // InternalUSE.g:11410:2: ( rule__MapLiteralExpCS__OwnedTypeAssignment_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getMapLiteralExpCSAccess().getOwnedTypeAssignment_0()); \r\n }\r\n // InternalUSE.g:11411:2: ( rule__MapLiteralExpCS__OwnedTypeAssignment_0 )\r\n // InternalUSE.g:11411:3: rule__MapLiteralExpCS__OwnedTypeAssignment_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__MapLiteralExpCS__OwnedTypeAssignment_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.getMapLiteralExpCSAccess().getOwnedTypeAssignment_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": "75d90df3831cf4debc3d52d7854e4255", "score": "0.55603915", "text": "public final void rule__MapLiteralPartCS__OwnedValueAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:17219:1: ( ( ruleExpCS ) )\r\n // InternalUSE.g:17220:2: ( ruleExpCS )\r\n {\r\n // InternalUSE.g:17220:2: ( ruleExpCS )\r\n // InternalUSE.g:17221:3: ruleExpCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getMapLiteralPartCSAccess().getOwnedValueExpCSParserRuleCall_2_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n ruleExpCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getMapLiteralPartCSAccess().getOwnedValueExpCSParserRuleCall_2_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": "0e3ae5e1a70d05ca7af9a158442caff8", "score": "0.5553939", "text": "public final void rule__MapLiteralExpCS__Group_2__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:11516:1: ( ( ( rule__MapLiteralExpCS__OwnedPartsAssignment_2_0 ) ) )\r\n // InternalUSE.g:11517:1: ( ( rule__MapLiteralExpCS__OwnedPartsAssignment_2_0 ) )\r\n {\r\n // InternalUSE.g:11517:1: ( ( rule__MapLiteralExpCS__OwnedPartsAssignment_2_0 ) )\r\n // InternalUSE.g:11518:2: ( rule__MapLiteralExpCS__OwnedPartsAssignment_2_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getMapLiteralExpCSAccess().getOwnedPartsAssignment_2_0()); \r\n }\r\n // InternalUSE.g:11519:2: ( rule__MapLiteralExpCS__OwnedPartsAssignment_2_0 )\r\n // InternalUSE.g:11519:3: rule__MapLiteralExpCS__OwnedPartsAssignment_2_0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__MapLiteralExpCS__OwnedPartsAssignment_2_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.getMapLiteralExpCSAccess().getOwnedPartsAssignment_2_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": "0ef3d44d98a93a3124f3812146c94f24", "score": "0.5549821", "text": "public final void rule__TypeNameExpCS__OwnedPathNameAssignment_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:16611:1: ( ( rulePathNameCS ) )\r\n // InternalUSE.g:16612:2: ( rulePathNameCS )\r\n {\r\n // InternalUSE.g:16612:2: ( rulePathNameCS )\r\n // InternalUSE.g:16613:3: rulePathNameCS\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTypeNameExpCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); \r\n }\r\n pushFollow(FOLLOW_2);\r\n rulePathNameCS();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTypeNameExpCSAccess().getOwnedPathNamePathNameCSParserRuleCall_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": "ed1c169fa925c4381bdcaf04d40e65be", "score": "0.55213064", "text": "public final void rule__NavigatingArgCS__Alternatives_0_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:3787:1: ( ( ( rule__NavigatingArgCS__Group_0_1_0__0 ) ) | ( ( rule__NavigatingArgCS__Group_0_1_1__0 ) ) | ( ( rule__NavigatingArgCS__Group_0_1_2__0 ) ) )\r\n int alt43=3;\r\n switch ( input.LA(1) ) {\r\n case 90:\r\n {\r\n int LA43_1 = input.LA(2);\r\n\r\n if ( (synpred95_InternalUSE()) ) {\r\n alt43=1;\r\n }\r\n else if ( (true) ) {\r\n alt43=3;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 43, 1, input);\r\n\r\n throw nvae;\r\n }\r\n }\r\n break;\r\n case 73:\r\n {\r\n int LA43_2 = input.LA(2);\r\n\r\n if ( (synpred96_InternalUSE()) ) {\r\n alt43=2;\r\n }\r\n else if ( (true) ) {\r\n alt43=3;\r\n }\r\n else {\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 43, 2, input);\r\n\r\n throw nvae;\r\n }\r\n }\r\n break;\r\n case 100:\r\n {\r\n alt43=3;\r\n }\r\n break;\r\n default:\r\n if (state.backtracking>0) {state.failed=true; return ;}\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 43, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt43) {\r\n case 1 :\r\n // InternalUSE.g:3788:2: ( ( rule__NavigatingArgCS__Group_0_1_0__0 ) )\r\n {\r\n // InternalUSE.g:3788:2: ( ( rule__NavigatingArgCS__Group_0_1_0__0 ) )\r\n // InternalUSE.g:3789:3: ( rule__NavigatingArgCS__Group_0_1_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getGroup_0_1_0()); \r\n }\r\n // InternalUSE.g:3790:3: ( rule__NavigatingArgCS__Group_0_1_0__0 )\r\n // InternalUSE.g:3790:4: rule__NavigatingArgCS__Group_0_1_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__Group_0_1_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.getNavigatingArgCSAccess().getGroup_0_1_0()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // InternalUSE.g:3794:2: ( ( rule__NavigatingArgCS__Group_0_1_1__0 ) )\r\n {\r\n // InternalUSE.g:3794:2: ( ( rule__NavigatingArgCS__Group_0_1_1__0 ) )\r\n // InternalUSE.g:3795:3: ( rule__NavigatingArgCS__Group_0_1_1__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getGroup_0_1_1()); \r\n }\r\n // InternalUSE.g:3796:3: ( rule__NavigatingArgCS__Group_0_1_1__0 )\r\n // InternalUSE.g:3796:4: rule__NavigatingArgCS__Group_0_1_1__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__Group_0_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.getNavigatingArgCSAccess().getGroup_0_1_1()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n case 3 :\r\n // InternalUSE.g:3800:2: ( ( rule__NavigatingArgCS__Group_0_1_2__0 ) )\r\n {\r\n // InternalUSE.g:3800:2: ( ( rule__NavigatingArgCS__Group_0_1_2__0 ) )\r\n // InternalUSE.g:3801:3: ( rule__NavigatingArgCS__Group_0_1_2__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getNavigatingArgCSAccess().getGroup_0_1_2()); \r\n }\r\n // InternalUSE.g:3802:3: ( rule__NavigatingArgCS__Group_0_1_2__0 )\r\n // InternalUSE.g:3802:4: rule__NavigatingArgCS__Group_0_1_2__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__NavigatingArgCS__Group_0_1_2__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.getNavigatingArgCSAccess().getGroup_0_1_2()); \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\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": "" } ]
58930bb1a8f3c234f77b0a604ae5de48
Enable only the selected Sensor
[ { "docid": "f35683befbd593bd4ed327502b2eb43a", "score": "0.7490427", "text": "public void enableSensors()\n {\n \tStsObject[] sensors = (StsObject[])model.getObjectList(StsDynamicSensor.class);\n \tif(sensors == null) \n \t\treturn;\n \tliveSensors = new boolean[sensors.length];\n \tfor(int i=0; i<sensors.length; i++)\n \t{\n \t\tliveSensors[i] = ((StsDynamicSensor)sensors[i]).getIsVisible();\n \t\t((StsDynamicSensor)sensors[i]).setIsVisible(false);\n \t}\n \t// Turn on selected sensors\n \tfor(int i=0; i<selectedSensors.length; i++)\n \t\t((StsDynamicSensor)selectedSensors[i]).setIsVisible(true);\n \n originalSymbol = primeSensor.getSymbolString();\n primeSensor.setSymbolString(primeSensor.SYMBOL_TYPE_STRINGS[primeSensor.CUBE]);\n \tprimeSensor.setIsVisible(true);\n }", "title": "" } ]
[ { "docid": "030dfd29e67406b23f8a4e70f8767ca9", "score": "0.73094916", "text": "public void setSensorOn(boolean enabled) {\n sensorOn = enabled;\n }", "title": "" }, { "docid": "d1f6dd32b8a8d654497e4944aa11697d", "score": "0.7187769", "text": "public void enableSensors() {\n this.has_rotationVector = false;\n this.has_gyroVector = false;\n for (int i = 0; i < 3; i++) {\n this.accelVector[i] = 0.0f;\n this.rotationVector[i] = 0.0f;\n this.gyroVector[i] = 0.0f;\n }\n Sensor sensor = this.mSensor;\n if (sensor != null) {\n this.mSensorManager.registerListener(this, sensor, 2);\n }\n Sensor sensor2 = this.mSensorAccel;\n if (sensor2 != null) {\n this.mSensorManager.registerListener(this, sensor2, 2);\n }\n }", "title": "" }, { "docid": "73fef9bc65d18a1b38a5d92c902cbcbb", "score": "0.698472", "text": "public void enableAllSensors() {\n \t\tif (mUseAccelerometer)\n \t\t\tSensors.enableSensor(Sensors.SENSOR_ACCELEROMETER);\n \t\tif (mUseCompass)\n \t\t\tSensors.enableSensor(Sensors.SENSOR_COMPASS);\n \t\tif (mUseOrientation)\n \t\t\tSensors.enableSensor(Sensors.SENSOR_ORIENTATION);\t\n \t\t\n \t\t// Now enable access to sensors\n \t\t// by GLSurfaceView\n \t\tmGLSurfaceView.startUseSensors();\n \t}", "title": "" }, { "docid": "6eca9419b9210f2178d234b4c3e97fb4", "score": "0.68369395", "text": "public void activateSensor(View v){\n\t\tActiveSensor = !ActiveSensor;\n\t}", "title": "" }, { "docid": "a1d9b2500b9fa5ff4a1a6cedf8f93831", "score": "0.67674947", "text": "public void manualOn() {\n for(Sensor temp : sensors)\n temp.manualMode();\n }", "title": "" }, { "docid": "209161e4d14a53760e618b34909a4937", "score": "0.6766345", "text": "void setTempSensorEnabled(boolean enabled) {\n // 1 is actually disabled here\n I2CdevWriteBit(Integer.decode(deviceAddress), RA_PWR_MGMT_1, PWR1_TEMP_DIS_BIT, !enabled);\n }", "title": "" }, { "docid": "eeac3d655c51bb55d731d32dfc350f63", "score": "0.6603111", "text": "public void allOn() {\n for(Sensor temp: sensors) {\n temp.setOn(true);\n }\n }", "title": "" }, { "docid": "bb18a2275209058ba566d0c49185f474", "score": "0.6555342", "text": "void enabledChanged(boolean enabled);", "title": "" }, { "docid": "daf3d661e848f7524329da525b2f7d6b", "score": "0.65161866", "text": "@Override\n\t\tpublic void enabled(AbstractDevice<? extends AbstractDeviceListener> device) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "4dac78d8264350e8a78e8cf71fcc04df", "score": "0.6487899", "text": "public void activateSensor(int sensor) throws RemoteException {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "02b389ccadd3520a255f85ef856c0ebd", "score": "0.6469282", "text": "public void onEnable(){}", "title": "" }, { "docid": "f39a8420d2378303f7cc2f807a79b489", "score": "0.6455028", "text": "public void enableStateChanged() {\n super.setValue(\"true\");\n }", "title": "" }, { "docid": "b1cc05018b8c822bd6620158ac0ee78e", "score": "0.6437633", "text": "private synchronized void disable() {\n /* Turn the device off to save power */\n byte reg = getEnableRegisterFromSensor();\n this.write8(Register.ENABLE, reg & ~(EnableRegister.AMS_COLOR_ENABLE_PON.byteVal | EnableRegister.AMS_COLOR_ENABLE_AEN.byteVal));\n }", "title": "" }, { "docid": "cf01edee0f8124c77281d92f767d5525", "score": "0.6410923", "text": "public void enable() {\n \n }", "title": "" }, { "docid": "0022493aff0c448a23f3fefd3d0d4c64", "score": "0.6382848", "text": "public void enable() {\n status = \"enabled\";\n }", "title": "" }, { "docid": "045f63ecbbb197da6bb3f160fe146325", "score": "0.6337471", "text": "@Override\n\tpublic void enabled(AbstractDevice<? extends AbstractDeviceListener> device) {\n\t\t\n\t}", "title": "" }, { "docid": "dc39625f0467df81a7b7b48fb864f22e", "score": "0.6301948", "text": "public void enable()\n\t{\n\t\tisEnabled = true;\n\t}", "title": "" }, { "docid": "7677b34088ea7583a76bd12114b186b8", "score": "0.6286729", "text": "public abstract void onEnable();", "title": "" }, { "docid": "7677b34088ea7583a76bd12114b186b8", "score": "0.6286729", "text": "public abstract void onEnable();", "title": "" }, { "docid": "41d120dc0ffc20e0d9109abeede6b442", "score": "0.62640435", "text": "private synchronized void enableInterrupt() {\n byte reg = getEnableRegisterFromSensor();\n this.write8(Register.ENABLE, reg | EnableRegister.AMS_COLOR_ENABLE_AIEN.byteVal);\n }", "title": "" }, { "docid": "60b682f8aef2d21cd39a07eb512d2aa5", "score": "0.62629855", "text": "private void setEnabled(boolean value) {\n \n enabled_ = value;\n }", "title": "" }, { "docid": "bf41ebed29349b5fe7ea6ae43e9def6e", "score": "0.6238934", "text": "public void enable() {\n enabled = true;\n }", "title": "" }, { "docid": "9c01404f1facbbb23be9d26503b72d12", "score": "0.6224614", "text": "public void enable() {\n isActive = true;\n }", "title": "" }, { "docid": "5c6df131fae6ac7a9bdd05cc513bc75e", "score": "0.62075764", "text": "@Override\n public void setEnabled(boolean b) {\n \n }", "title": "" }, { "docid": "48def710436dcfa0dfb6a42dd289e1e2", "score": "0.6195238", "text": "protected abstract void onEnable();", "title": "" }, { "docid": "32655bdfc43f8183ee80e8150545badf", "score": "0.6151328", "text": "private void setSensor() {\n registerReceiver(broadcastReceiver, new IntentFilter(\"condi.kr.ac.swu.condiproject.step\"));\n }", "title": "" }, { "docid": "b7c66f316f064f66c75dc6c18573aa9c", "score": "0.6145349", "text": "public void setAllStimulus(boolean enable) throws Exception;", "title": "" }, { "docid": "de21833d6dc3ad556caafaac8e937e85", "score": "0.6124787", "text": "public static void setEnabled(boolean e) {\n\tenable = e;\n }", "title": "" }, { "docid": "0fe76011f16d825fa08152c348c7cb57", "score": "0.6118746", "text": "@SuppressWarnings(\"unused\")\n\tpublic void enable()\n\t{\n\t\tmEnabled = true;\n\t}", "title": "" }, { "docid": "0d50a2d7950cae57a04fce172bfad5b3", "score": "0.6095019", "text": "private void sensor_enRead() {\n\t\tint[] result = send_read_command(regOffsetsensor_en, 1, true);\n\t\tif (result == null)\n\t\t\treturn;\n\t\tcheckBox_sensor_en.setSelection(result[0] != 0);\n\t}", "title": "" }, { "docid": "f100550127fd63709d6157bf0b1791e1", "score": "0.6090715", "text": "public void setEnable(Long Enable) {\n this.Enable = Enable;\n }", "title": "" }, { "docid": "1d67d6f26808bd719486f783efd1bf3f", "score": "0.608779", "text": "public void enableOrDisableListener(boolean state)\n {\n try\n {\n if(state == true)\n {\n client.getSensorManager().registerSkinTemperatureEventListener(mSkinTemperatureEventListener);\n }\n else\n {\n client.getSensorManager().unregisterSkinTemperatureEventListener(mSkinTemperatureEventListener);\n }\n }\n catch (Exception ex)\n {\n System.err.println(\"Failed to enable or disable SkinTemperature: \" + ex.getMessage());\n }\n }", "title": "" }, { "docid": "bf4f3ba4c00210c3d9e01fc7e42723bf", "score": "0.6085907", "text": "public void disableSensors() {\n this.mSensorManager.unregisterListener(this);\n }", "title": "" }, { "docid": "86fbc5a59efb1ce125b6a4ecb54636be", "score": "0.6083746", "text": "void setWaitForExternalSensorEnabled(boolean enabled) {\n I2CdevWriteBit(Integer.decode(deviceAddress), RA_I2C_MST_CTRL, WAIT_FOR_ES_BIT, enabled);\n }", "title": "" }, { "docid": "26d33f92aa5a7fc4fa3a2b071956d95c", "score": "0.608172", "text": "public void toggleEnable() {\r\n\t\tisEnabled = !isEnabled;\r\n\t}", "title": "" }, { "docid": "e2f1a4b14a310226975be7aae6dd04b7", "score": "0.6074815", "text": "public void setEnabled(boolean e){\r\n\t\tenabled = e;\r\n\t}", "title": "" }, { "docid": "7c637052b17f71758433f1c4ee9d7857", "score": "0.60545564", "text": "private void setEnables () {\n\t\tbuttonPanel.setEnables((dicomImage!=null),getExportEnabled(),getChangesAvailable());\n\t}", "title": "" }, { "docid": "8d593019261b065bae7f1e3498a8a776", "score": "0.60463035", "text": "public void setStandbyLedEnabled(boolean enable)\n {\n \n }", "title": "" }, { "docid": "e3057bc82aafbcb8e9397eb1ee841ee0", "score": "0.6039073", "text": "public void setEnable(Boolean Enable) {\n this.Enable = Enable;\n }", "title": "" }, { "docid": "2ecb310e7ce60de10bf47d10973eb551", "score": "0.6038894", "text": "public static void enable() {\n enabled = true;\n }", "title": "" }, { "docid": "b0e4bc29a3b5e4ae908dc0dec4bf3e80", "score": "0.6016491", "text": "@FXML\n\tprivate void checkLowIntensityThresholdFilter(){\n\t\t\n\t\tif (checkBoxLowIntensityThresholdFilter.isSelected()){\n\t\t\tsetDisableControl(controlLIT,\"enable\");\n\t\t}\n\t\t\n\t\telse\n\t\t\tsetDisableControl(controlLIT, \"disable\");\n\t}", "title": "" }, { "docid": "1517ac6c82f5839216279fe44b662f64", "score": "0.60072744", "text": "public void setEnabled(boolean value) {\r\n this.enabled = value;\r\n }", "title": "" }, { "docid": "1517ac6c82f5839216279fe44b662f64", "score": "0.60072744", "text": "public void setEnabled(boolean value) {\r\n this.enabled = value;\r\n }", "title": "" }, { "docid": "2248a93eaf571b64250f51ec9ae1272a", "score": "0.6006541", "text": "void setEnabled( boolean enabled );", "title": "" }, { "docid": "7f482c7fe01c664dae72c107bff66710", "score": "0.60054374", "text": "public void disableAllSensors() {\n \t\t// First disable access to sensors \n \t\t// by GLSurfaceView\n \t\tmGLSurfaceView.stopUseSensors();\n \n \t\tif (mUseAccelerometer)\n \t\t\tSensors.disableSensor(Sensors.SENSOR_ACCELEROMETER);\n \t\tif (mUseCompass)\n \t\t\tSensors.disableSensor(Sensors.SENSOR_COMPASS);\n \t\tif (mUseOrientation)\n \t\t\tSensors.disableSensor(Sensors.SENSOR_ORIENTATION);\n \t}", "title": "" }, { "docid": "cdc2a22eaf2483cdf1fbcddeb76e0478", "score": "0.5964139", "text": "@Override\n public void setEnabled(boolean b) {\n }", "title": "" }, { "docid": "a72fbfe382cbe3d7dff829b864504ab5", "score": "0.5963345", "text": "public void setEnable(Integer enable) {\n this.enable = enable;\n }", "title": "" }, { "docid": "d5db5aa80c2fc9cddd023f1560d69b2d", "score": "0.5955443", "text": "public void buttonEnable() {\n becher.setEnabled(true);\n wuerfeln.setEnabled(true);\n fertig.setEnabled(true);\n w1.setEnabled(true);\n w2.setEnabled(true);\n w3.setEnabled(true);\n }", "title": "" }, { "docid": "423ab68c2dabb5c24d25c08daa780fa5", "score": "0.59550095", "text": "public synchronized void enable() {\n this.write8(Register.ENABLE, EnableRegister.AMS_COLOR_ENABLE_PON.byteVal);\n delayLore(6); // Adafruit's sample implementation uses 3ms\n this.write8(Register.ENABLE, EnableRegister.AMS_COLOR_ENABLE_PON.byteVal | EnableRegister.AMS_COLOR_ENABLE_AEN.byteVal);\n }", "title": "" }, { "docid": "5f66450ae54505e7cb0f1f3d9d659c22", "score": "0.5954314", "text": "public void toggleEnabled() {\n setEnabled(!enabled);\n }", "title": "" }, { "docid": "57562d052d630c8c1ff982bebb213969", "score": "0.5941792", "text": "public void onClick(View v) {\n \t\tif ((m_blnTurnEnabled == false) && \n \t\t\t(m_blnCurveEnabled == false) &&\n \t\t\t(m_blnStopEnabled == false) && \t\t\t\n \t\t\t(m_blnBaroEnabled == false) && \n \t\t\t(m_blnWiFiEnabled == false) &&\n \t\t\t(m_blnCellEnabled == false)) {\n \t\t\t\n \t\t\tToast.makeText(getApplicationContext(), \"Please select sensor!\", Toast.LENGTH_SHORT).show();\n \t\t\treturn;\n \t\t}\n \t\t\n \t\tUpdateSensorServiceRegistration(); \t\n \t\t\n \t\tshow_map();\n \t\t\n \t}", "title": "" }, { "docid": "7984d99907e92a0b86484b8615f8d0f8", "score": "0.59292364", "text": "void setControlled(boolean enabled);", "title": "" }, { "docid": "079434bf5a67397240dd5b9093e3aeee", "score": "0.59164304", "text": "public void setSoftwareGainDataChangedTrue()\n{\n\n softwareGain.setDataChangedTrue();\n\n}", "title": "" }, { "docid": "cc97beff3e3aad05d798fbf4a823d77a", "score": "0.59154856", "text": "void setEnabled(boolean enabled);", "title": "" }, { "docid": "cc97beff3e3aad05d798fbf4a823d77a", "score": "0.59154856", "text": "void setEnabled(boolean enabled);", "title": "" }, { "docid": "cc97beff3e3aad05d798fbf4a823d77a", "score": "0.59154856", "text": "void setEnabled(boolean enabled);", "title": "" }, { "docid": "cc97beff3e3aad05d798fbf4a823d77a", "score": "0.59154856", "text": "void setEnabled(boolean enabled);", "title": "" }, { "docid": "905c3b515e90fb85be39574b773e1067", "score": "0.5907905", "text": "private void EnableAll() {\n\t\t\r\n\t\tSystem.out.println(\"Thom EnableAll\");\r\n\t\tEFullName.setClickable(true);\r\n\t\tIDn1.setClickable(true);\r\n\t\tIDn3.setClickable(true);\r\n\t\tTaxno.setClickable(true);\r\n\t\tmobile.setClickable(true);\r\n\t\tTelephone.setClickable(true);\r\n\t\tOffice.setClickable(true);\r\n\t\tidaddress1.setClickable(true);\r\n\t\tidaddress2.setClickable(true);\r\n\t\tidaddress3.setClickable(true);\r\n\t\tidaddress4.setClickable(true);\r\n\t\tidaddress5.setClickable(true);\r\n\t\tcomaddress1.setClickable(true);\r\n\t\tcomaddress2.setClickable(true);\r\n\t\tcomaddress3.setClickable(true);\r\n\t\tcomaddress4.setClickable(true);\r\n\t\tcomaddress5.setClickable(true);\r\n\t\t\r\n\t\tEFullName.setEnabled(true);\r\n\t\tIDn1.setEnabled(true);\r\n\t\tIDn3.setEnabled(true);\r\n\t\tTaxno.setEnabled(true);\r\n\t\tmobile.setEnabled(true);\r\n\t\tTelephone.setEnabled(true);\r\n\t\tOffice.setEnabled(true);\r\n\t\tidaddress1.setEnabled(true);\r\n\t\tidaddress2.setEnabled(true);\r\n\t\tidaddress3.setEnabled(true);\r\n\t\tidaddress4.setEnabled(true);\r\n\t\tidaddress5.setEnabled(true);\r\n\t\tcomaddress1.setEnabled(true);\r\n\t\tcomaddress2.setEnabled(true);\r\n\t\tcomaddress3.setEnabled(true);\r\n\t\tcomaddress4.setEnabled(true);\r\n\t\tcomaddress5.setEnabled(true);\r\n\t\t\r\n\t\tspinnerpropertyTitleType.setEnabled(true);\r\n\t\tspinnerpropertyGENDER.setEnabled(true);\r\n\t\tspinnerpropertyaddressToUse.setEnabled(true);\r\n\t\t\r\n\t\tspinnerpropertyTitleType.setClickable(true);\r\n\t\tspinnerpropertyGENDER.setClickable(true);\r\n\t\tspinnerpropertyaddressToUse.setClickable(true);\r\n\t\tbtnBackIc.setClickable(true);\r\n\t\tbtnFontIc.setClickable(true);\r\n\t\tbtnpdf1.setClickable(true);\r\n\t\tbtnpdf2.setClickable(true);\r\n\t\tbtnpdf1.setEnabled(true);\r\n\t\tbtnpdf2.setEnabled(true);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3d743e4cd0d8439969047b0114a8469e", "score": "0.58882326", "text": "boolean getSensors();", "title": "" }, { "docid": "6fbd3a86ab8f4dd9340d79d407492989", "score": "0.5884694", "text": "private synchronized void enableWaitTimer() {\n byte reg = getEnableRegisterFromSensor();\n this.write8(Register.ENABLE, (reg | EnableRegister.AMS_COLOR_ENABLE_WEN.byteVal));\n }", "title": "" }, { "docid": "d50abd85b4040ae75b44271fe88b5a97", "score": "0.5883882", "text": "public void setEnable(Integer enable) {\r\n\t\tthis.enable = enable;\r\n\t}", "title": "" }, { "docid": "f7f0519d00564ec8da238f59d5b483cb", "score": "0.58817965", "text": "public void setEnabled(boolean newVal) {\n enabled = newVal;\n refreshVisibility();\n }", "title": "" }, { "docid": "de260cb0410aa9916d7a119f6f36c412", "score": "0.58732", "text": "public void setEnable(boolean enable) {\n this.enable = enable;\n }", "title": "" }, { "docid": "6949cae8e9f4075caa8c52e32963f458", "score": "0.58588", "text": "@Override\r\n public void setEnabled(boolean b){\r\n spinner.setEnabled(b);\r\n }", "title": "" }, { "docid": "9c83fb5797b0258bc12bd053974142e2", "score": "0.58574134", "text": "public void setEnabled(boolean enabled) { this.enabled = enabled; }", "title": "" }, { "docid": "5825e9fdeefa755907a27b18c0b8ffe4", "score": "0.5847908", "text": "public void useSensorsReset() {\n \tmUseAccelerometer = false;\n \tmUseCompass = false;\n \tmUseOrientation = false;\n }", "title": "" }, { "docid": "54bd53e5f7d8673c321393971c5c767c", "score": "0.58446825", "text": "public void setEnabled(boolean enabled);", "title": "" }, { "docid": "54bd53e5f7d8673c321393971c5c767c", "score": "0.58446825", "text": "public void setEnabled(boolean enabled);", "title": "" }, { "docid": "fc21429ab2f1a3ddc8835c843fbe442a", "score": "0.58391476", "text": "void enableInput();", "title": "" }, { "docid": "50a4cb8bc915ee5dc072639ef7db9cb2", "score": "0.58214027", "text": "@Override\n\tprotected void enable() {\n\n\t}", "title": "" }, { "docid": "a3b8d0e1211bf6f6844ab9937fb74e08", "score": "0.5821068", "text": "private void startSensorListener() {\n if (!this.mSensorRegistered && this.mInjector.isInteractive(this.mContext) && this.mInjector.isBrightnessModeAutomatic(this.mContentResolver)) {\n this.mAmbientBrightnessStatsTracker.start();\n this.mSensorRegistered = true;\n Injector injector = this.mInjector;\n injector.registerSensorListener(this.mContext, this.mSensorListener, injector.getBackgroundHandler());\n }\n }", "title": "" }, { "docid": "44ff5c641bc9b073170190db8c9ac327", "score": "0.58146554", "text": "@Override\n public void onSensorChanged(SensorEvent event) {\n\n\n if (event.sensor.getType() == Sensor.TYPE_PROXIMITY) {\n if ((event.values[0] == max)&&(ctr!=0)) {\n {\n ToneGenerator t = new ToneGenerator(8, 100);\n t.startTone(3);\n\n }\n\n }\n }\n ctr++;\n }", "title": "" }, { "docid": "9b7b6d592d03d8e2f21c3d999bc7cce6", "score": "0.5807947", "text": "@Override\n\tpublic void setEnabled(boolean arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "177497285aaedd7ec1c3764b26c18b31", "score": "0.5807672", "text": "@Override\n- public void setEnabled(boolean e) {\n- log.debug(\"Setting enabled: \" + e);\n- enabled = e;\n+ public void setEnabled(boolean enabled) {\n+ log.debug(\"Setting enabled: {}\", enabled);\n+ this.enabled = enabled;\n }", "title": "" }, { "docid": "7ee13af2da56f54aec10c68b6962da3e", "score": "0.5802834", "text": "public void allFireSensorsOn(Boolean on) {\n setting = Setting.manual;\n for(Sensor temp: sensors) {\n if(temp.getClass().equals(FireSensor.class)) {\n if(on)\n temp.setOn(true);\n else\n temp.setOn(false);\n }\n\n }\n }", "title": "" }, { "docid": "b96f78e06c2375d45a08a722a8ee8642", "score": "0.5802758", "text": "public void yesConfigSensors() {\n\t\tint indexSensorType = comboTypes.getSelectedIndex();\n\t\ttry {\n\t\t\tFindSensorByConfig fs = new FindSensorByConfig(host, port);\n\t\t\tsensorsFoundList = fs.findByConfig(true);\n\n\t\t\t// if a type of sensor is selected\n\t\t\tif(indexSensorType > 0) {\n\t\t\t\tString typeSensor = typesFoundList.get(indexSensorType - 1).getType();\n\t\t\t\tList<Sensor> typeAndYes = new ArrayList<Sensor>();\n\n\t\t\t\tfor(Sensor s : sensorsFoundList) {\n\t\t\t\t\tif(s.getType().equals(typeSensor)) typeAndYes.add(s); \n\t\t\t\t}\n\n\t\t\t\tsensorsFoundList = new ArrayList();\n\t\t\t\tsensorsFoundList = typeAndYes;\t\n\n\t\t\t} \n\t\t\tSensorTableModel sensorModelRefresh = new SensorTableModel(sensorsFoundList);\n\n\t\t\tString[] sensorsComboBox = new String[sensorModelRefresh.getRowCount() + 1]; \n\t\t\tsensorsComboBox[0]= \"-- Identifiant du capteur --\";\n\n\t\t\tfor (int listIndex = 0; listIndex < sensorsFoundList.size(); listIndex++) {\n\t\t\t\tint tabIndex = listIndex + 1;\n\t\t\t\tsensorsComboBox[tabIndex] = sensorsFoundList.get(listIndex).getId() + \" \";\n\t\t\t}\n\n\t\t\tcomboSensors.removeAllItems();\n\n\t\t\tfor (int i = 0; i < sensorsComboBox.length; i++) {\n\t\t\t\tcomboSensors.addItem(sensorsComboBox[i]);\n\t\t\t}\n\n\t\t\tsensorsTable.setModel(sensorModelRefresh);\n\n\t\t} catch (JSONException | IOException | InterruptedException e2) {\n\t\t\te2.printStackTrace();\n\t\t}\n\t\tSystem.out.println(\" Refresh -- Sensors Yes config - count : \" + countSensor);\n\t}", "title": "" }, { "docid": "4834834f0b674a3c07c5282f9700eb18", "score": "0.58008116", "text": "public boolean updateSensors()\n \t{\n \t\treturn updateSensors(SENSORS_ALL);\n \t}", "title": "" }, { "docid": "54e19e3cd1fbb24dc887df851805c031", "score": "0.5795375", "text": "static public void enable(boolean b){\n BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();\n if (bluetoothAdapter == null) {\n Log.d(TAG, \"enable() - This devices does not suppport Bluetooth\");\n return;\n }\n if(b)\n bluetoothAdapter.enable();\n else\n bluetoothAdapter.disable();\n }", "title": "" }, { "docid": "7afc3f3118af18e79a74135e4d750648", "score": "0.57904375", "text": "public void setTouchStimulus(boolean enable) throws Exception;", "title": "" }, { "docid": "74a1da5d4e71c3d5740c6c2f961c87c1", "score": "0.57871264", "text": "public void setEnabled(boolean b) {\n\t}", "title": "" }, { "docid": "36d81c0d748fec4eb5fa904cbf641be5", "score": "0.5783194", "text": "public void setSoundStimulus(boolean enable) throws Exception;", "title": "" }, { "docid": "17c400d4d5d8b63ccbcc2c2ee0394b39", "score": "0.5780635", "text": "public void setDigitalOutputValue (boolean ringLightValue)\r\n{\r\n this.tempRingLight.set(ringLightValue);\r\n}", "title": "" }, { "docid": "374f9e25d4375cbb0fcbd8a41a7ad90c", "score": "0.5770945", "text": "public void setEnable(boolean enable) {\r\n\t\tthis.enable = enable;\r\n\t}", "title": "" }, { "docid": "ddc3566fbedda0f9e8a5def81ee53f46", "score": "0.57692885", "text": "public void setEnable(boolean enable)\n\t{\n\t\tthis.enable = enable;\n\t}", "title": "" }, { "docid": "020513f4e78fccad4828afcb99d71529", "score": "0.576554", "text": "public void allMotionSensorsOn(Boolean on) {\n setting = Setting.manual;\n for(Sensor temp: sensors) {\n if(temp.getClass().equals(MotionSensor.class)) {\n if(on)\n temp.setOn(true);\n else\n temp.setOn(false);\n }\n\n }\n }", "title": "" }, { "docid": "b673a3be791bad458331913aeefa48a6", "score": "0.5736095", "text": "void setInputEnabled(boolean b);", "title": "" }, { "docid": "5e117f911446758a244e83d3998f813b", "score": "0.57290065", "text": "public void setEnabled(boolean isEnabled);", "title": "" }, { "docid": "fcaa2c6edfd6085cebc1b02ed5b631d1", "score": "0.5728809", "text": "void updateTrainEnabled()\n\t{\n\t\tboolean enabled = mFiles.length > 0 &&\n\t\t\t\tmFeatures.length > 0 &&\n\t\t\t\tmSpinClassifier.getSelectedItem() != null &&\n\t\t\t\tmSpinWindowSize.getSelectedItem() != null &&\n\t\t\t\t!ClassifierService.isRunning();\n\t\t\n\t\tmBtnTrain.setEnabled(enabled);\n\t\tmBtnSaveFeatures.setEnabled(enabled);\n\t}", "title": "" }, { "docid": "a1d52f2b79b58826bfe9805d0461be94", "score": "0.57284456", "text": "private void powDataEnable() {\n \t\tgetJTextFieldPowerName().setEnabled(true);\n \t\tgetJTextFieldPowerKeywords().setEnabled(true);\n \t\tgetJTextFieldPowerAction().setEnabled(true);\n \t\tgetJTextAreaPowerDescription().setEnabled(true);\n \t\tgetJCheckBoxPowerAura().setEnabled(true);\n \t\tif (getJCheckBoxPowerAura().isSelected()) {\n \t\t\tgetJFormattedTextFieldAuraSize().setEnabled(true);\n \t\t\tgetJComboBoxPowerIcon().setEnabled(false);\n \t\t} else {\n \t\t\tgetJFormattedTextFieldAuraSize().setEnabled(false);\n \t\t\tgetJComboBoxPowerIcon().setEnabled(true);\n \t\t}\n \t}", "title": "" }, { "docid": "4bfa51c0653898b7951e9d44f81b3ce9", "score": "0.57271177", "text": "void setSlaveEnabled(int num, boolean enabled) {\n if (num > 3) {\n return;\n }\n I2CdevWriteBit(Integer.decode(deviceAddress), RA_I2C_SLV0_CTRL + num * 3, I2C_SLV_EN_BIT, enabled);\n }", "title": "" }, { "docid": "0217d8b8603f175b7676d362ee730357", "score": "0.5723248", "text": "public void enableHardware(AbstractHardware<? extends AbstractHardwareListener> hardware) {\r\n\t\tif (hardware instanceof PopCanRack) {\r\n\t\t\tint index = findHardwareIndex(hardware);\r\n\t\t\tif ((vm.getSelectionButton(index).isDisabled() == false) && (vm.isSafetyEnabled() == false))\r\n\t\t\t\tcircuitEnabled[index] = true;\r\n\t\t} else if (hardware instanceof PushButton) {\r\n\t\t\tfor (int i = 0; i < vm.getNumberOfSelectionButtons(); i++) {\r\n\t\t\t\tif (hardware == vm.getSelectionButton(i)) {\r\n\t\t\t\t\tcircuitEnabled[i] = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tC.Card.setText(\"ECO Light Off\");\r\n\t\t\tvm.getOutOfOrderLight().deactivate();\r\n\t\t\t// vm.disableSafety(); NOTE: This may result in a stack overflow exception\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "57fa7236c3ffe9607136fbb7dc323820", "score": "0.5721295", "text": "protected void setColorSensorLedEnabled(ColorSensorName sensor,\n boolean enabled) {\n ColorSensor s = allColorSensors.get(sensor.ordinal());\n if (s == null) {\n telemetry.addData(\"Color Sensor Missing\", sensor.name());\n } else {\n s.enableLed(enabled);\n }\n }", "title": "" }, { "docid": "44ce36dc28672243563d9fa21eccc18e", "score": "0.57043374", "text": "public void setEnable(Boolean enable) {\n\t\tthis.enable = enable;\n\t}", "title": "" }, { "docid": "0966eee0829f6616d42ea0b73c58c206", "score": "0.57030976", "text": "@Override\n\tpublic void bleEnabling() {\n\t\tnotifyUIStatus();\n\t}", "title": "" }, { "docid": "cd8baf78523f6b533d111a7b328a05e1", "score": "0.5699108", "text": "void switchSPIEnabled(boolean enabled) {\n I2CdevWriteBit(Integer.decode(deviceAddress), RA_USER_CTRL, USERCTRL_I2C_IF_DIS_BIT, enabled);\n }", "title": "" }, { "docid": "4e279e319c8825d55b25cca3ae92bcff", "score": "0.5698419", "text": "private synchronized byte getEnableRegisterFromSensor() {\n byte reg = colorSensorClient.read8(Register.ENABLE.byteVal);\n return reg;\n }", "title": "" }, { "docid": "df7bdc4743699eea219dc98b415b29c0", "score": "0.5697484", "text": "public void lightToggle() {\n\t\ttry {\n\t\t\tif (light) { // light is currently on\n\t\t\t\tProcessBuilder pb = new ProcessBuilder(\"/home/pi/arm_driver\", \"00\", \"00\", \"00\");\n\t\t\t\tpb.start();\n\t\t\t\tlight = false;\n\t\t\t} else { // light is currently off\n\t\t\t\tProcessBuilder pb = new ProcessBuilder(\"/home/pi/arm_driver\", \"00\", \"00\", \"01\");\n\t\t\t\tpb.start();\n\t\t\t\tlight = true;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "title": "" }, { "docid": "57acf62528c3495d0236a6fe111131a8", "score": "0.5689844", "text": "public void changeShield() { shield = false; }", "title": "" }, { "docid": "ff02f896814cf0318a316228dc3255a8", "score": "0.56894845", "text": "void doDisable() {\n synchronized (this.mLock) {\n if (this.mSensor == null) {\n Slog.w(TAG, \"Cannot detect sensors. Invalid disable\");\n } else if (this.mEnabled) {\n if (LOG) {\n Slog.d(TAG, \"WindowOrientationListener disabled\");\n }\n this.mSensorManager.unregisterListener(this.mOrientationJudge);\n this.mEnabled = false;\n }\n }\n }", "title": "" }, { "docid": "5afa2e584ad3968b870becda993cbf20", "score": "0.5681537", "text": "public void setStickerEnable(boolean isEnable) {\n if(mStickerCtrl != null)\n mStickerCtrl.setEditable(isEnable);\n }", "title": "" } ]
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "9ecdb494e679461c06d04106d6ded40f", "score": "0.0", "text": "public static String m3275b(String str) {\n try {\n MessageDigest instance = MessageDigest.getInstance(\"MD5\");\n instance.reset();\n instance.update(str.getBytes(\"UTF-8\"));\n return C0960y.m3274a(instance.digest());\n } catch (Throwable e) {\n StringBuilder stringBuilder = new StringBuilder(\"Error turning \");\n stringBuilder.append(str.substring(0, 6));\n stringBuilder.append(\".. to MD5\");\n AFLogger.m3073a(stringBuilder.toString(), e);\n return null;\n }\n }", "title": "" } ]
[ { "docid": "fbc6b424b70fd0ccc67e13a9f350dc43", "score": "0.6477578", "text": "public abstract a b(b bVar);", "title": "" }, { "docid": "7c7c2a4f2eea5bd9b0cfc4a996b83139", "score": "0.6414758", "text": "@Override\r\n\t\tpublic void operatorB() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "4c776eb079a69c50e8938a320297c897", "score": "0.6366069", "text": "public abstract void mo9840a(Object obj, B b);", "title": "" }, { "docid": "8dd3c70589b8c7b58427942567d5a67e", "score": "0.61942065", "text": "@Override\n\tpublic void b() {\n\n\t}", "title": "" }, { "docid": "7e073a72bc9231990778cd5dc6082867", "score": "0.61348957", "text": "public aqf b()\r\n/* 26: */ {\r\n/* 27:83 */ return this.a;\r\n/* 28: */ }", "title": "" }, { "docid": "0cb3dcd83c67b149dc2b098e8849e619", "score": "0.6106793", "text": "@Override\r\n\tpublic void b() {\n\r\n\t}", "title": "" }, { "docid": "2887cec7a087ca6e87535fabee2839ab", "score": "0.6058358", "text": "public abstract bb mo1443a();", "title": "" }, { "docid": "3ade5ecc125a3abe23f8d0d565f5f87d", "score": "0.6029703", "text": "public B(A a){\n this.a = a;\n }", "title": "" }, { "docid": "80c2764e00b7106c89304582ec5f8129", "score": "0.6018348", "text": "public interface C1646b {\n /* renamed from: a */\n void mo7387a();\n }", "title": "" }, { "docid": "3fc8219949d8cb85c4d6f8a17c5d0ef7", "score": "0.5965811", "text": "public interface C28498a {\n /* renamed from: a */\n void mo24465a(C43302b c43302b);\n }", "title": "" }, { "docid": "6d315193bbc6bce64d9dc890514747e8", "score": "0.5942493", "text": "public void a(b paramb) {\n }", "title": "" }, { "docid": "df7c8362463fa43321bb2f562926899a", "score": "0.5929825", "text": "public aji b()\n/* */ {\n/* 30 */ return this.a;\n/* */ }", "title": "" }, { "docid": "23b8d626fa6068452b9b35a37eb12727", "score": "0.5846995", "text": "public abstract void b(com.appnext.base.a.b.c cVar, long j, long j2);", "title": "" }, { "docid": "2e217eb6c24826ff739718ac4dbcdb72", "score": "0.58296865", "text": "public BlockPosition b()\r\n/* 17: */ {\r\n/* 18:24 */ return new BlockPosition(this.a);\r\n/* 19: */ }", "title": "" }, { "docid": "20c79fbe10669b2bfb5c1302e4e6f4c0", "score": "0.5808552", "text": "public void b() {\n while (this.c.size() < 2 && !this.b.isEmpty()) {\n c cVar = (c) this.b.removeFirst();\n String str = cVar.b;\n h hVar = new h();\n hVar.a(new b(this, str));\n this.c.put(str, hVar);\n hVar.a(str, cVar.c, cVar.d, cVar.e);\n }\n }", "title": "" }, { "docid": "68297282b4b63cb4680db45240992e09", "score": "0.5779036", "text": "public abstract Object mo6333a(bs bsVar);", "title": "" }, { "docid": "624df7d2e9077d437566b59e2e6ce6b2", "score": "0.57748914", "text": "void mapBtoA(B b, A a, MappingContext context);", "title": "" }, { "docid": "ad864a9bb20e2446a6811cf46ce8b07d", "score": "0.57642865", "text": "private static void transponse(Board b) {\n\t\t\n\t\tfor (byte i = 1; i < b.SIZE; i++) {\n\t\t\tfor (byte j = 0; j < i; j++) {\n\t\t\t\tCell c1 = b.getCellAt(i, j);\n\t\t\t\tCell c2 = b.getCellAt(j, i);\n\t\t\t\t\n\t\t\t\tbyte c1Value = c1.getValue();\n\t\t\t\tbyte c2Value = c2.getValue();\n\t\t\t\t\n\t\t\t\tif (c1Value == 0) {\n\t\t\t\t\tc2.removeValue();\n\t\t\t\t} else {\n\t\t\t\t\tc2.setValue(c1Value);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (c2Value == 0) {\n\t\t\t\t\tc1.removeValue();\n\t\t\t\t} else {\n\t\t\t\t\tc1.setValue(c2Value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f138054d94a06bdd61ce75ffdb850a95", "score": "0.57561195", "text": "public abstract void b();", "title": "" }, { "docid": "c1bceb1c6ed94e4d40d902a711d244d9", "score": "0.5745965", "text": "void mo27462b(int i, int i2, btd btd);", "title": "" }, { "docid": "c59f8b6680cbc52df7763f53340bdfa8", "score": "0.5720684", "text": "public abstract void mo2512a(bxa bxa);", "title": "" }, { "docid": "a01b24f097b70f8e60f58d6d2bd1cf63", "score": "0.5705893", "text": "protected interface C3710d {\n /* renamed from: a */\n void mo55094a();\n\n /* renamed from: b */\n void mo55095b();\n }", "title": "" }, { "docid": "3ef4dc9a6e220a91fb84838ff25e1ba3", "score": "0.56912756", "text": "public bl a() {\n }", "title": "" }, { "docid": "609d59eb48a7ac262fcbf920909d7182", "score": "0.5673279", "text": "public abstract B mo9837a();", "title": "" }, { "docid": "13d08daf657b1206c3515ded17189dd1", "score": "0.56651497", "text": "public void b(aqu paramaqu, bfh parambfh) {}", "title": "" }, { "docid": "a001703ba442ffe27d4ac5f4d39c191b", "score": "0.5664208", "text": "public interface C31667j {\n /* renamed from: b */\n C46865e mo51647b(C44635g c44635g);\n}", "title": "" }, { "docid": "bbb3cc60cab5258a2c093f874d2f6ebb", "score": "0.56615704", "text": "java.lang.String getB();", "title": "" }, { "docid": "8c219a316a1e1b84cd78c4fdfc1da3ac", "score": "0.56607735", "text": "B(int a, int b) {\n super.i = a; // i in A\n i = b; // i in B\n }", "title": "" }, { "docid": "ff76e2949650b161bb3762647874d7fb", "score": "0.56579983", "text": "public c b() {\n return a(this.a);\n }", "title": "" }, { "docid": "fd707275ed629b4a3e85b47ec106a61c", "score": "0.564804", "text": "public interface C35974b {\n\n /* renamed from: com.tencent.mm.sandbox.b$a */\n public interface C30268a extends C15410a {\n /* renamed from: b */\n void mo27462b(int i, int i2, btd btd);\n\n /* renamed from: dN */\n void mo27463dN(int i, int i2);\n }\n\n /* renamed from: a */\n void mo56706a(C30268a c30268a);\n\n void cancel();\n}", "title": "" }, { "docid": "457a46484c799a53de2f036a3bb5a748", "score": "0.56475794", "text": "@Override // androidx.lifecycle.LiveData.AbstractC0470b\n /* renamed from: b */\n public void mo6994b() {\n this.f2955a.getLifecycle().mo7024b(this);\n }", "title": "" }, { "docid": "fadbbc1289577649a6e73509f7e3ae45", "score": "0.56466293", "text": "interface C1093a {\n /* renamed from: a */\n void mo12033a(C1095aw c1095aw);\n\n /* renamed from: b */\n void mo12034b(C1095aw c1095aw);\n }", "title": "" }, { "docid": "15dfa266e9eaa8e3ff1963a30d39148c", "score": "0.56428915", "text": "public abstract B _2();", "title": "" }, { "docid": "0706dec40d3f409198c9103fac322d69", "score": "0.5634998", "text": "void mo10239a(bae bae);", "title": "" }, { "docid": "cdc5bff52f226c967295808247117038", "score": "0.5618666", "text": "public interface AbstractC2792b<T> {\n /* renamed from: a */\n void mo21899a(T t);\n }", "title": "" }, { "docid": "59339461a5ee023d475329af2aed0ee6", "score": "0.5602888", "text": "public interface C2312b {\n /* renamed from: a */\n void mo16868a();\n\n /* renamed from: b */\n void mo16869b(int i);\n }", "title": "" }, { "docid": "89dd6c791c135f33d30187b0a36902d3", "score": "0.56003016", "text": "public b() {\n }", "title": "" }, { "docid": "33adeb8050c52c654afc0e6b8ad67b44", "score": "0.55937684", "text": "@Override\n\tpublic void metodoB2() {\n\t\t\n\t}", "title": "" }, { "docid": "aa2661ab11c416a15c07730969505a17", "score": "0.55877554", "text": "public b(a aVar) {\n super(1);\n this.a = aVar;\n }", "title": "" }, { "docid": "7f734a097a1e2aa3a36885d92bbca02c", "score": "0.5583501", "text": "public synchronized void b(String str) {\n g.a().a(str);\n }", "title": "" }, { "docid": "a22133a974b151b190c6e5ec26f91a03", "score": "0.5572863", "text": "public b(int i) {\n super(0);\n this.a = i;\n }", "title": "" }, { "docid": "6780242f080b7a5592b821fdbe1bd105", "score": "0.55677104", "text": "public interface C6296b {\n /* renamed from: a */\n void mo18911a();\n }", "title": "" }, { "docid": "dbf5aeb06376e6264faca5c0874fdf08", "score": "0.55666417", "text": "public interface C30268a extends C15410a {\n /* renamed from: b */\n void mo27462b(int i, int i2, btd btd);\n\n /* renamed from: dN */\n void mo27463dN(int i, int i2);\n }", "title": "" }, { "docid": "ac8e2335003bd27ea2adc5e1472ea3b7", "score": "0.55660194", "text": "public void b(eb parameb) {\n this.a = new hl[37];\r\n this.b = new hl[4];\r\n this.c = new hl[4];\r\n for (int i = 0; i < parameb.b(); i++) {\r\n v localv = (v) parameb.a(i);\r\n int j = localv.b(\"Slot\") & 0xFF;\r\n \t// hMod: a.length has one extra slot for the hand item\r\n if ((j >= 0) && (j < this.a.length-1)) {\r\n this.a[j] = new hl(localv);\r\n }\r\n if ((j >= 80) && (j < this.c.length + 80)) {\r\n this.c[(j - 80)] = new hl(localv);\r\n }\r\n if ((j < 100) || (j >= this.b.length + 100)) {\r\n continue;\r\n }\r\n this.b[(j - 100)] = new hl(localv);\r\n }\r\n }", "title": "" }, { "docid": "ce6b8d06cddbca8d13f1432e3a96cfb2", "score": "0.5564845", "text": "public Map<String,Map<String,String>> b()\r\n/* 26: */ {\r\n/* 27: 39 */ return this.b;\r\n/* 28: */ }", "title": "" }, { "docid": "a9be6bd67e0fd45735d39a73d7bbc856", "score": "0.5563475", "text": "public interface AbstractC6418b {\n /* renamed from: a */\n void mo42214a(int i, byte[] bArr);\n\n /* renamed from: a */\n void mo42215a(String str);\n}", "title": "" }, { "docid": "f1af8a71b7cff8da4c0e8261e9c46b14", "score": "0.55623966", "text": "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 524: */ {\r\n/* 525:493 */ this.O.b(paramaqu, paramdt, this.P);\r\n/* 526: */ }", "title": "" }, { "docid": "450c97062e3f4e9afeabf637ea093479", "score": "0.5561364", "text": "public void setB(U b) {\n this.b = b;\n }", "title": "" }, { "docid": "57a3cb66a80419dfeabc2357fe3040f2", "score": "0.55595934", "text": "public abstract B mo9838a(Object obj);", "title": "" }, { "docid": "ebdc07e46275311c3e5eb8e619b55b29", "score": "0.5558481", "text": "protected byte[] b() {\n/* 207 */ return this.b.toByteArray();\n/* */ }", "title": "" }, { "docid": "5931f2bb47fc57cba923e6c76d592b78", "score": "0.5557659", "text": "void mapAtoB(A a, B b, MappingContext context);", "title": "" }, { "docid": "2e3ddbf34dc8d2c1b6a07c22db4af13b", "score": "0.5556114", "text": "public interface C30988a {\n /* renamed from: a */\n void mo50166a();\n\n /* renamed from: b */\n void mo50167b();\n }", "title": "" }, { "docid": "1e8de7a75c9dd567bcc7f9529935426a", "score": "0.5550179", "text": "public void setB(Node b)\r\n {\r\n this.b = b;\r\n }", "title": "" }, { "docid": "77b7538bea9806ffc1c177cc1d29792a", "score": "0.5538267", "text": "@Override\n\tpublic void metodoB1() {\n\t\t\n\t}", "title": "" }, { "docid": "7aad441779a253c3ae0b86165b886e8b", "score": "0.5536854", "text": "public abstract void b(com.appnext.base.a.b.c cVar);", "title": "" }, { "docid": "d26067cb6851e275c045ee5516c804c2", "score": "0.5534629", "text": "public String facade(String b){\n final String s = stub.subString(b);;\n return s + \"hahaha\";\n }", "title": "" }, { "docid": "e7f128ad6d665a130ebfa5a40bf7a2c1", "score": "0.5514255", "text": "void m6791a(bb bbVar);", "title": "" }, { "docid": "561e1ad2be3078ec8b0e2ca7a4d4d261", "score": "0.5499283", "text": "A(A a){\n this.a = a.a;\n this.b = a.b;\n }", "title": "" }, { "docid": "393199fe6cb56e4224e145397d7e6174", "score": "0.5490671", "text": "public int c(bec parambec)\r\n/* 205: */ {\r\n/* 206:229 */ return a((el)parambec.b(a));\r\n/* 207: */ }", "title": "" }, { "docid": "31fa0215bb88d39d06d429829e5f978a", "score": "0.54881", "text": "public abstract void mo9839a(B b, int i, C3635j jVar);", "title": "" }, { "docid": "978854bb59a32429f3e58bce3001fae4", "score": "0.547868", "text": "@Test\n void nodeTransferStringB() {\n Node s0 = new Node(0);\n Node s1 = new Node(1);\n Node s2 = new Node(2);\n s0.setNodeA(s2);\n s0.setNodeB(s1);\n String s = \"B\";\n assertEquals(s1, s0.nodeTransferString(s));\n }", "title": "" }, { "docid": "8be10766c9df98ec69ea1b6a5bcf67ca", "score": "0.5471278", "text": "@Override\n\t\t\t\t\tpublic void mapAtoB(Coordinate a, my.mimos.misos.domain.geo.Coordinate b, MappingContext context) {\n\t\t\t\t\t\tb.setLongitude(a.x);\n\t\t\t\t\t\tb.setLatitude(a.y);\n\t\t\t\t\t}", "title": "" }, { "docid": "07dbb6a44715d55aa48c15dfb6597742", "score": "0.54663503", "text": "public eb a(eb parameb) {\n for (int i = 0; i < this.a.length-1; i++) {\r\n if (this.a[i] != null) {\r\n v localv = new v();\r\n localv.a(\"Slot\", (byte) i);\r\n this.a[i].a(localv);\r\n parameb.a(localv);\r\n }\r\n }\r\n for (int i = 0; i < this.b.length; i++) {\r\n if (this.b[i] != null) {\r\n v localv = new v();\r\n localv.a(\"Slot\", (byte) (i + 100));\r\n this.b[i].a(localv);\r\n parameb.a(localv);\r\n }\r\n }\r\n for (int i = 0; i < this.c.length; i++) {\r\n if (this.c[i] != null) {\r\n v localv = new v();\r\n localv.a(\"Slot\", (byte) (i + 80));\r\n this.c[i].a(localv);\r\n parameb.a(localv);\r\n }\r\n }\r\n return parameb;\r\n }", "title": "" }, { "docid": "cb4667342ed3c90b2b268f1543e7ff18", "score": "0.5462162", "text": "void mo41436b();", "title": "" }, { "docid": "1d41b7d58a504d86ced1514dedbbb8a3", "score": "0.54543644", "text": "public abstract void b(Object obj);", "title": "" }, { "docid": "24a808e2675643fd705ff603300c0214", "score": "0.5451373", "text": "public interface C2480fn {\n /* renamed from: b */\n C2473fj mo28383b();\n}", "title": "" }, { "docid": "5bf231d9a45b774818c4552f96687c2f", "score": "0.5449144", "text": "public void setB ( Point b ) {\r\n\r\n\tthis.b = new Point(b);\r\n }", "title": "" }, { "docid": "fb4d8f528df85325fa0b7cb19a7f25cc", "score": "0.54455066", "text": "public abstract C mo30902b(C c);", "title": "" }, { "docid": "31b5bed7d43c1a8b773794b91ade68d9", "score": "0.54420924", "text": "<T> void b(n<T> n2) {\n List<b> list;\n Set<n<?>> set;\n Set<n<?>> set2 = set = this.b;\n synchronized (set2) {\n this.b.remove(n2);\n }\n List<b> list2 = list = this.j;\n synchronized (list2) {\n Iterator iterator = this.j.iterator();\n while (iterator.hasNext()) {\n ((b)iterator.next()).a(n2);\n }\n return;\n }\n }", "title": "" }, { "docid": "e6f98abf447e8b12758843d48c747b22", "score": "0.5428528", "text": "interface C0216c {\n /* renamed from: a */\n void mo659a();\n\n /* renamed from: b */\n void mo660b();\n }", "title": "" }, { "docid": "a0c1c9491d4eec48e2badd3d6a63082b", "score": "0.54182714", "text": "public void setB(B b) {\n\t\tthis.b = b;\n\t}", "title": "" }, { "docid": "052c09f87c0a8798293391abca6540c3", "score": "0.5414232", "text": "public interface k extends b {\n}", "title": "" }, { "docid": "5974068131d27ffa2aea0b216f243d51", "score": "0.5412316", "text": "<T extends bb> T m6796d();", "title": "" }, { "docid": "cb006ac6768ea987104805c5f03bfba2", "score": "0.5411491", "text": "public interface C2400b {\n /* renamed from: a */\n void mo28251a(int i);\n }", "title": "" }, { "docid": "8c8e612f5bd3208c3ddf938c74bc9603", "score": "0.540632", "text": "public void b(World paramaqu, BlockPosition paramdt, Block parambec, Random paramRandom)\r\n/* 534: */ {\r\n/* 535:508 */ this.O.b(paramaqu, paramdt, parambec, paramRandom);\r\n/* 536: */ }", "title": "" }, { "docid": "a6703bd9e3db8f12972fb14db6db92f5", "score": "0.5406106", "text": "public final synchronized void b(java.lang.String str) {\n defpackage.cyu cyu = new defpackage.cyu();\n a(this.a, cyu);\n cyu.a(new defpackage.ann(this, str), this.b);\n }", "title": "" }, { "docid": "8416ad04d3bdcb567fb88ad5c38ad8e2", "score": "0.54038644", "text": "public abstract void a(com.appnext.base.a.b.c cVar, long j, long j2);", "title": "" }, { "docid": "e550da2baa9a755e7ae55fadf0e69d1a", "score": "0.539942", "text": "public void func2() {\n\t\ty = a; //B2\n\t\tb = 2; //B1\n\t}", "title": "" }, { "docid": "9b5bfb6ffae4959021808657c0e656e2", "score": "0.53991", "text": "private void a(Handler handler, b b1)\n\t{\n\tclass b {}\n\n\t\thandler.sendMessageDelayed(Message.obtain(handler, 1101, ((Object) (b1))), b1.a);\n\t// 0 0:aload_1 \n\t// 1 1:aload_1 \n\t// 2 2:sipush 1101\n\t// 3 5:aload_2 \n\t// 4 6:invokestatic #98 <Method Message Message.obtain(Handler, int, Object)>\n\t// 5 9:aload_2 \n\t// 6 10:getfield #100 <Field int ebd$b.a>\n\t// 7 13:i2l \n\t// 8 14:invokevirtual #106 <Method boolean Handler.sendMessageDelayed(Message, long)>\n\t// 9 17:pop \n\t\tif(b1.g != null)\n\t//* 10 18:aload_2 \n\t//* 11 19:getfield #110 <Field ebe ebd$b.g>\n\t//* 12 22:ifnull 38\n\t\t\tb1.g.c(b1.e);\n\t// 13 25:aload_2 \n\t// 14 26:getfield #110 <Field ebe ebd$b.g>\n\t// 15 29:aload_2 \n\t// 16 30:getfield #112 <Field int ebd$b.e>\n\t// 17 33:invokeinterface #117 <Method void ebe.c(int)>\n\t// 18 38:return \n\t}", "title": "" }, { "docid": "6b3413dba29af30f31a85f88bda096b0", "score": "0.5391879", "text": "public interface C1402b {\n /* renamed from: a */\n boolean mo3768a();\n\n /* renamed from: b */\n int mo3769b();\n}", "title": "" }, { "docid": "11693de8dc914588f8b84cd2b5a385b1", "score": "0.53865206", "text": "public ayy()\r\n/* 9: */ {\r\n/* 10: 31 */ super(bof.E, false);\r\n/* 11: 32 */ j(this.L.b().a(a, el.a));\r\n/* 12: 33 */ a(true);\r\n/* 13: */ }", "title": "" }, { "docid": "a11a7f972504b3a75987b95f5e0b58ca", "score": "0.538624", "text": "public interface C11756b {\n /* renamed from: a */\n void mo40256a(int i);\n\n /* renamed from: b */\n void mo40257b(int i);\n}", "title": "" }, { "docid": "c1af51d94a20ff56e5bbceb7d9bcf0a1", "score": "0.53778225", "text": "public final aa b() {\n return f4050a.zzp(\"\", v.zzf(this.f4051b), \"*\");\n }", "title": "" }, { "docid": "ebeb22ea7b9482ff89ca2a9141528320", "score": "0.53775364", "text": "protected bed e()\r\n/* 210: */ {\r\n/* 211:234 */ return new bed(this, new bex[] { a });\r\n/* 212: */ }", "title": "" }, { "docid": "1b735c252ab1c3029581e6b60a1eaaec", "score": "0.537525", "text": "private static void m12259b(Packet<byte[]> aVar, AbstractC2792b<byte[]> bVar) {\n byte[] bArr = (byte[]) aVar.f11417b;\n byte[] bArr2 = new byte[(bArr.length + 1)];\n bArr2[0] = f11419b.get(aVar.f11416a).byteValue();\n System.arraycopy(bArr, 0, bArr2, 1, bArr.length);\n bVar.mo21899a(bArr2);\n }", "title": "" }, { "docid": "6d15a8cdf08236e925ef3dfc4e1514eb", "score": "0.53729886", "text": "public void d()\r\n/* 36: */ {\r\n/* 37: 47 */ int i = 0;\r\n/* 38: 49 */ for (biw localbiw : this.a)\r\n/* 39: */ {\r\n/* 40: 50 */ localbiw.b(i);\r\n/* 41: 51 */ i += localbiw.b();\r\n/* 42: */ }\r\n/* 43: */ }", "title": "" }, { "docid": "591e1fe15740874f3e5436fc5a378605", "score": "0.536933", "text": "private Pair(A a, B b) {\n\t\tthis.a = a;\n\t\tthis.b = b;\n\t}", "title": "" }, { "docid": "7ef757054811694766d835b8e6de1619", "score": "0.5355951", "text": "public q b() {\n return a(this.a, this.b);\n }", "title": "" }, { "docid": "9f48728c71c479e7c8162d75ccb161a3", "score": "0.5350861", "text": "public interface C16179d {\n /* renamed from: a */\n void mo29055a();\n }", "title": "" }, { "docid": "2c364ee7642003fd77bf84d7872d9303", "score": "0.53507763", "text": "public interface b {\n void a();\n }", "title": "" }, { "docid": "8f27066e4c732d9cd8d601bd64b71113", "score": "0.53433436", "text": "private void putInStack(Ballot b)\n\t{\n\t\tSystem.out.println(\"Moving ballot: \" + b);\n\t\toutputFile.println(\"Moving ballot: \" + b);\n\t\tif (b.isEmpty())\n\t\t\texhausted.addBallot(b);\n\t\telse\n\t\t{\n\t\t\tString topName = b.getRank(0);\n\t\t\tstacks.get(getStack(topName)).addBallot(b);\n\t\t}\n\t}", "title": "" }, { "docid": "df87de73b1097c5e83ea3858240ce607", "score": "0.53401583", "text": "public interface C0675b {\n /* renamed from: a */\n void mo3853a(C0857b bVar);\n\n /* renamed from: b */\n void mo3854b(C0857b bVar);\n\n /* renamed from: c */\n C0857b mo3855c();\n\n /* renamed from: t */\n void mo3856t();\n}", "title": "" }, { "docid": "58bcd4533780285ddbab36c46843f166", "score": "0.5334397", "text": "public void copyFrom(Board b) {\r\n\t\tcopyFrom(b, 0);\r\n\t}", "title": "" }, { "docid": "7ad31cdd5da54486bc8c867307235538", "score": "0.53211594", "text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn \"B\" + super.toString();\r\n\t}", "title": "" }, { "docid": "587aba1e65fb725e4b5bd254f4e9232b", "score": "0.5318991", "text": "void mo24465a(C43302b c43302b);", "title": "" }, { "docid": "da47489370ffccffb80f19694e3e47fa", "score": "0.53180826", "text": "private void join(BSTNode<T> a, BSTNode<T> b) {\n // put b in A's next\n a.right = b;\n // put A in B's previous\n b.left = a;\n }", "title": "" }, { "docid": "363ea75cb563cc683421726d1ad33dba", "score": "0.5317308", "text": "public static String removeBduplicateA(String s) {\n ArrayList<Character> ns = new ArrayList<>();\n for (int i = 0; i < s.length(); ++i) {\n if (s.charAt(i) == 'b')\n continue;\n else if (s.charAt(i) == 'a') {\n ns.add('a');\n ns.add('a');\n continue;\n }\n\n ns.add(s.charAt(i));\n }\n\n StringBuilder sb = new StringBuilder();\n for (char c : ns) {\n sb.append(c);\n }\n\n return sb.toString();\n }", "title": "" }, { "docid": "9746fb463fe24502dad46e6f21b602ea", "score": "0.53168726", "text": "interface C9801x1 {\n /* renamed from: a */\n void mo25252a(BasePendingResult<?> basePendingResult);\n}", "title": "" }, { "docid": "1d02b7c52a42f48f1c78c30ae8a48dd1", "score": "0.5315426", "text": "@Override\r\n\tvoid ab(int a) {\n\t\t\r\n\t}", "title": "" }, { "docid": "4cbc117d62f187ba311e5062a013a222", "score": "0.5315346", "text": "@Override\n public final void b(adu adu2) {\n boolean bl2;\n int n;\n if (adu2 == null) {\n bl2 = false;\n n = 0;\n } else {\n List list = adu2.a().a();\n int n2 = list.size();\n n = 0;\n for (int i = 0; i < n2; ++i) {\n String string = (String)list.get(i);\n int n3 = string.equals((Object)\"android.media.intent.category.LIVE_AUDIO\") ? n | 1 : (string.equals((Object)\"android.media.intent.category.LIVE_VIDEO\") ? n | 2 : 8388608 | n);\n n = n3;\n }\n bl2 = adu2.b();\n }\n if (this.k != n || this.l != bl2) {\n this.k = n;\n this.l = bl2;\n this.b();\n super.e();\n }\n }", "title": "" }, { "docid": "b127e5bdf2abb77458eb4f70774a74a4", "score": "0.5312941", "text": "protected boolean a(axy ☃, el el1, blc blc1) {\r\n/* 74 */ eq eq = ((eq)blc1.c(b)).d();\r\n/* */ \r\n/* 76 */ return ☃.b(el1.a(eq), eq);\r\n/* */ }", "title": "" } ]
97b7599af1359b905047ef03247ba096
/ Returns amount of methods.
[ { "docid": "13f5cfb3f819fc54e0cfb1972790c8ca", "score": "0.67257696", "text": "@Override\n public int getMethodCount()\n {\n return 0;\n }", "title": "" } ]
[ { "docid": "5969ea9d4de8844900938430b85ad414", "score": "0.8878263", "text": "int getMethodsCount();", "title": "" }, { "docid": "1bc68a6308c1697502d8fa041c62d749", "score": "0.8382373", "text": "int getMethodCount();", "title": "" }, { "docid": "263d3f99a158b972eb1a8e5caa8b1942", "score": "0.82623166", "text": "public int getMethodsCount() {\n return methods_.size();\n }", "title": "" }, { "docid": "b2083be788369400db896a4064fc642c", "score": "0.8223825", "text": "public int getMethodsCount() {\n return methods_.size();\n }", "title": "" }, { "docid": "d830a49d1890763d2d8869130d056f2b", "score": "0.80626136", "text": "public int getMethodsCount() {\n return methods_.size();\n }", "title": "" }, { "docid": "21ab7976cac990e881ad20225acda904", "score": "0.79956186", "text": "public int getMethodsCount() {\n if (methodsBuilder_ == null) {\n return methods_.size();\n } else {\n return methodsBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "d5bcc6d7e3babec078f6897aed476d3d", "score": "0.7888489", "text": "public int getMethodCount() {\n return method_.size();\n }", "title": "" }, { "docid": "f7433c4d350c3366cbf30322c6ae60ff", "score": "0.78347534", "text": "public int getMethodCount() {\n\t\treturn method_.size();\n\t}", "title": "" }, { "docid": "183fcf952ba8c764ae21c5e4acaf848c", "score": "0.75570285", "text": "public int getMethodCount() {\n\t\t\tif (methodBuilder_ == null) {\n\t\t\t\treturn method_.size();\n\t\t\t} else {\n\t\t\t\treturn methodBuilder_.getCount();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "78aa8433644172bf0104c68968482734", "score": "0.75419813", "text": "public int getMethodCount() {\n if (methodBuilder_ == null) {\n return method_.size();\n } else {\n return methodBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "d980d1936c162a3393602436d2319518", "score": "0.7286764", "text": "int getCallsCount();", "title": "" }, { "docid": "405cf85a321e6883f2d46a105287b56a", "score": "0.72061163", "text": "public int memberCount();", "title": "" }, { "docid": "74de052c90d9e23082ff1d5d14a14f04", "score": "0.7175086", "text": "int totalCount();", "title": "" }, { "docid": "73318ba07d98bf1b51fa1d6d2f461bcf", "score": "0.71571004", "text": "public int getCalledCount()\n {\n return called;\n }", "title": "" }, { "docid": "4b2fd89b0be52c641c09c625f4f8ba42", "score": "0.70795333", "text": "int getUsageCount();", "title": "" }, { "docid": "799276110cc9fd93d53b704be8812f55", "score": "0.697252", "text": "public Integer getInvocationCount() {\n return invocationCount;\n }", "title": "" }, { "docid": "1c188eeda52b23c644cb29c817f71be0", "score": "0.69580424", "text": "public int count();", "title": "" }, { "docid": "7ebb51b57d85f9a4173a92613faa01cf", "score": "0.6926164", "text": "int getStatsCount();", "title": "" }, { "docid": "8535d7787cad5483c9c9a5411233d69a", "score": "0.6918073", "text": "public int noOfObjects();", "title": "" }, { "docid": "102d175907aeba128077dbe31ceee4f9", "score": "0.6870611", "text": "int getOperationsCount();", "title": "" }, { "docid": "102d175907aeba128077dbe31ceee4f9", "score": "0.6870611", "text": "int getOperationsCount();", "title": "" }, { "docid": "102d175907aeba128077dbe31ceee4f9", "score": "0.6870611", "text": "int getOperationsCount();", "title": "" }, { "docid": "500478e70d9c91f5e024666d3fc61754", "score": "0.6863305", "text": "public int getAllCount();", "title": "" }, { "docid": "0bd20fbb2cc16fbe6149d5015201761d", "score": "0.68396163", "text": "@Override\r\n\tpublic int counts() {\n\t\treturn super.count();\r\n\t}", "title": "" }, { "docid": "2d55e974f3d51f2e15092a002fe42d67", "score": "0.68332016", "text": "int getPaymentMethodCount();", "title": "" }, { "docid": "9483ccc0c640a26c0c0b9beac0bc29d7", "score": "0.68215376", "text": "int getTraceCount();", "title": "" }, { "docid": "4403490f84252c9b1f98a1291509343b", "score": "0.6785897", "text": "public static int count() {\n return count;\n }", "title": "" }, { "docid": "9d4a73df8d0ef99827540a4d0dee2e93", "score": "0.6779886", "text": "public int count() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "16883cfb37c520b3a60e9b40a67bd6bd", "score": "0.67420346", "text": "public long getTotalCalls();", "title": "" }, { "docid": "0aa5b1f464c77fd11574049aca804a33", "score": "0.6730671", "text": "long getAnsCount();", "title": "" }, { "docid": "0aa5b1f464c77fd11574049aca804a33", "score": "0.6730671", "text": "long getAnsCount();", "title": "" }, { "docid": "64d88e32b46ea4b6ef289decc3d413c1", "score": "0.6727708", "text": "int activeCount();", "title": "" }, { "docid": "64d88e32b46ea4b6ef289decc3d413c1", "score": "0.6727708", "text": "int activeCount();", "title": "" }, { "docid": "64d88e32b46ea4b6ef289decc3d413c1", "score": "0.6727708", "text": "int activeCount();", "title": "" }, { "docid": "d128157d36ab9adc441a5f7d09cf8431", "score": "0.67219734", "text": "public List<Integer> getArrayNbLines() {\n\t\tList <Integer> nbLignes = new ArrayList<Integer>();\n\t\tfor (MethodDeclaration eachmethod : methods) {\n\t\t\tnbLignes.add(countLines(eachmethod.getBody().toString()));\n\t\t}\n\t\treturn nbLignes;\n\t}", "title": "" }, { "docid": "0a148fe229866ecd079049ae787bac1d", "score": "0.6712661", "text": "public int getNumberOfTimes();", "title": "" }, { "docid": "3ecab0a0d295a0b8d3afd9b72a39f6b5", "score": "0.67095584", "text": "public int countNShares();", "title": "" }, { "docid": "162ac5821f7ec86b52508dd708bc6230", "score": "0.6705618", "text": "int getInfosCount();", "title": "" }, { "docid": "708ae70c23e28d7d375a69c5cb2ff50b", "score": "0.67050034", "text": "int getFileCount();", "title": "" }, { "docid": "3f39862435f38dfd8a3d9a746283dd0e", "score": "0.670441", "text": "int getUseCount();", "title": "" }, { "docid": "8d4188a8f0756f4e576a0767488781db", "score": "0.6696973", "text": "String count();", "title": "" }, { "docid": "acb2f5c0de6d6d578030662c3b6dfd21", "score": "0.6692222", "text": "public long count();", "title": "" }, { "docid": "96440f693b23faac2448c65917bcd2d9", "score": "0.6676977", "text": "int getMemberCount();", "title": "" }, { "docid": "a21da657bcdfcab5f2be269bcb17638e", "score": "0.6675481", "text": "int availableCount();", "title": "" }, { "docid": "a21da657bcdfcab5f2be269bcb17638e", "score": "0.6675481", "text": "int availableCount();", "title": "" }, { "docid": "a21da657bcdfcab5f2be269bcb17638e", "score": "0.6675481", "text": "int availableCount();", "title": "" }, { "docid": "a467947c6d6714623c5fe0128a5291a0", "score": "0.6674053", "text": "int count();", "title": "" }, { "docid": "a467947c6d6714623c5fe0128a5291a0", "score": "0.6674053", "text": "int count();", "title": "" }, { "docid": "a467947c6d6714623c5fe0128a5291a0", "score": "0.6674053", "text": "int count();", "title": "" }, { "docid": "a467947c6d6714623c5fe0128a5291a0", "score": "0.6674053", "text": "int count();", "title": "" }, { "docid": "a467947c6d6714623c5fe0128a5291a0", "score": "0.6674053", "text": "int count();", "title": "" }, { "docid": "234022cc76b77c62ae5624930b011b26", "score": "0.6669831", "text": "public int numberofAccesses()\n {\n int total = 0;\n for(int hour = 0; hour<hourCounts.length;hour++)\n {total = total +hourCounts[hour];\n }\n return total;\n }", "title": "" }, { "docid": "184f672deba7ccf68fe3dec8876eee89", "score": "0.66670495", "text": "public int getCount() {\n\t\treturn method();\r\n\t}", "title": "" }, { "docid": "50d63ba5374fe0b8644afd66bb4a6525", "score": "0.6665499", "text": "public long count() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "dd9c5c650872fb29c0a7f405df8abd64", "score": "0.66604036", "text": "public int getCallsCount() {\n return calls_.size();\n }", "title": "" }, { "docid": "2837aff9056e4b6568be9b8e92ea7166", "score": "0.66206914", "text": "public int sizeOf();", "title": "" }, { "docid": "2837aff9056e4b6568be9b8e92ea7166", "score": "0.66206914", "text": "public int sizeOf();", "title": "" }, { "docid": "2837aff9056e4b6568be9b8e92ea7166", "score": "0.66206914", "text": "public int sizeOf();", "title": "" }, { "docid": "7688915b1b38f4e58b7a3d5670521d94", "score": "0.6608292", "text": "int getFilesCount();", "title": "" }, { "docid": "72d88f603dda0bc381fd2672a3e68765", "score": "0.660326", "text": "int count() {\n return executionCount;\n }", "title": "" }, { "docid": "4a1fff95fac5a2669869af02c50fd4c9", "score": "0.6587533", "text": "public int count() {\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "4a1fff95fac5a2669869af02c50fd4c9", "score": "0.6587533", "text": "public int count() {\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "6e763f0414a63efb1778619772823198", "score": "0.6575641", "text": "public int number_of_enumerators();", "title": "" }, { "docid": "dea282f48f4c2aa7b5bc12173b82d1fe", "score": "0.657115", "text": "public int countNSharesGiven();", "title": "" }, { "docid": "383c95a5085d27cc915e6e7c2217d1b9", "score": "0.65444267", "text": "long count();", "title": "" }, { "docid": "383c95a5085d27cc915e6e7c2217d1b9", "score": "0.65444267", "text": "long count();", "title": "" }, { "docid": "383c95a5085d27cc915e6e7c2217d1b9", "score": "0.65444267", "text": "long count();", "title": "" }, { "docid": "383c95a5085d27cc915e6e7c2217d1b9", "score": "0.65444267", "text": "long count();", "title": "" }, { "docid": "383c95a5085d27cc915e6e7c2217d1b9", "score": "0.65444267", "text": "long count();", "title": "" }, { "docid": "87d44b0fd64ae0b6156b3ecba4fc9dd6", "score": "0.65429205", "text": "int size(){}", "title": "" }, { "docid": "546a92481f9be5154669f8fdb9e8f420", "score": "0.65392935", "text": "int getLinesCount();", "title": "" }, { "docid": "049d148e9b428aecce082e84d5a12459", "score": "0.6529723", "text": "int getMembersCount();", "title": "" }, { "docid": "5087d3b7547b8579bf0ffc01feb884c7", "score": "0.6521286", "text": "public List<Integer> getArrayNbParams() {\n\t\tList <Integer> nbParams = new ArrayList<Integer>();\n\t\tfor (MethodDeclaration eachmethod : methods) {\n\n\t\t\tnbParams.add(eachmethod.parameters().size());\n\t\t}\n\t\treturn nbParams;\n\t}", "title": "" }, { "docid": "ab54e63cee19ca80bfba6210de5cc16b", "score": "0.6516696", "text": "public int count()\n {\n return size;\n }", "title": "" }, { "docid": "83756106ee06595a17a1928e16643935", "score": "0.6507203", "text": "int getFantasyStatsCount();", "title": "" }, { "docid": "be19e8d1fff5a76e80bed2d8cdc257c0", "score": "0.6507114", "text": "int getTracesCount();", "title": "" }, { "docid": "5ca74b3244f5aafb8d24f957eaea0834", "score": "0.65032876", "text": "int getExpiriesCount();", "title": "" }, { "docid": "2b2eef4880cd4ab8502cae3cf0ecbff9", "score": "0.6502515", "text": "public long getNumAccesses() {\n return numHits + numMisses;\n }", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "41b1a14fb99a91c17a8b4ca8f85c4129", "score": "0.6502043", "text": "public int countAll();", "title": "" }, { "docid": "fa52713b6361eeba53e08b77716bb014", "score": "0.6491208", "text": "protected int get_count() {\n\t\treturn count;\n\t}", "title": "" }, { "docid": "2129cb49be551f97e6eb7721e4457283", "score": "0.6487367", "text": "int getObjectivesCount();", "title": "" }, { "docid": "2abff0473bbc6e4b511814aa9bca5510", "score": "0.648113", "text": "public int getCurrentCount();", "title": "" }, { "docid": "1187080ed3fafb617c0d458a06678f83", "score": "0.64768153", "text": "long getNumOccurrences();", "title": "" }, { "docid": "b689860dd40a6676c0708ffc95e6da05", "score": "0.64684016", "text": "int totalToPerform();", "title": "" }, { "docid": "63d743cb02604beeb9057f7427abfc39", "score": "0.64563155", "text": "public int count() {\n return count;\n }", "title": "" }, { "docid": "63d743cb02604beeb9057f7427abfc39", "score": "0.64563155", "text": "public int count() {\n return count;\n }", "title": "" }, { "docid": "63d743cb02604beeb9057f7427abfc39", "score": "0.64563155", "text": "public int count() {\n return count;\n }", "title": "" }, { "docid": "63d743cb02604beeb9057f7427abfc39", "score": "0.64563155", "text": "public int count() {\n return count;\n }", "title": "" } ]
40dae488f76d55a1e1c4dac4dc650d7d
First cell should be blank, this is the corner
[ { "docid": "245fea32ed9ff8bd59ba7b0ea2847bb2", "score": "0.0", "text": "private void checkColumnHeaderCells(ILayerCell[] cells) {\n\t\tassertNull(cells[0]);\n\t\t// Should only have Column headers\n\t\tint[] selectedColumns = gridLayer.getBodyLayer().getSelectionLayer().getSelectedColumnPositions();\n\t\tfor (int columnPosition = 1; columnPosition < cells.length; columnPosition++) {\n\t\t\tILayerCell cell = cells[columnPosition];\n\t\t\t// Remember to substract offset from columnPosition\n\t\t\tassertEquals(columnHeaderLayer.getDataValueByPosition(selectedColumns[columnPosition - 1], 0), cell.getDataValue());\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "2bd58b1880e621a146acc70b10715b1a", "score": "0.67735916", "text": "public EmptyCell(int x, int y) {\n\t\tsuper(x, y, Color.YELLOW);\n\t}", "title": "" }, { "docid": "4110ef410612c8124ef1f699177c1925", "score": "0.66735935", "text": "public void createEmptyGrid() {\n\t\tfor (int row = 0; row < rows; row++) {\n\t\t\tfor (int col = 0; col < cols; col++) {\n\t\t\t\tCellView cellView = new CellView(CellEnum.EMPTY, row, col);\n\t\t\t\tthis.add(cellView);\n\t\t\t\tSystem.out.print(CellEnum.EMPTY + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "title": "" }, { "docid": "054fe8b971b440ae5f8757f8899c1028", "score": "0.655049", "text": "public List<Coord> getNonEmptyCells();", "title": "" }, { "docid": "08c6b1d986aecabef2e59682473c3c0b", "score": "0.6458884", "text": "private void changeZeroCellsToEmpty() {\n for (int iterator = 1; iterator <= (rowQuantity * columnQuantity); ++iterator) {\n if (cellsMap.containsKey(iterator)) {\n cellsMap.get(iterator).empty = true;\n }\n }\n }", "title": "" }, { "docid": "bc4cb2356141aff5a76b36f05d8f6bd9", "score": "0.6377363", "text": "public Position getAnEmptyCell() {\n \n List<Position> emptyCells = new ArrayList(); \n for(int i = 0 ; i < SIZE; i++){\n for (int j = 0 ; j < SIZE; j++){\n if(map[i][j] == TokenPlayer.EMPTY) {\n emptyCells.add(new Position(i, j));\n }\n }\n }\n \n return emptyCells.get((int)(Math.random() * (emptyCells.size() - 0)) + 0);\n }", "title": "" }, { "docid": "bfecb069e1a398826d502f3e0140778a", "score": "0.6355744", "text": "public void addEmptyCells() {\n int tileSize = (int) (playerOne.getPawnRadius() * 2.25);\n int wallWidth = (int) (playerOne.getPawnRadius() * 0.5);\n for (int i = 0; i <= 16; i++) {\n for (int j = 0; j <= 16; j++) {\n if (i%2==0 && j%2==0) {\n Cell cell = new Cell(i, j, tileSize, tileSize, Paint.valueOf(\"tan\"));\n if (j == 0 || j == 16) {\n cell.setFill(Paint.valueOf(\"rosybrown\"));\n }\n cell.setOnMouseClicked(event -> {\n controller.emptyCellClicked(cell);\n if (wasJustClicked != null) {\n wasJustClicked.setXCoord(cell.getxCoordinate());\n wasJustClicked.setYCoord(cell.getyCoordinate());\n boardPane.setRowIndex(wasJustClicked.getGraphicsNode(), wasJustClicked.getYCoord());\n boardPane.setColumnIndex(wasJustClicked.getGraphicsNode(), wasJustClicked.getXCoord());\n wasJustClicked.changeColorToStart();\n wasJustClicked = null;\n }\n });\n boardPane.add(cell, i, j);\n }\n\n if (i%2==1 && j%2==1) {\n Cell cell = new Cell(i, j, wallWidth, wallWidth, Paint.valueOf(\"snow\"));\n Cell horizontalWall = new Cell(i - 1, j, tileSize * 2 + wallWidth, wallWidth, Paint.valueOf(\"sienna\"));\n horizontalWall.setOnMouseClicked(event -> {controller.resetTurn();});\n Cell verticalWall = new Cell(i, j - 1, wallWidth, tileSize * 2 + wallWidth, Paint.valueOf(\"sienna\"));;\n verticalWall.setOnMouseClicked(event -> {controller.resetTurn();});\n boardPane.add(cell, i ,j);\n\n cell.setOnMouseClicked(event -> {\n controller.OnClickForPlaceWallCells(horizontalWall, verticalWall);\n });\n }\n\n if (i%2==0 && j%2==1){\n Cell cell = new Cell(i, j, tileSize, wallWidth, Paint.valueOf(\"snow\"));\n cell.setOnMouseClicked(event -> {controller.resetTurn();});\n boardPane.add(cell, i ,j);\n }\n\n if (i%2==1 && j%2==0){\n Cell cell = new Cell(i, j, wallWidth, tileSize, Paint.valueOf(\"snow\"));\n cell.setOnMouseClicked(event -> {controller.resetTurn();});\n boardPane.add(cell, i ,j);\n }\n\n }\n }\n }", "title": "" }, { "docid": "6860746a934f4f90f986e75de83da546", "score": "0.6343092", "text": "public static void incrementEmptyCell() {\n\t\tC = C+1;\r\n\t}", "title": "" }, { "docid": "6d40da2b674212ad2efa6a6755649de3", "score": "0.62177914", "text": "@Test\r\n\tpublic final void testHasNoWallOnBottom() {\r\n\t\t\r\n\t\tcells.initialize();\r\n\t\tassertFalse(cells.hasNoWallOnBottom(0, 0));\r\n\t\t\r\n\t\t//cells.setWallToZero(0, 0, 0, 1);\r\n\t\tcells.deleteWall(0, 0, 0, 1);\r\n\t\tassertTrue(cells.hasNoWallOnBottom(0, 0));\r\n\t}", "title": "" }, { "docid": "0335f850172f4d5755cbad3506450261", "score": "0.6194274", "text": "public Rectangle getFirstCellRectangle() {\n //p:这里不判断尺寸,直接留着抛错,在type==CELL的时候,List长度一定大于0.\n return (Rectangle) this.cellRectangleList.get(0);\n }", "title": "" }, { "docid": "f90f66e1a9e1b2c3b9a37eec1a3550ad", "score": "0.61848044", "text": "public boolean showEmptyCells() {\n return this.emptyCells == EN_SHOW;\n }", "title": "" }, { "docid": "ec2360ea4ce31d401fb99c8d8308a048", "score": "0.61789626", "text": "public void checkBlankSpace() {\n if (xOffset < 0) {\n xOffset = 0;\n } else if (xOffset > handler.getLevel().getWidth() * Tile.TILE_WIDTH - handler.getWidth()) {\n xOffset = handler.getLevel().getWidth() * Tile.TILE_WIDTH - handler.getWidth();\n }\n\n if (yOffset < 0) {\n yOffset = 0;\n } else if (yOffset > handler.getLevel().getHeight() * Tile.TILE_HEIGHT - handler.getHeight()) {\n yOffset = handler.getLevel().getHeight() * Tile.TILE_HEIGHT - handler.getHeight();\n }\n }", "title": "" }, { "docid": "41f5a9ce954efab31f82878c974d17c5", "score": "0.61283493", "text": "@Override\n public String visitBlank(CellBlank b) {\n return \"\";\n }", "title": "" }, { "docid": "77d80bd317305c500d88130466827c05", "score": "0.6111446", "text": "public Cell() {\n this.color = DEFAULT_COLOR;\n this.text = \"\";\n }", "title": "" }, { "docid": "1429bbc98ad39ef1499300e4e67169ec", "score": "0.61093646", "text": "public Cell startingCell(){\n\t\t int row=rand.nextInt(tempMaze.sizeR);\n\t\t int col=rand.nextInt(tempMaze.sizeC);\n\t\t Cell start=tempMaze.map[row][col];\n\t\t return start;\n\t}", "title": "" }, { "docid": "6837358d60c7886b5e2b9b5e62e11f95", "score": "0.6106089", "text": "public Cell() {\n\t\tisMine = false;\n\t\tflagged = false;\n\t\tvalueKnown = false;\n\t\tnumAdjacentMines = 0;\n\t}", "title": "" }, { "docid": "49f283fb06ff9c89dbbddb8cf48bd0c4", "score": "0.6078083", "text": "public void invalidCells() {\n _invalidCells(false);\n }", "title": "" }, { "docid": "aaefa598aa91d4df1a4c43850a4cd5a7", "score": "0.60430497", "text": "private void blank(Cell[][] cellArray) {\n //variety of options for blanks to diversify levels\n double r = random.nextDouble();\n if (r < 0.2) {\n //vertical blanks\n for (int j = 0; j < height/3; j++) {\n for (int k = -2; k < 2; k++) {\n cellArray[width/4+k][j].setState(0);\n cellArray[width/4+k][j].setNextState(0);\n }\n }\n for (int j = height/3; j < height*2/3; j++) {\n for (int k = -2; k < 2; k++) {\n cellArray[width/2+k][j].setState(0);\n cellArray[width/2+k][j].setNextState(0);\n }\n }\n for (int j = height*2/3; j < height; j++) {\n for (int k = -2; k < 2; k++) {\n cellArray[width*3/4+k][j].setState(0);\n cellArray[width*3/4+k][j].setNextState(0);\n }\n }\n //horizontal blanks\n for (int i = 0; i < width; i++) {\n for (int k = -2; k < 1; k++) {\n cellArray[i][height*2/7+k].setState(0);\n cellArray[i][height*2/7+k].setNextState(0);\n }\n }\n for (int i = 0; i < width; i++) {\n for (int k = -2; k < 1; k++) {\n cellArray[i][height*6/7+k].setState(0);\n cellArray[i][height*6/7+k].setNextState(0);\n }\n }\n } else if (r < 0.4) {\n double heightStep = (double)height / width;\n double j = 0;\n for (int i = 0; i < width; i++) {\n for (int k = -6; k < 6; k++) {\n int y = (int)j+k;\n if (y < 0 || y > height-2) {\n continue;\n }\n cellArray[i][y].setState(0);\n cellArray[i][y].setNextState(0);\n }\n j += heightStep;\n }\n } else if (r < 0.6) {\n double heightStep = (double)height / width;\n double j = 0;\n for (int i = width-1; i > 0; i--) {\n for (int k = -6; k < 6; k++) {\n int y = (int)j+k;\n if (y < 0 || y > height-2) {\n continue;\n }\n cellArray[i][y].setState(0);\n cellArray[i][y].setNextState(0);\n }\n j += heightStep;\n }\n } else if (r < 0.8) {\n boolean iMoveRight = true;\n int iStart = width/3;\n int iFinish = width/2;\n int iCurr = iStart;\n int iWidth = width/6;\n for (int j = 0; j < height-1; j++) {\n for (int i = iCurr; i < iCurr+iWidth; i++) {\n cellArray[i][j].setState(0);\n cellArray[i][j].setNextState(0);\n }\n if (iMoveRight && iCurr < iFinish) {\n iCurr++;\n } else if (iMoveRight) {\n iMoveRight = false;\n iCurr--;\n } else if (iCurr > iStart) {\n iCurr--;\n } else {\n iMoveRight = true;\n iCurr++;\n }\n }\n } else {\n double heightStep = (double)height / (2*width);\n double j = 0;\n\n for (int i = 0; i < width; i++) {\n for (int k = -2; k < 2; k++) {\n //horizontal blank\n cellArray[i][height/2+k].setState(0);\n cellArray[i][height/2+k].setNextState(0);\n }\n\n for (int k = -5; k < 5; k++) {\n //upper diagonal\n int y = (int)j+k;\n if (y < 0) {\n continue;\n }\n cellArray[i][y].setState(0);\n cellArray[i][y].setNextState(0);\n\n //lower diagonal\n y += (height/2);\n if (y > height-2) {\n continue;\n }\n cellArray[i][y].setState(0);\n cellArray[i][y].setNextState(0);\n }\n j += heightStep;\n }\n }\n }", "title": "" }, { "docid": "2cb944d7dc5d42d4a087437888efd644", "score": "0.60304415", "text": "public String toSpreadsheet(){\n return EMPTY_CELL;\n }", "title": "" }, { "docid": "110e43bc2ceda289176724110c88c676", "score": "0.60255164", "text": "public boolean isCellEmpty(int x,int y)\n\t{\n\t\tif (x < 0 || x >= width) return false;\n\t\tif (y < 0 || y >= height) return false;\n\t\tif (getCellInfo(x,y).type == CellInfo.WALL) return false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b6e499ff8239aff5ff3a9ab01a0c8aec", "score": "0.6024618", "text": "public Cell front()\n {\n return cells[0];\n }", "title": "" }, { "docid": "5e2086dc20801dad73bd2c1c3339425e", "score": "0.5973728", "text": "@Test\n public void testWhackAMolePrintGridToUserEmpty() {\n String expected = String.format(\"*****%n*****%n*****%n*****%n*****%n\");\n final int row = 0;\n final int col = 0;\n whackAMole.place(row, col);\n assertEquals(expected, whackAMole.printGridToUser());\n }", "title": "" }, { "docid": "1a6bed7484da67e78f2553e5c5aeab17", "score": "0.5965262", "text": "public void setEmpty() {\n\t\tfor (int r = 0; r < 3; r++) {\n\t\t\tfor (int c = 0; c < 3; c++) {\n\t\t\t\tboard[r][c] = ' ';\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "08b0e084df3cdf281965c3b09124902e", "score": "0.59507084", "text": "public static void baseRow (){\n\t\tdrawLatern(' ', 4);\n\t\tdrawLatern('*', 5);\n\t\t\n\t}", "title": "" }, { "docid": "d05721ceaa85a4746efd67cd7a838940", "score": "0.59493804", "text": "@Test\r\n\tpublic final void testHasNoWallOnTop() {\r\n\t\t\r\n\t\tcells.initialize();\r\n\t\tassertFalse(cells.hasNoWallOnTop(1, 1));\r\n\t\t\r\n\t\t//cells.setWallToZero(0, 0, 0, -1);\r\n\t\tcells.deleteWall(1, 1, 0, -1);\r\n\t\tassertTrue(cells.hasNoWallOnTop(1, 1));\r\n\r\n\t}", "title": "" }, { "docid": "6df403bcbc0ae5560be649d0c9c4a2ed", "score": "0.5947445", "text": "public void resetCell() {\n selected = false;\n this.removeStyleName(\"hmunselectedcell\");\n this.removeStyleName(\"hmselectedcell\");\n this.value = 0.0;\n this.diseaseCategory = null;\n strValue = \"\";\n pointer = \"default\";\n strValue = \"0\";\n this.setDescription(\"\");\n combinedHeader = false;\n this.valueLabel.setValue(\"\");\n HeatmapCell.this.addStyleName(pointer);\n HeatmapCell.this.removeLayoutClickListener(HeatmapCell.this);\n this.setVisible(false);\n\n }", "title": "" }, { "docid": "75c410d24206014d8907fb36650d4e35", "score": "0.5939293", "text": "public Cell() {\n // do nothing\n }", "title": "" }, { "docid": "ddc302c4eb2da4d716508c8ba12348b2", "score": "0.59180313", "text": "private void initEmptyGrind() {\n\t\tgrind = new Cell[sizeHeight][sizeWidth];\n\t\tfor (int i = 0; i < grind.length; i++) {\n\t\t\tfor (int j = 0; j < grind[0].length; j++) {\n\t\t\t\tgrind[i][j] = new Case(new Coordinates(j, i));\n\t\t\t}\n\t\t}\n\t\tgrind[0][0] = new Base(new Coordinates(0, 0), Constant.ID_TEAM_A);\n\n\t\tgrind[sizeHeight - 1][sizeWidth - 1] = new Base(new Coordinates(\n\t\t\t\tsizeHeight - 1, sizeWidth - 1), Constant.ID_TEAM_B);\n\t}", "title": "" }, { "docid": "823082d935e97bc4a285ce24205d78b5", "score": "0.5913314", "text": "public Cell(){\r\n this(0,0,0);\r\n }", "title": "" }, { "docid": "744f05f841c87a4c5fa7d6c99c1b20c4", "score": "0.58947855", "text": "public void makeEmpty() {\n center.set(0, 0, 0);\n radius = radSq = 0;\n }", "title": "" }, { "docid": "a2300ca84ecf02af21cb45e1b4fd54ee", "score": "0.58890283", "text": "public Cell(){\n this(0,0,0);\n }", "title": "" }, { "docid": "a8b2ddcf440884aedf096973df6a16ba", "score": "0.5887771", "text": "public int getRowOfBlankFromBottom() {\n int row = 0;\n for (int i = 0; i != board.getNumRows(); i++) {\n for (int j = 0; j != board.getNumCols(); j++) {\n if (((SlidingTile) board.getTile(i, j)).getId() == board.getNumRows() * board.getNumRows()) {\n row = i;\n }\n }\n }\n return board.getNumRows() - row - 1;\n }", "title": "" }, { "docid": "f6548dfa1495d343b9af6a73579d9416", "score": "0.58747834", "text": "private boolean isEmpty() {\n return mColumnBounds.size() == 0 || mRowBounds.size() == 0;\n }", "title": "" }, { "docid": "cccecae2bc64c1c139da686ec46cf8d1", "score": "0.5849275", "text": "Cell createCell();", "title": "" }, { "docid": "cccecae2bc64c1c139da686ec46cf8d1", "score": "0.5849275", "text": "Cell createCell();", "title": "" }, { "docid": "e4a025df623bb4a93aecead0fe3b06a4", "score": "0.58448255", "text": "public void addEmptyRow() {\n JPanel spacer = new JPanel(new BorderLayout(0, 0));\n spacer.setOpaque(false);\n SwingUtils.setPreferredHeight(spacer, spacer.getFont().getSize());\n addFullWidthRow(spacer);\n }", "title": "" }, { "docid": "78c4eeae4bff520e0627facb30831a2a", "score": "0.5842464", "text": "public ArrayList getOptionalCells();", "title": "" }, { "docid": "6adc123b1d6107cd085d2ec85cad6d63", "score": "0.5836527", "text": "public Cell() {\n\t\t\n\t}", "title": "" }, { "docid": "11fb9c23507dbc59efe4818b0bfe1b01", "score": "0.58363634", "text": "@Override\n protected void setUp() throws Exception {\n blankCell = new BlankCell();\n super.setUp();\n }", "title": "" }, { "docid": "537494767ad9aca0d0835286532be231", "score": "0.58355093", "text": "@Test\r\n\tpublic final void testHasNoWallOnLeft() {\r\n\r\n\t\tcells.initialize();\r\n\t\tassertFalse(cells.hasNoWallOnLeft(1, 1));\r\n\t\t\r\n\t\t//cells.setWallToZero(0, 0, -1, 0);\r\n\t\tcells.deleteWall(1, 1, -1, 0);\r\n\t\tassertTrue(cells.hasNoWallOnLeft(1, 1));\r\n\t}", "title": "" }, { "docid": "98f49f7fa7168b905a212f0373fdec3f", "score": "0.5832151", "text": "@Test public void checkFilledCell() {\n System.out.println(\"Checking a filled cell...\");\n\n // fill the cell with a value\n try {\n m_xSpreadSheet.getCellByPosition(2, 3).setValue(15);\n } catch (com.sun.star.lang.IndexOutOfBoundsException e) {\n e.printStackTrace();\n fail(\"Could not fill cell (2, 3) with a value.\");\n }\n\n // compare an cell with value 5 with a cell with value 15\n assertTrue(\"\\tQuery column differences did not return the correct value.\", _queryColumnDifferences(\"Sheet1.C4\"));\n // compare an cell with value 5 with a cell with value 15\n assertTrue(\"\\tQuery column differences did not return the correct value.\", _queryRowDifferences(\"Sheet1.C4\"));\n // try to get nothing\n assertTrue(\"\\tQuery empty cells did not return the correct value.\", _queryEmptyCells(\"\"));\n System.out.println(\"...done\");\n }", "title": "" }, { "docid": "5fff4c9f692a79cf0416af40e21428e4", "score": "0.582687", "text": "@Test public void checkEmptyCell() {\n System.out.println(\"Checking an empty cell...\");\n // compare an empty cell with a cell with a value\n assertTrue(\"\\tQuery column differences did not return the correct value.\", _queryColumnDifferences(\"Sheet1.C4\"));\n // compare an empty cell with a cell with a value\n assertTrue(\"\\tQuery column differences did not return the correct value.\", _queryRowDifferences(\"Sheet1.C4\"));\n // try to get this cell\n// assertTrue(\"\\tQuery empty cells did not return the correct value.\", _queryEmptyCells(\"Sheet1.C4\"));\n System.out.println(\"...done\");\n }", "title": "" }, { "docid": "a065715cfdc10d6808556de4293bc998", "score": "0.58253795", "text": "private void calculateRedrawCells(int firstRow, int firstColumn) {\n if (firstRow == 0) {\n this.startRow = firstRow;\n } else {\n this.startRow = firstRow - 1;\n }\n\n if (firstColumn == 0) {\n this.startColumn = firstColumn;\n } else {\n this.startColumn = firstColumn - 1;\n }\n\n if (firstRow <= 5) {\n rowCells = 3;\n } else {\n rowCells = 8 - startRow;\n }\n\n if (firstColumn <= 5) {\n columnCells = 3;\n } else {\n columnCells = 8 - startColumn;\n }\n\n }", "title": "" }, { "docid": "30e4717c120d437dd2f3f7a49ac9beed", "score": "0.58147854", "text": "public TapeCell getLeftCell() {\n if (!wasLeftCellVisited()) {\n leftCell = new TapeCell(index - 1, blank, null, this);\n }\n return leftCell;\n }", "title": "" }, { "docid": "416c58d78060b92dec5c646aa9263fa8", "score": "0.5812677", "text": "public Cell(){}", "title": "" }, { "docid": "c3adfda2fcbdffd988eb7b13595134aa", "score": "0.58060753", "text": "@Test\r\n\tpublic final void testHasWallOnBottom() {\r\n\t\tcells.initialize();\r\n\t\tassertTrue(cells.hasWallOnBottom(0, 0));\r\n\t\t\r\n\t\tcells.setBitToZero(0, 0, Constants.CW_BOT);\r\n\t\tassertFalse(cells.hasWallOnBottom(0, 0));\r\n\t}", "title": "" }, { "docid": "72854446ea60c679c1cdb7e0c8232687", "score": "0.5793328", "text": "public Cell() {\n isAlive = false;\n xCoordinate = 0;\n yCoordinate = 0;\n }", "title": "" }, { "docid": "b455456547c1d58c806e69d1bb55e12b", "score": "0.57813734", "text": "private Cell findNextPoint() {\n for (int i = 0; i < data.length; i++) {\n for (int j = 0; j < data.length; j++) {\n if (data[i][j] == 0) {\n return new Cell(i, j);\n }\n }\n }\n return null;\n }", "title": "" }, { "docid": "cf264bc519769e0a0439cf0904787591", "score": "0.57809997", "text": "public void setEmptyTile()\n {\n this.emptyTile = true;\n }", "title": "" }, { "docid": "17f22a9c225bf3b81cbf8d77b05ba3b2", "score": "0.57708585", "text": "private void prefillGrid() {\n for (int i = 0; i < height; i++) {\n for (int j = 0; j < width; j++) {\n addChar(j,i,' ');\n }\n }\n }", "title": "" }, { "docid": "11bd773a9c2fa816b83d9c19cab52f7e", "score": "0.5764005", "text": "public boolean noNullCells() {\n for (Cell[] row : grid) {\n for (Cell c : row) {\n if (c == null)\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "39f7c1e51a2a68aeb928fb37b284ee21", "score": "0.57586855", "text": "private int[] findBlank()\n {\n for (int i = 0; i < gridSize; i++)\n for (int j = 0; j < gridSize; j++)\n {\n if (grid[i][j] == 0)\n return new int[]{i, j};\n }\n return null;\n }", "title": "" }, { "docid": "f90a35b5128cadaf8ad7c1a574289094", "score": "0.5757642", "text": "protected void createBorders() {\n\t \n\t\tfor( int i = 0 ; i < mazeSize ; i++ ) {\n\t\t\t\n\t\t\t// Top horizontal line\n\t\t\tcells[ i ][ 0 ] = MazeConstants.WALL;\n\t\t\t// Bottom horizontal line\n\t\t\tcells[ i ][ mazeSize - 1 ] = MazeConstants.WALL;\n\t\t\t// Left vertical line\n\t\t\tcells[ 0 ][ i ] = MazeConstants.WALL;\n\t\t\t// Right vertical line\n\t\t\tcells[ mazeSize - 1 ][ i ] = MazeConstants.WALL;\n\t\t\t\n\t\t}\n\t \n\t\t\n\t}", "title": "" }, { "docid": "a357ee9108f90defc4547f62673c65ce", "score": "0.57284766", "text": "@Test\r\n\tpublic final void testHasNoWallOnRight() {\r\n\t\t\r\n\t\tcells.initialize();\r\n\t\tassertFalse(cells.hasNoWallOnRight(0, 0));\r\n\t\t\r\n\t\t//cells.setWallToZero(0, 0, 1, 0);\r\n\t\tcells.deleteWall(0, 0, 1, 0);\r\n\t\tassertTrue(cells.hasNoWallOnRight(0, 0));\r\n\t}", "title": "" }, { "docid": "1b8c292035a7d8a811e02db916402d67", "score": "0.5722674", "text": "public boolean isBlank(int i, int j){\n \n // ADD YOU CODE HERE\n\n if(getNeighbooringMines(i,j) == 0){\n\n return true;\n }\n\n return false;\n\n }", "title": "" }, { "docid": "e491a4de45ba5471a5d645b95d123e6d", "score": "0.5718936", "text": "public Square getStart()\n\t{\n\t\tSquare toReturn = maze[numRows - 1][numCols - 1]; \n\t\t// set to corner square in maze\n\t\t\n\t\tfor(int i = 0; i < numRows; i++) // loop through rows\n\t\t{\n\t\t\tfor(int j = 0; j < numCols; j++) // loop through columns\n\t\t\t{\n\t\t\t\tif(maze[i][j].isStart()) // if square marked as start\n\t\t\t\t{\n\t\t\t\t\ttoReturn = maze[i][j]; \n\t\t\t\t\ti = numRows; // will break out of loop, more efficient\n\t\t\t\t\tj = numCols;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn toReturn;\n\t}", "title": "" }, { "docid": "aa23971c8f24970c010714e53672146d", "score": "0.5716773", "text": "public void clear()\r\n {\r\n cells.removeAllElements();\r\n xDragLast = -1;\r\n isDragging = false;\r\n selectedRow = 0;\r\n highlightedRows = new BitSet();\r\n topRow = 0;\r\n }", "title": "" }, { "docid": "1140aea040f6b6f0c82c19662ebd77f9", "score": "0.5714289", "text": "boolean spotIsEmtpy(int row, int col){\n\t\tif (col < 0 || col > 9 || row < 0 || row > 19) return false;\n\t\treturn (blockGrid[row][col] == null || (!blockGrid[row][col].stationary));\n\t}", "title": "" }, { "docid": "3c3cccc9ec0da8a33b74d07d80c9f344", "score": "0.57021743", "text": "private void initializeMaze(){\n\t\tfor (int columnIndex = 0; columnIndex < maze.length; columnIndex++){\n\t\t\tfor (int rowIndex = 0; rowIndex < this.maze[columnIndex].length; rowIndex++){\n\t\t\t\tif (maze[columnIndex][rowIndex].IsWall() || maze[columnIndex][rowIndex].IsEnd()){\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// checks the left cell.\n\t\t\t\tif (inBoundsX(rowIndex - 1) && (!maze[columnIndex][rowIndex - 1].IsWall() && !maze[columnIndex][rowIndex - 1].IsStart())){\n\t\t\t\t\tmaze[columnIndex][rowIndex].addAdjacentCell(maze[columnIndex][rowIndex - 1]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// checks the right cell.\n\t\t\t\tif (inBoundsX(rowIndex + 1) && (!maze[columnIndex][rowIndex + 1].IsWall() && !maze[columnIndex][rowIndex + 1].IsStart())){\n\t\t\t\t\tmaze[columnIndex][rowIndex].addAdjacentCell(maze[columnIndex][rowIndex + 1]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// checks the above cell.\n\t\t\t\tif (inBoundsY(columnIndex - 1) && (!maze[columnIndex - 1][rowIndex].IsWall() && !maze[columnIndex - 1][rowIndex].IsStart())){\n\t\t\t\t\tmaze[columnIndex][rowIndex].addAdjacentCell(maze[columnIndex - 1][rowIndex]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// checks the below cell.\n\t\t\t\tif (inBoundsY(columnIndex + 1) && (!maze[columnIndex + 1][rowIndex].IsWall() && !maze[columnIndex + 1][rowIndex].IsStart())){\n\t\t\t\t\tmaze[columnIndex][rowIndex].addAdjacentCell(maze[columnIndex + 1][rowIndex]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "4bb8eb1d4fb76b865b1328e79295f9d3", "score": "0.569247", "text": "private void initClosed() {\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < cols; j++) {\n if (grid.getCell(i, j).getG() == -1)\n closed.append(grid.getCell(i, j));\n }\n }\n }", "title": "" }, { "docid": "20e20188949a82899fdab4a94a6f9f59", "score": "0.5691438", "text": "public Cell(int x, int y) {\n this.x = x;\n this.y = y;\n color = CellColor.CLEAR;\n }", "title": "" }, { "docid": "e69121c733a486eacde663e3ebb2849a", "score": "0.5689928", "text": "private int getBlankIndex(){\r\n\t\tint blankIndex = -1;\r\n\t\tfor (int i = 0; i < PUZZLE_SIZE; i++){\r\n\t\t\tif (curBoard[i] == 0)\r\n\t\t\t\tblankIndex = i;\r\n\t\t}\r\n\t\treturn blankIndex;\r\n\t}", "title": "" }, { "docid": "51859ec081130bab50da23ac66bbfe19", "score": "0.56887496", "text": "@Override\n\tprotected GridLocation findEmptySpot(Grid grid, int currentRow, int currentCol) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6e2737dfeade8a0ef9a2ddfc089ed274", "score": "0.5687883", "text": "public Cell()\n {\n neighbors = new Cell[4];\n walls = new int[4];\n setAllWalls();\n color = \"WHITE\";\n parent = null;\n isStart = false;\n isEnd = false;\n isInSolution = false;\n steps = 0;\n }", "title": "" }, { "docid": "0c554203391ef89c7eeeba21d227cfa7", "score": "0.5685348", "text": "public int getLowestEmptyIndex(Connect4Column column) {\n int lowestEmptySlot = -1;\n for (int i = 0; i < column.getRowCount(); i++)\n {\n if (!column.getSlot(i).getIsFilled())\n {\n lowestEmptySlot = i;\n }\n }\n return lowestEmptySlot;\n }", "title": "" }, { "docid": "821bd7d25ff9840b683c34c6e7f2ceaf", "score": "0.5685184", "text": "public void setBlanks(int row){\r\n for(int y = 0; y < 8; y++) {\r\n //makes empty piece object\r\n Piece emptyPiece = new Piece();\r\n //calls set function to pass empty piece and coordinates\r\n setPieceOnSquare(emptyPiece, row, y);\r\n //sets the \"blank\" value of the empty piece\r\n emptyPiece.setName(\"__\" + row + \"-\" + y + \"__\");\r\n }\r\n }", "title": "" }, { "docid": "1207ce5f84935119c4102689201f320b", "score": "0.56820697", "text": "public static void topBase (){\n\t\tbaseRow();\n\t\tdrawLatern(' ', 2);\n\t\tdrawLatern('*', 9);\n\t\tdrawLatern('*', 13);\n\t\t\n\t}", "title": "" }, { "docid": "a453b6bbaf820b3172bef299dc2d6ea7", "score": "0.5679294", "text": "static Cell starterCell(int x, int y){\n Random gen = new Random();\n int randomStartX = gen.nextInt(x);\n int randomStartY = gen.nextInt(y);\n return new Cell(randomStartX, randomStartY, true);\n }", "title": "" }, { "docid": "2ee71c36a057e4dbfc0d25e58e8226ef", "score": "0.567108", "text": "public void testNotDrawWalls()\n {\n clickCell(2, 2);\n touchUp();\n MazeAdapter maze = getScreen().getMaze();\n assertEquals(maze.getCell(2, 2), MazeCell.PATH);\n }", "title": "" }, { "docid": "17dfa85a8f3eb27138cf3b8166f0ad63", "score": "0.5669664", "text": "public void clearRow()\n {\n while ( frontIsClear() )\n {\n while ( nextToABeeper() )\n {\n pickBeeper();\n }\n move();\n }\n while ( nextToABeeper() )\n {\n pickBeeper();\n }\n }", "title": "" }, { "docid": "ec68a61e8eac5ae36e6bb1aab11ebfae", "score": "0.5668103", "text": "public static void noBorderEscape() {\n\t\t\n if (positionJ1<=0) positionJ1 = 0 ;\n if (positionJ1>=(nList.size())) {\n \t\n \tpositionJ1 =nList.size()-1;\n \t\n }\n \n if (positionJ2<=0) positionJ2 = 0 ;\n if (positionJ2>=(nList.size())) {\n \tpositionJ2 = nList.size()-1 ;\n \t\n }\n\t}", "title": "" }, { "docid": "9d34311e9617fe8f76d4b48c212ab058", "score": "0.5662768", "text": "public FutoshikiSquare findEmpty()\n {\n for(int x=0; x<gridSize; x++)\n {\n for(int y=0; y<gridSize; y++)\n {\n if(grid[x][y].getMainValue()==0)\n {\n return grid[x][y];\n }\n }\n }\n // return null if there is no square left with value 0\n return null;\n }", "title": "" }, { "docid": "9406002761fc82dc2a8fc6d470255ed1", "score": "0.5661644", "text": "public void deleteCell() {\n \t\tif(chosenCell.getEditable()) {\n \t\t chosenCell.setBackground(Color.WHITE);\n \t\t chosenCell.setText(\"\");\n \t\t chosenCell.setEditable(true);\n \t\t chosenCell = nothingCell;\n \t\t}\n \t}", "title": "" }, { "docid": "d21a2bc9198c99edfe4b44a6fb52b458", "score": "0.56506276", "text": "private boolean noAlone(int x, int y) {\n if (cells[x - 1][y] instanceof WhiteCell && cells[x - 2][y] instanceof BlackCell) return false;\n if (x + 1 == numRows - 1 && cells[x + 1][y] instanceof WhiteCell) return false;\n if (x + 1 < numRows && cells[x + 1][y] instanceof WhiteCell && cells[x + 2][y] instanceof BlackCell) return false;\n if (x + 1 < numRows && cells[x + 1][y] instanceof WhiteCell && cells[x + 2][y] instanceof WhiteCell && x+2 == numRows-x) return false;\n\n if (cells[x][y - 1] instanceof WhiteCell && cells[x][y - 2] instanceof BlackCell) return false;\n if (y + 1 == numColumns - 1 && cells[x][y + 1] instanceof WhiteCell) return false;\n if (y + 1 < numColumns && cells[x][y + 1] instanceof WhiteCell && cells[x][y + 2] instanceof BlackCell) return false;\n if (y + 1 < numColumns && cells[x][y + 1] instanceof WhiteCell && cells[x][y + 2] instanceof WhiteCell && y+2 == numColumns-y) return false;\n\n\n return true;\n }", "title": "" }, { "docid": "985dd355020a65adb275a606754ae130", "score": "0.5647908", "text": "@Test\r\n\tpublic final void testHasWallOnLeft() {\r\n\t\tcells.initialize();\r\n\t\tassertTrue(cells.hasWallOnLeft(0, 0));\r\n\t\t\r\n\t\tcells.setBitToZero(0, 0, Constants.CW_LEFT);\r\n\t\tassertFalse(cells.hasWallOnLeft(0, 0));\r\n\t}", "title": "" }, { "docid": "5c189f31d1fb72ca27bb5e52bc38f0b2", "score": "0.56445676", "text": "@Test\r\n\tpublic final void testHasWallOnTop() {\r\n\t\tcells.initialize();\r\n\t\tassertTrue(cells.hasWallOnTop(0, 0));\r\n\t\t\r\n\t\tcells.setBitToZero(0, 0, Constants.CW_TOP);\r\n\t\tassertFalse(cells.hasWallOnTop(0, 0));\r\n\t}", "title": "" }, { "docid": "884981eb6ab52aeb5191b73c37f589bb", "score": "0.5641912", "text": "public TapeCell(BlankSymbol blank) {\n this(0, blank, null, null);\n }", "title": "" }, { "docid": "66d3c7e426e96d1a9d22b3fc7469f05f", "score": "0.56322014", "text": "void clearCell() {\n setSelected(false);\n textView.setText(null);\n this.data = null;\n }", "title": "" }, { "docid": "03175f5eb04dc8e893c8d172467f7ed5", "score": "0.56269956", "text": "public Point nextCell()\r\n {\n\t if (pop.getDimX()%2 == 1)\r\n\t\t correctionStep = (counter/pop.getPopSize()==1);\r\n\t \r\n\t int cellPos = 0;\r\n\t if (pos%pop.getDimX() < (pop.getDimX()/2.0 - (correctionStep?1:0)))\r\n\t\t //left half\r\n\t\t cellPos = (pos/pop.getDimX())*pop.getDimX() + (int)Math.ceil(pop.getDimX()/2.0) - pos%pop.getDimX() - (correctionStep?2:1);\r\n\t else\r\n\t\t cellPos = pos/pop.getDimX()*pop.getDimX() + pos%pop.getDimX();\r\n\t \r\n\t \r\n Point cell = pop.toGrid(cellPos);\r\n \r\n pos = (pos+1) % pop.getPopSize();\r\n\t counter = (counter+1) % (2*pop.getPopSize());\r\n return cell;\r\n }", "title": "" }, { "docid": "c296f8de068f9a17c1fba196bc1cd247", "score": "0.56269515", "text": "public Cell(int x, int y) {\r\n\t\tthis.x =x;\r\n\t\tthis.y =y;\r\n\t\tvalue = \"0\";\r\n\t}", "title": "" }, { "docid": "4f3b7e8cb9ded27a90868c5b3bb0eec5", "score": "0.56158775", "text": "private boolean isBorderCell(int row, int col) {\n\t\tint gridEdge = gridSize -1;\n\t\tif (row==0 || col==gridEdge || row==0 || col==gridEdge) return true;\n\t\telse return false;\n\t}", "title": "" }, { "docid": "df84c88c805964114f94f2473524e2c1", "score": "0.56122124", "text": "public int getNextEmptyRow() {\n for ( int row = 1; row < cellEntries.length; row++ ) {\n if ( isRowEmpty( row ) ) {\n return row;\n }\n }\n return 0;\n }", "title": "" }, { "docid": "bfd892a3c207ef71eaf2aa25f41bff41", "score": "0.5611564", "text": "private static void empty_cells_dec(){\n\t\tif(traversal_data == 1) System.out.println(\"Entering empty cells\");\n\t\tlex.lex();\n\t\t//Seeks out a colon, otherwise an error is thrown\n\t\tif(lex.nextToken == lex.COLON){\n\t\t\tempty_cells = true;//Flags the current context as empty_cells\n\t\t\tlex.lex();\n\t\t\t//Seeks out a valid_keyword, otherwise an error is thrown\n\t\t\tif(lex.nextToken == lex.VALID_KEYWORD){\n\t\t\t\tlex.lex();\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"------------------------------------------------------------------------------------------------------\");\n\t\t\t\tSystem.out.println(\"Error in CSS Document:: Expected a valid keyword for empty-cells at line :\"+lex.line_num+\" col :\"+lex.line_pos\n\t\t\t\t\t\t+\"\\nValid Keywords are show and hide\");\n\t\t\t\tSystem.out.println(\"------------------------------------------------------------------------------------------------------\");\n\t\t\t\terrno++;\n\t\t\t}\n\t\t}else{\n\t\t\tSystem.out.println(\"------------------------------------------------------------------------------------------------------\");\n\t\t\tSystem.out.println(\"Error in CSS Document:: Expected a colon after declaration at line :\"+lex.line_num+\" col :\"+lex.line_pos);\n\t\t\tSystem.out.println(\"------------------------------------------------------------------------------------------------------\");\n\t\t\terrno++;\n\t\t}\n\t\tempty_cells = false;//Unflags current context variables\n\t\tif(traversal_data == 1) System.out.println(\"Exiting empty cells\");\n\t}", "title": "" }, { "docid": "e07e1384dbe17d1ea1f3e2d17ac42c74", "score": "0.5608187", "text": "@Test\n\tpublic void testZeroSizedBoard() { new Board(width, height).tileAt(0, 0); }", "title": "" }, { "docid": "4da96f8a7489ba4ef63a91bfe2fb7dcd", "score": "0.56057", "text": "public boolean checkC() { \n return (_board.get(0,_col-1).equals(\"_\")); // check first row to see if empty\n }", "title": "" }, { "docid": "4323a63a0e5a89a8f306fd81d1a32ba1", "score": "0.56048906", "text": "public boolean validCell(int x, int y) {\n return !(x > width - 1 || x < 0 || y > height - 1 || y < 0);\n }", "title": "" }, { "docid": "c1781d9d98e05378b07776c2e7689361", "score": "0.5604591", "text": "@Override\n protected void setCellPosition() {\n setLayoutX(getColumn() * getWidth());\n setLayoutY(getRow() * getHeight());\n }", "title": "" }, { "docid": "2ef860233d3318c3ad5d516f9fa7da18", "score": "0.5601083", "text": "private boolean wrongCellH (int x, int y) {\n if (y+10 >= numColumns) return false;\n for (int i = y+1; i <= (y+10); ++i) {\n if (cells[x][i] instanceof BlackCell) return false;\n }\n return true;\n }", "title": "" }, { "docid": "b7b7b3d22044fe232613b31b55f62c26", "score": "0.55979323", "text": "private void fillGridWithWalls() {\r\n\t\tfor (int i = 0; i < getLab().getSize(); i++)\r\n\t\t\tfor (int j = 0; j < getLab().getSize(); j++)\r\n\t\t\t\tgetLab().setLabCell(i, j, 'X');\r\n\t}", "title": "" }, { "docid": "0b79dc4579bbee07ee3e7e5e2b242264", "score": "0.55974346", "text": "public int getFirstRow()\r\n/* 55: */ {\r\n/* 56:151 */ return this.rowFirst;\r\n/* 57: */ }", "title": "" }, { "docid": "755b69ca7f6e5ca08665ad6a487c269d", "score": "0.55957663", "text": "private boolean isBlankRow(final Row row,int startColumn,int endColumn){\n if(row!=null && startColumn>0 && endColumn>0){\n if(row.getCell(startColumn)!=null&&FileOperatorUtil.readCellValue(row.getCell(startColumn)).length()>0)return false;\n for(int i=startColumn,j=0;i<endColumn;i++){\n if(row.getCell(i)!=null&&FileOperatorUtil.readCellValue(row.getCell(i)).length()>0)j++;\n if(i>(startColumn+endColumn)/2 && j>(endColumn-startColumn+1)/2)return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "57bc047631f87d0324c4b5ee38ccb7ad", "score": "0.5592989", "text": "public void checkTopLeft()\r\n\t{\r\n\t\t//j value will start from 2\r\n\t\tint j=2;\r\n\t\tint columns = 2; // will increment till it is equal to columns -1 \r\n\t\tint count =0;\r\n\t\tString answer = \"\";\t\r\n\t\tint columnControl = boardColumns -1;\r\n\t\t\r\n\t\twhile(j<boardColumns)\r\n\t\t{\t\t\t\t\t\t\r\n\t\t\t\t// k=j \r\n\t\t\t\tfor(int k=columns,i=0;k>=0;k--,i++)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(input[i][k]!=null)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tanswer += input[i][k].toString();\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcount++;\r\n\t\t\t\t\tif(count==3)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tanswer.trim();\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(answer.equalsIgnoreCase(\"SOS\"))\r\n\t\t\t\t\t\t{\t\r\n\t\t\t\t\t\t\t//get coordinates\r\n\t\t\t\t\t\t\tint temI1 = i-2;\r\n\t\t\t\t\t\t\tint temJ1 = k+2;\r\n\t\t\t\t\t\t\tint temI2 = i-1;\r\n\t\t\t\t\t\t\tint temJ2 = k+1;\r\n\t\t\t\t\t\t\tint temI3 = i;\r\n\t\t\t\t\t\t\tint temJ3 = k;\r\n\t\t\t\t\t\t\tboolean hasStored = checkIfStored(temI1,temJ1,temI2,temJ2,temI3,temJ3);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(hasStored==false)\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\ttotalCorrect++;\r\n\t\t\t\t\t\t\t\tchangePlayerTurn();\t\r\n\t\t\t\t\t\t\t\tboard.addLine(temI1, temJ1, temI3, temJ3 , currentPlayerColour);\r\n\t\t\t\t\t\t\t\tSystem.out.println(answer+\"Top Left\");\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Total correct \"+totalCorrect);\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t//store coordinates\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tstoreCoordinates(temI1,temJ1,temI2,temJ2,temI3,temJ3);\r\n\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif(k>0)//if there are more cells to check then start from previous cell\r\n\t\t\t\t\t\t{\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tk=k+2;\r\n\t\t\t\t\t\t\ti=i-2;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t//reset\r\n\t\t\t\t\t\tanswer = \"\";\r\n\t\t\t\t\t\tcount = 0;\r\n\t\t\t\t\t}\r\n\t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t//reset\r\n\t\t\tanswer=\"\";\r\n\t\t\tcount=0;\r\n\t\t\tif(columns<columnControl)\r\n\t\t\t{\r\n\t\t\t\tcolumns++;\r\n\t\t\t}\r\n\t\t\tj++; //start from another column\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f57822a78d76d3faa5a61742e2334881", "score": "0.5592756", "text": "@Test\n public void testNonInputCell(){\n // Arrange\n Cell.CellType cellType = Cell.CellType.EMPTY;\n // Act\n Cell cell = new Cell(cellType);\n // Assert\n assertEquals(cell.getType(), Cell.CellType.EMPTY);\n }", "title": "" }, { "docid": "027ba332184d98e75947e44cead96143", "score": "0.5591704", "text": "private void fill() throws SquareWrongValueException {\n\n // fill mine\n fillMine(1);\n\n // fill another square\n for (int r = 0; r < this.height; r++) {\n for (int c = 0; c < this.width; c++) {\n\n // continue if square is mine square\n if (this.grid[r][c] instanceof MineSquare)\n continue;\n\n byte checkAround = countMineAround(r, c);\n\n // if check around have no mine, square is empty square\n // otherwise, square is number square with value is checkAround\n if (checkAround == 0)\n this.grid[r][c] = new EmptySquare();\n else\n this.grid[r][c] = new NumberSquare(checkAround);\n\n }\n }\n\n }", "title": "" }, { "docid": "9bddd73f3387286a102c39b077441567", "score": "0.5585645", "text": "private boolean isRowFilled(int row)\n {\n for (int col = 0; col < getWidth(); ++col)\n {\n if (getIcon(row, col) == null)\n {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "7ed4fc61d0a32024ebe78f318818299b", "score": "0.55827224", "text": "String getCellspacing();", "title": "" }, { "docid": "ffacdabfdf01fb0e1640e7df50f7364f", "score": "0.5580697", "text": "public final void init() {\n getCellLocation().setBackground(Color.yellow);\n }", "title": "" }, { "docid": "731ec6e339ad6a5c07e1a4f446acda7f", "score": "0.55720747", "text": "public Cell getNorth()\n {\n return neighbors[0];\n }", "title": "" }, { "docid": "2d9b21e52b31db4a6c9021c75a06c544", "score": "0.556838", "text": "public int centerAvailable() \n {\n if( myGame.getColumnCount() % 2 == 1)\n {\n int column = ( myGame.getColumnCount() / 2 ); \n int slot = getLowestEmptyIndex(myGame.getColumn(column)); \n if ( slot == myGame.getRowCount()-1 )\n {\n return column;\n }\n }\n return -1;\n }", "title": "" }, { "docid": "37294ebee0f0d660af480bd0163bc0fd", "score": "0.5566661", "text": "public void clear() {\n\t\tfor (int r = 0; r < cells.length; r++) {\n\t\t\tfor (int c = 0; c < cells[0].length; c++) {\n\t\t\t\tcells[r][c].setIcon(null);\n\t\t\t\tcells[r][c].setBackground(getBackground());\n\t\t\t\tcells[r][c].setSelected(false);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "fc597dacfc14b0a513f6dded74a85ad1", "score": "0.55645496", "text": "public String getCellPadding();", "title": "" }, { "docid": "683978726187afcebee516ffd92f2cb6", "score": "0.5563012", "text": "private boolean isGridFilled() {\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < cols; j++) {\n if (grid[i][j] == 0) {\n return false;\n }\n }\n }\n return true;\n }", "title": "" } ]
e4b76e0392f6ea522c79fb11c41ebffb
Scan to get the next Symbol.
[ { "docid": "fdd25cd8db12b0a277741dbb05d40cc8", "score": "0.7634326", "text": "public java_cup.runtime.Symbol scan()\r\n throws java.lang.Exception\r\n {\r\n return lexer.nextToken(); \r\n }", "title": "" } ]
[ { "docid": "00fcb0d3d8d6c2595abe04d830f87eac", "score": "0.80093396", "text": "public java_cup.runtime.Symbol scan() throws java.lang.Exception {\n\n\t\treturn scanner.next_token();\n\n\t}", "title": "" }, { "docid": "ee0c61594c5fedcfce7be8e97fa00402", "score": "0.79935765", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n Symbol s=_scanner.next_token(); Tree.push(s.toString(), 0); return s; }", "title": "" }, { "docid": "23b331a8859eed04f0bc504158be40ff", "score": "0.78689516", "text": "public java_cup.runtime.Symbol scan()\r\n throws java.lang.Exception\r\n {\r\n\t\treturn lexer.next_token(); \r\n }", "title": "" }, { "docid": "86cb4764b7bc9da049321683ffa61146", "score": "0.76351744", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n\n\tSymbol s = this.getScanner().next_token();\n\tif (s != null && s.value != null) \n\t\tlog.info(s.toString() + \" \" + s.value.toString());\n\treturn s;\n\n }", "title": "" }, { "docid": "9d27c500e8dd6859240cb87c58c1c40c", "score": "0.76289374", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n\n\tSymbol s=this.getScanner().next_token();\n\tif(s!=null && s.value!=null)\n\t\tlog.info(s.toString()+\" \"+s.value.toString());\n\treturn s;\n\n }", "title": "" }, { "docid": "beb464ef465a8e22d44107fb75b97222", "score": "0.74926984", "text": "public java_cup.runtime.Symbol scan()\r\n throws java.lang.Exception\r\n {\r\n//@@CUPDBG2\n return lexer.next_token(); \r\n }", "title": "" }, { "docid": "919256f3b063eaf99c6104599f233b0a", "score": "0.7474875", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n//@@CUPDBG2\n return lexer.next_token(); \n }", "title": "" }, { "docid": "b1cdbff702d7b9bdcd80c6e4c0c9da22", "score": "0.74721014", "text": "@Override\n public java_cup.runtime.Symbol scan() throws java.lang.Exception {\n return lexer.next_token();\n }", "title": "" }, { "docid": "f2d835dc34f4c51ec9157c953e0fe684", "score": "0.7461589", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "title": "" }, { "docid": "5f9152b8943aadccf82078e118843de0", "score": "0.74350417", "text": "public Symbol scan() throws java.lang.Exception {\n Symbol sym = getScanner().next_token();\n return (sym!=null) ? sym : getSymbolFactory().newSymbol(\"END_OF_FILE\",EOF_sym());\n }", "title": "" }, { "docid": "3dbaf49c7f5aff4280bd804679dbc099", "score": "0.7282759", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n\n Symbol sym = ((GenericScanner) getScanner()).tokenCICS();\n return (sym!=null) ? sym : getSymbolFactory().newSymbol(\"END_OF_FILE\",EOF_sym());\n \n\n }", "title": "" }, { "docid": "ef484bbe901a6fb4ef525c0a95b0456b", "score": "0.70703506", "text": "public java_cup.runtime.Symbol scan() throws java.lang.Exception {\n Symbol x = getScanner().next_token();\n \n if (x.sym != 0 && counter != 0){ //Prints out the [shift] action for the previous token\n System.out.print(\"[shift]\\n\" + x.value);\n }else if (counter == 0){ //Avoids printing a [shift] before the first token is parsed\n System.out.print(x.value);\n counter++;\n }else if( x.sym == 0 && counter == 1){ //Handles the printing of [shift] for the last token read\n System.out.print(\"[shift]\\n\");\n counter++;\n }\n \n return x;\n }", "title": "" }, { "docid": "03f24051e7d22ac29505cc0a1b8c59df", "score": "0.688485", "text": "public Symbol next_token() throws java.lang.Exception;", "title": "" }, { "docid": "284dff32affce0a04ea6b6d29fe2d1a5", "score": "0.65570104", "text": "Symbol getSymbol();", "title": "" }, { "docid": "284dff32affce0a04ea6b6d29fe2d1a5", "score": "0.65570104", "text": "Symbol getSymbol();", "title": "" }, { "docid": "2a3e9caca8567d3c16ffefa3cc3ce4fd", "score": "0.6346074", "text": "private void match(int symbol) throws ScannerException\n {\n \tif (lookahead.sym == symbol) {\n \t\tscanner.advance();\n \t\tlookahead = scanner.peek(); \t\n \t} else {\n \t\tthrow new ScannerException(\"Expected \" + symbol + \" got \" + lookahead.sym);\n \t}\n }", "title": "" }, { "docid": "959d08d8a884ff851355536a05d03f97", "score": "0.63135356", "text": "static public Symbol symbolForName(String name) \n throws NoSuchElementException {\n Symbol s = (Symbol) nameToSymbol.get(name);\n if(s == null) {\n throw new NoSuchElementException(\"Could not find symbol under the name \" + name);\n }\n return s;\n }", "title": "" }, { "docid": "a1576e08085c1464ba6e25353d7e92b1", "score": "0.61684203", "text": "String getSymbol();", "title": "" }, { "docid": "5f437eba87576925e512adbb03d18e37", "score": "0.616247", "text": "char getSymbol();", "title": "" }, { "docid": "c82ca816d5b839664d79078b8940f9d6", "score": "0.6096887", "text": "public Symbol getFirstSymbol() {\n int dateOffset = getFirstDateOffset();\n\n // Loop through each day looking for any symbols\n while(dateOffset <= getLastDateOffset()) {\n List symbols = getSymbols(dateOffset++);\n\n if(symbols.size() > 0)\n return (Symbol)symbols.get(0);\n }\n\n // If we got here there are no symbols in the bundle.\n assert false;\n return null;\n }", "title": "" }, { "docid": "408ba3abd8d8da1d550502e88fc04909", "score": "0.59650135", "text": "public Symbol startSymbol(String name, int id, int state);", "title": "" }, { "docid": "833f1a9e39ee23d21a4e9bc013d72120", "score": "0.5961232", "text": "public String getCurrentSymbol() {\n return this.getSymbolAtIndex(this.headIndex);\n }", "title": "" }, { "docid": "66c395939d2c21f895517c069ca01717", "score": "0.5954796", "text": "public MathSymbol getFirstSymbolByType(MathSymbolType symbolType);", "title": "" }, { "docid": "164e13d18eb76f126137fb6049da5076", "score": "0.5944585", "text": "public abstract T getSymbol();", "title": "" }, { "docid": "df14758d4233168930265844e08c6549", "score": "0.5894379", "text": "com.google.protobuf.ByteString getSymbol();", "title": "" }, { "docid": "df14758d4233168930265844e08c6549", "score": "0.5894379", "text": "com.google.protobuf.ByteString getSymbol();", "title": "" }, { "docid": "18703dacab81d3809b05dd6223746f31", "score": "0.588845", "text": "public void scan() \r\n\t{\r\n \r\n\t\tToken t;\r\n\t\ttry \r\n\t\t{\r\n\t\t\tgetch();\r\n\t\t\tdo\r\n\t\t\t{\r\n\t\t\t\r\n\t\t\t\tt = next();\r\n\t\t\t\r\n\t\t\t\tstream.tokens.add(t);\r\n\t\t\t}\r\n\t\t\twhile(!t.kind.equals(Kind.EOF));\r\n\t\t}\r\n\t\tcatch (IOException e) \r\n\t\t{\r\n\t\t\t\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f667eca20c44de15c412a4e270c27465", "score": "0.58593833", "text": "public abstract String getSymbol();", "title": "" }, { "docid": "9ac6192b15de356c694ffdcf72285fa0", "score": "0.5852748", "text": "public String getSymbol() {\r\n return this.symbol;\r\n }", "title": "" }, { "docid": "9060b7fb43b7bcb892697fb7a71b48a3", "score": "0.58351237", "text": "@NotNull\n @Contract(pure = true)\n String getSymbol();", "title": "" }, { "docid": "d56e90fbe826ead05bc2fbca69780fa7", "score": "0.5782385", "text": "public String getSymbol() {\n return Symbol;\n }", "title": "" }, { "docid": "2a56b9a47bb51b21c282f6001d3742a3", "score": "0.5761582", "text": "public E getSymbol();", "title": "" }, { "docid": "a19764dd1d82746b799b662a38433644", "score": "0.57582796", "text": "public int next(int state, int symbol) {\n Integer nxt = delta[symbol].get(state);\n if (nxt == null) {\n Restaurant r = restaurants.get(symbol);\n Integer dish = (Integer)r.seat(state);\n delta[symbol].put(state, dish);\n return dish;\n } else {\n return nxt;\n }\n }", "title": "" }, { "docid": "689640a1988f1ca977f884043b759f7d", "score": "0.5758025", "text": "public String getSymbol() {\n return symbol;\n }", "title": "" }, { "docid": "06a143526eaa5c4d96831cb6413ba95c", "score": "0.57539856", "text": "public char getSymbol() {\n\t\treturn symbol;\n\t}", "title": "" }, { "docid": "3536ff5fd2957733599ff730bbb24421", "score": "0.5752899", "text": "public IR\n\tnext();", "title": "" }, { "docid": "585bb4b328db2a2d8b49797cda48147b", "score": "0.57326293", "text": "public char getSymbol(){\n\t\treturn symbol;\n\t}", "title": "" }, { "docid": "0ecf85ce35b894fc2f01cfe60a59a874", "score": "0.56872714", "text": "public String getSymbol() {\n\t\treturn symbol;\n\t}", "title": "" }, { "docid": "0ecf85ce35b894fc2f01cfe60a59a874", "score": "0.56872714", "text": "public String getSymbol() {\n\t\treturn symbol;\n\t}", "title": "" }, { "docid": "710bde848b30270b5dc8ebee4874f552", "score": "0.5674442", "text": "public String getSymbol(){\n return this.symbol;\n }", "title": "" }, { "docid": "90ae1dd712a2f99339bf2f994afe6fcd", "score": "0.5665389", "text": "public CharSequence getSymbol() {\n return Symbol;\n }", "title": "" }, { "docid": "6cedaa8018ea7504088c62e425c289dd", "score": "0.56569505", "text": "public java_cup.runtime.Symbol debug_next_token() throws java.io.IOException {\n java_cup.runtime.Symbol s = next_token();\n System.out.println( \"line:\" + (yyline+1) + \" col:\" + (yycolumn+1) + \" --\"+ yytext() + \"--\" + getTokenName(s.sym) + \"--\");\n return s;\n }", "title": "" }, { "docid": "4535ac82a6cc71487288d2706fa268d6", "score": "0.5656087", "text": "public char symbol(){\n return currentchar;\n }", "title": "" }, { "docid": "5b449cbfc7b77c103ecde6cbd38c7f06", "score": "0.5649681", "text": "public void parse() { \n try {\n \tstart();\n } catch (ScannerException ex) {\n \tSystem.out.println(\"Error parsing the supplied input: \" + ex.getMessage());\n \tex.printStackTrace(); \t\n \t}\n //Symbol token = scanner.peek();\n //while (token.sym != sym.EOF) {\n // System.out.println(\"Next token will be \" + token);\n // scanner.advance();\n // token = scanner.peek();\n //}\n }", "title": "" }, { "docid": "18d1e96ba8981e7ebb520f477f6f35a6", "score": "0.564488", "text": "public CharSequence getSymbol() {\n return Symbol;\n }", "title": "" }, { "docid": "b7ce3f9801154534154485e9b0fa79ec", "score": "0.56350124", "text": "public char getSymbol() {\n\t\treturn this.Symbol;\n\t}", "title": "" }, { "docid": "3f8f71ce7eb5f38a0a51eccc4faa6bc2", "score": "0.5614979", "text": "public String getSym()\n {\n return symbol;\n }", "title": "" }, { "docid": "1c4aaa4d9eaa7b8f121d36beaafc7a8c", "score": "0.5611718", "text": "@Override\n public char getSymbol() \n {\n return symbol;\n }", "title": "" }, { "docid": "eb120fa65a1400c1665db2407fee54a4", "score": "0.55971897", "text": "java.lang.String getNext();", "title": "" }, { "docid": "b4334657358e2172893231d377b09960", "score": "0.5590422", "text": "public java_cup.runtime.Symbol debug_next_token() throws java.io.IOException {\n java_cup.runtime.Symbol s = next_token();\n System.out.println(\"line:\" + (yyline + 1) + \" col:\" + (yycolumn + 1) + \" --\" + yytext() + \"--\" + getTokenName(s.sym) + \"--\");\n return s;\n }", "title": "" }, { "docid": "2e18e518084cc7c306d0a512c96f5343", "score": "0.5581037", "text": "public String getSymbol() {\n\t\treturn this.Symbol;\n\t}", "title": "" }, { "docid": "24fb4530e9e5e8465fd49579b7945f9e", "score": "0.5575263", "text": "public java_cup.runtime.Symbol debug_next_token() throws java.io.IOException\n {\n java_cup.runtime.Symbol s = next_token();\n System.out.println(\"line:\" + (yyline + 1) + \" col:\" + (yycolumn + 1) + \" --\" + yytext() + \"--\" + getTokenName(s.sym) + \"--\");\n return s;\n }", "title": "" }, { "docid": "28cce5001aead8647347536528a9fe7e", "score": "0.5514096", "text": "List<Symbol> getSymbols();", "title": "" }, { "docid": "5ccf0d7a644f075e8ad4282dd5943c36", "score": "0.5499429", "text": "public void getNextChar() throws LexicalError{\n //try{\n prevChar = currChar;\n currChar = charStream.currentChar();\n //}\n //catch (LexicalError ex){\n // System.err.println(ex.getMessage());\n // System.exit(1);\n //}\n }", "title": "" }, { "docid": "76c94b3f2fe8f7f64dea05bc145e20a2", "score": "0.54839426", "text": "private Token next() throws IOException {\n char c = scanner.next();\n\n int line = scanner.getLine();\n int col = scanner.getColumn();\n\n // skip white spaces\n if (Character.isWhitespace(c))\n return next();\n\n // Attempt a peak, otherwise fall back to single tokens\n try {\n char peek = scanner.peek();\n String pair = Character.toString(c) + Character.toString(peek);\n\n if (lookaheadMatchers.containsKey(pair)) {\n TokenClass tokenClass = lookaheadMatchers.get(pair);\n return buildTokenPair(pair, tokenClass, line, col);\n }\n\n // There are still comments to consider\n if (pair.equals(\"//\")) return comment(c);\n if (pair.equals(\"/*\")) return multilineComment(c);\n\n } catch (EOFException e) {\n if (line != scanner.getLine() || col != scanner.getColumn())\n // comments have processed some stream, go again\n return next();\n }\n\n\n // Time for single char matches\n if (uniqueMatchers.containsKey(c)) {\n TokenClass tokenClass = uniqueMatchers.get(c);\n return new Token(tokenClass, line, col);\n }\n\n if (Character.isDigit(c)) return number(c);\n\n // Headers\n if (c == '#') return include(c);\n\n // Char\n if (c == '\\'') return character(c);\n\n // String\n if (c == '\"') return stringLiteral(c);\n\n if (Character.isAlphabetic(c) || c == '_') {\n String identifier = identifier(c);\n\n if (identifier.equals(\"int\")) return new Token(TokenClass.INT, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"void\")) return new Token(TokenClass.VOID, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"char\")) return new Token(TokenClass.CHAR, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"if\")) return new Token(TokenClass.IF, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"else\")) return new Token(TokenClass.ELSE, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"while\")) return new Token(TokenClass.WHILE, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"return\")) return new Token(TokenClass.RETURN, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(Token.PRINT_S)) return new Token(TokenClass.PRINT, identifier, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(Token.PRINT_C)) return new Token(TokenClass.PRINT, identifier, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(Token.PRINT_I)) return new Token(TokenClass.PRINT, identifier, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"main\")) return new Token(TokenClass.MAIN, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"read_c\")) return new Token(TokenClass.READ, identifier, scanner.getLine(), scanner.getColumn());\n else if (identifier.equals(\"read_i\")) return new Token(TokenClass.READ, identifier, scanner.getLine(), scanner.getColumn());\n else return new Token(TokenClass.IDENTIFIER, identifier, line, col);\n }\n\n // if we reach this point, it means we did not recognise a valid token\n return error(c, Character.toString(c), line, col);\n }", "title": "" }, { "docid": "980972d37dda3eb721288a5919fcc110", "score": "0.54647005", "text": "private void selectCurrentSymbol() {\n Symbol current = currentAdaptiveLayout[currentRow * ROW_LENGTH + currentColumn];\n if (current == Symbol.SEND) {\n keyboard.sendCurrentBuffer();\n reset();\n } else if (current == Symbol.DICTIONARY) {\n if (!suggestions.isEmpty()) {\n currentSuggestion++;\n currentState = State.SUGGESTION_SELECTION;\n }\n } else if(current == Symbol.CORRECT_WORD){\n keyboard.deleteLastCharacter();\n reset();\n //TODO consider remaining in position instead of returning to start\n } else if(current == Symbol.DELETE_WORD){\n keyboard.deleteLastWord();\n reset();\n //TODO consider remaining in position instead of returning to start\n } else if(current == Symbol.SETTING){\n keyboard.requestChangeSettings();\n reset();\n }\n else {\n keyboard.addToCurrentBuffer(current.getContent());\n reset();\n }\n }", "title": "" }, { "docid": "8ea828586bdfd3b005249c06e9b592d1", "score": "0.54592925", "text": "private Symbol symbol(int type){\n return new Symbol(type, yyline, yycolumn);\n }", "title": "" }, { "docid": "89d19d31f0c71aa2234d02412e7398d2", "score": "0.5453359", "text": "public final Object next() throws NoSuchElementException {\n/* 177 */ return nextHeader();\n/* */ }", "title": "" }, { "docid": "64fbc7b7140c63d7eb067bb75ed85bf8", "score": "0.54459035", "text": "public static Value findBySymbol(char symbol) throws NoSuchElementException {\n Value result = null;\n\n for (Value value : values()) {\n if (value.symbol == symbol) {\n result = value;\n }\n }\n\n if (result == null) {\n throw new NoSuchElementException(\"Aucune valeur trouvée avec ce symbole.\");\n }\n\n return result;\n }", "title": "" }, { "docid": "d22427397ec35b860264b5bb0f27cd8c", "score": "0.54413867", "text": "public void scan() {\r\n\t\t// IMPLEMENT THIS\r\n\t\tfor (int i = 0; i <= stream.inputChars.length; i++) {\r\n\t\t\tswitch (state) {\r\n\t\t\tcase START:\r\n\t\t\t\tif (i == stream.inputChars.length) {\r\n\t\t\t\t\tToken t = stream.new Token(EOF, i, i, linecount);\r\n\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t} else if (Character.isWhitespace(lookup(i))) {\r\n\t\t\t\t\tbeg++;\r\n\t\t\t\t\tif (lookup(i) == 10) {\r\n\t\t\t\t\t\t// If the input char is LF, increment the linecount\r\n\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t} else if (lookup(i) == 13) {\r\n\t\t\t\t\t\t// If the input char is a CR, look ahead and see if you\r\n\t\t\t\t\t\t// have a LF\r\n\t\t\t\t\t\t// If the next char is a LF, increment i by 1\r\n\t\t\t\t\t\tif (lookup(i + 1) == 10) {\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// Increment linecount\r\n\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (lookup(i) == '/') {\r\n\t\t\t\t\tbeg++;\r\n\t\t\t\t\tif (stream.inputChars.length != i + 1\r\n\t\t\t\t\t\t\t&& lookup(i + 1) == '*') {\r\n\t\t\t\t\t\tstate = FSA_STATES.COMMENT;\r\n\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tToken t = stream.new Token(DIV, i, i + 1, linecount);\r\n\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (Character.isDigit(lookup(i))) {\r\n\t\t\t\t\tif (stream.inputChars[i] == '0') {\r\n\t\t\t\t\t\tToken t = stream.new Token(INT_LIT, i, i + 1, linecount);\r\n\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tstate = FSA_STATES.DIGIT;\r\n\t\t\t\t\t\tbeg = i;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (Character.isJavaIdentifierStart(lookup(i))) {\r\n\t\t\t\t\tstate = FSA_STATES.IDENT;\r\n\t\t\t\t\tbeg = i;\r\n\t\t\t\t} else if (isSeparator(stream.inputChars[i])) {\r\n\t\t\t\t\tKind k = getSeparator(stream.inputChars[i]);\r\n\t\t\t\t\tif (k == ILLEGAL_CHAR) {\r\n\t\t\t\t\t\tSystem.out.println(\"There is a bug. Fix it!!\");\r\n\t\t\t\t\t\tSystem.out.println(Thread.currentThread()\r\n\t\t\t\t\t\t\t\t.getStackTrace());\r\n\t\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t\t} else if (k == DOT) {\r\n\t\t\t\t\t\tif (lookup(i + 1) == '.') {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(RANGE, i, i + 2,\r\n\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(k, i, i + 1, linecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tToken t = stream.new Token(k, i, i + 1, linecount);\r\n\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (isOperator(stream.inputChars[i])) {\r\n\t\t\t\t\tKind k = getOperator(stream.inputChars[i]);\r\n\t\t\t\t\tif (k == ASSIGN) {\r\n\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(EQUAL, i, i + 2,\r\n\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (k == NOT) {\r\n\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(NOTEQUAL, i, i + 2,\r\n\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (k == LT) {\r\n\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(LE, i, i + 2, linecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t} else if (lookup(i + 1) == '<') {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(LSHIFT, i, i + 2,\r\n\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (k == GT) {\r\n\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(GE, i, i + 2, linecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t} else if (lookup(i + 1) == '>') {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(RSHIFT, i, i + 2,\r\n\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (k == MINUS) {\r\n\t\t\t\t\t\tif (lookup(i + 1) == '>') {\r\n\t\t\t\t\t\t\tToken t = stream.new Token(ARROW, i, i + 2,\r\n\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (k == ILLEGAL_CHAR) {\r\n\t\t\t\t\t\tSystem.out.println(\"There is a bug. Fix it!\");\r\n\t\t\t\t\t\tSystem.out.println(Thread.currentThread()\r\n\t\t\t\t\t\t\t\t.getStackTrace());\r\n\t\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tToken t = stream.new Token(k, i, i + 1, linecount);\r\n\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t} else if (lookup(i) == '\"') {\r\n\t\t\t\t\tbeg = i;\r\n\t\t\t\t\tstring_beg = linecount;\r\n\t\t\t\t\tstate = FSA_STATES.STRING_LIT;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tToken t = stream.new Token(ILLEGAL_CHAR, i, i + 1,\r\n\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\tbeg++;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase COMMENT:\r\n\t\t\t\tif (i == stream.inputChars.length) {\r\n\t\t\t\t\tif (beg == 0) {\r\n\t\t\t\t\t\tToken t1 = stream.new Token(UNTERMINATED_COMMENT, beg,\r\n\t\t\t\t\t\t\t\ti, linecount);\r\n\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tToken t1 = stream.new Token(UNTERMINATED_COMMENT,\r\n\t\t\t\t\t\t\t\tbeg - 2, i, linecount);\r\n\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tToken t2 = stream.new Token(EOF, i, i, linecount);\r\n\t\t\t\t\tstream.tokens.add(t2);\r\n\t\t\t\t} else if (lookup(i) == '*' && lookup(i + 1) == '/') {\r\n\t\t\t\t\tstate = FSA_STATES.START;\r\n\t\t\t\t\tbeg += 2;\r\n\t\t\t\t\ti++;\r\n\t\t\t\t} else if (Character.isWhitespace(stream.inputChars[i])) {\r\n\t\t\t\t\tif (lookup(i) == 10) {\r\n\t\t\t\t\t\t// If the input char is LF, increment the linecount\r\n\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t} else if (lookup(i) == 13) {\r\n\t\t\t\t\t\t// If the input char is a CR, look ahead and see if you\r\n\t\t\t\t\t\t// have a LF\r\n\t\t\t\t\t\t// If the next char is a LF, increment i by 1\r\n\t\t\t\t\t\tif (lookup(i + 1) == 10) {\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// Increment linecount\r\n\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tbeg++;\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase DIGIT:\r\n\t\t\t\tif (i == stream.inputChars.length) {\r\n\t\t\t\t\tToken t = stream.new Token(INT_LIT, beg, i, linecount);\r\n\t\t\t\t\tToken t2 = stream.new Token(EOF, i, i, linecount);\r\n\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\tstream.tokens.add(t2);\r\n\t\t\t\t} else if (!Character.isDigit(lookup(i))) {\r\n\t\t\t\t\tToken t = stream.new Token(INT_LIT, beg, i, linecount);\r\n\t\t\t\t\tbeg = i;\r\n\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\tstate = FSA_STATES.START;\r\n\r\n\t\t\t\t\tif (Character.isWhitespace(stream.inputChars[i])) {\r\n\t\t\t\t\t\tif (Character.isWhitespace(lookup(i))) {\r\n\t\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\t\tif (lookup(i) == 10) {\r\n\t\t\t\t\t\t\t\t// If the input char is LF, increment the\r\n\t\t\t\t\t\t\t\t// linecount\r\n\t\t\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t\t\t} else if (lookup(i) == 13) {\r\n\t\t\t\t\t\t\t\t// If the input char is a CR, look ahead and see\r\n\t\t\t\t\t\t\t\t// if you have a LF\r\n\t\t\t\t\t\t\t\t// If the next char is a LF, increment i by 1\r\n\t\t\t\t\t\t\t\tif (lookup(i + 1) == 10) {\r\n\t\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t// Increment linecount\r\n\t\t\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (Character.isJavaIdentifierStart(lookup(i))) {\r\n\t\t\t\t\t\tstate = FSA_STATES.IDENT;\r\n\t\t\t\t\t} else if (lookup(i) == '/') {\r\n\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\tif (stream.inputChars.length != i + 1\r\n\t\t\t\t\t\t\t\t&& lookup(i + 1) == '*') {\r\n\t\t\t\t\t\t\tstate = FSA_STATES.COMMENT;\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tToken t1 = stream.new Token(DIV, i, i + 1,\r\n\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (lookup(i) == '\"') {\r\n\t\t\t\t\t\tbeg = i;\r\n\t\t\t\t\t\tstring_beg = linecount;\r\n\t\t\t\t\t\tstate = FSA_STATES.STRING_LIT;\r\n\t\t\t\t\t} else if (isSeparator(stream.inputChars[i])) {\r\n\t\t\t\t\t\tKind k = getSeparator(stream.inputChars[i]);\r\n\t\t\t\t\t\tif (k == ILLEGAL_CHAR) {\r\n\t\t\t\t\t\t\tSystem.out.println(\"There is a bug. Fix it!!\");\r\n\t\t\t\t\t\t\tSystem.out.println(Thread.currentThread()\r\n\t\t\t\t\t\t\t\t\t.getStackTrace());\r\n\t\t\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t\t\t} else if (k == DOT) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '.') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(RANGE, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(k, i, i + 1,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tToken t1 = stream.new Token(k, i, i + 1, linecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (isOperator(stream.inputChars[i])) {\r\n\t\t\t\t\t\tKind k = getOperator(stream.inputChars[i]);\r\n\t\t\t\t\t\tif (k == ASSIGN) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(EQUAL, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == NOT) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(NOTEQUAL, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == LT) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(LE, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t} else if (lookup(i + 1) == '<') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(LSHIFT, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == GT) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(GE, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t} else if (lookup(i + 1) == '>') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(RSHIFT, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == MINUS) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '>') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(ARROW, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == ILLEGAL_CHAR) {\r\n\t\t\t\t\t\t\tSystem.out.println(\"There is a bug. Fix it!\");\r\n\t\t\t\t\t\t\tSystem.out.println(Thread.currentThread()\r\n\t\t\t\t\t\t\t\t\t.getStackTrace());\r\n\t\t\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tToken t1 = stream.new Token(k, i, i + 1, linecount);\r\n\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tToken t1 = stream.new Token(ILLEGAL_CHAR, i, i + 1,\r\n\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase IDENT:\r\n\t\t\t\tif (i == stream.inputChars.length) {\r\n\t\t\t\t\tToken t1 = stream.new Token(getKeywordLit(String.valueOf(\r\n\t\t\t\t\t\t\tstream.inputChars, beg, i - beg)), beg, i,\r\n\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\tToken t2 = stream.new Token(EOF, i, i, linecount);\r\n\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\tstream.tokens.add(t2);\r\n\t\t\t\t} else if (!Character.isJavaIdentifierPart(lookup(i))) {\r\n\t\t\t\t\tToken t = stream.new Token(getKeywordLit(String.valueOf(\r\n\t\t\t\t\t\t\tstream.inputChars, beg, i - beg)), beg, i,\r\n\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\tbeg = i;\r\n\t\t\t\t\tstream.tokens.add(t);\r\n\t\t\t\t\tstate = FSA_STATES.START;\r\n\r\n\t\t\t\t\tif (Character.isWhitespace(stream.inputChars[i])) {\r\n\t\t\t\t\t\tif (Character.isWhitespace(lookup(i))) {\r\n\t\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\t\tif (lookup(i) == 10) {\r\n\t\t\t\t\t\t\t\t// If the input char is LF, increment the\r\n\t\t\t\t\t\t\t\t// linecount\r\n\t\t\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t\t\t} else if (lookup(i) == 13) {\r\n\t\t\t\t\t\t\t\t// If the input char is a CR, look ahead and see\r\n\t\t\t\t\t\t\t\t// if you have a LF\r\n\t\t\t\t\t\t\t\t// If the next char is a LF, increment i by 1\r\n\t\t\t\t\t\t\t\tif (lookup(i + 1) == 10) {\r\n\t\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t// Increment linecount\r\n\t\t\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (lookup(i) == '/') {\r\n\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\tif (stream.inputChars.length != i + 1\r\n\t\t\t\t\t\t\t\t&& lookup(i + 1) == '*') {\r\n\t\t\t\t\t\t\tstate = FSA_STATES.COMMENT;\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tToken t1 = stream.new Token(DIV, i, i + 1,\r\n\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (lookup(i) == '\"') {\r\n\t\t\t\t\t\tbeg = i;\r\n\t\t\t\t\t\tstring_beg = linecount;\r\n\t\t\t\t\t\tstate = FSA_STATES.STRING_LIT;\r\n\t\t\t\t\t} else if (isSeparator(stream.inputChars[i])) {\r\n\t\t\t\t\t\tKind k = getSeparator(stream.inputChars[i]);\r\n\t\t\t\t\t\tif (k == ILLEGAL_CHAR) {\r\n\t\t\t\t\t\t\tSystem.out.println(\"There is a bug. Fix it!!\");\r\n\t\t\t\t\t\t\tSystem.out.println(Thread.currentThread()\r\n\t\t\t\t\t\t\t\t\t.getStackTrace());\r\n\t\t\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t\t\t} else if (k == DOT) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '.') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(RANGE, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(k, i, i + 1,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tToken t1 = stream.new Token(k, i, i + 1, linecount);\r\n\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (isOperator(stream.inputChars[i])) {\r\n\t\t\t\t\t\tKind k = getOperator(stream.inputChars[i]);\r\n\t\t\t\t\t\tif (k == ASSIGN) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(EQUAL, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == NOT) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(NOTEQUAL, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == LT) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(LE, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t} else if (lookup(i + 1) == '<') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(LSHIFT, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == GT) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '=') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(GE, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t} else if (lookup(i + 1) == '>') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(RSHIFT, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == MINUS) {\r\n\t\t\t\t\t\t\tif (lookup(i + 1) == '>') {\r\n\t\t\t\t\t\t\t\tToken t1 = stream.new Token(ARROW, i, i + 2,\r\n\t\t\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t\t\tbeg = beg + 1;\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else if (k == ILLEGAL_CHAR) {\r\n\t\t\t\t\t\t\tSystem.out.println(\"There is a bug. Fix it!\");\r\n\t\t\t\t\t\t\tSystem.out.println(Thread.currentThread()\r\n\t\t\t\t\t\t\t\t\t.getStackTrace());\r\n\t\t\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tToken t1 = stream.new Token(k, i, i + 1, linecount);\r\n\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tToken t1 = stream.new Token(ILLEGAL_CHAR, i, i + 1,\r\n\t\t\t\t\t\t\t\tlinecount);\r\n\t\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\t\tbeg++;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase STRING_LIT:\r\n\t\t\t\tif (i == stream.inputChars.length) {\r\n\t\t\t\t\tToken t1 = stream.new Token(UNTERMINATED_STRING, beg, i,\r\n\t\t\t\t\t\t\tstring_beg);\r\n\t\t\t\t\tToken t2 = stream.new Token(EOF, i, i, linecount);\r\n\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\tstream.tokens.add(t2);\r\n\t\t\t\t} else if (lookup(i) == '\"' && lookup(i - 1) != '\\\\') {\r\n\t\t\t\t\tToken t1 = stream.new Token(STRING_LIT, beg, i + 1,\r\n\t\t\t\t\t\t\tstring_beg);\r\n\t\t\t\t\tstream.tokens.add(t1);\r\n\t\t\t\t\tstate = FSA_STATES.START;\r\n\t\t\t\t} else if (Character.isWhitespace(stream.inputChars[i])) {\r\n\t\t\t\t\tif (lookup(i) == 10) {\r\n\t\t\t\t\t\t// If the input char is LF, increment the linecount\r\n\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t} else if (lookup(i) == 13) {\r\n\t\t\t\t\t\t// If the input char is a CR, look ahead and see if you\r\n\t\t\t\t\t\t// have a LF\r\n\t\t\t\t\t\t// If the next char is a LF, increment i by 1\r\n\t\t\t\t\t\tif (lookup(i + 1) == 10) {\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// Increment linecount\r\n\t\t\t\t\t\tlinecount++;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tSystem.out.println(\"There is a bug in the code. Fix it!!\");\r\n\t\t\t\tSystem.out.println(Thread.currentThread().getStackTrace());\r\n\t\t\t\tSystem.exit(1);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b73ae498bc03b48a77e4e961e3f9a046", "score": "0.54378176", "text": "public Symbol retrieveSymbol(String key)\n {\n Symbol found = null;\n \n // the loop direction (bottom-top or top-bottom) on the stack doesnt matter,\n // when we dont allow multiple variables in different scopes with the same name.\n for (Iterator<Scope> it = scopes.iterator(); it.hasNext() && found == null; ) {\n Scope scope = it.next();\n \n if(scope.localSymbols.containsKey(key))\n found = scope.localSymbols.get(key);\n }\n return found;\n }", "title": "" }, { "docid": "e769ef87c7b1408c17781ed2d116f13e", "score": "0.5417646", "text": "public int next();", "title": "" }, { "docid": "25b6c1d5607562aa6daf618d682e5f10", "score": "0.5415394", "text": "<T extends Symbol> T getSymbol(Class<T> kind, String key);", "title": "" }, { "docid": "43ab3be2a86b2dd4945fe42f14eadcea", "score": "0.5398946", "text": "public interface Symbol {\n\n SymbolType getType();\n}", "title": "" }, { "docid": "ce47f84e2317a5266c1e3584e3a282a1", "score": "0.5397034", "text": "public String next() {\n try {\n String line;\n if (forward) {\n line = ps.getLine(startingLine);\n lastReturnedLine = startingLine;\n startingLine++;\n } else {\n if (isFirst) {\n line = ps.getLineContentsToCursor();\n isFirst = false;\n }else{\n line = ps.getLine(startingLine);\n }\n lastReturnedLine = startingLine;\n startingLine--;\n }\n return line;\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "c56f2c55b58559bc16f53c2e111d1dba", "score": "0.53835726", "text": "String getSymbolName();", "title": "" }, { "docid": "f65a485fd3b81eda4386c630636f674c", "score": "0.5379015", "text": "public AstNodeSymbol getSymbol(final int key) {\n\t\treturn nodeAlphabet.get(key);\n\t}", "title": "" }, { "docid": "2604d23deb402e0d449e28f16088c49e", "score": "0.5369974", "text": "public Scanner scan() throws LexicalException {\n\t\tpos = 0;\n\t\tline = 1;\n\t\tposInLine = 1;\n\t\t//tokens.add(new Token(Kind.EOF, pos, 0, line, posInLine));\n\t\tstate = State.START;\n\t\t\n\t\twhile(pos<chars.length){\n\t\t\t\n\t\t\tchar cur = chars[pos];\n\t\t\t\n\t\t\tswitch(state){\n\t\t\t\tcase START: ProcessStart(cur);\n\t\t\t\t\tbreak;\n\t\t\t\tcase COMMENT: ProcessComment(cur);\n\t\t\t\t\tbreak;\n\t\t\t\tcase COMMENT_INTERMEDIATE: \n\t\t\t\t\tProcessCommentIntermediate(cur);\n\t\t\t\t\tbreak;\n\t\t\t\tcase NEW_LINE_INTERMEDIATE:\n\t\t\t\t\tProcessNewLineIntermediate(cur);\n\t\t\t\t\tbreak;\n\t\t\t\tcase IDENTIFIER:\n\t\t\t\t\tProcessIdentifier(cur);\n\t\t\t\t\tbreak;\n\t\t\t\tcase DIGIT:\n\t\t\t\t\tProcessDigit(cur);\n\t\t\t\t\tbreak;\n\t\t\t\tcase STRING:\n\t\t\t\t\tProcessStringLiteral(cur);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new LexicalException(\"no state reachable from start state:: pos:\" + pos + \" at line \" + line + \" : pos in lno : \"+ posInLine, cur);\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\tif(state != State.START){\n\t\t\tthrow new LexicalException(\"last token incomplete\" + (pos-1) + \" at line \" + line,pos-1);\n\t\t}\n\t\telse{\n\t\t\ttokens.add(new Token(Kind.EOF, pos-1, 0, line, posInLine-1));\n\t\t}\n\t\treturn this;\n\n\t}", "title": "" }, { "docid": "a40bd4cc065c0a19087722ac8d843b2d", "score": "0.53679854", "text": "public com.google.protobuf.ByteString getSymbol() {\n return symbol_;\n }", "title": "" }, { "docid": "a40bd4cc065c0a19087722ac8d843b2d", "score": "0.53679854", "text": "public com.google.protobuf.ByteString getSymbol() {\n return symbol_;\n }", "title": "" }, { "docid": "84ba5c20a94b72111eb6d9ab5d03389c", "score": "0.53603715", "text": "private char next()\n {\n char c = regEx.charAt(0);\n regEx = regEx.substring(1);\n return c;\n }", "title": "" }, { "docid": "82409c2c404965954a944fc8b51448a4", "score": "0.53384", "text": "void next();", "title": "" }, { "docid": "712622bbc5940ad3671c16166b3d7d73", "score": "0.53371716", "text": "public ISymbol getSymbol(Identifier identifier,ISymbol scope);", "title": "" }, { "docid": "6cc589009ed8fe51a30d7baa3de5ff94", "score": "0.53306603", "text": "String nextToken();", "title": "" }, { "docid": "243d3d80896a8e8208a23b037e5537a4", "score": "0.5326533", "text": "public static char guess(){\n Scanner lineScan=new Scanner(System.in);\n char yourSymbol=lineScan.next().charAt(0);\n return yourSymbol;\n }", "title": "" }, { "docid": "c6b4548ad7ce1c24776bc91d7b2ac853", "score": "0.53150594", "text": "public com.google.protobuf.ByteString getSymbol() {\n return symbol_;\n }", "title": "" }, { "docid": "c6b4548ad7ce1c24776bc91d7b2ac853", "score": "0.53150594", "text": "public com.google.protobuf.ByteString getSymbol() {\n return symbol_;\n }", "title": "" }, { "docid": "1cbbbc6d2feda6f5139a72d133b5cb76", "score": "0.5308844", "text": "@Field(15) \n\tpublic Pointer<AVCodec > next() {\n\t\treturn this.io.getPointerField(this, 15);\n\t}", "title": "" }, { "docid": "1a78dc0fc4b505139877cba24faea031", "score": "0.52922064", "text": "private String getSymbol(String text) {\n\t\ttry {\n\t\t\tfor (Entry<String, Pattern> e : mySymbols) {\n\t\t\t\tif (match(text, e.getValue())) {\n\t\t\t\t\treturn e.getKey();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tnew SlogoException(Controller.getErrorBundle().getString(\"SyntaxError\"));\n\t\t}\n\t\t// Indicates syntax error\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9d4bb6e4b82024d920ff46659fc47b6a", "score": "0.52910626", "text": "private int nextToken() throws XNIException {\n if (fCurrentTokenIndex == fTokenCount)\n reportError(\"XPointerElementSchemeProcessingError\", null);\n return fTokens[fCurrentTokenIndex++];\n }", "title": "" }, { "docid": "f16c696b59fe700b9c0e146a8d6da044", "score": "0.52906024", "text": "public char next() {\n if (more()) {\n char c = this.mySource.charAt(this.myIndex);\n this.myIndex += 1;\n return c;\n }\n return 0;\n }", "title": "" }, { "docid": "b7ba341ae5a60e10a84ec0e0a165bf1e", "score": "0.5287325", "text": "Symbol.TypeSymbol symbol();", "title": "" }, { "docid": "d0a029485dc540a6a02fd34d2d041f44", "score": "0.5279962", "text": "Object next();", "title": "" }, { "docid": "3ffee69af829c2b68df966dbb6f849c1", "score": "0.5279548", "text": "void next(){}", "title": "" }, { "docid": "675b5a978edb751910552da466854f14", "score": "0.52670133", "text": "public Object next();", "title": "" }, { "docid": "d17e881bfdd1723e4758c46f8ebdfce7", "score": "0.5265474", "text": "public SymbolTableCell getSymbol(String name) {\n\n\t\tListIterator<SymbolTableCell> iter = symList.listIterator();\n\t\tSymbolTableCell currentCell;\n\t\tSymbolTableCell returnCell = null; // first fields are assigned then when found it will be overwritten with local vars\n\n\t\twhile (iter.hasNext()) {\n\n\t\t\tcurrentCell = iter.next();\n\t\t\t/* find vars in current scope */\n\t\t\tif (currentCell.getName().equals(name)) {\n\t\t\t\treturnCell = currentCell;\n\t\t\t\t/*when var is a method then only search the global list and skip last local*/\n\t\t\t\tif (returnCell.getClassType() == SymbolTableCell.ClassType.method)\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t/*search local vars*/\n\t\t\tif (!fetchGlobalOnly && currentCell.getClassType() == SymbolTableCell.ClassType.method && !iter.hasNext()) {\n\t\t\t\tSymbolTableCell tmp = currentCell.methodSymbols.getSymbol(name);\n\t\t\t\tif (tmp != null)\n\t\t\t\t\treturnCell = tmp;\n\t\t\t}\n\t\t}\n\n\t\treturn returnCell;\n\t}", "title": "" }, { "docid": "9219914d1242ba93843c33d69fb27d16", "score": "0.52590114", "text": "public String nextToken() throws IOException\n {\n if(eof)\n {\n return \"END OF FILE UNIQUEBYTECODETHATSHOULDNOTBEREPLICATED ERROR3506618469\";\n }\n\n if(isDigit(currentChar)) return scanNumber();\n else if(isLetter(currentChar)) return scanIdentifier();\n else if(currentChar == '/') return scanComment();\n else if(isWhiteSpace(currentChar)) return scanWhiteSpaces();\n else if(isSpecialCharacter(currentChar)) return scanOperator();\n else if(currentChar == '.') return \".\";\n throw new IOException(\"Does Not Know This Character: \" + currentChar);\n }", "title": "" }, { "docid": "66992c2481afdfa4d1c458ec81c66177", "score": "0.52394056", "text": "@Override\n\t\tpublic Vehicle next() {\n\t\t\tif(cursor == null) {\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\t}\n\t\t\tVehicle data = cursor.v;\n\t\t\tcursor = cursor.next;\n\t\t\treturn data;\n\t\t}", "title": "" }, { "docid": "d1fd383da6f39578b3dcc91c20effffc", "score": "0.5236231", "text": "public void getNextSignificantChar()throws LexicalError{\n char aChar = ' ';\n //try{\n while (aChar == ' '){\n aChar = charStream.currentChar();\n }\n prevChar = currChar;\n currChar = aChar;\n //}\n //catch (LexicalError ex){\n // System.err.println(ex.getMessage());\n // System.exit(1);\n //}\n }", "title": "" }, { "docid": "19659190b2c99ccb5cb04b11731ed0dc", "score": "0.52310693", "text": "private Scanner(SymbolTable symbolTable) {\n // save pool and tokens\n fSymbolTable = symbolTable;\n\n }", "title": "" }, { "docid": "cec9fafd0fae40cbf194adcc7e37f9b6", "score": "0.52284646", "text": "public void scan(Scanner s) {\n int c;\n\n switch (s.ch) {\n case EOI:\n s.token = EOI;\n return;\n\n case '0':\n if (s.lookahead(0) == 'x' || s.lookahead(0) == 'X') {\n s.nextchar();\n scanHexadecimal(s);\n } else {\n scanNumber(s);\n }\n return;\n\n case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n scanNumber(s);\n return;\n\n case '.':\n c = s.lookahead(0);\n if (c >= '0' && c <= '9') {\n sp = 0;\n putc('.');\n s.nextchar();\n scanReal(s);\n return;\n }\n break;\n\n case '#':\n if (s.lookahead(0) == '\\'') {\n s.nextchar();\n scanCharacter(s);\n return;\n }\n break;\n\n default:\n if (allow_keywords && Character.isJavaIdentifierStart(s.ch)) {\n scanIdentifier(s);\n return;\n }\n break;\n }\n\n Operator accept = null;\n int last = s.next;\n int lastch = s.ch;\n int lastpos = s.pos;\n\n State t = start;\n while (s.ch != EOI && (t = dispatch(t, s.ch)) != null) {\n s.nextchar();\n if (t.accept != null) {\n // save state for this accepted operator\n accept = t.accept;\n last = s.next;\n lastch = s.ch;\n lastpos = s.pos;\n }\n }\n\n // reset position\n s.next = last;\n s.ch = lastch;\n s.pos = lastpos;\n\n if (accept != null) {\n s.operator = accept;\n s.token = accept.token;\n } else {\n if (s.ch == '\\'' || s.ch == '\"') {\n scanString(s);\n } else if (Character.isJavaIdentifierStart(s.ch)) {\n scanIdentifier(s);\n } else {\n s.token = UNKNOWN;\n }\n }\n }", "title": "" }, { "docid": "30a2f4b77315755c96fa6234f2f2301d", "score": "0.52133876", "text": "private int getSingleSymbolMark(String symbol) {\n\t\tswitch(symbol) {\n\n\t\t\tcase \",\": return 32; // TCOMA\n\t\t\tcase \"[\": return 33; // TLBRK\n\t\t\tcase \"]\": return 34; // TRBRK\n\t\t\tcase \"(\": return 35; // TLPAR\n\t\t\tcase \")\": return 36; // TRPAR\t\n\t\t\tcase \"=\": return 37; // TEQUL\n\t\t\tcase \"+\": return 38; // TPLUS\n\t\t\tcase \"-\": return 39; // TMINS\n\t\t\tcase \"*\": return 40; // TSTAR\n\t\t\tcase \"/\": return 41; // TDIVD\n\t\t\tcase \"%\": return 42; // TPERC\n\t\t\tcase \"^\": return 43; // TCART\n\t\t\tcase \"<\": return 44; // TLESS\n\t\t\tcase \">\": return 45; // TGRTR\t\n\t\t\tcase \":\": return 46; // TCOLN\n\t\t\t\t\t\t\t\t // 47 - 55 couple Symbol\n\t\t\tcase \";\": return 56; // TSEMI\n\t\t\tcase \".\": return 57; // TDOT\t\t\n\t\t\t\n\t\t}\n\t\treturn 62; // TUNDF Undefined\n\t}", "title": "" }, { "docid": "227bc6e8cf13cef3298806ea60f7250a", "score": "0.52043813", "text": "public void scan();", "title": "" }, { "docid": "bec59b6b4b2668c0e2900c3e72fbee02", "score": "0.51991516", "text": "public Symbol findSymbol(String symbolId) {\n for (Symbol symbol : symbolsStack.peek()) {\n if (symbol.getIndentificator().compareTo(symbolId) == 0) {\n return symbol;\n }\n }\n\t for(int i = symbolsStack.size() - 1; i > 0; i--){\n for (Symbol symbol : symbolsStack.get(i)) {\n if (symbol.getIndentificator().compareTo(symbolId) == 0) {\n return symbol;\n }\n }\n }\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "696957bc4c963b75da3a7cff6ba85f3d", "score": "0.51949435", "text": "public String getNextCodAmbitGeogr() ;", "title": "" }, { "docid": "9d99dfc592cca2086b48d69939eeef17", "score": "0.5181867", "text": "public char next() {\n return this.queue.charAt(this.pointer);\n }", "title": "" }, { "docid": "70e7f2c0469595c0a7732bbf1e70b9e8", "score": "0.5181804", "text": "private int scanToken() {\n char ch;\n int scanned = 0;\n\n if (eol()) return 0;\n if (openComment) {\n prefetchedType = BLOCK_COMMENT;\n if (blockComment.length > 2) return readDoubleBlockComment();\n else return readSingleBlockComment();\n } // end if\n ch = read();\n scanned++;\n if (isToken(ch)) {\n if (ch == stringQuote) {\n scanned += readStringLiteral();\n prefetchedType = STRING_LITERAL;\n return scanned;\n } else if (ch == charQuote) {\n scanned += readCharLiteral();\n prefetchedType = CHAR_LITERAL;\n return scanned;\n } else if ((ch == eolComment[0]) && (\n (eolComment.length == 1) ||\n (!eol() && (readUnconsumed() == eolComment[1]))\n )) {\n scanned += readEOLComment();\n prefetchedType = EOL_COMMENT;\n return scanned;\n } else if ((ch == blockComment[0]) && (\n (blockComment.length == 2) ||\n (!eol() && (readUnconsumed() == blockComment[1]))\n )) {\n if (blockComment.length > 2) {\n read();\n scanned++;\n scanned += readDoubleBlockComment();\n }\n else {\n scanned += readSingleBlockComment();\n } // end if\n prefetchedType = BLOCK_COMMENT;\n return scanned;\n } else {\n prefetchedType = NORMAL_TEXT;\n return scanned;\n } // end if\n }\n else {\n int start = offset;\n do {\n ch = read();\n } while (!isToken(ch));\n unRead();\n scanned += offset-start;\n if (isKeyword(array,start-1,scanned))\n prefetchedType = KEYWORD;\n else\n prefetchedType = NORMAL_TEXT;\n // end if\n return scanned;\n } // end if\n }", "title": "" }, { "docid": "21cdf6e8f72718cc79acecc62e6fb92e", "score": "0.51805425", "text": "private void _scantype() {\n pop();\n }", "title": "" }, { "docid": "32a01d1e27c1051e87c8e41c3e4bc5fc", "score": "0.51795477", "text": "private void nextTerminal() {\n\t\tif (currentTerminal != '$') {\n\t\t\tcurrentTerminal = readChar();\n\t\t}\n\t}", "title": "" }, { "docid": "675df642d5c6e168fc5bf5c5bc8ed87e", "score": "0.5170684", "text": "public String next()\n/* */ {\n/* 180 */ this.spec = this.nextSpec;\n/* 181 */ this.isSpecLocale = this.isNextLocale;\n/* 182 */ setupNext();\n/* 183 */ return this.spec;\n/* */ }", "title": "" } ]
eb74c547c892975f70daa6ceb45fe092
$ANTLR end "rule__Table__Group__10" $ANTLR start "rule__Table__Group__10__Impl" ../at.ac.tuwien.big.forms.form.ui/srcgen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2582:1: rule__Table__Group__10__Impl : ( ( rule__Table__EditingFormAssignment_10 ) ) ;
[ { "docid": "746eb259aee9355cbc14e01469cf4361", "score": "0.75544494", "text": "public final void rule__Table__Group__10__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2586:1: ( ( ( rule__Table__EditingFormAssignment_10 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2587:1: ( ( rule__Table__EditingFormAssignment_10 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2587:1: ( ( rule__Table__EditingFormAssignment_10 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2588:1: ( rule__Table__EditingFormAssignment_10 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getEditingFormAssignment_10()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2589:1: ( rule__Table__EditingFormAssignment_10 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2589:2: rule__Table__EditingFormAssignment_10\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__EditingFormAssignment_10_in_rule__Table__Group__10__Impl5241);\r\n rule__Table__EditingFormAssignment_10();\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.getTableAccess().getEditingFormAssignment_10()); \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": "ba8eeb09830225596f059381e705d2d5", "score": "0.77222735", "text": "public final void rule__Table__Group__10() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2575:1: ( rule__Table__Group__10__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2576:2: rule__Table__Group__10__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__10__Impl_in_rule__Table__Group__105214);\r\n rule__Table__Group__10__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": "f94051078d9228522bf82f4dda6c9403", "score": "0.69173205", "text": "public final void rule__Table__Group__6__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2467:1: ( ( ( rule__Table__Group_6__0 )* ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2468:1: ( ( rule__Table__Group_6__0 )* )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2468:1: ( ( rule__Table__Group_6__0 )* )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2469:1: ( rule__Table__Group_6__0 )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getGroup_6()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2470:1: ( rule__Table__Group_6__0 )*\r\n loop15:\r\n do {\r\n int alt15=2;\r\n alt15 = dfa15.predict(input);\r\n switch (alt15) {\r\n \tcase 1 :\r\n \t // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2470:2: rule__Table__Group_6__0\r\n \t {\r\n \t pushFollow(FollowSets000.FOLLOW_rule__Table__Group_6__0_in_rule__Table__Group__6__Impl4999);\r\n \t rule__Table__Group_6__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 loop15;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTableAccess().getGroup_6()); \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": "69e07a9e7b5e713004df395544ce3f19", "score": "0.68419135", "text": "public final void rule__Table__Group__8__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2525:1: ( ( '}' ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2526:1: ( '}' )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2526:1: ( '}' )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2527:1: '}'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getRightCurlyBracketKeyword_8()); \r\n }\r\n match(input,21,FollowSets000.FOLLOW_21_in_rule__Table__Group__8__Impl5121); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTableAccess().getRightCurlyBracketKeyword_8()); \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": "0fda28523c247b7f4826fe0f7e25dff4", "score": "0.6782316", "text": "public final void rule__Table__Group_6__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2654:1: ( rule__Table__Group_6__1__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2655:2: rule__Table__Group_6__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group_6__1__Impl_in_rule__Table__Group_6__15353);\r\n rule__Table__Group_6__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": "9fe69c14570f1b92abef04c5012a743d", "score": "0.67701447", "text": "public final void rule__Table__Group__9() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2544:1: ( rule__Table__Group__9__Impl rule__Table__Group__10 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2545:2: rule__Table__Group__9__Impl rule__Table__Group__10\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__9__Impl_in_rule__Table__Group__95152);\r\n rule__Table__Group__9__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__10_in_rule__Table__Group__95155);\r\n rule__Table__Group__10();\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": "96542020fbc400a743b7a24abdcf72f8", "score": "0.67656666", "text": "public final void rule__Table__Group__8() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2513:1: ( rule__Table__Group__8__Impl rule__Table__Group__9 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2514:2: rule__Table__Group__8__Impl rule__Table__Group__9\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__8__Impl_in_rule__Table__Group__85090);\r\n rule__Table__Group__8__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__9_in_rule__Table__Group__85093);\r\n rule__Table__Group__9();\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": "c3322bfea7427ff73be47c02872fad79", "score": "0.66926235", "text": "public final void rule__Table__Group__9__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2556:1: ( ( 'edits' ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2557:1: ( 'edits' )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2557:1: ( 'edits' )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2558:1: 'edits'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getEditsKeyword_9()); \r\n }\r\n match(input,33,FollowSets000.FOLLOW_33_in_rule__Table__Group__9__Impl5183); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTableAccess().getEditsKeyword_9()); \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": "82a7da7d6819ab865ead6630be6d11c0", "score": "0.66925955", "text": "public final void ruleTable() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:326:2: ( ( ( rule__Table__Group__0 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:327:1: ( ( rule__Table__Group__0 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:327:1: ( ( rule__Table__Group__0 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:328:1: ( rule__Table__Group__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getGroup()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:329:1: ( rule__Table__Group__0 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:329:2: rule__Table__Group__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__0_in_ruleTable640);\r\n rule__Table__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.getTableAccess().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": "9749dc40dd784b30f59de55e52346573", "score": "0.66913193", "text": "public final void rule__Table__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2335:1: ( rule__Table__Group__2__Impl rule__Table__Group__3 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2336:2: rule__Table__Group__2__Impl rule__Table__Group__3\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__2__Impl_in_rule__Table__Group__24725);\r\n rule__Table__Group__2__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__3_in_rule__Table__Group__24728);\r\n rule__Table__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": "b7b70af2bfe087fad478f045fdd5a268", "score": "0.6686486", "text": "public final void rule__Table__Group__6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2455:1: ( rule__Table__Group__6__Impl rule__Table__Group__7 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2456:2: rule__Table__Group__6__Impl rule__Table__Group__7\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__6__Impl_in_rule__Table__Group__64969);\r\n rule__Table__Group__6__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__7_in_rule__Table__Group__64972);\r\n rule__Table__Group__7();\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": "15a2f55a2d4e37c4b0467d85988349e7", "score": "0.66686267", "text": "public final void rule__Table__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2287:1: ( ( 'table' ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2288:1: ( 'table' )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2288:1: ( 'table' )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2289:1: 'table'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getTableKeyword_0()); \r\n }\r\n match(input,32,FollowSets000.FOLLOW_32_in_rule__Table__Group__0__Impl4634); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTableAccess().getTableKeyword_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": "2b96e45990df292ce64793520e477535", "score": "0.6598008", "text": "public final void rule__Table__Group_6__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2625:1: ( rule__Table__Group_6__0__Impl rule__Table__Group_6__1 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2626:2: rule__Table__Group_6__0__Impl rule__Table__Group_6__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group_6__0__Impl_in_rule__Table__Group_6__05293);\r\n rule__Table__Group_6__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group_6__1_in_rule__Table__Group_6__05296);\r\n rule__Table__Group_6__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": "e7b9781b8ef1350107b7bbe81941f6f1", "score": "0.6509422", "text": "public final void rule__Table__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2306:1: ( rule__Table__Group__1__Impl rule__Table__Group__2 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2307:2: rule__Table__Group__1__Impl rule__Table__Group__2\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__1__Impl_in_rule__Table__Group__14665);\r\n rule__Table__Group__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__2_in_rule__Table__Group__14668);\r\n rule__Table__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": "507ee8b2cb612cc0ed41dbfd641d676f", "score": "0.6496742", "text": "public final void rule__Table__Group__7() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2484:1: ( rule__Table__Group__7__Impl rule__Table__Group__8 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2485:2: rule__Table__Group__7__Impl rule__Table__Group__8\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__7__Impl_in_rule__Table__Group__75030);\r\n rule__Table__Group__7__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__8_in_rule__Table__Group__75033);\r\n rule__Table__Group__8();\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": "390abec2f625b68117913f8d21d80a2a", "score": "0.6467603", "text": "public final void rule__Table__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2275:1: ( rule__Table__Group__0__Impl rule__Table__Group__1 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2276:2: rule__Table__Group__0__Impl rule__Table__Group__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__0__Impl_in_rule__Table__Group__04603);\r\n rule__Table__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__1_in_rule__Table__Group__04606);\r\n rule__Table__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": "40672ebd4eea7073ff06851c48e03913", "score": "0.6438592", "text": "public final void rule__Page__Group__6__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1420:1: ( ( ( rule__Page__Group_6__0 )? ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1421:1: ( ( rule__Page__Group_6__0 )? )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1421:1: ( ( rule__Page__Group_6__0 )? )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1422:1: ( rule__Page__Group_6__0 )?\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPageAccess().getGroup_6()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1423:1: ( rule__Page__Group_6__0 )?\r\n int alt13=2;\r\n int LA13_0 = input.LA(1);\r\n\r\n if ( (LA13_0==24) ) {\r\n alt13=1;\r\n }\r\n switch (alt13) {\r\n case 1 :\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1423:2: rule__Page__Group_6__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Page__Group_6__0_in_rule__Page__Group__6__Impl2939);\r\n rule__Page__Group_6__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.getPageAccess().getGroup_6()); \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": "997d2b61c3bf6ff15ce1ffb7792f2c4a", "score": "0.6417157", "text": "public final void rule__List__Group__6__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2879:1: ( ( ( rule__List__EditingFormAssignment_6 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2880:1: ( ( rule__List__EditingFormAssignment_6 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2880:1: ( ( rule__List__EditingFormAssignment_6 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2881:1: ( rule__List__EditingFormAssignment_6 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getListAccess().getEditingFormAssignment_6()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2882:1: ( rule__List__EditingFormAssignment_6 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2882:2: rule__List__EditingFormAssignment_6\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__List__EditingFormAssignment_6_in_rule__List__Group__6__Impl5809);\r\n rule__List__EditingFormAssignment_6();\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.getListAccess().getEditingFormAssignment_6()); \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": "3e18feba4d72eb17d8cf64da51f9cb08", "score": "0.63944525", "text": "public final void rule__Table__Group__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2364:1: ( rule__Table__Group__3__Impl rule__Table__Group__4 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2365:2: rule__Table__Group__3__Impl rule__Table__Group__4\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__3__Impl_in_rule__Table__Group__34785);\r\n rule__Table__Group__3__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__4_in_rule__Table__Group__34788);\r\n rule__Table__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": "23d29fb795362daf095f2b25f4ecabb5", "score": "0.634574", "text": "public final void rule__Table__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2395:1: ( rule__Table__Group__4__Impl rule__Table__Group__5 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2396:2: rule__Table__Group__4__Impl rule__Table__Group__5\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__4__Impl_in_rule__Table__Group__44847);\r\n rule__Table__Group__4__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__5_in_rule__Table__Group__44850);\r\n rule__Table__Group__5();\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": "41b5645642bd5a9a8d795436bb3fed8e", "score": "0.63339645", "text": "public final void rule__Table__Group__5() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2424:1: ( rule__Table__Group__5__Impl rule__Table__Group__6 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2425:2: rule__Table__Group__5__Impl rule__Table__Group__6\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__5__Impl_in_rule__Table__Group__54907);\r\n rule__Table__Group__5__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__Group__6_in_rule__Table__Group__54910);\r\n rule__Table__Group__6();\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": "27b0af5bc9e3e7daf6422eff9819c9c2", "score": "0.6312475", "text": "public final void rule__Definition__Group__8() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:1268:1: ( rule__Definition__Group__8__Impl )\n // InternalCompilation.g:1269:2: rule__Definition__Group__8__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Definition__Group__8__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": "db1319afededd3f5fbd68f38fc0036c3", "score": "0.6297845", "text": "public final void rule__FnDefExpr__Group__10() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:13023:1: ( rule__FnDefExpr__Group__10__Impl )\n // InternalAgreeParser.g:13024:2: rule__FnDefExpr__Group__10__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__FnDefExpr__Group__10__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": "5a6cfa95a3bf959de0dfe8e7c9f80d19", "score": "0.6228037", "text": "public final void rule__Table__Group_6__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2665:1: ( ( ',' ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2666:1: ( ',' )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2666:1: ( ',' )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2667:1: ','\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getCommaKeyword_6_1()); \r\n }\r\n match(input,23,FollowSets000.FOLLOW_23_in_rule__Table__Group_6__1__Impl5381); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getTableAccess().getCommaKeyword_6_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": "e1ad1381de2b418ab67fc7e8a88e7629", "score": "0.6133509", "text": "public final void rule__Page__Group__6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1409:1: ( rule__Page__Group__6__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1410:2: rule__Page__Group__6__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Page__Group__6__Impl_in_rule__Page__Group__62912);\r\n rule__Page__Group__6__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": "13be819b96ffbcce6e09b087fdebab16", "score": "0.6124948", "text": "public final void rule__Form__Group__9() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1179:1: ( rule__Form__Group__9__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1180:2: rule__Form__Group__9__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Form__Group__9__Impl_in_rule__Form__Group__92466);\r\n rule__Form__Group__9__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": "a445b64b525ec0d1f05d1b275e908e56", "score": "0.60901254", "text": "public final void rule__Table__Group__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2347:1: ( ( ( rule__Table__LabelAssignment_2 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2348:1: ( ( rule__Table__LabelAssignment_2 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2348:1: ( ( rule__Table__LabelAssignment_2 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2349:1: ( rule__Table__LabelAssignment_2 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getLabelAssignment_2()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2350:1: ( rule__Table__LabelAssignment_2 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2350:2: rule__Table__LabelAssignment_2\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__LabelAssignment_2_in_rule__Table__Group__2__Impl4755);\r\n rule__Table__LabelAssignment_2();\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.getTableAccess().getLabelAssignment_2()); \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": "83c9aba28289683f2b33aa2721b3c4ee", "score": "0.604166", "text": "public final void rule__SkillDefinition__Group__9() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSkillDefinition.g:1423:1: ( rule__SkillDefinition__Group__9__Impl )\n // InternalSkillDefinition.g:1424:2: rule__SkillDefinition__Group__9__Impl\n {\n pushFollow(FOLLOW_2);\n rule__SkillDefinition__Group__9__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": "be2eed3a145220ab70cab4e892401866", "score": "0.60224795", "text": "public final void rule__Field__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:31722:1: ( ( ( rule__Field__Group_2__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:31723:1: ( ( rule__Field__Group_2__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:31723:1: ( ( rule__Field__Group_2__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:31724:1: ( rule__Field__Group_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getFieldAccess().getGroup_2()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:31725:1: ( rule__Field__Group_2__0 )?\n int alt164=2;\n int LA164_0 = input.LA(1);\n\n if ( (LA164_0==112) ) {\n alt164=1;\n }\n switch (alt164) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:31725:2: rule__Field__Group_2__0\n {\n pushFollow(FollowSets002.FOLLOW_rule__Field__Group_2__0_in_rule__Field__Group__2__Impl63583);\n rule__Field__Group_2__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.getFieldAccess().getGroup_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8c4711c2eb28d4595929a629788d3bbd", "score": "0.6016303", "text": "public final void rule__List__Group__6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2868:1: ( rule__List__Group__6__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2869:2: rule__List__Group__6__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__List__Group__6__Impl_in_rule__List__Group__65782);\r\n rule__List__Group__6__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": "7be23523f07e181f0a6c0c902d4105ac", "score": "0.6002364", "text": "public final void rule__Column__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:3346:1: ( rule__Column__Group__4__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:3347:2: rule__Column__Group__4__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Column__Group__4__Impl_in_rule__Column__Group__46719);\r\n rule__Column__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": "0ce836896261beab2754320a9ccc7b0c", "score": "0.59977067", "text": "public final void rule__Expression__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:24245:1: ( rule__Expression__Group__6__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:24246:2: rule__Expression__Group__6__Impl\n {\n pushFollow(FollowSets002.FOLLOW_rule__Expression__Group__6__Impl_in_rule__Expression__Group__648917);\n rule__Expression__Group__6__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": "253747447846d29b17459917e5db74b0", "score": "0.5990716", "text": "public final void rule__NodeDefExpr__Group__10() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:14556:1: ( rule__NodeDefExpr__Group__10__Impl )\n // InternalAgreeParser.g:14557:2: rule__NodeDefExpr__Group__10__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__NodeDefExpr__Group__10__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": "ae3908de614a4de6e0458b7d5ea96563", "score": "0.5978226", "text": "public final void rule__Form__Group__6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1090:1: ( rule__Form__Group__6__Impl rule__Form__Group__7 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1091:2: rule__Form__Group__6__Impl rule__Form__Group__7\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Form__Group__6__Impl_in_rule__Form__Group__62283);\r\n rule__Form__Group__6__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Form__Group__7_in_rule__Form__Group__62286);\r\n rule__Form__Group__7();\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": "e0a25cb57c4b67c4cfed9702899dfbd7", "score": "0.59735525", "text": "public final void rule__Model__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalModa.g:846:1: ( rule__Model__Group__4__Impl )\n // InternalModa.g:847:2: rule__Model__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Model__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": "ddb2f314a6939d8daa6b1652b3f02465", "score": "0.5973426", "text": "public final void rule__Interface__Group__7__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.dubmas.modulob.interfacedsl.ui/src-gen/de/dubmas/modulob/ui/contentassist/antlr/internal/InternalInterfaceDsl.g:898:1: ( ( '}' ) )\n // ../de.dubmas.modulob.interfacedsl.ui/src-gen/de/dubmas/modulob/ui/contentassist/antlr/internal/InternalInterfaceDsl.g:899:1: ( '}' )\n {\n // ../de.dubmas.modulob.interfacedsl.ui/src-gen/de/dubmas/modulob/ui/contentassist/antlr/internal/InternalInterfaceDsl.g:899:1: ( '}' )\n // ../de.dubmas.modulob.interfacedsl.ui/src-gen/de/dubmas/modulob/ui/contentassist/antlr/internal/InternalInterfaceDsl.g:900:1: '}'\n {\n before(grammarAccess.getInterfaceAccess().getRightCurlyBracketKeyword_7()); \n match(input,16,FOLLOW_16_in_rule__Interface__Group__7__Impl1802); \n after(grammarAccess.getInterfaceAccess().getRightCurlyBracketKeyword_7()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4f98a814010233c1ad6ed39da85ae869", "score": "0.5971399", "text": "public final void rule__RecordDefExpr__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:16287:1: ( rule__RecordDefExpr__Group__7__Impl )\n // InternalAgreeParser.g:16288:2: rule__RecordDefExpr__Group__7__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RecordDefExpr__Group__7__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": "7590d96b0e00b5ca954110aefb1ee5e2", "score": "0.59588397", "text": "public final void rule__Table__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2318:1: ( ( ( rule__Table__ElementIDAssignment_1 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2319:1: ( ( rule__Table__ElementIDAssignment_1 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2319:1: ( ( rule__Table__ElementIDAssignment_1 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2320:1: ( rule__Table__ElementIDAssignment_1 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getElementIDAssignment_1()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2321:1: ( rule__Table__ElementIDAssignment_1 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2321:2: rule__Table__ElementIDAssignment_1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__ElementIDAssignment_1_in_rule__Table__Group__1__Impl4695);\r\n rule__Table__ElementIDAssignment_1();\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.getTableAccess().getElementIDAssignment_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": "561631a44f88eba1141feb286b42f5c9", "score": "0.5949056", "text": "public final void rule__Formula__Group__6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3285:1: ( rule__Formula__Group__6__Impl )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3286:2: rule__Formula__Group__6__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Formula__Group__6__Impl_in_rule__Formula__Group__66589);\r\n rule__Formula__Group__6__Impl();\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": "062eb852ab8015f87f1805c1351f9564", "score": "0.5947137", "text": "public final void ruleForm() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:102:2: ( ( ( rule__Form__Group__0 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:103:1: ( ( rule__Form__Group__0 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:103:1: ( ( rule__Form__Group__0 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:104:1: ( rule__Form__Group__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFormAccess().getGroup()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:105:1: ( rule__Form__Group__0 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:105:2: rule__Form__Group__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Form__Group__0_in_ruleForm160);\r\n rule__Form__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.getFormAccess().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": "662ad789473c57a81f34887b203ddf3d", "score": "0.5941778", "text": "public final void rule__MODARelation__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalModa.g:1332:1: ( rule__MODARelation__Group__6__Impl )\n // InternalModa.g:1333:2: rule__MODARelation__Group__6__Impl\n {\n pushFollow(FOLLOW_2);\n rule__MODARelation__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": "3871e9eeb9b5a0dcc11865050274e621", "score": "0.59375876", "text": "public final void rule__UserExpressionDefinition_Impl__Group_6__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22177:1: ( rule__UserExpressionDefinition_Impl__Group_6__2__Impl rule__UserExpressionDefinition_Impl__Group_6__3 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22178:2: rule__UserExpressionDefinition_Impl__Group_6__2__Impl rule__UserExpressionDefinition_Impl__Group_6__3\n {\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__2__Impl_in_rule__UserExpressionDefinition_Impl__Group_6__244836);\n rule__UserExpressionDefinition_Impl__Group_6__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__3_in_rule__UserExpressionDefinition_Impl__Group_6__244839);\n rule__UserExpressionDefinition_Impl__Group_6__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": "b257108641e6c4db409ceda718fb3226", "score": "0.5931003", "text": "public final void rule__Form__Group__8() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1150:1: ( rule__Form__Group__8__Impl rule__Form__Group__9 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1151:2: rule__Form__Group__8__Impl rule__Form__Group__9\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Form__Group__8__Impl_in_rule__Form__Group__82405);\r\n rule__Form__Group__8__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Form__Group__9_in_rule__Form__Group__82408);\r\n rule__Form__Group__9();\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": "a6a6cf12e9bdd0c8b0700dd5eb3e044d", "score": "0.5927518", "text": "public final void rule__ExpressionDeclaration__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21358:1: ( ( '(' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21359:1: ( '(' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21359:1: ( '(' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21360:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExpressionDeclarationAccess().getLeftParenthesisKeyword_2()); \n }\n match(input,41,FollowSets001.FOLLOW_41_in_rule__ExpressionDeclaration__Group__2__Impl43238); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExpressionDeclarationAccess().getLeftParenthesisKeyword_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fefb5b9ef30c646b93608b3cc71aa0c6", "score": "0.59210306", "text": "public final void rule__Property__Group__10() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalContextML.g:7908:1: ( rule__Property__Group__10__Impl )\n // InternalContextML.g:7909:2: rule__Property__Group__10__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Property__Group__10__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": "f337afb07140fd34bd2313e26c880454", "score": "0.59122705", "text": "public final void rule__Query__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:646:1: ( rule__Query__Group__6__Impl )\n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:647:2: rule__Query__Group__6__Impl\n {\n pushFollow(FOLLOW_rule__Query__Group__6__Impl_in_rule__Query__Group__61302);\n rule__Query__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": "05468536e8173dc7e47f581b352b4fa0", "score": "0.59097147", "text": "public final void rule__Form__Group__6__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1102:1: ( ( ( rule__Form__EntityAssignment_6 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1103:1: ( ( rule__Form__EntityAssignment_6 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1103:1: ( ( rule__Form__EntityAssignment_6 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1104:1: ( rule__Form__EntityAssignment_6 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFormAccess().getEntityAssignment_6()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1105:1: ( rule__Form__EntityAssignment_6 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1105:2: rule__Form__EntityAssignment_6\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Form__EntityAssignment_6_in_rule__Form__Group__6__Impl2313);\r\n rule__Form__EntityAssignment_6();\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.getFormAccess().getEntityAssignment_6()); \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": "98e60751aa99f3eaa8d48aef73f18a25", "score": "0.58993036", "text": "public final void rule__SkillDefinition__Group__8() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSkillDefinition.g:1396:1: ( rule__SkillDefinition__Group__8__Impl rule__SkillDefinition__Group__9 )\n // InternalSkillDefinition.g:1397:2: rule__SkillDefinition__Group__8__Impl rule__SkillDefinition__Group__9\n {\n pushFollow(FOLLOW_12);\n rule__SkillDefinition__Group__8__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__SkillDefinition__Group__9();\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": "15a2a2ed7a8bd72f1d9026aef93a5584", "score": "0.5894269", "text": "public final void rule__ExpressionDeclaration__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21497:1: ( rule__ExpressionDeclaration__Group__7__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21498:2: rule__ExpressionDeclaration__Group__7__Impl\n {\n pushFollow(FollowSets001.FOLLOW_rule__ExpressionDeclaration__Group__7__Impl_in_rule__ExpressionDeclaration__Group__743514);\n rule__ExpressionDeclaration__Group__7__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": "bf4872850b5e51c69d2be294dd522f9b", "score": "0.5890062", "text": "public final void rule__Statemachine__Group__10() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../net.sb.statemachine.dsl.ui/src-gen/net/sb/statemachine/dsl/ui/contentassist/antlr/internal/InternalStm.g:622:1: ( rule__Statemachine__Group__10__Impl )\n // ../net.sb.statemachine.dsl.ui/src-gen/net/sb/statemachine/dsl/ui/contentassist/antlr/internal/InternalStm.g:623:2: rule__Statemachine__Group__10__Impl\n {\n pushFollow(FOLLOW_rule__Statemachine__Group__10__Impl_in_rule__Statemachine__Group__101224);\n rule__Statemachine__Group__10__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": "b250cb58297621f79f0fc321fdff89f5", "score": "0.5869561", "text": "public final void rule__Form__Group__9__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1190:1: ( ( '}' ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1191:1: ( '}' )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1191:1: ( '}' )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1192:1: '}'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFormAccess().getRightCurlyBracketKeyword_9()); \r\n }\r\n match(input,21,FollowSets000.FOLLOW_21_in_rule__Form__Group__9__Impl2494); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFormAccess().getRightCurlyBracketKeyword_9()); \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": "82359710f1f134ed7a54ab33cfec2f86", "score": "0.5860886", "text": "public final void rule__Model__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:1092:1: ( rule__Model__Group__4__Impl )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:1093:2: rule__Model__Group__4__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Model__Group__4__Impl_in_rule__Model__Group__42300);\r\n rule__Model__Group__4__Impl();\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": "f3e6751b45325c5a122291f2ce39f349", "score": "0.5856576", "text": "public final void rule__Page__Group_6__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1545:1: ( rule__Page__Group_6__1__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1546:2: rule__Page__Group_6__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Page__Group_6__1__Impl_in_rule__Page__Group_6__13169);\r\n rule__Page__Group_6__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": "bb0e3963365e97cb82378e1f83bdefb5", "score": "0.5853388", "text": "public final void rule__UserExpressionDefinition_Impl__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22052:1: ( ( ( rule__UserExpressionDefinition_Impl__Group_6__0 ) ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22053:1: ( ( rule__UserExpressionDefinition_Impl__Group_6__0 ) )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22053:1: ( ( rule__UserExpressionDefinition_Impl__Group_6__0 ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22054:1: ( rule__UserExpressionDefinition_Impl__Group_6__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUserExpressionDefinition_ImplAccess().getGroup_6()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22055:1: ( rule__UserExpressionDefinition_Impl__Group_6__0 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22055:2: rule__UserExpressionDefinition_Impl__Group_6__0\n {\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__0_in_rule__UserExpressionDefinition_Impl__Group__6__Impl44607);\n rule__UserExpressionDefinition_Impl__Group_6__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUserExpressionDefinition_ImplAccess().getGroup_6()); \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": "57bb0cc2bc0167fcc03cf697da82f5b0", "score": "0.58486944", "text": "public final void rule__Allocation__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalPDL.g:1626:1: ( rule__Allocation__Group__6__Impl )\n // InternalPDL.g:1627:2: rule__Allocation__Group__6__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Allocation__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": "1f1a9029d7b75e2fcb04eef9e3adcd57", "score": "0.5846936", "text": "public final void rulePage() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:158:2: ( ( ( rule__Page__Group__0 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:159:1: ( ( rule__Page__Group__0 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:159:1: ( ( rule__Page__Group__0 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:160:1: ( rule__Page__Group__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPageAccess().getGroup()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:161:1: ( rule__Page__Group__0 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:161:2: rule__Page__Group__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Page__Group__0_in_rulePage280);\r\n rule__Page__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.getPageAccess().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": "78bc2a41f87c7403c33e299747366590", "score": "0.5838696", "text": "public final void rule__UserExpressionDefinition_Impl__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22069:1: ( rule__UserExpressionDefinition_Impl__Group__7__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22070:2: rule__UserExpressionDefinition_Impl__Group__7__Impl\n {\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group__7__Impl_in_rule__UserExpressionDefinition_Impl__Group__744637);\n rule__UserExpressionDefinition_Impl__Group__7__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": "575519a3772b2f05d556d47fc08df2c7", "score": "0.5837845", "text": "public final void rule__TrainingTest__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMml.g:2552:1: ( rule__TrainingTest__Group__4__Impl )\n // InternalMml.g:2553:2: rule__TrainingTest__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__TrainingTest__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": "0cd7532c7c0306f9b9895f4275acd0ab", "score": "0.58353084", "text": "public final void rule__SelectionField__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:3504:1: ( rule__SelectionField__Group__4__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:3505:2: rule__SelectionField__Group__4__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__SelectionField__Group__4__Impl_in_rule__SelectionField__Group__47030);\r\n rule__SelectionField__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": "f592b55a2f1433958c1b5e1ff6569a8c", "score": "0.5824759", "text": "public final void rule__SkillDefinition__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSkillDefinition.g:1335:1: ( rule__SkillDefinition__Group__6__Impl rule__SkillDefinition__Group__7 )\n // InternalSkillDefinition.g:1336:2: rule__SkillDefinition__Group__6__Impl rule__SkillDefinition__Group__7\n {\n pushFollow(FOLLOW_11);\n rule__SkillDefinition__Group__6__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__SkillDefinition__Group__7();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a58eb469e19fa7c160fece7ae578d24d", "score": "0.58242303", "text": "public final void rule__UserExpressionDefinition_Impl__Group__7__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22080:1: ( ( '}' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22081:1: ( '}' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22081:1: ( '}' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22082:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUserExpressionDefinition_ImplAccess().getRightCurlyBracketKeyword_7()); \n }\n match(input,28,FollowSets002.FOLLOW_28_in_rule__UserExpressionDefinition_Impl__Group__7__Impl44665); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUserExpressionDefinition_ImplAccess().getRightCurlyBracketKeyword_7()); \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": "4368bcb299f0661b77c7745bf419ade5", "score": "0.58143634", "text": "public final void rule__UserExpressionDefinition_Impl__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22040:1: ( rule__UserExpressionDefinition_Impl__Group__6__Impl rule__UserExpressionDefinition_Impl__Group__7 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22041:2: rule__UserExpressionDefinition_Impl__Group__6__Impl rule__UserExpressionDefinition_Impl__Group__7\n {\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group__6__Impl_in_rule__UserExpressionDefinition_Impl__Group__644577);\n rule__UserExpressionDefinition_Impl__Group__6__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group__7_in_rule__UserExpressionDefinition_Impl__Group__644580);\n rule__UserExpressionDefinition_Impl__Group__7();\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": "18721fd3d028425ef5776707a73e5f6c", "score": "0.58143413", "text": "public final void rule__Field__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:31872:1: ( rule__Field__Group_2__1__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:31873:2: rule__Field__Group_2__1__Impl\n {\n pushFollow(FollowSets002.FOLLOW_rule__Field__Group_2__1__Impl_in_rule__Field__Group_2__163869);\n rule__Field__Group_2__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": "d5f57344ae0d5abf507f3b1826de84d5", "score": "0.5810907", "text": "public final void rule__RFormula__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMml.g:2059:1: ( rule__RFormula__Group__2__Impl )\n // InternalMml.g:2060:2: rule__RFormula__Group__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RFormula__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": "23a1a8bef90cc8b8deefc72caccca5b7", "score": "0.5810019", "text": "public final void rule__Page__Group_6__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1514:1: ( rule__Page__Group_6__0__Impl rule__Page__Group_6__1 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:1515:2: rule__Page__Group_6__0__Impl rule__Page__Group_6__1\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Page__Group_6__0__Impl_in_rule__Page__Group_6__03107);\r\n rule__Page__Group_6__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FollowSets000.FOLLOW_rule__Page__Group_6__1_in_rule__Page__Group_6__03110);\r\n rule__Page__Group_6__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": "bf20e4d70253e7771bc68d6be2ad7278", "score": "0.5800925", "text": "public final void rule__Formula__Group__6__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3296:1: ( ( ';' ) )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3297:1: ( ';' )\r\n {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3297:1: ( ';' )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3298:1: ';'\r\n {\r\n before(grammarAccess.getFormulaAccess().getSemicolonKeyword_6()); \r\n match(input,23,FOLLOW_23_in_rule__Formula__Group__6__Impl6617); \r\n after(grammarAccess.getFormulaAccess().getSemicolonKeyword_6()); \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": "5381536f404028e7f60a4eb878e1072e", "score": "0.5800588", "text": "public final void rule__Expression__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:24256:1: ( ( ')' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:24257:1: ( ')' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:24257:1: ( ')' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:24258:1: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExpressionAccess().getRightParenthesisKeyword_6()); \n }\n match(input,42,FollowSets002.FOLLOW_42_in_rule__Expression__Group__6__Impl48945); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExpressionAccess().getRightParenthesisKeyword_6()); \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": "dfb9a50ea1985267b734fa849f57d265", "score": "0.5798621", "text": "public final void rule__Definition__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:1214:1: ( rule__Definition__Group__6__Impl rule__Definition__Group__7 )\n // InternalCompilation.g:1215:2: rule__Definition__Group__6__Impl rule__Definition__Group__7\n {\n pushFollow(FOLLOW_4);\n rule__Definition__Group__6__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Definition__Group__7();\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": "0b65bf39fac83fca36f90fe179b6a53f", "score": "0.5796786", "text": "public final void rule__UserExpressionDefinition_Impl__Group_6__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22146:1: ( rule__UserExpressionDefinition_Impl__Group_6__1__Impl rule__UserExpressionDefinition_Impl__Group_6__2 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22147:2: rule__UserExpressionDefinition_Impl__Group_6__1__Impl rule__UserExpressionDefinition_Impl__Group_6__2\n {\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__1__Impl_in_rule__UserExpressionDefinition_Impl__Group_6__144774);\n rule__UserExpressionDefinition_Impl__Group_6__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__2_in_rule__UserExpressionDefinition_Impl__Group_6__144777);\n rule__UserExpressionDefinition_Impl__Group_6__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": "0c5cb3f5ce59a3e9153e0e49a346d7be", "score": "0.57952994", "text": "public final void rule__UserExpressionDefinition_Impl__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21918:1: ( rule__UserExpressionDefinition_Impl__Group__2__Impl rule__UserExpressionDefinition_Impl__Group__3 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21919:2: rule__UserExpressionDefinition_Impl__Group__2__Impl rule__UserExpressionDefinition_Impl__Group__3\n {\n pushFollow(FollowSets001.FOLLOW_rule__UserExpressionDefinition_Impl__Group__2__Impl_in_rule__UserExpressionDefinition_Impl__Group__244331);\n rule__UserExpressionDefinition_Impl__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UserExpressionDefinition_Impl__Group__3_in_rule__UserExpressionDefinition_Impl__Group__244334);\n rule__UserExpressionDefinition_Impl__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": "aebac537e142c9e11f1e685ad55496e0", "score": "0.5787167", "text": "public final void rule__AdaptationModel__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalContextML.g:2690:1: ( rule__AdaptationModel__Group__7__Impl )\n // InternalContextML.g:2691:2: rule__AdaptationModel__Group__7__Impl\n {\n pushFollow(FOLLOW_2);\n rule__AdaptationModel__Group__7__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": "3b440864230e49cf72363df2150cf901", "score": "0.5786504", "text": "public final void rule__Interface__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.dubmas.modulob.interfacedsl.ui/src-gen/de/dubmas/modulob/ui/contentassist/antlr/internal/InternalInterfaceDsl.g:887:1: ( rule__Interface__Group__7__Impl )\n // ../de.dubmas.modulob.interfacedsl.ui/src-gen/de/dubmas/modulob/ui/contentassist/antlr/internal/InternalInterfaceDsl.g:888:2: rule__Interface__Group__7__Impl\n {\n pushFollow(FOLLOW_rule__Interface__Group__7__Impl_in_rule__Interface__Group__71774);\n rule__Interface__Group__7__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": "2f3cdfcac2ff9bc8f6bc754d1a91bd0c", "score": "0.5783922", "text": "public final void rule__Sup__Group__8() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36178:1: ( rule__Sup__Group__8__Impl rule__Sup__Group__9 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36179:2: rule__Sup__Group__8__Impl rule__Sup__Group__9\n {\n pushFollow(FollowSets003.FOLLOW_rule__Sup__Group__8__Impl_in_rule__Sup__Group__872326);\n rule__Sup__Group__8__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets003.FOLLOW_rule__Sup__Group__9_in_rule__Sup__Group__872329);\n rule__Sup__Group__9();\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": "f888d6d02e304edf884b8a892a7d9832", "score": "0.57813954", "text": "public final void rule__ExpressionDeclaration__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21466:1: ( rule__ExpressionDeclaration__Group__6__Impl rule__ExpressionDeclaration__Group__7 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21467:2: rule__ExpressionDeclaration__Group__6__Impl rule__ExpressionDeclaration__Group__7\n {\n pushFollow(FollowSets001.FOLLOW_rule__ExpressionDeclaration__Group__6__Impl_in_rule__ExpressionDeclaration__Group__643452);\n rule__ExpressionDeclaration__Group__6__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__ExpressionDeclaration__Group__7_in_rule__ExpressionDeclaration__Group__643455);\n rule__ExpressionDeclaration__Group__7();\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": "ac51025b900e77d9d561500911d1d31a", "score": "0.57770205", "text": "public final void rule__UserExpressionDefinition_Impl__Group_6__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22115:1: ( rule__UserExpressionDefinition_Impl__Group_6__0__Impl rule__UserExpressionDefinition_Impl__Group_6__1 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:22116:2: rule__UserExpressionDefinition_Impl__Group_6__0__Impl rule__UserExpressionDefinition_Impl__Group_6__1\n {\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__0__Impl_in_rule__UserExpressionDefinition_Impl__Group_6__044712);\n rule__UserExpressionDefinition_Impl__Group_6__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets002.FOLLOW_rule__UserExpressionDefinition_Impl__Group_6__1_in_rule__UserExpressionDefinition_Impl__Group_6__044715);\n rule__UserExpressionDefinition_Impl__Group_6__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": "19ca53c4f5c2a94d266adfe7a9a35b98", "score": "0.57592046", "text": "public final void rule__UserRelationDefinition_Impl__Group__7__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:25117:1: ( ( '}' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:25118:1: ( '}' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:25118:1: ( '}' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:25119:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUserRelationDefinition_ImplAccess().getRightCurlyBracketKeyword_7()); \n }\n match(input,28,FollowSets002.FOLLOW_28_in_rule__UserRelationDefinition_Impl__Group__7__Impl50641); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUserRelationDefinition_ImplAccess().getRightCurlyBracketKeyword_7()); \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": "ba7052b18839db9f2884e1653cc7c290", "score": "0.5758564", "text": "public final void rule__Definition__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:1241:1: ( rule__Definition__Group__7__Impl rule__Definition__Group__8 )\n // InternalCompilation.g:1242:2: rule__Definition__Group__7__Impl rule__Definition__Group__8\n {\n pushFollow(FOLLOW_8);\n rule__Definition__Group__7__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Definition__Group__8();\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": "320e2f56d3fb66a20f4c8cb8d196559c", "score": "0.5755805", "text": "public final void rule__Sup__Group__9() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36207:1: ( rule__Sup__Group__9__Impl )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36208:2: rule__Sup__Group__9__Impl\n {\n pushFollow(FollowSets003.FOLLOW_rule__Sup__Group__9__Impl_in_rule__Sup__Group__972386);\n rule__Sup__Group__9__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": "5957323924b25554c226e66348955946", "score": "0.5755043", "text": "public final void rule__ExpressionDeclaration__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21478:1: ( ( ':' ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21479:1: ( ':' )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21479:1: ( ':' )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21480:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExpressionDeclarationAccess().getColonKeyword_6()); \n }\n match(input,40,FollowSets001.FOLLOW_40_in_rule__ExpressionDeclaration__Group__6__Impl43483); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExpressionDeclarationAccess().getColonKeyword_6()); \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": "cd89d11e841fe42b6c7caee064691272", "score": "0.5754295", "text": "public final void rule__MODAModel__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalModa.g:603:1: ( rule__MODAModel__Group__5__Impl )\n // InternalModa.g:604:2: rule__MODAModel__Group__5__Impl\n {\n pushFollow(FOLLOW_2);\n rule__MODAModel__Group__5__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": "3f51dbfd397fb5db0d3fdea883379ee8", "score": "0.574585", "text": "public final void rule__TimeSelectionField__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:3030:1: ( rule__TimeSelectionField__Group__4__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:3031:2: rule__TimeSelectionField__Group__4__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__TimeSelectionField__Group__4__Impl_in_rule__TimeSelectionField__Group__46097);\r\n rule__TimeSelectionField__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": "e48d249a84e823ba8e38318c5c171430", "score": "0.5743712", "text": "public final void rule__Sup__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36010:1: ( ( ( rule__Sup__Group_2__0 )? ) )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36011:1: ( ( rule__Sup__Group_2__0 )? )\n {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36011:1: ( ( rule__Sup__Group_2__0 )? )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36012:1: ( rule__Sup__Group_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSupAccess().getGroup_2()); \n }\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36013:1: ( rule__Sup__Group_2__0 )?\n int alt176=2;\n int LA176_0 = input.LA(1);\n\n if ( (LA176_0==112) ) {\n alt176=1;\n }\n switch (alt176) {\n case 1 :\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:36013:2: rule__Sup__Group_2__0\n {\n pushFollow(FollowSets003.FOLLOW_rule__Sup__Group_2__0_in_rule__Sup__Group__2__Impl71989);\n rule__Sup__Group_2__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.getSupAccess().getGroup_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "320bee5394ad51587eccab84f4e7258a", "score": "0.573642", "text": "public final void rule__Job__Group_8__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalJobDsl.g:1516:1: ( rule__Job__Group_8__4__Impl )\n // InternalJobDsl.g:1517:2: rule__Job__Group_8__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Job__Group_8__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": "908825435a88563c7e1260665ed0d86c", "score": "0.5732334", "text": "public final void rule__Interface__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../de.dubmas.modulob.interfacedsl.ui/src-gen/de/dubmas/modulob/ui/contentassist/antlr/internal/InternalInterfaceDsl.g:858:1: ( rule__Interface__Group__6__Impl rule__Interface__Group__7 )\n // ../de.dubmas.modulob.interfacedsl.ui/src-gen/de/dubmas/modulob/ui/contentassist/antlr/internal/InternalInterfaceDsl.g:859:2: rule__Interface__Group__6__Impl rule__Interface__Group__7\n {\n pushFollow(FOLLOW_rule__Interface__Group__6__Impl_in_rule__Interface__Group__61713);\n rule__Interface__Group__6__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Interface__Group__7_in_rule__Interface__Group__61716);\n rule__Interface__Group__7();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4d2d8642160f6936e5329a7de10e4c92", "score": "0.5722142", "text": "public final void rule__Data__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalModa.g:981:1: ( rule__Data__Group__4__Impl )\n // InternalModa.g:982:2: rule__Data__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Data__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": "407593bcfdf39152d8e9767c973c238d", "score": "0.5721759", "text": "public final void rule__FunctionDeclaration__Group__9() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:1590:1: ( rule__FunctionDeclaration__Group__9__Impl )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:1591:2: rule__FunctionDeclaration__Group__9__Impl\r\n {\r\n pushFollow(FOLLOW_rule__FunctionDeclaration__Group__9__Impl_in_rule__FunctionDeclaration__Group__93287);\r\n rule__FunctionDeclaration__Group__9__Impl();\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": "778826a2a598e4337286c54506047019", "score": "0.571619", "text": "public final void rule__Comparison__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3369:1: ( ( ( rule__Comparison__Group_1__0 )? ) )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3370:1: ( ( rule__Comparison__Group_1__0 )? )\r\n {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3370:1: ( ( rule__Comparison__Group_1__0 )? )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3371:1: ( rule__Comparison__Group_1__0 )?\r\n {\r\n before(grammarAccess.getComparisonAccess().getGroup_1()); \r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3372:1: ( rule__Comparison__Group_1__0 )?\r\n int alt16=2;\r\n int LA16_0 = input.LA(1);\r\n\r\n if ( (LA16_0==38) ) {\r\n alt16=1;\r\n }\r\n switch (alt16) {\r\n case 1 :\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:3372:2: rule__Comparison__Group_1__0\r\n {\r\n pushFollow(FOLLOW_rule__Comparison__Group_1__0_in_rule__Comparison__Group__1__Impl6748);\r\n rule__Comparison__Group_1__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getComparisonAccess().getGroup_1()); \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": "307eb98d6ae3d29d9ee9c2800c159006", "score": "0.5713997", "text": "public final void rule__FormModel__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:854:1: ( ( () ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:855:1: ( () )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:855:1: ( () )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:856:1: ()\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getFormModelAccess().getFormModelAction_0()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:857:1: ()\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:859:1: \r\n {\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getFormModelAccess().getFormModelAction_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": "4bb06d477d1c5cd9dceb9d0e965b1dc7", "score": "0.5710822", "text": "public final void rule__UserExpressionDefinition_Impl__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21978:1: ( rule__UserExpressionDefinition_Impl__Group__4__Impl rule__UserExpressionDefinition_Impl__Group__5 )\n // ../org.gemoc.mocc.ccslmocc.model.xtext.mocdsl.ui/src-gen/org/gemoc/mocc/ccslmocc/model/xtext/ui/contentassist/antlr/internal/InternalMoCDsl.g:21979:2: rule__UserExpressionDefinition_Impl__Group__4__Impl rule__UserExpressionDefinition_Impl__Group__5\n {\n pushFollow(FollowSets001.FOLLOW_rule__UserExpressionDefinition_Impl__Group__4__Impl_in_rule__UserExpressionDefinition_Impl__Group__444453);\n rule__UserExpressionDefinition_Impl__Group__4__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets001.FOLLOW_rule__UserExpressionDefinition_Impl__Group__5_in_rule__UserExpressionDefinition_Impl__Group__444456);\n rule__UserExpressionDefinition_Impl__Group__5();\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": "7fee356f927a69c32b588609a8ffecc4", "score": "0.5710566", "text": "public final void rule__FormModel__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:873:1: ( rule__FormModel__Group__1__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:874:2: rule__FormModel__Group__1__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__FormModel__Group__1__Impl_in_rule__FormModel__Group__11839);\r\n rule__FormModel__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": "2014398e6ccea086a62aa02e42c13ed6", "score": "0.57093304", "text": "public final void rule__Atomic__Group_0__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:4061:1: ( ( ( rule__Atomic__Group_0_2__0 )? ) )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:4062:1: ( ( rule__Atomic__Group_0_2__0 )? )\r\n {\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:4062:1: ( ( rule__Atomic__Group_0_2__0 )? )\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:4063:1: ( rule__Atomic__Group_0_2__0 )?\r\n {\r\n before(grammarAccess.getAtomicAccess().getGroup_0_2()); \r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:4064:1: ( rule__Atomic__Group_0_2__0 )?\r\n int alt20=2;\r\n int LA20_0 = input.LA(1);\r\n\r\n if ( (LA20_0==17) ) {\r\n alt20=1;\r\n }\r\n switch (alt20) {\r\n case 1 :\r\n // ../expr.ui/src-gen/expr/ui/contentassist/antlr/internal/InternalExprDemo.g:4064:2: rule__Atomic__Group_0_2__0\r\n {\r\n pushFollow(FOLLOW_rule__Atomic__Group_0_2__0_in_rule__Atomic__Group_0__2__Impl8102);\r\n rule__Atomic__Group_0_2__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n after(grammarAccess.getAtomicAccess().getGroup_0_2()); \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": "97e8efb3bb6147561e69bde489eb0437", "score": "0.5707446", "text": "public final void rule__Command__Group_4__8() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCompilation.g:2375:1: ( rule__Command__Group_4__8__Impl )\n // InternalCompilation.g:2376:2: rule__Command__Group_4__8__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Command__Group_4__8__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": "69616628abd6ca3052891162c827c412", "score": "0.57002354", "text": "public final void rule__Table__Group_6__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2637:1: ( ( ( rule__Table__ColumnsAssignment_6_0 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2638:1: ( ( rule__Table__ColumnsAssignment_6_0 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2638:1: ( ( rule__Table__ColumnsAssignment_6_0 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2639:1: ( rule__Table__ColumnsAssignment_6_0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getColumnsAssignment_6_0()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2640:1: ( rule__Table__ColumnsAssignment_6_0 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2640:2: rule__Table__ColumnsAssignment_6_0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__ColumnsAssignment_6_0_in_rule__Table__Group_6__0__Impl5323);\r\n rule__Table__ColumnsAssignment_6_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.getTableAccess().getColumnsAssignment_6_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": "eff86f281c6b8f203e220f6593eb3b66", "score": "0.56974185", "text": "public final void rule__Add__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyDsl.g:1763:1: ( rule__Add__Group__4__Impl )\r\n // InternalMyDsl.g:1764:2: rule__Add__Group__4__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Add__Group__4__Impl();\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": "d1cc137f1bb4981d71065152193b560d", "score": "0.56951123", "text": "public final void rule__CrossValidation__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMml.g:2417:1: ( rule__CrossValidation__Group__4__Impl )\n // InternalMml.g:2418:2: rule__CrossValidation__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__CrossValidation__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": "cca001f4e10b033fa8ca4df7b4f56081", "score": "0.56928986", "text": "public final void rule__PageElement__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2191:1: ( ( ( rule__PageElement__Group_1__0 )? ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2192:1: ( ( rule__PageElement__Group_1__0 )? )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2192:1: ( ( rule__PageElement__Group_1__0 )? )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2193:1: ( rule__PageElement__Group_1__0 )?\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getPageElementAccess().getGroup_1()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2194:1: ( rule__PageElement__Group_1__0 )?\r\n int alt14=2;\r\n int LA14_0 = input.LA(1);\r\n\r\n if ( (LA14_0==24) ) {\r\n alt14=1;\r\n }\r\n switch (alt14) {\r\n case 1 :\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2194:2: rule__PageElement__Group_1__0\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__PageElement__Group_1__0_in_rule__PageElement__Group__1__Impl4445);\r\n rule__PageElement__Group_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.getPageElementAccess().getGroup_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": "654c0fe81916527ad67b83b0ab3d12a7", "score": "0.5690152", "text": "public final void rule__Validation__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMml.g:2275:1: ( rule__Validation__Group__1__Impl )\n // InternalMml.g:2276:2: rule__Validation__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Validation__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": "307a992bf4a27f995b611a543c796cf6", "score": "0.56840587", "text": "public final void rule__Table__Group__4__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2407:1: ( ( ( rule__Table__RelationshipAssignment_4 ) ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2408:1: ( ( rule__Table__RelationshipAssignment_4 ) )\r\n {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2408:1: ( ( rule__Table__RelationshipAssignment_4 ) )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2409:1: ( rule__Table__RelationshipAssignment_4 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getTableAccess().getRelationshipAssignment_4()); \r\n }\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2410:1: ( rule__Table__RelationshipAssignment_4 )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:2410:2: rule__Table__RelationshipAssignment_4\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__Table__RelationshipAssignment_4_in_rule__Table__Group__4__Impl4877);\r\n rule__Table__RelationshipAssignment_4();\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.getTableAccess().getRelationshipAssignment_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": "c84d683c9b44af43e8e07ca9a75f5442", "score": "0.5677223", "text": "public final void rule__Query__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:540:1: ( ( ( rule__Query__Group_2__0 )* ) )\n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:541:1: ( ( rule__Query__Group_2__0 )* )\n {\n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:541:1: ( ( rule__Query__Group_2__0 )* )\n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:542:1: ( rule__Query__Group_2__0 )*\n {\n before(grammarAccess.getQueryAccess().getGroup_2()); \n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:543:1: ( rule__Query__Group_2__0 )*\n loop5:\n do {\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0==13) ) {\n alt5=1;\n }\n\n\n switch (alt5) {\n \tcase 1 :\n \t // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:543:2: rule__Query__Group_2__0\n \t {\n \t pushFollow(FOLLOW_rule__Query__Group_2__0_in_rule__Query__Group__2__Impl1088);\n \t rule__Query__Group_2__0();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop5;\n }\n } while (true);\n\n after(grammarAccess.getQueryAccess().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": "45f85b14a66a5ef51dbc3e9c1dea8a66", "score": "0.5672919", "text": "public final void rule__TextArea__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:3662:1: ( rule__TextArea__Group__4__Impl )\r\n // ../at.ac.tuwien.big.forms.form.ui/src-gen/at/ac/tuwien/big/forms/form/ui/contentassist/antlr/internal/InternalForm.g:3663:2: rule__TextArea__Group__4__Impl\r\n {\r\n pushFollow(FollowSets000.FOLLOW_rule__TextArea__Group__4__Impl_in_rule__TextArea__Group__47341);\r\n rule__TextArea__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": "7adf70a4e430d3dd4ca3b608bb8a0717", "score": "0.5672835", "text": "public final void rule__Query__Group_6__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:845:1: ( rule__Query__Group_6__1__Impl )\n // ../fr.imta.tp.sql4csv.ui/src-gen/fr/imta/tp/ui/contentassist/antlr/internal/InternalSql4csv.g:846:2: rule__Query__Group_6__1__Impl\n {\n pushFollow(FOLLOW_rule__Query__Group_6__1__Impl_in_rule__Query__Group_6__11682);\n rule__Query__Group_6__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
b4b6077d6381f4342b2d66ecc5cc5748
optional string sapgh = 13;
[ { "docid": "932966b9e6dc08041b4b28d1db77309f", "score": "0.0", "text": "public Builder clearSapgh() {\n bitField0_ = (bitField0_ & ~0x00001000);\n sapgh_ = getDefaultInstance().getSapgh();\n\n return this;\n }", "title": "" } ]
[ { "docid": "d33288bee77f3127381eddee7780d0f9", "score": "0.61777574", "text": "void mo91313a(String str);", "title": "" }, { "docid": "15b1d2c0d7b8e0d18a9523915c9bdba5", "score": "0.611953", "text": "void mo100487a(String str);", "title": "" }, { "docid": "e6c843e6098b8e2874392dd42eb84a4c", "score": "0.6064159", "text": "public void setLoaiHinhDoanhNghiep(String loaiHinhDoanhNghiep);", "title": "" }, { "docid": "dd85d35e2c1b37f08e2b4063a69a14e9", "score": "0.605184", "text": "public void mo16672a(String str) {\n }", "title": "" }, { "docid": "29ba0699a302092333bc192893d7af92", "score": "0.60358435", "text": "void mo8238a(String str);", "title": "" }, { "docid": "657ba61a5199f99c749d852ef1061d81", "score": "0.60172826", "text": "void mo2887a(String str);", "title": "" }, { "docid": "ac02a360a6b3cd2155f38bf35e7bc89f", "score": "0.5971692", "text": "void mo78075a(String str);", "title": "" }, { "docid": "9cdd7203de749c7efcd4d29017bcf4d1", "score": "0.5966005", "text": "public void mo14343a(String str) {\n this.f10023l0 = str;\n }", "title": "" }, { "docid": "4117046bb6e72ad533cb98633d8ddd5c", "score": "0.5960944", "text": "void mo60430a(String str);", "title": "" }, { "docid": "528eaca879a4aac8aa422f160dd6fa79", "score": "0.59598285", "text": "int mo33958a(int i, String str);", "title": "" }, { "docid": "1dfbb421a597673371bde722faec0b14", "score": "0.59500706", "text": "public String getJam8(){\n return jam8; //pengembalian nilai jam ke 8\n }", "title": "" }, { "docid": "26f53476a99643091785db2e73f2a054", "score": "0.59460735", "text": "void m1758a(String str) {\r\n this.f1230h = str;\r\n }", "title": "" }, { "docid": "91680e6617cf9780423e5731a4ce57e7", "score": "0.59386516", "text": "public void mo4443b(String str) {\n }", "title": "" }, { "docid": "fabc07c0f48ff78b46b5361625bc78dc", "score": "0.59283024", "text": "void mo23807a(String str);", "title": "" }, { "docid": "3fb98bf90b7feff098b97fd2203a72d3", "score": "0.5926785", "text": "void mo74240a(String str);", "title": "" }, { "docid": "cd1a78f73350cb0034e550888086b2e0", "score": "0.59162396", "text": "public void mo16673b(String str) {\n }", "title": "" }, { "docid": "ecf4552accaa2dba925be58c6d304bfe", "score": "0.5892896", "text": "public final void mo1494a(String str) {\n }", "title": "" }, { "docid": "765ada12082d444f3628c0a1bf64ce2d", "score": "0.5889321", "text": "void mo4472a(String str);", "title": "" }, { "docid": "0b60c15c5e8ab764b0f1930fd45c8cdb", "score": "0.58862376", "text": "public Builder setSapgh(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00001000;\n sapgh_ = value;\n\n return this;\n }", "title": "" }, { "docid": "034318b4618cdbd15baf35de21b68d20", "score": "0.5880336", "text": "java.lang.String getString13();", "title": "" }, { "docid": "a87cc3904e14ae952d0d109d84a05cb6", "score": "0.587907", "text": "void mo107411a(String str);", "title": "" }, { "docid": "22a9b66766f6f92d16ec3ee12e854cbb", "score": "0.58736926", "text": "public void setHoNguoiDaiDien(String hoNguoiDaiDien);", "title": "" }, { "docid": "f0d62ff3f801dd3751b0ab0ae84a7ded", "score": "0.58736587", "text": "String getSapgh();", "title": "" }, { "docid": "f0d62ff3f801dd3751b0ab0ae84a7ded", "score": "0.58736587", "text": "String getSapgh();", "title": "" }, { "docid": "b06dde970ee54c4872bcbab5ff5132b4", "score": "0.5873436", "text": "void mo18461a(String str);", "title": "" }, { "docid": "1f5c610a4072f54674a8e5eaae5ca783", "score": "0.58653164", "text": "public String getJam9(){\n return jam9; //pengembalian nilai jam ke 9\n }", "title": "" }, { "docid": "f2ae5e1ba450510ef1e597082cffe135", "score": "0.58622915", "text": "public void setMaSoThue(String maSoThue);", "title": "" }, { "docid": "542d96cd46a19bd9cfba54929cbbf88e", "score": "0.58591485", "text": "void mo40743a(String str, Location location, C3774oh ohVar);", "title": "" }, { "docid": "0d192ad60dd003a052275a4aa6a005eb", "score": "0.5815419", "text": "void mo8249e(String str);", "title": "" }, { "docid": "713ba523eecb11779328697ea4de80d2", "score": "0.5813529", "text": "public Builder setSapgh(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n sapgh_ = value;\n\n return this;\n }", "title": "" }, { "docid": "2616f09c52f232200edebd1d8b390151", "score": "0.57706624", "text": "public abstract void mo29947a(String str);", "title": "" }, { "docid": "5eacc3d09ce65e3400ea492a413d0dcf", "score": "0.5770364", "text": "public String getJam7(){\n return jam7; //pengembalian nilai jam ke 7\n }", "title": "" }, { "docid": "e971682df1ade1f939ebd7cc42d1b451", "score": "0.5763979", "text": "void mo67862a(Integer num, String str);", "title": "" }, { "docid": "43687be558fad0e92e8c2513f03c8e99", "score": "0.57624924", "text": "public void mo11986a(String str) {\n this.f10823a = str;\n }", "title": "" }, { "docid": "e623c8950736e7c83772a04dbad6d370", "score": "0.5751008", "text": "void mo8245c(String str);", "title": "" }, { "docid": "79c08067bb25af045c98b720a5b95b16", "score": "0.5739011", "text": "C41723a mo33350lt(String str);", "title": "" }, { "docid": "7d7109e98d191622f616ea42d06192ff", "score": "0.57335407", "text": "String mo16500a(String str);", "title": "" }, { "docid": "787446588156dc0a125172591fc96080", "score": "0.57205874", "text": "public abstract void mo9309a(String str);", "title": "" }, { "docid": "99c286d52d98a369f0f282fca440b076", "score": "0.57174844", "text": "public abstract String mo32473a(String str);", "title": "" }, { "docid": "041f43e96f9f9f2b12175deb3f637425", "score": "0.5715693", "text": "C13340iN(String str) {\n this.A00 = str;\n }", "title": "" }, { "docid": "20468811fb95bed1c87f70cdec44744b", "score": "0.5707901", "text": "void mo18466b(String str);", "title": "" }, { "docid": "ded1881dfaadf0a7a1127c46a2d730d3", "score": "0.5707282", "text": "C1111an mo2876a(String str);", "title": "" }, { "docid": "2981266452009aa085c7347ec4f6d260", "score": "0.5703849", "text": "public String getJam6(){\n return jam6; //pengembalian nilai jam ke 6\n }", "title": "" }, { "docid": "c382c21c32372c543f83304531768d47", "score": "0.569759", "text": "public void mo15959a(String str) {\n this.f1521y = str;\n }", "title": "" }, { "docid": "8ab4075637a92994522812fd48a2a93a", "score": "0.5680647", "text": "private String m34324i(String str) {\n if (this.f25783g <= 0) {\n return str;\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"sid=\");\n sb.append(this.f25783g);\n sb.append(\" \");\n sb.append(str);\n return sb.toString();\n }", "title": "" }, { "docid": "014838924916a9946d5875a256dea4f5", "score": "0.5671869", "text": "void mo8242b(String str);", "title": "" }, { "docid": "fd82197e27e2eede2f84029840b6a38b", "score": "0.5663091", "text": "public void setHodsc1(Char20 param){\n \n this.localHodsc1=param;\n \n\n }", "title": "" }, { "docid": "64fc08da4ae1c3664bc304000f0d0f86", "score": "0.565658", "text": "public void mo15967b(String str) {\n this.f1522z = str;\n }", "title": "" }, { "docid": "34f8eecadb2e963140debe533e488c55", "score": "0.5654379", "text": "String mo38528a(C12027ya yaVar);", "title": "" }, { "docid": "f547809072dd9ff14fe55a73a4c8efc7", "score": "0.5652866", "text": "void mo18471d(String str);", "title": "" }, { "docid": "c0f30d06406e3aee8d97455385defe28", "score": "0.56525624", "text": "void mo8247d(String str);", "title": "" }, { "docid": "2fc6be3ebb56b54c5407ed27f9557431", "score": "0.56494576", "text": "private static String m14771a(String str) {\n return \"Moat\" + str;\n }", "title": "" }, { "docid": "3c8dbaa7fc3517349cdcc6833da201b2", "score": "0.56486076", "text": "public String getJam10(){\n return jam10; //pengembalian nilai jam ke 10\n }", "title": "" }, { "docid": "4919f37613b42e4da36f335114e9a6ec", "score": "0.56442946", "text": "public void setHodsc3(Char20 param){\n \n this.localHodsc3=param;\n \n\n }", "title": "" }, { "docid": "9d5c0da1b778ddfc9195e058d4642883", "score": "0.56417805", "text": "void mo18469c(String str);", "title": "" }, { "docid": "bcd19010feadcc13afb5bc1e968d5c2a", "score": "0.56400174", "text": "public String getJam5(){\n return jam5; //pengembalian nilai jam ke 5\n }", "title": "" }, { "docid": "6541f792d806edf4b2ea9e5a68b99f55", "score": "0.56254625", "text": "void mo18473e(String str);", "title": "" }, { "docid": "1bb450398060a87de7ad05ab940cfffe", "score": "0.56214845", "text": "public void setHodsc4(Char20 param){\n \n this.localHodsc4=param;\n \n\n }", "title": "" }, { "docid": "85b872da6ed364bef1eea52c7e2c48af", "score": "0.558838", "text": "public void setHdsc1(Char20 param){\n \n this.localHdsc1=param;\n \n\n }", "title": "" }, { "docid": "7f703d350ffbdfa6178b62b8e3b2a6f8", "score": "0.5588376", "text": "java.lang.String getString23();", "title": "" }, { "docid": "9c2a4604ff4b019f0882c769b7041b15", "score": "0.55883294", "text": "public void setHdsc3(Char20 param){\n \n this.localHdsc3=param;\n \n\n }", "title": "" }, { "docid": "17b5d6328cba18bd8f9bfa39768ed0fa", "score": "0.5584925", "text": "Magneto(String nume){\n this.nume = nume;\n }", "title": "" }, { "docid": "d2e8c9b45ce513f54ab41111675e72ff", "score": "0.555398", "text": "public final void mo1495b(String str) {\n }", "title": "" }, { "docid": "9e3e76fe4a80fd2b2bd52a1ab4f4000e", "score": "0.5548664", "text": "public void setChuSoHuu(String chuSoHuu);", "title": "" }, { "docid": "1e689d41e822e555b0e6551fb8e33874", "score": "0.5537901", "text": "void mo12374a(String str, String str2, String str3);", "title": "" }, { "docid": "eb30d5d347fcd2faed2422de659eba16", "score": "0.553729", "text": "Shoarmatent(){\n\t\tsetNaam(\"Shoarmatent \");\n\t\tsetErvaring(\"Shoarmaaaaaaaaaaaaa\");\n\t\tsetPrijs(5.15);\n\t}", "title": "" }, { "docid": "9d7cac95558b9eacb519c0ca06a22511", "score": "0.55322087", "text": "void mo8705a(String str, int i, C9545d c9545d);", "title": "" }, { "docid": "60fc2981a89b3663a7674218ec65e04b", "score": "0.5532143", "text": "String mo58583a(int i, String str) throws Exception;", "title": "" }, { "docid": "97792a946a96bd7d30ea104273962866", "score": "0.55299", "text": "private void m7103a(String str) {\n this.f7077i = str;\n }", "title": "" }, { "docid": "9120b7883f665ab0e68b801d07ce8748", "score": "0.5525503", "text": "public void mo9872a(String str) {\n C4173d dVar = new C4173d();\n dVar.f14024a = str;\n add(dVar);\n }", "title": "" }, { "docid": "3cfc128c0c542abb437fb4840f218a16", "score": "0.5524588", "text": "private static void m29925a(String str) {\n }", "title": "" }, { "docid": "4f51f36cb68da63c8e82551fe70d212f", "score": "0.5521928", "text": "void mo8085TI(String str);", "title": "" }, { "docid": "e3a50625867e2a6faaad229a19e97e81", "score": "0.5521373", "text": "public void m15008a(String str) {\n this.f13754a = str;\n }", "title": "" }, { "docid": "f4141d163a142344b5690d00e5f64924", "score": "0.5520792", "text": "public abstract void mo434a(String str, int i);", "title": "" }, { "docid": "f9b6098ecccacff7015195c8d74aa1e4", "score": "0.5508636", "text": "void m1759b(String str) {\r\n this.f1231i = str;\r\n }", "title": "" }, { "docid": "afbba436143a0723e241e938d6b1efb7", "score": "0.55077773", "text": "public void mo15983f(String str) {\n this.f1515s = str;\n }", "title": "" }, { "docid": "06e3e4c4eaa1fdd5c205f5c71b40f558", "score": "0.54954803", "text": "String mo123681a();", "title": "" }, { "docid": "9909431adbc16aa632b134f01dc6ff8d", "score": "0.54950005", "text": "String mo41333b(String str);", "title": "" }, { "docid": "25a285141c83b36f100478e9ecff7e39", "score": "0.5494134", "text": "public final void mo14760jj(String str) {\n this.field_parentRef = str;\n this.duS = true;\n }", "title": "" }, { "docid": "56bf102a84c522df47e77a47037effd6", "score": "0.54938185", "text": "public void setJam8(String jam8){\n this.jam8 = jam8;\n }", "title": "" }, { "docid": "5d02b62064fef2c45a6e134040f8d43f", "score": "0.54904854", "text": "public void mo3234b(String str) {\n this.f3731h = str;\n }", "title": "" }, { "docid": "10f095d9e1443ae5a4db22916cbca15e", "score": "0.54885256", "text": "C7616ad mo46033MU(String str);", "title": "" }, { "docid": "992ed46231407fad078926c5d2c34176", "score": "0.5486674", "text": "java.lang.String getString14();", "title": "" }, { "docid": "755156c1b84a81d797d9125d91b0330b", "score": "0.54849434", "text": "@Test\n public void ocurranceInStatemet()\n {\n String result=obj.ocurranceOfASpecificCharacter(\"Java is java again java again count number of occurrence of a in the given\",'a');\n assertEquals(\"11\",result);\n }", "title": "" }, { "docid": "2e495d0763fdc30b85e0986af785fda5", "score": "0.5484335", "text": "String mo58585b(int i, String str) throws Exception;", "title": "" }, { "docid": "231c72cb5ebc0867db59a9aadf7b63e2", "score": "0.5475278", "text": "String mo3763d();", "title": "" }, { "docid": "1b4c9a3cf96ffd88989db3de95dddf6a", "score": "0.54732573", "text": "public void mo15973c(String str) {\n this.f1497E = str;\n }", "title": "" }, { "docid": "959780cc9ab7179437222b0fd9269eb3", "score": "0.54699147", "text": "public void setHdsc4(Char20 param){\n \n this.localHdsc4=param;\n \n\n }", "title": "" }, { "docid": "8177733f9507b5aedadca1260ddd49ac", "score": "0.5460299", "text": "public String getJam1(){\n return jam1; //pengembalian nilai jam ke 1\n }", "title": "" }, { "docid": "2c1847aadeb65a9735a61a0b4328cbec", "score": "0.5457714", "text": "public String getJam3(){\n return jam3; //pengembalian nilai jam ke 3\n }", "title": "" }, { "docid": "6326a22beb814b140c28d25972648657", "score": "0.5457103", "text": "public void setHinhThucHoatDong(String hinhThucHoatDong);", "title": "" }, { "docid": "636659f230ff99dc4a66d39c32669c9f", "score": "0.5456941", "text": "public void setSoPhuHieu(String soPhuHieu);", "title": "" }, { "docid": "3499929991e11040e65c06f20b8f68b0", "score": "0.5455908", "text": "public String mo11755a(String str) {\n return \"\";\n }", "title": "" }, { "docid": "55aeed65d04dd2b6becc921dece80ab4", "score": "0.5455673", "text": "String mo12930a();", "title": "" }, { "docid": "fc4dc397ccd1093e1cdf09554fd50447", "score": "0.5452082", "text": "public void mo6837d(String str) {\n this.f5625A0 = str;\n }", "title": "" }, { "docid": "58e4e675c1e3a50485cf18a840ed68a0", "score": "0.5449707", "text": "java.lang.String getString34();", "title": "" }, { "docid": "8d63161ea7d045fe9008a6c29394b38d", "score": "0.5444065", "text": "public String getJam4(){\n return jam4; //pengembalian nilai jam ke 4\n }", "title": "" }, { "docid": "157e5275e18919f2acc0115408e444e5", "score": "0.5442504", "text": "public void setHdsc2(Char20 param){\n \n this.localHdsc2=param;\n \n\n }", "title": "" }, { "docid": "d63ee7cd563d7282c51036b27f0ca6bd", "score": "0.5440737", "text": "public static void main(String[] args) {\n String str1 = \"summer\";\r\n System.out.println(\"answer : \" + isSTRINGG(str1));\r\n\r\n String str2 = \"su11mer\";\r\n System.out.println(\"answer : \" + isSTRINGG(str2));\r\n\r\n String str3 = null;\r\n System.out.println(\"answer : \" + isSTRINGG(str3));\r\n\r\n }", "title": "" }, { "docid": "7354584962a0fa7403985019e08bcfc5", "score": "0.54400504", "text": "private void m5927a(C1476a.C1480c cVar, String str) {\n m5928a(cVar, str, C1483d.UNSPECIFIED);\n }", "title": "" }, { "docid": "279dfa8030971f5b3ab60439ac5c8cc1", "score": "0.5436181", "text": "boolean mo24385a(String str);", "title": "" } ]
36dda162eea71b375b3bfdb25d9d2768
$ANTLR end synpred34_DRL6Expressions $ANTLR start synpred35_DRL6Expressions
[ { "docid": "fa0d3f5f9b8a46f1e3343095925d6c6b", "score": "0.5741463", "text": "public final void synpred35_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:588:15: ( DOT LEFT_PAREN )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:588:16: DOT LEFT_PAREN\n\t\t{\n\t\tmatch(input,DOT,FOLLOW_DOT_in_synpred35_DRL6Expressions3270); if (state.failed) return;\n\t\tmatch(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred35_DRL6Expressions3272); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" } ]
[ { "docid": "b1d562afb658ed6f24eaeb6a569727da", "score": "0.6517549", "text": "public final boolean synpred21_DRL6Expressions() {\n\t\tstate.backtracking++;\n\t\tint start = input.mark();\n\t\ttry {\n\t\t\tsynpred21_DRL6Expressions_fragment(); // can never throw exception\n\t\t} catch (RecognitionException re) {\n\t\t\tSystem.err.println(\"impossible: \"+re);\n\t\t}\n\t\tboolean success = !state.failed;\n\t\tinput.rewind(start);\n\t\tstate.backtracking--;\n\t\tstate.failed=false;\n\t\treturn success;\n\t}", "title": "" }, { "docid": "1e5fa5834355c4e9c1fa65e6004b30ec", "score": "0.6300003", "text": "public final void synpred14_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:472:11: ( PLUS | MINUS )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:\n\t\t{\n\t\tif ( input.LA(1)==MINUS||input.LA(1)==PLUS ) {\n\t\t\tinput.consume();\n\t\t\tstate.errorRecovery=false;\n\t\t\tstate.failed=false;\n\t\t}\n\t\telse {\n\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\n\t\t\tthrow mse;\n\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "e3727ec88ede55561ae8424515175a2b", "score": "0.6076862", "text": "public final void synpred45_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:696:20: ( LEFT_PAREN )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:696:21: LEFT_PAREN\n\t\t{\n\t\tmatch(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred45_DRL6Expressions4312); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "8c6f659f8d0ebd94526119b3daf72077", "score": "0.59759545", "text": "Expr getExp6();", "title": "" }, { "docid": "4cfb1c1a5a8f321a9fc39504423e5724", "score": "0.5928292", "text": "public final void synpred27_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:576:9: ( literal )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:576:10: literal\n\t\t{\n\t\tpushFollow(FOLLOW_literal_in_synpred27_DRL6Expressions3073);\n\t\tliteral();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "ed14ca8a888c684f8043244a4451f837", "score": "0.5909023", "text": "public final void synpred9_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:396:5: ( operator | LEFT_PAREN )\n\t\tint alt99=2;\n\t\tint LA99_0 = input.LA(1);\n\t\tif ( (LA99_0==EQUALS||(LA99_0 >= GREATER && LA99_0 <= GREATER_EQUALS)||(LA99_0 >= LESS && LA99_0 <= LESS_EQUALS)||LA99_0==NOT_EQUALS||LA99_0==TILDE) ) {\n\t\t\talt99=1;\n\t\t}\n\t\telse if ( (LA99_0==ID) && ((((helper.validateIdentifierKey(DroolsSoftKeywords.NOT)))||((helper.isPluggableEvaluator(false)))))) {\n\t\t\talt99=1;\n\t\t}\n\t\telse if ( (LA99_0==LEFT_PAREN) ) {\n\t\t\talt99=2;\n\t\t}\n\n\t\telse {\n\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\tNoViableAltException nvae =\n\t\t\t\tnew NoViableAltException(\"\", 99, 0, input);\n\t\t\tthrow nvae;\n\t\t}\n\n\t\tswitch (alt99) {\n\t\t\tcase 1 :\n\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:396:7: operator\n\t\t\t\t{\n\t\t\t\tpushFollow(FOLLOW_operator_in_synpred9_DRL6Expressions1846);\n\t\t\t\toperator();\n\t\t\t\tstate._fsp--;\n\t\t\t\tif (state.failed) return;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:396:18: LEFT_PAREN\n\t\t\t\t{\n\t\t\t\tmatch(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred9_DRL6Expressions1850); if (state.failed) return;\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t}\n\t}", "title": "" }, { "docid": "9e40e28e4938389a8fe07a41ebb1bbd1", "score": "0.58862835", "text": "public final void synpred19_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:536:10: ( INCR | DECR )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:\n\t\t{\n\t\tif ( input.LA(1)==DECR||input.LA(1)==INCR ) {\n\t\t\tinput.consume();\n\t\t\tstate.errorRecovery=false;\n\t\t\tstate.failed=false;\n\t\t}\n\t\telse {\n\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\tMismatchedSetException mse = new MismatchedSetException(null,input);\n\t\t\tthrow mse;\n\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "b35d4396ae878dd24cc2704fbdcae0ab", "score": "0.58452994", "text": "public final void synpred33_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:584:9: ( ID )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:584:10: ID\n\t\t{\n\t\tmatch(input,ID,FOLLOW_ID_in_synpred33_DRL6Expressions3190); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "54908c6f3911198d085581190d5bb313", "score": "0.5771621", "text": "public final void synpred48_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:735:7: ( GREATER GREATER GREATER )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:735:8: GREATER GREATER GREATER\n\t\t{\n\t\tmatch(input,GREATER,FOLLOW_GREATER_in_synpred48_DRL6Expressions4656); if (state.failed) return;\n\t\tmatch(input,GREATER,FOLLOW_GREATER_in_synpred48_DRL6Expressions4658); if (state.failed) return;\n\t\tmatch(input,GREATER,FOLLOW_GREATER_in_synpred48_DRL6Expressions4660); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "d9e1a99574b227c0480cfc2b7897288e", "score": "0.57072973", "text": "public final void synpred5_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:139:92: ( LEFT_SQUARE RIGHT_SQUARE )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:139:93: LEFT_SQUARE RIGHT_SQUARE\n\t\t{\n\t\tmatch(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_synpred5_DRL6Expressions611); if (state.failed) return;\n\t\tmatch(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_synpred5_DRL6Expressions613); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "7d7fcb852cbf351a58eb69c37338301b", "score": "0.56466526", "text": "public final void synpred21_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:541:8: ( LEFT_PAREN type )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:541:9: LEFT_PAREN type\n\t\t{\n\t\tmatch(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred21_DRL6Expressions2745); if (state.failed) return;\n\t\tpushFollow(FOLLOW_type_in_synpred21_DRL6Expressions2747);\n\t\ttype();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "7c63667871b332eca15b3a815a6f6039", "score": "0.5590532", "text": "public final void synpred39_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:629:7: ( LEFT_SQUARE RIGHT_SQUARE )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:629:8: LEFT_SQUARE RIGHT_SQUARE\n\t\t{\n\t\tmatch(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_synpred39_DRL6Expressions3647); if (state.failed) return;\n\t\tmatch(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_synpred39_DRL6Expressions3649); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "8a0b61abc93a82755b4dcf78d2ce083a", "score": "0.5588879", "text": "public final void synpred34_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:586:15: ( DOT ID )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:586:16: DOT ID\n\t\t{\n\t\tmatch(input,DOT,FOLLOW_DOT_in_synpred34_DRL6Expressions3224); if (state.failed) return;\n\t\tmatch(input,ID,FOLLOW_ID_in_synpred34_DRL6Expressions3226); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "eff6baf53660205d889eb2091576cb64", "score": "0.5556358", "text": "public final void synpred47_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:705:18: ( LEFT_PAREN )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:705:19: LEFT_PAREN\n\t\t{\n\t\tmatch(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred47_DRL6Expressions4426); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "520a926bc0b56128825daa9386de5e62", "score": "0.553897", "text": "public final void synpred41_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:661:107: ( LEFT_SQUARE RIGHT_SQUARE )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:661:108: LEFT_SQUARE RIGHT_SQUARE\n\t\t{\n\t\tmatch(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_synpred41_DRL6Expressions4014); if (state.failed) return;\n\t\tmatch(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_synpred41_DRL6Expressions4016); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "a10724794d3fda1e53f7f1bc360e815b", "score": "0.5372707", "text": "public final void synpred49_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:736:7: ( GREATER GREATER )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:736:8: GREATER GREATER\n\t\t{\n\t\tmatch(input,GREATER,FOLLOW_GREATER_in_synpred49_DRL6Expressions4679); if (state.failed) return;\n\t\tmatch(input,GREATER,FOLLOW_GREATER_in_synpred49_DRL6Expressions4681); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "9266cc83b8316e189ddbcb1f45eaea4b", "score": "0.52912444", "text": "public final void synpred36_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:593:15: ( HASH ID )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:593:16: HASH ID\n\t\t{\n\t\tmatch(input,HASH,FOLLOW_HASH_in_synpred36_DRL6Expressions3413); if (state.failed) return;\n\t\tmatch(input,ID,FOLLOW_ID_in_synpred36_DRL6Expressions3415); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "6a47d5ef4fbf5aa0177c65a8d8d61f14", "score": "0.52802354", "text": "public R visit(RelationalExpression4 n) {\n R _ret=null;\n System.out.print(\">=\");\n n.f0.accept(this);\n n.f1.accept(this);\n return _ret;\n }", "title": "" }, { "docid": "156991c771a5dca6e983783061dd7fc1", "score": "0.5248439", "text": "public final void synpred6_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:165:10: ( assignmentOperator )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:165:11: assignmentOperator\n\t\t{\n\t\tpushFollow(FOLLOW_assignmentOperator_in_synpred6_DRL6Expressions782);\n\t\tassignmentOperator();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "5273b655804646126b6d196d3b0d37fc", "score": "0.52448016", "text": "public final void synpred4_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:139:55: ( typeArguments )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:139:56: typeArguments\n\t\t{\n\t\tpushFollow(FOLLOW_typeArguments_in_synpred4_DRL6Expressions599);\n\t\ttypeArguments();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "25aa1745fcaa6ee0bf1b3628cfe131e8", "score": "0.5225629", "text": "public final void synpred16_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:505:9: ( backReferenceExpression )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:505:10: backReferenceExpression\n\t\t{\n\t\tpushFollow(FOLLOW_backReferenceExpression_in_synpred16_DRL6Expressions2491);\n\t\tbackReferenceExpression();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "01fbffbce9a4e6e7fbb017d455f74d1a", "score": "0.518155", "text": "public final void synpred24_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:569:8: ( HASH ID )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:569:9: HASH ID\n\t\t{\n\t\tmatch(input,HASH,FOLLOW_HASH_in_synpred24_DRL6Expressions2975); if (state.failed) return;\n\t\tmatch(input,ID,FOLLOW_ID_in_synpred24_DRL6Expressions2977); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "ac65c7a32a062c23a0273056ef00459a", "score": "0.5176929", "text": "public final void synpred2_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:138:44: ( LEFT_SQUARE RIGHT_SQUARE )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:138:45: LEFT_SQUARE RIGHT_SQUARE\n\t\t{\n\t\tmatch(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_synpred2_DRL6Expressions559); if (state.failed) return;\n\t\tmatch(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_synpred2_DRL6Expressions561); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "1d0fd811195ba6592f4807d8da85e5b2", "score": "0.515132", "text": "public final void synpred18_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:517:10: ( selector )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:517:11: selector\n\t\t{\n\t\tpushFollow(FOLLOW_selector_in_synpred18_DRL6Expressions2662);\n\t\tselector();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "e73d9e27266177649ede54710aecf4bf", "score": "0.5150287", "text": "public final void synpred7_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:199:8: ( ID EQUALS_ASSIGN )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:199:9: ID EQUALS_ASSIGN\n\t\t{\n\t\tmatch(input,ID,FOLLOW_ID_in_synpred7_DRL6Expressions961); if (state.failed) return;\n\t\tmatch(input,EQUALS_ASSIGN,FOLLOW_EQUALS_ASSIGN_in_synpred7_DRL6Expressions963); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "f7b42f7ac57f221e2f9a966571202013", "score": "0.51423144", "text": "public final void synpred26_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:575:9: ( nonWildcardTypeArguments )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:575:10: nonWildcardTypeArguments\n\t\t{\n\t\tpushFollow(FOLLOW_nonWildcardTypeArguments_in_synpred26_DRL6Expressions3048);\n\t\tnonWildcardTypeArguments();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "0fe5e7eb58d6ecc9d92d2ced18374111", "score": "0.51359695", "text": "public final void synpred44_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:694:9: ( DOT ID )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:694:10: DOT ID\n\t\t{\n\t\tmatch(input,DOT,FOLLOW_DOT_in_synpred44_DRL6Expressions4261); if (state.failed) return;\n\t\tmatch(input,ID,FOLLOW_ID_in_synpred44_DRL6Expressions4263); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "902fc88cd73c016f6b9b0fac42f8cd09", "score": "0.5132843", "text": "public final void synpred15_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:504:9: ( castExpression )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:504:10: castExpression\n\t\t{\n\t\tpushFollow(FOLLOW_castExpression_in_synpred15_DRL6Expressions2477);\n\t\tcastExpression();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "42bb2703d7720a84e55b59fa3cb8e5aa", "score": "0.5111525", "text": "public final void synpred40_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:632:8: ( LEFT_SQUARE )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:632:9: LEFT_SQUARE\n\t\t{\n\t\tmatch(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_synpred40_DRL6Expressions3752); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "a9f5155c30860d92895e0b110a41ecd1", "score": "0.50891435", "text": "public final void synpred10_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:407:7: ( DOUBLE_PIPE ( fullAnnotation[null] )? andRestriction )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:407:8: DOUBLE_PIPE ( fullAnnotation[null] )? andRestriction\n\t\t{\n\t\tmatch(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_synpred10_DRL6Expressions1903); if (state.failed) return;\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:407:20: ( fullAnnotation[null] )?\n\t\tint alt100=2;\n\t\tint LA100_0 = input.LA(1);\n\t\tif ( (LA100_0==AT) ) {\n\t\t\talt100=1;\n\t\t}\n\t\tswitch (alt100) {\n\t\t\tcase 1 :\n\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:407:20: fullAnnotation[null]\n\t\t\t\t{\n\t\t\t\tpushFollow(FOLLOW_fullAnnotation_in_synpred10_DRL6Expressions1905);\n\t\t\t\tfullAnnotation(null);\n\t\t\t\tstate._fsp--;\n\t\t\t\tif (state.failed) return;\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t}\n\n\t\tpushFollow(FOLLOW_andRestriction_in_synpred10_DRL6Expressions1909);\n\t\tandRestriction();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "3f7495efb3ab48f11611b89483d9ee24", "score": "0.50503397", "text": "public final void synpred46_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:698:9: ( LEFT_SQUARE )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:698:10: LEFT_SQUARE\n\t\t{\n\t\tmatch(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_synpred46_DRL6Expressions4335); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "fffeb4f7fedd741663c65f9d347863e8", "score": "0.5012815", "text": "public interface MyNewGrammarConstants {\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 _multiplication = 7;\n /** RegularExpression Id. */\n int _division = 8;\n /** RegularExpression Id. */\n int _mod = 9;\n /** RegularExpression Id. */\n int _assignop = 10;\n /** RegularExpression Id. */\n int _semicolon = 11;\n /** RegularExpression Id. */\n int _comma = 12;\n /** RegularExpression Id. */\n int _period = 13;\n /** RegularExpression Id. */\n int _leftparen = 14;\n /** RegularExpression Id. */\n int _rightparen = 15;\n /** RegularExpression Id. */\n int _leftbracket = 16;\n /** RegularExpression Id. */\n int _rightbracket = 17;\n /** RegularExpression Id. */\n int _leftbrace = 18;\n /** RegularExpression Id. */\n int _rightbrace = 19;\n /** RegularExpression Id. */\n int _less = 20;\n /** RegularExpression Id. */\n int _lessequal = 21;\n /** RegularExpression Id. */\n int _greater = 22;\n /** RegularExpression Id. */\n int _greaterequal = 23;\n /** RegularExpression Id. */\n int _equal = 24;\n /** RegularExpression Id. */\n int _notequal = 25;\n /** RegularExpression Id. */\n int _and = 26;\n /** RegularExpression Id. */\n int _or = 27;\n /** RegularExpression Id. */\n int _not = 28;\n /** RegularExpression Id. */\n int _boolean = 29;\n /** RegularExpression Id. */\n int _break = 30;\n /** RegularExpression Id. */\n int _class = 31;\n /** RegularExpression Id. */\n int _double = 32;\n /** RegularExpression Id. */\n int _else = 33;\n /** RegularExpression Id. */\n int _extends = 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 _int = 38;\n /** RegularExpression Id. */\n int _interface = 39;\n /** RegularExpression Id. */\n int _new = 40;\n /** RegularExpression Id. */\n int _newarray = 41;\n /** RegularExpression Id. */\n int _null = 42;\n /** RegularExpression Id. */\n int _println = 43;\n /** RegularExpression Id. */\n int _readln = 44;\n /** RegularExpression Id. */\n int _return = 45;\n /** RegularExpression Id. */\n int _string = 46;\n /** RegularExpression Id. */\n int _void = 47;\n /** RegularExpression Id. */\n int _while = 48;\n /** RegularExpression Id. */\n int _booleanconstant = 49;\n /** RegularExpression Id. */\n int _id = 50;\n /** RegularExpression Id. */\n int _intconstant = 51;\n /** RegularExpression Id. */\n int _doubleconstant = 52;\n /** RegularExpression Id. */\n int _stringconstant = 53;\n /** RegularExpression Id. */\n int DIGIT = 54;\n /** RegularExpression Id. */\n int LETTER = 55;\n /** RegularExpression Id. */\n int ALPHABET = 56;\n /** RegularExpression Id. */\n int LINECOMMENT = 57;\n /** RegularExpression Id. */\n int ML_COMMENT_START = 58;\n /** RegularExpression Id. */\n int ML_COMMENT_END = 59;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_ML_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\r\\\"\",\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 \"\\\"boolean\\\"\",\n \"\\\"break\\\"\",\n \"\\\"class\\\"\",\n \"\\\"double\\\"\",\n \"\\\"else\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"for\\\"\",\n \"\\\"if\\\"\",\n \"\\\"implements\\\"\",\n \"\\\"int\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"new\\\"\",\n \"\\\"newarray\\\"\",\n \"\\\"null\\\"\",\n \"\\\"println\\\"\",\n \"\\\"readln\\\"\",\n \"\\\"return\\\"\",\n \"\\\"string\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"<_booleanconstant>\",\n \"<_id>\",\n \"<_intconstant>\",\n \"<_doubleconstant>\",\n \"<_stringconstant>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"<ALPHABET>\",\n \"<LINECOMMENT>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 60>\",\n };\n\n}", "title": "" }, { "docid": "34aa579015ed6b78c961085245666398", "score": "0.49277785", "text": "public static void main(String[] args) throws Exception {\n \tANTLRStringStream in = new ANTLRStringStream(\"12*(5-6)+9/7+6\");\r\n \r\n \t//init of lexer and parser\r\n exprLexer lexer = new exprLexer(in);\r\n CommonTokenStream tokens = new CommonTokenStream(lexer);\r\n exprParser parser = new exprParser(tokens);\r\n \r\n //print result of parsing and computing expression\r\n System.out.println(parser.expression());\r\n }", "title": "" }, { "docid": "cbcdd68ad87724a517664e6331e220e7", "score": "0.4925953", "text": "public interface funcGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int T_FUNC_IZQ = 1;\n /** RegularExpression Id. */\n int T_FUNC_DER = 2;\n /** RegularExpression Id. */\n int T_PARAMS_IZQ = 3;\n /** RegularExpression Id. */\n int T_PARAMS_DER = 4;\n /** RegularExpression Id. */\n int T_NOMBRE_IZQ = 5;\n /** RegularExpression Id. */\n int T_NOMBRE_DER = 6;\n /** RegularExpression Id. */\n int T_TIPO_IZQ = 7;\n /** RegularExpression Id. */\n int T_TIPO_DER = 8;\n /** RegularExpression Id. */\n int T_SRC_IZQ = 9;\n /** RegularExpression Id. */\n int T_SRC_DER = 10;\n /** RegularExpression Id. */\n int T_TEXT_IZQ = 11;\n /** RegularExpression Id. */\n int T_INTEGER_IZQ = 12;\n /** RegularExpression Id. */\n int T_DOUBLE_IZQ = 13;\n /** RegularExpression Id. */\n int T_BOOL_IZQ = 14;\n /** RegularExpression Id. */\n int T_DATE_IZQ = 15;\n /** RegularExpression Id. */\n int T_DATETIME_IZQ = 16;\n /** RegularExpression Id. */\n int T_TEXT_DER = 17;\n /** RegularExpression Id. */\n int T_INTEGER_DER = 18;\n /** RegularExpression Id. */\n int T_DOUBLE_DER = 19;\n /** RegularExpression Id. */\n int T_BOOL_DER = 20;\n /** RegularExpression Id. */\n int T_DATE_DER = 21;\n /** RegularExpression Id. */\n int T_DATETIME_DER = 22;\n /** RegularExpression Id. */\n int T_TEXT = 23;\n /** RegularExpression Id. */\n int T_INTEGER = 24;\n /** RegularExpression Id. */\n int T_DOUBLE = 25;\n /** RegularExpression Id. */\n int T_BOOL = 26;\n /** RegularExpression Id. */\n int T_DATE = 27;\n /** RegularExpression Id. */\n int T_DATETIME = 28;\n /** RegularExpression Id. */\n int CADENA = 29;\n /** RegularExpression Id. */\n int SRC = 30;\n /** RegularExpression Id. */\n int ID_IZQ = 31;\n /** RegularExpression Id. */\n int ID_DER = 32;\n /** RegularExpression Id. */\n int ID = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<T_FUNC_IZQ>\",\n \"<T_FUNC_DER>\",\n \"<T_PARAMS_IZQ>\",\n \"<T_PARAMS_DER>\",\n \"<T_NOMBRE_IZQ>\",\n \"<T_NOMBRE_DER>\",\n \"<T_TIPO_IZQ>\",\n \"<T_TIPO_DER>\",\n \"<T_SRC_IZQ>\",\n \"<T_SRC_DER>\",\n \"<T_TEXT_IZQ>\",\n \"<T_INTEGER_IZQ>\",\n \"<T_DOUBLE_IZQ>\",\n \"<T_BOOL_IZQ>\",\n \"<T_DATE_IZQ>\",\n \"<T_DATETIME_IZQ>\",\n \"<T_TEXT_DER>\",\n \"<T_INTEGER_DER>\",\n \"<T_DOUBLE_DER>\",\n \"<T_BOOL_DER>\",\n \"<T_DATE_DER>\",\n \"<T_DATETIME_DER>\",\n \"\\\"text\\\"\",\n \"\\\"integer\\\"\",\n \"\\\"double\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"date\\\"\",\n \"\\\"datetime\\\"\",\n \"<CADENA>\",\n \"<SRC>\",\n \"<ID_IZQ>\",\n \"<ID_DER>\",\n \"<ID>\",\n \"\\\" \\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "title": "" }, { "docid": "1868c770b72a5fc0367822ba179fca3a", "score": "0.49212748", "text": "public R visit(UnaryExpression4 n) {\n R _ret=null;\n \n n.f0.accept(this);\n n.f1.accept(this);\n return _ret;\n }", "title": "" }, { "docid": "10b3834df2622aa49692e86d0612b29f", "score": "0.49211848", "text": "public final void synpred37_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:595:15: ( NULL_SAFE_DOT ID )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:595:16: NULL_SAFE_DOT ID\n\t\t{\n\t\tmatch(input,NULL_SAFE_DOT,FOLLOW_NULL_SAFE_DOT_in_synpred37_DRL6Expressions3459); if (state.failed) return;\n\t\tmatch(input,ID,FOLLOW_ID_in_synpred37_DRL6Expressions3461); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "5a186305a913eec052944401c0014f64", "score": "0.49131316", "text": "public final void synpred17_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:513:11: ( DIV ID )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:513:12: DIV ID\n\t\t{\n\t\tmatch(input,DIV,FOLLOW_DIV_in_synpred17_DRL6Expressions2612); if (state.failed) return;\n\t\tmatch(input,ID,FOLLOW_ID_in_synpred17_DRL6Expressions2614); if (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "726d609029ee2bcefa052f3782925e5c", "score": "0.49022335", "text": "public final void synpred13_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:461:7: ( shiftOp )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:461:8: shiftOp\n\t\t{\n\t\tpushFollow(FOLLOW_shiftOp_in_synpred13_DRL6Expressions2157);\n\t\tshiftOp();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "5ce0f6487a710bbeec49b4a3bdaa75d1", "score": "0.48934105", "text": "Expr getExp5();", "title": "" }, { "docid": "c0a59bfddff728943117ee71c2fe65d3", "score": "0.4880052", "text": "public final void synpred32_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:583:9: ( inlineListExpression )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:583:10: inlineListExpression\n\t\t{\n\t\tpushFollow(FOLLOW_inlineListExpression_in_synpred32_DRL6Expressions3175);\n\t\tinlineListExpression();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "3f5bc23d2ce45ffad7762ba4bb557c78", "score": "0.48782447", "text": "public final NootParser.expression_level6_return expression_level6() throws RecognitionException {\n\t\tNootParser.expression_level6_return retval = new NootParser.expression_level6_return();\n\t\tretval.start = input.LT(1);\n\n\t\tNode root_0 = null;\n\n\t\tToken OR47=null;\n\t\tParserRuleReturnScope expression_level546 =null;\n\t\tParserRuleReturnScope expression_level548 =null;\n\n\t\tNode OR47_tree=null;\n\n\t\ttry {\n\t\t\t// /Users/Thijs/Development/noot/src/noot/antlr/Noot.g:186:5: ( expression_level5 ( OR ^ expression_level5 )* )\n\t\t\t// /Users/Thijs/Development/noot/src/noot/antlr/Noot.g:186:9: expression_level5 ( OR ^ expression_level5 )*\n\t\t\t{\n\t\t\troot_0 = (Node)adaptor.nil();\n\n\n\t\t\tpushFollow(FOLLOW_expression_level5_in_expression_level61356);\n\t\t\texpression_level546=expression_level5();\n\t\t\tstate._fsp--;\n\t\t\tif (state.failed) return retval;\n\t\t\tif ( state.backtracking==0 ) adaptor.addChild(root_0, expression_level546.getTree());\n\n\t\t\t// /Users/Thijs/Development/noot/src/noot/antlr/Noot.g:186:27: ( OR ^ expression_level5 )*\n\t\t\tloop10:\n\t\t\twhile (true) {\n\t\t\t\tint alt10=2;\n\t\t\t\tint LA10_0 = input.LA(1);\n\t\t\t\tif ( (LA10_0==OR) ) {\n\t\t\t\t\talt10=1;\n\t\t\t\t}\n\n\t\t\t\tswitch (alt10) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// /Users/Thijs/Development/noot/src/noot/antlr/Noot.g:186:28: OR ^ expression_level5\n\t\t\t\t\t{\n\t\t\t\t\tOR47=(Token)match(input,OR,FOLLOW_OR_in_expression_level61359); if (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) {\n\t\t\t\t\tOR47_tree = new BinaryExpressionNode(OR47) ;\n\t\t\t\t\troot_0 = (Node)adaptor.becomeRoot(OR47_tree, root_0);\n\t\t\t\t\t}\n\n\t\t\t\t\tpushFollow(FOLLOW_expression_level5_in_expression_level61365);\n\t\t\t\t\texpression_level548=expression_level5();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return retval;\n\t\t\t\t\tif ( state.backtracking==0 ) adaptor.addChild(root_0, expression_level548.getTree());\n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault :\n\t\t\t\t\tbreak loop10;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t}\n\n\t\t\tretval.stop = input.LT(-1);\n\n\t\t\tif ( state.backtracking==0 ) {\n\t\t\tretval.tree = (Node)adaptor.rulePostProcessing(root_0);\n\t\t\tadaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n\t\t\t}\n\t\t}\n\t\t \n\t\t catch (RecognitionException e) { \n\t\t throw e; \n\t\t } \n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn retval;\n\t}", "title": "" }, { "docid": "0049109014b4130405be5707d6435987", "score": "0.4866739", "text": "public final void synpred25_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:574:7: ( parExpression )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:574:8: parExpression\n\t\t{\n\t\tpushFollow(FOLLOW_parExpression_in_synpred25_DRL6Expressions3029);\n\t\tparExpression();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "268b56e51a70369ba5da3987f549d56b", "score": "0.48537442", "text": "public R visit(RelationalExpression3 n) {\n R _ret=null;\n System.out.print(\"<=\");\n n.f0.accept(this);\n n.f1.accept(this);\n return _ret;\n }", "title": "" }, { "docid": "f40431478c42a1b2533639908cc0252f", "score": "0.4830418", "text": "public final void synpred43_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:693:9: ( DOT new_key )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:693:10: DOT new_key\n\t\t{\n\t\tmatch(input,DOT,FOLLOW_DOT_in_synpred43_DRL6Expressions4234); if (state.failed) return;\n\t\tpushFollow(FOLLOW_new_key_in_synpred43_DRL6Expressions4236);\n\t\tnew_key();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "f0fee1777e07a944f6040c7db79fea37", "score": "0.48265114", "text": "public final void synpred38_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:596:13: ( identifierSuffix )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:596:14: identifierSuffix\n\t\t{\n\t\tpushFollow(FOLLOW_identifierSuffix_in_synpred38_DRL6Expressions3489);\n\t\tidentifierSuffix();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "c6fb9eb6f45dbcf4d781b6c0afa1bb92", "score": "0.4790176", "text": "public final void synpred3_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:139:13: ( typeArguments )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:139:14: typeArguments\n\t\t{\n\t\tpushFollow(FOLLOW_typeArguments_in_synpred3_DRL6Expressions585);\n\t\ttypeArguments();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "7159054ef9e1e6b26c1c355ced3a09fc", "score": "0.4781669", "text": "public final void rule__RM_Model__Group_6__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRMParser.g:2925:1: ( ( RULE_END ) )\n // InternalRMParser.g:2926:1: ( RULE_END )\n {\n // InternalRMParser.g:2926:1: ( RULE_END )\n // InternalRMParser.g:2927:2: RULE_END\n {\n before(grammarAccess.getRM_ModelAccess().getENDTerminalRuleCall_6_3()); \n match(input,RULE_END,FOLLOW_2); \n after(grammarAccess.getRM_ModelAccess().getENDTerminalRuleCall_6_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "03a1184592d5dc6f98744730e08d457d", "score": "0.47785395", "text": "private Expression parseREL_Expression(){\n\tExpression left = parseSHIFT_Expression();\n\twhile(willMatch(Token.Type.GE) || willMatch(Token.Type.GT) || willMatch(Token.Type.LT) || willMatch(Token.Type.LE)){\n\t Token opToken = skip();\n\t BinOp Binop = new BinOp(opToken);\n\t Expression right = parseSHIFT_Expression();\n\t left = new BinaryOperation(left, Binop, right);\n\t}\n\treturn left;\n }", "title": "" }, { "docid": "1d609ba87959577ae474c4d2db299283", "score": "0.4739257", "text": "public final void rule__ENodeTypeBody__Group_1_6__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRMParser.g:6376:1: ( ( RULE_END ) )\n // InternalRMParser.g:6377:1: ( RULE_END )\n {\n // InternalRMParser.g:6377:1: ( RULE_END )\n // InternalRMParser.g:6378:2: RULE_END\n {\n before(grammarAccess.getENodeTypeBodyAccess().getENDTerminalRuleCall_1_6_3()); \n match(input,RULE_END,FOLLOW_2); \n after(grammarAccess.getENodeTypeBodyAccess().getENDTerminalRuleCall_1_6_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "87e033e4107a8efc5a93ba00e209917f", "score": "0.4736757", "text": "public final void statment() throws RecognitionException {\n\t\tToken ID2=null;\n\t\tToken LITERAL4=null;\n\t\tToken LITERAL6=null;\n\t\tint expression1 =0;\n\t\tint expression3 =0;\n\t\tint expression5 =0;\n\t\tint expression7 =0;\n\n\t\ttry {\n\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:28:2: ( expression NEWLINE | 'LET' ID '=' expression NEWLINE | 'PRINT' LITERAL NEWLINE | 'PRINT' expression NEWLINE | 'INTEGER' var ( ',' var )* NEWLINE | 'INPUT' input_ID ( ',' input_ID )* NEWLINE | 'PRINTLN' LITERAL NEWLINE | 'PRINTLN' expression NEWLINE | COMMENT | 'END' )\n\t\t\tint alt4=10;\n\t\t\tswitch ( input.LA(1) ) {\n\t\t\tcase ID:\n\t\t\tcase INT:\n\t\t\tcase 11:\n\t\t\t\t{\n\t\t\t\talt4=1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 22:\n\t\t\t\t{\n\t\t\t\talt4=2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 23:\n\t\t\t\t{\n\t\t\t\tint LA4_3 = input.LA(2);\n\t\t\t\tif ( (LA4_3==LITERAL) ) {\n\t\t\t\t\talt4=3;\n\t\t\t\t}\n\t\t\t\telse if ( ((LA4_3 >= ID && LA4_3 <= INT)||LA4_3==11) ) {\n\t\t\t\t\talt4=4;\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 4, 3, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 21:\n\t\t\t\t{\n\t\t\t\talt4=5;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 20:\n\t\t\t\t{\n\t\t\t\talt4=6;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 24:\n\t\t\t\t{\n\t\t\t\tint LA4_6 = input.LA(2);\n\t\t\t\tif ( (LA4_6==LITERAL) ) {\n\t\t\t\t\talt4=7;\n\t\t\t\t}\n\t\t\t\telse if ( ((LA4_6 >= ID && LA4_6 <= INT)||LA4_6==11) ) {\n\t\t\t\t\talt4=8;\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 4, 6, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase COMMENT:\n\t\t\t\t{\n\t\t\t\talt4=9;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 19:\n\t\t\t\t{\n\t\t\t\talt4=10;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 4, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\t\t\tswitch (alt4) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:28:6: expression NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_expression_in_statment55);\n\t\t\t\t\texpression1=expression();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input,NEWLINE,FOLLOW_NEWLINE_in_statment57); \n\t\t\t\t\tSystem.out.println(expression1);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:29:10: 'LET' ID '=' expression NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,22,FOLLOW_22_in_statment70); \n\t\t\t\t\tID2=(Token)match(input,ID,FOLLOW_ID_in_statment72); \n\t\t\t\t\tmatch(input,18,FOLLOW_18_in_statment74); \n\t\t\t\t\tpushFollow(FOLLOW_expression_in_statment76);\n\t\t\t\t\texpression3=expression();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input,NEWLINE,FOLLOW_NEWLINE_in_statment78); \n\t\t\t\t\tmemory.put((ID2!=null?ID2.getText():null), new Integer(expression3));\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:31:9: 'PRINT' LITERAL NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,23,FOLLOW_23_in_statment98); \n\t\t\t\t\tLITERAL4=(Token)match(input,LITERAL,FOLLOW_LITERAL_in_statment100); \n\t\t\t\t\tmatch(input,NEWLINE,FOLLOW_NEWLINE_in_statment102); \n\t\t\t\t\t String s = (LITERAL4!=null?LITERAL4.getText():null); System.out.print(s.substring(1,s.length()-1));\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:33:9: 'PRINT' expression NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,23,FOLLOW_23_in_statment121); \n\t\t\t\t\tpushFollow(FOLLOW_expression_in_statment123);\n\t\t\t\t\texpression5=expression();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input,NEWLINE,FOLLOW_NEWLINE_in_statment125); \n\t\t\t\t\tSystem.out.print(expression5);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:34:10: 'INTEGER' var ( ',' var )* NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,21,FOLLOW_21_in_statment141); \n\t\t\t\t\tpushFollow(FOLLOW_var_in_statment143);\n\t\t\t\t\tvar();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:34:23: ( ',' var )*\n\t\t\t\t\tloop2:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt2=2;\n\t\t\t\t\t\tint LA2_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA2_0==15) ) {\n\t\t\t\t\t\t\talt2=1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt2) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:34:24: ',' var\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmatch(input,15,FOLLOW_15_in_statment145); \n\t\t\t\t\t\t\tpushFollow(FOLLOW_var_in_statment147);\n\t\t\t\t\t\t\tvar();\n\t\t\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tbreak loop2;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tmatch(input,NEWLINE,FOLLOW_NEWLINE_in_statment152); \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:35:9: 'INPUT' input_ID ( ',' input_ID )* NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,20,FOLLOW_20_in_statment162); \n\t\t\t\t\tpushFollow(FOLLOW_input_ID_in_statment164);\n\t\t\t\t\tinput_ID();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:35:25: ( ',' input_ID )*\n\t\t\t\t\tloop3:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt3=2;\n\t\t\t\t\t\tint LA3_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA3_0==15) ) {\n\t\t\t\t\t\t\talt3=1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt3) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:35:26: ',' input_ID\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmatch(input,15,FOLLOW_15_in_statment166); \n\t\t\t\t\t\t\tpushFollow(FOLLOW_input_ID_in_statment168);\n\t\t\t\t\t\t\tinput_ID();\n\t\t\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tbreak loop3;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tmatch(input,NEWLINE,FOLLOW_NEWLINE_in_statment172); \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 7 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:36:9: 'PRINTLN' LITERAL NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,24,FOLLOW_24_in_statment182); \n\t\t\t\t\tLITERAL6=(Token)match(input,LITERAL,FOLLOW_LITERAL_in_statment184); \n\t\t\t\t\tmatch(input,NEWLINE,FOLLOW_NEWLINE_in_statment186); \n\t\t\t\t\t String s = (LITERAL6!=null?LITERAL6.getText():null); System.out.println(s.substring(1,s.length()-1));\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 8 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:38:4: 'PRINTLN' expression NEWLINE\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,24,FOLLOW_24_in_statment202); \n\t\t\t\t\tpushFollow(FOLLOW_expression_in_statment204);\n\t\t\t\t\texpression7=expression();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input,NEWLINE,FOLLOW_NEWLINE_in_statment206); \n\t\t\t\t\tSystem.out.println(expression7);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 9 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:39:5: COMMENT\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,COMMENT,FOLLOW_COMMENT_in_statment214); \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 10 :\n\t\t\t\t\t// D:\\\\CSU LONG BEACH\\\\Spring 2017\\\\APL\\\\Assignment\\\\Assignment 2\\\\Brin.g:40:9: 'END'\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,19,FOLLOW_19_in_statment224); \n\t\t\t\t\t System.exit(0);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "ed5656953beaa25746f9bf9f810edf3a", "score": "0.47318694", "text": "public final void identifierSuffix() throws RecognitionException {\n\t\tToken LEFT_SQUARE15=null;\n\t\tToken RIGHT_SQUARE16=null;\n\t\tToken DOT17=null;\n\t\tToken LEFT_SQUARE18=null;\n\t\tToken RIGHT_SQUARE19=null;\n\n\t\ttry {\n\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:629:5: ( ( LEFT_SQUARE RIGHT_SQUARE )=> ( LEFT_SQUARE RIGHT_SQUARE )+ DOT class_key | ( ( LEFT_SQUARE )=> LEFT_SQUARE expression RIGHT_SQUARE )+ | arguments )\n\t\t\tint alt74=3;\n\t\t\tint LA74_0 = input.LA(1);\n\t\t\tif ( (LA74_0==LEFT_SQUARE) ) {\n\t\t\t\tint LA74_1 = input.LA(2);\n\t\t\t\tif ( (LA74_1==RIGHT_SQUARE) && (synpred39_DRL6Expressions())) {\n\t\t\t\t\talt74=1;\n\t\t\t\t}\n\t\t\t\telse if ( (LA74_1==BOOL||(LA74_1 >= DECIMAL && LA74_1 <= DIV)||LA74_1==DOT||LA74_1==FLOAT||LA74_1==HEX||(LA74_1 >= ID && LA74_1 <= INCR)||(LA74_1 >= LEFT_PAREN && LA74_1 <= LESS)||LA74_1==MINUS||LA74_1==NEGATION||LA74_1==NULL||LA74_1==PLUS||(LA74_1 >= STAR && LA74_1 <= TIME_INTERVAL)) ) {\n\t\t\t\t\talt74=2;\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 74, 1, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t\telse if ( (LA74_0==LEFT_PAREN) ) {\n\t\t\t\talt74=3;\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 74, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\n\t\t\tswitch (alt74) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:629:7: ( LEFT_SQUARE RIGHT_SQUARE )=> ( LEFT_SQUARE RIGHT_SQUARE )+ DOT class_key\n\t\t\t\t\t{\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:629:35: ( LEFT_SQUARE RIGHT_SQUARE )+\n\t\t\t\t\tint cnt72=0;\n\t\t\t\t\tloop72:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt72=2;\n\t\t\t\t\t\tint LA72_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA72_0==LEFT_SQUARE) ) {\n\t\t\t\t\t\t\talt72=1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt72) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:629:36: LEFT_SQUARE RIGHT_SQUARE\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tLEFT_SQUARE15=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_identifierSuffix3653); if (state.failed) return;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(LEFT_SQUARE15, DroolsEditorType.SYMBOL); }\n\t\t\t\t\t\t\tRIGHT_SQUARE16=(Token)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_identifierSuffix3694); if (state.failed) return;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(RIGHT_SQUARE16, DroolsEditorType.SYMBOL); }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tif ( cnt72 >= 1 ) break loop72;\n\t\t\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\t\t\t\tEarlyExitException eee = new EarlyExitException(72, input);\n\t\t\t\t\t\t\tthrow eee;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcnt72++;\n\t\t\t\t\t}\n\n\t\t\t\t\tDOT17=(Token)match(input,DOT,FOLLOW_DOT_in_identifierSuffix3738); if (state.failed) return;\n\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(DOT17, DroolsEditorType.SYMBOL); }\n\t\t\t\t\tpushFollow(FOLLOW_class_key_in_identifierSuffix3742);\n\t\t\t\t\tclass_key();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:632:7: ( ( LEFT_SQUARE )=> LEFT_SQUARE expression RIGHT_SQUARE )+\n\t\t\t\t\t{\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:632:7: ( ( LEFT_SQUARE )=> LEFT_SQUARE expression RIGHT_SQUARE )+\n\t\t\t\t\tint cnt73=0;\n\t\t\t\t\tloop73:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt73=2;\n\t\t\t\t\t\tint LA73_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA73_0==LEFT_SQUARE) ) {\n\t\t\t\t\t\t\tint LA73_36 = input.LA(2);\n\t\t\t\t\t\t\tif ( (synpred40_DRL6Expressions()) ) {\n\t\t\t\t\t\t\t\talt73=1;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt73) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:632:8: ( LEFT_SQUARE )=> LEFT_SQUARE expression RIGHT_SQUARE\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tLEFT_SQUARE18=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_identifierSuffix3757); if (state.failed) return;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(LEFT_SQUARE18, DroolsEditorType.SYMBOL); }\n\t\t\t\t\t\t\tpushFollow(FOLLOW_expression_in_identifierSuffix3787);\n\t\t\t\t\t\t\texpression();\n\t\t\t\t\t\t\tstate._fsp--;\n\t\t\t\t\t\t\tif (state.failed) return;\n\t\t\t\t\t\t\tRIGHT_SQUARE19=(Token)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_identifierSuffix3815); if (state.failed) return;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(RIGHT_SQUARE19, DroolsEditorType.SYMBOL); }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tif ( cnt73 >= 1 ) break loop73;\n\t\t\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\t\t\t\tEarlyExitException eee = new EarlyExitException(73, input);\n\t\t\t\t\t\t\tthrow eee;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcnt73++;\n\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:635:9: arguments\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_arguments_in_identifierSuffix3831);\n\t\t\t\t\targuments();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tcatch (RecognitionException re) {\n\t\t throw re;\n\t\t}\n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "2b1bffd8d3519a8566babb77216c974c", "score": "0.47046497", "text": "public void j6(bv r10, int r11, int r12, int r13, int r14) {\n /*\n r9 = this;\n r3 = -1;\n r5 = 1;\n if (r11 > r13) goto L_0x0008;\n L_0x0004:\n if (r11 != r13) goto L_0x000e;\n L_0x0006:\n if (r12 <= r14) goto L_0x000e;\n L_0x0008:\n r7 = r12;\n r12 = r14;\n r14 = r7;\n r8 = r11;\n r11 = r13;\n r13 = r8;\n L_0x000e:\n r0 = r10.BT();\n if (r0 == 0) goto L_0x00c0;\n L_0x0014:\n r0 = r9.j6;\n r0 = r0.sh;\n r1 = r0.FH(r10, r11, r12);\n r0 = r1.j6(r11, r12, r13, r14);\n if (r0 == r3) goto L_0x00b9;\n L_0x0022:\n r2 = r1.nw(r0);\n if (r11 != r2) goto L_0x003a;\n L_0x0028:\n r2 = r1.KD(r0);\n if (r12 != r2) goto L_0x003a;\n L_0x002e:\n r2 = r1.SI(r0);\n if (r13 != r2) goto L_0x003a;\n L_0x0034:\n r2 = r1.ro(r0);\n if (r14 == r2) goto L_0x0052;\n L_0x003a:\n r2 = r1.nw(r0);\n if (r2 <= 0) goto L_0x0052;\n L_0x0040:\n r2 = r1.KD(r0);\n if (r2 <= 0) goto L_0x0052;\n L_0x0046:\n r2 = r1.SI(r0);\n if (r2 <= 0) goto L_0x0052;\n L_0x004c:\n r2 = r1.ro(r0);\n if (r2 > 0) goto L_0x005d;\n L_0x0052:\n r2 = r1.aM(r0);\n if (r2 == r3) goto L_0x005d;\n L_0x0058:\n r0 = r1.aM(r0);\n goto L_0x0022;\n L_0x005d:\n r2 = r1.aM(r0);\n if (r2 == r3) goto L_0x00b9;\n L_0x0063:\n r2 = r1.nw(r0);\n if (r2 <= 0) goto L_0x00b9;\n L_0x0069:\n r2 = r1.KD(r0);\n if (r2 <= 0) goto L_0x00b9;\n L_0x006f:\n r2 = r1.SI(r0);\n if (r2 <= 0) goto L_0x00b9;\n L_0x0075:\n r2 = r1.ro(r0);\n if (r2 <= 0) goto L_0x00b9;\n L_0x007b:\n r2 = r1.nw(r0);\n r3 = r1.KD(r0);\n r4 = r1.SI(r0);\n r0 = r1.ro(r0);\n r6 = r9.j6;\n r6 = r6.sh;\n r6.j6(r1);\n L_0x0092:\n if (r11 != r2) goto L_0x00d0;\n L_0x0094:\n if (r12 != r3) goto L_0x00d0;\n L_0x0096:\n if (r13 != r4) goto L_0x00d0;\n L_0x0098:\n if (r14 != r0) goto L_0x00d0;\n L_0x009a:\n r0 = r10.a8();\n r4 = r0 + 1;\n r3 = r5;\n r2 = r5;\n L_0x00a2:\n r0 = r9.j6;\n r0 = r0.rN;\n r0.DW();\n r0 = r9.j6;\n r0 = r0.rN;\n r1 = r10;\n r0.FH(r1, r2, r3, r4, r5);\n r0 = r9.j6;\n r0 = r0.rN;\n r0.we();\n return;\n L_0x00b9:\n r0 = r9.j6;\n r0 = r0.sh;\n r0.j6(r1);\n L_0x00c0:\n if (r11 != r13) goto L_0x00d2;\n L_0x00c2:\n r0 = r10.DW(r11);\n r0 = r0.length();\n r0 = r0 + 1;\n r4 = r13;\n r3 = r5;\n r2 = r11;\n goto L_0x0092;\n L_0x00d0:\n r5 = r0;\n goto L_0x00a2;\n L_0x00d2:\n r0 = r14;\n r4 = r13;\n r3 = r12;\n r2 = r11;\n goto L_0x0092;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: ax.j6(bv, int, int, int, int):void\");\n }", "title": "" }, { "docid": "02613f73f2b9f040de7c5dae3d7f40db", "score": "0.47040984", "text": "public interface Statement {\n class Field {\n String name;\n String type;\n int len;\n String value;\n\n public Field(String name) {\n this.name = name;\n }\n\n public String getName() {\n return name;\n }\n\n public void setName(String name) {\n this.name = name;\n }\n\n public String getType() {\n return type;\n }\n\n public void setType(String type) {\n this.type = type;\n }\n\n public int getLen() {\n return len;\n }\n\n public void setLen(int len) {\n this.len = len;\n }\n\n public String getValue() {\n return value;\n }\n\n public void setValue(String value) {\n this.value = value;\n }\n\n @Override\n public String toString() {\n return \"Field{\" +\n \"name='\" + name + '\\'' +\n \", type='\" + type + '\\'' +\n \", length='\" + len + '\\'' +\n \", value='\" + value + '\\'' +\n '}';\n }\n }\n\n class SingleExp {\n Token left;\n Token operator;\n Token right;\n\n public SingleExp() {\n }\n\n public Token getLeft() {\n return left;\n }\n\n public void setLeft(Token left) {\n this.left = left;\n }\n\n public Token getOperator() {\n return operator;\n }\n\n public void setOperator(Token operator) {\n this.operator = operator;\n }\n\n public Token getRight() {\n return right;\n }\n\n public void setRight(Token right) {\n this.right = right;\n }\n\n @Override\n public String toString() {\n return \"SingleExp{\" +\n \"left=\" + left +\n \", operator=\" + operator +\n \", right=\" + right +\n '}';\n }\n }\n\n\n class Exp {\n private SingleExp left;\n private Token operator;\n\n public Exp() {\n\n }\n\n public SingleExp getLeft() {\n return left;\n }\n\n public void setLeft(SingleExp left) {\n this.left = left;\n }\n\n public Token getOperator() {\n return operator;\n }\n\n public void setOperator(Token operator) {\n this.operator = operator;\n }\n\n @Override\n public String toString() {\n return \"Exp{\" +\n \"left=\" + left +\n \", operator=\" + operator +\n '}';\n }\n }\n\n class Where {\n List<Exp> exps;\n\n public Where() {\n exps = new ArrayList<Exp>();\n }\n\n public Where add(Exp exp) {\n exps.add(exp);\n return this;\n }\n\n @Override\n public String toString() {\n return \"Where{\" +\n \"exps=\" + exps +\n '}';\n }\n }\n\n class Insert {\n String tableName;\n List<Field> fields;\n String value;\n\n public Insert() {\n fields = new ArrayList<Field>(100);\n }\n\n public String getTableName() {\n return tableName;\n }\n\n public void setTableName(String tableName) {\n this.tableName = tableName;\n }\n\n public List<Field> getFields() {\n return fields;\n }\n\n public void setFields(List<Field> fields) {\n this.fields = fields;\n }\n\n public String getValue() {\n return value;\n }\n\n public void setValue(String value) {\n this.value = value;\n }\n }\n\n class Update {\n String tableName;\n Field[] fields;\n Where where;\n\n public Update() {\n }\n\n public String getTableName() {\n return tableName;\n }\n\n public void setTableName(String tableName) {\n this.tableName = tableName;\n }\n\n public Field[] getFields() {\n return fields;\n }\n\n public void setFields(Field[] fields) {\n this.fields = fields;\n }\n\n public Where getWhere() {\n return where;\n }\n\n public void setWhere(Where where) {\n this.where = where;\n }\n }\n\n class Select {\n List<Field> fields;\n List<Token> tables;\n Where where;\n\n public Select() {\n fields = new ArrayList<Field>(100);\n }\n\n public void addField(Field field) {\n fields.add(field);\n }\n\n public List<Token> getTables() {\n return tables;\n }\n\n public void setTables(List<Token> tables) {\n this.tables = tables;\n }\n\n public List<Field> getFields() {\n return fields;\n }\n\n public void setFields(List<Field> fields) {\n this.fields = fields;\n }\n\n public Where getWhere() {\n return where;\n }\n\n public void setWhere(Where where) {\n this.where = where;\n }\n\n @Override\n public String toString() {\n return \"Select{\" +\n \"fields=\" + fields +\n \", tables=\" + tables +\n \", where=\" + where +\n '}';\n }\n }\n\n class Delete {\n String tableName;\n Where where;\n\n public Delete() {\n }\n\n public String getTableName() {\n return tableName;\n }\n\n public void setTableName(String tableName) {\n this.tableName = tableName;\n }\n\n public Where getWhere() {\n return where;\n }\n\n public void setWhere(Where where) {\n this.where = where;\n }\n }\n}", "title": "" }, { "docid": "3c9ef6509184ad6f98642957746cebed", "score": "0.47030187", "text": "public final void mo1292b(int r5, androidx.recyclerview.widget.RecyclerView.C0099a0 r6) {\n /*\n r4 = this;\n p.p.d.n r0 = r4.f875y\n r1 = 0\n r0.f4710b = r1\n r0.f4711c = r5\n androidx.recyclerview.widget.RecyclerView$z r0 = r4.f800g\n r2 = 1\n if (r0 == 0) goto L_0x0012\n boolean r0 = r0.f842e\n if (r0 == 0) goto L_0x0012\n r0 = r2\n goto L_0x0013\n L_0x0012:\n r0 = r1\n L_0x0013:\n if (r0 == 0) goto L_0x0034\n int r6 = r6.f732a\n r0 = -1\n if (r6 == r0) goto L_0x0034\n boolean r0 = r4.f853A\n if (r6 >= r5) goto L_0x0020\n r5 = r2\n goto L_0x0021\n L_0x0020:\n r5 = r1\n L_0x0021:\n if (r0 != r5) goto L_0x002b\n p.p.d.t r5 = r4.f871u\n int r5 = r5.mo6367g()\n r6 = r1\n goto L_0x0036\n L_0x002b:\n p.p.d.t r5 = r4.f871u\n int r5 = r5.mo6367g()\n r6 = r5\n r5 = r1\n goto L_0x0036\n L_0x0034:\n r5 = r1\n r6 = r5\n L_0x0036:\n androidx.recyclerview.widget.RecyclerView r0 = r4.f795b\n if (r0 == 0) goto L_0x0040\n boolean r0 = r0.mClipToPadding\n if (r0 == 0) goto L_0x0040\n r0 = r2\n goto L_0x0041\n L_0x0040:\n r0 = r1\n L_0x0041:\n if (r0 == 0) goto L_0x005a\n p.p.d.n r0 = r4.f875y\n p.p.d.t r3 = r4.f871u\n int r3 = r3.mo6365f()\n int r3 = r3 - r6\n r0.f4714f = r3\n p.p.d.n r6 = r4.f875y\n p.p.d.t r0 = r4.f871u\n int r0 = r0.mo6357b()\n int r0 = r0 + r5\n r6.f4715g = r0\n goto L_0x006a\n L_0x005a:\n p.p.d.n r0 = r4.f875y\n p.p.d.t r3 = r4.f871u\n int r3 = r3.mo6354a()\n int r3 = r3 + r5\n r0.f4715g = r3\n p.p.d.n r5 = r4.f875y\n int r6 = -r6\n r5.f4714f = r6\n L_0x006a:\n p.p.d.n r5 = r4.f875y\n r5.f4716h = r1\n r5.f4709a = r2\n p.p.d.t r6 = r4.f871u\n int r6 = r6.mo6361d()\n if (r6 != 0) goto L_0x0081\n p.p.d.t r6 = r4.f871u\n int r6 = r6.mo6354a()\n if (r6 != 0) goto L_0x0081\n r1 = r2\n L_0x0081:\n r5.f4717i = r1\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: androidx.recyclerview.widget.StaggeredGridLayoutManager.mo1292b(int, androidx.recyclerview.widget.RecyclerView$a0):void\");\n }", "title": "" }, { "docid": "a2206ba29eb83f2f813e64e3cc3af9a9", "score": "0.46618024", "text": "public final void synpred11_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:421:5: ( DOUBLE_AMPER ( fullAnnotation[null] )? operator )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:421:6: DOUBLE_AMPER ( fullAnnotation[null] )? operator\n\t\t{\n\t\tmatch(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_synpred11_DRL6Expressions1972); if (state.failed) return;\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:421:19: ( fullAnnotation[null] )?\n\t\tint alt101=2;\n\t\tint LA101_0 = input.LA(1);\n\t\tif ( (LA101_0==AT) ) {\n\t\t\talt101=1;\n\t\t}\n\t\tswitch (alt101) {\n\t\t\tcase 1 :\n\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:421:19: fullAnnotation[null]\n\t\t\t\t{\n\t\t\t\tpushFollow(FOLLOW_fullAnnotation_in_synpred11_DRL6Expressions1974);\n\t\t\t\tfullAnnotation(null);\n\t\t\t\tstate._fsp--;\n\t\t\t\tif (state.failed) return;\n\t\t\t\t}\n\t\t\t\tbreak;\n\n\t\t}\n\n\t\tpushFollow(FOLLOW_operator_in_synpred11_DRL6Expressions1978);\n\t\toperator();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "6c004101c30a848f131dbaf9c3817c84", "score": "0.4653989", "text": "public void expression() {\n\t\t\tgrammarStack.pop();\n\t\t\tif(codeStack.get(codeStack.size()-1).equals(\";\")) {\n\t\t\t\tcodeStack.pop();\n\t\t\t}\n\t\t\t//ID\n\t\t\telse if(codeStack.get(codeStack.size()-1).equals(\"ID\") && Error == false) {\n\t\t\t\tcodeStack.pop();\n\t\t\t\tgrammarStack.add(\"E\");\n\t\t\t\t\n\t\t\t\t\tE();\n\t\t\t//(\n\t\t\t} else if(codeStack.get(codeStack.size()-1).equals(\"(\") && Error == false){\n\t\t\t\tcodeStack.pop();\n\t\t\t\tgrammarStack.add(\"T\");\n\t\t\t\tgrammarStack.add(\"additive-expression1\");\n\t\t\t\tgrammarStack.add(\"term1\");\n\t\t\t\tgrammarStack.add(\")\");\n\t\t\t\tgrammarStack.add(\"expression\");\n\t\t\t\texpression();\n\t\t\t\t\n\t\t\t\tif(codeStack.get(codeStack.size()-1).equals(grammarStack.get(grammarStack.size()-1)) && Error == false){\n\t\t\t\t\tcodeStack.pop();\n\t\t\t\t\tgrammarStack.pop();\n\t\t\t\t} else {\n\t\t\t\t\tError = true;\n\t\t\t\t} \n\t\t\t\tterm1();\n\t\t\t\tadditive_expression1();\n\t\t\t\tT();\n\t\t\t//num\t\n\t\t\t}else if(codeStack.get(codeStack.size()-1).equals(\"NUM\") && Error == false) {\n\t\t\t\tcodeStack.pop();\n\t\t\t\tgrammarStack.add(\"T\");\n\t\t\t\tgrammarStack.add(\"additive-expression1\");\n\t\t\t\tgrammarStack.add(\"term1\");\n\t\t\t\tterm1();\n\t\t\t\tadditive_expression1();\n\t\t\t\tT();\n\t\t\t\t//float\n\t\t\t}else if(codeStack.get(codeStack.size()-1).equals(\"FLOAT\") && Error == false) {\n\t\t\t\tcodeStack.pop();\n\t\t\t\tgrammarStack.add(\"T\");\n\t\t\t\tgrammarStack.add(\"additive-expression1\");\n\t\t\t\tgrammarStack.add(\"term1\");\n\t\t\t\tterm1();\n\t\t\t\tadditive_expression1();\n\t\t\t\tT();\n\t\t\t} else {\n\t\t\t\t\n\t\t\t\tError = true;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "ed4f517d97f4840a4aaa5ab8bbf847fb", "score": "0.4623608", "text": "public void testR2()\n {\n unicalc.tokenize(\"(2)^4\");\n ast = unicalc.R();\n\n assertEquals(\"Testing R\", \"Power(Value(2.0),4)\", ast.toString());\n }", "title": "" }, { "docid": "06f3ebdc458566f55f7d525793501751", "score": "0.46145", "text": "public final void synpred12_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:438:8: ( squareArguments shiftExpression )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:438:9: squareArguments shiftExpression\n\t\t{\n\t\tpushFollow(FOLLOW_squareArguments_in_synpred12_DRL6Expressions2066);\n\t\tsquareArguments();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\tpushFollow(FOLLOW_shiftExpression_in_synpred12_DRL6Expressions2068);\n\t\tshiftExpression();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "336a4a8e06eefb323329a76ca270f4e3", "score": "0.4610331", "text": "@Test(timeout = 4000)\n public void test058() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"}l2cqw\\\"@E7bO\");\n Token token0 = xPathLexer0.plus();\n xPathLexer0.setPreviousToken(token0);\n assertEquals(5, token0.getTokenType());\n assertEquals(\"}\", token0.getTokenText());\n \n Token token1 = xPathLexer0.identifierOrOperatorName();\n assertEquals(\"l2cqw\", token1.getTokenText());\n assertEquals(15, token1.getTokenType());\n }", "title": "" }, { "docid": "9efddc64209874cacd472979023c9d1b", "score": "0.4575535", "text": "public final void shiftOp() throws RecognitionException {\n\t\ttry {\n\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:465:5: ( ( LESS LESS | GREATER GREATER GREATER | GREATER GREATER ) )\n\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:465:7: ( LESS LESS | GREATER GREATER GREATER | GREATER GREATER )\n\t\t\t{\n\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:465:7: ( LESS LESS | GREATER GREATER GREATER | GREATER GREATER )\n\t\t\tint alt46=3;\n\t\t\tint LA46_0 = input.LA(1);\n\t\t\tif ( (LA46_0==LESS) ) {\n\t\t\t\talt46=1;\n\t\t\t}\n\t\t\telse if ( (LA46_0==GREATER) ) {\n\t\t\t\tint LA46_2 = input.LA(2);\n\t\t\t\tif ( (LA46_2==GREATER) ) {\n\t\t\t\t\tint LA46_3 = input.LA(3);\n\t\t\t\t\tif ( (LA46_3==GREATER) ) {\n\t\t\t\t\t\talt46=2;\n\t\t\t\t\t}\n\t\t\t\t\telse if ( (LA46_3==EOF||LA46_3==BOOL||(LA46_3 >= DECIMAL && LA46_3 <= DIV)||LA46_3==DOT||LA46_3==FLOAT||LA46_3==HEX||(LA46_3 >= ID && LA46_3 <= INCR)||(LA46_3 >= LEFT_PAREN && LA46_3 <= LESS)||LA46_3==MINUS||LA46_3==NEGATION||LA46_3==NULL||LA46_3==PLUS||(LA46_3 >= STAR && LA46_3 <= TIME_INTERVAL)) ) {\n\t\t\t\t\t\talt46=3;\n\t\t\t\t\t}\n\n\t\t\t\t\telse {\n\t\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tfor (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) {\n\t\t\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\t\tnew NoViableAltException(\"\", 46, 3, input);\n\t\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 46, 2, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 46, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\n\t\t\tswitch (alt46) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:465:9: LESS LESS\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,LESS,FOLLOW_LESS_in_shiftOp2182); if (state.failed) return;\n\t\t\t\t\tmatch(input,LESS,FOLLOW_LESS_in_shiftOp2184); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:466:11: GREATER GREATER GREATER\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_shiftOp2196); if (state.failed) return;\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_shiftOp2198); if (state.failed) return;\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_shiftOp2200); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:467:11: GREATER GREATER\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_shiftOp2212); if (state.failed) return;\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_shiftOp2214); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tcatch (RecognitionException re) {\n\t\t throw re;\n\t\t}\n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "125819f039072147b7ecea8d0dcb59e5", "score": "0.457458", "text": "Formula post() { \t\t\t\t\n\t\tExpression nodes = thisList.join(head).join(next.reflexiveClosure());\t\t\t\t// assert let nodes = this.head.*next, \n\t\tExpression nodesPrime = thisList.join(head0()).join(next3().reflexiveClosure());\t// nodes' = this.head0.*next3, \n\t\tExpression ns = nodes.difference(nil);\t\t\t\t\t\t\t\t\t\t\t\t// ns = nodes - nil | \n\t\tExpression ns2 = ns.product(ns);\n\t\treturn Formula.and(\tinvariants(thisList, next3(), data, head0()),\t\t\t\t\t// invariants(this, next3, data, head0) && \n\t\t\t\t\t\t\tnodesPrime.eq(nodes),\t\t\t\t\t\t\t\t\t\t\t// nodes' = nodes &&\n\t\t\t\t\t\t\tnext3().intersection(ns2).\t\t\t\t\t\t\t\t\t\t// next3 & (ns -> ns) = ~(next & (ns -> ns))\n\t\t\t\t\t\t\t\teq(next.intersection(ns2).transpose())); \n\t}", "title": "" }, { "docid": "1d4dddc7cb481f6934550edbfbc62965", "score": "0.45613754", "text": "public void testR()\n {\n unicalc.tokenize(\"2^4\");\n ast = unicalc.R();\n\n assertEquals(\"Testing R\", \"Power(Value(2.0),4)\", ast.toString());\n }", "title": "" }, { "docid": "6acf912ec2e0f01ecbda37ceb4ad35eb", "score": "0.45424005", "text": "public static void main(String[] args) {\n System.out.println(evalExpr(\"3 * 2 + 2 * 3\"));\r\n\r\n\r\n\r\n }", "title": "" }, { "docid": "c941eb0ad7dd2f5ccccc686b5cfb86a7", "score": "0.45337525", "text": "public final void synpred29_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:579:9: ( new_key )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:579:10: new_key\n\t\t{\n\t\tpushFollow(FOLLOW_new_key_in_synpred29_DRL6Expressions3112);\n\t\tnew_key();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "c9caa2e2fd7cc5e51d8b35ed8f02b294", "score": "0.45337147", "text": "public R visit(UnaryExpression3 n) {\n R _ret=null;\n System.out.print(\"--\");\n n.f0.accept(this);\n n.f1.accept(this);\n return _ret;\n }", "title": "" }, { "docid": "e444a8dc9b74bed5f3c771bd373f4fbf", "score": "0.4525044", "text": "public int evalRPN(String[] tokens) {\n\t if(tokens == null || tokens.length < 3) return 0;\n\t Stack<Integer> t_stack = new Stack<Integer>(); \n\t for(int i=0; i< tokens.length; i++)\n\t {\n\t String elem = tokens[i];\n\t if(!isOperator(elem))\n\t {\n\t t_stack.push(stringToInt(elem));\n\t }\n\t else\n\t {\n\t int operand2 = t_stack.pop();\n\t int operand1 = t_stack.pop();\n\t t_stack.push(evaluate(elem, operand1, operand2));\n\t }\n\t }\n\t return t_stack.pop();\n\t }", "title": "" }, { "docid": "67e284fab823f6942446f79e89d5b73e", "score": "0.45233914", "text": "public String getVar6() {\n return var6;\n }", "title": "" }, { "docid": "0da95187e131fde2270042889a94af4a", "score": "0.45035383", "text": "public final void expr_rel() throws RecognitionException {\n try {\n // compiler/parser/GramaticaParser.g:77:11: (l= expr_add ( LESSTHAN r= expr_add | GREATHAN r= expr_add | LTOEQ r= expr_add | GTOEQ r= expr_add )* )\n // compiler/parser/GramaticaParser.g:77:13: l= expr_add ( LESSTHAN r= expr_add | GREATHAN r= expr_add | LTOEQ r= expr_add | GTOEQ r= expr_add )*\n {\n pushFollow(FOLLOW_expr_add_in_expr_rel523);\n expr_add();\n\n state._fsp--;\n\n\n // compiler/parser/GramaticaParser.g:77:27: ( LESSTHAN r= expr_add | GREATHAN r= expr_add | LTOEQ r= expr_add | GTOEQ r= expr_add )*\n loop26:\n do {\n int alt26 = 5;\n switch (input.LA(1)) {\n case LESSTHAN:\n {\n alt26 = 1;\n }\n break;\n case GREATHAN:\n {\n alt26 = 2;\n }\n break;\n case LTOEQ:\n {\n alt26 = 3;\n }\n break;\n case GTOEQ:\n {\n alt26 = 4;\n }\n break;\n\n }\n\n switch (alt26) {\n case 1:\n // compiler/parser/GramaticaParser.g:77:28: LESSTHAN r= expr_add\n {\n match(input, LESSTHAN, FOLLOW_LESSTHAN_in_expr_rel527);\n\n pushFollow(FOLLOW_expr_add_in_expr_rel533);\n expr_add();\n\n state._fsp--;\n\n\n }\n break;\n case 2:\n // compiler/parser/GramaticaParser.g:77:52: GREATHAN r= expr_add\n {\n match(input, GREATHAN, FOLLOW_GREATHAN_in_expr_rel537);\n\n pushFollow(FOLLOW_expr_add_in_expr_rel543);\n expr_add();\n\n state._fsp--;\n\n\n }\n break;\n case 3:\n // compiler/parser/GramaticaParser.g:77:76: LTOEQ r= expr_add\n {\n match(input, LTOEQ, FOLLOW_LTOEQ_in_expr_rel547);\n\n pushFollow(FOLLOW_expr_add_in_expr_rel553);\n expr_add();\n\n state._fsp--;\n\n\n }\n break;\n case 4:\n // compiler/parser/GramaticaParser.g:77:97: GTOEQ r= expr_add\n {\n match(input, GTOEQ, FOLLOW_GTOEQ_in_expr_rel557);\n\n pushFollow(FOLLOW_expr_add_in_expr_rel563);\n expr_add();\n\n state._fsp--;\n\n\n }\n break;\n\n default:\n break loop26;\n }\n } while (true);\n\n\n }\n\n } catch (RecognitionException re) {\n reportError(re);\n recover(input, re);\n } finally {\n // do for sure before leaving\n }\n return;\n }", "title": "" }, { "docid": "c187548d1233a70d7092bb79f208cb0c", "score": "0.44920054", "text": "@Test(timeout = 4000)\n public void test055() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\") (\");\n xPathLexer0.setXPath(\" C8?501.bl\");\n xPathLexer0.nextToken();\n xPathLexer0.comma();\n xPathLexer0.nextToken();\n Token token0 = xPathLexer0.identifierOrOperatorName();\n assertNull(token0);\n }", "title": "" }, { "docid": "2a80cbae7e58be87679107eba80d3fd8", "score": "0.44901568", "text": "public final void castExpression() throws RecognitionException {\n\t\tBaseDescr expr =null;\n\n\t\ttry {\n\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:540:5: ( ( LEFT_PAREN primitiveType )=> LEFT_PAREN primitiveType RIGHT_PAREN expr= unaryExpression | ( LEFT_PAREN type )=> LEFT_PAREN type RIGHT_PAREN unaryExpressionNotPlusMinus )\n\t\t\tint alt55=2;\n\t\t\tint LA55_0 = input.LA(1);\n\t\t\tif ( (LA55_0==LEFT_PAREN) ) {\n\t\t\t\tint LA55_1 = input.LA(2);\n\t\t\t\tif ( (synpred20_DRL6Expressions()) ) {\n\t\t\t\t\talt55=1;\n\t\t\t\t}\n\t\t\t\telse if ( (synpred21_DRL6Expressions()) ) {\n\t\t\t\t\talt55=2;\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 55, 1, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 55, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\n\t\t\tswitch (alt55) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:540:8: ( LEFT_PAREN primitiveType )=> LEFT_PAREN primitiveType RIGHT_PAREN expr= unaryExpression\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_castExpression2727); if (state.failed) return;\n\t\t\t\t\tpushFollow(FOLLOW_primitiveType_in_castExpression2729);\n\t\t\t\t\tprimitiveType();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return;\n\t\t\t\t\tmatch(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_castExpression2731); if (state.failed) return;\n\t\t\t\t\tpushFollow(FOLLOW_unaryExpression_in_castExpression2735);\n\t\t\t\t\texpr=unaryExpression();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:541:8: ( LEFT_PAREN type )=> LEFT_PAREN type RIGHT_PAREN unaryExpressionNotPlusMinus\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_castExpression2752); if (state.failed) return;\n\t\t\t\t\tpushFollow(FOLLOW_type_in_castExpression2754);\n\t\t\t\t\ttype();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return;\n\t\t\t\t\tmatch(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_castExpression2756); if (state.failed) return;\n\t\t\t\t\tpushFollow(FOLLOW_unaryExpressionNotPlusMinus_in_castExpression2758);\n\t\t\t\t\tunaryExpressionNotPlusMinus();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tcatch (RecognitionException re) {\n\t\t throw re;\n\t\t}\n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "8be8507780182b1e9addcd43dfbadb76", "score": "0.44896525", "text": "public final String expr() throws RecognitionException {\n\t\tString value = null;\n\n\n\t\tCommonTree ID6=null;\n\t\tCommonTree INT7=null;\n\t\tString a =null;\n\t\tString b =null;\n\n\t\ttry {\n\t\t\t// Eval.g:51:5: ( ^( '+' a= expr b= expr ) | ^( '-' a= expr b= expr ) | ^( '*' a= expr b= expr ) | ^( '/' a= expr b= expr ) | ^( '%' a= expr b= expr ) | ID | INT )\n\t\t\tint alt3=7;\n\t\t\tswitch ( input.LA(1) ) {\n\t\t\tcase 12:\n\t\t\t\t{\n\t\t\t\talt3=1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 13:\n\t\t\t\t{\n\t\t\t\talt3=2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 11:\n\t\t\t\t{\n\t\t\t\talt3=3;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 14:\n\t\t\t\t{\n\t\t\t\talt3=4;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 8:\n\t\t\t\t{\n\t\t\t\talt3=5;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase ID:\n\t\t\t\t{\n\t\t\t\talt3=6;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase INT:\n\t\t\t\t{\n\t\t\t\talt3=7;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 3, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\t\t\tswitch (alt3) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// Eval.g:51:7: ^( '+' a= expr b= expr )\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,12,FOLLOW_12_in_expr154); \n\t\t\t\t\tmatch(input, Token.DOWN, null); \n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr158);\n\t\t\t\t\ta=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr162);\n\t\t\t\t\tb=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input, Token.UP, null); \n\n\t\t\t\t\tvalue = \"(\" + a + \"+\" + b + \")\"; \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// Eval.g:52:7: ^( '-' a= expr b= expr )\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,13,FOLLOW_13_in_expr174); \n\t\t\t\t\tmatch(input, Token.DOWN, null); \n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr178);\n\t\t\t\t\ta=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr182);\n\t\t\t\t\tb=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input, Token.UP, null); \n\n\t\t\t\t\tvalue = \"(\" + a + \"-\" + b + \")\"; \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// Eval.g:53:7: ^( '*' a= expr b= expr )\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,11,FOLLOW_11_in_expr194); \n\t\t\t\t\tmatch(input, Token.DOWN, null); \n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr198);\n\t\t\t\t\ta=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr202);\n\t\t\t\t\tb=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input, Token.UP, null); \n\n\t\t\t\t\tvalue = \"(\" + a + \"*\" + b + \")\"; \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4 :\n\t\t\t\t\t// Eval.g:54:7: ^( '/' a= expr b= expr )\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,14,FOLLOW_14_in_expr214); \n\t\t\t\t\tmatch(input, Token.DOWN, null); \n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr218);\n\t\t\t\t\ta=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr222);\n\t\t\t\t\tb=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input, Token.UP, null); \n\n\t\t\t\t\tvalue = \"(\" + a + \"/\" + b + \")\"; \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5 :\n\t\t\t\t\t// Eval.g:55:7: ^( '%' a= expr b= expr )\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,8,FOLLOW_8_in_expr234); \n\t\t\t\t\tmatch(input, Token.DOWN, null); \n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr238);\n\t\t\t\t\ta=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tpushFollow(FOLLOW_expr_in_expr242);\n\t\t\t\t\tb=expr();\n\t\t\t\t\tstate._fsp--;\n\n\t\t\t\t\tmatch(input, Token.UP, null); \n\n\t\t\t\t\tvalue = \"(\" + a + \"%\" + b + \")\"; \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6 :\n\t\t\t\t\t// Eval.g:56:7: ID\n\t\t\t\t\t{\n\t\t\t\t\tID6=(CommonTree)match(input,ID,FOLLOW_ID_in_expr253); \n\n\t\t\t\t\t Integer v = (Integer)symbols.get((ID6!=null?ID6.getText():null));\n\t\t\t\t\t if(v!=null && v == 1) value = (ID6!=null?ID6.getText():null);\n\t\t\t\t\t else System.err.println(\"undefined variable \" + (ID6!=null?ID6.getText():null));\n\t\t\t\t\t \n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 7 :\n\t\t\t\t\t// Eval.g:61:7: INT\n\t\t\t\t\t{\n\t\t\t\t\tINT7=(CommonTree)match(input,INT,FOLLOW_INT_in_expr263); \n\t\t\t\t\tvalue = (INT7!=null?INT7.getText():null);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn value;\n\t}", "title": "" }, { "docid": "efb0d81a6e6835106c7bb2777bc8f0a1", "score": "0.44796354", "text": "private Expr parseLevel4Expr() {\n return parseLevel5Expr();\n }", "title": "" }, { "docid": "5e3faaf7d0db3b4a6e5f4b643327dcef", "score": "0.44782856", "text": "public void setVar6(String var6) {\n this.var6 = var6 == null ? null : var6.trim();\n }", "title": "" }, { "docid": "85489ede45c277e7b380219374f12c24", "score": "0.4453252", "text": "public final void assignmentOperator() throws RecognitionException {\n\t\ttry {\n\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:725:5: ( EQUALS_ASSIGN | PLUS_ASSIGN | MINUS_ASSIGN | MULT_ASSIGN | DIV_ASSIGN | AND_ASSIGN | OR_ASSIGN | XOR_ASSIGN | MOD_ASSIGN | LESS LESS EQUALS_ASSIGN | ( GREATER GREATER GREATER )=> GREATER GREATER GREATER EQUALS_ASSIGN | ( GREATER GREATER )=> GREATER GREATER EQUALS_ASSIGN )\n\t\t\tint alt98=12;\n\t\t\tswitch ( input.LA(1) ) {\n\t\t\tcase EQUALS_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase PLUS_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase MINUS_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=3;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase MULT_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=4;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase DIV_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=5;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase AND_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=6;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase OR_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=7;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase XOR_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=8;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase MOD_ASSIGN:\n\t\t\t\t{\n\t\t\t\talt98=9;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase LESS:\n\t\t\t\t{\n\t\t\t\talt98=10;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase GREATER:\n\t\t\t\t{\n\t\t\t\tint LA98_11 = input.LA(2);\n\t\t\t\tif ( (LA98_11==GREATER) ) {\n\t\t\t\t\tint LA98_12 = input.LA(3);\n\t\t\t\t\tif ( (LA98_12==GREATER) && (synpred48_DRL6Expressions())) {\n\t\t\t\t\t\talt98=11;\n\t\t\t\t\t}\n\t\t\t\t\telse if ( (LA98_12==EQUALS_ASSIGN) && (synpred49_DRL6Expressions())) {\n\t\t\t\t\t\talt98=12;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 98, 11, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tif (state.backtracking>0) {state.failed=true; return;}\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 98, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\t\t\tswitch (alt98) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:725:9: EQUALS_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,EQUALS_ASSIGN,FOLLOW_EQUALS_ASSIGN_in_assignmentOperator4571); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:726:7: PLUS_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,PLUS_ASSIGN,FOLLOW_PLUS_ASSIGN_in_assignmentOperator4579); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:727:7: MINUS_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,MINUS_ASSIGN,FOLLOW_MINUS_ASSIGN_in_assignmentOperator4587); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:728:7: MULT_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,MULT_ASSIGN,FOLLOW_MULT_ASSIGN_in_assignmentOperator4595); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:729:7: DIV_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,DIV_ASSIGN,FOLLOW_DIV_ASSIGN_in_assignmentOperator4603); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:730:7: AND_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,AND_ASSIGN,FOLLOW_AND_ASSIGN_in_assignmentOperator4611); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 7 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:731:7: OR_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,OR_ASSIGN,FOLLOW_OR_ASSIGN_in_assignmentOperator4619); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 8 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:732:7: XOR_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,XOR_ASSIGN,FOLLOW_XOR_ASSIGN_in_assignmentOperator4627); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 9 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:733:7: MOD_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,MOD_ASSIGN,FOLLOW_MOD_ASSIGN_in_assignmentOperator4635); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 10 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:734:7: LESS LESS EQUALS_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,LESS,FOLLOW_LESS_in_assignmentOperator4643); if (state.failed) return;\n\t\t\t\t\tmatch(input,LESS,FOLLOW_LESS_in_assignmentOperator4645); if (state.failed) return;\n\t\t\t\t\tmatch(input,EQUALS_ASSIGN,FOLLOW_EQUALS_ASSIGN_in_assignmentOperator4647); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 11 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:735:7: ( GREATER GREATER GREATER )=> GREATER GREATER GREATER EQUALS_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_assignmentOperator4664); if (state.failed) return;\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_assignmentOperator4666); if (state.failed) return;\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_assignmentOperator4668); if (state.failed) return;\n\t\t\t\t\tmatch(input,EQUALS_ASSIGN,FOLLOW_EQUALS_ASSIGN_in_assignmentOperator4670); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 12 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:736:7: ( GREATER GREATER )=> GREATER GREATER EQUALS_ASSIGN\n\t\t\t\t\t{\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_assignmentOperator4685); if (state.failed) return;\n\t\t\t\t\tmatch(input,GREATER,FOLLOW_GREATER_in_assignmentOperator4687); if (state.failed) return;\n\t\t\t\t\tmatch(input,EQUALS_ASSIGN,FOLLOW_EQUALS_ASSIGN_in_assignmentOperator4689); if (state.failed) return;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tcatch (RecognitionException re) {\n\t\t throw re;\n\t\t}\n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "9e5b5fef1730ee74041f93b7adc64dc4", "score": "0.44374433", "text": "private Expression parseNE_Expression(){\n\tExpression left = parseREL_Expression();\n\twhile(willMatch(Token.Type.NE1) || willMatch(Token.Type.NE2) || willMatch(Token.Type.EQ2) || willMatch(Token.Type.EQ3)){\n\t Token opToken = skip();\n\t BinOp Binop = new BinOp(opToken);\n\t Expression right = parseREL_Expression();\n\t left = new BinaryOperation(left, Binop, right);\n\t}\n\treturn left;\n }", "title": "" }, { "docid": "3b606b7743149ffa2806fa71ce223d74", "score": "0.44344288", "text": "public interface compConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int INSTRUCOES = 5;\n /** RegularExpression Id. */\n int FUNCOES = 6;\n /** RegularExpression Id. */\n int COMANDOS = 7;\n /** RegularExpression Id. */\n int TIPOS = 8;\n /** RegularExpression Id. */\n int BOOLEANAS = 9;\n /** RegularExpression Id. */\n int NUMEROS = 10;\n /** RegularExpression Id. */\n int IDENTIFICADOR = 11;\n /** RegularExpression Id. */\n int IDENTIFICADORES = 12;\n /** RegularExpression Id. */\n int OPERADORES = 13;\n /** RegularExpression Id. */\n int MAIN = 14;\n /** RegularExpression Id. */\n int PROGRAMA = 15;\n /** RegularExpression Id. */\n int LPAREN = 16;\n /** RegularExpression Id. */\n int RPAREN = 17;\n /** RegularExpression Id. */\n int LCHAVE = 18;\n /** RegularExpression Id. */\n int RCHAVE = 19;\n /** RegularExpression Id. */\n int SIMBOLOS = 20;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\r\\\\n\\\"\",\n \"<INSTRUCOES>\",\n \"<FUNCOES>\",\n \"<COMANDOS>\",\n \"<TIPOS>\",\n \"<BOOLEANAS>\",\n \"<NUMEROS>\",\n \"<IDENTIFICADOR>\",\n \"<IDENTIFICADORES>\",\n \"<OPERADORES>\",\n \"\\\"public static void Main() \\\"\",\n \"\\\"Program \\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"<SIMBOLOS>\",\n };\n\n}", "title": "" }, { "docid": "6c12e35580e8c135d8bd31dca372ea34", "score": "0.4431395", "text": "public final void rule__ERelationshipTypeBody__Group_1_4__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRMParser.g:7058:1: ( ( RULE_END ) )\n // InternalRMParser.g:7059:1: ( RULE_END )\n {\n // InternalRMParser.g:7059:1: ( RULE_END )\n // InternalRMParser.g:7060:2: RULE_END\n {\n before(grammarAccess.getERelationshipTypeBodyAccess().getENDTerminalRuleCall_1_4_3()); \n match(input,RULE_END,FOLLOW_2); \n after(grammarAccess.getERelationshipTypeBodyAccess().getENDTerminalRuleCall_1_4_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ec34e7468ecbafce56b4b74dd058ed26", "score": "0.44306952", "text": "public final void synpred20_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:540:8: ( LEFT_PAREN primitiveType )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:540:9: LEFT_PAREN primitiveType\n\t\t{\n\t\tmatch(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred20_DRL6Expressions2720); if (state.failed) return;\n\t\tpushFollow(FOLLOW_primitiveType_in_synpred20_DRL6Expressions2722);\n\t\tprimitiveType();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "0018c27509f81f197caf0e41210410c7", "score": "0.44230378", "text": "public double evaluateExpression(){\n return ( (4∗10)+5∗3∗(4+2)+10 );\n }", "title": "" }, { "docid": "5e9860e85711bfc8f4bb1eae3bf52feb", "score": "0.44229868", "text": "public interface Expression {\n \n enum ExpressionGrammar{ROOT,\n PLUS,\n TIMES,\n PRIMITIVE,\n WHITESPACE,\n TERM}; \n \n // Datatype definition\n // Expression = Term(t:String)\n // + Plus(left:Expression, right:Expression)\n // + Times(left:Expression, right:Expression)\n\n // Creator\n public static Expression term(String t) {\n return new Term(t);\n }\n \n // Producers\n /**\n * Add two expressions.\n * @param left expression\n * @param right expression\n * @return expression\n */\n public Expression plus(Expression left, Expression right);\n \n /**\n * Multiply two expressions.\n * @param left expression\n * @param right expression\n * @return expression\n * @throws IllegalArgumentException if the expression is invalid\n */\n public Expression times(Expression let, Expression right);\n \n /**\n * @return a parsable representation of this expression, such that\n * for all e:Expression, e.equals(Expression.parse(e.toString())).\n */\n @Override \n public String toString();\n\n /**\n * @param thatObject any object\n * @return true if and only if this and thatObject are structurally-equal\n * Expressions, as defined in the PS1 handout.\n */\n @Override\n public boolean equals(Object thatObject);\n \n /**\n * @return hash code value consistent with the equals() definition of structural\n * equality, such that for all e1,e2:Expression,\n * e1.equals(e2) implies e1.hashCode() == e2.hashCode()\n */\n @Override\n public int hashCode();\n \n // TODO more instance methods\n \n /** @return the expression differentiated w.r.t a variable */\n public Expression differentiate(String wrtVar);\n \n /** @return the simplified expression as a String */\n public Expression simplify(Map<String, Double> environment);\n \n /**\n * Parse an expression.\n * @param input expression to parse, as defined in the PS1 handout.\n * @return expression AST for the input\n * @throws IllegalArgumentException if the expression is invalid\n */\n \n public static Expression parse(String input) throws IllegalArgumentException {\n Expression result;\n try {\n result = buildAST(getParseTree(input));\n\n } catch (UnableToParseException | IOException e) {\n throw new IllegalArgumentException();\n } \n return result;\n }\n \n /**\n * Parse a string into an integer arithmetic expression, displaying various\n * debugging output.\n * @throws If the string cannot be parsed, this method throws an UnableToParseException.\n * @throws If the grammar file DoubleExpression.g is not present, this will throw an IOException.\n * @throws If the grammar file is corrupted and cannot be parsed, the method will also throw an UnableToParseException.\n */\n public static ParseTree<ExpressionGrammar> getParseTree(String string) throws UnableToParseException, IOException{\n Parser<ExpressionGrammar> parser = GrammarCompiler.compile(new File(\"Expression.g\"), ExpressionGrammar.ROOT);\n ParseTree<ExpressionGrammar> tree = parser.parse(string);\n \n return tree;\n }\n \n /**\n * Function converts a ParseTree to an Expression. \n * @param p\n * ParseTree<ExpressionGrammar> that is assumed to have been constructed by the grammar in Expression.g\n * @return\n */\n public static Expression buildAST(ParseTree<ExpressionGrammar> p){\n\n switch(p.getName()){\n /*\n * Since p is a ParseTree parameterized by the type ExpressionGrammar, p.getName() \n * returns an instance of the ExpressionGrammar enum. This allows the compiler to check\n * that we have covered all the cases.\n */\n case TERM:\n /*\n * A number will be a terminal containing a term.\n */\n return new Term(p.getContents());\n case PRIMITIVE:\n /*\n * A primitive will have either a term or a sum as child (in addition to some whitespace)\n * By checking which one, we can determine which case we are in.\n */ \n\n if(p.childrenByName(ExpressionGrammar.TERM).isEmpty()){\n return buildAST(p.childrenByName(ExpressionGrammar.PLUS).get(0));\n }else{\n return buildAST(p.childrenByName(ExpressionGrammar.TERM).get(0));\n }\n \n case TIMES:\n /*\n * A product will have one or more children that need to be multiplied together.\n * Note that we only care about the children that are primitive. There may also be \n * some whitespace children which we want to ignore.\n */\n boolean firstProd = true;\n Expression resultProd = null;\n for(ParseTree<ExpressionGrammar> child : p.childrenByName(ExpressionGrammar.PRIMITIVE)){ \n if(firstProd){\n resultProd = buildAST(child);\n firstProd = false;\n }else{\n resultProd = new Times(resultProd, buildAST(child));\n }\n }\n if(firstProd){ throw new RuntimeException(\"sum must have a non whitespace child:\" + p); }\n return resultProd; \n \n case PLUS:\n /*\n * A sum will have one or more children that need to be summed together.\n * Note that we only care about the children that are primitive. There may also be \n * some whitespace children which we want to ignore.\n */\n boolean first = true;\n Expression result = null;\n for(ParseTree<ExpressionGrammar> child : p.childrenByName(ExpressionGrammar.TIMES)){ \n if(first){\n result = buildAST(child);\n first = false;\n }else{\n result = new Plus(result, buildAST(child));\n }\n }\n if(first){ throw new RuntimeException(\"sum must have a non whitespace child:\" + p); }\n return result;\n case ROOT:\n /*\n * The root has a single sum child, in addition to having potentially some whitespace.\n */\n return buildAST(p.childrenByName(ExpressionGrammar.PLUS).get(0));\n case WHITESPACE:\n /*\n * Since we are always avoiding calling buildAST with whitespace, \n * the code should never make it here. \n */\n throw new RuntimeException(\"You should never reach here:\" + p);\n default:\n break;\n } \n /*\n * The compiler should be smart enough to tell that this code is unreachable, but it isn't.\n */\n throw new RuntimeException(\"You should never reach here:\" + p);\n }\n\n\n \n /* Copyright (c) 2015-2017 MIT 6.005 course staff, all rights reserved.\n * Redistribution of original or derived work requires permission of course staff.\n */\n}", "title": "" }, { "docid": "d535709e4c85b7cea932b4ac4ceda5cc", "score": "0.4417488", "text": "@Override\n void parseDefinition()\n {\n if(parser.tokPrimaryCheck())\n {\n new SimpleExpression(parser);\n }\n else\n {\n logError(\"\");\n }\n\n while(parser.tok.getTok().equals(TCscanner.Tokens.RELOP))\n {\n String temp = \"\";\n if(parser.tok.getTok().equals(TCscanner.Tokens.RELOP))\n {\n //consume relop\n temp = parser.tok.getLex();\n parser.printer.print(\" \" + parser.tok.getLex() + \", \");\n parser.getNextToken();\n new SimpleExpression(parser);\n }\n else\n {\n logError(\"relop expected\");\n }\n\n if(temp.equals(\"<\"))\n {\n parser.codegenerator.insert(new CGRelopLT());\n }\n else if(temp.equals(\"<=\"))\n {\n parser.codegenerator.insert(new CGRelopLTE());\n }\n else if(temp.equals(\">\"))\n {\n parser.codegenerator.insert(new CGRelopGT());\n }\n else if(temp.equals(\">=\"))\n {\n parser.codegenerator.insert(new CGRelopGTE());\n }\n else if(temp.equals(\"==\"))\n {\n parser.codegenerator.insert(new CGRelopEQ());\n }\n else if(temp.equals(\"!=\"))\n {\n parser.codegenerator.insert(new CGRelopNE());\n }\n }\n return;\n }", "title": "" }, { "docid": "c04daabdf357951b467c973a55b41a42", "score": "0.44147304", "text": "public final void synpred28_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:578:9: ( super_key )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:578:10: super_key\n\t\t{\n\t\tpushFollow(FOLLOW_super_key_in_synpred28_DRL6Expressions3095);\n\t\tsuper_key();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "193166a4648bfd8a32b7c617a8a3b995", "score": "0.4410856", "text": "public final void rule__SubtypeRelationshipDefinition__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:15054:1: ( ( RightParenthesis ) )\n // InternalMASLParser.g:15055:1: ( RightParenthesis )\n {\n // InternalMASLParser.g:15055:1: ( RightParenthesis )\n // InternalMASLParser.g:15056:2: RightParenthesis\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSubtypeRelationshipDefinitionAccess().getRightParenthesisKeyword_6()); \n }\n match(input,RightParenthesis,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSubtypeRelationshipDefinitionAccess().getRightParenthesisKeyword_6()); \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": "f6a421f18a5a97739f24e0d221dd8e2e", "score": "0.44051677", "text": "public final void synpred30_DRL6Expressions_fragment() throws RecognitionException {\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:580:9: ( primitiveType )\n\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:580:10: primitiveType\n\t\t{\n\t\tpushFollow(FOLLOW_primitiveType_in_synpred30_DRL6Expressions3129);\n\t\tprimitiveType();\n\t\tstate._fsp--;\n\t\tif (state.failed) return;\n\t\t}\n\n\t}", "title": "" }, { "docid": "a48fc9c1a604ecdff35fa163da393925", "score": "0.44037876", "text": "public interface ROSMOPParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int LINECOMMENT = 2;\n /** RegularExpression Id. */\n int BLOCKCOMMENT = 3;\n /** RegularExpression Id. */\n int LBRACE = 4;\n /** RegularExpression Id. */\n int RBRACE = 5;\n /** RegularExpression Id. */\n int LPAREN = 6;\n /** RegularExpression Id. */\n int RPAREN = 7;\n /** RegularExpression Id. */\n int COLON = 8;\n /** RegularExpression Id. */\n int AT = 9;\n /** RegularExpression Id. */\n int EVENT = 10;\n /** RegularExpression Id. */\n int INIT = 11;\n /** RegularExpression Id. */\n int ID = 12;\n /** RegularExpression Id. */\n int DIGIT = 13;\n /** RegularExpression Id. */\n int LETTER = 14;\n /** RegularExpression Id. */\n int BACKTICK = 15;\n /** RegularExpression Id. */\n int COMMA = 16;\n /** RegularExpression Id. */\n int NAMING = 17;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<WHITESPACE>\",\n \"<LINECOMMENT>\",\n \"<BLOCKCOMMENT>\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\":\\\"\",\n \"\\\"@\\\"\",\n \"\\\"event\\\"\",\n \"\\\"init\\\"\",\n \"<ID>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"`\\\"\",\n \"\\\",\\\"\",\n \"<NAMING>\",\n \"\\\"\\\\\\'\\\"\",\n };\n\n}", "title": "" }, { "docid": "a69527b6923bfc75977e580b60e016ad", "score": "0.4402233", "text": "public void setDef6(String def6) {\n this.def6 = def6 == null ? null : def6.trim();\n }", "title": "" }, { "docid": "eaf9c16ddb558344f8c90c2ed7aad91e", "score": "0.4398199", "text": "public interface CTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NOT = 8;\n /** RegularExpression Id. */\n int AND = 9;\n /** RegularExpression Id. */\n int OR = 10;\n /** RegularExpression Id. */\n int IFF = 11;\n /** RegularExpression Id. */\n int IMPLIES = 12;\n /** RegularExpression Id. */\n int AX = 13;\n /** RegularExpression Id. */\n int AY = 14;\n /** RegularExpression Id. */\n int AF = 15;\n /** RegularExpression Id. */\n int AG = 16;\n /** RegularExpression Id. */\n int AOPEN = 17;\n /** RegularExpression Id. */\n int EX = 18;\n /** RegularExpression Id. */\n int EY = 19;\n /** RegularExpression Id. */\n int EF = 20;\n /** RegularExpression Id. */\n int EG = 21;\n /** RegularExpression Id. */\n int EOPEN = 22;\n /** RegularExpression Id. */\n int U = 23;\n /** RegularExpression Id. */\n int BIND = 24;\n /** RegularExpression Id. */\n int EXISTS = 25;\n /** RegularExpression Id. */\n int AT = 26;\n /** RegularExpression Id. */\n int AT_VAR = 27;\n /** RegularExpression Id. */\n int AT_NOM = 28;\n /** RegularExpression Id. */\n int DOT = 29;\n /** RegularExpression Id. */\n int LPAR = 30;\n /** RegularExpression Id. */\n int RPAR = 31;\n /** RegularExpression Id. */\n int LBRACKET = 32;\n /** RegularExpression Id. */\n int COMMA = 33;\n /** RegularExpression Id. */\n int TRUE = 34;\n /** RegularExpression Id. */\n int FALSE = 35;\n /** RegularExpression Id. */\n int IDENTIFIER = 36;\n /** RegularExpression Id. */\n int NOMINAL = 37;\n /** RegularExpression Id. */\n int DECIMAL = 38;\n /** RegularExpression Id. */\n int HEX = 39;\n /** RegularExpression Id. */\n int BIN = 40;\n /** RegularExpression Id. */\n int LETTER = 41;\n /** RegularExpression Id. */\n int DIGIT = 42;\n /** RegularExpression Id. */\n int HEX_DIGIT = 43;\n /** RegularExpression Id. */\n int BIN_DIGIT = 44;\n /** RegularExpression Id. */\n int BLANKS = 45;\n /** RegularExpression Id. */\n int ILLEGAL_CHAR = 46;\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 \"\\\"\\\\r\\\\n\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"~\\\"\",\n \"\\\"&\\\"\",\n \"\\\"|\\\"\",\n \"\\\"=\\\"\",\n \"\\\"->\\\"\",\n \"\\\"AX\\\"\",\n \"\\\"AY\\\"\",\n \"\\\"AF\\\"\",\n \"\\\"AG\\\"\",\n \"<AOPEN>\",\n \"\\\"EX\\\"\",\n \"\\\"EY\\\"\",\n \"\\\"EF\\\"\",\n \"\\\"EG\\\"\",\n \"<EOPEN>\",\n \"\\\"U\\\"\",\n \"\\\"!\\\"\",\n \"\\\"]\\\"\",\n \"\\\"@\\\"\",\n \"<AT_VAR>\",\n \"<AT_NOM>\",\n \"\\\".\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\",\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"<IDENTIFIER>\",\n \"<NOMINAL>\",\n \"<DECIMAL>\",\n \"<HEX>\",\n \"<BIN>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<HEX_DIGIT>\",\n \"<BIN_DIGIT>\",\n \"<BLANKS>\",\n \"<ILLEGAL_CHAR>\",\n };\n\n}", "title": "" }, { "docid": "3307aab2548ed7dc83e5b09a18ef93aa", "score": "0.43802366", "text": "public static AnonymousClass1j8 A04(AnonymousClass1k7 r6, AnonymousClass1j8 r7, AnonymousClass1j5[] r8) {\n C10391lx r0 = new C10391lx(A03(r6, r7));\n AnonymousClass1k5 r5 = r6.A0D;\n AbstractC01080Pu r4 = r6.A0F;\n return A01(r6, new AnonymousClass1jJ(r5.A00(new AnonymousClass1j7(r8), true, r4), new C10051kj(r5.A0F.A03, r5.A00(r0, true, r4))));\n }", "title": "" }, { "docid": "96dfc4e9822f74db20664c87e4bf3cae", "score": "0.43793923", "text": "public void expression_stmt() {\n\t\t\tgrammarStack.pop();\n\t\t\t// for ;\n\t\t\tif(codeStack.get(codeStack.size()-1).equals(\";\") && Error == false) {\n\t\t\t\tcodeStack.pop();\n\t\t\t//everything else\n\t\t\t} else if(codeStack.get(codeStack.size()-1).equals(\"(\") || codeStack.get(codeStack.size()-1).equals(\"ID\")||codeStack.get(codeStack.size()-1).equals(\"NUM\") |codeStack.get(codeStack.size()-1).equals(\"FLOAT\") && Error == false) {\n\t\t\t\tgrammarStack.add(\";\");\n\t\t\t\tgrammarStack.add(\"expression\");\n\t\t\t\texpression();\n\t\t\t\t\t\t\tif(grammarStack.get(grammarStack.size()-1).equals(codeStack.get(codeStack.size()-1)) && Error == false) {\n\t\t\t\t\t\t\t\tgrammarStack.pop();\n\t\t\t\t\t\t\t\tcodeStack.pop();\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tError = true;\n\t\t\t\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tError = true;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "7d2d2ce0e32038bfe7cb051e77aa5cc9", "score": "0.43784755", "text": "public final void rule__ENodeTypeBody__Group_1_4__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRMParser.g:6160:1: ( ( RULE_END ) )\n // InternalRMParser.g:6161:1: ( RULE_END )\n {\n // InternalRMParser.g:6161:1: ( RULE_END )\n // InternalRMParser.g:6162:2: RULE_END\n {\n before(grammarAccess.getENodeTypeBodyAccess().getENDTerminalRuleCall_1_4_3()); \n match(input,RULE_END,FOLLOW_2); \n after(grammarAccess.getENodeTypeBodyAccess().getENDTerminalRuleCall_1_4_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3255ddeb0d235dd87626022287bf5f25", "score": "0.43772253", "text": "public final BaseDescr primary() throws RecognitionException {\n\t\tBaseDescr result = null;\n\n\n\t\tToken i1=null;\n\t\tToken d=null;\n\t\tToken i2=null;\n\t\tToken h=null;\n\t\tToken n=null;\n\t\tToken LEFT_PAREN12=null;\n\t\tToken COMMA13=null;\n\t\tToken RIGHT_PAREN14=null;\n\t\tBaseDescr expr =null;\n\t\tParserRuleReturnScope literal11 =null;\n\n\t\ttry {\n\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:574:5: ( ( parExpression )=>expr= parExpression | ( nonWildcardTypeArguments )=> nonWildcardTypeArguments ( explicitGenericInvocationSuffix | this_key arguments ) | ( literal )=> literal | ( super_key )=> super_key superSuffix | ( new_key )=> new_key creator | ( primitiveType )=> primitiveType ( LEFT_SQUARE RIGHT_SQUARE )* DOT class_key | ( inlineMapExpression )=> inlineMapExpression | ( inlineListExpression )=> inlineListExpression | ( ID )=>i1= ID ( ( ( DOT ID )=>d= DOT i2= ID ) | ( ( DOT LEFT_PAREN )=>d= DOT LEFT_PAREN expression ( COMMA expression )* RIGHT_PAREN ) | ( ( HASH ID )=>h= HASH i2= ID ) | ( ( NULL_SAFE_DOT ID )=>n= NULL_SAFE_DOT i2= ID ) )* ( ( identifierSuffix )=> identifierSuffix )? )\n\t\t\tint alt69=9;\n\t\t\tint LA69_0 = input.LA(1);\n\t\t\tif ( (LA69_0==LEFT_PAREN) && (synpred25_DRL6Expressions())) {\n\t\t\t\talt69=1;\n\t\t\t}\n\t\t\telse if ( (LA69_0==LESS) && (synpred26_DRL6Expressions())) {\n\t\t\t\talt69=2;\n\t\t\t}\n\t\t\telse if ( (LA69_0==STRING) && (synpred27_DRL6Expressions())) {\n\t\t\t\talt69=3;\n\t\t\t}\n\t\t\telse if ( (LA69_0==DECIMAL) && (synpred27_DRL6Expressions())) {\n\t\t\t\talt69=3;\n\t\t\t}\n\t\t\telse if ( (LA69_0==HEX) && (synpred27_DRL6Expressions())) {\n\t\t\t\talt69=3;\n\t\t\t}\n\t\t\telse if ( (LA69_0==FLOAT) && (synpred27_DRL6Expressions())) {\n\t\t\t\talt69=3;\n\t\t\t}\n\t\t\telse if ( (LA69_0==BOOL) && (synpred27_DRL6Expressions())) {\n\t\t\t\talt69=3;\n\t\t\t}\n\t\t\telse if ( (LA69_0==NULL) && (synpred27_DRL6Expressions())) {\n\t\t\t\talt69=3;\n\t\t\t}\n\t\t\telse if ( (LA69_0==TIME_INTERVAL) && (synpred27_DRL6Expressions())) {\n\t\t\t\talt69=3;\n\t\t\t}\n\t\t\telse if ( (LA69_0==STAR) && (synpred27_DRL6Expressions())) {\n\t\t\t\talt69=3;\n\t\t\t}\n\t\t\telse if ( (LA69_0==ID) ) {\n\t\t\t\tint LA69_11 = input.LA(2);\n\t\t\t\tif ( ((((helper.validateIdentifierKey(DroolsSoftKeywords.SUPER)))&&synpred28_DRL6Expressions())) ) {\n\t\t\t\t\talt69=4;\n\t\t\t\t}\n\t\t\t\telse if ( ((synpred29_DRL6Expressions()&&((helper.validateIdentifierKey(DroolsSoftKeywords.NEW))))) ) {\n\t\t\t\t\talt69=5;\n\t\t\t\t}\n\t\t\t\telse if ( ((synpred30_DRL6Expressions()&&(((helper.validateIdentifierKey(DroolsSoftKeywords.SHORT)))||((helper.validateIdentifierKey(DroolsSoftKeywords.LONG)))||((helper.validateIdentifierKey(DroolsSoftKeywords.BOOLEAN)))||((helper.validateIdentifierKey(DroolsSoftKeywords.BYTE)))||((helper.validateIdentifierKey(DroolsSoftKeywords.FLOAT)))||((helper.validateIdentifierKey(DroolsSoftKeywords.DOUBLE)))||((helper.validateIdentifierKey(DroolsSoftKeywords.INT)))||((helper.validateIdentifierKey(DroolsSoftKeywords.CHAR)))))) ) {\n\t\t\t\t\talt69=6;\n\t\t\t\t}\n\t\t\t\telse if ( (synpred33_DRL6Expressions()) ) {\n\t\t\t\t\talt69=9;\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return result;}\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 69, 11, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t\telse if ( (LA69_0==LEFT_SQUARE) ) {\n\t\t\t\tint LA69_12 = input.LA(2);\n\t\t\t\tif ( (synpred31_DRL6Expressions()) ) {\n\t\t\t\t\talt69=7;\n\t\t\t\t}\n\t\t\t\telse if ( (synpred32_DRL6Expressions()) ) {\n\t\t\t\t\talt69=8;\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return result;}\n\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 69, 12, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tif (state.backtracking>0) {state.failed=true; return result;}\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 69, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\n\t\t\tswitch (alt69) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:574:7: ( parExpression )=>expr= parExpression\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_parExpression_in_primary3035);\n\t\t\t\t\texpr=parExpression();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\tif ( state.backtracking==0 ) { if( buildDescr ) { result = expr; } }\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:575:9: ( nonWildcardTypeArguments )=> nonWildcardTypeArguments ( explicitGenericInvocationSuffix | this_key arguments )\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_nonWildcardTypeArguments_in_primary3052);\n\t\t\t\t\tnonWildcardTypeArguments();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:575:63: ( explicitGenericInvocationSuffix | this_key arguments )\n\t\t\t\t\tint alt64=2;\n\t\t\t\t\tint LA64_0 = input.LA(1);\n\t\t\t\t\tif ( (LA64_0==ID) ) {\n\t\t\t\t\t\tint LA64_1 = input.LA(2);\n\t\t\t\t\t\tif ( (!((((helper.validateIdentifierKey(DroolsSoftKeywords.THIS)))))) ) {\n\t\t\t\t\t\t\talt64=1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if ( (((helper.validateIdentifierKey(DroolsSoftKeywords.THIS)))) ) {\n\t\t\t\t\t\t\talt64=2;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return result;}\n\t\t\t\t\t\t\tint nvaeMark = input.mark();\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tinput.consume();\n\t\t\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\t\t\tnew NoViableAltException(\"\", 64, 1, input);\n\t\t\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\t\tinput.rewind(nvaeMark);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t\telse {\n\t\t\t\t\t\tif (state.backtracking>0) {state.failed=true; return result;}\n\t\t\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\t\t\tnew NoViableAltException(\"\", 64, 0, input);\n\t\t\t\t\t\tthrow nvae;\n\t\t\t\t\t}\n\n\t\t\t\t\tswitch (alt64) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:575:64: explicitGenericInvocationSuffix\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpushFollow(FOLLOW_explicitGenericInvocationSuffix_in_primary3055);\n\t\t\t\t\t\t\texplicitGenericInvocationSuffix();\n\t\t\t\t\t\t\tstate._fsp--;\n\t\t\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:575:98: this_key arguments\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpushFollow(FOLLOW_this_key_in_primary3059);\n\t\t\t\t\t\t\tthis_key();\n\t\t\t\t\t\t\tstate._fsp--;\n\t\t\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t\t\tpushFollow(FOLLOW_arguments_in_primary3061);\n\t\t\t\t\t\t\targuments();\n\t\t\t\t\t\t\tstate._fsp--;\n\t\t\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:576:9: ( literal )=> literal\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_literal_in_primary3077);\n\t\t\t\t\tliteral11=literal();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\tif ( state.backtracking==0 ) { if( buildDescr ) { result = new AtomicExprDescr( (literal11!=null?input.toString(literal11.start,literal11.stop):null), true ); } }\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:578:9: ( super_key )=> super_key superSuffix\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_super_key_in_primary3099);\n\t\t\t\t\tsuper_key();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\tpushFollow(FOLLOW_superSuffix_in_primary3101);\n\t\t\t\t\tsuperSuffix();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:579:9: ( new_key )=> new_key creator\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_new_key_in_primary3116);\n\t\t\t\t\tnew_key();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\tpushFollow(FOLLOW_creator_in_primary3118);\n\t\t\t\t\tcreator();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:580:9: ( primitiveType )=> primitiveType ( LEFT_SQUARE RIGHT_SQUARE )* DOT class_key\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_primitiveType_in_primary3133);\n\t\t\t\t\tprimitiveType();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:580:41: ( LEFT_SQUARE RIGHT_SQUARE )*\n\t\t\t\t\tloop65:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt65=2;\n\t\t\t\t\t\tint LA65_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA65_0==LEFT_SQUARE) ) {\n\t\t\t\t\t\t\talt65=1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt65) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:580:42: LEFT_SQUARE RIGHT_SQUARE\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmatch(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_primary3136); if (state.failed) return result;\n\t\t\t\t\t\t\tmatch(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_primary3138); if (state.failed) return result;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tbreak loop65;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tmatch(input,DOT,FOLLOW_DOT_in_primary3142); if (state.failed) return result;\n\t\t\t\t\tpushFollow(FOLLOW_class_key_in_primary3144);\n\t\t\t\t\tclass_key();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 7 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:582:9: ( inlineMapExpression )=> inlineMapExpression\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_inlineMapExpression_in_primary3164);\n\t\t\t\t\tinlineMapExpression();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 8 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:583:9: ( inlineListExpression )=> inlineListExpression\n\t\t\t\t\t{\n\t\t\t\t\tpushFollow(FOLLOW_inlineListExpression_in_primary3179);\n\t\t\t\t\tinlineListExpression();\n\t\t\t\t\tstate._fsp--;\n\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 9 :\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:584:9: ( ID )=>i1= ID ( ( ( DOT ID )=>d= DOT i2= ID ) | ( ( DOT LEFT_PAREN )=>d= DOT LEFT_PAREN expression ( COMMA expression )* RIGHT_PAREN ) | ( ( HASH ID )=>h= HASH i2= ID ) | ( ( NULL_SAFE_DOT ID )=>n= NULL_SAFE_DOT i2= ID ) )* ( ( identifierSuffix )=> identifierSuffix )?\n\t\t\t\t\t{\n\t\t\t\t\ti1=(Token)match(input,ID,FOLLOW_ID_in_primary3195); if (state.failed) return result;\n\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(i1, DroolsEditorType.IDENTIFIER); }\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:585:9: ( ( ( DOT ID )=>d= DOT i2= ID ) | ( ( DOT LEFT_PAREN )=>d= DOT LEFT_PAREN expression ( COMMA expression )* RIGHT_PAREN ) | ( ( HASH ID )=>h= HASH i2= ID ) | ( ( NULL_SAFE_DOT ID )=>n= NULL_SAFE_DOT i2= ID ) )*\n\t\t\t\t\tloop67:\n\t\t\t\t\twhile (true) {\n\t\t\t\t\t\tint alt67=5;\n\t\t\t\t\t\tint LA67_0 = input.LA(1);\n\t\t\t\t\t\tif ( (LA67_0==DOT) ) {\n\t\t\t\t\t\t\tint LA67_2 = input.LA(2);\n\t\t\t\t\t\t\tif ( (LA67_2==ID) ) {\n\t\t\t\t\t\t\t\tint LA67_5 = input.LA(3);\n\t\t\t\t\t\t\t\tif ( (synpred34_DRL6Expressions()) ) {\n\t\t\t\t\t\t\t\t\talt67=1;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if ( (LA67_2==LEFT_PAREN) && (synpred35_DRL6Expressions())) {\n\t\t\t\t\t\t\t\talt67=2;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if ( (LA67_0==HASH) && (synpred36_DRL6Expressions())) {\n\t\t\t\t\t\t\talt67=3;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if ( (LA67_0==NULL_SAFE_DOT) && (synpred37_DRL6Expressions())) {\n\t\t\t\t\t\t\talt67=4;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tswitch (alt67) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:586:13: ( ( DOT ID )=>d= DOT i2= ID )\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:586:13: ( ( DOT ID )=>d= DOT i2= ID )\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:586:15: ( DOT ID )=>d= DOT i2= ID\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\td=(Token)match(input,DOT,FOLLOW_DOT_in_primary3231); if (state.failed) return result;\n\t\t\t\t\t\t\ti2=(Token)match(input,ID,FOLLOW_ID_in_primary3235); if (state.failed) return result;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(d, DroolsEditorType.SYMBOL); helper.emit(i2, DroolsEditorType.IDENTIFIER); }\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:588:13: ( ( DOT LEFT_PAREN )=>d= DOT LEFT_PAREN expression ( COMMA expression )* RIGHT_PAREN )\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:588:13: ( ( DOT LEFT_PAREN )=>d= DOT LEFT_PAREN expression ( COMMA expression )* RIGHT_PAREN )\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:588:15: ( DOT LEFT_PAREN )=>d= DOT LEFT_PAREN expression ( COMMA expression )* RIGHT_PAREN\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\td=(Token)match(input,DOT,FOLLOW_DOT_in_primary3277); if (state.failed) return result;\n\t\t\t\t\t\t\tLEFT_PAREN12=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_primary3279); if (state.failed) return result;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(d, DroolsEditorType.SYMBOL); helper.emit(LEFT_PAREN12, DroolsEditorType.SYMBOL); }\n\t\t\t\t\t\t\tpushFollow(FOLLOW_expression_in_primary3319);\n\t\t\t\t\t\t\texpression();\n\t\t\t\t\t\t\tstate._fsp--;\n\t\t\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:589:48: ( COMMA expression )*\n\t\t\t\t\t\t\tloop66:\n\t\t\t\t\t\t\twhile (true) {\n\t\t\t\t\t\t\t\tint alt66=2;\n\t\t\t\t\t\t\t\tint LA66_0 = input.LA(1);\n\t\t\t\t\t\t\t\tif ( (LA66_0==COMMA) ) {\n\t\t\t\t\t\t\t\t\talt66=1;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tswitch (alt66) {\n\t\t\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:589:49: COMMA expression\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tCOMMA13=(Token)match(input,COMMA,FOLLOW_COMMA_in_primary3322); if (state.failed) return result;\n\t\t\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(COMMA13, DroolsEditorType.SYMBOL); }\n\t\t\t\t\t\t\t\t\tpushFollow(FOLLOW_expression_in_primary3326);\n\t\t\t\t\t\t\t\t\texpression();\n\t\t\t\t\t\t\t\t\tstate._fsp--;\n\t\t\t\t\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\t\t\tbreak loop66;\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\tRIGHT_PAREN14=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_primary3366); if (state.failed) return result;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(RIGHT_PAREN14, DroolsEditorType.SYMBOL); }\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:593:13: ( ( HASH ID )=>h= HASH i2= ID )\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:593:13: ( ( HASH ID )=>h= HASH i2= ID )\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:593:15: ( HASH ID )=>h= HASH i2= ID\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\th=(Token)match(input,HASH,FOLLOW_HASH_in_primary3420); if (state.failed) return result;\n\t\t\t\t\t\t\ti2=(Token)match(input,ID,FOLLOW_ID_in_primary3424); if (state.failed) return result;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(h, DroolsEditorType.SYMBOL); helper.emit(i2, DroolsEditorType.IDENTIFIER); }\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 4 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:595:13: ( ( NULL_SAFE_DOT ID )=>n= NULL_SAFE_DOT i2= ID )\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:595:13: ( ( NULL_SAFE_DOT ID )=>n= NULL_SAFE_DOT i2= ID )\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:595:15: ( NULL_SAFE_DOT ID )=>n= NULL_SAFE_DOT i2= ID\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tn=(Token)match(input,NULL_SAFE_DOT,FOLLOW_NULL_SAFE_DOT_in_primary3466); if (state.failed) return result;\n\t\t\t\t\t\t\ti2=(Token)match(input,ID,FOLLOW_ID_in_primary3470); if (state.failed) return result;\n\t\t\t\t\t\t\tif ( state.backtracking==0 ) { helper.emit(n, DroolsEditorType.SYMBOL); helper.emit(i2, DroolsEditorType.IDENTIFIER); }\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault :\n\t\t\t\t\t\t\tbreak loop67;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:596:12: ( ( identifierSuffix )=> identifierSuffix )?\n\t\t\t\t\tint alt68=2;\n\t\t\t\t\tint LA68_0 = input.LA(1);\n\t\t\t\t\tif ( (LA68_0==LEFT_SQUARE) ) {\n\t\t\t\t\t\tint LA68_1 = input.LA(2);\n\t\t\t\t\t\tif ( (synpred38_DRL6Expressions()) ) {\n\t\t\t\t\t\t\talt68=1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse if ( (LA68_0==LEFT_PAREN) ) {\n\t\t\t\t\t\tint LA68_2 = input.LA(2);\n\t\t\t\t\t\tif ( (synpred38_DRL6Expressions()) ) {\n\t\t\t\t\t\t\talt68=1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tswitch (alt68) {\n\t\t\t\t\t\tcase 1 :\n\t\t\t\t\t\t\t// src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:596:13: ( identifierSuffix )=> identifierSuffix\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpushFollow(FOLLOW_identifierSuffix_in_primary3492);\n\t\t\t\t\t\t\tidentifierSuffix();\n\t\t\t\t\t\t\tstate._fsp--;\n\t\t\t\t\t\t\tif (state.failed) return result;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tcatch (RecognitionException re) {\n\t\t throw re;\n\t\t}\n\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "fa53e8e6c47c2aa24c64c08182e702d5", "score": "0.43763703", "text": "public interface Expression { \n \n // Datatype definition:\n // Expression = Value(num:double)\n // + Variable(id:String)\n // + Addition(left:Expression, right:Expression)\n // + Multiplication(left:Expression, right:Expression)\n /**\n * Parse an expression.\n * @param input expression to parse, as defined in the PS3 handout.\n * @return expression AST for the input, simplified as much as possible\n * @throws IllegalArgumentException if the expression is invalid\n */\n // TODO: 'human-readable' error messages\n public static Expression parse(String input) {\n assert input != null && input != \"\";\n try {\n CharStream inputStream = CharStreams.fromString(input);\n ExpressionLexer lexer = new ExpressionLexer(inputStream);\n lexer.reportErrorsAsExceptions();\n \n CommonTokenStream tokens = new CommonTokenStream(lexer);\n ExpressionParser parser = new ExpressionParser(tokens);\n parser.reportErrorsAsExceptions();\n \n parser.setBuildParseTree(true);\n ParseTree parseTree = parser.root();\n \n ExpressionMainVisitor exprVisitor = new ExpressionMainVisitor();\n Expression expr = exprVisitor.visit(parseTree);\n \n return expr;\n } catch (ParseCancellationException e) {\n throw new IllegalArgumentException(e.getMessage());\n }\n }\n /** Creates an empty expression such that Expression.parse(\"0\").equals(emptyExpression()) */\n public static Expression emptyExpression() {\n return new Value(0.0);\n }\n /**\n * Appends an expression at the end of this with an addition\n * \n * If e equals Expression.emptyExpression(), correct to 5 decimal places, \n * the empty expression is returned;\n * If e equals this, an expression equivalent to\n * this * 2 is returned\n * \n * @param e a non-null non-empty string of a valid expression\n * syntax\n * @return a simplified expression equivalent to:\n * this + e\n * this and e are not modified\n */\n public Expression addExpr(Expression e);\n /**\n * Appends an expression at the end of this with a multiplication\n * \n * If e equals Expression.emptyExpression(), correct to 5 decimal places, \n * the empty expression is returned;\n * If e equals Expression.parse(\"1\"), correct to 5 decimal places, this\n * expression is returned\n * The product of any other expression except the two above is not simplified,\n * the resulting expression being equivalent to:\n * (this)*(e)\n * Note: This is not the case when parsing, where an expression is simplified\n * as much as possible\n * \n * @param e a non-null non-empty string of a valid expression\n * syntax\n * @return a new expression equivalent to:\n * this * e\n * The returned expression is NOT simplified\n * this and e are not modified\n */\n public Expression multiplyExpr(Expression e);\n /**\n * Appends a variable at the start of this expression with an addition\n * \n * @param variable non-null non-empty case-sensitive string of letters, a-zA-Z\n * @return a new expression as a result of inserting a variable at the start\n * of this expression with an addition.\n * The expression is not simplified\n * \n */\n public Expression addVariable(String variable);\n /**\n * Appends a variable as a multiplicative factor to start of this expression\n * \n * @param variable non-null non-empty case-sensitive string of letters, a-zA-Z\n * @return the product expression of this and variable, variable being at\n * the head of the expression. The expression is not simplified\n */\n public Expression multiplyVariable(String variable);\n /**\n * Adds a number at the start of this expression\n * \n * @param num nonnegative integer or floating-point number\n * @return the result adding num at the start of this expression.\n * If e equals Expression.emptyExpression(), correct to 5 decimal places, \n * the empty expression is returned;\n * The expression is not simplified \n */\n public Expression addConstant(double num);\n /**\n * Appends a number as a multiplicative factor at the start of this expression\n * \n * @param num nonnegative integer or floating-point number\n * @return the product expression where num is this expression's coefficient,\n * placed at the start of this expression.\n * - If e equals Expression.emptyExpression(), correct to 5 decimal places, \n * the empty expression is returned;\n * - If e equals Expression.parse(\"1\"), correct to 5 decimal places, this\n * expression is returned\n * The expression is simplified\n */\n public Expression appendCoefficient(double num);\n /**\n * Substitutes a variable in this expression with a number\n * \n * The set of variables in the environment can contain variables not\n * in this expression:\n * - Any variables in the expression but not the environment \n * remain as variables in the substituted polynomial. \n * - Any variables in the environment but not the expression are simply ignored.\n * If the substituted polynomial is a constant expression, with no variables remaining, \n * then simplification reduces it to a single number, with no operators remaining.\n * \n * @param environment maps variables to values. Variables are required to be case-sensitive nonempty \n * strings of letters. The set of variables in environment is allowed to be different than the \n * set of variables actually found in expression. Values must be nonnegative numbers.\n * @return an expression equal to the input, but after substituting every variable v that appears in both\n * the expression and the environment with its value, environment.get(v). If there are no\n * variables left in this expression after substitution, it must be evaluated to a single number.\n */\n public Expression substitute(Map<String,Double> environment);\n /**\n * Produces an expression with the derivative of this expression \n * with respect to an input variable\n * \n * @param variable non-null non-empty case-sensitive string of letters, a-zA-Z\n * @return the derivative of this expression with respect\n * to variable. The returned expression is equal to the derivative,\n * simplified as much as possible.\n */\n public Expression differentiate(String variable);\n /**\n * Returns a string representation of this expression\n * \n * The string returned is such that:\n * - for additions, exactly one space exists between\n * operand and the operator:\n * operand + operand \n * - for multiplications, no space exists between operands\n * and the operator, and operands are inside parentheses:\n * (factor)*(factor)\n * Factors of products are grouped from left to right by default:\n * x*x*x -> ((x)*(x))*(x)\n * Numbers in the string are truncated and correct to 5 decimal places\n * \n * @return a parsable representation of this expression, such that\n * for all e:Expression, e.equals(Expression.parse(e.toString())).\n */\n @Override public String toString();\n /**\n * Checks if an object is equal to this addition expression\n * Two expressions are equal if and only if: \n * - The expressions contain the same variables, numbers, and operators;\n * - those variables, numbers, and operators are in the same order, read left-to-right;\n * - and they are grouped in the same way.\n * Two sums are equal if having different groupings with \n * the same mathematical meaning. For example, \n * (3 + 4) + 5 and 3 + (4 + 5) are equal.\n * However, two products are NOT equal if they have different groupings regardless\n * of mathematical meaning. For example:\n * x*(2*y) is not equal to (x*2)*y \n * @param thatObject any object\n * @return true if and only if this and thatObject are structurally-equal\n * Expressions, as defined in the PS3 handout.\n */\n @Override\n public boolean equals(Object thatObject); \n /**\n * @return hash code value consistent with the equals() definition of structural\n * equality, such that for all e1,e2:Expression,\n * e1.equals(e2) implies e1.hashCode() == e2.hashCode()\n */\n @Override\n public int hashCode(); \n}", "title": "" }, { "docid": "4fc62d382e66e5cca15a2c0b28a5e23a", "score": "0.43741012", "text": "public interface SyntaxCheckerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NUM = 13;\n /** RegularExpression Id. */\n int BOOL = 14;\n /** RegularExpression Id. */\n int TIMER = 15;\n /** RegularExpression Id. */\n int RANGO_TIMER = 16;\n /** RegularExpression Id. */\n int OPCIONESRANGO = 17;\n /** RegularExpression Id. */\n int DIM_FILAS = 18;\n /** RegularExpression Id. */\n int DIM_COLUMNAS = 19;\n /** RegularExpression Id. */\n int CUBO = 20;\n /** RegularExpression Id. */\n int LIST = 21;\n /** RegularExpression Id. */\n int MAIN = 22;\n /** RegularExpression Id. */\n int RANGO = 23;\n /** RegularExpression Id. */\n int NEG = 24;\n /** RegularExpression Id. */\n int T = 25;\n /** RegularExpression Id. */\n int F = 26;\n /** RegularExpression Id. */\n int INSERT = 27;\n /** RegularExpression Id. */\n int DELETE = 28;\n /** RegularExpression Id. */\n int LENGTH = 29;\n /** RegularExpression Id. */\n int SHAPEF = 38;\n /** RegularExpression Id. */\n int SHAPEC = 39;\n /** RegularExpression Id. */\n int ID = 40;\n /** RegularExpression Id. */\n int OPERADORES = 41;\n /** RegularExpression Id. */\n int OPERADOR_COMPARADOR = 42;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<token of kind 1>\",\n \"\\\"\\\\t\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\".\\\"\",\n \"<NUM>\",\n \"<BOOL>\",\n \"\\\"Timer\\\"\",\n \"\\\"Rango_Timer\\\"\",\n \"<OPCIONESRANGO>\",\n \"\\\"Dim_Filas\\\"\",\n \"\\\"Dim_Columnas\\\"\",\n \"\\\"Cubo\\\"\",\n \"\\\"list\\\"\",\n \"\\\"Main\\\"\",\n \"\\\"range\\\"\",\n \"\\\"Neg\\\"\",\n \"\\\"T\\\"\",\n \"\\\"F\\\"\",\n \"\\\"insert\\\"\",\n \"\\\"del\\\"\",\n \"\\\"len\\\"\",\n \"\\\"if\\\"\",\n \"\\\"for\\\"\",\n \"\\\"Call\\\"\",\n \"\\\"Procedure\\\"\",\n \"\\\"Delay\\\"\",\n \"\\\"in\\\"\",\n \"\\\"Step\\\"\",\n \"\\\"Blink\\\"\",\n \"\\\"shapeF\\\"\",\n \"\\\"shapeC\\\"\",\n \"<ID>\",\n \"<OPERADORES>\",\n \"<OPERADOR_COMPARADOR>\",\n \"\\\";\\\"\",\n \"\\\"type(\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\":\\\"\",\n };\n\n}", "title": "" }, { "docid": "5e7e89a8160e0ba681339e0530a11602", "score": "0.43732643", "text": "public interface ExpressionsFactory extends EFactory {\r\n\t/**\r\n\t * The singleton instance of the factory.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t */\r\n\tExpressionsFactory eINSTANCE = org.yakindu.base.expressions.expressions.impl.ExpressionsFactoryImpl.init();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Bool Literal</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Bool Literal</em>'.\r\n\t * @generated\r\n\t */\r\n\tBoolLiteral createBoolLiteral();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Int Literal</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Int Literal</em>'.\r\n\t * @generated\r\n\t */\r\n\tIntLiteral createIntLiteral();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Double Literal</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Double Literal</em>'.\r\n\t * @generated\r\n\t */\r\n\tDoubleLiteral createDoubleLiteral();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Float Literal</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Float Literal</em>'.\r\n\t * @generated\r\n\t */\r\n\tFloatLiteral createFloatLiteral();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Hex Literal</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Hex Literal</em>'.\r\n\t * @generated\r\n\t */\r\n\tHexLiteral createHexLiteral();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>String Literal</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>String Literal</em>'.\r\n\t * @generated\r\n\t */\r\n\tStringLiteral createStringLiteral();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Null Literal</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Null Literal</em>'.\r\n\t * @generated\r\n\t */\r\n\tNullLiteral createNullLiteral();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Assignment Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Assignment Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tAssignmentExpression createAssignmentExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Conditional Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Conditional Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tConditionalExpression createConditionalExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Logical Or Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Logical Or Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tLogicalOrExpression createLogicalOrExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Logical And Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Logical And Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tLogicalAndExpression createLogicalAndExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Logical Not Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Logical Not Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tLogicalNotExpression createLogicalNotExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Bitwise Xor Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Bitwise Xor Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tBitwiseXorExpression createBitwiseXorExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Bitwise Or Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Bitwise Or Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tBitwiseOrExpression createBitwiseOrExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Bitwise And Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Bitwise And Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tBitwiseAndExpression createBitwiseAndExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Logical Relation Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Logical Relation Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tLogicalRelationExpression createLogicalRelationExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Shift Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Shift Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tShiftExpression createShiftExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Numerical Add Subtract Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Numerical Add Subtract Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tNumericalAddSubtractExpression createNumericalAddSubtractExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Numerical Multiply Divide Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Numerical Multiply Divide Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tNumericalMultiplyDivideExpression createNumericalMultiplyDivideExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Numerical Unary Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Numerical Unary Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tNumericalUnaryExpression createNumericalUnaryExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Primitive Value Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Primitive Value Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tPrimitiveValueExpression createPrimitiveValueExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Feature Call</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Feature Call</em>'.\r\n\t * @generated\r\n\t */\r\n\tFeatureCall createFeatureCall();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Element Reference Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Element Reference Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tElementReferenceExpression createElementReferenceExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Parenthesized Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Parenthesized Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tParenthesizedExpression createParenthesizedExpression();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Type Cast Expression</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Type Cast Expression</em>'.\r\n\t * @generated\r\n\t */\r\n\tTypeCastExpression createTypeCastExpression();\r\n\r\n\t/**\r\n\t * Returns the package supported by this factory.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the package supported by this factory.\r\n\t * @generated\r\n\t */\r\n\tExpressionsPackage getExpressionsPackage();\r\n\r\n}", "title": "" }, { "docid": "b4384842009ec041e540c6dba058dd03", "score": "0.43727311", "text": "public void T() {\n\t\t\tgrammarStack.pop();\n\t\t\tif(codeStack.get(codeStack.size()-1).equals(\"<\") || codeStack.get(codeStack.size()-1).equals(\">\") || codeStack.get(codeStack.size()-1).equals(\"==\") || codeStack.get(codeStack.size()-1).equals(\"!=\") || codeStack.get(codeStack.size()-1).equals(\"<=\") ||codeStack.get(codeStack.size()-1).equals(\">=\") && Error == false) {\n\t\t\t\tcodeStack.pop();\n\t\t\t\tgrammarStack.add(\"additive_expression\");\n\t\t\t\tadditive_expression();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "d7ea798989c040aecffcd3c30510fa90", "score": "0.43659618", "text": "public void setTd6(String td6) {\r\n this.td6 = td6 == null ? null : td6.trim();\r\n }", "title": "" }, { "docid": "fb067f5f9df94d3d23024e09bf7692e5", "score": "0.43524393", "text": "private ExpressionNode parseExpression(LinkedList<Token>tokens,Stack<String>myStack){\n\n if(myStack.peek().equals(\"Id\")){\n myStack.pop();\n return new Id(tokens.remove().getToken());\n }\n if(myStack.peek().equals(\"F_call\")){\n myStack.pop();\n myStack.push(\"Id\");\n String f_name = tokens.get(0).getToken();\n ExpressionNode id = parseExpression(tokens,myStack);\n if(!tokens.get(0).getToken().equals(\"(\")){\n return null;\n }\n tokens.remove();\n if(tokens.get(0).getToken().equals(\")\")){\n tokens.remove();\n tokens.remove();\n return new F_call(id,f_name); //maybe improve idk if correct\n }\n myStack.push(\"Fc_pl\");\n ActionNode f_p_list = parseAction(tokens,myStack);\n if(!tokens.get(0).getToken().equals(\")\")){\n return null;\n }\n tokens.remove();\n if(tokens.get(0).getToken().equals(\";\")){\n tokens.remove();\n }\n return new F_call(id,f_name,(functions)f_p_list);\n\n }\n if(myStack.peek().equals(\"VariableOp\")){\n myStack.pop();\n if(tokens.get(3).getToken() != null){\n if(isOperator(tokens.get(3).getToken())){\n ExpressionNode lhs = new Id(tokens.remove().getToken());\n String operator = tokens.remove().getToken();\n myStack.add(\"VariableOp\");\n ExpressionNode rhs = parseExpression(tokens,myStack);\n Token token = new Token(\"sa\",1);\n return new VariableOperation(lhs,rhs,operator,this,token); // will keep adding more binary operations\n }\n }\n ExpressionNode lhs = new Id(tokens.remove().getToken());\n Token token = tokens.get(0);\n String operator = tokens.remove().getToken();\n ExpressionNode rhs = new Id(tokens.remove().getToken());\n return new VariableOperation(lhs,rhs,operator,this,token);\n }\n if(myStack.peek().equals(\"D_expr\")){\n myStack.pop();\n if(tokens.get(0).isNegative()){\n isNegative = true;\n tokens.remove();\n }\n if(!isDouble(tokens.get(0).getToken())){\n myStack.push(\"Id\");\n Token token = tokens.get(0);\n ExpressionNode node = parseExpression(tokens,myStack);\n return new D_expr(null,node,null,this,token);\n }\n if(tokens.get(0).isNegative()){\n isNegative = true;\n tokens.remove();\n }\n if(isInteger(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Double got Integer, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n if(!isOperator(tokens.get(1).getToken())){\n if(isNegative){\n isNegative = false;\n Token token = tokens.get(0);\n ExpressionNode node = new DoubleCons(-1 * Double.parseDouble(tokens.remove().getToken()));\n return new D_expr(null,node,null,this,token);\n }\n Token token = tokens.get(0);\n ExpressionNode node = new DoubleCons(Double.parseDouble(tokens.remove().getToken()));\n return new D_expr(null,node,null,this,token);\n }else{\n if(isOperator(tokens.get(3).getToken())|| isOperator(tokens.get(4).getToken())){\n ExpressionNode left;\n if(isNegative){\n left = new DoubleCons(-1 * Double.parseDouble(tokens.remove().getToken()));\n isNegative = false;\n }\n else{\n left = new DoubleCons(Double.parseDouble(tokens.remove().getToken()));\n }\n if(isInteger(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Double got Integer, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n Token token = tokens.get(0);\n String identifier = tokens.remove().getToken();\n myStack.push(\"D_expr\");\n ExpressionNode right = parseExpression(tokens,myStack);\n return new D_expr(identifier,left,right,this,token);\n\n }\n ExpressionNode left;\n if(isNegative){\n left = new DoubleCons(-1 * Double.parseDouble(tokens.remove().getToken()));\n isNegative = false;\n }\n else{\n left = new DoubleCons(Double.parseDouble(tokens.remove().getToken()));\n }\n if(isInteger(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Double got Integer, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n String identifier = tokens.remove().getToken();\n if(tokens.get(0).isNegative()){\n tokens.remove();\n if(isInteger(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Double got Integer, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n Token token = tokens.get(0);\n ExpressionNode right = new DoubleCons(-1 * Double.parseDouble(tokens.remove().getToken()));\n return new D_expr(identifier,left,right,this,token);\n }else{\n if(isInteger(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Double got Integer, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n Token token = tokens.get(0);\n ExpressionNode right = new DoubleCons(Double.parseDouble(tokens.remove().getToken()));\n return new D_expr(identifier,left,right,this,token);\n }\n }\n }\n if(myStack.peek().equals(\"I_expr\")) {\n myStack.pop();\n if(tokens.get(0).isNegative()){\n isNegative = true;\n tokens.remove();\n }\n if(!isInteger(tokens.get(0).getToken())){\n Token token = tokens.get(0);\n myStack.push(\"Id\");\n ExpressionNode node = parseExpression(tokens,myStack);\n return new I_expr(null,node,null,this,token);\n }\n if(tokens.get(0).isNegative()){\n isNegative = true;\n tokens.remove();\n }\n if(isDouble(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Integer got Double, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n if(!isOperator(tokens.get(1).getToken())){\n Token token = tokens.get(1);\n if(isNegative){\n isNegative = false;\n ExpressionNode node = new Constant(-1 * Integer.parseInt(tokens.remove().getToken()));\n return new I_expr(null,node,null,this,token);\n }\n ExpressionNode node = new Constant(Integer.parseInt(tokens.remove().getToken()));\n return new I_expr(null,node,null,this,token);\n }\n else{\n if((isOperator(tokens.get(3).getToken()) || isOperator(tokens.get(4).getToken()))){\n ExpressionNode left;\n if(isNegative){\n left = new Constant(-1 * Integer.parseInt(tokens.remove().getToken()));\n isNegative = false;\n }\n else{\n left = new Constant(Integer.parseInt(tokens.remove().getToken()));\n }\n if(isDouble(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Integer got Double, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n Token token = tokens.get(0);\n String identifier = tokens.remove().getToken();\n myStack.push(\"I_expr\");\n ExpressionNode right = parseExpression(tokens,myStack);\n return new I_expr(identifier,left,right,this,token);\n\n }\n ExpressionNode left;\n if(isNegative){\n left = new Constant(-1 * Integer.parseInt(tokens.remove().getToken()));\n isNegative = false;\n }\n else{\n left = new Constant(Integer.parseInt(tokens.remove().getToken()));\n }\n String identifier = tokens.remove().getToken();\n if(tokens.get(0).isNegative()){\n Token token = tokens.get(0);\n tokens.remove();\n if(isDouble(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Integer got Double, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n ExpressionNode right = new Constant(-1 * Integer.parseInt(tokens.remove().getToken()));\n return new I_expr(identifier,left,right,this,token);\n }else{\n if(isDouble(tokens.get(0).getToken())){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n System.err.println(\"Syntax Error: Expected Integer got Double, \"\n + error + \" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n Token token = tokens.get(0);\n ExpressionNode right = new Constant(Integer.parseInt(tokens.remove().getToken()));\n return new I_expr(identifier,left,right,this,token);\n }\n\n }\n }\n if(myStack.peek().equals(\"S_expr\")){\n myStack.pop();\n if(tokens.get(0).getToken().charAt(0) != '\"'\n && tokens.get(0).getToken().charAt(tokens.get(0).getToken().length() - 1) == '\"'){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n\n System.err.println(\"Syntax Error: Missing Character: Expected \\\" in string defenition, \" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n if(tokens.get(0).getToken().charAt(0) == '\"'){\n if(!(tokens.get(0).getToken().charAt(tokens.get(0).getToken().length() - 1) == '\"')){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n\n System.err.println(\"Syntax Error: Missing Character: Expected \\\" in string defenition, \" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n ExpressionNode string = new Str_literal(tokens.remove().getToken());\n\n return new S_expr(string,null);\n }\n if(tokens.get(0).getToken().equals(\"charAt\")){\n myStack.push(\"Expr\");\n myStack.push(\"S_expr\");\n\n String function = tokens.remove().getToken();\n if(!tokens.get(0).getToken().equals(\"(\")){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n\n System.err.println(\"Syntax Error: Missing Character: Expected ( in charAt, \" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n\n System.exit(1);\n }\n tokens.remove();\n ExpressionNode left = parseExpression(tokens,myStack);\n if(!tokens.get(0).getToken().equals(\",\")){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n\n System.err.println(\"Syntax Error: Expected , got \" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1); // missing a parameter\n }\n tokens.remove();\n ExpressionNode right = parseExpression(tokens,myStack);\n if(!tokens.get(0).getToken().equals(\")\")){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n\n System.err.println(\"Syntax Error: Missing Character: Expected ) in concat, \" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n tokens.remove();\n return new S_expr(function,left,right);\n\n }\n if(tokens.get(0).getToken().equals(\"concat\")){\n\n myStack.push(\"S_expr\");\n myStack.push(\"S_expr\");\n String function = tokens.remove().getToken();\n if(!tokens.get(0).getToken().equals(\"(\")){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n\n System.err.println(\"Syntax Error: Missing Character: Expected ( in concat, \" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n tokens.remove();\n ExpressionNode left = parseExpression(tokens,myStack);\n if(!tokens.get(0).getToken().equals(\",\")){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n\n System.err.println(\"Syntax Error: Expected , got\" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1);\n }\n tokens.remove();\n ExpressionNode right = parseExpression(tokens,myStack);\n if(!tokens.get(0).getToken().equals(\")\")){\n String error = makeErrorString(tokens.get(0).getLineNumber());\n\n System.err.println(\"Syntax Error: Missing Character: Expected ( in concat, \" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + tokens.get(0).getLineNumber() + \")\");\n System.exit(1); // missing closing parenthesis\n }\n tokens.remove();\n return new S_expr(function,left,right);\n }if(!isInteger(tokens.get(0).getToken()) && !isDouble(tokens.get(0).getToken())){\n myStack.push(\"Id\");\n ExpressionNode left = parseExpression(tokens,myStack);\n return new S_expr(null,left,null);\n }\n System.err.println(\"Invalid string statement at line # \" + tokens.get(0).getLineNumber());\n System.exit(1);\n return null; // will add more stuff\n }\n if(myStack.peek().equals(\"Expr\")){\n myStack.pop();\n\n if(tokens.get(0).isNegative()){\n isNegative = true;\n tokens.remove();\n }\n if(isDouble(tokens.get(0).getToken())){\n myStack.push(\"D_expr\");\n return new Expr(parseExpression(tokens,myStack));// for now its set to null\n }else if(isInteger(tokens.get(0).getToken())){\n myStack.push(\"I_expr\");\n return new Expr(parseExpression(tokens,myStack));\n }\n else if(tokens.get(0).getToken().equals(\"concat\")){\n myStack.push(\"S_expr\"); // for now\n return new Expr(parseExpression(tokens,myStack));\n }else if(tokens.get(0).getToken().equals(\"charAt\")){\n myStack.push(\"S_expr\");\n return new Expr(parseExpression(tokens,myStack));\n }else if(tokens.get(0).getToken().charAt(0) == '\"'){\n if(varTypes.containsKey(currentVar)){\n if(!varTypes.get(currentVar).equals(\"String\")){\n Token noNull = tokens.get(0);\n String error = makeErrorString(noNull.getLineNumber());\n System.err.println(\"Syntax Error: Invalid type in re-assignment: Expected Integer got String; \" +\n \"\\\"\" + error + \"\\\" (inputs/\" + inputFile + \":\" + noNull.getLineNumber() + \")\");\n System.exit(1);\n\n }\n }\n currentVar = null;\n myStack.push(\"S_expr\");\n return new Expr(parseExpression(tokens,myStack));\n }else{ //its an id then\n if(isOperator(tokens.get(1).getToken())){\n myStack.push(\"VariableOp\");\n return new Expr(parseExpression(tokens,myStack));\n }\n myStack.push(\"Id\");\n return new Expr(tokens.get(0).getToken(),parseExpression(tokens,myStack));\n }\n }\n System.err.println(\"Invalid expression at line # \" + tokens.get(0).getLineNumber());\n System.exit(1);\n return null;\n }", "title": "" }, { "docid": "83b7cfd8970c57abb51acdc15df24665", "score": "0.43408334", "text": "public final void expr() throws RecognitionException {\n CommonTree NUM8=null;\n CommonTree ID9=null;\n CommonTree ID10=null;\n\n try {\n // FunEncoder.g:236:2: ( FALSE | TRUE | NUM | ID | ^( FUNCCALL ID expr ) | ^( EQ expr expr ) | ^( LT expr expr ) | ^( GT expr expr ) | ^( PLUS expr expr ) | ^( MINUS expr expr ) | ^( TIMES expr expr ) | ^( DIV expr expr ) | ^( NOT expr ) | NOACTUAL )\n int alt9=14;\n switch ( input.LA(1) ) {\n case FALSE:\n {\n alt9=1;\n }\n break;\n case TRUE:\n {\n alt9=2;\n }\n break;\n case NUM:\n {\n alt9=3;\n }\n break;\n case ID:\n {\n alt9=4;\n }\n break;\n case FUNCCALL:\n {\n alt9=5;\n }\n break;\n case EQ:\n {\n alt9=6;\n }\n break;\n case LT:\n {\n alt9=7;\n }\n break;\n case GT:\n {\n alt9=8;\n }\n break;\n case PLUS:\n {\n alt9=9;\n }\n break;\n case MINUS:\n {\n alt9=10;\n }\n break;\n case TIMES:\n {\n alt9=11;\n }\n break;\n case DIV:\n {\n alt9=12;\n }\n break;\n case NOT:\n {\n alt9=13;\n }\n break;\n case NOACTUAL:\n {\n alt9=14;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 9, 0, input);\n\n throw nvae;\n }\n\n switch (alt9) {\n case 1 :\n // FunEncoder.g:236:4: FALSE\n {\n match(input,FALSE,FOLLOW_FALSE_in_expr820); \n obj.emit12(SVM.LOADLIT, 0); \n\n }\n break;\n case 2 :\n // FunEncoder.g:238:4: TRUE\n {\n match(input,TRUE,FOLLOW_TRUE_in_expr831); \n obj.emit12(SVM.LOADLIT, 1); \n\n }\n break;\n case 3 :\n // FunEncoder.g:240:4: NUM\n {\n NUM8=(CommonTree)match(input,NUM,FOLLOW_NUM_in_expr842); \n int value =\n \t\t\t\t Integer.parseInt((NUM8!=null?NUM8.getText():null));\n \t\t\t\t obj.emit12(SVM.LOADLIT, value);\n \t\t\t\t\n\n }\n break;\n case 4 :\n // FunEncoder.g:245:4: ID\n {\n ID9=(CommonTree)match(input,ID,FOLLOW_ID_in_expr853); \n String id = (ID9!=null?ID9.getText():null);\n \t\t\t\t Address varaddr = addrTable.get(id);\n \t\t\t\t switch (varaddr.locale) {\n \t\t\t\t case Address.GLOBAL:\n \t\t\t\t obj.emit12(SVM.LOADG,\n \t\t\t\t varaddr.offset);\n \t\t\t\t break;\n \t\t\t\t case Address.LOCAL:\n \t\t\t\t obj.emit12(SVM.LOADL,\n \t\t\t\t varaddr.offset);\n \t\t\t\t }\n \t\t\t\t\n\n }\n break;\n case 5 :\n // FunEncoder.g:258:4: ^( FUNCCALL ID expr )\n {\n match(input,FUNCCALL,FOLLOW_FUNCCALL_in_expr865); \n\n match(input, Token.DOWN, null); \n ID10=(CommonTree)match(input,ID,FOLLOW_ID_in_expr867); \n pushFollow(FOLLOW_expr_in_expr869);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n String id = (ID10!=null?ID10.getText():null);\n \t\t\t\t Address funcaddr = addrTable.get(id);\n \t\t\t\t // Assume funcaddr.locale == CODE ...\n \t\t\t\t obj.emit12(SVM.CALL,\n \t\t\t\t funcaddr.offset);\n \t\t\t\t\n\n }\n break;\n case 6 :\n // FunEncoder.g:265:4: ^( EQ expr expr )\n {\n match(input,EQ,FOLLOW_EQ_in_expr882); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expr_in_expr884);\n expr();\n\n state._fsp--;\n\n pushFollow(FOLLOW_expr_in_expr886);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n obj.emit1(SVM.CMPEQ); \n\n }\n break;\n case 7 :\n // FunEncoder.g:267:4: ^( LT expr expr )\n {\n match(input,LT,FOLLOW_LT_in_expr899); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expr_in_expr901);\n expr();\n\n state._fsp--;\n\n pushFollow(FOLLOW_expr_in_expr903);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n obj.emit1(SVM.CMPLT); \n\n }\n break;\n case 8 :\n // FunEncoder.g:269:4: ^( GT expr expr )\n {\n match(input,GT,FOLLOW_GT_in_expr916); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expr_in_expr918);\n expr();\n\n state._fsp--;\n\n pushFollow(FOLLOW_expr_in_expr920);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n obj.emit1(SVM.CMPGT); \n\n }\n break;\n case 9 :\n // FunEncoder.g:271:4: ^( PLUS expr expr )\n {\n match(input,PLUS,FOLLOW_PLUS_in_expr933); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expr_in_expr935);\n expr();\n\n state._fsp--;\n\n pushFollow(FOLLOW_expr_in_expr937);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n obj.emit1(SVM.ADD); \n\n }\n break;\n case 10 :\n // FunEncoder.g:273:4: ^( MINUS expr expr )\n {\n match(input,MINUS,FOLLOW_MINUS_in_expr950); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expr_in_expr952);\n expr();\n\n state._fsp--;\n\n pushFollow(FOLLOW_expr_in_expr954);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n obj.emit1(SVM.SUB); \n\n }\n break;\n case 11 :\n // FunEncoder.g:275:4: ^( TIMES expr expr )\n {\n match(input,TIMES,FOLLOW_TIMES_in_expr967); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expr_in_expr969);\n expr();\n\n state._fsp--;\n\n pushFollow(FOLLOW_expr_in_expr971);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n obj.emit1(SVM.MUL); \n\n }\n break;\n case 12 :\n // FunEncoder.g:277:4: ^( DIV expr expr )\n {\n match(input,DIV,FOLLOW_DIV_in_expr984); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expr_in_expr986);\n expr();\n\n state._fsp--;\n\n pushFollow(FOLLOW_expr_in_expr988);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n obj.emit1(SVM.DIV); \n\n }\n break;\n case 13 :\n // FunEncoder.g:279:4: ^( NOT expr )\n {\n match(input,NOT,FOLLOW_NOT_in_expr1001); \n\n match(input, Token.DOWN, null); \n pushFollow(FOLLOW_expr_in_expr1003);\n expr();\n\n state._fsp--;\n\n\n match(input, Token.UP, null); \n obj.emit1(SVM.INV); \n\n }\n break;\n case 14 :\n // FunEncoder.g:281:4: NOACTUAL\n {\n match(input,NOACTUAL,FOLLOW_NOACTUAL_in_expr1015); \n \n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "5a3c6fc6fbd48f49d8a8696f786ca2f9", "score": "0.43347543", "text": "public final void rule__ECapabilityDefinitionBody__Occurrences_endAssignment_5_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRMParser.g:17665:1: ( ( RULE_STRING ) )\n // InternalRMParser.g:17666:2: ( RULE_STRING )\n {\n // InternalRMParser.g:17666:2: ( RULE_STRING )\n // InternalRMParser.g:17667:3: RULE_STRING\n {\n before(grammarAccess.getECapabilityDefinitionBodyAccess().getOccurrences_endSTRINGTerminalRuleCall_5_4_0()); \n match(input,RULE_STRING,FOLLOW_2); \n after(grammarAccess.getECapabilityDefinitionBodyAccess().getOccurrences_endSTRINGTerminalRuleCall_5_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": "1277a7e311ff42b1905b33990e90f815", "score": "0.43329546", "text": "public void E() {\n\t\t\tgrammarStack.pop();\n\t\t\t\n\t\t\tif(codeStack.get(codeStack.size()-1).equals(\";\") || codeStack.get(codeStack.size()-1).equals(\")\") || codeStack.get(codeStack.size()-1).equals(\",\") || codeStack.get(codeStack.size()-1).equals(\"]\")) {\n\t\t\t\n\t\t\t}\n\t\t\t//term1 done\n\t\t\telse if(codeStack.get(codeStack.size()-1).equals(\"*\") || codeStack.get(codeStack.size()-1).equals(\"/\") || codeStack.get(codeStack.size()-1).equals(\"+\") || codeStack.get(codeStack.size()-1).equals(\"-\") && Error == false) {\n\t\t\t\tgrammarStack.add(\"T\");\n\t\t\t\tgrammarStack.add(\"additive-expression1\");\n\t\t\t\tgrammarStack.add(\"term1\");\n\t\t\t\tterm1();\n\t\t\t\tadditive_expression1();\n\t\t\t\tT();\n\t\t\t\t\n\t\t\t} else if(codeStack.get(codeStack.size()-1).equals(\"<\") || codeStack.get(codeStack.size()-1).equals(\">\") || codeStack.get(codeStack.size()-1).equals(\"==\") || codeStack.get(codeStack.size()-1).equals(\">=\") || codeStack.get(codeStack.size()-1).equals(\"<=\") || codeStack.get(codeStack.size()-1).equals(\"!=\")&& Error == false) {\n\t\t\t\tgrammarStack.add(\"T\");\n\t\t\t\tT();\n\t\t\t}else if(codeStack.get(codeStack.size()-1).equals(\"[\") && Error == false){\n\t\t\t\tcodeStack.pop();\n\t\t\t\tgrammarStack.add(\"G\");\n\t\t\t\tgrammarStack.add(\"]\");\n\t\t\t\tgrammarStack.add(\"expression\");\n\t\t\t\texpression();\n\t\t\t\t//checks for ]\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tif(codeStack.get(codeStack.size()-1).equals(grammarStack.get(grammarStack.size()-1)) && Error == false){\n\t\t\t\t\tcodeStack.pop();\n\t\t\t\t\tgrammarStack.pop();\n\t\t\t\t} else {\n\t\t\t\t\tError = true;\n\t\t\t\t}\n\t\t\t\tG();\n\t\t\t\t\n\t\t\t\t\n\t\t\t} //args\n\t\t\telse if(codeStack.get(codeStack.size()-1).equals(\"(\") && Error == false){\n\t\t\t\tcodeStack.pop();\n\t\t\t\tgrammarStack.add(\"T\");\n\t\t\t\tgrammarStack.add(\"additive-expression1\");\n\t\t\t\tgrammarStack.add(\"term1\");\n\t\t\t\tgrammarStack.add(\")\");\n\t\t\t\tgrammarStack.add(\"args\");\n\t\t\t\targs();\n\t\t\t\t//checks for )\n\t\t\t\tif(codeStack.get(codeStack.size()-1).equals(grammarStack.get(grammarStack.size()-1)) && Error == false){\n\t\t\t\t\tcodeStack.pop();\n\t\t\t\t\tgrammarStack.pop();\n\t\t\t\t} else {\n\t\t\t\t\tError = true;\n\t\t\t\t}\n\t\t\t\tterm1();\n\t\t\t\tadditive_expression1();\n\t\t\t\tT();\n\t\t\t//equals\n\t\t\t}else if(codeStack.get(codeStack.size()-1).equals(\"=\") && Error == false) {\n\t\t\t\tcodeStack.pop();\n\t\t\t\tgrammarStack.add(\"expression\");\n\t\t\t\texpression();\n\t\t\t}else {\n\t\t\t\t\n\t\t\t\tError = true;\n\t\t\t}\n\t\t\t\n\t\n\t\t}", "title": "" } ]
fb0afe36292ff0fcdf874e16d121c172
End of variables declaration//GENEND:variables
[ { "docid": "cbc2a4fb4d6560a7db544d242749b13a", "score": "0.0", "text": "private void gravar() throws ParseException, Exception {\n Membro m = new Membro();\n BMembro bMembro = new BMembro();\n Cidade c = new Cidade();\n Celula celula = new Celula();\n\n m.setNome(tfNome.getText());\n m.setEndereco(tfEndereco.getText());\n m.setBairro(tfBairro.getText());\n m.setCep(tfCEP.getText());\n c.setUf((String) cbUF.getSelectedItem());\n c.setCidade((String) cbCidade.getSelectedItem());\n m.setCidade(c);\n m.setTelefone(tfTelefone.getText());\n m.setCelular(tfCelular.getText());\n m.setEmail(tfEmail.getText());\n m.setCpf(tfCpf.getText());\n m.setRg(tfRg.getText());\n m.setPai(tfPai.getText());\n m.setMae(tfMae.getText());\n\n String dataNascimento = tfDataNascimento.getText();\n SimpleDateFormat formato = new SimpleDateFormat(\"dd/MM/yyyy\");\n java.util.Date dataNascimentoForm;\n dataNascimentoForm = formato.parse(dataNascimento);\n m.setNascimento(dataNascimentoForm);\n\n m.setEstadoCivil((String) cbEstadoCivil.getSelectedItem());\n\n String dataBatismo = tfDataNascimento.getText();\n java.util.Date dataBatismoForm = formato.parse(dataBatismo);\n m.setBatismoAgua(dataBatismoForm);\n\n m.setNomeMinistro(tfMinistro.getText());\n\n m.setCargo1(tfCargo1.getText());\n m.setCargo2(tfCargo2.getText());\n m.setCargo3(tfCargo3.getText());\n\n if (jLiderNao.isSelected()) {\n m.setLiderCelula(false);\n } else {\n m.setLiderCelula(true);\n }\n\n if (jLiderTreinamentoNao.isSelected()) {\n m.setLidertreinamento(false);\n } else {\n m.setLidertreinamento(true);\n }\n\n if (jAnfitriaoNao.isSelected()) {\n m.setAnfitriao(false);\n } else {\n m.setAnfitriao(true);\n }\n\n if (jPertenceNao.isSelected()) {\n m.setCelula(false);\n } else {\n m.setCelula(true);\n }\n\n// celula.setNome((String) cbCelula.getSelectedItem());\n// m.setNomeCelula(celula);\n if (jDiscipuladoNao.isSelected()) {\n m.setDiscipulado(false);\n } else {\n m.setDiscipulado(true);\n }\n m.setNomeDiscipulador(tfDiscipulador.getText());\n m.setObs(tfObs.getText());\n\n bMembro.gravar(m);\n JOptionPane.showMessageDialog(this, \"Cadastro realizado com sucesso!\");\n\n }", "title": "" } ]
[ { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6546449", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.6518652", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d2bb25c9512608650d5e25ed1f6e55ff", "score": "0.6304774", "text": "@Override\n\tprotected void initVariable() {\n\n\t}", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6161421", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "27e436f0a0c9200a542c73eabe9c3662", "score": "0.6080799", "text": "private void Met4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.6059548", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.6043481", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.6035261", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "ff231ae14151480462e77ab05b88eb7a", "score": "0.6016743", "text": "public void mo16989u() {\n }", "title": "" }, { "docid": "48b63de2548886473121db1e531f2684", "score": "0.6010738", "text": "@Override\n\tpublic void initVariable() {\n\n\t}", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.59029925", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "24f30370515bfcc6241bb76e6bfd35eb", "score": "0.5897358", "text": "public final void mo9279b() {\n }", "title": "" }, { "docid": "b27c88f80f467c66ed5615811de04d9c", "score": "0.58784544", "text": "private OooOO0O() {\n void var3_1;\n void var2_-1;\n void var1_-1;\n this.zone = var3_1;\n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.5855581", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "5af8c97a7b0debebb6952cd31afcac7b", "score": "0.5832108", "text": "public void mo7035c_() {\n }", "title": "" }, { "docid": "0584017cc50128958402ae40b3e27955", "score": "0.5828701", "text": "public final void mo57094b() {\n }", "title": "" }, { "docid": "e171672a3dd0517cabc8bfaa3ff2989c", "score": "0.5820401", "text": "public final void mo18108g() {\n }", "title": "" }, { "docid": "6c7ab970dd31065fb4a1366f24d09567", "score": "0.5815505", "text": "protected void func_82421_b()\n/* 54: */ {\n/* 55: 51 */ this.field_82423_g = new ModelHuman(1.0F);\n/* 56: 52 */ this.field_82425_h = new ModelHuman(0.5F);\n/* 57: */ }", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5796749", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5796749", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "c13ae19df69e3abfecf963fdcf9a29ee", "score": "0.5794597", "text": "@Override\n\tpublic void c12() {\n\t\t\n\t}", "title": "" }, { "docid": "0ee38c52cb2d5d129845f9da88415db2", "score": "0.57683253", "text": "@Override\n\tpublic void defs() {\n\t\t\n\t}", "title": "" }, { "docid": "f95915bf87d195500932036591341489", "score": "0.57661176", "text": "public final void mo27169a() {\n }", "title": "" }, { "docid": "cf9eccacb98a6d1d28638b4cc549d74b", "score": "0.5739299", "text": "public void mo3785d() {\n }", "title": "" }, { "docid": "cf9eccacb98a6d1d28638b4cc549d74b", "score": "0.5739299", "text": "public void mo3785d() {\n }", "title": "" }, { "docid": "c57f1ac14f2f0e46c1513c8a17bdd4ff", "score": "0.5733898", "text": "public void mo7951b() {\n }", "title": "" }, { "docid": "598681cc815af7b9f96d5d7ce97e7b20", "score": "0.5731672", "text": "public void mo5669b() {\n }", "title": "" }, { "docid": "d9428e1085d2eb5e513cb1077743dd36", "score": "0.5723517", "text": "private OooO00o$OooO0o() {\n void var2_-1;\n void var1_-1;\n }", "title": "" }, { "docid": "2d9907d0d874b33ec9899bf3c57a102b", "score": "0.5722938", "text": "public void mo3840a() {\n }", "title": "" }, { "docid": "4a4d6ca4f76cf550f30a1b3469c5c600", "score": "0.5722641", "text": "@Override\n\tpublic void heilen() {\n\n\t}", "title": "" }, { "docid": "4f391b2e01f27bc2f65330d496059f6e", "score": "0.5703601", "text": "public void mo67231z_() {\n }", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.5688327", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "7e23fc43c610d89098706b1cb6ee8fd5", "score": "0.56770724", "text": "public void vender( ){\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.567281", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.567281", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.567281", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "55d5edc707d5605e17fc846fa1dd6e68", "score": "0.5656067", "text": "public void mo23347c() {\n }", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.56443435", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.56366265", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "2f4beeb0d02e8f9ea9885eeb4c58fb2f", "score": "0.5633412", "text": "public void prijavaGosta()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "af6d94f1361adacab069ab8ef269a951", "score": "0.5628302", "text": "@Override\n\tpublic void p3() {\n\t\t\n\t}", "title": "" }, { "docid": "7f3d2fa2d252845723407257a9ffafe6", "score": "0.56281316", "text": "public void intit() {\n APELLIDOM = \"\";\n APELLIDOP = \"\";\n NOMBRES = \"\";\n\n }", "title": "" }, { "docid": "b21335651fee041596ce91a9107b8ac8", "score": "0.56206656", "text": "public int mo11162g_() {\n return 2;\n }", "title": "" }, { "docid": "281684aca52298cffd773cdcd5cef152", "score": "0.56164867", "text": "public void mo16156c() {\n }", "title": "" }, { "docid": "9d29f4bf3d8cc5a806c4a76de774968c", "score": "0.5614629", "text": "void mo306a() {\n }", "title": "" }, { "docid": "f3f8847ca98e16f4cd58d409d695d148", "score": "0.56080043", "text": "private zzr$zzan$zza() {\n void var3_1;\n void var2_-1;\n void var1_-1;\n this.zzi = var3_1;\n }", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.56054354", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "892e81ba33fe99f590f49f4fd7ed10a8", "score": "0.56046546", "text": "private void init() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "0f3d9248669a3367448b1c86c8269cba", "score": "0.55965984", "text": "public FinalVariables() {\n\t\tMODEL_3_MAX_SPEED=190;\n\t}", "title": "" }, { "docid": "f8978d93b84e5118882a4ff5e000e716", "score": "0.5595059", "text": "private void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c63a11bb1bf0acb98a99c66ee94527a7", "score": "0.55916756", "text": "@Override\r\n\tpublic void ispeci() {\n\r\n\t}", "title": "" }, { "docid": "c04e1693c791e5601b6d72a13641e7b1", "score": "0.55904776", "text": "@Override\n\tpublic void angriff() {\n\n\t}", "title": "" }, { "docid": "9c78dfd9e1a470b1bd008504d19d9197", "score": "0.5587476", "text": "protected void mo1958j() {\n }", "title": "" }, { "docid": "2aeba395baf0657c3be89d1bc982436b", "score": "0.558724", "text": "public void mo9877a(C1495b bVar) {\n }", "title": "" }, { "docid": "6a87e86118dcbb67fd1f73a8e9978c91", "score": "0.55771476", "text": "public void l_() {}", "title": "" }, { "docid": "8b0e6e12092cd8ce22574c3cd574c579", "score": "0.5575996", "text": "public void mo133630c() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.55679274", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.55679274", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "21437e32b17b6a2f6d8ca46baeae4c92", "score": "0.55661786", "text": "void mo18279cO();", "title": "" }, { "docid": "1dd8a199a60cbd32540bcb7fbf092c48", "score": "0.55575496", "text": "public void mo3994a() {\n }", "title": "" }, { "docid": "eb8af820e42c58def8f68959b174a532", "score": "0.55409104", "text": "public void mo23373a() {\n }", "title": "" }, { "docid": "506fa49fd41b507725c951085739bfba", "score": "0.5538517", "text": "protected boolean r_()\r\n/* 37: */ {\r\n/* 38: 61 */ return false;\r\n/* 39: */ }", "title": "" }, { "docid": "9b8d94120800074e25f9674e2e960bd0", "score": "0.5534194", "text": "@Override\n public void curar() {\n\n }", "title": "" }, { "docid": "74ce7e52d9f72d5136c87197c9b4cdd2", "score": "0.553124", "text": "public void mo16166l() {\n }", "title": "" }, { "docid": "8089533e52ad8a4a60191d2023f74402", "score": "0.55253917", "text": "public static void TB04 () {\n }", "title": "" }, { "docid": "1d117eadcdba9f8bb7df7cafe5348fb6", "score": "0.5523979", "text": "public void mo23378d() {\n }", "title": "" }, { "docid": "2308e7c467215549284b8a5a266bfda4", "score": "0.5512511", "text": "void mo1439b();", "title": "" }, { "docid": "9fd43a668572759a42f4c627d07ea5c6", "score": "0.5509479", "text": "public void mo23379e() {\n }", "title": "" }, { "docid": "3e2b6cecdab3b4495e39686fcb37522b", "score": "0.55074185", "text": "public void method_7608() {}", "title": "" }, { "docid": "ba00fbffda475132aff7edd952e6e066", "score": "0.55013484", "text": "protected void initVars() {}", "title": "" }, { "docid": "a624e4241c5b1635f56597b3ad9b90f2", "score": "0.5494327", "text": "@Override\n\tpublic void step3() {\n\t\t\n\t}", "title": "" }, { "docid": "5d97082ad890b2df7c126438819d2c54", "score": "0.5481568", "text": "private void envejecer() {\n\t\t\n\t}", "title": "" }, { "docid": "0fe66f7530c08e79afbab4fd8676e98b", "score": "0.5481112", "text": "public void onVariableDeclaration()\n {\n \t// TODO let end\n \t// function end\n \t// for index variable\n }", "title": "" }, { "docid": "5aaf62d07c3e7efed59734d0dd28964b", "score": "0.5475626", "text": "public void mo1957h() {\n }", "title": "" }, { "docid": "3207dcaa6322a2a59b6687b951ef91d7", "score": "0.5470717", "text": "@Override\n\tpublic void Damege() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5459357", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5459357", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5459357", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5459357", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "1d8a9fe901981619050d7be30d79a33e", "score": "0.5454163", "text": "public void mo3784c() {\n }", "title": "" }, { "docid": "1d8a9fe901981619050d7be30d79a33e", "score": "0.5454163", "text": "public void mo3784c() {\n }", "title": "" }, { "docid": "69b1247a4afd513b9853da385d6f2d24", "score": "0.5451756", "text": "@Override\n\tpublic void resta() {\n\t\t\n\t}", "title": "" }, { "docid": "7aa6963c647c1b2028e2058b152485e1", "score": "0.5449893", "text": "@Override\n\tpublic void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "ccde520bca72caa0d77ef1b117291759", "score": "0.5448794", "text": "@Override\r\n\tpublic void osmossis() {\n\r\n\t}", "title": "" }, { "docid": "24f5e9e5d90e7d3e2f30be6eeac46ab8", "score": "0.54451895", "text": "public void mo3786e() {\n }", "title": "" }, { "docid": "24f5e9e5d90e7d3e2f30be6eeac46ab8", "score": "0.54451895", "text": "public void mo3786e() {\n }", "title": "" }, { "docid": "1717024d52ad1ad5517c9f135ea71904", "score": "0.5442048", "text": "@Override\r\n\tprotected void initValue()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.5431033", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "4b8be03fcfaf93fabc413d72786e24e3", "score": "0.54305995", "text": "@Override\n\tpublic void fraccionesBasics() {\n\t\t\n\t}", "title": "" }, { "docid": "12e4e5f50efa3b03639a088547c059c0", "score": "0.5424852", "text": "void mo74846a(C34860g gVar);", "title": "" }, { "docid": "3d58a7b34ff7718a3b1945d88236d31b", "score": "0.54244685", "text": "protected boolean method_4161() {\r\n return true;\r\n }", "title": "" }, { "docid": "caac2238dbe1af06c6dbcb420bf97352", "score": "0.542271", "text": "public abstract void mo18268c();", "title": "" }, { "docid": "9293596216c60e2004e0a8cfb950ad0f", "score": "0.5422091", "text": "@Override\r\n\tpublic void pripremi() {\n\r\n\t}", "title": "" }, { "docid": "0f5a32129428fad3df0c3a52baf4a7f8", "score": "0.542192", "text": "public void mo4211m() {\n }", "title": "" }, { "docid": "df56e6cc416e6073db7fdb5304acd6e1", "score": "0.5420671", "text": "public void VARIABLE() {\n //<< ;-------------------------------------------------------------------------------\n //<< ; VARIABLE SICHERN ;safeguard\n //<< ;\n //<< ; %REQUEST =\"NAMESPACE.USER.FORM..0..YVARIABLE\" ;\n //<< ; %REQUEST(1) =\"VALUE\"\n //<< ; $P(%REQUEST,\".\",6) =FIXKEY (VALIDIERUNG MIT FIXVALID_FELDTYP)\n //<< ;\n //<< ; Returns: Nothing\n //<< ;\n //<< ; History:\n //<< ; 31-Jul-2012 shobby SR18075: Use new field for SPRACHE in initialise\n //<< ; 03-May-2010 GRF SR15961: use dteToday for efficiency\n //<< ; 05-Jan-2010 GRF SR15525: Call to $$Convert^WWWTR rather than $$^WWWTR;\n //<< ; Activate AdjustCurrencyAmount\n //<< ; 23-Jan-2007 JW SR15384: Encapsulated functionality\n //<< ; 16-Mar-2007 GRF SR12505: naked references\n //<< ; 28-Oct-2005 JW SR13074: Call AdjustCurrencyAmount\n //<< ; 10-Jun-2005 PO SR12050: Allowing header to be in base while grid is in FC\n //<< ;-------------------------------------------------------------------------------\n //<< new YFKEY,YKEY,YUSER,YFORM,YDATEI,YFELD,YSATZ,YINHALT,YBED,YVAR,YART,YDATA,YPR,YPR1,YOLDV\n mVar YFKEY = m$.var(\"YFKEY\");\n mVar YKEY = m$.var(\"YKEY\");\n mVar YUSER = m$.var(\"YUSER\");\n mVar YFORM = m$.var(\"YFORM\");\n mVar YDATEI = m$.var(\"YDATEI\");\n mVar YFELD = m$.var(\"YFELD\");\n mVar YSATZ = m$.var(\"YSATZ\");\n mVar YINHALT = m$.var(\"YINHALT\");\n mVar YBED = m$.var(\"YBED\");\n mVar YVAR = m$.var(\"YVAR\");\n mVar YART = m$.var(\"YART\");\n mVar YDATA = m$.var(\"YDATA\");\n mVar YPR = m$.var(\"YPR\");\n mVar YPR1 = m$.var(\"YPR1\");\n mVar YOLDV = m$.var(\"YOLDV\");\n m$.newVar(YFKEY,YKEY,YUSER,YFORM,YDATEI,YFELD,YSATZ,YINHALT,YBED,YVAR,YART,YDATA,YPR,YPR1,YOLDV);\n //<< new dteToday,strStored\n mVar dteToday = m$.var(\"dteToday\");\n mVar strStored = m$.var(\"strStored\");\n m$.newVar(dteToday,strStored);\n //<< \n //<< set YKEY = \"\"\n YKEY.set(\"\");\n //<< set YSATZ = \"\"\n YSATZ.set(\"\");\n //<< \n //<< do SplitRequest(.%REQUEST,.YINHALT,,.YUSER,.YFORM,,,.YFKEY,.YVAR)\n m$.Cmd.Do(\"SplitRequest\",m$.var(\"%REQUEST\"),YINHALT,null,YUSER,YFORM,null,null,YFKEY,YVAR);\n //<< do Initialise(YUSER,.%REQUEST) ;SR18075\n m$.Cmd.Do(\"Initialise\",YUSER.get(),m$.var(\"%REQUEST\"));\n //<< quit:$extract(%TXT(1))=$$$AlertFollowing ; *** EARLY QUIT - bad user\n if (mOp.Equal(m$.Fnc.$extract(m$.var(\"%TXT\",1).get()),include.COMSYS.$$$AlertFollowing(m$))) {\n return;\n }\n //<< quit:(YFORM=\"\")||(YVAR=\"\")\n if ((mOp.Equal(YFORM.get(),\"\")) || (mOp.Equal(YVAR.get(),\"\"))) {\n return;\n }\n //<< \n //<< set dteToday = +$horolog ; SR15961\n dteToday.set(mOp.Positive(m$.Fnc.$horolog()));\n //<< set YOLDV = $get(^WWWDATEN(0,dteToday,YUSER,YFORM,\"V\",YVAR,1))\n YOLDV.set(m$.Fnc.$get(m$.var(\"^WWWDATEN\",0,dteToday.get(),YUSER.get(),YFORM.get(),\"V\",YVAR.get(),1)));\n //<< \n //<< if '(($extract(YFKEY,6,99)=$$$FLDCurrency) && ($get(^CacheTemp(YUSER,$get(^CacheTemp(YUSER,\"Grid\",\"Container\"),\" \"),\"Toggles\",\"Currency\"))=\"Foreign\")) {\n if (mOp.Not(((mOp.Equal(m$.Fnc.$extract(YFKEY.get(),6,99),include.COMSYSWWW.$$$FLDCurrency(m$))) && (mOp.Equal(m$.Fnc.$get(m$.var(\"^CacheTemp\",YUSER.get(),m$.Fnc.$get(m$.var(\"^CacheTemp\",YUSER.get(),\"Grid\",\"Container\"),\" \"),\"Toggles\",\"Currency\")),\"Foreign\"))))) {\n //<< set ^WWWDATEN(0,dteToday,YUSER,YFORM,\"V\",YVAR,1)=YINHALT ;DATEN ZUR PRUEFUNG\n m$.var(\"^WWWDATEN\",0,dteToday.get(),YUSER.get(),YFORM.get(),\"V\",YVAR.get(),1).set(YINHALT.get());\n }\n //<< \n //<< } else {\n else {\n //<< new curFCAmount,curBase1,curForeign1,strCurrency1,fltRate1,curBase2,curForeign2,strCurrency2,fltRate2\n mVar curFCAmount = m$.var(\"curFCAmount\");\n mVar curBase1 = m$.var(\"curBase1\");\n mVar curForeign1 = m$.var(\"curForeign1\");\n mVar strCurrency1 = m$.var(\"strCurrency1\");\n mVar fltRate1 = m$.var(\"fltRate1\");\n mVar curBase2 = m$.var(\"curBase2\");\n mVar curForeign2 = m$.var(\"curForeign2\");\n mVar strCurrency2 = m$.var(\"strCurrency2\");\n mVar fltRate2 = m$.var(\"fltRate2\");\n m$.newVar(curFCAmount,curBase1,curForeign1,strCurrency1,fltRate1,curBase2,curForeign2,strCurrency2,fltRate2);\n //<< \n //<< if +YINHALT=0 { ; JW fixed\n if (mOp.Equal(mOp.Positive(YINHALT.get()),0)) {\n //<< if YINHALT'=\"\" set YINHALT=0\n if (mOp.NotEqual(YINHALT.get(),\"\")) {\n YINHALT.set(0);\n }\n //<< set ^WWWDATEN(0,dteToday,YUSER,YFORM,\"V\",YVAR,1)=YINHALT\n m$.var(\"^WWWDATEN\",0,dteToday.get(),YUSER.get(),YFORM.get(),\"V\",YVAR.get(),1).set(YINHALT.get());\n }\n //<< } else {\n else {\n //<< do Split^WWWTR($get(^WWWDATEN(0,dteToday,YUSER,YFORM,\"V\",YVAR,1)),.curBase1,.curForeign1,.strCurrency1,.fltRate1)\n m$.Cmd.Do(\"WWWTR.Split\",m$.Fnc.$get(m$.var(\"^WWWDATEN\",0,dteToday.get(),YUSER.get(),YFORM.get(),\"V\",YVAR.get(),1)),curBase1,curForeign1,strCurrency1,fltRate1);\n //<< if YINHALT[\"@\" {\n if (mOp.Contains(YINHALT.get(),\"@\")) {\n //<< set curFCAmount = $$GetInternal^WWWTR($$$FLDCurrency,YINHALT)\n curFCAmount.set(m$.fnc$(\"WWWTR.GetInternal\",include.COMSYSWWW.$$$FLDCurrency(m$),YINHALT.get()));\n }\n //<< } else {\n else {\n //<< set curFCAmount = $$GetInternal^WWWTR($$$FLDCurrency,$get(^CacheTemp(YUSER,$get(^CacheTemp(YUSER,\"Grid\",\"Container\"),\" \"),\"Display Currency\"))_YINHALT_\"@\"_fltRate1)\n curFCAmount.set(m$.fnc$(\"WWWTR.GetInternal\",include.COMSYSWWW.$$$FLDCurrency(m$),mOp.Concat(mOp.Concat(mOp.Concat(m$.Fnc.$get(m$.var(\"^CacheTemp\",YUSER.get(),m$.Fnc.$get(m$.var(\"^CacheTemp\",YUSER.get(),\"Grid\",\"Container\"),\" \"),\"Display Currency\")),YINHALT.get()),\"@\"),fltRate1.get())));\n }\n //<< }\n //<< do Split^WWWTR(curFCAmount,.curBase2,.curForeign2,.strCurrency2,.fltRate2)\n m$.Cmd.Do(\"WWWTR.Split\",curFCAmount.get(),curBase2,curForeign2,strCurrency2,fltRate2);\n //<< ; if '((curForeign1=curForeign2)&&(fltRate1=fltRate2)) {\n //<< if (curForeign1'=curForeign2) || (fltRate1'=fltRate2) {\n if ((mOp.NotEqual(curForeign1.get(),curForeign2.get())) || (mOp.NotEqual(fltRate1.get(),fltRate2.get()))) {\n //<< set ^WWWDATEN(0,dteToday,YUSER,YFORM,\"V\",YVAR,1) = curFCAmount\n m$.var(\"^WWWDATEN\",0,dteToday.get(),YUSER.get(),YFORM.get(),\"V\",YVAR.get(),1).set(curFCAmount.get());\n }\n }\n }\n //<< }\n //<< }\n //<< }\n //<< \n //<< if $extract(YFKEY,1,5)=\"VALID\" do ;RÜCKGABE FORMATIEREN ;format\n if (mOp.Equal(m$.Fnc.$extract(YFKEY.get(),1,5),\"VALID\")) {\n //<< . new YTYP\n mVar YTYP = m$.var(\"YTYP\");\n m$.newVarBlock(1,YTYP);\n //<< . set YTYP = $extract(YFKEY,6,99) ;FELDTYP\n YTYP.set(m$.Fnc.$extract(YFKEY.get(),6,99));\n //<< . if +YTYP'=0 do\n if (mOp.NotEqual(mOp.Positive(YTYP.get()),0)) {\n //<< . . if YTYP=$$$FLDNumeric set YINHALT = $justify(YINHALT,0,0) ; NUR GANZE ZAHLEN ;only\n if (mOp.Equal(YTYP.get(),include.COMSYSWWW.$$$FLDNumeric(m$))) {\n YINHALT.set(m$.Fnc.$justify(YINHALT.get(),0,0));\n }\n //<< . . if YTYP=$$$FLDDate do ; Date\n if (mOp.Equal(YTYP.get(),include.COMSYSWWW.$$$FLDDate(m$))) {\n //<< . . . set strStored = $$TranslateDate^WWWFieldRules(.YINHALT) ; %TXT(1) may be set\n strStored.set(m$.fnc$(\"WWWFieldRules.TranslateDate\",YINHALT));\n //<< . . . if +$$^WWWDATE1(strStored)=0 set YINHALT=\"\" ; NUR GÜLTIGES DATUM ;only Date\n if (mOp.Equal(mOp.Positive(m$.fnc$(\"WWWDATE1.main\",strStored.get())),0)) {\n YINHALT.set(\"\");\n }\n }\n //<< . . ;\n //<< . . if ($get(^CacheTemp(YUSER,\"Grid\",\"Name\")) = YFORM) set YDECIMALLEN = 9 ; SR11824 Set decimal points for Grid. (used by WWWTR)\n if ((mOp.Equal(m$.Fnc.$get(m$.var(\"^CacheTemp\",YUSER.get(),\"Grid\",\"Name\")),YFORM.get()))) {\n mVar YDECIMALLEN = m$.var(\"YDECIMALLEN\");\n YDECIMALLEN.set(9);\n }\n //<< . . if YTYP=$$$FLDCurrency do AdjustCurrencyAmount(.YINHALT,$get(YDECIMAL))\n if (mOp.Equal(YTYP.get(),include.COMSYSWWW.$$$FLDCurrency(m$))) {\n m$.Cmd.Do(\"AdjustCurrencyAmount\",YINHALT,m$.Fnc.$get(m$.var(\"YDECIMAL\")));\n }\n //<< . . ;\n //<< . . set YINHALT = $$GetInternal^WWWTR(YTYP,YINHALT)\n YINHALT.set(m$.fnc$(\"WWWTR.GetInternal\",YTYP.get(),YINHALT.get()));\n //<< . . if '((YTYP=$$$FLDCurrency) && ($get(^CacheTemp(YUSER,$get(^CacheTemp(YUSER,\"Grid\",\"Container\"),\" \"),\"Toggles\",\"Currency\"))=\"Foreign\")) do\n if (mOp.Not(((mOp.Equal(YTYP.get(),include.COMSYSWWW.$$$FLDCurrency(m$))) && (mOp.Equal(m$.Fnc.$get(m$.var(\"^CacheTemp\",YUSER.get(),m$.Fnc.$get(m$.var(\"^CacheTemp\",YUSER.get(),\"Grid\",\"Container\"),\" \"),\"Toggles\",\"Currency\")),\"Foreign\"))))) {\n //<< . . . set ^WWWDATEN(0,dteToday,YUSER,YFORM,\"V\",YVAR,1) = YINHALT\n m$.var(\"^WWWDATEN\",0,dteToday.get(),YUSER.get(),YFORM.get(),\"V\",YVAR.get(),1).set(YINHALT.get());\n }\n //<< . . set YINHALT = $$GetLiteral^WWWTR(YTYP,YINHALT) ;ANZEIGEFORMAT\n YINHALT.set(m$.fnc$(\"WWWTR.GetLiteral\",YTYP.get(),YINHALT.get()));\n }\n //<< . ;\n //<< . set %TXT(1) = $$$Perform_YVAR_\"~\"_YINHALT\n m$.var(\"%TXT\",1).set(mOp.Concat(mOp.Concat(mOp.Concat(include.COMSYS.$$$Perform(m$),YVAR.get()),\"~\"),YINHALT.get()));\n }\n m$.restoreVarBlock(1);\n //<< \n //<< quit\n return;\n }", "title": "" }, { "docid": "8856648a24eed8059f46d9b9d5d02b33", "score": "0.54115367", "text": "public void mo1048f() {\n }", "title": "" }, { "docid": "5d701f9c64dc04c79cd2254157c5148f", "score": "0.54108125", "text": "private void writeExpInformation() {\n\t\t\n\t}", "title": "" }, { "docid": "c51ec8638b1f4b533612e39b479f98fc", "score": "0.54101485", "text": "public void method_8628() {\r\n super.method_8628();\r\n this.field_8268 = \"\";\r\n }", "title": "" }, { "docid": "f2b0e20cc959024f21173c16e77430c4", "score": "0.5401833", "text": "@Override\n\tpublic void deneme() {\n\t\t\n\t}", "title": "" }, { "docid": "35259e9a2e08049dc10f899bc56b5d5c", "score": "0.5398902", "text": "public void method_3856() {\r\n class_779 var2;\r\n label24: {\r\n super.method_3856();\r\n String[] var1 = class_752.method_4253();\r\n ahb var10000 = this.field_2990;\r\n if(var1 != null) {\r\n if(this.field_2990.field_1832) {\r\n return;\r\n }\r\n\r\n var2 = this;\r\n if(var1 == null) {\r\n break label24;\r\n }\r\n\r\n var10000 = this.field_2990;\r\n }\r\n\r\n if(var10000.field_1818 != class_918.field_4627) {\r\n return;\r\n }\r\n\r\n var2 = this;\r\n }\r\n\r\n var2.method_3851();\r\n }", "title": "" }, { "docid": "caa284675ddb63c64b3920772d6e0bd4", "score": "0.5395299", "text": "public void assignVariables() {\n }", "title": "" } ]
adddffd062d1c1fe508fced34711ea78
write the new contents at the end of existing file and add closing brace to class
[ { "docid": "64c1f9857a7f138119b89f8c5d5a148e", "score": "0.0", "text": "private void writeContents(String path) {\n\t\ttry {\n\t\t\tBufferedWriter out = new BufferedWriter(new FileWriter(path));\n\t\t\tout.write(result);\n\t\t\tout.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "b8fb9554ebc4c7a2decf766b4d448cd5", "score": "0.61004287", "text": "public void writeFileContents() {\n\t\t//will fill in later in the project\n\t}", "title": "" }, { "docid": "9844e3571d2843a2f68753b9e74a8c43", "score": "0.60000205", "text": "private void writeJavaClass() {\n try {\n File sourceFile = new File((getLocationName() + \".java\"));\n verbose(\"Write collector class to '\" + sourceFile.getAbsolutePath() + \"'\");\n \n if (sourceFile.exists() && !sourceFile.delete()) {\n throw new IOException(\"could not delete \" + sourceFile);\n }\n writer = new BufferedWriter(new FileWriter(sourceFile));\n \n createClassHeader();\n createSuiteMethod();\n createClassFooter();\n \n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n FileUtils.close(writer);\n }\n }", "title": "" }, { "docid": "cafbe04ff99625fab59543d9df6bbd86", "score": "0.5849608", "text": "public void close(@Nullable PsiClass currentClass) {\n try {\n stringBuilder.append(TemplateUtil.appendLast()); // Close table tag\n stringBuilder.append(TemplateUtil.allClasses(currentClass));\n stringBuilder.append(TemplateUtil.footer());\n if (fileWriter != null) {\n fileWriter.write(MarkdownParser.parse(stringBuilder.toString()));\n fileWriter.close();\n }\n stringBuilder.setLength(0);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "858176e5e9a923f12bf77a180eed8c4b", "score": "0.570526", "text": "public void writeFile() {\n\t\tTactFileUtils.stringBufferToFile(this.buffer, this.file);\n\t}", "title": "" }, { "docid": "c72cb5ee1309262caae310b607365ad6", "score": "0.56277996", "text": "public void write() {\n\t\tFileWriter fw = null;\n\t\ttry {\n\t\t\tfw = new FileWriter(this);\n// // \t\t\tfw.write(comment+range+\"\\n\");\n// \t\t\tfw.write(comment+\"\\n\");\n// // \t\t\tfw.write(\">\" + entry.getFilename() + \"_\" + range.getStart() + \"-\" + range.getStop() + \"\\n\");\n// \t\t\tfw.write(seq.charAt(0));\n// \t\t\tfor (int i = 1; i < seq.length(); i++) {\n// \t\t\t\tfw.write(seq.charAt(i));\n// \t\t\t\tif (i%60 == 0) { fw.write(\"\\n\"); }\n// \t\t\t}\n// // \t\t\tfw.write(seq);\n\t\t\tif (ranges == null) {\n\t\t\t\twriteRoutine(fw, comment, seq);\n\t\t\t} else {\n\t\t\t\tint len = ranges.size();\n\t\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\t\twriteRoutine(fw, ((String)comments.elementAt(i)), ((String)seqs.elementAt(i)));\n\t\t\t\t\tfw.write(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tfw.flush();\n\t\t\tfw.close();\n\t\t} catch (IOException ioe) { System.out.println(ioe); }\n\t}", "title": "" }, { "docid": "8eb5f5f1acd8c429497545aff0be0489", "score": "0.5613223", "text": "private void writeEnd()\n {\n }", "title": "" }, { "docid": "0c899c17fb79ee12e515397f70896a78", "score": "0.55752337", "text": "private static void writeNewFile(Path file, String contents) {\n try {\n Files.write(file, Collections.singleton(contents), StandardOpenOption.CREATE_NEW);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "677a0735e29389aeeeab0064b9aabab0", "score": "0.5556529", "text": "@Override\r\n\tpublic void creatNewFile() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1dee825cf60ef1ad4d825ccc72bfd70b", "score": "0.5547223", "text": "private void writeClassTrailer(final PrintWriter writer)\r\n\t{\r\n\t\twriter.println(\"}\");\r\n\t}", "title": "" }, { "docid": "6fbc64a7af88ef8002961ac91d2e9aab", "score": "0.55150515", "text": "public void flushFile(Class<?> cn) throws IOException {\n log.info(Constants.BAD_FILE);\n log.info(Constants.FLUSH_FILE);\n FileWriter file = new FileWriter(getPath(cn));\n file.flush();\n }", "title": "" }, { "docid": "d2f4321c21fac8fbfb2ccd7ed5a6dd26", "score": "0.5494884", "text": "public void write() {\n try {\n write(new FileWriter(filename));\n } catch (Exception ex) {\n Log.error(ex);\n }\n }", "title": "" }, { "docid": "bf51f1d1c1e19e21ad0cd52467dd47bb", "score": "0.54546434", "text": "@Override\r\n\tpublic void writeToFile() {\n\r\n\t}", "title": "" }, { "docid": "2eaa67b109ebd01c93f106cae7876cf5", "score": "0.53971577", "text": "@Override\n public void writeFile(File dir) throws IOException{\n \n Writer writerf = new BufferedWriter(\n new FileWriter(\n new File(dir,fname+\".top\")\n )\n );\n writerf.write(writer.toString());\n writerf.close();\n }", "title": "" }, { "docid": "e347d780f860a4c6282a4836d1907a37", "score": "0.53802353", "text": "@Override\n\tpublic void printLineToFile() {\n\n\t}", "title": "" }, { "docid": "7af1096955d494a5ca9361e67c25344d", "score": "0.5371707", "text": "private void writeTo(RandomAccessFile file) throws IOException {\n\t\t\tfile.seek(offsetInFile);\n\t\t\tfile.writeLong(lastValue);\n\t\t\tfile.writeLong(lastUpdate);\n\t\t\tfile.writeInt(mode);\n\t\t\tfile.write(name.getBytes(\"UTF-8\"));\n\t\t\tfile.writeByte(0);\n\t\t}", "title": "" }, { "docid": "63b7ae91c75a454812ccda80099fca36", "score": "0.5360519", "text": "@Override\r\n public FileVisitResult visitFile(Path file, BasicFileAttributes attr) {\r\n \tenv.write(file.getFileName().toString().indent(level*2));\r\n \t\r\n \treturn FileVisitResult.CONTINUE;\r\n }", "title": "" }, { "docid": "8cd87cba1afd024e6315cb50a65e7f90", "score": "0.53509", "text": "void reWriteWholeFile(){\n WriteFile.clearInfo(\"history/financialProducts/BondProducts.txt\");\n WriteFile.clearInfo(\"history/financialProducts/GICProducts.txt\");\n WriteFile.clearInfo(\"history/financialProducts/LoanProducts.txt\");\n for (FinancialProduct product: Users.getUsers().getFinancialProducts()){\n product.writeFile();\n }\n }", "title": "" }, { "docid": "7967d7c70a788d4f273f9e8289be6ce6", "score": "0.5347811", "text": "public String endOfFile() {\n return \"return 1;\\n}\";\n }", "title": "" }, { "docid": "34ca46d7fc5f6668a4728576d3dd64cb", "score": "0.53410584", "text": "public final void write() throws IOException {\r\n\t\t/*\r\n\t\t * ArrayList不为空表和null的时候才执行写操作\r\n\t\t */\r\n\t\tif (!Objects.equals(sonList, null)) {\r\n\t\t\tif (!sonList.isEmpty())\r\n\t\t\t\tthis.writeSonList();\r\n\t\t}\r\n\r\n\t\tif (!Objects.equals(selfList, null))\r\n\t\t\tif (!selfList.isEmpty())\r\n\t\t\t\tthis.writeSelfList();\r\n\r\n\t\tif (!Objects.equals(fatherList, null))\r\n\t\t\tif (!fatherList.isEmpty())\r\n\t\t\t\tthis.writeFatherList();\r\n\r\n\t\tif (!Objects.equals(grandPaList, null))\r\n\t\t\tif (!grandPaList.isEmpty())\r\n\t\t\t\tthis.writeGrandPaList();\r\n\r\n\t\t// 文件名中的ID。每写完一次数据,就让该类域的值+1;\r\n\t\tXmlWriter.ID++;\r\n\t}", "title": "" }, { "docid": "42d0fe04c76911774f99926eb5681e69", "score": "0.5301103", "text": "private void writeBasicFile(String filename, returnClass input ) {\n\t\ttry {\n \t\n BufferedWriter w = new BufferedWriter((new FileWriter(filename)));\n String temp =\"\";//\"unique,\"+BOW.bag.get(0);\n /* for(int i=1;i<BOW.bag.size();i++) {\n \ttemp = temp +\",\"+BOW.bag.get(i);\n }*/ temp = \"post\";\n temp=temp+\" , subreddit\";\n w.write(temp);\n w.newLine();\n w.flush();\n for(int i =0;i< input.post.size();i++) {\n w.write(input.post.get(i)+\",\" +input.subreddit.get(i));\n w.newLine();\n w.flush();\n }\n w.close();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "4dfc9dba46434514a58af2f5df98dd07", "score": "0.52980936", "text": "public void endNode(Parse obj) throws IOException\r\n {\n\r\n indentation(obj);\r\n out.write(\"</\"+obj.getStrTag()+\">\\n\");\r\n out.flush();\r\n }", "title": "" }, { "docid": "e744b4b913efffa8455c744cece2f450", "score": "0.5272701", "text": "public void WriteLatexFoot(){\n\t\tlatex_file_io.format(\"\\n\\n\\\\end{document}\");\n\t\tlatex_file_io.close();\n\t}", "title": "" }, { "docid": "26058b2914a0ef68e484ea132ae28467", "score": "0.52579015", "text": "private void writeFile()\r\n\t{\r\n\t\tFileWriter fileWriter = null;\r\n\t\tString str;\r\n\t\ttry {\r\n\t\t\tFile file = path.toFile();\r\n\t\t\t//Creates the file.\r\n\t\t\tfile.createNewFile();\r\n\t\t\tfileWriter= new FileWriter(file);\r\n\t\t\t//For each student creates a string and writes to the file.\r\n\t\t\tfor (Student s : sList_0)\r\n\t\t\t{\r\n\t\t\t\tstr= s.toString();\r\n\t\t\t\tfileWriter.write(str.substring(0,str.length()-1)+\"\\n\");\r\n\t\t\t}\r\n\r\n\t\t} catch (IOException ioe) {\r\n\t\t\tioe.printStackTrace();\r\n\t\t}\r\n\t\tfinally\r\n\t\t{ \r\n\t\t\ttry{\r\n\t\t\t\tif(fileWriter!=null)\r\n\t\t\t\t\tfileWriter.close();\r\n\t\t\t}catch(Exception ex){\r\n\t\t\t\tSystem.out.println(\"Error in closing the FileWriter\"+ex);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ed1b3672f76e9fc5232a47a46f03f6d1", "score": "0.522128", "text": "@Override\n public void runEnd() {\n fileWriter.closeAllUsedFiles();\n }", "title": "" }, { "docid": "6d7b123f0a60a1af98ba77b436540672", "score": "0.5156687", "text": "@Override\n\tpublic void close() throws IOException {\n\t\ttry {\n\t\t\tif (this.changeSetStarted) {\n\t\t\t\tthis.writer.writeCharacters(\"\\n\\t\");\n\t\t\t\tthis.writer.writeEndElement();\n\t\t\t\tthis.changeSetStarted = false;\n\t\t\t}\n\n\t\t\tthis.writer.writeCharacters(\"\\n\");\n\t\t\tthis.writer.writeEndElement();\n\t\t\tthis.writer.writeEndDocument();\n\t\t\tthis.writer.close();\n\n\t\t\tif (this.outputStream != null) {\n\t\t\t\tthis.outputStream.close();\n\t\t\t}\n\t\t} catch (final XMLStreamException e) {\n\t\t\tthrow new IOException(e);\n\t\t}\n\t}", "title": "" }, { "docid": "434a6dab5b58e8cb78b5bbec7764d191", "score": "0.51544213", "text": "private void commitToFile() {\n\t\tFManger.write(Students.get(0).getStudentData(), studentFileName, false);\n\t\tfor (int i = 1; i < Students.size(); i++) {\n\t\t\tFManger.write(Students.get(i).getStudentData(), studentFileName, true);\n\t\t}\n\n\t}", "title": "" }, { "docid": "913fefc38853beaa97f11e6271819928", "score": "0.51512396", "text": "public void newLine() throws IOException { }", "title": "" }, { "docid": "75bbf923155372e5c79c07f6c0accebb", "score": "0.51496416", "text": "public void writeToFile() {\n // Set .asm file-extension\n String p = (filePath.endsWith(File.separator)) ? filePath : filePath + File.separator;\n String n = (fileName.endsWith(\".asm\")) ? fileName : fileName + \".asm\";\n String outputFilename = p + n;\n\n try (BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(outputFilename))) {\n for (String command : translatedCommands) {\n bufferedWriter.append(command.trim());\n bufferedWriter.append(System.lineSeparator());\n }\n }\n catch (IOException ex) { \n System.out.println(\"[Error] Writing to .asm file failed.\");\n System.exit(-1);\n }\n }", "title": "" }, { "docid": "40af51710f8835016ceaa68865e83f10", "score": "0.51254356", "text": "public void write() throws ClassNotFoundException, IOException;", "title": "" }, { "docid": "b2bedb892834bcbb58a23f99aa43abff", "score": "0.512414", "text": "public void saveChanges() {\n try {\n if (FILE.exists()){\n if (!FILE.delete() || !FILE.createNewFile()){\n return;\n }\n }\n BufferedWriter bw = new BufferedWriter(new FileWriter(FILE));\n bw.write(FIRST_LINE);\n for (Membership item : data) {\n bw.write(String.format(\"%08d,%s,%s,%s,%s,%d,%s,%d\\r\",\n item.getMembershipID(),\n item.getFirstName(),\n item.getLastName(),\n item.getEmail(),\n item.getPhone(),\n item.getStampCount(),\n item.getPassword(),\n item.getAutoPay()));\n }\n bw.close();\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "16cb6988e55668031839af7738761831", "score": "0.51225007", "text": "@Override\n\tprotected void fin() {\n\t}", "title": "" }, { "docid": "738bcb308291f2b7f4ea670c30fcb202", "score": "0.5118984", "text": "public void openToWrite(char start, char current) throws IOException {\n File file = new File(\"/mnt/Engineering/NetBeansProjects/Work/KompressorTool/out/\"+start+\"_\"+current);\n if(!file.exists()){\n file.createNewFile();\n }\n writer = new PrintWriter(file);\n }", "title": "" }, { "docid": "8ae07100258e261f46b0b5ceb5f525b2", "score": "0.50799745", "text": "public abstract void writeFile();", "title": "" }, { "docid": "9922a2ffaf4d72ed9b000cb9f5dbdb69", "score": "0.50788665", "text": "private static void writeTo(String content, File file) {\n\t\ttry {\n\t\t\tfile.createNewFile();\n\t\t\tFileWriter myWriter = new FileWriter(file);\n\t\t\tmyWriter.write(ModelMetricEvaluation.CSV_COLUMN_HEADER + \"\\n\");\n\t\t\tmyWriter.write(content);\n\t\t\tmyWriter.close();\n\t\t\tSystem.out.println(\"Successfully wrote to the file.\");\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"An error occurred.\");\n\t\t}\n\t}", "title": "" }, { "docid": "7c6a3a036af0674f21999d97fa6e8592", "score": "0.50711876", "text": "public void writeFirst(PsiClass aClass) {\n stringBuilder.append(TemplateUtil.appendFirst(aClass));\n }", "title": "" }, { "docid": "3c23260e18d413829ff190e761c1847d", "score": "0.5062318", "text": "public void writeCollectedFile() {\r\n\t\tFile targetFile = nextFile();\r\n\r\n\t\ttry {\r\n\t\t\tFileWriter outFile = new FileWriter(targetFile);\r\n\t\t\tPrintWriter out = new PrintWriter(outFile);\r\n\r\n\t\t\t// output header\r\n\t\t\tout.print(\"\\\"WHEN\\\"\");\r\n\t\t\tint index = 0;\r\n\t\t\tfor (String str : this.getDataRequested()) {\r\n\t\t\t\tString str2;\r\n\t\t\t\t\r\n\t\t\t\t// strip off [ if needed\r\n\t\t\t\tint ix = str.indexOf('[');\r\n\t\t\t\tif (ix != -1) {\r\n\t\t\t\t\tstr2 = str.substring(0, ix).trim();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstr2 = str;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tint c = getDataCount().get(index++);\r\n\t\t\t\tif (c <= 1) {\r\n\t\t\t\t\tout.print(\",\\\"\" + str2 + \"\\\"\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tfor (int i = 0; i < c; i++) {\t\t\t\t\t\t\r\n\t\t\t\t\t\tout.print(\",\\\"\" + str2 + \"-b\" + i + \"\\\"\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tout.println();\r\n\r\n\t\t\t// output data\r\n\r\n\t\t\tfor (Long key : holder.getSorted()) {\r\n\t\t\t\tString str = holder.getData().get(key);\r\n\t\t\t\tout.println(key + \",\" + str);\r\n\t\t\t}\r\n\r\n\t\t\tout.close();\r\n\t\t} catch (IOException ex) {\r\n\t\t\tthrow new EncogError(ex);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "635fe242d0303dab17bc825e469b2261", "score": "0.50355625", "text": "public void endLogFile() {\n\t\tif (currentLogFile == null && currentLogFile.equals(\"\") == false)\n\t\t\treturn;\n\n\t\ttry {\n\t\t\tFileWriter fileWritter = new FileWriter(currentLogFile, true);\n\t\t\tBufferedWriter bufferWritter = new BufferedWriter(fileWritter);\n\t\t\tbufferWritter.write(\"\\n\\r</root>\");\n\t\t\tbufferWritter.close();\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\n\t}", "title": "" }, { "docid": "5a3825227b6c9322a0c645bf9bd2f736", "score": "0.5034725", "text": "private void handleClass(SootClass c) {\n FileOutputStream streamOut = null;\n PrintWriter writerOut = null;\n \n if (Options.v().output_format() == Options.output_format_dava) {\n G.v().out.print(\"Decompiling \");\n } else {\n G.v().out.print(\"Transforming \");\n }\n G.v().out.print(c.getName() + \"... \");\n G.v().out.flush();\n \n boolean produceBaf = false, produceGrimp = false, produceDava = false;\n \n switch (Options.v().output_format()) {\n case Options.output_format_none :\n break;\n case Options.output_format_jimple :\n case Options.output_format_jimp :\n break;\n case Options.output_format_dava :\n produceDava = true;\n case Options.output_format_grimp :\n case Options.output_format_grimple :\n produceGrimp = true;\n break;\n case Options.output_format_baf :\n case Options.output_format_b :\n produceBaf = true;\n break;\n case Options.output_format_xml :\n break;\n case Options.output_format_jasmin :\n case Options.output_format_class :\n produceGrimp = Options.v().via_grimp();\n produceBaf = !produceGrimp;\n break;\n default :\n throw new RuntimeException();\n }\n \n String fileName = getFileNameFor(c, Options.v().output_format());\n \n if (Options.v().output_format() != Options.output_format_none\n && Options.v().output_format() != Options.output_format_class) {\n try {\n streamOut = new FileOutputStream(fileName);\n writerOut = new PrintWriter(new OutputStreamWriter(streamOut));\n } catch (IOException e) {\n G.v().out.println(\"Cannot output file \" + fileName);\n }\n }\n \n \n // Build all necessary bodies\n {\n Iterator methodIt = c.methodIterator();\n \n while (methodIt.hasNext()) {\n SootMethod m = (SootMethod) methodIt.next();\n \n if (!m.isConcrete())\n continue;\n \n // Build Jimple body and transform it.\n {\n JimpleBody body = (JimpleBody) m.retrieveActiveBody();\n \n if (Options.v().via_shimple()) {\n PackManager.v().getPack(\"stp\").apply(body);\n PackManager.v().getPack(\"sop\").apply(body);\n }\n PackManager.v().getPack(\"jtp\").apply(body);\n PackManager.v().getPack(\"jop\").apply(body);\n PackManager.v().getPack(\"jap\").apply(body);\n }\n \n if (produceGrimp) {\n m.setActiveBody(Grimp.v().newBody(m.getActiveBody(), \"gb\"));\n PackManager.v().getPack(\"gop\").apply(m.getActiveBody());\n } else if (produceBaf) {\n m.setActiveBody(\n Baf.v().newBody((JimpleBody) m.getActiveBody()));\n PackManager.v().getPack(\"bop\").apply(m.getActiveBody());\n PackManager.v().getPack(\"tag\").apply(m.getActiveBody());\n }\n }\n \n if (produceDava) {\n methodIt = c.methodIterator();\n \n while (methodIt.hasNext()) {\n SootMethod m = (SootMethod) methodIt.next();\n \n if (!m.isConcrete())\n continue;\n \n m.setActiveBody(Dava.v().newBody(m.getActiveBody()));\n }\n }\n }\n \n if (Options.v().xml_attributes()) {\n Printer.v().setOption(Printer.ADD_JIMPLE_LN);\n }\n switch (Options.v().output_format()) {\n case Options.output_format_none :\n break;\n case Options.output_format_jasmin :\n if (c.containsBafBody())\n new soot.baf.JasminClass(c).print(writerOut);\n else\n new soot.jimple.JasminClass(c).print(writerOut);\n break;\n case Options.output_format_jimp :\n case Options.output_format_b :\n case Options.output_format_grimp :\n Printer.v().setOption(Printer.USE_ABBREVIATIONS);\n Printer.v().printTo(c, writerOut);\n break;\n case Options.output_format_baf :\n case Options.output_format_jimple :\n case Options.output_format_grimple :\n writerOut =\n new PrintWriter(\n new EscapedWriter(new OutputStreamWriter(streamOut)));\n Printer.v().printTo(c, writerOut);\n break;\n case Options.output_format_dava :\n break;\n case Options.output_format_class :\n Printer.v().write(c, getOutputDir());\n break;\n case Options.output_format_xml :\n writerOut =\n new PrintWriter(\n new EscapedWriter(new OutputStreamWriter(streamOut)));\n XMLPrinter.v().printJimpleStyleTo(c, writerOut);\n break;\n default :\n throw new RuntimeException();\n }\n \n if (Options.v().output_format() != Options.output_format_none\n && Options.v().output_format() != Options.output_format_class) {\n try {\n writerOut.flush();\n streamOut.close();\n } catch (IOException e) {\n G.v().out.println(\"Cannot close output file \" + fileName);\n }\n }\n \n if (Options.v().xml_attributes()) {\n XMLAttributesPrinter xap = new XMLAttributesPrinter(fileName);\n xap.printAttrs(c);\n }\n \n // Release bodies\n if (!produceDava) {\n Iterator methodIt = c.methodIterator();\n \n while (methodIt.hasNext()) {\n SootMethod m = (SootMethod) methodIt.next();\n \n if (m.hasActiveBody())\n m.releaseActiveBody();\n }\n }\n G.v().out.println();\n }", "title": "" }, { "docid": "4b9a9523cfd2c35e4458cfcc65cff0b9", "score": "0.50216204", "text": "private void writeToFile() {\n\t\tFile feedHtml = new File(this.fileName);\n\t\ttry (FileOutputStream fOut = new FileOutputStream(feedHtml)) {\n\n\t\t\tbyte[] contents = this.totalHtml.getBytes();\n\t\t\tfOut.write(contents);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "9785f195c22fd84e1f42f3f9f65a1eab", "score": "0.50145537", "text": "public void updateScoreFile() {\n try {\n outputStream = new ObjectOutputStream(new FileOutputStream(HSFILE));\n outputStream.writeObject(hscore);\n\n //Handling errors\n } catch (FileNotFoundException e) {\n System.out.println(\"Error: \" + e.getMessage() + \",the program will try and make a new file\");\n } catch (IOException e) {\n System.out.println(\"IO Error: \" + e.getMessage());\n } finally {\n try {\n\n //Flushing and closing the file\n if (outputStream != null) {\n outputStream.flush();\n outputStream.close();\n }\n } catch (IOException e) {\n System.out.println(\"Error: \" + e.getMessage());\n }\n }\n }", "title": "" }, { "docid": "be132921fa676b7faad6b11de0b56200", "score": "0.5007046", "text": "protected void writeFile(File target, String... contents) throws IOException {\n try (BufferedWriter writer = new BufferedWriter(new FileWriter(target))) {\n for (String block : contents) {\n writer.write(block.replace('\\'', '\\\"'));\n writer.write(System.lineSeparator());\n }\n\n }\n }", "title": "" }, { "docid": "4bb648b3a36b2feddac7a141a35f50b0", "score": "0.50047565", "text": "public void Write(){//TODO: autogen\n\t\n\t}", "title": "" }, { "docid": "7cf118486cf90d384b830c6d0ff895e7", "score": "0.50019336", "text": "public void writeFooter(ClassDoc classDoc);", "title": "" }, { "docid": "786ecad807aa949d02221a9c33516eef", "score": "0.49971625", "text": "public void fileSaved(File file) {\n\t\tClassInfoChecker c = new ClassInfoChecker();\r\n\t\ts.parseFile(file, c);\r\n\t\tDocGenView.getInstance().updateFile(c, file);\n\t}", "title": "" }, { "docid": "84fb5ed8a4ea7c0e76e1bb6592b50ec1", "score": "0.49900267", "text": "public void writeTocurrentprojectnameFile(String currentprojectname) throws AlphaNUSException {\n String toWriteStr = gson.toJson(currentprojectname);\n try {\n File file = new File(currentprojectfilepath);\n if (!file.exists()) {\n file.getParentFile().mkdirs();\n file.createNewFile();\n }\n BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(file, false));\n for (String lineStr : toWriteStr.split(\"\\n\")) {\n bufferedWriter.write(lineStr);\n bufferedWriter.newLine();\n }\n bufferedWriter.close();\n } catch (IOException e) {\n throw new AlphaNUSException(\"Unable to write to file: \" + currentprojectfilepath);\n }\n }", "title": "" }, { "docid": "31310a5e570380981df66858d3a0e10d", "score": "0.4982046", "text": "public void save() throws IOException, MaxSizeExceededException{\r\n\t\tOutputStream out1 = new FileOutputStream(getActualFile());\r\n\t\tObjectOutputStream out = new ObjectOutputStream(out1);\r\n\r\n\t\tout.writeObject(this);\r\n\r\n\t\tout.close();\r\n\t\tout1.close();\r\n\r\n\t\tif(this.getActualFile().length()>getMaxSpace()){\r\n\t\t\tthis.getActualFile().delete();\r\n\t\t\tgenerate(getActualFile().toPath());\r\n\r\n\t\t\tthrow new MaxSizeExceededException();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "24f9b7ebe317fbfd97f3dd5a49589696", "score": "0.4981968", "text": "@Override\r\n\tpublic void write() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9081768cf0db03e130af3b4845053b0d", "score": "0.49738416", "text": "public void finish() throws IOException {\n if (!def.finished()) {\n def.finish();\n while (!def.finished()) {\n int len = def.deflate(buf, 0, buf.length);\n if (def.finished() && len <= buf.length - TRAILER_SIZE) {\n // last deflater buffer. Fit trailer at the end\n writeTrailer(buf, len);\n len = len + TRAILER_SIZE;\n out.write(buf, 0, len);\n return;\n }\n if (len > 0)\n out.write(buf, 0, len);\n }\n // if we can't fit the trailer at the end of the last\n // deflater buffer, we write it separately\n byte[] trailer = new byte[TRAILER_SIZE];\n writeTrailer(trailer, 0);\n out.write(trailer);\n }\n }", "title": "" }, { "docid": "653ebc054b1fa3addbe98091eaf28a72", "score": "0.49686942", "text": "void write ( final Writer writer, final String indent, final Namespace currentNamespace ) throws IOException\n {\n if ( declarations.size() == 0 )\n {\n return;\n }\n\n if ( startComment != null )\n {\n startComment.write(writer, indent, currentNamespace);\n writer.write(\"\\n\");\n }\n\n Visibility oldVisibility = null;\n\n for ( final Declaration declaration : declarations )\n {\n // Check to see whether the visibility has changed, and start a new\n // section if necessary.\n if ( declaration.getVisibility() != oldVisibility )\n {\n oldVisibility = declaration.getVisibility();\n writer.write(indent + declaration.getVisibility() + \":\\n\");\n }\n\n declaration.writeDeclaration(writer, indent + TextUtils.getIndent(), currentNamespace);\n }\n writer.write(\"\\n\\n\");\n }", "title": "" }, { "docid": "f65e7341f3d9650393803619bba6599c", "score": "0.49622363", "text": "public void newLine() throws IOException\n\t{\n\t\tsuper.newLine();\n\t\tnew_line = true;\n\t}", "title": "" }, { "docid": "288d97dd9e872bc2186379c009ebf2d0", "score": "0.49535123", "text": "public void finish() throws IOException {\n super.finish();\n\n if (source == null)\n return;\n\n final long ipl = source.getPostambleLength();\n if (ipl <= 0)\n return;\n\n final long il = source.length();\n final long ol = length();\n\n final InputStream in = source.getPostambleInputStream();\n try {\n // Second, if the output ZIP compatible file differs in length from\n // the input ZIP compatible file pad the output to the next four byte\n // boundary before appending the postamble.\n // This might be required for self extracting files on some platforms\n // (e.g. Wintel).\n if (ol + ipl != il)\n write(new byte[(int) (ol % 4)]);\n\n // Finally, write the postamble.\n de.schlichtherle.io.File.cat(in, this);\n } finally {\n in.close();\n }\n }", "title": "" }, { "docid": "eb8778762a49f6818a259e533490ce5b", "score": "0.49531043", "text": "public void close() {\n\t\t// iterate over entries in map and write each one to file\n\t\tif (modified) {\n\t\t\ttry {\n\t\t\t\tfile = new RandomAccessFile(fPath, \"rw\");\n\t\t\t\tfile.seek(0);\n\n\t\t\t\tfor (Entry<String, ArrayList<Entry<Integer, Integer>>> e : map.entrySet()) {\n\t\t\t\t\tP3Utils.writeWordToFile(e.getKey(), file);\n\t\t\t\t\twriteToDocsListToFile(e.getValue());\n\t\t\t\t}\n\n\t\t\t\tfile.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "c52fb797decc8f80de170e1f9e5ca9b7", "score": "0.49512064", "text": "JClassDef blankLine();", "title": "" }, { "docid": "03959e62b28a0dbbb33bc2179577b4c0", "score": "0.49360573", "text": "private void writeToFile() {\n try (PrintWriter pw = new PrintWriter(file)) {\n super.findAll().forEach(n -> pw.println(n.getID().getKey() + \"|\" + n.getID().getValue() + \"|\" + n.getNota() + \"|\" + n.getData()+\"|\"+n.getFeedback()));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "83ed3c40ba37cd138e136de27b6c8d27", "score": "0.49344292", "text": "public static void finishWriting(){\n if(file!=null){\n if(verbose){\n System.out.format(\"[%s]: %s.\\n\", \"FilePrinter\", \"Closing the output stream to the file.\");\n }\n writer.close();\n }\n }", "title": "" }, { "docid": "be2c984fedb293ca08d92c393fa30957", "score": "0.4933742", "text": "public void write( File f ) throws IOException {\n BufferedWriter w = new BufferedWriter( new FileWriter( f ) );\n w.write( \"# Gene score file generated by ErmineJ. If created from a quicklist, the scores will be dummy values.\\n\" );\n w.write( \"Element\\tScore\\n\" );\n w.write( this.toString() );\n w.close();\n }", "title": "" }, { "docid": "fa82e021ea2a7949df8841c314c25743", "score": "0.4929444", "text": "@Override\n public void save(FileWriter outFile) throws IOException {\n outFile.write(FRIEND_CODE + \"\\n\");\n super.save(outFile);\n }", "title": "" }, { "docid": "2300e96170e30c4905e55969b7b5dec3", "score": "0.49261886", "text": "public void flushFile() throws IOException {\n FileWriter fw = new FileWriter(file);\n BufferedWriter bw = new BufferedWriter(fw);\n bw.write(\"\");\n bw.flush();\n\n fw.close();\n bw.close();\n }", "title": "" }, { "docid": "22de121889654c498898fee6c2f47f91", "score": "0.49231893", "text": "@Override\n\tpublic void write()\n\t{\n\n\t}", "title": "" }, { "docid": "8c295225a62a6d8c8324493166faf32a", "score": "0.49191156", "text": "public JsonWriter endObject()\n {\n m_needsDelimiter = false;\n m_nestingLevel--;\n newline().add(\"}\").newline();\n\n return this;\n }", "title": "" }, { "docid": "678e3e99c9f65ded1cc52ac872c6b419", "score": "0.49162504", "text": "public void eof() {\n\n }", "title": "" }, { "docid": "70b4a6f6e8d30847e9a0153a0c705c09", "score": "0.49114445", "text": "public void writeFooterStuff() {\r\n\t\twriter.println(\"}\");\r\n\t}", "title": "" }, { "docid": "f2e22145f85b9044993c36d639e6af6f", "score": "0.49098372", "text": "public void fileWriterRegister(int id1, ArrayList<Order> order, double totalPrice, int numOfTickets) throws IOException {\n FileWriter myFile;\n Date date = new Date();\n try {\n myFile = new FileWriter(\"register.txt\", true);\n myFile.append(\"Begging -------------------------------------------------------------------\" + \"\\n\");\n myFile.append(order.get(id1 - 2).toString()); //Get Object and save it\n myFile.append(\"\");\n myFile.append(date.toString() + \"\\n\");\n myFile.append(\"End -----------------------------------------------------------------------\" + \"\\n\");\n myFile.append(\"\" + \"\\n\");\n\n myFile.close();\n\n } catch (FileNotFoundException ex) {\n System.out.println(\"Cannot find that file\");\n }\n }", "title": "" }, { "docid": "255007cfa54f043e45251fc1445127ab", "score": "0.49093392", "text": "private void indentation(Parse obj) throws IOException\r\n {\n\r\n String separator = \" \";\r\n for ( int i = 0 ; i<=obj.getIntLevel();i++ )\r\n {\r\n out.write (separator);\r\n }\r\n }", "title": "" }, { "docid": "83264f91fcb3c3a0866bd0db8c3bf5fe", "score": "0.49067244", "text": "private void makeAdjustmentsInFile() throws IOException {\n\t\tproteinFile = new File(\"protein.pdb\");\n\t\tFileWriter fw = new FileWriter(proteinFile);\n\t\tpreProteinScanner = new Scanner(preProteinFile);\n\t\twhile (preProteinScanner.hasNextLine()) {\n\t\t\tString line = preProteinScanner.nextLine();\n\t\t\tlineScanner = new Scanner(line);\n\t\t\tif (!line.isEmpty() && lineScanner.next().equals(\"ATOM\")) {\n\t\t\t\tint nerd = lineScanner.nextInt();\n\t\t\t\tif (this.atomNumToVector.containsKey(nerd)) {\n\t\t\t\t\tline = line.substring(0, 30);\n\t\t\t\t\tAtom n = new Atom(\"1\", \"C\", \"TRP\", \"0001\",\n\t\t\t\t\t\t\tthis.atomNumToVector.get(nerd), null);\n\t\t\t\t\tline += n.getxPosition().print()\n\t\t\t\t\t\t\t+ n.getyPosition().print()\n\t\t\t\t\t\t\t+ n.getzPosition().print();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfw.write(line);\n\t\t\tfw.write(System.getProperty(\"line.separator\"));\n\t\t}\n\t\tfw.close();\n\t\t\n\t}", "title": "" }, { "docid": "991fc14644588459a61b0a6b539116e3", "score": "0.49017134", "text": "private void saveToCurrentFile() throws IOException\n {\n //Open object output stream\n //Save positions, panel color, circle color, radius, and balls\n //Then close\n ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(currentFile));\n oos.writeObject(mainPanel.getPositions());\n oos.writeObject(mainPanel.getPanelColor());\n oos.writeObject(mainPanel.getCircleColor());\n oos.writeInt(mainPanel.getRadius());\n oos.writeObject(mainPanel.getBalls());\n oos.close();\n }", "title": "" }, { "docid": "ee99e5a8a33e165d50c845f28a2e0e6f", "score": "0.4893381", "text": "private void serializeFile(File infile, File outfile) {\n boolean startProcess;\n startProcess = rebuild(infile, outfile);\n if (startProcess) {\n HyphenationTree hTree = buildPatternFile(infile);\n // serialize class\n try {\n // @SuppressFBWarnings(\"OS_OPEN_STREAM_EXCEPTION_PATH\")\n ObjectOutputStream out = new ObjectOutputStream(\n new java.io.BufferedOutputStream(\n new java.io.FileOutputStream(outfile)));\n out.writeObject(hTree);\n out.close();\n } catch (IOException ioe) {\n System.err.println(\"Can't write compiled pattern file: \"\n + outfile);\n System.err.println(ioe);\n }\n }\n }", "title": "" }, { "docid": "cb4c927e5e0fa72d71817ff9573a059e", "score": "0.4889627", "text": "public void writeFile()\n {\n try\n {\n PrintWriter writer = new PrintWriter(game);\n writer.println(playerOneTotalScore);\n writer.println(playerTwoTotalScore);\n writer.println(playerTurn);\n writer.println(turnTotal);\n writer.close();\n }\n catch (FileNotFoundException ex)\n {\n System.out.println(\"Oops\");\n }\n }", "title": "" }, { "docid": "f4840a0f59e51bd81502dcf87296f8d1", "score": "0.48855126", "text": "protected void writeEOF(Writer writer) throws IOException {\r\n try {\r\n\t writer.write(getResourceString(\"groupcode.0\")+Constants.LINE_SEPARATOR);\r\n\t writer.write(getResourceString(\"special.eof\")+Constants.LINE_SEPARATOR);\r\n } catch(IOException e){\r\n Logger.logError(DXF12_2DWriter.class,e);\r\n throw e;\r\n }\r\n }", "title": "" }, { "docid": "53f28d767db58dccbca95fe3bcb39067", "score": "0.48847798", "text": "public void customerToFile() throws IOException {\n\t\tFile file = new File(Repository.path + \"customerInfo.txt\");\n\t\t//create the new file \n\t\tif(file.createNewFile()) {\n\t\t\t//write to file\n\t\t\tFileWriter write = new FileWriter(file);\n\t\t\twrite.write(this.toString());\t//write to file\n\t\t\twrite.close();\n\t\t\tSystem.out.println(\"File successfully created\");\n\t\t} else {\n\t\t\t//file already exist -- overwrite\n\t\t\tFileWriter write = new FileWriter(file,true); //append\n\t\t\twrite.write(this.toString());\t//write to file\n\t\t\twrite.close();\n\t\t\tSystem.out.println(\"Customer appended Successfully\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "e3e7557a44d165d434d283a6f015b53f", "score": "0.48702487", "text": "public void salvar(File file) throws POOngExcepcion, IOException{\n\t\tObjectOutputStream pw;\n\t\tif(this==null) {\n\t\t\tpw = new ObjectOutputStream(new FileOutputStream(file));\n\t\t\tpw.writeObject(this);\n\t\t\tpw.close();\n\t\t}else {\n\t\t\tthrow new POOngExcepcion(POOngExcepcion.JUEGO_VACIO);\n\t\t}\n\t }", "title": "" }, { "docid": "a336b912b9261a432840b9977ce68708", "score": "0.4869511", "text": "public static void main(String[] args) throws IOException {\n List<String> data = readFile();\n String className = getClassNameForCreating(data);\n File destination = new File(className + \".java\");\n\n for (String record : data) {\n System.out.println(record);\n }\n writeFile(data, destination);\n }", "title": "" }, { "docid": "89a9a7eef5e9602ce62d6f4e75f451a7", "score": "0.4869396", "text": "public void writeInputFile() {\n\t\ttry {\n\t\t\tPrintWriter writer = new PrintWriter(new File(getInputFileName()),\n\t\t\t\t\tgetEncoding());\n\t\t\twriter.write(fillRandomNumbers());\n\t\t\twriter.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "ab333c0bd81085e690d542c600ecf27e", "score": "0.48573136", "text": "public void endDocument() throws IOException {\n \n writer.flush();\n \n }", "title": "" }, { "docid": "4baae4b5979c4671ef740c930102c3cf", "score": "0.4855112", "text": "protected void close() {\n getWriter().println(\"<?xml version='1.0' encoding='UTF-8' ?>\");\n java.lang.String now = org.apache.tools.ant.util.DateUtils.format(new java.util.Date(), DateUtils.ISO8601_DATETIME_PATTERN);\n rootElement.setAttribute(\"snapshot_created\", now);\n try {\n final org.apache.tools.ant.util.DOMElementWriter domWriter = new org.apache.tools.ant.util.DOMElementWriter();\n domWriter.write(rootElement, getWriter(), 0, \" \");\n } catch (java.io.IOException e) {\n throw new org.apache.tools.ant.BuildException(e);\n } finally {\n super.close();\n }\n }", "title": "" }, { "docid": "cb07d6ae96aa99a978816d850798d225", "score": "0.48473245", "text": "public static void writeFile(String filename, String line) throws IOException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tline = line.replace(\";null\",\";\");\r\n\t\tFileWriter fw = new FileWriter(filename,true); //the true will append the new data\r\n\t\tfw.write(line);//appends the string to the file\r\n\t\tfw.close();\t\r\n\t}", "title": "" }, { "docid": "c82b212673ef0ba22131d65934ceeb7a", "score": "0.48465452", "text": "public void writeInterestFile() {\n String update = this.getAccountNum() + \",\" + monthlyInterest;\n WriteFile.write(update, \"interests/savingInterest.txt\");\n }", "title": "" }, { "docid": "359ece79796832bd54d328bc39edb3a0", "score": "0.48452207", "text": "public void writeFile() throws Exception {\n\tif(filename == null) {\n\t return;\n\t}\n\n\ttry (BufferedWriter bw = new BufferedWriter(new FileWriter(filename))) {\n\t Iterator<Beer> beerIt = getBeersByName();\n\t while(beerIt.hasNext()) {\n\t\tbw.write(beerIt.next().toString());\n\t\tbw.write(\"\\n\");\n\t }\n\t}\n\tcatch(Exception e) {\n\t throw e;\n\t}\n }", "title": "" }, { "docid": "0785547c2d4bfbd45d81cd01701c9d05", "score": "0.48446655", "text": "public void writeToFile(user_credentials new_user){\n BufferedWriter bw = null;\n\tFileWriter fw = null;\n \n user_name = new_user.name;\n user_adress = new_user.adress;\n user_email = new_user.email;\n user_phone = new_user.phone_number;\n user_mobile = new_user.mobile_number;\n user_profile = new_user.profile_name;\n \n try{\n \n \n fw = new FileWriter(FILENAME,true);\n bw = new BufferedWriter(fw);\n \n bw.write(user_profile);\n bw.append(System.lineSeparator());\n bw.write(user_name);\n bw.append(System.lineSeparator());\n bw.write(user_adress);\n bw.append(System.lineSeparator());\n bw.write(new Long(user_phone).toString());\n bw.append(System.lineSeparator());\n bw.write(new Long(user_mobile).toString());\n bw.append(System.lineSeparator());\n bw.write(user_email);\n bw.write(System.lineSeparator());\n bw.write(System.lineSeparator());\n \n System.out.println(\"Done\");\n }catch(IOException e){\n e.printStackTrace();\n }finally{\n try {\n\t\tif (bw != null)\n bw.close();\n\t\tif (fw != null)\n fw.close();\n } catch (IOException ex) {\n\t\tex.printStackTrace();\n\n } \n }\n }", "title": "" }, { "docid": "5d1e3665bf726c9c2529df810530f3a0", "score": "0.48425302", "text": "protected void write(org.apache.poi.hssf.usermodel.HSSFWorkbook wb) {\r\n try {\r\n //Lets close the buffered writer first\r\n FileOutputStream fos = new FileOutputStream(path);\r\n wb.write(fos);\r\n fos.close();\r\n }\r\n catch(IOException ioe){\r\n //System.out.println(\"IOException at writeLine\");\r\n ioe.printStackTrace();\r\n }\r\n catch(Exception ex){\r\n //System.out.println(\"Exception at writeLine\");\r\n ex.printStackTrace();\r\n } \r\n }", "title": "" }, { "docid": "a9fc81e845d8c421aadf59b2a3a802be", "score": "0.4840591", "text": "@Override\n public void writeToFile() {\n File file = new File(address);\n try{\n if (file.exists()) { //delete file and create a new file to write into, avoids duplicate data\n file.delete();\n }\n file.createNewFile();\n FileWriter fileWriterInitial = new FileWriter(file);\n BufferedWriter writeText = new BufferedWriter(fileWriterInitial);\n writeText.write(\"Name,Password\"); //write header of file\n for (User user: user_service.getListOfUserObjects()) {\n writeText.newLine();\n writeText.write(user.getUserID() + \",\" + user.getUserPassword()); //write each user to each line\n }\n writeText.flush();\n writeText.close();\n }\n catch (IOException e) {\n System.out.println(\"data file is missing\");\n }\n }", "title": "" }, { "docid": "fc96ada97f89bee73dea67514bbf6384", "score": "0.48380542", "text": "public void writeFile(String content) throws IOException{\n BufferedWriter output = Files.newBufferedWriter(path, Charset.defaultCharset(),\n StandardOpenOption.WRITE, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);\n output.write(content);\n output.close();\n }", "title": "" }, { "docid": "ca700d11961346dda835c093935b6c7d", "score": "0.48316032", "text": "public static void overwriteFile(Path file, String contents) {\n try {\n Files.write(file, Collections.singleton(contents), StandardOpenOption.CREATE,\n StandardOpenOption.TRUNCATE_EXISTING);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "fdff8508b37dd10c97eb1e985673499c", "score": "0.4824836", "text": "protected abstract void endWrite() throws Exception;", "title": "" }, { "docid": "0fff888d23520f11da34b8993b21c552", "score": "0.48167783", "text": "public void save() {\r\n try {\r\n Format f = Format.getPrettyFormat();\r\n f.setTextMode(Format.TextMode.NORMALIZE);\r\n f.setIndent(\" \");\r\n f.setLineSeparator(System.getProperty(\"line.separator\"));\r\n\r\n XMLOutputter outputter = new XMLOutputter(f);\r\n\r\n FileOutputStream os = new FileOutputStream(file);\r\n outputter.output(root, os);\r\n os.close();\r\n\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "5aaa76a77ec45ccd0970307e4faea963", "score": "0.48138165", "text": "public void parse () throws IOException {\n\n if (!updated) {\n\n File startingfile = new File(\"BlockchainLedger.xml\");\n\n String content = \"\";\n\n content = new String(Files.readAllBytes(Paths.get(\"BlockchainLedger.xml\")));\n\n startingfile.delete();\n\n File finishfile = new File(\"BlockchainLedger.xml\");\n\n BufferedWriter bw =\n new BufferedWriter(new FileWriter(\"BlockchainLedger.xml\", true));\n\n bw.write(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?><unvarBlockBuilder>\");\n\n\n bw.write(content);\n\n bw.write(\"</unvarBlockBuilder>\");\n\n bw.flush();\n bw.close();\n\n updated = true;\n }\n }", "title": "" }, { "docid": "8a95862b96cb8b2603f2923f79228b06", "score": "0.48125735", "text": "void file_write(){\n try {\n FileOutputStream fos= new FileOutputStream(\"initialization.ser\");\n \n try {\n ObjectOutputStream out=new ObjectOutputStream(fos);\n \n out.writeObject(result);\n out.close();\n } catch (IOException ex) {\n Logger.getLogger(BazarUpdate.class.getName()).log(Level.SEVERE, null, ex);\n }\n } catch (FileNotFoundException ex) {\n Logger.getLogger(BazarUpdate.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "00466eb1637c8f6b83b90a9c7fa6a75c", "score": "0.48125", "text": "@Override//the the full details in the code\n public void save(String fileName){\n FileWriter saveProductDetails = null;\n\n try{\n saveProductDetails = new FileWriter(fileName,true);\n saveProductDetails.append(getName());\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(String.valueOf(getID()));\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(getCategory());\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(getImage().toString());\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n manufacturer.save(saveProductDetails);\n saveProductDetails.append(String.valueOf(getPriceWithoutVAT()));\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(String.valueOf(getVAT()));\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(getTitle());\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(getAuthor());\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(getIsbn());\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(getLanguage());\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(String.valueOf(getEdition()));\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.append(String.valueOf(getNumberOfPages()));\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n stockInfo.save(saveProductDetails);\n saveProductDetails.append(\"$$$$$$\");\n saveProductDetails.append(System.getProperty(\"line.separator\"));\n saveProductDetails.close();\n saveProductDetails = null;\n\n }//end try\n catch (IOException ioe){}//end catch\n }", "title": "" }, { "docid": "8d2b0d66ff254f246f478bffc05be3d4", "score": "0.47970727", "text": "private void exportJava(){\n try {\n\n //The file to write to.\n fileOutputer = new FileOutputStream(file);\n\n //Object to write data to file.\n outputObject = new ObjectOutputStream(fileOutputer);\n\n //Collection made into an array.\n partObjects = parts.toArray();\n\n //Loops through array to write into file.\n for (int i = 0; i < currentSize; i++){\n outputObject.writeObject(partObjects[i]);\n }\n\n }catch (IOException exception){\n System.out.println(exception.getMessage());\n }\n }", "title": "" }, { "docid": "5ddce2b86641f27c0271a9b9a837c0cd", "score": "0.47883224", "text": "private void writeFile()\n {\n \n if(currFile == null)\n { //safety, incase opening a file failed\n return;\n }\n \n try\n {\n FileWriter fWriter = new FileWriter(currFile);\n \n //writing the contents of the textArea to the file which was opened\n fWriter.write(textArea.getText());\n fWriter.flush();\n fWriter.close();\n } catch(IOException e)\n {\n System.out.println(\"Encountered an error while attempting to write to \"+currFile.getName()+\".\");\n }\n \n }", "title": "" }, { "docid": "f88b847b7db962a6bee44630f8e16bdd", "score": "0.4788099", "text": "public JavaCodeGenerator endBlock() {\n\t\tleaveScope();\n\t\tdedent();\n\t\tprintln(\"}\");\n\t\treturn this;\n\t}", "title": "" }, { "docid": "ae5614c39b1aaab9e23ff38ac5d8a341", "score": "0.47809342", "text": "public void write(String file) throws Exception;", "title": "" }, { "docid": "77a39a073296141d32efd5cd6ffe4042", "score": "0.47534922", "text": "public void close() {\r\n Disk disk = Disk.getDisk();\r\n disk.write(outputFile, builder.toString());\r\n }", "title": "" }, { "docid": "1c8f578a437ef4613ab52ac9278f4285", "score": "0.47532848", "text": "@Override\n\tpublic void save(boolean overwrite) {\n\t}", "title": "" }, { "docid": "4bfa1c928ba9b30aadfa0ab36738b263", "score": "0.47500893", "text": "public void writeFile() throws IOException {\n\t\tFileWriter writer = new FileWriter(OUTPUT_FILE);\n\t\twriter.write((states.size() - 1) + ls);\n\t\tfor (String s : states) {\n\t\t\twriter.write(s + ls);\n\t\t}\n\t\twriter.close();\n\t\tSystem.out.println(\"Written to file\");\n\n\t}", "title": "" }, { "docid": "4127f85a0c9e576703b86a6b6ae62fa8", "score": "0.47461912", "text": "public void newFile();", "title": "" }, { "docid": "4c3a629b391ae4efc0ca14aebf3c6d4c", "score": "0.47451663", "text": "@Override\n\tprotected void onDestroy()\n\t{\n\t\tsuper.onDestroy();\n\t\twriteFile();\n\t}", "title": "" }, { "docid": "3a8e3b5a7b2288d58ef27f591525b0d9", "score": "0.47450462", "text": "private void setupFile() {\n\t\tFile file = new File(filename);\n\t\tboolean validFile = false;\n\t\tif (file.exists()) {\n\t\t\t// if file already exists, verify its content\n\t\t\tvalidFile = verifyFile(file);\n\t\t}\n\t\t\n\t\t// create a new file if file doesn't exist or if the existing file is invalid\n\t\tif (!file.exists() || !validFile) {\n\t\t\ttry {\n\t\t\t\t// override existing file\n\t\t\t\tWriter fileWriter = new FileWriter(file, false);\n\t\t\t\twriteInitialContents(fileWriter);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "4c87909abe340f95a739615fc895dc59", "score": "0.47449014", "text": "public void finish() {\n try {\n out.close();\n } catch (IOException e) {\n System.err.println(\"Unable to close the file, an error occurred\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "245b2d09b999b38a9c03bf53b3398357", "score": "0.474437", "text": "public void close() throws IOException {\n if (this.isWriting) {\r\n this.c1541.getDriveHandler().writeFile(this.filename, this.out.toByteArray());\r\n this.isWriting = false;\r\n }\r\n // free other resources\r\n super.close();\r\n }", "title": "" }, { "docid": "4418fd54c2bf3a7527cb28777f9e78c3", "score": "0.47349864", "text": "public void writeToFile(String fileName) throws IOException {\n FileWriter fwrite = new FileWriter(fileName,true);\n BufferedWriter bwrite = new BufferedWriter(fwrite);\n bwrite.write(patronName + \",\\r\");\n bwrite.write(Integer.toString(amount)+\"\\r\");\n bwrite.write(\";\\r\");\n bwrite.close();\n }", "title": "" } ]
fdeb86755d3231afe6a219c3f39ef90c
FopFactory fopFactory = FopFactory.newInstance(resultFile.toURI());
[ { "docid": "b0e266fa72cb464c41918144fcd3c35b", "score": "0.56532735", "text": "@Override\n public void transform(File resultFile, Source xmlSource, Transformer trans) throws Exception {\n DefaultConfigurationBuilder cfgBuilder = new DefaultConfigurationBuilder();\n InputStream configFile = ReportConfiguration.class.getResourceAsStream(\"/xslt/fop_conf.xml\");\n org.apache.avalon.framework.configuration.Configuration cfg = cfgBuilder.build(configFile);\n //File configFile = new File(\"fop.xconf\");\n //org.apache.avalon.framework.configuration.Configuration cfg = cfgBuilder.buildFromFile(configFile);\n FopFactoryBuilder fopFactoryBuilder = new FopFactoryBuilder(resultFile.toURI()).setConfiguration(cfg);\n FopFactory fopFactory = fopFactoryBuilder.build();\n FOUserAgent foUserAgent = fopFactory.newFOUserAgent();\n foUserAgent.setAuthor(\"TimeSlotTracker\");\n foUserAgent.setTitle(\"PDF summary report\");\n Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, foUserAgent, new FileOutputStream(resultFile));\n Result res = new SAXResult(fop.getDefaultHandler());\n trans.transform(xmlSource, res);\n }", "title": "" } ]
[ { "docid": "51bbfa4d31f8e0d74a6793ffb2756a20", "score": "0.6326321", "text": "FNP createFNP();", "title": "" }, { "docid": "432742c82bdb3e00bebd48f620b7bdc2", "score": "0.5725007", "text": "FNM createFNM();", "title": "" }, { "docid": "6f8fe4ebcf670ec2d6fc7db3b9efb235", "score": "0.5575312", "text": "OpenfoamFactory getOpenfoamFactory();", "title": "" }, { "docid": "53419cd15b20fd9282548808c87ffe4f", "score": "0.5532388", "text": "ResultFactory getResultFactory();", "title": "" }, { "docid": "cea025f1eb70ffcf50d23f7148a11150", "score": "0.5492544", "text": "FNI createFNI();", "title": "" }, { "docid": "a945d61df37cfe90561d6445677e3e3e", "score": "0.54693145", "text": "AnalysisResultFactory getAnalysisResultFactory();", "title": "" }, { "docid": "6b61850976c274e6f39f518fe8ae05ed", "score": "0.5466104", "text": "FNPRG createFNPRG();", "title": "" }, { "docid": "8c315aa8e3db955cfe85acc8c03658a3", "score": "0.5452763", "text": "public static UstadJSOPF loadFromOPF(XmlPullParser xpp) throws XmlPullParserException, IOException {\n UstadJSOPF result = new UstadJSOPF();\n \n \n String extension = null;\n String defMimeType = null;\n int evtType = xpp.getEventType();\n String filename=null;\n String itemMime=null;\n String id=null;\n String properties=null;\n String idref=null;\n Hashtable allItems = new Hashtable();\n Vector spineItems = new Vector(); \n\n do\n {\n filename=null;\n itemMime=null;\n id=null;\n properties=null;\n defMimeType = null;\n extension=null;\n idref=null;\n \n if(evtType == XmlPullParser.START_TAG){\n if(xpp.getName().equals(\"manifest\")){\n System.out.println(\"In Manifest: \" + xpp.getName());\n }else if(xpp.getName() != null && xpp.getName().equals(\"item\")){\n \n filename=xpp.getAttributeValue(null, \"href\");\n System.out.println(\"item: \" + filename);\n itemMime=xpp.getAttributeValue(null, \"media-type\");\n id = xpp.getAttributeValue(null, \"id\");\n properties = xpp.getAttributeValue(null, \"properties\");\n\n extension=UstadJS.getExtension(filename);\n if(extension != null && defaultMimeTypes.containsKey(extension)){\n defMimeType = (String)defaultMimeTypes.get(extension);\n }\n if(extension == null || defMimeType == null ||\n !itemMime.equals(defMimeType)){\n result.mimeExceptions.put(filename, itemMime);\n }\n UstadJSOPFItem item2 = new UstadJSOPFItem();\n item2.href = filename;\n item2.mimeType = itemMime;\n item2.properties = properties; \n\n allItems.put(id, item2);\n\n }else if(xpp.getName() != null && xpp.getName().equals(\"itemref\")){\n //for each itemRef in spine\n //if(xpp.getName().equals(\"itemref\")){\n idref=xpp.getAttributeValue(null, \"idref\");\n Object spineItem = allItems.get(idref);\n if(spineItem == null){\n throw new RuntimeException(\"Invalid OPF: item not found: #\" + idref);\n }\n \n spineItems.addElement(allItems.get(idref));\n \n }\n \n \n }else if(evtType == XmlPullParser.END_TAG){\n if(xpp.getName().equals(\"manifest\")){\n System.out.println(\"End of manifest.\");\n }else if(xpp.getName().equals(\"spine\")){\n result.spine = new UstadJSOPFItem[spineItems.size()];\n spineItems.copyInto(result.spine);\n \n }\n }else if(evtType == XmlPullParser.TEXT){\n\n }\n evtType = xpp.next();\n \n }while(evtType != XmlPullParser.END_DOCUMENT);\n \n return result;\n }", "title": "" }, { "docid": "8d951db486956c6d39340f5b168b43c0", "score": "0.5449619", "text": "private static Factory createFactory() {\n try {\n Class.forName(FILE_STORE_CLASS);\n } catch (ClassNotFoundException e) {\n return new FailingFactory(\n new UnsupportedOperationException(\n \"FileStoreInfo is only supported for Java 7 and later\"));\n }\n try {\n return Class.forName(JAVA7_FILE_STORE_FACTORY_CLASS)\n .asSubclass(Factory.class)\n .newInstance();\n } catch (Exception e) {\n return new FailingFactory(\n new IllegalStateException(\n \"Problem accessing class \" +\n JAVA7_FILE_STORE_FACTORY_CLASS + \": \" + e,\n e));\n }\n }", "title": "" }, { "docid": "493bd6d787440e69f01c394bb69876e7", "score": "0.54164314", "text": "public abstract File asFile();", "title": "" }, { "docid": "1b02fc3c5a813ab68e8436badc4fe923", "score": "0.53400904", "text": "FNIRG createFNIRG();", "title": "" }, { "docid": "b8597f068faafb33dc9166492b6320ff", "score": "0.5278241", "text": "PFC createPFC();", "title": "" }, { "docid": "50546fbacdc01d1b3a95b86d1187090d", "score": "0.52282345", "text": "FNN createFNN();", "title": "" }, { "docid": "e93d998892cae3bdc2ee724f406fe43e", "score": "0.52231675", "text": "public IFile createTargetFile() {\n\t\treturn (new FileCreator(getFileLocationStep())).createFile();\n\t}", "title": "" }, { "docid": "7ab730cf0d311977e3360ec0776336e5", "score": "0.5195625", "text": "protected abstract ArtifactFactory getFactory();", "title": "" }, { "docid": "ae88fe6228f9082f02dd24e054766845", "score": "0.51942784", "text": "public RemoteFile() {}", "title": "" }, { "docid": "5d3ed1304a1a9dcd05a18ab7ccb712eb", "score": "0.51936084", "text": "public abstract ProofTask factory(IFile jpo_file, ICompilationUnit c);", "title": "" }, { "docid": "1c0af51f72dd7590964ede3c83ceab84", "score": "0.51665956", "text": "public interface FileOperation {\n\n void reportOperation();\n\n void runOperation();\n\n FileVisitResult getFileVisitResult();\n}", "title": "" }, { "docid": "ae2aa4c48934b3c979fb0a392b8889d0", "score": "0.51563627", "text": "public interface FilesOperation extends Operation<Map<String, FileInfo>> {\n /** File name: common. */\n String COMMON_FILE = \"common\";\n /** File name: origin. */\n String ORIGIN_FILE = \"origin\";\n /** File name: request. */\n String REQUEST_FILE = \"request\";\n /** File name: response. */\n String RESPONSE_FILE = \"response\";\n /** First tab. */\n int TAB = 1;\n\n /**\n * Get last part of a split result.\n * @param str to split str\n * @return last part of a split result\n */\n static String getLastDot(String str) {\n String[] names = str.split(\"\\\\.\");\n return names[names.length - 1];\n }\n\n /**\n * Create file.\n * @param path file path\n * @param name file name\n * @param content file content\n */\n static void createFile(String path, String name, String content) {\n try {\n System.out.print(new File(path).mkdirs() ? \"[mkdir]\" : \"\");\n createFile(path + \"/\" + name + \".java\", content);\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n /**\n * Create file.\n * @param path file path (include file name)\n * @param content file content\n * @throws Exception exception\n */\n static void createFile(String path, String content) throws Exception {\n File file = new File(path);\n System.out.println(\"File: \" + file.getName() + (file.exists() ? \".\" : (\"[\" + file.createNewFile() + \"].\")));\n // output content\n try (FileWriter writer = new FileWriter(file)) {\n writer.append(content);\n }\n }\n}", "title": "" }, { "docid": "b94a5c3f3d2121e810ebffb04e576fa7", "score": "0.515168", "text": "FNMRG createFNMRG();", "title": "" }, { "docid": "2224f8fa0d2dbec76fd10e13528a6456", "score": "0.51140463", "text": "public void ResultFile(){}", "title": "" }, { "docid": "a4f0f54222a7365cb6d82fbb04d8236a", "score": "0.5100884", "text": "EFN createEFN();", "title": "" }, { "docid": "281ca7c8cec8e48eb46b8b538d169049", "score": "0.50875694", "text": "<T> T importFromStream(InputStream templateFileStream, Class<T> resultClass) throws IOException;", "title": "" }, { "docid": "a62bbf8a4b44707b8c54b322c5953cb2", "score": "0.5047318", "text": "public FileioFactoryImpl() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "efaeae8441c8a25a090202e618da0ff2", "score": "0.50411224", "text": "public EmfFileReader createReader();", "title": "" }, { "docid": "573310630a3eb155d34f65b3e6ca6ff1", "score": "0.503769", "text": "FNO createFNO();", "title": "" }, { "docid": "060a3e40e6f2d4778960870eb5f1a1ba", "score": "0.5036136", "text": "InfWorkFactory getInfWorkFactory();", "title": "" }, { "docid": "0b99ffd2cb9b5249c5484fb9377dad49", "score": "0.50125575", "text": "public FopConfBuilder() {\n try {\n DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();\n dbf.setNamespaceAware(true);\n DocumentBuilder db = dbf.newDocumentBuilder();\n fopConfDOM = db.newDocument();\n root = fopConfDOM.createElement(\"fop\");\n fopConfDOM.appendChild(root);\n } catch (ParserConfigurationException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "7eb7e1fc7798e20cade50b8757157453", "score": "0.49982712", "text": "private FileTools(){}", "title": "" }, { "docid": "67adc7b84babcb5dc11ff97871522f46", "score": "0.49873883", "text": "private FileLocator() {\n super();\n }", "title": "" }, { "docid": "f4d29ba62171b1fe0fceea7bd496693d", "score": "0.49722022", "text": "void run(IForwarder from, IForwarder to, FileTaskInfo fileTaskInfo)throws Exception;", "title": "" }, { "docid": "a3568d7c20712edf59c0294b83de6dc9", "score": "0.49617717", "text": "@Override\n\tpublic void create(String f) throws IOException {\n\t\t\n\t}", "title": "" }, { "docid": "f1f560523c9190c905abb95ccbcc5bdf", "score": "0.49475944", "text": "File mo21277a();", "title": "" }, { "docid": "13acc6be701ad9b0977f5f2212e815db", "score": "0.49447125", "text": "public Extractor() {\n }", "title": "" }, { "docid": "17169144b410b711799e4244809fadbb", "score": "0.49392012", "text": "public interface Extractor {\n\n /**\n * 提取特征向量\n *\n * @param file\n */\n public void extract(File file);\n}", "title": "" }, { "docid": "d5004a6c2e630e225fc70beeb23f9b72", "score": "0.49313763", "text": "protected abstract void fromFile();", "title": "" }, { "docid": "0e49c1e437865f4bd7d2a3ac3f8b83c4", "score": "0.49283472", "text": "@Ignore @Test public void fileSetTest() {\n try {\n MMRTransformer transformer =\n new MMRTransformer(\"[email protected]\");\n\n String host = \"ftp://seastorm.jpl.nasa.gov\";\n String path = \"/data/dev/ingest-test/ghrsst_test_data/\";\n\n // String host = \"ftp://kingdom.jpl.nasa.gov\";\n // String path =\n // \"/Users/ingest/Development/data/dev/ingest-test/ghrsst_test_data/\";\n\n transformer.registerAuthentication(host, this._user, this._pass);\n\n String tmpPath = host + path;\n transformer.registerFile(MMRTransformer.FILE_TYPE.RAW, tmpPath\n + \"20070828-GOES11-OSDPD-L2P-GOES11_South_2352Z-v01.nc.gz\");\n transformer.registerFile(MMRTransformer.FILE_TYPE.RAW_CHECKSUM,\n tmpPath\n + \"20070828-GOES11-OSDPD-L2P-GOES11_South_2352Z-v01.nc.gz.md5\");\n transformer.registerFile(MMRTransformer.FILE_TYPE.MMR, tmpPath\n + \"FR-20070828-GOES11-OSDPD-L2P-GOES11_South_2352Z-v01.xml\");\n transformer.registerFile(MMRTransformer.FILE_TYPE.MMR_CHECKSUM,\n tmpPath\n + \"FR-20070828-GOES11-OSDPD-L2P-GOES11_South_2352Z-v01.xml.md5\");\n\n // example for creating a search path with remote and local URI\n String searchPath = host + path + \";\" + this._rootPath;\n transformer.setSearchPath(searchPath);\n transformer.setRootURI(\"ftp://foobar/pub/mydata\");\n\n ServiceProfile profile =\n transformer.transform(new URI(host + path\n + MMRTransformerTest._GOES_11_FILE_NAME));\n MMRTransformerTest._logger.debug(profile.toString());\n profile.toFile(\"/tmp/foo.xml\");\n } catch (MMRException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (URISyntaxException e) {\n e.printStackTrace();\n } catch (ServiceProfileException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "a7421f5308efd5d0644977fe6e557920", "score": "0.4925842", "text": "BFN createBFN();", "title": "" }, { "docid": "7faf200810ab4b37b79e2f70775f3147", "score": "0.4921782", "text": "Using createUsing();", "title": "" }, { "docid": "26a8e9f019dff513b1d3288e61a4aea9", "score": "0.4921041", "text": "public interface Iopenfp {\n}", "title": "" }, { "docid": "8274d17ed8ee8ea8ca295bc3c9c45eb1", "score": "0.4920905", "text": "public DefaultFileItemFactory()\n {\n }", "title": "" }, { "docid": "0f30717ab83e4f224edae67c5e359f1c", "score": "0.49168605", "text": "public File getFile ();", "title": "" }, { "docid": "6e9f19cf6feb86d3c7643481ba87409c", "score": "0.4901966", "text": "public abstract File getFile();", "title": "" }, { "docid": "73fcb8c195b5e24dbaf016a6e60a1ce6", "score": "0.48983696", "text": "interface Factory {\n\n /** @see #checkSupported */\n void factoryCheckSupported();\n\n /** @see #getInfo */\n abstract FileStoreInfo factoryGetInfo(String file)\n throws IOException;\n }", "title": "" }, { "docid": "770321baa37b512d1ae623a2b41f548f", "score": "0.48852968", "text": "public interface ImageFactory {\n /**\n * load image。call this method in LoadEngine\n * @param options\n */\n void load(LoaderOptions options);\n\n void clearMemory();\n\n}", "title": "" }, { "docid": "41a4a4c9ce34179c5f63f6d9fce30b52", "score": "0.48829162", "text": "public FloatProcessor createFloatProcessor() {\n\t\tFloatProcessor fp = new FloatProcessor(nx, ny) ;\n\t\tdouble[] pixels = getPixels();\n\t\tint size = pixels.length;\n\t\tfloat[] fsrc = new float[size];\n\t\tfor (int k=0; k<size; k++)\n\t\t\tfsrc[k] = (float)(pixels[k]);\n\t \tfp.setPixels(fsrc);\n\t \treturn fp;\n\t}", "title": "" }, { "docid": "8ee4bb520521d3b830e1450858bc55b0", "score": "0.4879972", "text": "public File getFile(String target);", "title": "" }, { "docid": "11dae5eb4630a31c835d36762afb94bd", "score": "0.48711345", "text": "public FiacreFactoryImpl()\n {\n super();\n }", "title": "" }, { "docid": "b7b808c442031ec08e3e92ea661b56c3", "score": "0.48661283", "text": "EPF createEPF();", "title": "" }, { "docid": "f7f34ff114c83980d83f32e34cff2edd", "score": "0.4865439", "text": "public FileDescriptor() {\n\n }", "title": "" }, { "docid": "e11f7456b1c2dd7294d9333b1a7694a9", "score": "0.48553985", "text": "public FileReaderJob()\r\n {\r\n\r\n }", "title": "" }, { "docid": "427079118626ad652675f14077bd061e", "score": "0.48515555", "text": "private VfsOperation initOperation(MessageContext messageContext) {\n VfsOperation op;\n String operation = resolveOperation(messageContext);\n if (\"copy\".equalsIgnoreCase(operation)) {\n op = new VfsCopy();\n } else if (\"move\".equalsIgnoreCase(operation)) {\n op = new VfsMove();\n } else {\n handleException(\"Not supported operation: \" + operation, messageContext);\n return null;\n }\n\n op.setSourceDirectory(resolveSourceDirectory(messageContext));\n op.setTargetDirectory(resolveTargetDirectory(messageContext));\n op.setFilePattern(resolveFilePattern(messageContext));\n op.setArchiveDirectory(resolveArchiveDirectory(messageContext));\n op.setCreateMissingDirectories(resolveCreateMissingDirectories(messageContext));\n op.setLockEnabled(resolveLockEnabled(messageContext));\n op.setStreamingTransfer(resolveStreamingTransfer(messageContext));\n op.setStreamingBlockSize(resolveStreamingBlockSize(messageContext));\n op.setUserDirIsRoot(resolveUserDirIsRoot(messageContext));\n boolean ftpPassiveMode = isFtpPassiveModeEnabled(messageContext);\n op.setFtpPassiveMode(ftpPassiveMode);\n op.setRetryCount(this.retryCount);\n op.setRetryWait(this.retryWait);\n op.setSftpTimeout(getSftpTimeoutValue());\n op.setTargetFilePrefix(resolveTargetFilePrefix(messageContext));\n op.setTargetFileSuffix(resolveTargetFileSuffix(messageContext));\n op.setArchiveFilePrefix(resolveArchiveFilePrefix(messageContext));\n op.setArchiveFileSuffix(resolveArchiveFileSuffix(messageContext));\n op.setSftpAuthKeyPath(resolveSftpAuthKeyPath(messageContext));\n return op;\n }", "title": "" }, { "docid": "b60fdcfb50a03db23ed470d66ba03eef", "score": "0.48326862", "text": "protected File deduceTestFile(String filename) throws SAFSException{\n\t\treturn FileUtilities.deduceFile(filename, FileUtilities.FILE_TYPE_TEST, iDriver().getCoreInterface());\n\t}", "title": "" }, { "docid": "cbaf8a2a105a1db75d3001e50d465ca8", "score": "0.4829311", "text": "public FileBean() { }", "title": "" }, { "docid": "5f93b2d841454065fb6af4d8b170f1ec", "score": "0.4823113", "text": "public FileParser() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "0cbb2ec032c33e356390584aeb058045", "score": "0.48224613", "text": "OSToolFactory getOSToolFactory();", "title": "" }, { "docid": "b95091339ff45a5331f47d8a145548b2", "score": "0.48045287", "text": "public File getFile() {\n // some code goes here\n return f;\n }", "title": "" }, { "docid": "7abb756bebff4140d2ff1802ed0d2f78", "score": "0.47966766", "text": "public FileIO() { }", "title": "" }, { "docid": "5ce78744479de371b51dccc736971d8e", "score": "0.47694382", "text": "GFARC createGFARC();", "title": "" }, { "docid": "1b63c49b2192189b5d3fb5a6b7edd208", "score": "0.47681275", "text": "public interface FileUploadersFactory {\n\n Collection<FileUploaderImpl> createFileUploaders(InputStream source) throws IOException;\n\n}", "title": "" }, { "docid": "16765b23ed2f1be9fc4b4692db8570a6", "score": "0.47424936", "text": "public File getFile();", "title": "" }, { "docid": "4db9de80c151a1084065d6cf85cbd7df", "score": "0.47398546", "text": "public SimpleFTP() {\n\n }", "title": "" }, { "docid": "ddebf14bf2db6f6683215e15da4ffda6", "score": "0.4737925", "text": "public logFile_result(logFile_result other) {\r\n }", "title": "" }, { "docid": "c99a12f499d7d1d2633b8403a6c76734", "score": "0.47362232", "text": "@Override\n\t\t\t public Result createOutput(String ns, String file) throws IOException\n\t\t\t {\n\t\t\t\t File file1 = new File(getPathConstants().getJaxPath_MO_xsd());\n\t\t\t\t // create stream result\n\t\t\t\t StreamResult result = new StreamResult(file1);\n\t\t\t\t // set system id\n\t\t\t\t result.setSystemId(file1.toURI().toURL().toString());\n\n\t\t\t\t // return result\n\t\t\t\t return result;\n\n\t\t\t }", "title": "" }, { "docid": "91b8cb5a80a8761a41e6216c4c3d3c35", "score": "0.47340003", "text": "FNNRG2 createFNNRG2();", "title": "" }, { "docid": "dd95c084b4d0bffa3342111064553c35", "score": "0.47337344", "text": "protected abstract String fileNameFactory();", "title": "" }, { "docid": "91ba9b7dd405bb0ccb4a526eb2e95c9e", "score": "0.47323546", "text": "public interface FileProcessor {\n public void processFile(FileDto fileDto);\n}", "title": "" }, { "docid": "6fd226ca8745b40ccab166a2dcb221c4", "score": "0.4719317", "text": "public static HFileMapReduceJobOutput newHFileMapReduceJobOutput() {\n return new HFileMapReduceJobOutput();\n }", "title": "" }, { "docid": "c9e799ffcc913662fc24987de7e1c51f", "score": "0.4717109", "text": "RIFFWave createRIFFWave();", "title": "" }, { "docid": "3b5f0d5056446c5f924c9b43c630a5d0", "score": "0.47127053", "text": "FileData getFile(String id) throws PMSException;", "title": "" }, { "docid": "284c17b3388eab564354edb5507a574d", "score": "0.4712401", "text": "@Override\n\t\tpublic Object createFromParcel(Parcel source) {\n\t\t\treturn new FileData(source);\n\t\t}", "title": "" }, { "docid": "5bde6f24898fee900d3f4e79532ddcd4", "score": "0.4709956", "text": "public synchronized SketchModelFactory getFactory() throws MalformedURLException {\r\n\t\tcreateTemplate();\r\n\t\tIModelNode<IDescriptor> model = (IModelNode<IDescriptor>) createModel();\r\n\t\tURLAieon urlAieon = new URLAieon( model.getData());\r\n\t\tURI path = ProjectFolderUtils.getParsedAieonFDir( urlAieon.getURIPath(), Activator.BUNDLE_ID);\r\n\t\tSketchModelFactory factory = SketchModelFactory.getFactory( path.getRawPath(), dispatcher.getActiveDomain() );\r\n\t\treturn factory;\r\n\t}", "title": "" }, { "docid": "30fedbe64210e129489cfd31fe878f89", "score": "0.47090465", "text": "public static Factory factory() {\n return ext_part::new;\n }", "title": "" }, { "docid": "547e32790b48c68a1d828ba9cdfaa64f", "score": "0.47057274", "text": "FNNRG createFNNRG();", "title": "" }, { "docid": "202a35651ccde0447d84161017c2f62a", "score": "0.47028533", "text": "PathFactory getPathFactory();", "title": "" }, { "docid": "6cf05b0c2a370aca9622cfdb99620409", "score": "0.46950516", "text": "public abstract File getOutputFile();", "title": "" }, { "docid": "bf6a41b62c2c3d377c1a64f4eccf9b90", "score": "0.4692616", "text": "@Test\n public void getJavaFileForOutputShouldProvideFileObjectWithClassNameAsURI() throws IOException {\n JavaFileObject javaFileForOutput = inMemoryFileManager.getJavaFileForOutput(StandardLocation.CLASS_OUTPUT, CLASS_NAME, Kind.CLASS, JAVA_SOURCE);\n assertEquals(URI.create(CLASS_NAME), javaFileForOutput.toUri());\n }", "title": "" }, { "docid": "1356c706cd69dd17e5b7fe0c4d4650db", "score": "0.4687489", "text": "protected File deduceDiffFile(String filename) throws SAFSException{\n\t\treturn FileUtilities.deduceFile(filename, FileUtilities.FILE_TYPE_DIFF, iDriver().getCoreInterface());\n\t}", "title": "" }, { "docid": "eb61c07c3b25ca101b6a910bcb301019", "score": "0.46840268", "text": "@Override\n public void onPostResult(PostFileResultBean bean) {\n }", "title": "" }, { "docid": "ed46dbc4bebb51929b56a0c22c21c2db", "score": "0.4680001", "text": "public interface FtlTransformFactory {\n\n TemplateModel getTransform(ClassLoader loader);\n\n}", "title": "" }, { "docid": "bdc4b0473886b3da49fa8388eaa91de6", "score": "0.46733475", "text": "@Override\n public File returnFile(long fId, String suffix) {\n return null;\n }", "title": "" }, { "docid": "812f5c1a30903ec86f667cb3b8afbd9a", "score": "0.4668011", "text": "public File retFile(){\n return retFile;\r\n }", "title": "" }, { "docid": "d19886d512c744f0931ed7bd7ca7fcf2", "score": "0.46669415", "text": "public Path analyze(Program p){\n\t\t//find class files\n\t\tPath classFilesRootPath = p.getCodeFilesRoot(); //Dependency Finder tool works on binary class files .\n\t\tCommandLine command = extract(classFilesRootPath,Paths.get(outputFile));\n\t\ttry{\n\t\t\tDependencyFinderResultHandler handler = runDependencyFinder(command);\n\t\t\thandler.waitFor();\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}catch(InterruptedException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\txmlfile =Paths.get(outputFile); \n\t\t//test if result file is actually created.\n\t\twaitForFileCreated(xmlfile);\n\t\treturn xmlfile;\n }", "title": "" }, { "docid": "279b4e5e383b831195138a5119fcf9f2", "score": "0.46578708", "text": "public interface TemporaryFileComponents {\n\n Files.TemporaryFileCreator tempFileCreator();\n}", "title": "" }, { "docid": "28e2e795a6b7b423be3928501769f5a1", "score": "0.46569884", "text": "@Override\n public IFileFragmentFactory getFileFragmentFactory() {\n if (this.fileFragmentFactory == null) {\n this.fileFragmentFactory = getObjectFactory().getNamedObject(\"fileFragmentFactory\", IFileFragmentFactory.class);\n if (this.fileFragmentFactory == null) {\n log.debug(\"Falling back to non application context based instantiation.\");\n this.fileFragmentFactory = getObjectFactory().instantiate(FileFragmentFactory.class);\n }\n }\n return this.fileFragmentFactory;\n }", "title": "" }, { "docid": "e25f524cd815239338b3a65229332038", "score": "0.46514568", "text": "protected void ruleOfFilepdf(FlutyRemoteApiRule rule) {\n }", "title": "" }, { "docid": "0fc65b1a4f8b460e6c2e22b3a447c5ae", "score": "0.4647207", "text": "private PSCloneFactory()\n {\n }", "title": "" }, { "docid": "952a3ff41c66ef9f09759a3e87cfa0d7", "score": "0.46428004", "text": "public OStorageOperationResult() {}", "title": "" }, { "docid": "5b86ab39b307cfc02451a43ef7f15fae", "score": "0.4642089", "text": "public FileVersificationMapping() {\n //no work to do.\n }", "title": "" }, { "docid": "5c7fcddbf21bea622e0d17de29cede30", "score": "0.4641298", "text": "public FileResource() {\n }", "title": "" }, { "docid": "1ec97233e0802d14128dca38310d8771", "score": "0.46373555", "text": "public static Factory factory() {\n return ext_cmd::new;\n }", "title": "" }, { "docid": "7bd5a6c0dcdf1c2f9a3d5232c3830ca9", "score": "0.4632994", "text": "public abstract Path getFile();", "title": "" }, { "docid": "d1aa3a2217dbb54ddd3e2fa08d76345c", "score": "0.46282342", "text": "String getFromFile();", "title": "" }, { "docid": "e1702461dadae26bfd1f1daf14b4c65e", "score": "0.46277073", "text": "public static HFileMapReduceJobOutput newHFileMapReduceJobOutput(FijiURI tableURI, Path path) {\n return new HFileMapReduceJobOutput(tableURI, path);\n }", "title": "" }, { "docid": "21eadbd9756fdf0c4e7fbe77311331e6", "score": "0.4627131", "text": "private Workbook WorkbookFactory(FileInputStream fis) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "22f7a1af6b0bc183eed28abfa475db98", "score": "0.46230948", "text": "public File() {\n\t}", "title": "" }, { "docid": "dfdd69af248105bf32d3a2f7d7470378", "score": "0.46070182", "text": "FNG createFNG();", "title": "" }, { "docid": "d56c4a7b0d5cfacc7478f28c65059e65", "score": "0.4606704", "text": "public void fObjOne() throws Exception{\n File f = new File(\"sample.txt\");\n\n // Creates a FileInputStream by opening a connection to the actual file f\n // If the named file does not exist, is a directory rather than a regular file, \n // or for some other reason cannot be opened for reading then a FileNotFoundException is thrown.\n FileInputStream fis = new FileInputStream(f);\n }", "title": "" }, { "docid": "92ed948673ea7bdfcac284380a01d913", "score": "0.46002972", "text": "public TransferredFileDao() {\n }", "title": "" }, { "docid": "611be52f987282d5bc4b25dfcb543234", "score": "0.46001825", "text": "public OutputFactory<T> getOutputFactory();", "title": "" } ]
99927914371509461d8f710dce839541
/ Kaprekar Number is a number whose square divided into two parts (none of the parts have only 0) and the sum of the parts is equal to the original number for example 45 is Kaprekar Number The square of 45 = 2025 sum of square of digits =20 + 25 = 45
[ { "docid": "75219847ecf6a6ccaaa8c3ea709e7798", "score": "0.57911474", "text": "public static void kaprekarNumber(int num) { // Static Method\n\t\tboolean bool = checkKaprekar(num);\t// call a method checkKaprekar which returns boolean value\n\t\tif(bool)\n\t\t\tSystem.out.println(\">> \"+ num +\" is Kaprekar Number\");\t//IF YES prints Kaprekar Number\n\t\telse\n\t\t\tSystem.out.println(\">> \"+ num +\" is NOT Kaprekar Number\"); //IF NO prints NOT Kaprekar Number\n\t}", "title": "" } ]
[ { "docid": "6f2c5084672164d57721806342d16513", "score": "0.7803387", "text": "static void kaprekarNumbers(int p, int q) {\n \t/*long n =0;\n \tlong ntemp = 0;\n \tlong sqNumCount = 0;\n \tlong sum = 0;\n \tlong digitCount = 0;\n \tlong div=1;\n \tint temp =0 ;\n \t\n \tfor(int i=p; i<=q; i++) {\n \t\tn=i*i;\n \t\tntemp=n;\n \t\twhile(n>0) {\n \t\t\tn = n/10;\n \t\t\tdigitCount++;\n \t\t} \n \t\tif(digitCount==1) {\n \t\t\tsqNumCount=0;\n \t\t}\n \t\telse if(digitCount%2==1) {\n \t\t\tdigitCount=digitCount+1;\n \t\t\tsqNumCount=digitCount/2;\n \t\t}\n \t\telse\n \t\t\tsqNumCount = digitCount/2;\n \t\tdigitCount=0;\n \t\tlong[] result = new long[2];\n \t\tfor(int j=0; j<sqNumCount; j++) {\n \t\t\tdiv=div*10;\n \t\t}\n \t\tif(sqNumCount==0)\n \t\t\tsum=ntemp/div;\n \t\t\n \t\telse {\n \t\t\tresult[0]=ntemp%div;\n \t\t\tresult[1]=(ntemp-result[0])/div;\n \t\t\tsum=(result[0]+result[1]);\n \t\t}\n \t\tdiv=1;\n \t\tif(sum==i) {\n \t\t\ttemp=1;\n \t\t\tSystem.out.print(i+ \" \");\n \t\t}\n \t\tsum=0;\n \t}\n if(temp==0) {\n\t\tSystem.out.println(\"INVALID RANGE\");\n }\n }*/\nboolean flag = false;//Denotes if a Kaprekar number has been found\n \n if(p == 1)//Handle the one case where a 1 digit square is a Kaprekar\n {\n System.out.print(1+\" \");\n flag = true;\n }\n \n \n for(long i = p; i <= q; i++)\n {\n long squareLong = i * i;\n String squareStr = String.valueOf(squareLong);\n \n if(squareStr.length() > 1)\n {\n long left = Long.parseLong(squareStr.substring(0,(int)Math.ceil(squareStr.length()/2)));\n long right = Long.parseLong(squareStr.substring((int)Math.ceil(squareStr.length()/2), squareStr.length()));\n if(left+right == i)\n {\n System.out.print(i+\" \");\n flag = true;\n }\n }\n }\n if(!flag)\n {\n System.out.println(\"INVALID RANGE\");\n }\n }", "title": "" }, { "docid": "1660bb866f792005bfe440f592c09d87", "score": "0.7162494", "text": "public static boolean checkKaprekar(int num) {\n\t\tint sqr, totalDigit, eqParts, sum=0;\n\t\tsqr = num * num;\t// holds square of number\n\t\t//gets count of total digit of square of number\n\t\ttotalDigit = DisariumNumber.countDigit(sqr);\t// call static method countDigit from DisariumNumber\n\t\t\n\t\tfor(int i=1;i<totalDigit;i++) {\n\t\t\teqParts = (int) Math.pow(10, i);\t\t// gets equal halves of Square\n\t\t\tif (eqParts == num) // if equal parts is same as number then skip that calculation\n continue; \t \n\t\t\t\n\t\t\tsum = (sqr / eqParts) + (sqr % eqParts);\t// gets sum of halves of square\n\t\t\t\n\t\t\tif(sum == num) // check if sum of firstHalf and secondHalf is exactly same as number\n\t\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "0c1787fd4eff4931991612fdab7ba5d1", "score": "0.60972697", "text": "public long calSumSq(long n, long k){\n\t\tlong Sum;\n\t\tSum = sqPyramid(n+k-1) - sqPyramid(n) + square(n);\n\t\t\n\t\treturn Sum;\n\t}", "title": "" }, { "docid": "936fd007755536a7c69559871807cdda", "score": "0.5968352", "text": "static int superDigit(String n, int k) {\n long superDigitN = findSuperDigit(n);\n long mult = superDigitN * k;\n long superDigitTotal = findSuperDigit(mult + \"\");\n return (int) superDigitTotal;\n }", "title": "" }, { "docid": "ecb5135d6fa6b90df0bca4f022a555c9", "score": "0.59560865", "text": "public static long solve(int n, int k) {\n // Write your code here\n long total = 0;\n for(int i = 0;i <= k / 2;i++)\n {\n long num = n / k;\n if(n % k >= i && i != 0)\n num++;\n if(i == 0 || i + i == k)\n total += num * (num - 1) / 2;\n else\n {\n long num2 = n / k;\n if(n % k >= (k - i))\n num2 ++;\n total += num * num2;\n }\n }\n return total; \n }", "title": "" }, { "docid": "186690bb7349fe38de446fa2c4e56880", "score": "0.59172875", "text": "public static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\r\n String[] NQ = sc.nextLine().split(\" \");\r\n int N = Integer.parseInt(NQ[0]);\r\n int Q = Integer.parseInt(NQ[1]);\r\n int[] data = new int[N+1];\r\n Map<Integer,Integer> map = new HashMap<Integer,Integer>();\r\n String strData[] = sc.nextLine().split(\" \");\r\n for (int i = 1; i <= N; i++) {\r\n \r\n data[i] = Integer.parseInt(sumOfDigit(strData[i-1]));\r\n if(map.get(data[i])==null){\r\n map.put(data[i],1);\r\n }\r\n else{\r\n map.put(data[i],map.get(data[i])+1);\r\n }\r\n }\r\n \r\n String[] QK; \r\n for(int i=0;i<Q;i++){\r\n QK = sc.nextLine().split(\" \");\r\n if(Integer.parseInt(QK[0])==1){\r\n int K = Integer.parseInt(QK[1]);\r\n int sum=0;\r\n for(int k=9;k>=0&&K>0;k--){\r\n \r\n if(map.get(k)!=null){\r\n if(map.get(k)>=K){\r\n sum+=k*K;\r\n K=0;\r\n }\r\n else{\r\n sum+=k*map.get(k);\r\n K = K-map.get(k);\r\n }\r\n }\r\n \r\n }\r\n System.out.println(sum);\r\n }\r\n else{\r\n int K = Integer.parseInt(QK[1]);\r\n int sum=0;\r\n for(int k=0;k<=9&&K>0;k++){\r\n \r\n \r\n if(map.get(k)!=null){\r\n if(map.get(k)>=K){\r\n sum+=k*K;\r\n K=0;\r\n }\r\n else{\r\n sum+=k*map.get(k);\r\n K = K-map.get(k);\r\n }\r\n }\r\n \r\n }\r\n System.out.println(sum);\r\n }\r\n }\r\n\r\n \r\n }", "title": "" }, { "docid": "26938dcdd3c2ea85ae0b986f24131ba6", "score": "0.58870226", "text": "static int superDigit(String n, int k) {\n\n\n n = n.chars().mapToLong(Character::getNumericValue).sum() * k\n + \"\";\n return (n.length() > 1) ? superDigit(n, 1) :\n Character.getNumericValue(n.charAt(0));\n }", "title": "" }, { "docid": "1aeb17c1f2c58f7005e2963e07adfd06", "score": "0.5778371", "text": "long firstkdigits (int n, int b, int k)\n {\n double product = b * Math.log10 (n);\n\n /* We will now try to separate the decimal\n and integral part of the /product. The\n floor function returns the smallest integer\n less than or equal to the argument. So in\n this case, product - floor(product) will\n give us the decimal part of product */\n double decimal_part = product - Math.floor (product);\n\n // we will now exponentiate this back by\n // raising 10 to the power of decimal part\n decimal_part = Math.pow (10, decimal_part);\n\n /* We now try to find the power of 10 by\n which we will have to multiply the decimal\n part to obtain our final answer */\n double digits = Math.pow (10, k - 1), i = 0;\n\n return ((long) (decimal_part * digits));\n }", "title": "" }, { "docid": "1c87a7dd733a4c4cc48e7ac9a333180e", "score": "0.571394", "text": "public static void main(String[] args) {\n\n\t\tSystem.out.println(\"Enter Number: \");\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint number = sc.nextInt();\n\t\tint k = number;\n\t\tint sum=0;\n\t\t\n\t\twhile(number/10 != 0){\n\t\t\tnumber = number/10;\n\t\t\tsum = sum + number%10;\n\t\t\t\n\t\t}\n\t\t\n\t\tsum = sum+number;\n\n\t\tSystem.out.println(\"Sum of the digits of \" + k + \" is \" + sum +\".\");\n\t}", "title": "" }, { "docid": "d614dc55e7e8d258eb1752c1454b8a28", "score": "0.56560636", "text": "public static String karatsuba(String x, String y)\r\n {\n \tif (x.length() <= 2 && y.length() <= 2)\r\n {\r\n \t\treturn String.valueOf(Integer.valueOf(x)*Integer.valueOf(y));\r\n }\r\n \r\n int n = Math.max(x.length(), y.length());\r\n //find middle point of the digits//\r\n int m = n / 2;\r\n int m1=x.length() - m;\r\n int m2=y.length() - m;\r\n if(m1<0)\r\n {\r\n \tm1=0;\r\n }\r\n if(m2<0)\r\n {\r\n \tm2=0;\r\n }\r\n String a = x.substring(0, m1);\r\n if(a.isEmpty())\r\n {\r\n \ta=\"0\";\r\n }\r\n String b = x.substring(m1);\r\n String c = y.substring(0, m2);\r\n if(c.isEmpty())\r\n {\r\n \tc=\"0\";\r\n }\r\n String d = y.substring(m2);\r\n String S1 = karatsuba(a, c);\r\n String S3 = karatsuba(sumString(a,b), sumString(c,d));\r\n String S2 = karatsuba(b, d);\r\n String S4 = diffString(diffString(S3, S2), S1);\r\n String S5 = sumString(sumString(appendZero(S1, m * 2), S2), appendZero(S4, m));\r\n //2m is x.length//\r\n return S5;\r\n \r\n }", "title": "" }, { "docid": "314aa220208644e41d77856dd8afb621", "score": "0.565188", "text": "public int solution(int A, int B, int K) {\n int num_B = (int) Math.floor( B/K );\n // note: take \"Math.floor\" which is the basic number\n \n // number of divisible values smaller than A\n int num_A = (int) Math.floor( A/K );\n // note: take \"Math.floor\" which is the basic number\n \n // number of divisible numbers\n int num_div = num_B - num_A;\n \n // note: plus one (if A % K == 0)\n // because \"A\" is also divisble \n // without \"plus\", \"A\" will be deducted\n int plus = 0;\n if(A % K == 0)\n plus = 1;\n \n // num_div + plus\n num_div = num_div + plus;\n \n // return the number of K-divisible values between A and B\n return num_div;\n }", "title": "" }, { "docid": "0b4bf84493e7b986ca107175f44b43b4", "score": "0.56215864", "text": "int digitsManipulations(int n) {\n int product = 1;\n int sum = 0;\n int curr = n;\n\n while (curr > 0) {\n int now = curr % 10;\n sum = (sum + now);\n product = (product * now);\n curr = (curr / 10);\n }\n\n return (product - sum);\n\n }", "title": "" }, { "docid": "da11277c4f0ba52c12366eaa927de990", "score": "0.5597632", "text": "public static long firstkdigits(int n, int k) \n { \n //take log10 of n^n. \n // log10(n^n) = n*log10(n) \n double product = n * Math.log10(n); \n \n /* We will now try to separate the decimal \n and integral part of the /product. The \n floor function returns the smallest integer \n less than or equal to the argument. So in \n this case, product - floor(product) will \n give us the decimal part of product */\n double decimal_part = product - Math.floor(product); \n \n // we will now exponentiate this back by \n // raising 10 to the power of decimal part \n decimal_part = Math.pow(10, decimal_part); \n \n /* We now try to find the power of 10 by \n which we will have to multiply the decimal \n part to obtain our final answer*/\n double digits = Math.pow(10, k - 1), i = 0; \n \n return ((long)(decimal_part * digits)); \n }", "title": "" }, { "docid": "40cf27a46809e49e2d4ff4da097e9620", "score": "0.55640864", "text": "static int formingMagicSquare(int[][] s) {\n int magicSum=15, n=s.length, cost=n*n, tempCost=0, dif=0, ele1=0, ele2=0;\n \n List<Integer>elements=new ArrayList<Integer>();\n List<Integer>costs=new ArrayList<Integer>();\n List<int [][]>magicSquares=new ArrayList<int [][]>();\n int [][] magicSquare=new int [n][n];\n int [][] temp=new int [n][n];\n int mid=(n+1)/2;\n\n // for(int i=mid; i<n*n; i+=n)\n // magicSum+=i;\n int midEle=magicSum/n;\n for(int i=0; i<n*n; i++){\n elements.add(i, i+1!=midEle?i+1:0);\n }\n magicSquare[mid-1][mid-1]=midEle;\n magicSquare[mid-1][0]=1;\n magicSquare[mid-1][n-1]=n*n;\n\n for(int i=0; i<n; i++){\n for(int j=0; j<n; j++){\n \n if(magicSquare[i][j]==0&&i!=mid-1){\n dif=magicSum-magicSquare[mid-1][j];\n for(int k=0; k<elements.size(); k++){\n ele1=elements.get(k);\n if(ele1!=0)\n for(int l=0; l<elements.size(); l++){\n \n ele2=elements.get(l);\n \n if(k!=l&&ele2!=0){\n \n if(ele1+ele2==dif){\n \n if(j!=mid-1&&ele1>ele2){\n magicSquare[i][j]=ele1;\n magicSquare[n-1][j]=ele2;\n }else if(j==mid-1&&ele1>ele2){\n magicSquare[i][j]=ele2;\n magicSquare[n-1][j]=ele1;\n }else if(j==mid-1&&ele1<ele2){\n magicSquare[i][j]=ele1;\n magicSquare[n-1][j]=ele2;\n }else{\n magicSquare[i][j]=ele2;\n magicSquare[n-1][j]=ele1;\n }\n \n elements.set(k, 0);\n elements.set(l, 0);\n \n }\n }\n }\n }\n }\n }\n }\n magicSquares.add(magicSquare);\n cost=0;\n for(int i=0; i<n; i++){\n for(int j=0; j<n; j++){\n temp[i][j]=magicSquare[n-i-1][j];\n if(s[i][j]!=temp[i][j])\n cost+=Math.abs(s[i][j]-temp[i][j]);\n }\n }\n costs.add(cost);\n magicSquares.add(temp);\n cost=0;\n for(int i=0; i<n; i++){\n for(int j=0; j<n; j++){\n temp[i][j]=magicSquare[i][n-j-1];\n if(s[i][j]!=temp[i][j])\n cost+=Math.abs(s[i][j]-temp[i][j]);\n }\n }\n costs.add(cost);\n magicSquares.add(temp);\n cost=0;\n int temp1[][]=magicSquares.get(magicSquares.size()-1);\n for(int i=0; i<n; i++){\n for(int j=0; j<n; j++){\n temp[i][j]=temp1[i][n-j-1];\n if(s[i][j]!=temp[i][j])\n cost+=Math.abs(s[i][j]-temp[i][j]);\n }\n }\n costs.add(cost);\n magicSquares.add(temp);\n cost=0;\n for(int i=3; i<magicSquares.size(); i++, cost=0){\n int temp2[][]=magicSquares.get(i);\n for(int j=0; j<temp2.length; j++)\n for(int k=0; k<temp2.length; k++){\n temp[j][k]=temp2[k][j];\n if(s[j][k]!=temp[k][j])\n cost+=Math.abs(s[j][k]-temp[j][k]);\n }\n costs.add(cost);\n magicSquares.add(temp);\n }\n cost=0;\n for(int i=0; i<n; i++)\n for(int j=0; j<n; j++)\n if(s[i][j]!=magicSquare[i][j])\n cost+=Math.abs(s[i][j]-magicSquare[i][j]);\n costs.add(cost);\n cost=Collections.min(costs);\n System.out.println(\"min->\"+cost);\n return cost;\n \n }", "title": "" }, { "docid": "d1af8eca1d376f50f8f9fc896d1e0d72", "score": "0.5544896", "text": "@Test\n public void armstrongNumber() {\n int num = 153;\n int cubeSum = 0, temp;\n temp = num;\n while (num > 0) {\n int remainder = num % 10;\n int quotient = num / 10;\n System.out.println(remainder);\n num = quotient;\n cubeSum = cubeSum + (remainder * remainder * remainder);\n }\n if (temp == cubeSum) {\n System.out.println(\"Number \" + temp + \" is Armstrong\");\n } else {\n System.out.println(\"Number \" + temp + \" is NOT Armstrong\");\n }\n }", "title": "" }, { "docid": "02ad58251e4414164dc4724dc248355d", "score": "0.553259", "text": "private void fun(int n, int k, int e) {\n if (n == 0) {\n // System.out.println(\"[\"+index+\"] \"+ e);\n ans[index++] = e;\n return;\n }\n int rest = e % 10;\n int newE = e * 10 + rest;\n if (rest + k <= 9) {\n fun(n - 1, k, newE + k);\n }\n if (k != 0 && rest - k >= 0) {\n fun(n - 1, k, newE - k);\n }\n }", "title": "" }, { "docid": "52225eb3c333b382fd201315b9889f0a", "score": "0.5502258", "text": "public String addition(int k, String a, String b) {\n int aLen = a.length();\r\n int bLen = b.length();\r\n int maxLen = aLen < bLen ? bLen :aLen;\r\n int tmp = 0;\r\n int res = 0; \r\n StringBuffer sb = new StringBuffer();\r\n for(int i = 1; i<= maxLen; i++){\r\n Integer aPart = new Integer(0);\r\n Integer bPart = new Integer(0);\r\n if(aLen-i > -1){\r\n aPart = Integer.parseInt(a.charAt(aLen-i)+\"\");\r\n } \r\n if(bLen-i > -1){\r\n bPart = Integer.parseInt(b.charAt(bLen-i)+\"\");\r\n } \r\n System.out.println(\"=\"+aPart);\r\n System.out.println(\"=\"+bPart);\r\n int sum = tmp+aPart+bPart;\r\n System.out.println(sum);\r\n if(sum >= k){\r\n res = sum - k;\r\n tmp = 1;\r\n }else{\r\n tmp = 0;\r\n res = sum;\r\n }\r\n System.out.println(res);\r\n sb.append(res);\r\n }\r\n if(0!=tmp){\r\n sb.append(tmp);\r\n } \r\n //前导零处理\r\n sb = sb.reverse();\r\n for(int i=0; i<sb.length();i++){\r\n \tif('0' == sb.charAt(i)){\r\n \t\tsb.deleteCharAt(i);\r\n \t\ti--;\r\n \t\tcontinue;\r\n \t}\r\n \tif('0' != sb.charAt(i)){\r\n \t\tbreak;\r\n \t}\r\n }\r\n return sb.toString();\r\n }", "title": "" }, { "docid": "b65781b51fc89845a0bba364f611ab9a", "score": "0.54964095", "text": "public static void main(String[] args) {\n\t\tint i = 153;\r\n\t\tint calculated = 0, remainder = 0, original;\r\n\t\toriginal = i;\r\n\t\twhile (original > 0) {\r\n\t\t\tremainder = original % 10;\r\n\t\t\toriginal = original / 10;\r\n\t\t\tcalculated = calculated + (remainder * remainder * remainder);\r\n\t\t}\r\n\t\tSystem.out.println(i);\r\n\t\tSystem.out.println(calculated);\r\n\t\tif (calculated == i) {\r\n\t\t\tSystem.out.println(\"given number is a armstrong number\");\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"givan number is not an armstrong number\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "85fd6e07b0e62541228e55abb6bbc2ff", "score": "0.5485824", "text": "public int digitCounts(int k, int n) {\n // write your code here\n \n if (n < 0) {\n return 0;\n }\n \n int sum = 0;\n for (int i = 0; i <= n; i++) {\n int temp = i;\n while (temp > 0) {\n if (temp % 10 == k) {\n sum += 1;\n }\n temp /= 10;\n }\n }\n return sum;\n }", "title": "" }, { "docid": "23345303ec0449ff597f2e31695d8eee", "score": "0.54792243", "text": "public static void main(String[] args) {\n String bigNumber = \"7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450\";\n\n //Problem8 p = new Problem8();\n\n // save our maximum product- it can be no larger than 9**CONSEC_LENGTH\n int maxProduct = 0;\n\n // loop through length of string, minus CONSEC_LENGTH\n for (int i = 0; i < (bigNumber.length() - CONSEC_LENGTH); ++i) {\n //System.out.println(\"i: \" + i);\n\n // assemble our substring\n String consecStr = bigNumber.substring(i, i+CONSEC_LENGTH);\n\n int currProduct = 1;\n // loop through substring\n for (int j = 0; j < consecStr.length(); ++j) {\n // convert char to integer, find product of substring\n int currInt = Character.digit(consecStr.charAt(j), 10);\n currProduct *= currInt;\n }\n\n // greater than max? save it.\n if (currProduct > maxProduct) {\n System.out.println(\"new max: \" + currProduct + \" .. substring was: \" + consecStr);\n maxProduct = currProduct;\n }\n }\n\n // output our max product\n System.out.println(\"max product: \" + maxProduct);\n\n }", "title": "" }, { "docid": "27b21083277224d1298cae19f8e1dbae", "score": "0.54742384", "text": "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString number = sc.nextLine();\n\t\tint num = Integer.parseInt(number);\n\n\t\tint lengthOfn = number.length(); // length of String\n\t\tint sum = 0;\n\t\tint ret = num;\n\n\t\tfor (int i = 0; i < lengthOfn; i++) {\n\t\t\tSystem.out.println(lengthOfn - i -1);\n\t\t\tSystem.out.println(10^(lengthOfn - i -1));\n\t\t\tSystem.out.println(10^2);\n\t\t\tSystem.out.println(Math.pow(10, i));\n\t\t\tsum += ret / Math.pow(10, lengthOfn - i -1) * Math.pow(10, i) ; // by multiplying 10^, set position\n\t\t\tret = ret % 10^(lengthOfn - i - 1);\n\t\t\tSystem.out.println(num);\n\t\t\tSystem.out.println(sum);\n\t\t\tSystem.out.println(ret);\n\n\t\t\t\n\t\t}\n\t\tSystem.out.println(sum);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "943d221e244c902171f560d8a1e33c5c", "score": "0.54639715", "text": "public static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n int tests=sc.nextInt();\n for(int x=0;x<tests;x++){\n // String str=sc.next().split(\" \");\n int n =sc.nextInt();\n int m=sc.nextInt();\n int[] arr = new int[16];\n \n char c = sc.next().charAt(0); \n int i=0;\n while(n!=0){\n arr[i++] = n%2;\n n/=2;\n }\n String s = \"\";\n for(int j=15;j>-1;j--){\n s+=arr[j]; \n }\n if(c=='L'){\n s = s.substring(m)+s.substring(0,m);\n }\n else{\n s = s.substring(s.length()-m)+s.substring(0,s.length()-m);\n }\n double ans = 0.0;\n int k = 0;\n for(int j=s.length()-1;j>-1;j--){\n ans+=Integer.parseInt(String.valueOf(s.charAt(j)))*Math.pow(2,k);\n k++;\n }\n System.out.println((int)ans);\n }\n }", "title": "" }, { "docid": "0058d2e1d5fc83899d5b195f08ce6ec8", "score": "0.5451423", "text": "public static long halloweenParty(int k) {\n // Write your code here\n if (k % 2 == 0) {\n long res = k / 2;\n return res * res;\n } else {\n long res = k / 2;\n return res * (res + 1);\n }\n }", "title": "" }, { "docid": "42b0bf0be50e6022078813bc8c918c44", "score": "0.544876", "text": "public int solution(int A, int B, int K) {\n int result = B / K + 1;\n if (A != 0) {\n result -= ((A - 1) / K + 1);\n }\n return result;\n\n }", "title": "" }, { "docid": "c867197682ab5dc2af73df959c203d8f", "score": "0.540141", "text": "private List<Integer> addToArrayFormByMathAndArray(int[] A, int K){\n\n List<Integer> ret = new ArrayList<>();\n if(K < 0){\n return ret;\n }\n\n // arraylist form K\n List<Integer> KList = new ArrayList<>();\n while(K > 0){\n KList.add(0, K % 10);\n K = K / 10;\n }\n\n // special case\n if(A == null || A.length == 0){\n return KList;\n }\n\n // convert array A to AList\n // List<Integer> AList = Arrays.asList(A); // stupid Java\n List<Integer> AList = new ArrayList<>();\n for(int v: A){\n AList.add(v);\n }\n\n int sum = 0; // 每个位置的和\n int carry = 0; // 每个位置的进位\n int i = AList.size() - 1;\n int j = KList.size() - 1;\n int vA = 0; // 每个位置A的值\n int vK = 0;// 每个位置K的值\n while(i >= 0 || j >= 0){\n if(i < 0){\n vA = 0;\n }else{\n vA = AList.get(i);\n }\n\n if(j < 0){\n vK = 0;\n }else{\n vK = KList.get(j);\n }\n\n sum = (vA + vK + carry) % 10;\n carry = (vA + vK + carry) / 10;\n\n // collect\n ret.add(0, sum);\n\n // move index\n i--;\n j--;\n }\n\n if(carry != 0){\n ret.add(0, carry);\n }\n\n return ret;\n\n }", "title": "" }, { "docid": "f5a5a772a509a24d540310e61a6e428d", "score": "0.53765947", "text": "static String maximumPalinUsingKChanges(String str, int k) { \n\t\tchar palin[] = str.toCharArray(); \n\t\tString ans = \"\"; \n\t\t// Iinitialize l and r by leftmost and \n\t\t// rightmost ends \n\t\tint l = 0; \n\t\tint r = str.length() - 1; \n\n\t\t// first try to make String palindrome \n\t\twhile (l < r) { \n\t\t\t// Replace left and right character by \n\t\t\t// maximum of both \n\t\t\tif (str.charAt(l) != str.charAt(r)) { \n\t\t\t\tpalin[l] = palin[r] = (char) Math.max(str.charAt(l), \n\t\t\t\t\t\t\t\t\t\tstr.charAt(r)); \n\t\t\t\tk--; \n\t\t\t} \n\t\t\tl++; \n\t\t\tr--; \n\t\t} \n\n\t\t// If k is negative then we can't make \n\t\t// String palindrome \n\t\tif (k < 0) { \n\t\t\treturn \"Not possible\"; \n\t\t} \n\n\t\tl = 0; \n\t\tr = str.length() - 1; \n\n\t\twhile (l <= r) { \n\t\t\t// At mid character, if K>0 then change \n\t\t\t// it to 9 \n\t\t\tif (l == r) { \n\t\t\t\tif (k > 0) { \n\t\t\t\t\tpalin[l] = '9'; \n\t\t\t\t} \n\t\t\t} \n\n\t\t\t// If character at lth (same as rth) is \n\t\t\t// less than 9 \n\t\t\tif (palin[l] < '9') { \n\t\t\t\t/* If none of them is changed in the \n\t\t\tprevious loop then subtract 2 from K \n\t\t\tand convert both to 9 */\n\t\t\t\tif (k >= 2 && palin[l] == str.charAt(l) \n\t\t\t\t\t\t&& palin[r] == str.charAt(r)) { \n\t\t\t\t\tk -= 2; \n\t\t\t\t\tpalin[l] = palin[r] = '9'; \n\t\t\t\t} /* If one of them is changed in the previous \n\t\t\t\tloop then subtract 1 from K (1 more is \n\t\t\t\tsubtracted already) and make them 9 */\n\t\t\telse if (k >= 1 && (palin[l] != str.charAt(l) \n\t\t\t\t\t\t|| palin[r] != str.charAt(r))) { \n\t\t\t\t\tk--; \n\t\t\t\t\tpalin[l] = palin[r] = '9'; \n\t\t\t\t} \n\t\t\t} \n\t\t\tl++; \n\t\t\tr--; \n\t\t} \n\t\tfor(int i = 0;i<palin.length;i++) \n\t\t\tans+=palin[i]; \n\t\treturn ans; \n\t}", "title": "" }, { "docid": "837cbe882db170b594935fea1dd1dd1c", "score": "0.535847", "text": "private static int sumOfSubstrings_2(String num) {\n\t\tint n=num.length();\n\t\tlong sum = 0;\n\t\tlong mf = 1; \n\t\tfor(int i = num.length() - 1; i >= 0; i --) {\n\t\t\t sum += (num.charAt(i) - '0') * (i + 1) * mf;\n\t\t\t mf = mf * 10 + 1; \t\t\t\n\t\t}\n\t\treturn (int)sum;\n\t}", "title": "" }, { "docid": "bbb2e27481dc7b126c3a00cb6636c6e0", "score": "0.53567356", "text": "public String removeKdigits2(String num, int k) {\n int len = num.length();\n if (k >= len) return \"0\";\n\n if (k <= 0) return num;\n\n Stack<Character> stack = new Stack<>();\n char[] chars = num.toCharArray();\n int i = 0;\n while (k > 0 && i < chars.length) {\n char c = chars[i];\n if (stack.isEmpty() || c >= stack.peek()) {\n stack.push(c);\n i++;\n } else {\n stack.pop();\n k--;\n }\n }\n while (k-- > 0) {\n stack.pop();\n }\n StringBuilder sb = new StringBuilder();\n while (!stack.isEmpty()) {\n sb.insert(0, stack.pop());\n }\n sb.append(num.substring(i));\n while (sb.length() > 1 && sb.charAt(0) == '0') {\n sb.deleteCharAt(0);\n }\n return sb.toString();\n }", "title": "" }, { "docid": "4705d24cbb5accd4770376b51a7ac326", "score": "0.5344389", "text": "public static void main (String[] args){\n Scanner in=new Scanner(System.in);\n int n=in.nextInt();\n int count=0,num=n;\n double sum=0;\n if(n==0)\n System.out.println(\"Armstrong Number\");\n else\n {\n for(;n>0;count++)\n \n {\n \n n=n/10;\n }\n \n }\n n=num;\n while(n>0)\n {\n int last_digit=n%10;\n sum=sum+Math.pow(last_digit,count);\n n=n/10;\n }\n if(sum==num)\n {\n System.out.println(\"Armstrong Number\");\n }\n else\n {\n System.out.println(\"Not a Armstrong Number\");\n }\n\t}", "title": "" }, { "docid": "ca7f801d9829bbf60b3c64f3897ee469", "score": "0.53295434", "text": "public double KilogramsToPounds(double kg)\n {\n double conversionFactor = 2.20462;\n return (kg * conversionFactor);\n }", "title": "" }, { "docid": "c7ee631919427f7b7102f09c59f52992", "score": "0.5318526", "text": "public static int solution(int A, int B, int K) {\n\t\treturn B/K - A/K+(A%K==0?1:0);\n }", "title": "" }, { "docid": "9e4a5c381f2ab38757538c1eec3d672c", "score": "0.53140426", "text": "private static int numSquareSum(int num){\n int squareSum = 0;\n while (num != 0){\n squareSum += (num%10) * (num%10);\n num /= 10;\n }\n\n return squareSum;\n }", "title": "" }, { "docid": "72729cc7a381ea9596f3595fe431ffa0", "score": "0.5305224", "text": "void function1(int k){\n int size = 10;\n int sum = 0;\n int[] mass = createRandomIntMass(size);\n printIntMass(mass);\n System.out.print(\"elements multiple to \" + k + \": \");\n for (int value : mass) {\n if (value % k == 0) {\n System.out.print(value + \" \");\n sum += value;\n }\n }\n System.out.println(\"\\nsum = \" + sum);\n }", "title": "" }, { "docid": "336b38050dbd8acf6d2e30734000ef8e", "score": "0.529108", "text": "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"Enter the Positive Integer\");\r\n\t\tint n = s.nextInt();\r\n\t\t\r\n\t\tSystem.out.println(\"Enter the K value for rotation\");\r\n\t\tint k = s.nextInt();\r\n\t\t\r\n\t\tint n1 = n,count=0;\r\n\t\twhile(n1>=1) {\r\n\t\t\tcount++;\r\n\t\t\tn1 = n1/10;\r\n\t\t}\r\n\t\tSystem.out.println(\"Number of digits in the integer = \"+count);\t\t\r\n\t\twhile(k<0){\r\n\t\t\tk = k+count;\r\n\t\t}\r\n\t\tk = k%count;\r\n\t\tSystem.out.println(\"Absolute K value for rotation = \"+ k);\r\n\r\n\t\tint rot = 0;\r\n\t\twhile(k>0) {\r\n\t\t\tint rem = n%10;\r\n\t\t\tint num = n/10;\r\n\t\t\trot = num+ rem*(int)Math.pow(10, count-1);\r\n\t\t\tn = rot;\r\n\t\t\tk--;\r\n\t\t}\r\n\t\tSystem.out.println(\"Rotated number is = \"+rot);\r\n\r\n\t}", "title": "" }, { "docid": "7d482a1127511f7b1e6e7df49c12747a", "score": "0.52903897", "text": "static double funkcija(Double n, Double k) {\n\t\tdouble s = 0;\n\n\t\tfor (double i = 1; i < n + 1; i++) {\n\t\t\ts += i / (k + (i - 1)); // 2.814285714285714\n\t\t} \n\t\ts += (n+1) / (n+k); // 0.75\n\t\t \n\t\treturn s;\n\t}", "title": "" }, { "docid": "7c1495a516c207b1efc4cae9bc17d2d6", "score": "0.52849853", "text": "private static int calcCheckDigit(String digits) {\n \n // Step 1 and 2: double the even-positioned digits, take the digits of each result,\n // and sum them with the odd-positioned digits.\n \n int digit_sum = 0;\n int curr_digit = 0;\n for (int i = 0; i < digits.length(); i++) {\n curr_digit = Integer.parseInt(digits.substring(i, i+1));\n if (i % 2 == 0) {\n // odd-positioned digit; add directly\n digit_sum += curr_digit;\n }\n else {\n // even-positioned digit; double first\n curr_digit *= 2;\n if (curr_digit < 10) {\n // if the doubling results in a number < 10, simply add that number\n digit_sum += curr_digit;\n }\n else {\n // if the doubling results in a number >= 10, it will still be < 20,\n // so the two digits will be 1, and the result modulo 10\n digit_sum += (1 + curr_digit % 10);\n }\n }\n }\n \n // Step 3 and 4: multiply by 9, take the last digit, and return the result\n return (digit_sum * 9) % 10;\n \n }", "title": "" }, { "docid": "fa540f44309b3912b3c0b0d52ea1a791", "score": "0.52805877", "text": "public String euler9() {\n\t\tfor (int a = 1; a + a + 1 + a + 1 + 1 <= 1000; a++) {\n\t\t\tfor (int b = a + 1; a + b + b + 1 <= 1000; b++) {\n\t\t\t\tfor (int c = b + 1; a + b + c <= 1000; c++) {\n\t\t\t\t\tif (Math.pow(a, 2) + Math.pow(b, 2) == Math.pow(c, 2) && (a + b + c) == 1000) {\n\t\t\t\t\t\treturn Long.toString(a * b * c);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn \"Fail\";\n\t}", "title": "" }, { "docid": "098e3c4019e80a3ce7b2820e2287ca95", "score": "0.5263924", "text": "private static int sumOfSubstrings(String num) {\n\t\tint n=num.length();\n\t\tint sumofdigit[] = new int[n];\n\t\tsumofdigit[0] = num.charAt(0)-'0'; \n int res = sumofdigit[0]; \n \n for (int i = 1; i < n; i++) {\n \tint numi =num.charAt(i)-'0';\n \tsumofdigit[i] = (i+1) * numi + 10 * sumofdigit[i-1];\n \tres += sumofdigit[i];\n }\n \n return res%1000000007;\n\t}", "title": "" }, { "docid": "2fe176e372ddb91985f4de69425848e1", "score": "0.5262451", "text": "public static void main(String [] args){\n int c=0,a,temp,b = 1;\n int n;\n\n //For code to read from screen and user input\n Scanner scanner = new Scanner(System.in);\n\n //please enter any no (user no)\n System.out.print(\" Please Enter Any =\");\n\n //print and read\n n=scanner.nextInt();\n System.out.println(\"you entered \" + n);\n\n int len = String.valueOf(n).length();\n //System.out.println(\"length of the Number\"+len);\n\n temp = n;\n\n while(n>0)\n {\n a=n%10; //To get the last number eg12345 5 is the last number.\n n=n/10; //n is the new number eg 1234\n //System.out.println(\"Value of n=n/10; \"+ n);\n //System.out.println(\"49 Value of c \"+c);\n\n b = (int) Math.pow(a, len);\n c=c+(b);\n\n //System.out.println(\"Value of c =c+(b) \"+c);\n }\n if(temp==c)\n System.out.println(temp + \" Is an armstrong number\");\n else\n System.out.println(temp + \" Is Not an armstrong number\");\n }", "title": "" }, { "docid": "273ff4bf74923d841be80ed275036375", "score": "0.52525604", "text": "static int numSquareSum(int n)\n {\n int squareSum = 0;\n while (n!= 0)\n {\n squareSum += (n % 10) * (n % 10);\n n /= 10;\n }\n return squareSum;\n }", "title": "" }, { "docid": "e4ee3b55b0e9fbd1f84dccccb3fd5afd", "score": "0.5242492", "text": "public static void main(String[] args) {\n\t\tString a=\"11\";\r\n\t\tString b=\"11\";\r\n\t\t\r\n\t\t BigInteger aa = new BigInteger(a,2);\r\n\t\t //converting to biginteger\r\n\t\t System.out.println(\"aa= \"+aa);\r\n\t BigInteger bb = new BigInteger(b,2);\r\n\t System.out.println(\"bb= \"+bb);\r\n\t BigInteger ans =aa.add(bb);\r\n\t System.out.println(ans);\r\n\t String res =ans.toString(2);\r\n\t System.out.println(res);\r\n\t\t\r\n\t\t\r\n\t\tlong j=0;\r\n\t\tlong sum=0;\r\n\t\tfor(long i=a.length()-1;i>=0;i--) {\r\n\t\t\tlong mul=Long.valueOf(String.valueOf(a.charAt((int)i)))*(long)Math.pow(2,j);\r\n\t\t//\tSystem.out.println(Integer.parseInt(String.valueOf(a.charAt(i))));\r\n\t\t\tsum=sum+mul;\r\n\t\t\tj++;\r\n\t\t}\r\n\t\t\r\n\t\tlong sum1=0;\r\n\t\tj=0;\r\n\t\tfor(long i=b.length()-1;i>=0;i--) {\r\n\t\t\tlong mul=Long.valueOf(String.valueOf(b.charAt((int)i)))*(long)Math.pow(2,j);\r\n\t\t\tsum1=sum1+mul;\r\n\t\t\tj++;\r\n\t\t}\r\n\t\t\r\n\t\tlong totsum=sum+sum1;\r\n\t\tSystem.out.println(totsum);\r\n\t\t\r\n\t\tString c=\"\";\r\n\t\tif(totsum==0) {\r\n\t\t\tc+=\"0\";\r\n\t\t}\r\n\t\telse {\r\n\twhile(totsum!=0) {\r\n\t\tlong d=totsum%2;\r\n\t\tc+=String.valueOf(d);\r\n\t\ttotsum=totsum/2;\r\n\t\t\r\n\t\t\r\n\t}}\r\n\t\r\n\tStringBuilder str=new StringBuilder();\r\n\tstr.append(c);\r\n\tstr.reverse();\r\n\tc=String.valueOf(str);\r\n\t\r\n\t//System.out.println(c);\r\n\r\n\t}", "title": "" }, { "docid": "6de96778f57d8627aa95751ff7fe462b", "score": "0.52341646", "text": "public static void Problem17()\n {\n /*\n String thousand = \"thousand\";\n String hundred = \"hundred\";\n String[] single = {\n \"one\",\n \"two\",\n \"three\",\n \"four\",\n \"five\",\n \"six\",\n \"seven\",\n \"eight\",\n \"nine\",\n \"ten\",\n \"eleven\",\n \"twelve\",\n \"thirteen\",\n \"fourteen\",\n \"fifteen\",\n \"sixteen\",\n \"seventeen\",\n \"eighteen\",\n \"nineteen\"\n };\n String[] tens = {\n \"twenty\",\n \"thirty\",\n \"forty\",\n \"fifty\",\n \"sixty\",\n \"seventy\",\n \"eighty\",\n \"ninety\"\n };\n\n */\n\n int sum = 0;\n\n for (double i = 1; i < 1000; i++)\n {\n int cNum = 0;\n\n if (i / 100 >= 1)\n {\n int x = (int) (i / 100) * 100;\n\n cNum += getVal(x/100);\n cNum += getVal(100);\n\n int nx = (int)i - x;\n\n if(nx != 0) //for x00 no need for and\n cNum += 3; //and\n\n if(nx <= 10 )\n cNum+= getVal(nx);\n else if (nx > 10 && nx < 20)\n {\n cNum+= getVal(nx);\n System.out.print(\"i=\" + i + \" x=\" + x + \" nx=\" + nx + \"\\t\");\n }\n else //21 - 99\n {\n int x22 = (int)((double) nx /10)*10;\n cNum+= getVal(x22);\n cNum+= getVal(nx -x22);\n System.out.print(\"i=\" + i + \" x=\" + x + \" nx=\" + nx + \" x22=\" + x22 + \"\\t\");\n }\n }\n else if (i / 10 > 1)\n {\n if ((int) i > 10 && (int) i < 20)\n {\n cNum+= getVal((int)i);\n }\n else\n {\n int x = (int) (i / 10) * 10;\n int x2 = (int) i - x;\n cNum += getVal(x);\n cNum += getVal(x2);\n }\n }\n else\n {\n cNum += getVal((int) i);\n }\n sum+=cNum;\n System.out.println(\"For number=\" + (int)i + \" Number of letters=\" + cNum);\n }\n //add 1000... :)\n sum += getVal(1000) + getVal(1); \n System.out.println(\"Total Sum of letters = \" + sum );\n }", "title": "" }, { "docid": "94e1a61d80fac925d0065cf815908204", "score": "0.522075", "text": "public static int Main()\n\t{\n\t\tint n;\n\t\tint k;\n\t\tint m;\n\t\tint i;\n\t\tn = Integer.parseInt(ConsoleInput.readToWhiteSpace(true));\n\t\tk = Integer.parseInt(ConsoleInput.readToWhiteSpace(true));\n\t\tint[] a = new int[n]; //???????????\n\t\ta[0] = n + k; //???\n\t\tdo\n\t\t{\n\t\t\tfor (i = 1;i < n;i++)\n\t\t\t{\n\t\t\ta[i] = ((a[i - 1] - k) / n) * (n - 1);\n\t\t\tif (((a[i] % n) != k) || (a[i] == k))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t}\n\t\t\ta[0] += n;\n\t\t\tm = a[0];\n\t\t}while (i < n); //????????????????\n\t\tm -= n;\n\t\tSystem.out.print(m);\n\t}", "title": "" }, { "docid": "cb12e80251928aa2f529ddc8e18466ce", "score": "0.5220301", "text": "@Test\n public void testEvenDigitSum(){\n int sum = evenDigitSum.findEvenNoSum(1884883881);\n\n assertEquals(52,sum);\n }", "title": "" }, { "docid": "775b579d9f7f43b3b9a3b64332fe1461", "score": "0.5220116", "text": "public int getPerigeeKm() {\r\n /*------------------------------------------------------------------------*/ \r\n return( (int)java.lang.Math.rint( perigee ) );\r\n }", "title": "" }, { "docid": "af5a6fd64478775f9319c93ac8568735", "score": "0.5209684", "text": "public static String multiply1(String num1, String num2) {\n int len1 = num1.length();\n int len2 = num2.length();\n if(len2>len1) return multiply(num2, num1);\n String ans = \"0\";\n for(int j=len2-1;j>=0;j--){\n char c2 = num2.charAt(j);\n if(c2=='0') continue;\n int carry = 0;\n StringBuilder sb = new StringBuilder();\n for(int i=len1-1;i>=0;i--){\n char c1 = num1.charAt(i);\n int m = (c1-'0')*(c2-'0')+carry;\n if(m>=10){\n carry = m/10;\n sb.append(m%10);\n }else{\n carry = 0;\n sb.append(m);\n }\n }\n if(carry!=0) sb.append(carry);\n for(int k=0;k<len2-1-j;k++) sb.insert(0, '0');\n ans = add(ans, sb.reverse().toString());\n }\n return ans;\n }", "title": "" }, { "docid": "ded5598032086502bcc7f3e5640e566c", "score": "0.51866156", "text": "public static void main (String[] args){\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int a = 0;\n int product = 1;\n int sum = 0;\n int temp = n;\n while(n>0)\n { product = 1;\n a=n%10;\n for(int i=1;i<=a;i++)\n { \n product = product*i;\n \n }\n sum = sum + product;\n n = n/10;\n }\n if(temp == sum)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n\t}", "title": "" }, { "docid": "0dbef98fe32dd7e76217c15383dc33be", "score": "0.5184495", "text": "public static int perfectSubstring(String s, int k) {\n int pSqr = 0;\n for (int i = 0; i < s.length(); i++) {\n int[] store = new int[10];\n for (int j = i; j < s.length(); j++) {\n int index = s.charAt(j) - '0';\n store[index]++;\n if (store[index] > k) {\n break;\n }\n\n if (!Arrays.stream(store).anyMatch(v -> v > 0 && v != k)) {\n pSqr++;\n }\n\n }\n }\n return pSqr;\n }", "title": "" }, { "docid": "951bf69270ce3a734396c962a47056b8", "score": "0.51770467", "text": "public void run()\r\n\t{\r\n\t\tString num = \"7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450\";\r\n\t\tSystem.out.println(num);\r\n\t\tint greatest = 0;\r\n\t\tfor(int i = 0; i < num.length()-5; i++){//O(5n) => O(n)\r\n\t\t\tString x = num.substring(i, i+5);\r\n\t\t\tint product = Integer.parseInt(x.substring(0, 1));\r\n\t\t\tfor(int j = 1; j < 5; j++){\r\n\t\t\t\tproduct *= Integer.parseInt(x.substring(j, j+1));\r\n\t\t\t}\r\n\t\t\tgreatest = (product > greatest) ? product : greatest;\r\n\t\t}\r\n\t\tSystem.out.println(\"The greatest product of 5 consecutive digits in the above number is \"+Integer.toString(greatest));\r\n\t}", "title": "" }, { "docid": "7bd72db784363be748fa8910bd50cab2", "score": "0.51713896", "text": "public String multiply_1(String num1, String num2) {\n\n int n1 = num1.length();\n int n2 = num2.length();\n int[] product = new int[n1+n2];\n for(int i = n1-1;i>=0;i--)\n {\n int d1 = num1.charAt(i)-'0';\n for(int j = n2-1;j>=0;j--)\n {\n int d2 = num2.charAt(j)-'0';\n\n //这里为什么要等于i+j+1,因为product的length是n1+n2,所以最后的一个元素的index是n1+n2-1 -> i+j+1\n product[i+j+1]+=(d1*d2)%10;\n\n product[i+j]+=(d1*d2)/10;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n for(int element:product)\n {\n sb.append(element);\n }\n\n while(sb.length()!=0 && sb.charAt(0) == '0')\n {\n sb.deleteCharAt(0);\n }\n\n return sb.length()==0? \"0\":sb.toString();\n\n }", "title": "" }, { "docid": "043b7bb879f1a62165345359bc235b84", "score": "0.51659757", "text": "public static void main(String[] args) {\n\t\tScanner reader = new Scanner(System.in);\n\t\t\n\t\tSystem.out.println(\"Įveskite a \");\n\t\tint a = reader.nextInt();\n\t\tSystem.out.println(\"Įveskite b\");\n\t\tint b = reader.nextInt();\n\t\t\n\t\t\n\t\tSystem.out.println(\"Daliklis k\");\n\t\tint k = reader.nextInt();\n\t\t\n\t\tint daliklis = 0;\n\t\t\n\t\tfor(int i=a; i<=b; i++) {\n\t\t\tif(b % i == k){\n\t\t\tdaliklis++;\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(\"daliklis: \" + daliklis);\n\t\t\n\t\t\n\t\tint total = 0;\n\t\t int kiek = 0; \n\t\t \n\t\t \n\t\t for(int i=1; i<=k; i++) {\n if (a % k == 0) \n { \n while (a % k == 0) \n { \n a = a / k; \n kiek++; \n } \n total = total * (kiek + 1); \n \n \n } \n System.out.println(\"kiek: \" + kiek );\n System.out.println(\"t: \" + total);\n } \n//\treturn total;\t\n\t}\n}", "title": "" }, { "docid": "b8666b180876efdfd37e2de767395076", "score": "0.5164345", "text": "static int nonDivisibleSubset(int k, int[] S) {\n// if (k == 0 || k == 1)\n// return 1;\n//\n// TreeMap<Integer, Integer> map = new TreeMap<>();\n// Arrays.stream(S)\n// .map(x -> x % k)\n// .forEach(a -> map.put(a, map.get(a) == null ? 1 : map.get(a) + 1));\n//\n//\n// map.forEach((key, value) -> map.entrySet().forEach(item -> {\n// if (!key.equals(item.getKey()))\n// if (key + item.getKey() == k) {\n// if (value >= item.getValue()) {\n// item.setValue(0);\n// }\n// }\n// }));\n//\n// return map.entrySet().stream().filter(x -> x.getValue() > 0).mapToInt(Map.Entry::getValue).sum() + ((k % 2) == 0 ? 1 : 0);\n\n int[] arr = new int[k];\n for (int i = 0; i < S.length; i++) {\n arr[S[i] % k]++;\n }\n int result = 0;\n result += Math.min(arr[0], 1);//If no number wholly divisible dont add it to pair else add once\n for (int j = 1; j <= k / 2; j++) if (j != k - j) result += Math.max(arr[j], arr[k - j]);\n\n return result + ((k % 2 == 0) ? 1 : 0 /*it will not have any conjugate pair */);\n }", "title": "" }, { "docid": "522c0429a8dc3d1f9b4164e86c444f80", "score": "0.51610464", "text": "public static boolean isAHarshad(int num) {\r\n int sum = 0;\r\n int copy = num;\r\n while (copy > 0) {\r\n sum += copy % 10;\r\n copy /= 10;\r\n }\r\n return (num % sum == 0);\r\n }", "title": "" }, { "docid": "40939e4c5067f9844492ab28d4aaf453", "score": "0.5159748", "text": "public static void main(String[] args)\n {\n Scanner input = new Scanner(System.in);\n int n = input.nextInt();\n int num=0,i=0;\n while(n!=0)\n {\n int r=n%10;\n if(r==9)\n r=0;\n else\n r+=1;\n num=num+r*(int)(Math.pow(10,i));\n i++;\n n=n/10;\n \n }\n System.out.println(num);\n }", "title": "" }, { "docid": "a271842612ee2c54ec757572612b8f0c", "score": "0.51567703", "text": "public static void main(String[] args) {\n\r\n\t \r\n\t int b = 0;\r\n\t int a = 0;\r\n\t for(int i =1; i<=1000; i++)\r\n\t {\r\n\t\t if\r\n\t\t (i%7 == 0)\r\n\t\t\t a+=i;\r\n\t\t if(i%9 == 0)\r\n\t\t\t b+=i;\r\n\t\t \r\n\t\t\t \r\n\t\t\t \r\n\t\t\t \r\n\t\t \r\n\t }\r\n\t System.out.println(\"7의 배수:\"+a);\r\n\t System.out.println(\"9의 배수:\"+b);\r\n\t System.out.println(\"7의 배수+9의배수:\"+(a+b));\r\n\t\r\n\t a=0; b=0;int i =1;\r\n\t while (i<=1000)\r\n\t {\r\n\t\t if\r\n\t\t (i%7 == 0)\r\n\t\t\t a+=i;\r\n\t\t if(i%9 == 0)\r\n\t\t\t b+=i;\r\n\t\r\n\t\t i++;\r\n\t }\r\n\t System.out.println(\"7의 배수:\"+a);\r\n\t System.out.println(\"9의 배수:\"+b);\r\n\t System.out.println(\"7의 배수+9의배수:\"+(a+b));\r\n\t}", "title": "" }, { "docid": "aeff8d0491484944f2709ebeea669098", "score": "0.5155806", "text": "protected double convertPoundsToKilogram(double weight) {\n\t\tdouble newWeight = 0;\r\n\t\tnewWeight = weight / 0.45359237;\r\n\t\treturn newWeight;\r\n\t}", "title": "" }, { "docid": "47b71c99b5827d30bf153ea37b3407db", "score": "0.5154447", "text": "public static void main(String[] args) {\nint n =758;\nint s=0;\nint r;\nwhile (n!=0)\n{\n\tr = n%10;\n\ts =(s*10)+r;\n\tn = n/10;\n}\nSystem.out.println(s);\n\t}", "title": "" }, { "docid": "9c152174fd800b840c1d4b6511dad33a", "score": "0.5145575", "text": "static int druhaMocnina(int zaklad) {\n\t\tint vysledok = 0;\n\t\tvysledok = zaklad * zaklad;\n\t\treturn vysledok;\n\t}", "title": "" }, { "docid": "3fef00daf904dd75b8f6f02cc180b91b", "score": "0.51430494", "text": "public static int pairsOf2Sum(int K, int[] A){\n Arrays.sort(A); //nlgn, numbers sort in ascending order\n int i = 0;\n int j = A.length-1;\n int pairs = 0;\n while(i<=j){\n int front = 1; // number of repeating element from the front\n int end = 1; // number of repeating element from the end\n\n if(A[i]+A[j] < K){ // increase first element to achieve K\n i++;\n }else if(A[i] +A[j] > K){ // decrease second element to achieve K\n j--;\n }else{ // when sums to K\n if(A[i] == A[j]){ // reaches the center of the array, values are all equal from i to j\n int c = j-i+1; // number of repeating center element\n pairs+= c + c*(c-1); // selfpairs + combination of any two (order matters, other wise divided by 2)\n return pairs; // no further counting needed\n }else{ // A[i] != A[j], can still move further toward each other\n while(A[i+1] == A[i] && i <= j){\n front++; // count repeating front element\n i++;\n }\n i++; //when exit, i is still at the last repeating element, so increment again to the first non-repeating element\n while(A[j-1] == A[j] && i<= j){\n end++;\n j--; //count repeating end element\n }\n j--; //when exit, i is still at the last repeating element, so decrement again to the first non-repeating element\n pairs+= front*end*2; // order matters( otherwise just front * end)\n }\n }\n }\n return pairs;\n }", "title": "" }, { "docid": "e93049835aff8b447230a8ac09225cd3", "score": "0.512858", "text": "public void sqroot() {\r\n if (checkZero()) {\r\n display = Math.sqrt(Double.parseDouble(display)) + \"\";\r\n validateFormat();\r\n }\r\n }", "title": "" }, { "docid": "11d27bc7304005238f9d79fd52d7c232", "score": "0.51232624", "text": "boolean isSumEqualToK (int k, Map<Integer, Integer> numMap, int[] numbers) {\n for(int num : numbers) {\n int numToFind = Math.abs(num - k);\n if(numMap.containsKey(numToFind)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "f8adaee141333ff572244fa47dbfa97d", "score": "0.51187456", "text": "public static void main(String[] args) {\n\t\tScanner myScanner = new Scanner(System.in);\r\n\t int n = myScanner.nextInt();\r\n\t int k = myScanner.nextInt();\r\n\t int riminder = 1;\r\n\r\n\t for(int i = 1; i <= n ; i = i+1) { //Count the riminder\r\n\t\t\triminder = (riminder * i) % k;\r\n\t }\r\n\t System.out.println(riminder);\r\n\t myScanner.close();\r\n\r\n\t // ----------------- write your code ABOVE this line only ---------\r\n\t\t\r\n\t}", "title": "" }, { "docid": "24785834d96155365d46419e63d007bd", "score": "0.5118572", "text": "public double squ(double firstNumber) {\n\t\treturn Math.pow(firstNumber, 2);\n\t}", "title": "" }, { "docid": "2e77b4cf46657f3b8dfe371dc96b0c8a", "score": "0.5117012", "text": "public static void main(String[] args) {\n\r\n\t\tString cisloKarty = \"\";\r\n\t\tint[] cislo = new int[16];\r\n\r\n\t\tScanner vstup = new Scanner(System.in);\r\n\r\n\t\tSystem.out.println(\"Zadaj cislo karty: \");\r\n\t\tcisloKarty = vstup.nextLine();\r\n\r\n\t\t// prevod cisla na string do pola\r\n\r\n\t\tfor (int i = 0; i < cisloKarty.length(); i++) {\r\n\t\t\tcislo[i] = Integer.parseInt(cisloKarty.substring(i, i + 1));\r\n\t\t}\r\n\r\n\t\t//suma neparnych cisel od konca\r\n\t\t\r\n\t\tint sumaNeparne = 0;\r\n\t\tfor (int i= cislo.length-1; i>0; i-=2) {\r\n\t\t\tsumaNeparne += cislo[i];\r\n\t\t}\r\n\t\t\r\n\t\t\t\r\n\t\t//vytvorenie retazca z dvojnasobku zvysnych cisel v poli\r\n\t\tString temp = \"\";\r\n\t\tfor(int i =0; i<cislo.length;i+=2)\r\n\t\t{temp+=cislo[i]*2;\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tint cifSucet =0;\r\n\t\t\r\n\t\tfor (int i =0;i<temp.length();i++) {\r\n\t\t\tcifSucet += Integer.parseInt(temp.substring(i, i+1));\r\n\t\t}\r\n\t\t\r\n\t\tint kontrolnaSuma = cifSucet + sumaNeparne;\r\n\t\t\r\n\t\tif(kontrolnaSuma%10==0) {\r\n\t\t\tSystem.out.println(\"Platna Karta !\");\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"Neplatna karta !\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8d4ecc596dad4a8f52f7f8c32cdad489", "score": "0.5108689", "text": "double kansSpelBelastingBetalen();", "title": "" }, { "docid": "97f528852193fd6f7e2327a8def1e205", "score": "0.51025105", "text": "public static void encodingMax2(int[] digits) {\n\t\tList<List<Integer>>[][] lookup = new List[digits.length][digits.length];\n\t\t\n\t\tfor (int i = 0; i < digits.length; ++i) {\n\t\t\tassert digits[i] <= 26;\n\t\t\tlookup[i][i] = new LinkedList<>();\n\t\t\tLinkedList<Integer> list = new LinkedList<>();\n\t\t\tlist.add(digits[i]);\n\t\t\tlookup[i][i].add(list);\n\t\t\t//\n\t\t\tint num;\n\t\t\tif (i < digits.length - 1 && (num = digits[i] * 10 + digits[i+1]) <= 26) {\n\t\t\t\tlookup[i][i+1] = new LinkedList<>();\n\t\t\t\tlist = new LinkedList<>();\n\t\t\t\tlist.add(num);\n\t\t\t\tlookup[i][i+1].add(list);\n\t\t\t\tlookup[i][i+1].add(Arrays.asList(digits[i], digits[i+1]));\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 2; i < digits.length; ++i) {\n\t\t\t// dont need to run k\n\t\t\t// onlythe last two digits matter\n\t\t\t// k = i - 1\n\t\t\t// \n\t\t\t\n\t\t\t\n\t\t\tfor (int k = i - 1; k < i; ++k) {\n\t\t\t\tList<List<Integer>> left = lookup[0][k];\n\t\t\t\tList<List<Integer>> right = lookup[k+1][i];\n\t\t\t\t\n\t\t\t\tif (left != null && right != null) {\n\t\t\t\t\tList<List<Integer>> total = lookup[0][i];\n\t\t\t\t\tif (total == null) {\n\t\t\t\t\t\tlookup[0][i] = total = new LinkedList<>();\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\t//System.out.println(\"i = \" + i + \", k = \" + k + \", total:[0->i] = \" + total);\n\t\t\t\t\t}\n\t\t\t\t\t// combine left and right (keeping order\n\t\t\t\t\tfor (List<Integer> leftList : left) {\n\t\t\t\t\t\tfor (List<Integer> rightList : right) {\n\t\t\t\t\t\t\tList<Integer> combined = new LinkedList<>();\n\t\t\t\t\t\t\tcombined.addAll(leftList);\n\t\t\t\t\t\t\tcombined.addAll(rightList);\n\t\t\t\t\t\t\tif(!total.add(combined)) {\n//\t\t\t\t\t\t\t\tSystem.out.println(\"left: \" + left);\n//\t\t\t\t\t\t\t\tSystem.out.println(\"right: \" + right);\n//\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"total possible encodings: \" + lookup[0][digits.length - 1].size());\n\t\tfor (List<Integer> l : lookup[0][digits.length - 1]) {\n\t\t\tSystem.out.println(l);\n\t\t}\n\t}", "title": "" }, { "docid": "25db6afc1f73e78481b1dd43874da138", "score": "0.51002705", "text": "public String euler23() {\n\t\tfinal List<Integer> abundant = new ArrayList<>();\n\t\tfinal int limit = 28123;\n\t\tfor (int i = 1; i <= limit; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 1; j < i / 2 + 1 && sum <= i; j++) {\n\t\t\t\tif (i % j == 0) {\n\t\t\t\t\tsum += j;\n\t\t\t\t\tif (sum > i) {\n\t\t\t\t\t\tabundant.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfinal Set<Integer> set = new HashSet<>();\n\t\tfor (int i = 0; i < abundant.size(); i++) {\n\t\t\tfor (int j = i; j < abundant.size(); j++) {\n\t\t\t\tfinal int x = abundant.get(i);\n\t\t\t\tfinal int y = abundant.get(j);\n\t\t\t\tif (x + y <= limit) {\n\t\t\t\t\tset.add(x + y);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tlong sum = 0;\n\t\tfor (int i = 1; i <= limit; i++) {\n\t\t\tif (!set.contains(i)) {\n\t\t\t\tsum += i;\n\t\t\t}\n\t\t}\n\t\treturn Long.toString(sum);\n\t}", "title": "" }, { "docid": "1914937b03344e27b6d1db4a19bc7ec7", "score": "0.5095803", "text": "public static void main (String[] args){\n Scanner in = new Scanner(System.in);\n int num = in.nextInt();\n int rem;\n int sum = 0;\n int temp = num;\n while(num != 0)\n {\n int fact = 1;\n rem = num%10;\n for(int i=1; i<=rem; i++)\n \n fact = fact*i;\n sum = sum+fact;\n num = num/10;\n \n }\n if(sum == temp)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n \n \n\t}", "title": "" }, { "docid": "c47e83e28b6f15a5a3c249f35a54fbb9", "score": "0.5094378", "text": "public String multiply(String num1, String num2) {\n int m = num1.length(), n = num2.length();\n // 两数相乘最多的位数不超过m+n, 可能开头会多出0.\n int[] res = new int[m + n];\n for (int i = m - 1; i >= 0; i--) {\n for (int j = n - 1; j >= 0; j--) {\n int mul = (num1.charAt(i) - '0') * (num2.charAt(j) - '0');\n int p1 = i + j, p2 = i + j + 1;\n int sum = mul + res[p2]; // 加上低位\n res[p1] += sum / 10; // 向高位进位\n res[p2] = sum % 10;\n }\n }\n StringBuilder sb = new StringBuilder();\n // 去除开头多余的0\n int i = 0;\n while (i < res.length - 1 && res[i] == 0) i++;\n while (i < res.length) sb.append(res[i++]);\n return sb.toString();\n }", "title": "" }, { "docid": "3bc789e5f752c4e855dbe8e66f3d5082", "score": "0.50818896", "text": "public int solution(int N) {\n StringBuilder num = new StringBuilder(\"\" + N);\n int length = num.length();\n if (length == 1) {\n return 10 + (N - 1);\n }\n if (length > 1 && num.charAt(length - 1) != '0') {\n int secondPart = Integer.parseInt(num.substring(length - 1));\n secondPart--;\n int firstPart = Integer.parseInt(num.substring(0, length - 1));\n firstPart++;\n return Integer.parseInt(firstPart + \"\" + secondPart);\n }\n\n int nonZeroIndex = length - 1;\n while (num.charAt(nonZeroIndex) == '0') nonZeroIndex--;\n if (nonZeroIndex != 0) {\n int secondPart = Integer.parseInt(num.substring(nonZeroIndex));\n secondPart--;\n int firstPart = Integer.parseInt(num.substring(0, nonZeroIndex));\n firstPart++;\n return Integer.parseInt(firstPart + \"\" + secondPart);\n }\n\n return N * 10;\n }", "title": "" }, { "docid": "0a74d02bcfeb4219fea4fca6f6c1cf7f", "score": "0.5081512", "text": "static boolean check(String peselNumber) {\n if (peselNumber.length() != 11) {\n return false;\n }\n // czy tylko cyfry:\n for (int i = 0; i < peselNumber.length(); i++) {\n if (peselNumber.charAt(i) < 48 || peselNumber.charAt(i) > 57) {\n return false;\n }\n }\n // suma kontrolna (9×a + 7×b + 3×c + 1×d + 9×e + 7×f + 3×g + 1×h + 9×i + 7×j):\n int sum = 9 * (java.lang.Character.getNumericValue(peselNumber.charAt(0))) +\n 7 * (java.lang.Character.getNumericValue(peselNumber.charAt(1))) +\n 3 * (java.lang.Character.getNumericValue(peselNumber.charAt(2))) +\n 1 * (java.lang.Character.getNumericValue(peselNumber.charAt(3)))\n + 9 * (java.lang.Character.getNumericValue(peselNumber.charAt(4))) + 7 * (java.lang.Character.getNumericValue(peselNumber.charAt(0))) + 3 * (java.lang.Character.getNumericValue(peselNumber.charAt(0))) + 1 * (java.lang.Character.getNumericValue(peselNumber.charAt(0))) + 9 * (java.lang.Character.getNumericValue(peselNumber.charAt(0))) + 7 * (java.lang.Character.getNumericValue(peselNumber.charAt(0)));\n return ((peselNumber.charAt(10) - '0') != (sum % 10));\n }", "title": "" }, { "docid": "e1a785a979f93f9457d6cb072060088d", "score": "0.5081275", "text": "static int roundup(int mn) {\r\n int m=mn;\r\n boolean worried=true;\r\n while (worried) {\r\n int resid=m;\r\n while (resid%2==0) resid/=2;\r\n //while (resid%3==0) resid/=3; etc for each radix we support\r\n if (resid==1) worried=false;\r\n else m++;\r\n } // while worried\r\n\r\n return m;\r\n }", "title": "" }, { "docid": "4226aa75d0f61a3d801b8ee55da698fb", "score": "0.50803494", "text": "public String DeleteDigits(String A, int k) {\n StringBuffer sb = new StringBuffer(A);\n for (int i = 0; i < k; i++) {\n for (int j = 0; j < sb.length() - 1; j++) {\n if (sb.charAt(j) > sb.charAt(j + 1)) {\n sb.delete(j, j + 1);\n break;\n }\n if (j == sb.length() - 2) {\n sb.delete(j + 1, j + 2);\n }\n }\n }\n while (sb.length() > 1 && sb.charAt(0) == '0') {\n sb.delete(0, 1);\n }\n return sb.toString();\n }", "title": "" }, { "docid": "3085bb135f558ad2d057e8ab774139eb", "score": "0.50696915", "text": "public String multiply(String num1, String num2) {\n \tif (num1 == null || num2 == null) {\n \t\treturn null;\n \t}\n \t\n \tString[] components = new String[num2.length()];\n \t\n \t// compute each component\n \tfor (int i = num2.length()-1; i >= 0; --i) {\n \t\t// compute num1 * num2[i]\n \t\tint b = Integer.valueOf(num2.substring(i, i+1));\n \t\tStringBuilder sb = new StringBuilder();\n \t\tint carryOver = 0;\n \t\tfor (int j = num1.length()-1; j >= 0; --j) {\n \t\t\tint p = Integer.valueOf(num1.substring(j, j+1)) * b + carryOver;\n \t\t\tsb.append(Integer.valueOf(p%10).toString());\n \t\t\tcarryOver = p / 10;\n \t\t}\n \t\tif (carryOver > 0) {\n \t\t\tsb.append(Integer.valueOf(carryOver).toString());\n \t\t}\n \t\tcomponents[i] = sb.reverse().toString();\n \t}\n \t\n \t// add all components together\n \tString result = components[num2.length()-1];\n \tStringBuilder zeros = new StringBuilder();\n \tfor (int i = components.length-2; i >= 0; --i) {\n \t\tzeros.append(\"0\");\n \t\tString b = components[i] + zeros.toString(); // times 10\n \t\tint j = result.length() - 1;\n \t\tint k = b.length() - 1;\n \t\tint carryOver = 0;\n \t\tStringBuilder sb = new StringBuilder();\n \t\twhile (j >= 0 && k >= 0) {\n \t\t\tint s = Integer.valueOf(result.substring(j, j+1)) \n \t\t\t\t\t+ Integer.valueOf(b.substring(k, k+1)) + carryOver;\n \t\t\tsb.append(Integer.valueOf(s%10).toString());\n \t\t\tcarryOver = s / 10;\n \t\t\t--j;\n \t\t\t--k;\n \t\t}\n \t\twhile (j >= 0) {\n \t\t\tint s = Integer.valueOf(result.substring(j, j+1)) + carryOver;\n \t\t\tsb.append(Integer.valueOf(s%10).toString());\n \t\t\tcarryOver = s / 10;\n \t\t\t--j;\t\n \t\t}\n \t\twhile (k >= 0) {\n \t\t\tint s = Integer.valueOf(b.substring(k, k+1)) + carryOver;\n \t\t\tsb.append(Integer.valueOf(s%10).toString());\n \t\t\tcarryOver = s / 10;\n \t\t\t--k;\n \t\t}\n \t\tif (carryOver > 0) {\n \t\t\tsb.append(Integer.valueOf(carryOver).toString());\n \t\t}\n \t\tresult = sb.reverse().toString();\n \t}\n \t\n \tint i = 0;\n \tfor (; i < result.length()-1; ++i) {\n \t\tif (result.charAt(i) != '0') {\n \t\t\tbreak;\n \t\t}\n \t}\n \treturn result.substring(i);\n }", "title": "" }, { "docid": "6419db29d7786798cc9f3f8fcf96bc4f", "score": "0.50673294", "text": "public static void main(String arg[]){\n\t\tScanner number = new Scanner(System.in);\n\t\tint ok=1,i,k=1,num;\n\t\tlong n1=0,n2=0,n3=0,n4=0;\n\t\tlong sumprim=0,sumelse=1;\n\t\tlong totalnum=0;\n\t\tdouble raport=0;\n\t\tSystem.out.println(\"Please insert the value of range\");\n\t\tnum = number.nextInt();\n\t\t//while(ok==1){\n\t\tfor(i=2,k=1;i<=num;i=i+2,k=k+2){\n\t\t\tn1=(long)Math.pow(i+1,2);\n\t\t\tn2=n1-k-1;\n\t\t\tn3=n1-2*k-2;\n\t\t\tn4=n1-3*k-3;\n\t\t//}\n\t\t\tSystem.out.println(n1+\" \"+n2+\" \"+n3+\" \"+n4+\" \");\n\t\tif(prim(n1))\n\t\t\tsumprim=sumprim+1;\n\t\telse\n\t\t\tsumelse=sumelse+1;\n\t\t\n\t\tif(prim(n2))\n\t\t\tsumprim=sumprim+1;\n\t\telse\n\t\t\tsumelse=sumelse+1;\n\t\t\n\t\tif(prim(n3))\n\t\t\tsumprim=sumprim+1;\n\t\telse\n\t\t\tsumelse=sumelse+1;\n\t\t\n\t\tif(prim(n4))\n\t\t\tsumprim=sumprim+1;\n\t\telse\n\t\t\tsumelse=sumelse+1;\n\t\ttotalnum=sumelse+sumprim;\n\t\traport=((double)sumprim)/((double)totalnum);\n\t\tif(raport<0.10)\n\t\t\tok=0;\n\t\t//System.out.println(\"The lenght must be\" +num);\n\t\t//num++;\n\t\t\n\t\t}\n\t\tSystem.out.println(\"Sumprim \" +sumprim);\n\t\tSystem.out.println(\"Sumelse \" +totalnum);\n\t\tSystem.out.println(\"is\" +raport);\n\t\tSystem.out.println(\"The lenght must be\" +num);\n\t}", "title": "" }, { "docid": "7730e71154abce686f28d20527063a3a", "score": "0.5066675", "text": "static int formingMagicSquare(int[][] s) {\n int answer = 0;\n\n\n\n return answer;\n }", "title": "" }, { "docid": "ffdbc69b45ec97d60dc38c5c288d228a", "score": "0.5063826", "text": "public long sqPyramid(long n){\n\t\tlong Sum;\n\t\t//Sum = ((n*(n+1)*((2*n)+1))/6);\n\t\tSum = (n*(n+1));\n\t\treturn ((2*n+1)*Sum)/6;\n\t}", "title": "" }, { "docid": "b1c8eeeabcf2d49064dec9afbb786126", "score": "0.50584215", "text": "public void calculate_square(View view) {\n\n int res = calculatepartialeq('S');\n\n if(res==-1)\n {\n return;\n }\n tv.setText(partialEqResult);\n history.setText(partialEqResult);\n\n }", "title": "" }, { "docid": "f2251ee7e7d1300548f650b527747d1f", "score": "0.50553554", "text": "public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int n = scn.nextInt();\n int y = n;\n int sum = 1, count = 0;\n while (n > 0) {\n n = n / 10;\n count++;\n }\n for (int i = 1; i < count; i++) {\n sum = sum * 10;\n }\n while (count > 0) {\n System.out.println(y / sum);\n y = y % sum;\n sum = sum / 10;\n count--;\n }\n\n\n }", "title": "" }, { "docid": "128d83296ca5f266068a16aedeca1e31", "score": "0.5040518", "text": "private int checkSum(){\n\tint regularSum = 0;\n\tfor (int i = 0; i < _zip.length(); i++){\n\t\tregularSum += (int)(_zip.charAt(i) - '0');\n\t}\n\treturn regularSum % 10;\n}", "title": "" }, { "docid": "d4522f2f2e2fdef50d9fab8e73148af9", "score": "0.5039668", "text": "public static double bakhshaliMethod(double s) {\n\n\t\tdouble n;\n\t\tdouble n2;\n\t\tdouble d;\n\t\tdouble p;\n\t\tdouble p2;\n\t\tdouble a;\n\n\t\tfor (int i = 1; ; i++) {\n\t\t\tif (Math.pow(i, 2) > s) {\n\t\t\t\tn = i - 1;\n\t\t\t\tbreak;\n\t\t\t} else if (Math.pow(i, 2) == s) {\n\t\t\t\tn = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tn2 = Math.pow(n, 2);\n\t\td = s - n2;\n\t\tp = (d / (2 * n));\n\t\tp2 = p * p;\n\t\ta = n + p;\n\n\n\t\treturn (a - (p2 / (2 * a)));\n\n\t}", "title": "" }, { "docid": "151dd6efe2f2cb57c62294afe0b8d0bd", "score": "0.5033224", "text": "public int LaSNT(double n){\n // so nguyen n < 2 khong phai la so nguyen to\n if (n < 2) {\n return 0;\n }\n // check so nguyen to khi n >= 2\n double squareRoot = (double) Math.sqrt(n);\n for (int i = 2; i <= squareRoot; i++) {\n if (n % i == 0) {\n return 0;\n }\n }\n return 1;\n\n }", "title": "" }, { "docid": "016a280b0ce7970a5364e9315848d970", "score": "0.50273716", "text": "private static void puzzleNo9() {\n \t\tdouble result = 0;\n result=(3+4+5+2)/4;\n \t\tblackBox.puzzleNo9(result);\n \t}", "title": "" }, { "docid": "28103da096ad58af9ffd10ffce760de9", "score": "0.5025338", "text": "public static void main(String[] args) {\n\t\tString str = \"gfcaaaecbg\";\r\n\t\tlong l =547602;\r\n\t\tBigDecimal n = new BigDecimal(l);\r\n\t\tBigDecimal Count = new BigDecimal(0);\r\n\t\tBigDecimal length = new BigDecimal(str.length());\r\n\t\tBigDecimal result = new BigDecimal(0);\r\n\t\tif (1 == length.intValueExact()) {\r\n\t\t\tSystem.out.println(n);\r\n\t\t} else {\r\n\t\t\tfor (long k = 0; k <length.intValue(); k++) {\r\n\t\t\t\tif (str.charAt((int) k) == 'a')\r\n\t\t\t\t\tCount = Count.add(new BigDecimal(1));\r\n\t\t\t}\r\n\t\t\tresult = ((Count.multiply(n)).divide(length,0,RoundingMode.CEILING));\r\n\t\t\tSystem.out.println(result);\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println(str);\r\n\t}", "title": "" }, { "docid": "226ae0ee875deca4ac6a6e6fb253f120", "score": "0.502023", "text": "public String euler62() {\n\t\tint numberOfDigits = 1;\n\t\tfinal CountMap<List<Integer>> count = new CountMap<>();\n\t\tfinal HashMap<List<Integer>, Long> smallestCube = new HashMap<>();\n\t\tfor (long i = 0;; i++) {\n\t\t\tlong cube = i * i * i;\n\t\t\twhile (cube / (long) Math.pow(10, numberOfDigits) != 0) {\n\t\t\t\tnumberOfDigits++;\n\t\t\t\tcount.clear();\n\t\t\t}\n\t\t\tfinal List<Integer> digits = Arrays.asList(new Integer[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 });\n\t\t\twhile (cube > 0) {\n\t\t\t\tfinal int lastDigit = (int) (cube % 10);\n\t\t\t\tfinal int x = digits.get(lastDigit);\n\t\t\t\tdigits.set(lastDigit, x + 1);\n\t\t\t\tcube /= 10;\n\t\t\t}\n\t\t\tif (!count.containsKey(digits)) {\n\t\t\t\tsmallestCube.put(digits, i * i * i);\n\t\t\t}\n\t\t\tif (count.countUp(digits) == 5) {\n\t\t\t\treturn Long.toString(smallestCube.get(digits));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "766980da11e058319093a4c123a809c7", "score": "0.50158596", "text": "String getKilogram();", "title": "" }, { "docid": "3f0cddfeb6bcce39d65cec3a6cdd2115", "score": "0.5015046", "text": "private static void puzzleNo6() {\n \t\tString result = \"\";\n int ourNumber = 15;\n \n for (int i = 0; i < 4; i++) {\n result += Integer.toString(ourNumber%2);\n ourNumber /= 2;\n }\n \n System.out.println(result);\n \n \t\tblackBox.puzzleNo6(result);\n \t}", "title": "" }, { "docid": "5b6362b5ee4b39c85ca79c025667e320", "score": "0.50147605", "text": "public void calculateKW(){there are 33.41kwh of energy in 1 gallon of Gasoline\n //there is 37.95kwh of energy in 1 gallon of Diesel\n //\n\n double gasPerKW = 33.41;\n }", "title": "" }, { "docid": "ec28fd0d4378ac9c598ca7989f4fef84", "score": "0.5013027", "text": "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tString number = scan.next();\r\n\t\tscan.close();\r\n\t\t\r\n\t\tString num = number;\r\n\t\tint cnt = 1;\r\n\t\t\r\n\t\twhile(!hasAllOnes1(num)){\r\n\t\t\tif(num.length() > 40){\r\n\t\t\t\tSystem.out.println(\"number not found\");\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\r\n\t\t\tcnt++;\r\n\t\t\tchar[] s1 = number.toCharArray(); \r\n\t\t\tchar[] s2 = num.toCharArray();\r\n\t\t\t//s2's length is always longer\r\n\t\t\t\r\n\t\t\tStringBuilder res = new StringBuilder();\r\n\t\t\tint carry = 0;\r\n\t\t\tfor(int i = s2.length-1, j = s1.length-1; j >= 0 ; i--, j--){\r\n\t\t\t\tint a = s1[j]-'0';\r\n\t\t\t\tint b = s2[i]-'0';\r\n\t\t\t\tint c = (a + b + carry)%10; \r\n\t\t\t\tcarry = (a + b + carry)/10;\r\n\t\t\t\tres.append(c);\r\n\t\t\t\r\n \t\t\t}\r\n\t\t\t\r\n\t\t\tfor(int i = s2.length-s1.length-1; i >= 0; i--){\r\n\t\t\t\tint a = s2[i]-'0';\r\n\t\t\t\tint c = (a + carry)%10;\r\n\t\t\t\t//System.out.println(\"\tb: \"+a+\" c: \"+c+\" carry =\"+carry);\r\n\t\t\t\tcarry = (a + carry)/10;\r\n\t\t\t\tres.append(c);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(carry != 0){\r\n\t\t\t\tres.append(carry);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString result = res.reverse().toString();\r\n\t\t\tnum = result;\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println(countOnes1(num));\r\n\t\tSystem.out.println(\"cnt :\"+cnt);\r\n\t}", "title": "" }, { "docid": "39e011312a837df8ff6b294816647305", "score": "0.50117964", "text": "private List<Integer> RabinKarp(String text, String pattern) {\n if (pattern.length() > text.length()) {\n return null;\n }\n\n /* 2 */\n int a = 53;\n long m = 1_000_000_000 + 9;\n\n /* 3 */\n long patternHash = 0;\n long currSubstringHash = 0;\n long pow = 1;\n\n // find the hash value for pattern and the first substring in the text\n for (int i = 0; i < pattern.length(); i++) {\n patternHash += charToLong(pattern.charAt(i)) * pow;\n patternHash %= m;\n\n currSubstringHash += charToLong(text.charAt(text.length() - pattern.length() + i)) * pow;\n currSubstringHash %= m;\n\n if (i != pattern.length() - 1) {\n pow = pow * a % m;\n }\n }\n\n /* 4 */\n // save the matched substring position to occurrences list\n ArrayList<Integer> occurrences = new ArrayList<>();\n\n for (int i = text.length(); i >= pattern.length(); i--) {\n if (patternHash == currSubstringHash) {\n boolean patternIsFound = true;\n\n for (int j = 0; j < pattern.length(); j++) {\n if (text.charAt(i - pattern.length() + j) != pattern.charAt(j)) {\n patternIsFound = false;\n break;\n }\n }\n\n if (patternIsFound) {\n occurrences.add(i - pattern.length());\n }\n }\n\n if (i > pattern.length()) {\n /* 5 */\n currSubstringHash = (m + currSubstringHash - charToLong(text.charAt(i - 1)) * pow % m) % m * a % m;\n currSubstringHash = (currSubstringHash + charToLong(text.charAt(i - pattern.length() - 1))) % m;\n }\n }\n\n Collections.reverse(occurrences);\n return occurrences;\n\n }", "title": "" }, { "docid": "63e1f39789e375727fac0d02e00abf02", "score": "0.50103456", "text": "public String mul(String num1, String num2){\n\t\tint m = num1.length();\n\t\tint n = num2.length();\n\t\tint[] pos = new int[m+n];\n\n\t\tfor(int i=m-1; i>=0; i--){\n\t\t\tfor(int j=n-1; j>=0; j--){\n\t\t\t\tint mul = (num1.charAt(i) - '0') * (num2.charAt(j) - '0');\n\t\t\t\tint p1 = i+j;\n\t\t\t\tint p2 = i+j+1;\n\t\t\t\tint sum = mul + pos[p2];\n\t\t\t\tpos[p1] += sum / 10;\n\t\t\t\tpos[p2] = (sum) % 10;\n\t\t\t}\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int p : pos) if (!(sb.length() == 0 && p == 0)) sb.append(p);\n\t\treturn sb.length() == 0 ? \"0\" : sb.toString();\n\t}", "title": "" }, { "docid": "5c3c8082166266ebdbf41bd640ea0a70", "score": "0.50076663", "text": "public static int solution(String S) {\n int output=0;\n String[] elements = S.split(Character.toString((char)10));\n TreeMap<Integer,Integer> result = new TreeMap<>();\n TreeMap<Integer, Integer> treeMap = new TreeMap<>();\n for (String e : elements) {\n String[] element = e.split(\",\");\n String time =element[0];\n Integer number = Integer.parseInt(element[1].replaceAll(\"-\",\"\"));\n LocalTime t = LocalTime.parse(time);\n int sum = t.getMinute()+ (t.getSecond() > 0 ? +1:0);\n int total = 0;\n if (sum >=5 ) {\n total = sum * 150;\n } else {\n total = (t.getMinute() * 60 + (t.getSecond() > 0 ? +1:0)) * 3;\n }\n if (treeMap.containsKey(number)){\n treeMap.put(number,total + treeMap.get(number));\n } else {\n treeMap.put(number,total);\n }\n\n }\n Set<Integer> keys = treeMap.keySet();\n for(Integer key: keys){\n result.put(treeMap.get(key),key);\n }\n if(result.size() == 1) {\n output = result.firstEntry().getValue();\n\n } else{\n Set<Integer> keysMap = result.keySet();\n for(Integer key: keysMap){\n output+= key;\n }\n output-= result.lastEntry().getKey();\n }\n System.out.println(\"Output is : \" + output);\n return output;\n }", "title": "" }, { "docid": "7f65009691adedfa8b2f68d8e0ce7a4c", "score": "0.4998348", "text": "public String euler80() {\n\t\tint sum = 0;\n\t\tint j = 1;\n\t\tfor (int i = 1; i <= 100; i++) {\n\t\t\tif (j * j == i) {\n\t\t\t\tj++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tBigDecimal d = new BigDecimal(i);\n\t\t\td = Library.squareRoot(d, 103);\n\t\t\tfinal String s = d.toPlainString().substring(0, 101).replaceAll(\"\\\\.\", \"\");\n\t\t\tsum += Library.digitSum(s);\n\t\t}\n\t\treturn Integer.toString(sum);\n\t}", "title": "" }, { "docid": "213d37df33cfa335971a693d12fc241a", "score": "0.4995463", "text": "public String multiply(String num1, String num2) {\n int i = num1.length() - 1,\n j = num2.length() - 1;\n int value1,value2,values;\n int current,next = 0;\n StringBuilder result = new StringBuilder();\n StringBuilder singleResult;\n while(i >= 0){\n value1 = num1.charAt(i) - '0';\n singleResult = new StringBuilder();\n while(j >= 0) {\n value2 = num2.charAt(j) - '0';\n values = value1 * value2 + next;\n if(values > 9) {\n current = values % 10;\n next = values / 10;\n } else {\n current = values;\n next = 0;\n }\n singleResult.append(current);\n j--;\n }\n if(next > 0) singleResult.append(next);\n singleResult.reverse();\n if(!singleResult.toString().equals(\"0\")) {\n\t for(int temp = i; temp < num1.length() - 1; temp++) {\n\t singleResult.append(0);\n\t }\n }\n result= addString(singleResult, result);\n next = 0;\n j = num2.length() - 1;\n i--;\n }\n \n return result.toString();\n }", "title": "" }, { "docid": "3a58c3300ed71d16fac632100a677223", "score": "0.49941388", "text": "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\tString str=sc.next();\n\t\tint count=0,max=0,min=9,sum=0,sum1=1,sum2=0;\n\t\tchar b[]=str.toCharArray();\n\t\tint a[]=new int[10];\n\t\tfor(int i=0;i<str.length();i++)\n\t\t{\n\t\t\tif(b[i]>=48&&b[i]<=57)\n\t\t\t{\n\t\t\t\ta[count]=Character.getNumericValue(b[i]);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<count;i++)\n\t\t{\n\t\t\tif(a[i]>max)\n\t\t\tmax=a[i];\n\t\t\tif(a[i]<min)\n\t\t\tmin=a[i];\n\t\t}\n\t\tfor(int i=0;i<count;i++)\n\t\t{\n\t\t\tsum=sum+(a[i]*max);\n\t\t\tsum1=sum1*(a[i]+min);\n\t\t}\n\t\tdo\n\t\t{\n\t\t\twhile(sum>0)\n\t\t\t{\n\t\t\t\tsum2=sum2+(sum%10);\n\t\t\t\tsum=sum/10;\n\t\t\t}\n\t\t\tsum=sum2;\n\t\t\tsum2=0;\n\t\t}while(sum>9);\n\t\tdo\n\t\t{\n\t\t\twhile(sum1>0)\n\t\t\t{\n\t\t\t\tsum2=sum2+(sum1%10);\n\t\t\t\tsum1=sum1/10;\n\t\t}\n\t\tsum1=sum2;\n\t\tsum2=0;\n\t}while(sum1>9);\n\tif(sum>sum1)\n\tSystem.out.println(\"Sum:\"+sum1*sum1);\n\telse\n\tSystem.out.println(\"Sum:\"+sum*sum);\n\t\n}", "title": "" }, { "docid": "561c357af55da8598b44c53e92416935", "score": "0.4992956", "text": "public double keanggotaanTinggi() {\n if (ram < 1) { //perhitungan untuk hasil nilai ram lebih kecil atau sama dengan kriteria tinggi\n return 0;\n } else if (ram >= 1 && ram <= 2) {\n return ((ram - 1) / (2 - 1));//perhitungan untuk hasil nilai ram lebih tingggi dari 1 dan kurang dari 0\n } else {\n return 1;\n }\n }", "title": "" }, { "docid": "6202cfc841bd3f887474df84a58a60fa", "score": "0.49914646", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tint inputArmstrongNumber = 153; //Input number to check armstrong \r\n\t\tint calculated, original, result = 0;\r\n\t\t\r\n\t\tcalculated = inputArmstrongNumber;\r\n\t\t\r\n\t\twhile (calculated != 0)\r\n {\r\n \t\r\n \t\r\n System.out.println(\"Current Number is \"+calculated);\r\n original =calculated % 10;\r\n\t\t\tSystem.out.println(\"Current Digit is \"+original);\r\n //sum of cubes of each digits is equal to thetempNumber itself\r\n result = result + original*original*original;\r\n\t\t\tSystem.out.println(\"Current Result is \"+result);\r\n calculated /= 10;\r\n \r\n }\r\n\r\n //check giventempNumber and digitCubeSum is equal to or not \r\n if(result == inputArmstrongNumber)\r\n System.out.println(inputArmstrongNumber + \" is an Armstrong Number\");\r\n else\r\n System.out.println(inputArmstrongNumber + \" is not an Armstrong Number\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c4ec66dbb7918e4f76d2c8926de3714b", "score": "0.49905017", "text": "public static void main(String[] args) {\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\t\tif(sc.hasNext()){\n\t\t\tint n=sc.nextInt();\n\t\t\tint k=sc.nextInt();\n\t\t\tint result=0;\n\t\t\t\n\t\t\tif(n==5 && k==10){\n\t\t\t\tSystem.out.println(\"4\");\n\t\t\t\treturn;\n\n\t\t\t}\n\t\t\tif(k>n){\n\t\t\t\tresult=n;\n\t\t\t\tk=n-k;\n\t\t\t\tint b=n-1;\n\t\t\t\tint l=k/b;\n\t\t\t\tl=Math.abs(l);\n\t\t\t\t//System.out.print(\"l=\"+l);\n\n\t\t\t\tif(k%b==0){\n\t\t\t\t\t//result=result-1;\n\t\t\t\t\t//System.out.print(\"res=\"+result);\n\n\t\t\t\t}else{\n\t\t\t\t\tl++;\n\t\t\t\tresult=result-l;\n\t\t\t\t//System.out.print(\"res2=\"+result);\n\n\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\"+(result));\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"\"+k);\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "e83c5c899fee97c9364849e21a8b295b", "score": "0.49893886", "text": "public static void armStrongNumber(int number) {\n int num = number, originalNUmber = num, rem, sum = 0;\n while (num > 0) {\n rem = num % 10;\n num = num / 10;\n sum = sum + rem * rem * rem;\n }\n if (originalNUmber == sum)\n System.out.println(\"ArmStrongNumer\");\n else\n System.out.println(\"!concept.ArmStrongNumber\");\n }", "title": "" }, { "docid": "8deff64d40c79988b0ca3c4d52eccd74", "score": "0.49854422", "text": "private static int sumOfSubstrings_3(String num) {\n\t\tint n=num.length();\n\t\tint MOD=1000000007;\n\t\tlong sum = 0;\n\t\tlong mf = 1; \n\t\tfor(int i = n - 1; i >= 0; i --) {\n\t\t sum=(sum+(num.charAt(i) - '0') * (i + 1) * mf)%MOD;\n\t\t mf=(mf*10+1)%MOD; \n\t\t}\n\t\treturn (int)sum;\n\t}", "title": "" } ]
7661a2b98148ab50dbb4a96ee4a56258
This method was generated by MyBatis Generator. This method corresponds to the database table saving
[ { "docid": "6b4958ca7c4204b2c6943826107a4fbd", "score": "0.0", "text": "int insert(Saving record);", "title": "" } ]
[ { "docid": "780c883f87dfe7de4f2b946bc8112642", "score": "0.65488476", "text": "@Override\n\tpublic void save(Object anObject) throws SQLException {\n\t}", "title": "" }, { "docid": "e00d21302c05d49b0394005a611f670d", "score": "0.63741034", "text": "public void saveResultTable(ResultTable resulttable_1);", "title": "" }, { "docid": "3efad826a9b3322aa22c7b3ae33af402", "score": "0.62916195", "text": "@Override\n\tpublic void save(Row row) {\n\t}", "title": "" }, { "docid": "d2769a1ddb9a61ae77272175aff8132d", "score": "0.6052015", "text": "public int save(SaveQuery saveQuery, EntityDetails entityDetails, ObjectWrapper<Object> idGenerated);", "title": "" }, { "docid": "bb6aab359ec3b652beff155c96a9d256", "score": "0.60231346", "text": "@Override\n\tpublic void save() {\n\t\tsuper.save();\n\t}", "title": "" }, { "docid": "5ae115829580d14f34282edee793aa69", "score": "0.59289473", "text": "@Persist\n\tpublic void save() {\n\t}", "title": "" }, { "docid": "95c00a238088e69bf2dcf63c23c179c1", "score": "0.59103876", "text": "@Override\n\tpublic void save() {\n\t\t\n\t}", "title": "" }, { "docid": "95c00a238088e69bf2dcf63c23c179c1", "score": "0.59103876", "text": "@Override\n\tpublic void save() {\n\t\t\n\t}", "title": "" }, { "docid": "6f063a599c30644a0811ebf7a5027616", "score": "0.590927", "text": "private void saveTable(final Dataset<Row> propertyTableDataset) {\r\n\t\t// write the final one, partitioned by subject\r\n\t\t// propertyTable = propertyTable.repartition(1000, column_name_subject);\r\n\t\tif (wptPartitionedBySub) {\r\n\t\t\tif (propertyTableType == PropertyTableType.IWPT) {\r\n\t\t\t\tpropertyTableDataset.write().mode(SaveMode.Overwrite).partitionBy(column_name_object)\r\n\t\t\t\t\t\t.format(table_format).saveAsTable(output_tablename);\r\n\t\t\t} else {\r\n\t\t\t\tpropertyTableDataset.write().mode(SaveMode.Overwrite).partitionBy(column_name_subject)\r\n\t\t\t\t\t\t.format(table_format).saveAsTable(output_tablename);\r\n\t\t\t}\r\n\t\t} else if (!wptPartitionedBySub) {\r\n\t\t\tpropertyTableDataset.write().mode(SaveMode.Overwrite).format(table_format).saveAsTable(output_tablename);\r\n\t\t}\r\n\t\tlogger.info(\"Created property table with name: \" + output_tablename);\r\n\r\n\t}", "title": "" }, { "docid": "81221e025763f8dc0f5dfde3ea81aa50", "score": "0.5901827", "text": "@Override\n\tpublic void doSave(Admin var1) throws SQLException {\n\t\t\n\t}", "title": "" }, { "docid": "c2f661890e82b25cbda6cef8bf82a5af", "score": "0.5871031", "text": "@Override\n\tpublic void save() {\n\t\tSession session = null;\n\t/*\ttry {\n\t\t\tSession session = MSSqlConectionPool.getCurrentSession();\n\t\t\n\t\t//session.beginTransaction();\n\t\tHibernateTemplate hibernateTemplate=new HibernateTemplate(session.getSessionFactory());\n\t\t//hibernateTemplate.setCheckWriteOperations(false);\n\t\t//userList=(List<User>) hibernateTemplate.find(\"from user_tbl\");\n\t\thibernateTemplate.getSessionFactory().getCurrentSession().setFlushMode(FlushMode.AUTO);\n\t\tPrimusUser user=new PrimusUser();\n\t\tuser.setAge(12);\n user.setName(\"srisailam\");\n\t\thibernateTemplate.save(user);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}*/\n\t\ttry {\n\t\t\tsession = MSSqlConectionPool.getCurrentSession();\n\t\t\t PrimusUser primusUser=new PrimusUser();\n\t\t\t primusUser.setAge(11);\n\t\t\t primusUser.setName(\"Srisailam\");\n\t session.save(primusUser);\n\t session.flush(); \n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\n\t\t} finally {\n\t try {if(session != null) session.close();} catch(Exception ex) {}\n\t }\n\t}", "title": "" }, { "docid": "5660d33add70f7b90c38a5b5b35bac4f", "score": "0.58249617", "text": "@Override\n\tpublic void dbSave(long idSymbologie) {\n\t\t\n\t}", "title": "" }, { "docid": "e6dabf59cf163e38cab645429dbb88cb", "score": "0.58145386", "text": "@Insert({ \"insert into tb_task (task_type, task_status, \", \"chain_id, group_id, \", \"node_id, current_handler_host, \", \"gmt_create, gmt_modified, \", \"description, remark)\", \"values (#{taskType,jdbcType=TINYINT}, #{taskStatus,jdbcType=TINYINT}, \", \"#{chainId,jdbcType=INTEGER}, #{groupId,jdbcType=INTEGER}, \", \"#{nodeId,jdbcType=VARCHAR}, #{currentHandlerHost,jdbcType=VARCHAR}, \", \"#{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, \", \"#{description,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR})\" })\n @SelectKey(statement = \"SELECT LAST_INSERT_ID()\", keyProperty = \"id\", before = false, resultType = Integer.class)\n int insert(TbTask record);", "title": "" }, { "docid": "54082cc60de81fb30c0392d4f91ed1f3", "score": "0.57987934", "text": "Integer Insert(DataModel obj) throws SQLException;", "title": "" }, { "docid": "8a4468570115ce90f83d61451064e7b8", "score": "0.57977015", "text": "@Override\r\n\tpublic boolean sqlMapDocumentGenerated(Document document,\r\n\t\t\tIntrospectedTable introspectedTable) {\r\n\t\tList<XmlElement> elements = elementsToAdd.get(introspectedTable.getFullyQualifiedTable());\r\n\t\tif (elements != null) {\r\n\t\t\tfor (XmlElement element : elements) {\r\n\t\t\t\tdocument.getRootElement().addElement(element);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "025e8f15059b103dc6f7d0b2ff00f9d4", "score": "0.57939583", "text": "public boolean saveSqlData() {\n boolean success = true;\n Connection conn = null;\n try {\n String userName = \"SAINReport\";\n String password = \"\";\n String url = \"jdbc:mysql://localhost/SAINReport\";\n Class.forName(\"com.mysql.jdbc.Driver\").newInstance();\n conn = DriverManager.getConnection(url, userName, password);\n Statement stmt = conn.createStatement();\n PreparedStatement ps = null;\n ByteArrayOutputStream byteOut = new ByteArrayOutputStream();\n ObjectOutputStream objOut = new ObjectOutputStream(byteOut);\n stmt.executeUpdate(\"drop table if exists courses\");\n stmt.executeUpdate(\"CREATE TABLE `courses` (`id` int(11) unsigned NOT NULL AUTO_INCREMENT, `serialObj` longblob, PRIMARY KEY (`id`))\");\n for (Course c: courses.getCourses()) {\n \tbyteOut = new ByteArrayOutputStream();\n \tobjOut = new ObjectOutputStream(byteOut);\n objOut.writeObject(c);\n objOut.flush();\n objOut.close();\n byteOut.close();\n byte[] data = byteOut.toByteArray();\n String str = \"INSERT INTO courses (serialObj) VALUES(?);\";\n ps = conn.prepareStatement(str);\n ps.setObject(1, data);\n ps.executeUpdate();\n }\n stmt.executeUpdate(\"drop table if exists majors\");\n stmt.executeUpdate(\"CREATE TABLE `majors` (`id` int(11) unsigned NOT NULL AUTO_INCREMENT, `serialObj` longblob, PRIMARY KEY (`id`))\");\n for (Major m: majors.getMajors()) {\n \tbyteOut = new ByteArrayOutputStream();\n \tobjOut = new ObjectOutputStream(byteOut);\n objOut.writeObject(m);\n objOut.flush();\n objOut.close();\n byteOut.close();\n byte[] data = byteOut.toByteArray();\n String str = \"INSERT INTO majors (serialObj) VALUES(?);\";\n ps = conn.prepareStatement(str);\n ps.setObject(1, data);\n ps.executeUpdate();\n }\n stmt.executeUpdate(\"drop table if exists users\");\n stmt.executeUpdate(\"CREATE TABLE `users` (`id` int(11) unsigned NOT NULL AUTO_INCREMENT, `serialObj` longblob, PRIMARY KEY (`id`))\");\n for (User u: users.getUsers()) {\n \tbyteOut = new ByteArrayOutputStream();\n \tobjOut = new ObjectOutputStream(byteOut);\n objOut.writeObject(u);\n objOut.flush();\n objOut.close();\n byteOut.close();\n byte[] data = byteOut.toByteArray();\n String str = \"INSERT INTO users (serialObj) VALUES(?);\";\n ps = conn.prepareStatement(str);\n ps.setObject(1, data);\n ps.executeUpdate();\n }\n } catch (Exception e) {\n success = false;\n e.printStackTrace();\n } finally {\n if (conn != null) {\n try {\n conn.close();\n } catch (Exception e) {\n\n }\n }\n }\n return success;\n }", "title": "" }, { "docid": "93be142e992f9e608fd3e6c7bc26648a", "score": "0.57884395", "text": "public void save() {\r\n\t\ttry {\r\n row_selected.setStatus((short)1);\r\n //ParametroFacadeRemote.create(row_selected);\r\n\t\t\taddRow();\r\n messgeValidateInfo(\"form:saveButton\",\"Registro Cargado correctamente \"); \r\n\t\t} catch (Exception e) {\r\n\t\t\t\r\n messgeValidateError(\"form:saveButton\",\"Error:\"+e.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7acd179b0333a2a64eef11f83b3c6958", "score": "0.5785426", "text": "private void addValuesToDatabase() {\n\n }", "title": "" }, { "docid": "bb9b52c0668602906f4c1caaa3ec7e79", "score": "0.5765371", "text": "@Insert({\n \"insert into activity (`title`, `description`, \",\n \"`start_time`, `end_time`, \",\n \"`create_time`, `update_time`, \",\n \"`delete_time`, `remark`, \",\n \"`online`, `entrance_img`, \",\n \"`internal_top_img`, `name`)\",\n \"values (#{title,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, \",\n \"#{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, \",\n \"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, \",\n \"#{deleteTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, \",\n \"#{online,jdbcType=TINYINT}, #{entranceImg,jdbcType=VARCHAR}, \",\n \"#{internalTopImg,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Integer.class)\n int insert(Activity record);", "title": "" }, { "docid": "c185443a20ed138d71ae046c1146abc8", "score": "0.5733004", "text": "public void saveStudentUsingNPJTemplateWithSQLMap() {\n\t\tSqlParameterSource inputs = new MapSqlParameterSource()\n\t\t\t\t.addValue(\"sName\", \"TestStudent3\")\n\t\t\t\t.addValue(\"sId\", 103)\n\t\t\t\t.addValue(\"sAddress\", \"India\");\n\t\tint count = namedParameterJdbcTemplate1.update(\"insert into student(studentName, studentId, address) \"\n\t\t\t\t+ \"values(:sName, :sId, :sAddress)\", inputs);\n\t\tSystem.out.println(count + \" record inserted using saveStudentUsingNPJTemplateWithSQLMap\");\n\t}", "title": "" }, { "docid": "5d910d0d867e899daaa03167ad21cf93", "score": "0.5729195", "text": "@Override\n public void save() {\n }", "title": "" }, { "docid": "6e33bae77f99676aad250042d15242fd", "score": "0.57197636", "text": "public void save() {\n }", "title": "" }, { "docid": "00285f1f0a21e06db33ee5d1ce226946", "score": "0.5698243", "text": "@Insert({\r\n \"insert into OP.T_CM_ORG (ORG_CD, ORG_NM, \",\r\n \"ORG_SHORT_NM, ORG_TYPE, \",\r\n \"INTERPHONE_NO, ZIP_NO, \",\r\n \"ORG_ADDR, CHARGE_NM, \",\r\n \"TELE_NO, RECV_PLACE, \",\r\n \"FAX_NO, USUAL_START_TIME, \",\r\n \"USUAL_END_TIME, SAT_START_TIME, \",\r\n \"SAT_END_TIME, HOL_START_TIME, \",\r\n \"HOL_END_TIME, IN_START_TIME, \",\r\n \"IN_END_TIME, OUT_START_TIME, \",\r\n \"OUT_END_TIME, NIGHT_START_TIME, \",\r\n \"NIGHT_END_TIME, SVC_TYPE, \",\r\n \"AMT_UNIT, TRAN_YN, \",\r\n \"BRANCH_YN, RETURN_YN, \",\r\n \"NICE_ORG_YN, UMS_YN, \",\r\n \"OPEN_YN, ARRIVAL_YN, \",\r\n \"MEMO, UPDATE_DATE, \",\r\n \"UPDATE_UID, SITE_ADD_YN, \",\r\n \"KFTC_ORG_CD, START_DATE, \",\r\n \"END_DATE, USE_YN, \",\r\n \"IN_FEE, OUT_FEE, SEND_IN_FEE, \",\r\n \"SEND_OUT_FEE, SAT_CLOSE_YN, \",\r\n \"NO_ACNT_TERM, NICE_SERVICE_YN, \",\r\n \"SVC_STATUS, SVCOUT_START_DATE, \",\r\n \"SVCOUT_END_DATE, SVCOUT_START_TIME, \",\r\n \"SVCOUT_END_TIME, VOUCHER_CASH_N_COUPON)\",\r\n \"values (#{orgCd,jdbcType=VARCHAR}, #{orgNm,jdbcType=VARCHAR}, \",\r\n \"#{orgShortNm,jdbcType=VARCHAR}, #{orgType,jdbcType=VARCHAR}, \",\r\n \"#{interphoneNo,jdbcType=VARCHAR}, #{zipNo,jdbcType=VARCHAR}, \",\r\n \"#{orgAddr,jdbcType=VARCHAR}, #{chargeNm,jdbcType=VARCHAR}, \",\r\n \"#{teleNo,jdbcType=VARCHAR}, #{recvPlace,jdbcType=VARCHAR}, \",\r\n \"#{faxNo,jdbcType=VARCHAR}, #{usualStartTime,jdbcType=VARCHAR}, \",\r\n \"#{usualEndTime,jdbcType=VARCHAR}, #{satStartTime,jdbcType=VARCHAR}, \",\r\n \"#{satEndTime,jdbcType=VARCHAR}, #{holStartTime,jdbcType=VARCHAR}, \",\r\n \"#{holEndTime,jdbcType=VARCHAR}, #{inStartTime,jdbcType=VARCHAR}, \",\r\n \"#{inEndTime,jdbcType=VARCHAR}, #{outStartTime,jdbcType=VARCHAR}, \",\r\n \"#{outEndTime,jdbcType=VARCHAR}, #{nightStartTime,jdbcType=VARCHAR}, \",\r\n \"#{nightEndTime,jdbcType=VARCHAR}, #{svcType,jdbcType=VARCHAR}, \",\r\n \"#{amtUnit,jdbcType=DECIMAL}, #{tranYn,jdbcType=VARCHAR}, \",\r\n \"#{branchYn,jdbcType=VARCHAR}, #{returnYn,jdbcType=VARCHAR}, \",\r\n \"#{niceOrgYn,jdbcType=VARCHAR}, #{umsYn,jdbcType=VARCHAR}, \",\r\n \"#{openYn,jdbcType=VARCHAR}, #{arrivalYn,jdbcType=VARCHAR}, \",\r\n \"#{memo,jdbcType=VARCHAR}, #{updateDate,jdbcType=TIMESTAMP}, \",\r\n \"#{updateUid,jdbcType=VARCHAR}, #{siteAddYn,jdbcType=VARCHAR}, \",\r\n \"#{kftcOrgCd,jdbcType=VARCHAR}, #{startDate,jdbcType=VARCHAR}, \",\r\n \"#{endDate,jdbcType=VARCHAR}, #{useYn,jdbcType=VARCHAR}, \",\r\n \"#{inFee,jdbcType=VARCHAR}, #{outFee,jdbcType=VARCHAR}, #{sendInFee,jdbcType=VARCHAR}, \",\r\n \"#{sendOutFee,jdbcType=VARCHAR}, #{satCloseYn,jdbcType=VARCHAR}, \",\r\n \"#{noAcntTerm,jdbcType=VARCHAR}, #{niceServiceYn,jdbcType=VARCHAR}, \",\r\n \"#{svcStatus,jdbcType=VARCHAR}, #{svcoutStartDate,jdbcType=VARCHAR}, \",\r\n \"#{svcoutEndDate,jdbcType=VARCHAR}, #{svcoutStartTime,jdbcType=VARCHAR}, \",\r\n \"#{svcoutEndTime,jdbcType=VARCHAR}, #{voucherCashNCoupon,jdbcType=VARCHAR})\"\r\n })\r\n int insert(TCmOrg record);", "title": "" }, { "docid": "378fe1d34e7832dedad328924bcabe7f", "score": "0.56980735", "text": "@Mapper\npublic interface SubjectAdvancedPayOffPenaltyDefDao {\n\n @Select(\"select * from ndr_subject_advanced_payoff_penalty_def where id = #{id}\")\n SubjectAdvancedPayOffPenaltyDef findById(Integer id);\n\n @Insert(\"INSERT INTO ndr_subject_advanced_payoff_penalty_def \" +\n \"('code', 'def_desc', 'penalty_rate', 'penalty_base', 'create_time', 'update_time') \" +\n \"VALUES \" +\n \"(#{code}, #{defDesc}, #{penaltyRate}, #{penaltyBase}, #{createTime}, #{updateTime})\")\n int insert(SubjectAdvancedPayOffPenaltyDef subjectAdvancedPayOffPenaltyDef);\n\n}", "title": "" }, { "docid": "fb2b0306014f784da13998cfdab3213e", "score": "0.5689269", "text": "@Override\n\tpublic void insertar(Estamento obj) throws SQLException {\n\t\t\n\t}", "title": "" }, { "docid": "cfda2d236d51c5d243c7cb2df9281222", "score": "0.56800854", "text": "public void saveStundentUsingSimpleJDBCInsert() {\n\t\tSimpleJdbcInsert jdbcInsert = new SimpleJdbcInsert(jdbcTemplate1)\n\t\t\t\t.withTableName(\"student\");\n\t\tMap<String, Object> inputMap = new HashMap<String, Object>();\n\t\tinputMap.put(\"studentName\", \"TestStudent4\");\n\t\tinputMap.put(\"address\", \"India\");\n\t\tinputMap.put(\"studentId\", 104);\n\t\t\n\t\tint count = jdbcInsert.execute(inputMap);\n\t\t\n\t\tSystem.out.println(count + \" record inserted by saveStundentUsingSimpleJDBCInsert\");\n\t}", "title": "" }, { "docid": "36380d1a57c8a218ec7c7c675527832f", "score": "0.5671458", "text": "private void saveToDB(){\t\n\t\ttry {\n\t\t\tdb.store(this.listOfMaps);\n\t\t}catch (Exception e) {\n\t\t\t//db.rollback(); //Rolls back the transaction\n\t\t\tSystem.out.println(\"Error Saving\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "22db8fb65642b2f27c70c62ab6210cbc", "score": "0.5659901", "text": "public void save() {\n\t\t\n\t}", "title": "" }, { "docid": "5fa85fdf82873fca582c9e16371f959f", "score": "0.565261", "text": "@Override\n public void save() { }", "title": "" }, { "docid": "d3a2742e01ea0d23a77770ecbe3c2b1a", "score": "0.5638088", "text": "@Override\n\t\tpublic void update(String sql) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "aafef0eb629a397fdafad5761cfe61d1", "score": "0.5632659", "text": "public interface SpotWantMapper {\n\n\n @Insert(\"INSERT INTO spotwant (spotwant,spotid,userid) VALUES(#{spotwant},#{spotid},#{userid};\")\n public int spotWant(SpotWantBean spotWantBean);\n\n @Insert(\"DELETE FROM spotwant where spotid =#{spotid} and userid=#{userid};\")\n public int disSpotWant(int spotid,int userid);\n\n @Select(\"SELECT * FROM spotwant WHERE spotid=#{spodid} and userid=#{userid};\")\n public int selectSpotWant(int spotid,int userid);\n}", "title": "" }, { "docid": "af1dd38061de616243d171003fc5cd46", "score": "0.5619817", "text": "public void saveAll();", "title": "" }, { "docid": "b8881e838a1e848a717be87b420309e1", "score": "0.561756", "text": "@Insert({\n \"insert into t_account (account_id, account_no, \",\n \"account_name, `password`, \",\n \"user_id, wx_open_id, \",\n \"`status`, created)\",\n \"values (#{accountId,jdbcType=VARCHAR}, #{accountNo,jdbcType=VARCHAR}, \",\n \"#{accountName,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, \",\n \"#{userId,jdbcType=VARCHAR}, #{wxOpenId,jdbcType=VARCHAR}, \",\n \"#{status,jdbcType=INTEGER}, #{created,jdbcType=TIMESTAMP})\"\n })\n int insert(Account record);", "title": "" }, { "docid": "23f4fe89c535e020fac6a6639f5fbc61", "score": "0.5614281", "text": "@Override\n @Transactional\n public void insertData() {\n }", "title": "" }, { "docid": "bf539b8f526a5df85d39c7543dda8a50", "score": "0.5607958", "text": "@Override\r\n\tpublic void save() {\r\n\t\tDatabase db = new Database(Settings.getServer());\r\n\t\tList<Parameter> params = new ArrayList<>();\r\n\t\t\r\n\t\t//Set parameter values from properties\r\n\t\tparams.add(new Parameter<Integer>(toyID));\r\n\t\tparams.add(new Parameter<Integer>(circuitID));\r\n\t\tparams.add(new Parameter<String>(manufactureLocation));\r\n\t\tparams.add(new Parameter<Double>(voltage));\r\n\t\tparams.add(new Parameter<Double>(amperage));\r\n\t\tparams.add(new Parameter<Double>(resistance));\r\n\t\t\r\n\t\t//Save\r\n\t\tdb.executeSql(\"usp_SaveCircuit\", params);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a03fcd7d46e65e9c6096fab5d8ae5d75", "score": "0.5606195", "text": "public void insert(Metamodel<?> metamodel, Object obj) {\n\n // Gets the table name of passed object through class annotation\n String tableName = metamodel.getTable().getTableName();\n /*\n Get all the values that the object holds, with the exception of serial values\n Represents the information a user would hand to us to make a new table entry\n */\n ArrayList<Object> objectValues = RepoHelper.getObjectValues(obj);\n // Get all the fields in the object for iteration purposes\n Field[] fields = obj.getClass().getDeclaredFields();\n // List to hold all string names of columns\n List<String> columnNames = new ArrayList<>();\n // Iteration over all fields\n for (Field field : fields) {\n // Making all fields visible\n field.setAccessible(true);\n // If the field is annotated as a Column, we grab the annotation object\n Column column = field.getAnnotation(Column.class);\n // If annotation exists for this field\n if (column != null) {\n try {\n // If annotation exists for this field, we add the String name of the column to running\n // list\n columnNames.add(field.getAnnotation(Column.class).columnName());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }\n // Pass the list of String names for each assignable column to our SQL statement builder\n String sql = Insert.getSQLStatementInsert(tableName, columnNames);\n\n try {\n // Changing to new connection each time\n Connection conn = ConnectionFactory.getInstance().getConnection();\n // Pass generated SQL statement\n PreparedStatement pstmt = conn.prepareStatement(sql);\n // Iterate on number of values object has to assign\n for (int i = 0; i < objectValues.size(); i++) {\n /*\n Assign the object value to the SQL statement wild card. Everything syncs up\n because the order was determined by iterating through fields. Indexing is 1-based\n */\n pstmt.setObject(i + 1, objectValues.get(i));\n }\n // Once all wild cards are set with values we execute the SQL statement\n pstmt.executeUpdate();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "29e47056c00cc5137c56ddfb67ec93af", "score": "0.5587569", "text": "public void saveStudentUsingJDBCTemplate() {\n\t\tint count = jdbcTemplate1.update(\"insert into student values(?,?,?)\", \n\t\t\t\t101, \"TestStudent\", \"India\");\n\t\tSystem.out.println(count + \" record inserted\");\n\t}", "title": "" }, { "docid": "30aa707493405e13dd194d46284d27bd", "score": "0.5585979", "text": "@Override\r\n\tpublic void save(Object obj) {\n\t\t\r\n\t\tTbDescargo descargo =(TbDescargo)obj;\r\n\t getCurrentSession().save(descargo);\r\n\t}", "title": "" }, { "docid": "c1a9d1e0cb0d29f16dc0e850a3119827", "score": "0.5564468", "text": "private void saveTableData() {\r\n\t\ttry {\r\n\t\t\tfor (int index=0; index < cvTableData.size(); index++) {\r\n\t\t\t\tAwardBudgetBean awardBudgetBean = \r\n\t\t\t\t\t\t(AwardBudgetBean)cvTableData.get(index);\r\n\t\t\t\tif (awardBudgetBean.getAcType()==null) {\r\n\t\t\t\t\tcontinue; \r\n\t\t\t\t}\r\n\t\t\t\tif (awardBudgetBean.getAcType().equals(TypeConstants.INSERT_RECORD)) {\r\n\t\t\t\t\tqueryEngine.insert(queryKey,awardBudgetBean);\r\n\t\t\t\t}\r\n\t\t\t\tif (awardBudgetBean.getAcType().equals(TypeConstants.UPDATE_RECORD)) {\r\n\r\n\t\t\t\t\tqueryEngine.update(queryKey,awardBudgetBean);\r\n\t\t\t\t} \r\n\t\t\t}\r\n\t\t} catch (CoeusException exception) {\r\n\t\t\t\texception.printStackTrace();\r\n\t\t}\r\n\t\tif (cvDelData != null && cvDelData.size() >= 0) {\r\n\t\t\ttry {\r\n\t\t\t\tfor (int index=0; index < cvDelData.size(); index++) {\r\n\t\t\t\t\tAwardBudgetBean awardBudgetBean = \r\n\t\t\t\t\t\t(AwardBudgetBean)cvDelData.get(index);\r\n\t\t\t\t\tqueryEngine.delete(queryKey,awardBudgetBean);\r\n\t\t\t\t}\r\n\t\t\t} catch (CoeusException exception) {\r\n\t\t\t\t\texception.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "9f5af6a7d708d2cca3e493f934911d61", "score": "0.55621177", "text": "@Insert({\n \"insert into tbl_book (id, name, \",\n \"price, number)\",\n \"values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, \",\n \"#{price,jdbcType=BIGINT}, #{number,jdbcType=INTEGER})\"\n })\n int insert(Book record);", "title": "" }, { "docid": "417c069227df031ac594bc217e341fed", "score": "0.555862", "text": "public abstract String toSql();", "title": "" }, { "docid": "12b2132c1060959ca9ad63706c271371", "score": "0.5557425", "text": "public void save() {\n\t}", "title": "" }, { "docid": "51ad6f05e67bf4906b621c5afb2c9a38", "score": "0.5549019", "text": "public interface MyTestMapper {\n\n @Select(\"select * from Materiel limit 0,10\")\n List<Materiel> queryMateriel() ;\n\n\n @Insert(\"insert into users (username,password,user_sex,nick_name) values (#{username},#{password},#{user_sex},#{nick_name})\")\n @Options(useGeneratedKeys=true,keyProperty=\"id\",keyColumn = \"id\")\n int insetTestUsers(TestUsers users ) ;\n\n\n\n}", "title": "" }, { "docid": "1370549f556a8b5f3d6ba55bccd8f66e", "score": "0.55350775", "text": "@Override\n public void persist(Object entity) throws SQLException, IllegalArgumentException, IllegalAccessException, InvocationTargetException\n {\n \n }", "title": "" }, { "docid": "73859cad31100a882e0e60ec52d77908", "score": "0.5534463", "text": "@Override\r\npublic void joinTeam(String uid, String tid) {\n\tSession session=sessionFactory.openSession();\r\n\tfinal String update=\"insert into users_team values(\"+uid+\",\"+tid+\")\";\r\n\tSystem.out.println(update);\r\n\tWork work=new Work(){\r\n\t\t@Override\r\n\t\tpublic void execute(Connection connection) throws SQLException {\r\n\t\t\t PreparedStatement stmt=connection\r\n\t\t\t .prepareStatement(update);\r\n\t\t\t stmt.executeUpdate();\r\n\t\t}\r\n };\r\n session.doWork(work);\r\n session.close();\r\n}", "title": "" }, { "docid": "8da075333316b7af055de9d08cb5809f", "score": "0.5534256", "text": "SimpleJdbcInsert getSimpleJdbcInsert();", "title": "" }, { "docid": "e34a3d126d6947660b7f4104096e18a8", "score": "0.55255467", "text": "private void copyAndSaveElement(XmlElement element, IntrospectedTable introspectedTable) {\r\n\r\n\t\t//テーブル名\r\n\t\tFullyQualifiedTable fqt = introspectedTable.getFullyQualifiedTable();\r\n\r\n\t\t//auto incrementカラム名\r\n\t\tString autoIncrementColumnName = \"\";\r\n\t\tfor (IntrospectedColumn pkColumn : introspectedTable.getPrimaryKeyColumns()) {\r\n\t\t\tif (pkColumn.isAutoIncrement()) {\r\n\t\t\t\tautoIncrementColumnName = pkColumn.getJavaProperty();\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (StringUtils.isNotEmpty(autoIncrementColumnName)) {\r\n\r\n\t\t\tXmlElement newElement = new XmlElement(element);\r\n\r\n\t\t\t// remove old id attribute and add a new one with the new name\r\n\t\t\tfor (Iterator<Attribute> iterator = newElement.getAttributes().iterator(); iterator.hasNext();) {\r\n\t\t\t\tAttribute attribute = iterator.next();\r\n\t\t\t\tif (\"id\".equals(attribute.getName())) { //$NON-NLS-1$\r\n\t\t\t\t\titerator.remove();\r\n\t\t\t\t\tAttribute newAttribute = new Attribute(\"id\", attribute.getValue() + \"ReturnedId\"); //$NON-NLS-1$ //$NON-NLS-2$\r\n\t\t\t\t\tnewElement.addAttribute(newAttribute);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tXmlElement selectKeyElement = new XmlElement(\"selectKey\");\r\n\t\t\tselectKeyElement.addAttribute(new Attribute(\"resultType\", \"java.lang.Long\"));\r\n\t\t\tselectKeyElement.addAttribute(new Attribute(\"keyProperty\", autoIncrementColumnName));\r\n\t\t\tselectKeyElement.addAttribute(new Attribute(\"order\", \"AFTER\"));\r\n\t\t\tselectKeyElement.addElement(new TextElement(\"select last_insert_id()\"));\r\n\t\t\tnewElement.addElement(selectKeyElement);\r\n\r\n\t\t\t// save the new element locally. We'll add it to the document\r\n\t\t\t// later\r\n\t\t\tList<XmlElement> elements = elementsToAdd.get(fqt);\r\n\t\t\tif (elements == null) {\r\n\t\t\t\telements = new ArrayList<XmlElement>();\r\n\t\t\t\telementsToAdd.put(fqt, elements);\r\n\t\t\t}\r\n\t\t\telements.add(newElement);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "c22b5d0bbc60c34329dfd05bf7e23589", "score": "0.55197114", "text": "public void saveValues();", "title": "" }, { "docid": "e7af3afcfb7f8b76010f9cd3e73d87f8", "score": "0.5512797", "text": "public interface DepartmentMapper {\n\n @Select(\"select * from department where id = #{id}\")\n public Department queryById(Integer id);\n\n @Options(useGeneratedKeys = true,keyProperty = \"id\")\n @Insert(\"insert into department(department_name) values(#{departmentName})\")\n public int insert(Department department);\n\n}", "title": "" }, { "docid": "47288893c1ec9e95e3b47532149094bf", "score": "0.55103046", "text": "public void save()\n\t{\n\t}", "title": "" }, { "docid": "9524ef6150e552033b1097a8aabe6a8e", "score": "0.5506864", "text": "@Insert({\n \"insert into `order` (orderId, orderSN, \",\n \"placeId, placeCityId, \",\n \"serviceDate, serviceTime, \",\n \"serviceAllDateDisplay, localDay, \",\n \"nonlocalDay, departure, \",\n \"destination, distance, \",\n \"deptDetailAddress, destDetailAddress, \",\n \"seatCategory, type, \",\n \"price, clientPrice, \",\n \"guidePrice, orderType, \",\n \"userGuideId, preGuideId, \",\n \"guideId, clientType, \",\n \"clientId, userpassportId, \",\n \"adminId, status, \",\n \"payStatus, hasRefund, \",\n \"imToken, deliveredPriority, \",\n \"dealOrderTime, reDeliverType, \",\n \"reDeliverCount, deliverTime, \",\n \"guideCommentStatus, userCommentStatus, \",\n \"updated_at, refId, \",\n \"mode, serviceCar, \",\n \"serviceGuide, serviceCarId, \",\n \"serviceGuideId, agencyType, \",\n \"deleted_at, created_at)\",\n \"values (#{orderid,jdbcType=VARCHAR}, #{ordersn,jdbcType=VARCHAR}, \",\n \"#{placeid,jdbcType=INTEGER}, #{placecityid,jdbcType=INTEGER}, \",\n \"#{servicedate,jdbcType=DATE}, #{servicetime,jdbcType=TIME}, \",\n \"#{servicealldatedisplay,jdbcType=VARCHAR}, #{localday,jdbcType=INTEGER}, \",\n \"#{nonlocalday,jdbcType=INTEGER}, #{departure,jdbcType=VARCHAR}, \",\n \"#{destination,jdbcType=VARCHAR}, #{distance,jdbcType=DECIMAL}, \",\n \"#{deptdetailaddress,jdbcType=VARCHAR}, #{destdetailaddress,jdbcType=VARCHAR}, \",\n \"#{seatcategory,jdbcType=TINYINT}, #{type,jdbcType=INTEGER}, \",\n \"#{price,jdbcType=INTEGER}, #{clientprice,jdbcType=INTEGER}, \",\n \"#{guideprice,jdbcType=INTEGER}, #{ordertype,jdbcType=INTEGER}, \",\n \"#{userguideid,jdbcType=INTEGER}, #{preguideid,jdbcType=INTEGER}, \",\n \"#{guideid,jdbcType=INTEGER}, #{clienttype,jdbcType=TINYINT}, \",\n \"#{clientid,jdbcType=VARCHAR}, #{userpassportid,jdbcType=VARCHAR}, \",\n \"#{adminid,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, \",\n \"#{paystatus,jdbcType=INTEGER}, #{hasrefund,jdbcType=INTEGER}, \",\n \"#{imtoken,jdbcType=VARCHAR}, #{deliveredpriority,jdbcType=INTEGER}, \",\n \"#{dealordertime,jdbcType=TIMESTAMP}, #{redelivertype,jdbcType=INTEGER}, \",\n \"#{redelivercount,jdbcType=INTEGER}, #{delivertime,jdbcType=TIMESTAMP}, \",\n \"#{guidecommentstatus,jdbcType=INTEGER}, #{usercommentstatus,jdbcType=INTEGER}, \",\n \"#{updatedAt,jdbcType=TIMESTAMP}, #{refid,jdbcType=VARCHAR}, \",\n \"#{mode,jdbcType=INTEGER}, #{servicecar,jdbcType=VARCHAR}, \",\n \"#{serviceguide,jdbcType=VARCHAR}, #{servicecarid,jdbcType=VARCHAR}, \",\n \"#{serviceguideid,jdbcType=VARCHAR}, #{agencytype,jdbcType=INTEGER}, \",\n \"#{deletedAt,jdbcType=TIMESTAMP}, #{createdAt,jdbcType=TIMESTAMP})\"\n })\n int insert(FinalOrderBean record);", "title": "" }, { "docid": "18a438516adc2d7551d6667ca567ed15", "score": "0.55022115", "text": "@Override\r\n\tpublic void importToSQL() throws SQLException {\n\r\n\t}", "title": "" }, { "docid": "890dc9185ad118526956d6d37d20e420", "score": "0.5501722", "text": "@Insert({\n \"insert into PUBLIC.EMPLOYEE (ID, FIRST_NAME, \",\n \"LAST_NAME, GENDER, \",\n \"DOB, SALARY, NICK_NAME, \",\n \"BEING_HIRED, DEPARTMENT_ID, \",\n \"VERSION, IMAGE_DATA)\",\n \"values (#{id,jdbcType=BIGINT}, #{firstName,jdbcType=VARCHAR}, \",\n \"#{lastName,jdbcType=VARCHAR}, #{gender,jdbcType=BOOLEAN}, \",\n \"#{dob,jdbcType=DATE}, #{salary,jdbcType=DECIMAL}, #{nickName,jdbcType=VARCHAR}, \",\n \"#{beingHired,jdbcType=BOOLEAN}, #{departmentId,jdbcType=BIGINT}, \",\n \"#{version,jdbcType=BIGINT}, #{imageData,jdbcType=BLOB})\"\n })\n int insert(Employee record);", "title": "" }, { "docid": "7a6ba4dc4133b5cafcd88fadeffcf287", "score": "0.55014217", "text": "public interface AddressMapper {\n\n @Insert(\"insert into address(province, city, country, detail_address)\" +\n \"values(#{province}, #{city}, #{country}, #{detail_address})\")\n @Options(keyProperty = \"address_id\", useGeneratedKeys = true)\n void addAddress(Address address);\n\n @Select(\"select * from address where address_id = #{address_id}\")\n Address getAddressById(@Param(\"address_id\")Long addressId);\n}", "title": "" }, { "docid": "54cbc776660366a0862ddcd1759c5497", "score": "0.5499889", "text": "public void save()\n\t{\n\t\tString query;\n\t\ttry{\n\t\t\tif(DMManager.execQuery(\"SELECT * FROM User WHERE userId = '\"+ userId + \"'\").next())\n\t\t\t{\n\t\t\t\tquery = \"UPDATE User SET name = '\"+name+\"' , passwordHash = '\"+passwordHash+\"' , credit = '\"+credit+\"' , userId = '\"+userId+\"' WHERE userId = '\"+ userId + \"'\";\n\t\t\t\tDMManager.execDDLQuery( query );\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tquery = \"INSERT INTO User (name, passwordHash, userId , credit ) VALUES ('\"+name+\"','\"+passwordHash+\"','\"+userId+\"','\"+credit+\"')\";\n\t\t\t\tDMManager.execDDLQuery( query );\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "8a88c185935e0434ce6f3776a12e38c8", "score": "0.54979575", "text": "@Mapper\npublic interface AccountDao {\n\n @Insert(\"insert into account(ant,score,version) values(#{ant},#{score},#{version})\")\n int addAccount(Account account);\n\n @Delete(\"delete from account where 1=1\")\n int deleteAll();\n\n\n @Results({\n @Result( property = \"id\" , column = \"id\" , id = true),\n @Result( property = \"ant\" , column = \"ant\" ),\n @Result( property = \"score\" , column = \"score\" ),\n @Result( property = \"version\" , column = \"id\" )\n }\n )\n @Select(\"select * from account where id = #{fromId}\")\n Account selectOne(Integer fromId);\n\n @Update( \"update account set ant = #{ant} ,et score = #{score} , set version= #{version} where id = #{id}\")\n int updateAccount(Account fromAccount);\n}", "title": "" }, { "docid": "e036408ef3701e985c674e4189bbb605", "score": "0.549348", "text": "@Repository\npublic interface UploadFileMapper {\n\n String COLUMNS=\"upload_file_id,upload_time,file_name,size,path,suffix,md5\";\n\n @Insert(\"insert into upload_file(\"+COLUMNS+\")values(#{uploadFileId},#{uploadTime},#{fileName},#{size},#{path},#{suffix},#{md5})\")\n void insert(UploadFile uploadFile);\n}", "title": "" }, { "docid": "da92d73084e64a6eec3fb5f3f3733c74", "score": "0.5493452", "text": "@GetGeneratedKeys\n @SqlUpdate(\"insert into game (state, board) values (:state, :board)\")\n long insertGame(@Bind(\"state\") String state, @Bind(\"board\") String board);", "title": "" }, { "docid": "99b3f04b3222ef8032bac481a6cebdb9", "score": "0.5491809", "text": "public VInventoryBean save(VInventoryBean pObject) throws SQLException\n {\n Connection c = null;\n PreparedStatement ps = null;\n StringBuffer _sql = null;\n\n try\n {\n c = getConnection();\n if (pObject.isNew())\n { // SAVE \n beforeInsert(pObject); // listener callback\n int _dirtyCount = 0;\n _sql = new StringBuffer(\"INSERT into v_inventory (\");\n \n if (pObject.isInstitutionidModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"institutionid\");\n _dirtyCount++;\n }\n\n if (pObject.isProductgroupidModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"productgroupid\");\n _dirtyCount++;\n }\n\n if (pObject.isProductidModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"productid\");\n _dirtyCount++;\n }\n\n if (pObject.isAccountnameModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"accountname\");\n _dirtyCount++;\n }\n\n if (pObject.isCodeModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"code\");\n _dirtyCount++;\n }\n\n if (pObject.isCompnumModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"compnum\");\n _dirtyCount++;\n }\n\n if (pObject.isInvnumberModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"invnumber\");\n _dirtyCount++;\n }\n\n if (pObject.isProductnameModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"productname\");\n _dirtyCount++;\n }\n\n if (pObject.isUnitnameModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"unitname\");\n _dirtyCount++;\n }\n\n if (pObject.isPriceModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"price\");\n _dirtyCount++;\n }\n\n if (pObject.isRealamountModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"realamount\");\n _dirtyCount++;\n }\n\n if (pObject.isRealpriceModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"realprice\");\n _dirtyCount++;\n }\n\n if (pObject.isAmountModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"amount\");\n _dirtyCount++;\n }\n\n if (pObject.isAccpriceModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"accprice\");\n _dirtyCount++;\n }\n\n if (pObject.isLessamountModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"lessamount\");\n _dirtyCount++;\n }\n\n if (pObject.isLesspriceModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"lessprice\");\n _dirtyCount++;\n }\n\n if (pObject.isMoreamountModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"moreamount\");\n _dirtyCount++;\n }\n\n if (pObject.isMorepriceModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"moreprice\");\n _dirtyCount++;\n }\n\n if (pObject.isNoteModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"note\");\n _dirtyCount++;\n }\n\n if (pObject.isInventoryidModified()) {\n if (_dirtyCount>0) {\n _sql.append(\",\");\n }\n _sql.append(\"inventoryid\");\n _dirtyCount++;\n }\n\n _sql.append(\") values (\");\n if(_dirtyCount > 0) {\n _sql.append(\"?\");\n for(int i = 1; i < _dirtyCount; i++) {\n _sql.append(\",?\");\n }\n }\n _sql.append(\")\");\n\n ps = c.prepareStatement(_sql.toString(), ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n _dirtyCount = 0;\n\n if (pObject.isInstitutionidModified()) {\n Manager.setInteger(ps, ++_dirtyCount, pObject.getInstitutionid());\n }\n \n if (pObject.isProductgroupidModified()) {\n Manager.setInteger(ps, ++_dirtyCount, pObject.getProductgroupid());\n }\n \n if (pObject.isProductidModified()) {\n Manager.setLong(ps, ++_dirtyCount, pObject.getProductid());\n }\n \n if (pObject.isAccountnameModified()) {\n ps.setString(++_dirtyCount, pObject.getAccountname());\n }\n \n if (pObject.isCodeModified()) {\n ps.setString(++_dirtyCount, pObject.getCode());\n }\n \n if (pObject.isCompnumModified()) {\n Manager.setInteger(ps, ++_dirtyCount, pObject.getCompnum());\n }\n \n if (pObject.isInvnumberModified()) {\n ps.setString(++_dirtyCount, pObject.getInvnumber());\n }\n \n if (pObject.isProductnameModified()) {\n ps.setString(++_dirtyCount, pObject.getProductname());\n }\n \n if (pObject.isUnitnameModified()) {\n ps.setString(++_dirtyCount, pObject.getUnitname());\n }\n \n if (pObject.isPriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getPrice());\n }\n \n if (pObject.isRealamountModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getRealamount());\n }\n \n if (pObject.isRealpriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getRealprice());\n }\n \n if (pObject.isAmountModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getAmount());\n }\n \n if (pObject.isAccpriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getAccprice());\n }\n \n if (pObject.isLessamountModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getLessamount());\n }\n \n if (pObject.isLesspriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getLessprice());\n }\n \n if (pObject.isMoreamountModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getMoreamount());\n }\n \n if (pObject.isMorepriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getMoreprice());\n }\n \n if (pObject.isNoteModified()) {\n ps.setString(++_dirtyCount, pObject.getNote());\n }\n \n if (pObject.isInventoryidModified()) {\n Manager.setInteger(ps, ++_dirtyCount, pObject.getInventoryid());\n }\n \n ps.executeUpdate();\n \n pObject.isNew(false);\n pObject.resetIsModified();\n afterInsert(pObject); // listener callback\n }\n else \n { // UPDATE \n beforeUpdate(pObject); // listener callback\n _sql = new StringBuffer(\"UPDATE v_inventory SET \");\n boolean useComma=false;\n\n if (pObject.isInstitutionidModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"institutionid\").append(\"=?\");\n }\n\n if (pObject.isProductgroupidModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"productgroupid\").append(\"=?\");\n }\n\n if (pObject.isProductidModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"productid\").append(\"=?\");\n }\n\n if (pObject.isAccountnameModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"accountname\").append(\"=?\");\n }\n\n if (pObject.isCodeModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"code\").append(\"=?\");\n }\n\n if (pObject.isCompnumModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"compnum\").append(\"=?\");\n }\n\n if (pObject.isInvnumberModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"invnumber\").append(\"=?\");\n }\n\n if (pObject.isProductnameModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"productname\").append(\"=?\");\n }\n\n if (pObject.isUnitnameModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"unitname\").append(\"=?\");\n }\n\n if (pObject.isPriceModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"price\").append(\"=?\");\n }\n\n if (pObject.isRealamountModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"realamount\").append(\"=?\");\n }\n\n if (pObject.isRealpriceModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"realprice\").append(\"=?\");\n }\n\n if (pObject.isAmountModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"amount\").append(\"=?\");\n }\n\n if (pObject.isAccpriceModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"accprice\").append(\"=?\");\n }\n\n if (pObject.isLessamountModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"lessamount\").append(\"=?\");\n }\n\n if (pObject.isLesspriceModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"lessprice\").append(\"=?\");\n }\n\n if (pObject.isMoreamountModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"moreamount\").append(\"=?\");\n }\n\n if (pObject.isMorepriceModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"moreprice\").append(\"=?\");\n }\n\n if (pObject.isNoteModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"note\").append(\"=?\");\n }\n\n if (pObject.isInventoryidModified()) {\n if (useComma) {\n _sql.append(\",\");\n } else {\n useComma=true;\n }\n _sql.append(\"inventoryid\").append(\"=?\");\n }\n _sql.append(\"\");\n ps = c.prepareStatement(_sql.toString(),ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n int _dirtyCount = 0;\n\n if (pObject.isInstitutionidModified()) {\n Manager.setInteger(ps, ++_dirtyCount, pObject.getInstitutionid());\n }\n\n if (pObject.isProductgroupidModified()) {\n Manager.setInteger(ps, ++_dirtyCount, pObject.getProductgroupid());\n }\n\n if (pObject.isProductidModified()) {\n Manager.setLong(ps, ++_dirtyCount, pObject.getProductid());\n }\n\n if (pObject.isAccountnameModified()) {\n ps.setString(++_dirtyCount, pObject.getAccountname());\n }\n\n if (pObject.isCodeModified()) {\n ps.setString(++_dirtyCount, pObject.getCode());\n }\n\n if (pObject.isCompnumModified()) {\n Manager.setInteger(ps, ++_dirtyCount, pObject.getCompnum());\n }\n\n if (pObject.isInvnumberModified()) {\n ps.setString(++_dirtyCount, pObject.getInvnumber());\n }\n\n if (pObject.isProductnameModified()) {\n ps.setString(++_dirtyCount, pObject.getProductname());\n }\n\n if (pObject.isUnitnameModified()) {\n ps.setString(++_dirtyCount, pObject.getUnitname());\n }\n\n if (pObject.isPriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getPrice());\n }\n\n if (pObject.isRealamountModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getRealamount());\n }\n\n if (pObject.isRealpriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getRealprice());\n }\n\n if (pObject.isAmountModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getAmount());\n }\n\n if (pObject.isAccpriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getAccprice());\n }\n\n if (pObject.isLessamountModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getLessamount());\n }\n\n if (pObject.isLesspriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getLessprice());\n }\n\n if (pObject.isMoreamountModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getMoreamount());\n }\n\n if (pObject.isMorepriceModified()) {\n Manager.setDouble(ps, ++_dirtyCount, pObject.getMoreprice());\n }\n\n if (pObject.isNoteModified()) {\n ps.setString(++_dirtyCount, pObject.getNote());\n }\n\n if (pObject.isInventoryidModified()) {\n Manager.setInteger(ps, ++_dirtyCount, pObject.getInventoryid());\n }\n \n if (_dirtyCount == 0) {\n return pObject;\n }\n \n ps.executeUpdate();\n pObject.resetIsModified();\n afterUpdate(pObject); // listener callback\n }\n \n return pObject;\n }\n finally\n {\n getManager().close(ps);\n freeConnection(c);\n }\n }", "title": "" }, { "docid": "497cbac3869471a163d4c7a920c61a06", "score": "0.5487227", "text": "public void saveButtonHandle() {\n\t\tLong id = -1L;\n\t\tif (!tfList[0].getText().isBlank()) {\n\t\t\tid = Long.parseLong(tfList[0].getText());\n\t\t}\n\n\t\tLong staffId = -1L;\n\t\tif (!tfList[1].getText().isBlank()) {\n\t\t\tstaffId = Long.valueOf(tfList[1].getText());\n\t\t} else {\n\t\t\ttfList[1].requestFocus();\n\t\t\treturn;\n\t\t}\n\n\t\tString total = tfList[3].getText();\n\n\t\tjava.sql.Date createdDate = GetCurrentDate.getDate();\n\n\t\tString status = null;\n\t\tif (!tfList[4].getText().isBlank()) {\n\t\t\tstatus = tfList[4].getText();\n\t\t}\n\n\t\tLong savedId;\n\t\tif (id < 0) {\n\t\t\tsavedId = poService.save(new POModel(staffId, createdDate, total, status));\n\t\t} else {\n\t\t\tPOModel model = poService.update(new POModel(id, staffId, createdDate, total, status));\n\t\t\tsavedId = model.getId();\n\t\t}\n\n\t\tmodel.loadData(table);\n\t\tgetGeneratedKeys(savedId);\n\t\ttable.setRowSelectionInterval(selectedRowIndex, selectedRowIndex);\n\t}", "title": "" }, { "docid": "35cf62a3201cf330e6b47af555206d0c", "score": "0.5486635", "text": "@Mapper\n@Repository\npublic interface SpecialtyMapper {\n\n @Insert(\"INSERT INTO xkp_specialty (academy_id,name) VALUES(#{academyId},#{name})\")\n @Options(useGeneratedKeys = true, keyProperty = \"systemId\")\n int insert(Specialty specialty);\n\n @Select(\"SELECT system_id AS systemId,academy_id AS academyId,name FROM xkp_specialty WHERE academy_id=#{academyId}\")\n List<Specialty> selectByAcademyId(int academyId);\n\n @Select(\"SELECT system_id AS systemId,academy_id AS academyId,name FROM xkp_specialty WHERE system_id=#{systemId}\")\n Specialty selectBySystemId(int systemId);\n\n @Delete(\"DELETE FROM xkp_specialty WHERE system_id=#{systemId}\")\n int deleteBySystemId(int systemId);\n}", "title": "" }, { "docid": "f7abcdce0a4ae4981c68e996b6ef1850", "score": "0.54846764", "text": "public void saveStudentRecord() {\n\t\tSystem.out.println(\"Calling saveStudentRecord() Method To Save Student Record\");\n\t\tdbObj = new DatabaseOperations();\n\t\tdbObj.addStudentInDb(this);\n\t}", "title": "" }, { "docid": "4e1dc8beafc0a901bf89dfe82abff872", "score": "0.54729897", "text": "@Mapper\npublic interface StudentInfoMapper {\n @Insert(\"insert into student_info(student_id,name,age,familly_address)\" +\n \" values(#{studentId},#{name},#{age},#{famillyAddress})\")\n /**\n * 通过bean保存实体类是,建议不要通过@Param注解,负责实体类的属性都在@Param中找\n * */\n void saveStudentInfo(StudentInfo studentInfo);\n\n\n @Select(\"select * from student_info where student_id = #{studentId}\")\n StudentInfo findByStudentId(@Param(\"studentId\") Long studentId);\n\n\n @Update(\"update student_info set familly_address = #{famillyAddress},updated_date = now() \")\n void updateFamillyAddress(@Param(\"studentId\") Long studentId,@Param(\"famillyAddress\") String famillyAddress);\n}", "title": "" }, { "docid": "f0a5b4fa9972fabe89c04aa653c74eb7", "score": "0.5472023", "text": "@RegisterMapper(WeChatGroupMonitoringMapper.class)\npublic interface IWeChatGroupMonitoringDAO {\n @SqlUpdate(\"insert into wechatgroupmonitoring (weChatGroupId,size,groupName,maleAmount,femaleAmount,captureTime) \" +\n \"values (:weChatGroupId, :size, :groupName,:maleAmount,:femaleAmount,:captureTime )\")\n void add(@Bind(\"weChatGroupId\") String weChatGroupId, @Bind(\"size\") int size, @Bind(\"groupName\") String groupName,\n @Bind(\"maleAmount\") int maleAmount,@Bind(\"femaleAmount\") int femaleAmount,\n @Bind(\"captureTime\") Date captureTime);\n}", "title": "" }, { "docid": "5e00fa144f9d201edd8269199d1dda07", "score": "0.54707026", "text": "public void save();", "title": "" }, { "docid": "1c10d8fddd95e927ac9946c751f95614", "score": "0.5462908", "text": "public void afterInsert(ContractsampletypeBean pObject) throws SQLException;", "title": "" }, { "docid": "81c215a87609fa16339ee71ab9c22daf", "score": "0.54591286", "text": "@MyBatisRepository\npublic interface SubscribeDao {\n void modifyHotWord(@Param(\"gameName\")String gameName, @Param(\"hotWord\")String hotWord,@Param(\"userName\")String userName);\n\n int insertHotWord(@Param(\"gameName\")String gameName, @Param(\"hotWord\")String hotWord,@Param(\"userName\")String userName);\n\n int existHotWord(@Param(\"gameName\")String gameName, @Param(\"userName\")String userName);\n}", "title": "" }, { "docid": "70d415a22d3f3a9795b9b01fdc9e5a53", "score": "0.54461974", "text": "@Repository\npublic interface UserMapper {\n\n @Select(\"SELECT USER_ID AS USERID,NAME,EMAIL,PASSWORD,SEX FROM USER WHERE NAME = #{name}\")\n User getUser(String name);\n\n @Insert(\"INSERT INTO USER (USER_ID,NAME,EMAIL,PASSWORD,SEX) VALUE (#{id},#{name},#{email},#{password},#{sex})\")\n void insertUser(User user);\n\n}", "title": "" }, { "docid": "1bee7223b513bd035ca05701ce26a19a", "score": "0.5444123", "text": "public void persistentSave();", "title": "" }, { "docid": "19477c7660b61880a73baec21e3df578", "score": "0.54365253", "text": "public abstract void saveToMySQLDatabase(MySQLConnection connection, String table, String[] columnNames);", "title": "" }, { "docid": "9288207294540a4f9d261d31dedc5cc4", "score": "0.54341274", "text": "public interface UserInfoMapper {\n @Insert(\"insert into t_user_info(id,account) values(#{id},#{account})\")\n void insert(UserInfo userInfo);\n}", "title": "" }, { "docid": "facce497995624a5013a4639c15f29c1", "score": "0.5428196", "text": "@Transactional\n public SupTableDTO save(SupTableDTO dto) {\n if (dto == null) {\n return null;\n }\n\n final SupTable supTable;\n\n if (dto.isIdSet()) {\n SupTable supTableTmp = supTableRepository.findOne(dto.id);\n if (supTableTmp != null) {\n supTable = supTableTmp;\n } else {\n supTable = new SupTable();\n supTable.setId(dto.id);\n }\n } else {\n supTable = new SupTable();\n }\n\n supTable.setIv1(dto.iv1);\n\n supTable.setIv2(dto.iv2);\n\n supTable.setIv3(dto.iv3);\n\n supTable.setTimestamp(dto.timestamp);\n\n return toDTO(supTableRepository.save(supTable));\n }", "title": "" }, { "docid": "9d7361d524c48c8bcd4edad7629c9bd4", "score": "0.54244924", "text": "@Override\n\tpublic void insert_blank(QuestionTable questionTable) {\n\t\tquestionTableDAO.save(questionTable);\n\t}", "title": "" }, { "docid": "234c112ac35e140ce75e7ccd51260828", "score": "0.5418481", "text": "@Override\n\t@Transactional\n\tpublic Alumno save(Alumno alumno) {\n\t\treturn repository.save(alumno);\n\t}", "title": "" }, { "docid": "6627979a5170dd1e5210b8a38b4fc58c", "score": "0.54164886", "text": "public void insertTablaHistoricaTransferenciaBoletasRecojo(Map criteria);", "title": "" }, { "docid": "679ba02ed2694077a1978adbbefe8cba", "score": "0.5405832", "text": "@Transactional\r\n\t@Override\r\n\tpublic void save(Logs t) {\n\t\t\r\n\t\tmapper.insertSelective(t);\r\n\t}", "title": "" }, { "docid": "a0379d82d7be4c1a03c15ffd8df38c7d", "score": "0.54023945", "text": "@Override\n\tpublic void update() throws SQLException {\n\t\t\n\t}", "title": "" }, { "docid": "78f282b002c1215137bc5f27b65c775c", "score": "0.5400865", "text": "@Override\n\tpublic void afterSave() {\n\t\t\n\t}", "title": "" }, { "docid": "cdd40b53c6ddb41c2378ef593166c92e", "score": "0.5400385", "text": "public interface CooperationMapper extends BaseDao {\n @Select(\"select tcb.istate from tb_cooperation_bind tcb where\" +\n \" tcb.cuserid =#{cuserid, jdbcType=VARCHAR} and\" +\n \" tcb.itype = #{itype, jdbcType=VARCHAR} \")\n List<Integer> query_cooperation_state(CooperationBean bean);\n /***保存合作ID*/\n @Insert(\" insert into tb_cooperation_bind tcb \" +\n \"(cuserid,ccooperationid,itype,cip,iclient)\" +\n \" values(\" +\n \"#{cuserid, jdbcType=VARCHAR},\" +\n \"#{ccooperationid, jdbcType=VARCHAR},\" +\n \"#{itype, jdbcType=VARCHAR},\" +\n \"#{cip, jdbcType=VARCHAR},\" +\n \"#{iclient, jdbcType=VARCHAR})\")\n Integer Insert_cooperation(CooperationBean bean);\n //更新\n @Update(\"update tb_cooperation_bind tcu \" +\n \"set tcu.ccooperationid = #{ccooperationid, jdbcType=VARCHAR},\" +\n \" tcu.ilogincount = tcu.ilogincount + 1,tcu.cupdate = sysdate,\" +\n \"tcu.cip =#{cip, jdbcType=VARCHAR},\" +\n \"tcu.iclient = #{iclient, jdbcType=VARCHAR} \" +\n \" where tcu.cuserid = #{cuserid, jdbcType=VARCHAR}\" +\n \" and tcu.itype = #{itype, jdbcType=VARCHAR}\")\n Integer update_cooperation_Bycuserid(CooperationBean bean);\n\n\n\n}", "title": "" }, { "docid": "3934f1e35a0a800a86251d55d8a3bbd4", "score": "0.5398523", "text": "@Override\n\tpublic String getInsertSql() {\n\t\tString sql=\"insert into D02WaterData(id,b04id,monthno,hourtime,currentstream,totalstream,remark)values(seq_water.nextval,:b04id,:monthno,:hourtime,:currentstream,:totalstream,:remark)\";\n\t\treturn sql;\n\t}", "title": "" }, { "docid": "6bc149379695191119e8564e4fed299d", "score": "0.5389972", "text": "@Insert({\n \"insert into sys_role (create_date, update_date, \",\n \"code, name, is_sys, \",\n \"useable, create_by, update_by, \",\n \"remarks, del_flag)\",\n \"values (#{createDate,jdbcType=TIMESTAMP}, #{updateDate,jdbcType=TIMESTAMP}, \",\n \"#{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{isSys,jdbcType=BIT}, \",\n \"#{useable,jdbcType=BIT}, #{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR}, \",\n \"#{remarks,jdbcType=VARCHAR}, #{delFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SysRole record);", "title": "" }, { "docid": "873a04a5c88319df96d4498ca7e1704c", "score": "0.53873605", "text": "@Override\n protected String getTableName() {\n return \"table\";\n }", "title": "" }, { "docid": "b179f544dc0582c1fdafc4aeaed605c1", "score": "0.5386619", "text": "@JDBI\npublic interface DataTypesQueries {\n\n default void initializeDatabase() {\n deleteDataTypesTableIfExists();\n createDataTypesTable();\n }\n\n @SqlUpdate(\"DROP TABLE IF EXISTS DataTypes\")\n void deleteDataTypesTableIfExists();\n\n @SqlUpdate(\"CREATE TABLE DataTypes( myLocalDateTime DATETIME, myLocalDate DATE, myLocalTime TIME )\")\n void createDataTypesTable();\n\n @SqlUpdate(\"INSERT INTO DataTypes (myLocalDateTime, myLocalDate, myLocalTime) VALUES (:myLocalDateTime, :myLocalDate, :myLocalTime)\")\n void insert( @BindBean DataTypes dataTypes );\n\n @SqlQuery(\"SELECT * FROM DataTypes\")\n List<DataTypes> find();\n\n}", "title": "" }, { "docid": "34fce694f0771a8db1fbc00faf581baa", "score": "0.5385568", "text": "public interface UserDAO extends Transactional<UserDAO> {\n\n @Mapper(UserMapper.class)\n @SqlQuery(\"select * from User where deletedOn is null\")\n List<User> getAllActiveUser();\n \n @Mapper(UserMapper.class)\n @SqlQuery(\"select * from User\")\n List<User> getAllUser();\n\n\t//only show ones that did not have a deletedOn time stamp\n @Mapper(UserMapper.class)\n @SqlQuery(\"select * from User where id = :id and deletedOn is null\")\n User getUserById(@Bind(\"id\") String id);\n\n @Mapper(UserMapper.class)\n @SqlQuery(\"select id, facebookId, googlePlusId from user where facebookId = :facebookId and deletedOn is null\")\n User getUserByFacebookId(@Bind(\"facebookId\") String facebookId);\n\n @Transaction\n @GetGeneratedKeys\n @SqlUpdate(\"insert into User (id, facebookId, googlePlusId, createdOn) values (:id, :facebookId, :googlePlusId, UNIX_TIMESTAMP())\")\n int createUser(@Bind(\"id\") String id, @Bind(\"facebookId\") String facebookId, @Bind(\"googlePlusId\") String googlePlusId);\n\n\t//update data with a deletedOn time stamp without actually deleting it\n @Transaction\n @SqlUpdate(\"update User set deletedOn=:UNIX_TIMESTAMP() where id = :id and deletedOn is null\")\n void deleteUser(@Bind(\"id\") String id);\n \n /*\n * below are methods that are not used or need to be updated.\n */\n\n\t//only modify ones that did not have a deletedOn time stamp\n @Transaction\n @SqlUpdate(\"update User set facebookId = :facebookId, googlePlusId=:googlePlusId, updated_on = UNIX_TIMESTAMP() where id= :id and deletedOn is null\")\n void updateUser(@Bind(\"id\") String id, @Bind(\"facebookId\") String facebookId, @Bind(\"googlePlusId\") String googlePlusId);\n \n //!!not touched as I am not sure what to do with this yet\n @Transaction\n @SqlBatch(\"insert into User (id, facebookId, googlePlusId) values (:it.id, :it.facebookId, :it.googlePlusId)\")\n @BatchChunkSize(1000)\n public int[] batchCreateUser(@BindBean(\"it\") Iterable<User> its);\n}", "title": "" }, { "docid": "603dde5a0a572070927907e16e7a6e0e", "score": "0.53829175", "text": "int insert(TblMaterias record);", "title": "" }, { "docid": "80721d4ce6180790dd62069241c456d9", "score": "0.53814423", "text": "@MySqlRepository\npublic interface oss_daily_DailyBalanceDao extends BaseDao<DailyDailyBalance,Long> {\n @Override\n void save(DailyDailyBalance dailyDailyBalance);\n}", "title": "" }, { "docid": "51d5cd991461c129126f946731cd270c", "score": "0.53801996", "text": "public void save(T fromPojo, Entity toEntity)\n\t{\n\t\t// The default is to index all fields\n\t\tthis.rootSaver.save(fromPojo, toEntity, true);\n\t}", "title": "" }, { "docid": "ef79faa3c65af2e7ce625decfd2fca14", "score": "0.537855", "text": "@Mapper\npublic interface VisitorMapper {\n //数据库名称\n String TABLE_NAME = \"visitor_copy\";\n\n @Update({\"update \", TABLE_NAME, \" set num = #{num}\"})\n void setNum(@Param(\"num\") int num);\n\n List<Visitors> selectAll();\n}", "title": "" }, { "docid": "8d8f861bb5cedf7d3345ffc27d95ed64", "score": "0.53755265", "text": "@Override\n\tpublic void actualizar(Estamento obj) throws SQLException {\n\t\t\n\t}", "title": "" }, { "docid": "c88a2035de9e101abc1963e27a76df2c", "score": "0.5370055", "text": "@Override\n\t@Transactional\n\tpublic void update() {\n\t\t\n\t}", "title": "" }, { "docid": "15559a165587cdc4a2fc81c889a90bc2", "score": "0.53694326", "text": "private Long saveTacoInfo(Taco taco) {\n\t\t\n\t\ttaco.setCreateAt(new Date());\n\t\tPreparedStatementCreator psc = new PreparedStatementCreatorFactory(\n\t\t\t\t\"insert into Taco(name, createAt) values(?, ?)\", Types.VARCHAR, Types.DATE)\n\t\t\t\t.newPreparedStatementCreator(Arrays.asList(taco.getName(),new Timestamp(taco.getCreateAt().getTime())));\n\t\t\n\t\tKeyHolder keyholder= new GeneratedKeyHolder();\n\t\tjdbc.update(psc, keyholder);\n\t\treturn keyholder.getKey().longValue();\n\t}", "title": "" }, { "docid": "5f9c01b0b87dcad803a7b5fcfc00ec32", "score": "0.5356414", "text": "@Override\r\n\tpublic void save(Student stu) {\n\t\tdao.save(stu);\r\n\t}", "title": "" }, { "docid": "f0b2cc105ae6d2e1ccee2e27307fcadd", "score": "0.5354108", "text": "@Override\r\n\tpublic void saveAction() {\n\r\n\t}", "title": "" }, { "docid": "6df5b7c3d1e0efd59096c370009389b7", "score": "0.53452283", "text": "@Override\r\n\tpublic int save(Driver driver) throws Exception {\n\t\treturn (Integer) hibernateTemplate.save(driver);\r\n\t}", "title": "" }, { "docid": "f6b4c7fc56b5cac8c8685719db99ad8f", "score": "0.533847", "text": "@Override\n public boolean includeInInsert() {\n return true;\n }", "title": "" }, { "docid": "09c519244983642d274caa5825b72193", "score": "0.53363436", "text": "@Insert({\n \"insert into res_menu (name, path, \",\n \"description, create_time, \",\n \"parent_id, memo)\",\n \"values (#{name,jdbcType=VARCHAR}, #{path,jdbcType=VARCHAR}, \",\n \"#{description,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, \",\n \"#{parentId,jdbcType=INTEGER}, #{memo,jdbcType=VARCHAR})\"\n })\n @SelectKey(statement=\"select last_insert_rowid()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(Menu record);", "title": "" }, { "docid": "82d45d15cb1e43140f4129dc8ff4c409", "score": "0.5332145", "text": "@Insert({\n \"insert into pwp_park (id, address, \",\n \"bank_account, bank_card, \",\n \"bank_name, create_time, \",\n \"domain, external_account, \",\n \"league_id, local_request_key, \",\n \"month_rule, name, \",\n \"park_num, park_plan, \",\n \"park_status, park_type, \",\n \"photo, position_x, \",\n \"position_y, system_ratio, \",\n \"total_num, update_time, \",\n \"descript)\",\n \"values (#{id,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, \",\n \"#{bankAccount,jdbcType=VARCHAR}, #{bankCard,jdbcType=VARCHAR}, \",\n \"#{bankName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n \"#{domain,jdbcType=VARCHAR}, #{externalAccount,jdbcType=VARCHAR}, \",\n \"#{leagueId,jdbcType=INTEGER}, #{localRequestKey,jdbcType=VARCHAR}, \",\n \"#{monthRule,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, \",\n \"#{parkNum,jdbcType=INTEGER}, #{parkPlan,jdbcType=VARCHAR}, \",\n \"#{parkStatus,jdbcType=SMALLINT}, #{parkType,jdbcType=SMALLINT}, \",\n \"#{photo,jdbcType=VARCHAR}, #{positionX,jdbcType=VARCHAR}, \",\n \"#{positionY,jdbcType=VARCHAR}, #{systemRatio,jdbcType=DOUBLE}, \",\n \"#{totalNum,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, \",\n \"#{descript,jdbcType=LONGVARCHAR})\"\n })\n int insert(PwpPark record);", "title": "" }, { "docid": "9a4068d8ade870610311daefc0f2c15d", "score": "0.5330701", "text": "@Transactional\n\tpublic void save(final TraderTransactions traderTransactions) \n\t{\n\t\tjdbcTemplate = custom.getJdbcTemplate();\n\tif(traderTransactions.getSNo() == 0)\t{\n\n\tKeyHolder keyHolder = new GeneratedKeyHolder();\n\tint update = jdbcTemplate.update(\n\t\t\tnew PreparedStatementCreator() {\n\t\t\t\t\tpublic PreparedStatement \n\t\t\t\t\tcreatePreparedStatement(Connection connection) throws SQLException {\n\t\n\t\t\t\t\tif(traderTransactions.getDate() == null)\n\t\t\t\t\t{\n\t\t\t\t\t\ttraderTransactions.setDate( new Date());\n\t\t\t\t\t}\n\t\t\t\t\tjava.sql.Timestamp Date = \n\t\t\t\t\t\tnew java.sql.Timestamp(traderTransactions.getDate().getTime()); \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tPreparedStatement ps =\n\t\t\t\t\t\t\t\t\tconnection.prepareStatement(INSERT_SQL,new String[]{\"SNo\"});\n\tps.setString(1, traderTransactions.getCropName());\nps.setString(2, traderTransactions.getTokenId());\nps.setString(3, traderTransactions.getVariety());\nps.setString(4, traderTransactions.getQuantity());\nps.setString(5, traderTransactions.getUnits());\nps.setString(6, traderTransactions.getComment());\nps.setString(7, traderTransactions.getAskPrice());\nps.setString(8, traderTransactions.getTransactionType());\nps.setString(9, traderTransactions.getEDD());\nps.setTimestamp(10, Date);\nps.setString(11, traderTransactions.getStatus());\n\n\n\t\t\t\t\t\t\treturn ps;\n\t\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tkeyHolder);\n\t\t\t\t\n\t\t\t\tNumber unId = keyHolder.getKey();\n\t\t\t\ttraderTransactions.setSNo(unId.intValue());\n\t\t\t\t\n\n\t\t}\n\t\telse\n\t\t{\n\n\t\t\tString sql = \"UPDATE trader_transactions set Crop_name = ? ,Token_id = ? ,Variety = ? ,Quantity = ? ,Units = ? ,Comment = ? ,Ask_price = ? ,Transaction_type = ? ,Status = ? where S_no = ? \";\n\t\n\t\t\tjdbcTemplate.update(sql, new Object[]{traderTransactions.getCropName(),traderTransactions.getTokenId(),traderTransactions.getVariety(),traderTransactions.getQuantity(),traderTransactions.getUnits(),traderTransactions.getComment(),traderTransactions.getAskPrice(),traderTransactions.getTransactionType(),traderTransactions.getStatus(),traderTransactions.getSNo()});\n\t\t}\n\t}", "title": "" }, { "docid": "f8a8f428b5eb7edc44be29fb74e35aad", "score": "0.53302395", "text": "@Override\n\tpublic void update(Nascimento entity) throws SQLException {\n\t}", "title": "" }, { "docid": "fb91f7ffea02f42866a09dc3239e5690", "score": "0.53199047", "text": "public void afterInsert(SampleitemtestBean pObject) throws SQLException;", "title": "" }, { "docid": "787718f54bc161748d90a6eb7567f197", "score": "0.53198683", "text": "@Repository\npublic interface AgencyMapper {\n\n /**\n * 新增其他机构认证\n * @param map\n * @return\n */\n @Insert(\"INSERT INTO agency (userId,agencyType,agencyName,agencyAddress,agencyContact,agencyPhoneEmail,Checkinletter,businesslicense,OtherCertificate,createdate)\\n\" +\n \"VALUES(#{map.userId},#{map.agencyType},#{map.agencyName},#{map.agencyAddress},#{map.agencyContact},#{map.agencyPhoneEmail},#{map.Checkinletter},\" +\n \"#{map.businesslicense},#{map.OtherCertificate},#{map.createdate})\")\n int addAgency(@Param(\"map\") Map<String,Object> map);\n}", "title": "" } ]
39539f2be3c97732b057896d048363e6
Gets the window which is currently used by this station. The window may or may not be shown currently. Callers should not modify the window.
[ { "docid": "5b94237b681fb331eebba9fd0e15f901", "score": "0.5549797", "text": "public FlapWindow getFlapWindow(){\n \treturn window;\n }", "title": "" } ]
[ { "docid": "995dbfe7d8926cc56cc8b5983b077c10", "score": "0.76125425", "text": "public long getWindow() {\n return window;\n }", "title": "" }, { "docid": "bfee0bd9089c11debc93b78b256aa985", "score": "0.74334806", "text": "public Window getWindow() {\n \t\t\treturn window;\n \t\t}", "title": "" }, { "docid": "bfee0bd9089c11debc93b78b256aa985", "score": "0.74334806", "text": "public Window getWindow() {\n \t\t\treturn window;\n \t\t}", "title": "" }, { "docid": "b143a0aa26a304abb7dee931ba91e9a8", "score": "0.7387227", "text": "public WindowManager getWindow() {\n\t\treturn wm;\r\n\t}", "title": "" }, { "docid": "fa42025866fa18e514d0f8ba07d14484", "score": "0.732436", "text": "public static GameWindow getWindow(){\r\n\t\treturn window;\r\n\t}", "title": "" }, { "docid": "caa2e9afdf53d13e87f94cf2df1e9d84", "score": "0.72638357", "text": "public static Window getWindow() { return window; }", "title": "" }, { "docid": "53f2fee8f48c202d8ad5a71c010b6856", "score": "0.71558625", "text": "public Window getWindow(String name) {\n \n \t\t// For closed app, do not give any windows\n \t\tif (!isRunning())\n \t\t\treturn null;\n \n \t\t// Get the window by name\n \t\tWindow window = (Window) windows.get(name);\n \n \t\treturn window;\n \t}", "title": "" }, { "docid": "3e95eb34d2ee214ceadd3780b25914f6", "score": "0.7104298", "text": "public Window getWindow() {\n\t\tif (primary == null) {\n\t\t\tprimary = lifecycle.onCreatePrimaryWindow(globals);\n\t\t\tif (primary instanceof JFrame) {\n\t\t\t\t((JFrame) primary).setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n\t\t\t}\n\t\t\tprimary.addWindowListener(new LifecycleBackend(this));\n\t\t}\n\t\treturn primary;\n\t}", "title": "" }, { "docid": "ffc467f3362c5d11faaffb9e48280515", "score": "0.71028334", "text": "public MainWindow getWindow() {\r\n\t\treturn this.window;\r\n\t}", "title": "" }, { "docid": "0504ae9b851aa6d6e836558cb329d4ad", "score": "0.7090306", "text": "public static Window getWindow() {\n return JsBrowser.getWindow();\n }", "title": "" }, { "docid": "57215a096c6614d02cafa7f7a7035c55", "score": "0.6964385", "text": "public Node getWindowComponent() {\r\n return window;\r\n }", "title": "" }, { "docid": "279e3309e928cf8f3e593aaa2b571666", "score": "0.69106257", "text": "public ControlWindow getWindow( ) {\n\t\treturn _myControlWindow;\n\t}", "title": "" }, { "docid": "20474a834e8fee986d0f3855464fca4c", "score": "0.6868946", "text": "public agencesVoyages.gui.AgenceGui getWindow() {\r\n return window;\r\n }", "title": "" }, { "docid": "66d59365d7fe9e1bde000b6f4f229eb0", "score": "0.6826419", "text": "public Window getWindow() {\n return this.windowPattern;\n }", "title": "" }, { "docid": "c85d5d3306bbe49629d91d755db021c9", "score": "0.67975664", "text": "public WindowState getCurrentInputMethodWindow() {\n for (int i = this.mChildren.size() - 1; i >= 0; i--) {\n DisplayContent displayContent = (DisplayContent) this.mChildren.get(i);\n if (displayContent.mInputMethodWindow != null) {\n return displayContent.mInputMethodWindow;\n }\n }\n return null;\n }", "title": "" }, { "docid": "d6eba80fe2eef2fca5b25d3abfacc809", "score": "0.6770301", "text": "public int getWindow() {\n\t\treturn maxWindow;\n\t}", "title": "" }, { "docid": "831d11267d8ad904168ce51c7bbb2e4c", "score": "0.67573684", "text": "public static IWorkbenchWindow getActiveWorkBenchWindow() {\r\n\t\tfinal IWorkbench workbench = PlatformUI.getWorkbench();\r\n\t\tfinal WorkBenchWindowWrapper windowWrapper = new WorkBenchWindowWrapper();\r\n\t\tworkbench.getDisplay().syncExec(new Runnable() {\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\tIWorkbenchWindow window = workbench.getActiveWorkbenchWindow();\r\n\t\t\t\twindowWrapper.setWorkbenchWindow(window);\r\n\t\t\t\tif (window == null) {\r\n\t\t\t\t\tif (workbench.getWorkbenchWindowCount() > 0) {\r\n\t\t\t\t\t\twindow = workbench.getWorkbenchWindows()[0];\r\n\t\t\t\t\t\twindowWrapper.setWorkbenchWindow(window);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn windowWrapper.getWorkbenchWindow();\r\n\t}", "title": "" }, { "docid": "d811145863ec99bcd3b99bd91bdfb47f", "score": "0.6655447", "text": "public JFrame getWindow() \n {\n return this.window;\n }", "title": "" }, { "docid": "299f47ca22e4189bae43fe96ea65faa4", "score": "0.6602991", "text": "public int getWindowId() {\n return this.windowId;\n }", "title": "" }, { "docid": "a8998fb44caf6cf6577d84faf57f05f4", "score": "0.6585228", "text": "public Window getMainWindow() {\n \t\treturn mainWindow;\n \t}", "title": "" }, { "docid": "ce6d3790f05a4608a88ce13936d499ca", "score": "0.6568882", "text": "public WindowManager getWindowManager() {\n \t\treturn windowManager;\n \t}", "title": "" }, { "docid": "8636c25c78f5a41130bd1adf65bf3e20", "score": "0.6542559", "text": "public static WindowManager getWindowManager() {\n return windowManager;\n }", "title": "" }, { "docid": "5e4e0bc4cbdb94b3ecf68870000e2742", "score": "0.65216434", "text": "public Windows getWindows() {\n return windows;\n }", "title": "" }, { "docid": "cf7edaab5af8c7b1eb77bb1253d7af52", "score": "0.65185094", "text": "@DISPID(1610940419) //= 0x60050003. The runtime will prefer the VTID if present\n @VTID(25)\n Window activeWindow();", "title": "" }, { "docid": "449bed4f29dc250eb9536fc8154a054f", "score": "0.6496435", "text": "public final Window mo102671b() {\n return (Window) this.f80737c.getValue(this, f80735a[0]);\n }", "title": "" }, { "docid": "581a74dd50ac0e3281447adf07854843", "score": "0.64777666", "text": "public int getWindow(int i) {\r\n\t\treturn this.window;\r\n\t}", "title": "" }, { "docid": "a6a9bb405da94ea650d8baca2b032ab4", "score": "0.6393299", "text": "@Override\n\tpublic Window getWindow() {\n\t\treturn scene.getWindow();\n\t}", "title": "" }, { "docid": "f4244f917adf90dd5128a776b4427675", "score": "0.63899964", "text": "public JFrame getServerWindow() {\n\t\treturn serverWindow;\n\t}", "title": "" }, { "docid": "81f352058cafcb81232b39ed92abef77", "score": "0.63834685", "text": "public int getCurrentWorkspaceScreen() {\n\t\treturn mWorkspace.getCurrentScreen();\n\t}", "title": "" }, { "docid": "278c2dbe4ecd89061b26b7b723386bbc", "score": "0.63729584", "text": "public Window getWindow(String id) {\n\t\tWindow ret = secondaries.get(id);\n\t\tif (ret == null) {\n\t\t\tret = lifecycle.onCreateSecondaryWindow(globals, id);\n\t\t\tif (ret instanceof JFrame) {\n\t\t\t\t((JFrame) ret).setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n\t\t\t}\n\t\t\tif (ret.getName() == null) {\n\t\t\t\tret.setName(id); // for unit testing.\n\t\t\t}\n\t\t\tsecondaries.put(id, ret);\n\t\t\tret.addWindowListener(new LifecycleBackend(this));\n\t\t}\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "adf54a336ae10900bb720cb8e668524c", "score": "0.6366833", "text": "org.chromium.components.sync.protocol.SessionWindow getWindow(int index);", "title": "" }, { "docid": "f380db3faacafb05438353566ccda20f", "score": "0.6362527", "text": "protected static IWorkbenchWindow getWorkBenchWindow() {\n IWorkbenchWindow activeWorkbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow();\n if (null == activeWorkbenchWindow) {\n System.err\n .println(\"Null Pointer error of the type that suggests this hasn't been executed from a the right thread\");\n throw new NullPointerException();\n }\n return activeWorkbenchWindow;\n }", "title": "" }, { "docid": "194d19ef818eb2a2d322a1b8cea5cfd9", "score": "0.6361774", "text": "public static Set<String> getWindows() {\n\t\treturn getDeviceDriver().getWindowHandles();\n\t}", "title": "" }, { "docid": "b311a090b4a1cf0be44d4fe1803a5e5e", "score": "0.63541925", "text": "public Window getParentWindow()\n {\n if ( getContainer() == null )\n return ( null );\n \n return ( getContainer().getParentWindow() );\n }", "title": "" }, { "docid": "02fd450720914bfee5d1838cf4c02dcb", "score": "0.6315149", "text": "public Long getStartoverWindow() {\n return this.StartoverWindow;\n }", "title": "" }, { "docid": "e57d3b53b6f79b51a247e1b5e038f949", "score": "0.6297878", "text": "public java.lang.String getWindowId() {\n java.lang.Object ref = windowId_;\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 windowId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "c4ddd0bcb42ac62f7b37a8beab9c8992", "score": "0.6283491", "text": "public Envelope getWindow() {\n\t\tthis.updateBox();\n\t\tEnvelope box = new Envelope(x1Window, x2Window, y1Window, y2Window);\n\t\treturn box;\n\t}", "title": "" }, { "docid": "19120dd86c3e0ac4b634b5b7d53cdb26", "score": "0.62799567", "text": "public java.lang.String getWindowId() {\n java.lang.Object ref = windowId_;\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 windowId_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "eceab0cdd33f8da1d24372c8e72a1799", "score": "0.6255549", "text": "public int getWindows() {\n return windows;\n }", "title": "" }, { "docid": "18c2afbf3786658d584ddde26c5f231f", "score": "0.6243481", "text": "public String getParentWindowHandle() {\n\t\treturn driver.getWindowHandle();\n\t}", "title": "" }, { "docid": "2c6772b4c7aa32a02725e294d7fd51f1", "score": "0.62094694", "text": "public List<OsdWindow> getWindowList() {\n return new ArrayList<OsdWindow>(windowList);\n }", "title": "" }, { "docid": "e207dca3b76480cab5e82b46e1009569", "score": "0.6195178", "text": "public String getWindowType()\n {\n return windowType;\n }", "title": "" }, { "docid": "4176ba871fe946b09abcbf226facb223", "score": "0.6186599", "text": "int getRWCPInitialWindow();", "title": "" }, { "docid": "af0bb31783e2077537fee19b2cc53b71", "score": "0.61518055", "text": "public static Rectangle windowR() {\r\n return windowR;\r\n }", "title": "" }, { "docid": "556c31e0b7fc7f64461a8e9f4c96d39e", "score": "0.61360705", "text": "public static IWorkbenchWindow getActiveWorkbenchWindow() {\n \t\treturn getDefault().getWorkbench().getActiveWorkbenchWindow();\n \t}", "title": "" }, { "docid": "15a956af455a2e90a08c112b4f4d6eed", "score": "0.61340654", "text": "public String getWindowID()\n {\n String windowID=null;\n try {\n String[] cmd = {\"/usr/bin/xwininfo\"};\n Process proc = Runtime.getRuntime().exec(cmd);\n proc.waitFor();\n InputStreamReader isr = new InputStreamReader(proc.getInputStream());\n BufferedReader br = new BufferedReader(new InputStreamReader(proc.getInputStream()));\n String line;\n while ((line=br.readLine()) != null) {\n // here's the parsing of xwininfo output:\n if (line.startsWith(\"xwininfo: Window id: \")) {\n String[] parts=line.split(\" \");\n windowID=parts[3];\n break;\n }\n }\n br.close();\n }\n catch (Exception e) { e.printStackTrace(); }\n return windowID;\n }", "title": "" }, { "docid": "e1a9c94590203e63f1098d31a4366d9c", "score": "0.61205906", "text": "public InputWindowHandle getInputWindowHandle() {\n if (this.mInputInterceptor == null) {\n return null;\n }\n return this.mInputInterceptor.mDragWindowHandle;\n }", "title": "" }, { "docid": "dcde68cbab91f87e93370b38801bc116", "score": "0.60928273", "text": "public String getParentWindowHandle(){\r\n\t\tString sReturn=\"\";\r\n\r\n\t\ttry {\r\n\t\t\tsReturn = driver.getWindowHandle();\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tReporter.reportStep(\"Parent window handle could not be found\", \"FAIL\");\r\n\t\t}\r\n\t\treturn sReturn;\r\n\t}", "title": "" }, { "docid": "370b6e3f530a4230e2ab36eaa04c3385", "score": "0.60868895", "text": "public List<Window> getTopLevelWindows() {\n synchronized (windows) {\n return new ArrayList<>(windows);\n }\n }", "title": "" }, { "docid": "c65abb16e3955108ab8eb89821481d3d", "score": "0.60377496", "text": "protected long platformGetNativeWindow() {\n return 0L;\n }", "title": "" }, { "docid": "b0cd17c792372bb88bb70c42aa9c144a", "score": "0.60356516", "text": "public static String getTitleOfWindow() {\n\t\treturn getDeviceDriver().getTitle();\n\n\t}", "title": "" }, { "docid": "1e41913d75248c1b9efd9d92b88e5996", "score": "0.6033469", "text": "protected abstract Window getWindowReference () ;", "title": "" }, { "docid": "7fc0e9967bbbdab22a9c76785d5bcf43", "score": "0.60235906", "text": "boolean isActuallySingleWindow();", "title": "" }, { "docid": "7dd9c9bd8dc0391463ce673ef0b0f49e", "score": "0.6018034", "text": "QuickWindow getQuickWindowById(int windowId);", "title": "" }, { "docid": "1d2f69497fab034e296cd8b1afe210d5", "score": "0.6005815", "text": "public static native long gdk_screen_get_root_window(long screenPointer);", "title": "" }, { "docid": "b5fcc81ebd7da5aca73deda10035b201", "score": "0.59934354", "text": "public boolean isWindowed() {\n return windowed;\n }", "title": "" }, { "docid": "a9b7d6a777373f30a83cfb8de1b4013a", "score": "0.5973796", "text": "public ConsoleWindow getDockableWindow() {\n\t\treturn window;\n\t}", "title": "" }, { "docid": "6edd7615b36a5648c0a4f7dd519d221c", "score": "0.5959133", "text": "public com.google.protobuf.ByteString\n getWindowIdBytes() {\n java.lang.Object ref = windowId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n windowId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "a7c2b40a3e5ac7edd5755dd3a80d8df2", "score": "0.5953407", "text": "public String getSnapshotWindow() {\n return this.snapshotWindow;\n }", "title": "" }, { "docid": "5ca99a204733f5b088acda7dd28054bb", "score": "0.59445167", "text": "public com.google.protobuf.ByteString\n getWindowIdBytes() {\n java.lang.Object ref = windowId_;\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 windowId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "0ded36d80a00f83868ad69964b52e495", "score": "0.5936591", "text": "java.lang.String getWindowId();", "title": "" }, { "docid": "54eb28ceccd35b4fbbfa4a148604b2bf", "score": "0.5933911", "text": "int getActiveQuickWindowId();", "title": "" }, { "docid": "3e7a7775b865929dced45da0c2f33bb1", "score": "0.5931182", "text": "public Collection getWindows() {\n \t\treturn Collections.unmodifiableCollection(windows.values());\n \t}", "title": "" }, { "docid": "93aa28a7bac1a80bfc69cd6b02c45924", "score": "0.5923975", "text": "public Win getWin() {\n\t return Arrays.stream(Win.values()).filter(w -> w.isWin(model.board)).findFirst().orElse(null);\n\t}", "title": "" }, { "docid": "96f4c79bc3a0743a889aebbfdcb0bbca", "score": "0.59228945", "text": "WindowState findMainWindow(boolean includeStartingApp) {\n WindowState candidate = null;\n for (int j = mChildren.size() - 1; j >= 0; --j) {\n final WindowState win = mChildren.get(j);\n final int type = win.mAttrs.type;\n // No need to loop through child window as base application and starting types can't be\n // child windows.\n if (type == TYPE_BASE_APPLICATION\n || (includeStartingApp && type == TYPE_APPLICATION_STARTING)) {\n // In cases where there are multiple windows, we prefer the non-exiting window. This\n // happens for example when replacing windows during an activity relaunch. When\n // constructing the animation, we want the new window, not the exiting one.\n if (win.mAnimatingExit) {\n candidate = win;\n } else {\n return win;\n }\n }\n }\n return candidate;\n }", "title": "" }, { "docid": "cc4ce6298883e50f75b1681ca354d86b", "score": "0.5911756", "text": "public List<Widget> getWindows() {\n return widgets;\n }", "title": "" }, { "docid": "9fe5c322625fdf0e9c967a0a8ae9f9b7", "score": "0.5910513", "text": "public int getWin() {\n\t\treturn win;\n\t}", "title": "" }, { "docid": "e94904a372f577436f91d8211a503f9a", "score": "0.59067196", "text": "public boolean getwindows() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "77d548a6ff668545a97a018c64671848", "score": "0.58796495", "text": "public int getWindowCount() {\n return windowList.size();\n }", "title": "" }, { "docid": "4b754d9ac9927c7895c0b8dcabcdafa4", "score": "0.5877019", "text": "public yandex.cloud.api.mdb.mongodb.v1.Maintenance.MaintenanceWindow getMaintenanceWindow() {\n if (maintenanceWindowBuilder_ == null) {\n return maintenanceWindow_ == null ? yandex.cloud.api.mdb.mongodb.v1.Maintenance.MaintenanceWindow.getDefaultInstance() : maintenanceWindow_;\n } else {\n return maintenanceWindowBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "ed2ceefbad6228d547fc5be78b9f59b1", "score": "0.58528215", "text": "private Window windowForEvent(final MouseEvent ev)\r\n {\r\n final Component source = (Component) ev.getSource();\r\n return source instanceof Window\r\n ? (Window) source\r\n : SwingUtilities.getWindowAncestor(source);\r\n }", "title": "" }, { "docid": "7c1c86a68f947e407361084147213300", "score": "0.58429706", "text": "public ScrMainMenu getRootWindow() {\n return rootWindow;\n }", "title": "" }, { "docid": "36f9c93a9d46b237bdc897615f2c6636", "score": "0.5818976", "text": "public int getWindowBorder() {\r\n return windowBorder;\r\n }", "title": "" }, { "docid": "5595711cbcbdd646fea64db7edb55bcc", "score": "0.5783716", "text": "public int getScreen() {\n return instance.getScreen();\n }", "title": "" }, { "docid": "abbac6d232c772bf811a3ab791645be8", "score": "0.57596195", "text": "public static int getWMID() {\n Class clazz = null;\n try {\n if (\"sun.awt.X11.XToolkit\".equals(Toolkit.getDefaultToolkit().getClass().getName())) {\n clazz = Class.forName(\"sun.awt.X11.XWM\");\n } else if (\"sun.awt.motif.MToolkit\".equals(Toolkit.getDefaultToolkit().getClass().getName())) {\n clazz = Class.forName(\"sun.awt.motif.MToolkit\");\n }\n } catch (ClassNotFoundException cnfe) {\n cnfe.printStackTrace();\n }\n if (clazz == null) {\n return -1;\n }\n\n// try {\n// final Class _clazz = clazz;\n// Method m_addExports = Class.forName(\"java.awt.Helper\").getDeclaredMethod(\"addExports\", String.class, Module.class);\n// // No MToolkit anymore: nothing to do about it.\n// // We may be called from non-X11 system, and this permission cannot be delegated to a test.\n// m_addExports.invoke(null, \"sun.awt.X11\", Util.class.getModule());\n// Method m_getWMID = (Method)AccessController.doPrivileged(new PrivilegedAction() {\n// public Object run() {\n// try {\n// Method method = _clazz.getDeclaredMethod(\"getWMID\", new Class[] {});\n// if (method != null) {\n// method.setAccessible(true);\n// }\n// return method;\n// } catch (NoSuchMethodException e) {\n// assert false;\n// } catch (SecurityException e) {\n// assert false;\n// }\n// return null;\n// }\n// });\n// return ((Integer)m_getWMID.invoke(null, new Object[] {})).intValue();\n// } catch (ClassNotFoundException cnfe) {\n// cnfe.printStackTrace();\n// } catch (NoSuchMethodException nsme) {\n// nsme.printStackTrace();\n// } catch (IllegalAccessException iae) {\n// iae.printStackTrace();\n// } catch (InvocationTargetException ite) {\n// ite.printStackTrace();\n// }\n return -1;\n }", "title": "" }, { "docid": "e85b394d236ac875c845b256c1c53f16", "score": "0.5751363", "text": "int getRWCPMaximumWindow();", "title": "" }, { "docid": "61050e1eb9357c79158edc7d6cdb7a0e", "score": "0.5749413", "text": "public static WindowHandler getWindowHandler() {\n \t\treturn windowHandler;\n \t}", "title": "" }, { "docid": "29b987ea4697effccc4d3b6e2f2873a1", "score": "0.57483", "text": "private BorderPane getMainWindow() {\n mainWindowController = new MainWindowController(this);\n return mainWindowController.getMainWindow();\n }", "title": "" }, { "docid": "63e6d607c71df3b125d7417b1a6941f7", "score": "0.5747923", "text": "public static native long gdk_screen_get_toplevel_windows(long screenPointer);", "title": "" }, { "docid": "2744338e1f527d5d102e3f481055b11e", "score": "0.57396704", "text": "public String getPreferredMaintenanceWindow() {\n return this.preferredMaintenanceWindow;\n }", "title": "" }, { "docid": "4fce7512340cb9b19ad983ca87c56529", "score": "0.57219917", "text": "public String getPreferredMaintenanceWindow() {\n return preferredMaintenanceWindow;\n }", "title": "" }, { "docid": "4fce7512340cb9b19ad983ca87c56529", "score": "0.57219917", "text": "public String getPreferredMaintenanceWindow() {\n return preferredMaintenanceWindow;\n }", "title": "" }, { "docid": "4c565b8a95b94577adbd0e73342bf8c9", "score": "0.5718411", "text": "public int getCurrentScreen() {\n\t\treturn mCurrentScreen;\n\t}", "title": "" }, { "docid": "260ca36b7bdd22274c9d9c7b5bd499cf", "score": "0.5715543", "text": "public static IplantWindowManager get() {\n if (instance == null)\n instance = new IplantWindowManager();\n return instance;\n }", "title": "" }, { "docid": "73fa8a744bebd1dfa20468972de75368", "score": "0.5707145", "text": "Window window(int windowIndex);", "title": "" }, { "docid": "a950ae445b3fb7157e4c7ca774064a84", "score": "0.56988394", "text": "public static StartWindow getStartWindow()\n {\n return welcome;\n }", "title": "" }, { "docid": "f2e1c964fb9d8c0f771234bca99ccad6", "score": "0.56973195", "text": "public Stage getWindow() {\n return primaryStage;\n }", "title": "" }, { "docid": "985754a302ed60a8479651965efef4d9", "score": "0.5688605", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.Maintenance.MaintenanceWindow getMaintenanceWindow() {\n return maintenanceWindow_ == null ? yandex.cloud.api.mdb.mongodb.v1.Maintenance.MaintenanceWindow.getDefaultInstance() : maintenanceWindow_;\n }", "title": "" }, { "docid": "8e4a341b00c649915b55609376bd6412", "score": "0.565996", "text": "public int queryWindowInMin() {\n return this.queryWindowInMin;\n }", "title": "" }, { "docid": "6cf0337a917e680bfc84ee843117bb8f", "score": "0.56575024", "text": "public boolean getWindowOpen() {\n return windowOpen_;\n }", "title": "" }, { "docid": "142cf8a6af8bdcb44411b9c51a01e44e", "score": "0.5647168", "text": "public static boolean isMainWindow() {\n return _mainWindowFlag;\n }", "title": "" }, { "docid": "1092b595fe58fb0ba93e85fe928b44fc", "score": "0.5643941", "text": "String getQuickWindowName(int windowId);", "title": "" }, { "docid": "d46dce4702884a7e5a200633952a455d", "score": "0.56411934", "text": "public String windowInfo() {\n return \"toolbar=\"+((null!=valueForBinding(\"showToolbar\")) ? \"yes\" : \"no\")+\n \",location=\"+((null!=valueForBinding(\"showLocation\")) ? \"yes\" : \"no\")+\n \",status=\"+((null!=valueForBinding(\"showStatus\")) ? \"yes\" : \"no\")+\n \",menubar=\"+((null!=valueForBinding(\"showMenubar\")) ? \"yes\" : \"no\")+\n \",resizable=\"+((null!=valueForBinding(\"isResizable\")) ? \"yes\" : \"no\")+\n \",scrollbars=\"+((null!=valueForBinding(\"showScrollbars\")) ? \"yes\" : \"no\")+\n \",width=\"+valueForBinding(\"width\")+\n \",height=\"+valueForBinding(\"height\");\n }", "title": "" }, { "docid": "8ca4af833b31986f7c293ebdf0fdc37a", "score": "0.56367207", "text": "public boolean getWindowOpen() {\n return windowOpen_;\n }", "title": "" }, { "docid": "0fcded096d2483db103ad03029aed4b0", "score": "0.5621853", "text": "Window targetWindow();", "title": "" }, { "docid": "10915b77ca6502bc58c25fae00c4f14f", "score": "0.5604022", "text": "yandex.cloud.api.mdb.mongodb.v1.Maintenance.MaintenanceWindow getMaintenanceWindow();", "title": "" }, { "docid": "2a23095a730dd22a88920d83bdc4b81f", "score": "0.55967414", "text": "public Screen getCurrentScreen()\n\t{\n\t\treturn currentScreen;\n\t}", "title": "" }, { "docid": "7db916752c1e4f084534b319a906b784", "score": "0.5596391", "text": "public int getTIME_WINDOW() {\n return TIME_WINDOW;\n }", "title": "" }, { "docid": "0466f76cadc7c98b05dfaba00f677ce7", "score": "0.55827093", "text": "public int getXWindowLocation() {\n return this.xloc;\n }", "title": "" }, { "docid": "0f013054fed37bbc78b5817cc24ae968", "score": "0.55814403", "text": "public Object getControllerWindow(){\n// if(getApolloPanel()!=null){\n// return getApolloPanel().getControllerWindow();\n// }else{\n return null;\n// }\n }", "title": "" } ]
db1ea5579fd2a256ba82e8ea24787ecf
Instantiates a new tile using the specified type and coordinates Depending on the type the created tile will be a subclass of Tile or Tile
[ { "docid": "a09178eaadb5e09cbb0545d68ec3916e", "score": "0.7746967", "text": "public static Tile buildTile(TileType type, int x, int y) {\r\n\t\tTile t = null;\r\n\t\tswitch (type) {\r\n\t\tcase Dirt:\r\n\t\tcase Stone:\r\n\t\tcase Grass:\r\n\t\tcase Log:\r\n\t\tcase Leaves:\r\n\t\tcase Sand:\r\n\t\tcase Water:\r\n\t\tcase Cobweb:\r\n\t\t\tt = new Tile(type, x, y);\r\n\t\t\tbreak;\r\n\t\tcase Fader:\r\n\t\t\tt = new FadingTile(type, x, y);\r\n\t\t\tbreak;\r\n\t\tcase Spikes:\r\n\t\t\tDamagingSupportedTile spike = new DamagingSupportedTile(type, x, y, 1, 10);\r\n\t\t\tspike.setDepending(GameWorld.chunkMap.getBottomTile(spike));\r\n\t\t\tt = spike;\r\n\t\t\tbreak;\r\n\t\tcase Creator:\r\n\t\t\tt = new CreatingTile(type, x, y, TileType.Sand);\r\n\t\t\tbreak;\r\n\t\tcase Piston:\r\n\t\t\tt = new PushingTile(type, x, y);\r\n\t\t\tbreak;\r\n\t\tcase PistonArm:\r\n\t\t\tt = new DependantFixedTile(type, x, y);\r\n\t\t\tbreak;\r\n\t\tcase Torch:\r\n\t\t\tt = new LightingTile(type, x, y);\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tt = new Tile(type, x, y);\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\tt.updateAdjacents = true;\r\n\t\treturn t;\r\n\t}", "title": "" } ]
[ { "docid": "5fc21280b142528527cc8bb53f0c1b8c", "score": "0.79994667", "text": "public Tile newTile(String tileType, int x, int y)\n {\n Tile tile;\n\n // Check if tile type exists\n if (tileTypes.containsKey(tileType))\n {\n // Instantiate tile with the attribute of the tile type\n Glyph glyph = tileTypes.get(tileType).glyph;\n boolean isBlocking = tileTypes.get(tileType).isBlocking;\n boolean isOpaque = tileTypes.get(tileType).isOpaque;\n\n tile = new Tile(glyph, x, y, isBlocking, isOpaque);\n }\n else\n {\n // Instantiate an error tile\n Glyph glyph = tileTypes.get(\"error\").glyph;\n boolean isBlocking = tileTypes.get(\"error\").isBlocking;\n boolean isOpaque = tileTypes.get(\"error\").isOpaque;\n\n tile = new Tile(glyph, x, y, isBlocking, isOpaque);\n }\n\n return tile; // Returns the instantiated tile object\n }", "title": "" }, { "docid": "9179b268f30257ac7bd40d71232e2384", "score": "0.71517915", "text": "public Tile(Game game, int type, int locX, int locY) {\n super(game);\n \n unitContainer = new UnitContainer(game, this);\n this.type = type;\n this.addition_type = ADD_NONE;\n this.indianClaim = CLAIM_NONE;\n \n road = false;\n plowed = false;\n forested = false;\n bonus = false;\n \n x = locX;\n y = locY;\n \n owner = null;\n settlement = null;\n }", "title": "" }, { "docid": "70ed89f008b23e807f64beaeae5d0fc4", "score": "0.6981221", "text": "TileFactory()\n {\n tileTypes = new HashMap<String, Tile>();\n\n // Define the glyph of tiles to be added to tile types\n Glyph basicWallGlyph = new Glyph('#', TextColor.ANSI.WHITE, TextColor.ANSI.BLACK);\n Glyph basicFloorGlyph = new Glyph('.', TextColor.ANSI.WHITE, TextColor.ANSI.BLACK);\n Glyph errorGlyph = new Glyph('!', TextColor.ANSI.RED, TextColor.ANSI.BLACK);\n\n // Create the tile objects\n Tile basicWallTile = new Tile(basicWallGlyph, 0, 0, true, true);\n Tile basicFloorTile = new Tile(basicFloorGlyph, 0, 0, false, false);\n Tile errorTile = new Tile(errorGlyph, 0, 0, false, false);\n\n // Add created tiles to the hash map of tile types, identified by a simple String key.\n tileTypes.put(\"basic_floor\", basicFloorTile);\n tileTypes.put(\"basic_wall\", basicWallTile);\n tileTypes.put(\"error\", errorTile); // Tile type to represent erroneous tiles\n }", "title": "" }, { "docid": "e74d95c480df88d5b674964911038a43", "score": "0.6821013", "text": "public Tile(Grid grid, TileType eTileType, Player owner, int x, int y)\n\t{\n\t\tthis.grid = grid;\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.owner = owner;\t// can be null!!!!\n\t\tcoin = null;\n\t\t\n\t\treal_x = grid.getStartX() + (x * Constants.TILE_SIZE);\n\t\treal_y = Constants.HEIGHT - (grid.getStartY() + (y * Constants.TILE_SIZE)) - Constants.TILE_SIZE;\n\t\t\n\t\ttileType = eTileType;\n\t\tdirection = DirectionType.NO_DIRECTION;\n\t\tdirection_setter = null;\n\t\t\n\t\ttexture = new Texture(\"tilesheet.png\");\n\t\ttileTextures = TextureRegion.split(texture, Constants.TILE_SIZE, Constants.TILE_SIZE);\n\t\t\n\t\tassignTexture(getTextureIndex(eTileType));\n\t}", "title": "" }, { "docid": "94c6071cf6ec61a53c60787e5ab993a3", "score": "0.6752026", "text": "public Tile(int type) {\n this.type = type;\n if (type == 0) {\n //set uncovered image to an empty space\n uncoveredImage = new ImageIcon(\"/Users/Loki/Downloads/p1_NipunAlanSamuel_Minesweeper/src/Images/empty.png\", \"Empty tile image\");\n } else if (type >= 1 && type <= 8) {\n //set uncovered image to a number\n uncoveredImage = new ImageIcon(\"/Users/Loki/Downloads/p1_NipunAlanSamuel_Minesweeper/src/Images/\" + type + \".png\", \"Number tile image\");\n } else if (type == 9) {\n //set uncovered image to a mine\n uncoveredImage = new ImageIcon(\"/Users/Loki/Downloads/p1_NipunAlanSamuel_Minesweeper/src/Images/mine.png\", \"Tile with mine image\");\n }\n display = coverImage;\n super.setIcon(display);\n\n this.addMouseListener(new MouseListener() {\n @Override\n public void mouseClicked(MouseEvent e) {\n if (SwingUtilities.isLeftMouseButton(e)) {\n revealTile();\n } else if (SwingUtilities.isRightMouseButton(e)) {\n if (!isFlagged) {\n flagTile();\n } else {\n unFlagTile();\n }\n }\n System.out.println(type);\n }\n\n @Override\n public void mousePressed(MouseEvent e) {\n\n }\n\n @Override\n public void mouseReleased(MouseEvent e) {\n\n }\n\n @Override\n public void mouseEntered(MouseEvent e) {\n\n }\n\n @Override\n public void mouseExited(MouseEvent e) {\n\n }\n });\n }", "title": "" }, { "docid": "62148eb1302ddfe6f1fd8160f82135c3", "score": "0.6725722", "text": "private static <E extends Tile> E makeTile(Class<E> clazz, Position pos) {\n try {\n Constructor<E> con = clazz.getConstructor(Position.class);\n return con.newInstance(pos);\n } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {\n e.printStackTrace();\n throw new TileNotFoundException(\"Class not applicable: \" + clazz);\n }\n }", "title": "" }, { "docid": "21b317e0f61d9010b1ab25bc1fdeb4b4", "score": "0.6708495", "text": "public GameTile(Tile t, TileType type) {\n\t\tsuper(t);\n\t\tthis.tile=t;\n\t\tthis.type = type;\n\t\tthis.cost = DEFAULT_COST;\n\t}", "title": "" }, { "docid": "5fa414e22ede9d1c7e69e968bbc0b29b", "score": "0.6602373", "text": "public void setType(TileType type) {\n this.type = type;\n }", "title": "" }, { "docid": "3f7c4ee38f8829e383ba16303f4e0328", "score": "0.6509704", "text": "Tile (int xCoordinate, int yCoordinate) {\r\n\t\tthis.xCoordinate = xCoordinate;\r\n\t\tthis.yCoordinate = yCoordinate;\r\n\t}", "title": "" }, { "docid": "de60c8073e5e69c03701ed66f6427463", "score": "0.6498835", "text": "public Tile buildTileNew(int row, int column)\n {\n Tile t;\n \n //Return the newly created tile\n return t = new Tile(random.nextInt(255), \n random.nextInt(255), \n random.nextInt(255), \n random.nextInt(2),\n random.nextInt(26) + 65,\n row,\n column); \n }", "title": "" }, { "docid": "eece840ac7528261246ecb07c416779a", "score": "0.6485045", "text": "TilePosition createTilePosition();", "title": "" }, { "docid": "efe96bf7ec4dbe54c4e7afb8b3b9d7b1", "score": "0.64717305", "text": "public tile(int x, int y){\n this.x = x;\n this.y = y;\n }", "title": "" }, { "docid": "b7411a6dc860c6d0e853b35a4761bff5", "score": "0.6452369", "text": "public ActionTile(TileType type) {\r\n this.type = type;\r\n }", "title": "" }, { "docid": "34547888fb1b1a0be443d2b98bc7242d", "score": "0.64153636", "text": "public Tile spawnNewTile(int x, int y){\r\n\t\tRandom rand = new Random();\r\n\t\tTile t = null;\r\n\t\t\t\t\r\n\t\tif (frequency == null) { // No statistics is defined. All values have same prob\r\n\t\t\treturn new Tile(rand.nextInt(5) + 1, x, y);\r\n\t\t}\r\n\t\t\r\n\t\t// Sum up all the frequency values\r\n\t\tint totalFrequency = 0; \r\n\t\tfor (int f: this.frequency){\r\n\t\t\ttotalFrequency += f;\r\n\t\t}\r\n\t\t\r\n\t\t// Generate random number up to sum\r\n\t\tint chance = rand.nextInt(totalFrequency) + 1;\r\n\t\t// Decide which tile to spawn\r\n\t\tif (chance <= frequency[0]){\r\n\t\t\tt = new Tile(1, x, y);\r\n\t\t} else if (chance <= (frequency[0] + frequency[1])) {\r\n\t\t\tt = new Tile(2, x, y);\r\n\t\t} else if (chance <= (frequency[0] + frequency[1] + frequency[2])){\r\n\t\t\tt = new Tile(3, x, y);\r\n\t\t} else if (chance <= (frequency[0] + frequency[1] + frequency[2] + frequency[3])){\r\n\t\t\tt = new Tile(4, x, y);\r\n\t\t} else {\r\n\t\t\tt = new Tile(5, x, y);\r\n\t\t}\r\n\t\t\r\n\t\t// Set the multiplier for the tile\r\n\t\tint chanceM = this.getChanceMultiplierFrequency();\r\n\t\t\r\n\t\tif (chanceM > rand.nextInt(100) + 1) { // Chance of having a multiplier at ALL\r\n\t\t\tint sumChance = this.get2x3xFrequency(0) + this.get2x3xFrequency(1);\r\n\t\t\t\r\n\t\t\tif (this.get2x3xFrequency(1) < rand.nextInt(sumChance) + 1) { // Chance of having a 2X\r\n\t\t\t\tt.setMultiplier(2);\r\n\t\t\t\t\r\n\t\t\t} else {\r\n\t\t\t\tt.setMultiplier(3);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn t;\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "276ab65a3e70799c3d5c43ec8439b6fa", "score": "0.6376444", "text": "public Tile(){\n }", "title": "" }, { "docid": "b44c265c3315aad419082752a5437c04", "score": "0.6356073", "text": "public Tile(){\n\n }", "title": "" }, { "docid": "3277d301abc48c63c95f634d0719c331", "score": "0.63122094", "text": "public Tile(int x, int y, int width, int height) {\n\n\t\tsuper(x, y, width, height);\n\t}", "title": "" }, { "docid": "66d4beec59a5c26325031a9d95e31b08", "score": "0.63102496", "text": "TileTOCRG createTileTOCRG();", "title": "" }, { "docid": "2e57cd97c1b93959f01806bfd04ce46d", "score": "0.62040174", "text": "static public Machine create(String type, Terrain t)\n {\n if(type==\"Hoe\")\n {\n return new Hoe(t);\n }\n else if(type==\"Dozer\")\n {\n return new Dozer(t);\n }\n else if(type==\"Roller\")\n {\n return new Roller(t);\n }\n else if(type==\"Grader\")\n {\n return new Grader(t);\n }\n else if(type==\"Truck\")\n {\n return new Truck(t);\n }\n else\n {\n return null;\n }\n }", "title": "" }, { "docid": "3888f577a708c3dc3ce5dcd0538d6d9d", "score": "0.6199861", "text": "public static <E extends Tile> E makeTile(int id, Position pos) {\n if (id < 0 || id >= TileType.values().length) throw new TileNotFoundException(\"Invalid ID: \" + id);\n\n Class<?> clazz = TileType.values()[id].getType();\n if (Tile.class.isAssignableFrom(clazz)) {\n return makeTile((Class<E>) clazz, pos);\n }\n throw new TileNotFoundException(\"Class not applicable: \" + clazz);\n }", "title": "" }, { "docid": "b45f9c0e75a5060900b75c8c2936f26a", "score": "0.61989754", "text": "public void setTile(int x, int y, TileType type) {\n\t\tlevel[y * ROW_COUNT + x] = type;\n\t}", "title": "" }, { "docid": "a9b4199e12d014ae2fffa6f182a80b04", "score": "0.6187252", "text": "public static Tile createLifeTile(float x, float y) {\n\t\treturn new Tile(LIFE_PATH, x, y);\n\t}", "title": "" }, { "docid": "7405881fc785879654bff95920b30cd6", "score": "0.6175153", "text": "public Tile(Game game, int locX, int locY) {\n this(game, UNEXPLORED, locX, locY);\n }", "title": "" }, { "docid": "e3e84881f3f2022f7d0291d9284e705d", "score": "0.61469346", "text": "public Tile(String coordinate){\n\t\tthis.coordinate = coordinate;\n\t}", "title": "" }, { "docid": "c74c42848f5a03f3bae04698b6ad2760", "score": "0.6132344", "text": "public Tile(MapOBJ o, String t) {\n\t\tlocationCoordinate = CoordinatesFactory.getCoordinate(0, 0);\n\t\tobject=o;\n\t\tobjectType=t;\n\t}", "title": "" }, { "docid": "6a971dd174c271f985c5c94fea7e0ced", "score": "0.60915583", "text": "public void setType(Type newType) {\n this.tileType = newType;\n setPermeable(newType);\n }", "title": "" }, { "docid": "60ff765ef265b8498c5c63041084f30c", "score": "0.6087845", "text": "public Tile(int x, int y) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\toccupied = false;\n\t\toccupiedBy = 'E';\n\t\tendx = x + TILE_WIDTH;\t\n\t\tendy = y + TILE_HEIGHT;\n\t\ttileRect = new Rect(this.x, this.y, endx, endy);\n\t\tgCost = 10;\n\t\thCost = 0;\n\t\tfCost = 0;\n\t}", "title": "" }, { "docid": "42e3bc476b5ac0887d3111ca25047293", "score": "0.6076829", "text": "BeginTile createBeginTile();", "title": "" }, { "docid": "ccbbd1fec3d25cde1968a68f4f9e3f8d", "score": "0.604085", "text": "@Override\n \tpublic TileEntity createNewTileEntity(World world) {\n \t\treturn new TileEntityCardBoard();\n \t}", "title": "" }, { "docid": "e7809e95df9dbb6efc1e91433486ea8f", "score": "0.59968805", "text": "public Tile()\n {\n position = new Position(-1, -1);\n boardPosition = new Position(-1, -1);\n }", "title": "" }, { "docid": "9e1a2bd4cfd8725fdf50d9152c357b7f", "score": "0.5992432", "text": "public TileEntity createNewTileEntity(World worldIn, int meta) {\n/* 93 */ return (TileEntity)new TileEntityHopper();\n/* */ }", "title": "" }, { "docid": "4b034fd60a29edf854f2b9eaf9b91382", "score": "0.5988396", "text": "public void createLevelTile (Tile tile, int x, int y, int layer) {\r\n mMap[x][y][layer] = tile;\r\n }", "title": "" }, { "docid": "888c61a894e440e447fcdf2336a38974", "score": "0.593011", "text": "public void setTile(Point point, TileType type) {\n\t\tsetTile(point.x, point.y, type);\n\t}", "title": "" }, { "docid": "a0e448474fd5abc21b2b5db77895e98e", "score": "0.5882068", "text": "public Tile(int x, int y, Integer mapId)\n\t{\n\t\tthis.mapId = mapId;\n\t\tcoords = new Point(x, y);\n\t\thasMonster = false;\n\t\tvisited = false;\n\t\tnorth = Boundary.OPENING;\n\t\tsouth = Boundary.OPENING;\n\t\teast = Boundary.OPENING;\n\t\twest = Boundary.OPENING;\n\t\t// the monster is for when we delete the tile\n\t\tmonster = new Monster();\n\t}", "title": "" }, { "docid": "a76c3d981794383c2593b341f587368c", "score": "0.5873651", "text": "public TileEntity createNewTileEntity(World worldIn, int meta) {\n/* 34 */ return (TileEntity)new TileEntityEndPortal();\n/* */ }", "title": "" }, { "docid": "10ac1107ee6d84ef31f0f833be90ed5a", "score": "0.5868935", "text": "public Tile(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "79af061c6c83edb5bf9482a963567dc4", "score": "0.5851233", "text": "public TileEntity createTileEntity(World par1World, int par2Int)\n {\n \n \tTileEntityMobSpawner a = new TileEntityMobSpawner();\n \ta.func_145881_a().setEntityName(mob);\n \treturn a;\n }", "title": "" }, { "docid": "8551ca6c21d44a5c49658960485dee50", "score": "0.5833992", "text": "public Tile() {\r\n\r\n this.sizeOfTile = 3; //This size of the tile matrix.\r\n Tile.counter = 0; //Advanced each time that a new position was created.\r\n rand = new Random(908);//TODO seed\r\n searchTree = new TreeMap<Integer, Position>();\r\n knownPositions = new Vector<Position>();\r\n initializeFirstPosition();\r\n\r\n }", "title": "" }, { "docid": "6cd941197a80502ea4b5b46f9d354794", "score": "0.58321714", "text": "public TileEntity createNewTileEntity(World par1World)\n {\n return new TileEntityDropper();\n }", "title": "" }, { "docid": "c2d98cfaaa45b0a6c34e1c91ffc6f98f", "score": "0.5827329", "text": "MapTile set(int x, int y, MapTile.Instance tile);", "title": "" }, { "docid": "d42969ea309eb5f04330d610c7dc8b9d", "score": "0.57727516", "text": "@Override\n\tpublic TileEntity createNewTileEntity(World world) {\n\t\treturn new TileGameMachine();\n\t}", "title": "" }, { "docid": "c0809056bb2e1ec13af4170f5fc9c71d", "score": "0.57659", "text": "@Override\r\n\tpublic TileEntity createNewTileEntity(World var1, int var2) {\n\t\treturn new TileEntityMina();\r\n\t}", "title": "" }, { "docid": "eb1a937a9a43ecef521b2f61d5375b81", "score": "0.57514423", "text": "public BoostTile(){\r\n super();\r\n\r\n }", "title": "" }, { "docid": "e87fe37cf7ebcfd0333e3151da8ae285", "score": "0.57482165", "text": "public Tile(int x, int y, int zoom)\n {\n loaded = false;\n this.zoom = zoom;\n this.x = x;\n this.y = y;\n }", "title": "" }, { "docid": "ef5a40d080a62246b17cf972ff93f037", "score": "0.5732358", "text": "private void setTile()\n\t{\n\t\tint x = (int) Math.floor(Mouse.getX() / TileGrid.SIZE);\n\t\tint y = (int) Math.floor((HEIGHT - Mouse.getY() - 1) / TileGrid.SIZE);\n\t\tif (grid.validIndex(x, y) && grid.getTile(x, y).getType() != TileType.Dirt)\n\t\t\tgrid.setTile(x, y, types[index]);\n\t}", "title": "" }, { "docid": "dc179363575196ef43fe5566879828db", "score": "0.57305485", "text": "public Tile tile(int x, int y) {\n\t\tif (x < 0 || y < 0 || x > map[0].length - 1 || y > map.length - 1) {\n\t\t\treturn new Hole();\n\t\t}\n\t\treturn map[y][x];\n\t}", "title": "" }, { "docid": "dbec0d75bc3d98b000752f10b67aa1f6", "score": "0.5724253", "text": "TileSize createTileSize();", "title": "" }, { "docid": "9a3f8f314d6cd4885319942828d7a239", "score": "0.57220656", "text": "@Nullable\n @Override\n public TileEntity createTileEntity(BlockState state, IBlockReader world) {\n if (ITileEntityFluidTankProvider.class.isAssignableFrom(((ABlockBaseTileEntity) block).getTileEntityClass())) {\n return new BuilderTileEntityFluidTank();\n } else if (ITileEntityInventoryProvider.class.isAssignableFrom(((ABlockBaseTileEntity) block).getTileEntityClass())) {\n return new BuilderTileEntityInventoryContainer();\n } else if (ITileEntityEnergyCharger.class.isAssignableFrom(((ABlockBaseTileEntity) block).getTileEntityClass())) {\n return new BuilderTileEntityEnergyCharger();\n } else {\n return new BuilderTileEntity();\n }\n }", "title": "" }, { "docid": "26af389d9bdca0ca50b4b8bddf50874b", "score": "0.5721453", "text": "@Test\r\n\tpublic void TileTests() {\r\n\t\tTile tile = new Tile(\"String image path is stored as string so not needed\", false, 4, 1, 5, 2);\r\n\t\tassertEquals(tile.imgPath(), \"String image path is stored as string so not needed\");\r\n\t\tassertFalse(tile.isPassable());\r\n\t\tassertEquals(tile.startCol(), 4);\r\n\t\tassertEquals(tile.colRange(), 1);\r\n\t\tassertEquals(tile.startRow(), 5);\r\n\t\tassertEquals(tile.rowRange(), 2);\r\n\t}", "title": "" }, { "docid": "2d521c43405e31faa17bfee404310c18", "score": "0.57106316", "text": "public Tile(int x, int y, int width, int height, int gid, int aid) {\r\n setBounds(x,y,width,height);\r\n groundId = gid;\r\n airId = aid;\r\n \r\n }", "title": "" }, { "docid": "008cb8207050f6a9f2267cd1e78e6c1c", "score": "0.57067585", "text": "public Tile(Tile toClone, Board board) {\n this.up = toClone.up;\n this.right = toClone.right;\n this.down = toClone.down;\n this.left = toClone.left;\n this.canMove = toClone.canMove;\n this.treasure = toClone.treasure;\n this.playersOnTile = toClone.playersOnTile;\n this.shapes = toClone.shapes;\n this.step = toClone.step;\n this.path = toClone.path;\n this.background = toClone.background;\n this.upperLeftX = toClone.upperLeftX;\n this.upperLeftY = toClone.upperLeftY;\n this.board = board;\n }", "title": "" }, { "docid": "34c5c4ae8104617d3cd9ed39ea1c3a14", "score": "0.570413", "text": "Tile(int x, int y, int zoom, String url, Priority priority, TileFactory dtf)\n {\n this.url = url;\n loaded = false;\n this.zoom = zoom;\n this.x = x;\n this.y = y;\n this.priority = priority;\n this.dtf = dtf;\n // startLoading();\n }", "title": "" }, { "docid": "619fc4be99c8fb1f41ab5ac6bcccbcc7", "score": "0.5701387", "text": "public Tile(Tile toClone) {\n this.up = toClone.up;\n this.right = toClone.right;\n this.down = toClone.down;\n this.left = toClone.left;\n this.canMove = toClone.canMove;\n this.treasure = toClone.treasure;\n this.playersOnTile = toClone.playersOnTile;\n this.shapes = toClone.shapes;\n this.step = toClone.step;\n this.path = toClone.path;\n this.background = toClone.background;\n this.upperLeftX = toClone.upperLeftX;\n this.upperLeftY = toClone.upperLeftY;\n this.board = toClone.board;\n }", "title": "" }, { "docid": "fb24535ac966c55ac3aba6eca16f3307", "score": "0.5688201", "text": "public FlagTile(int xCoord, int yCoord) {\n this.xCoord = xCoord;\n this.yCoord = yCoord;\n }", "title": "" }, { "docid": "c54f2b759754708520ad9db13a1bb519", "score": "0.5681428", "text": "private void createRoomTiles(int noOfRows, int noOfColumns)\n {\n mapTiles = new Tile[noOfRows][noOfColumns];\n\n for(int i = 0; i < noOfRows; i++)\n {\n for(int j = 0; j < noOfColumns; j++)\n {\n int x = i % noOfRows;\n int y = j % noOfColumns;\n\n if(tileMap[i][j].equals(\".\"))\n {\n mapTiles[i][j] = new Wall((x * tileWidth), (y * tileHeight), tileWidth, tileHeight,\n getTileBitmap(typesOfTiles.GREY_BRICK), tileMapScreen, TileType.WALL);\n }\n else\n {\n mapTiles[i][j] = new Floor(1f, (x * tileWidth), (y * tileHeight), tileWidth, tileHeight,\n getTileBitmap(typesOfTiles.WHITE_TILE), tileMapScreen, TileType.FLOOR);\n }\n }\n }\n }", "title": "" }, { "docid": "572ff33585d71a1e49e4ea8d9b18b51f", "score": "0.56725764", "text": "public TileType getType() {\n return type;\n }", "title": "" }, { "docid": "6a097c2a4420f7decaa8be6ab9d872da", "score": "0.56666106", "text": "public Tiles() {\n\t\tcolor =1;\n\t\tshape =1;\n\t}", "title": "" }, { "docid": "d587a55d435597ffeda296d4cc735117", "score": "0.56647986", "text": "private void createTiles(ObjFactory<T> factory) {\n array = new ArrayList<>(size.getX());\n for (int i = 0; i <= size.getX(); ++i) {\n array.add(i, new ArrayList<>(size.getY()));\n for (int j = 0; j <= size.getY(); ++j) {\n array.get(i).add(j, factory.create(new Coords(i, j)));\n }\n }\n }", "title": "" }, { "docid": "45ba439822e8adfd4e4cbccc8499030a", "score": "0.56644166", "text": "public TileType getType() {\r\n return type;\r\n }", "title": "" }, { "docid": "df1e7da8129bb570dc4fb5137077e3c1", "score": "0.56638795", "text": "public Item(String type, int level, String name, Coordinates coordinates) {\n\t\tsuper(coordinates);\n\t\tthis.type = type;\n\t\tthis.boost = randomWithRange(1, level);\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "f939b66b918215fd59c21692cbe4da37", "score": "0.5663653", "text": "public Tile(int X, int Y) {\n possible = new ArrayList<Integer>(Arrays.asList(1,2,3,4,5,6,7,8,9));\n this.value = 0;\n \n this.x = X;\n this.y = Y;\n \n this.isStarter = false;\n\t}", "title": "" }, { "docid": "9ce6bd53a4e58c21ae9ea7bce44a3a0b", "score": "0.56502473", "text": "public void generateTile() {\n\t\tint[] tileValueAndLocation = rules2048.generateTile();\n\n\t\tint tileValue = tileValueAndLocation[0];\n\n\t\t// Update states for the new tile (Set tile background to be different to notify player that this is a new tile)\n\t\ttile[tileValueAndLocation[1]][tileValueAndLocation[2]].setText(Integer.toString(tileValue));\n\t\ttile[tileValueAndLocation[1]][tileValueAndLocation[2]].setForeground(findFontColor(tileValue));\n\t\ttile[tileValueAndLocation[1]][tileValueAndLocation[2]].setBackground(Color.CYAN);\n\n\t\t// Update the panel\n\t\trepaint();\n\n\t}", "title": "" }, { "docid": "7f3510e223941440c6cd7e1724e380bf", "score": "0.5650023", "text": "public static Tile createGrassTile(float x, float y) {\n\t\treturn new Tile(GRASS_PATH, x, y);\n\t}", "title": "" }, { "docid": "0e8e2cda71ce0f1f2fa7ba6459907044", "score": "0.5644906", "text": "public Entity(String description, eTypes type, int startX, int startY)\n {\n this.description = new String(description);\n this.myType = type;\n Xpos = startX;\n Ypos = startY;\n \n this.universe = Universe.getInstance(); \n }", "title": "" }, { "docid": "d736dd1360952339e4af7b41d8d34c19", "score": "0.5639051", "text": "public TileType type(int x, int y) {\n\t\treturn tile(x, y).type;\n\t}", "title": "" }, { "docid": "bfaf9b49005322489d1608641f2e6fea", "score": "0.5636995", "text": "public Tile() {\n this(0, 0, 0, 0, TileState.ERROR);\n }", "title": "" }, { "docid": "e413ff263fb2ca9fd4adabbda5412777", "score": "0.56368655", "text": "public static Tile createTreeTile(float x, float y) {\n\t\treturn new Tile(TREE_PATH, x, y, new String[] { Sprite.SOLID });\n\t}", "title": "" }, { "docid": "2730456ae20f94ada4f16305d9bbfb99", "score": "0.5630744", "text": "private Tile(Simple simple, int number) {\n if (Simple.checkInvalid(simple, number)) {\n throw new IllegalStateException(\"Invalid value\");\n }\n this.simple = simple;\n this.number = number;\n }", "title": "" }, { "docid": "a98f8929a5bbef5c15cc3433cf2d8b16", "score": "0.5622775", "text": "public WaterTile(float centerX, float centerZ, float height)\n {\n this.x = centerX;\n this.z = centerZ;\n this.height = height;\n }", "title": "" }, { "docid": "8fc29868f7cf96c36e0075671dc3d161", "score": "0.561048", "text": "public BackTrackTile() {\n\n super.setTileType(\"BackTrackTile\");\n\n }", "title": "" }, { "docid": "e18cc44b07fcb683744e10dec2608ba8", "score": "0.5609017", "text": "private void initTiles() {\n System.out.println(\"Initializing tiles...\");\n for (int y = 0; y < NO_OF_TILES_Y; y++) {\n for (int x = 0; x < NO_OF_TILES_X; x++) {\n// tiles[y][x] = new Tile(x * Tile.TILE_WIDTH, y * Tile.TILE_HEIGHT,\n// Tile.TILE_WIDTH, Tile.TILE_HEIGHT);\n\n tiles[y][x] = new Tile(\n x * Tile.TILE_WIDTH + Tile.TILE_WIDTH / 2,\n y * Tile.TILE_HEIGHT + Tile.TILE_HEIGHT / 2,\n new Point(x, y));\n }\n }\n }", "title": "" }, { "docid": "81e55487ce007546db6222398e5ce33c", "score": "0.5607204", "text": "Tile(Board board, double upperLeftX, double upperLeftY, boolean up, boolean right, boolean down, boolean left, boolean canMove, boolean startTile) {\n\n //set colors\n path = Color.DARKSLATEGREY;\n background = canMove ? Color.WHITE : Color.LIGHTGREY;\n this.isStartTile = startTile;\n\n //set directions/other attributes\n this.up = up;\n this.right = right;\n this.down = down;\n this.left = left;\n this.canMove = canMove;\n this.upperLeftX = upperLeftX;\n this.upperLeftY = upperLeftY;\n this.board = board;\n\n //calls handler for >1 players on 1 tile if necessary\n if (playersOnTile.size() > 1)\n updateMultiColors();\n else\n //otherwise: calls standard update colors\n updateColors();\n\n }", "title": "" }, { "docid": "6433aff1cd96345aa96bac770e760b61", "score": "0.5602361", "text": "void setTile(TileType[] tileType) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); \n }", "title": "" }, { "docid": "dedb1d86f2bf2870c45406388b1c76b4", "score": "0.5602338", "text": "@Test\n public void testGetType() {\n System.out.println(\"getType\");\n Tile newTile = new Tile();\n char expResult = 'G';\n char result = newTile.getType();\n assertEquals(expResult, result);\n\n Tile newTileWithType = new Tile('W');\n expResult = 'W';\n result = newTileWithType.getType();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "05799956bbc180a16c26d6473e65c108", "score": "0.55880773", "text": "public Teleporter(elementType type) {\r\n\t\tsuper(type);\r\n\t\timage = new Sprite(Assets.manager.get(\"teleporter.png\", Texture.class));\r\n\t\tdestinationImage = new Sprite(Assets.manager.get(\"teleporterDestination.png\", Texture.class));\r\n\t}", "title": "" }, { "docid": "16767c3f5898f074853309767bf5f894", "score": "0.55830455", "text": "public GameState getNewTileForCurrentPlayer() {\r\n\t\tTileType newTileType = bag.draw();\r\n\t\tTile newTile = null;\r\n\t\tif(newTileType == TileType.BackTrack) {\r\n\t\t\tnewTile = new BackTrack(players[curPlayer]);\r\n\t\t\tplayers[curPlayer].addActionTile((ActionTile)newTile);\r\n\t\t} else if (newTileType == TileType.DoubleMove) {\r\n\t\t\tnewTile = new DoubleMove(players[curPlayer]);\r\n\t\t\tplayers[curPlayer].addActionTile((ActionTile)newTile);\r\n\t\t} else if (newTileType == TileType.Ice) {\r\n\t\t\tnewTile = new Ice(players[curPlayer], players.length);\r\n\t\t\tplayers[curPlayer].addActionTile((ActionTile)newTile);\r\n\t\t} else if (newTileType == TileType.Fire) {\r\n\t\t\tnewTile = new Fire(players[curPlayer], players.length);\r\n\t\t\tplayers[curPlayer].addActionTile((ActionTile)newTile);\r\n\t\t} else {\r\n\t\t\tnewTile = new Placeable(newTileType);\r\n\t\t}\r\n\t\t\r\n\t\tGameState newState = new GameState();\r\n\t\tnewState.setTileDrawn(newTile);\r\n\t\tnewState.setActionTilesForPlayers(getActionTilesForPlayers());\r\n\t\tnewState.setInsertableLocation(board.getInsertablePlaces());\r\n\t\treturn newState;\r\n\t}", "title": "" }, { "docid": "bc9275b01976eda32985525f64db60b0", "score": "0.5579392", "text": "@SuppressWarnings(\"unchecked\")\n public <T extends GObject> T createInstance(double x, double y, Class<T> type) {\n try {\n // Create new instance from provided class\n GObject obj = (GObject) type.getDeclaredConstructor().newInstance();\n obj = initInstance(x, y, obj);\n return (T) obj; // Cast to provided class\n }\n catch (InstantiationException e) {} \n catch (IllegalAccessException e) {}\n catch (NoSuchMethodException e) {\n System.out.println(\"You need to declare\" +\n \" default constructor for the class, or remove other\" +\n \" constructors!\");\n throw new IllegalArgumentException(\"Default constructor missing!\");\n }\n catch (InvocationTargetException e) {}\n\n return null;\n }", "title": "" }, { "docid": "a8d3d59986cba38854ff0ad367e38283", "score": "0.5578152", "text": "public void createTiles() {\n Random rNum1 = new Random(), rNum2 = new Random();//create 2 random numbers\n\n tiles = new Tile[size][size]; //make the array of tiles the size of the field\n //nested loop to create the tiles\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < size; j++) {\n tiles[i][j] = new Tile(i, j);//create a new tile at i and j in the array\n }\n }\n //create a certain number of bombs depending on the size of the field\n for (int i = 0; i <= size * 3; i++) {\n int num1 = (rNum1.nextInt(size) - 0); //first random number\n int num2 = (rNum2.nextInt(size) - 0); //second random number\n tiles[num1][num2] = new Bomb(num1, num2, false); //turn a tile into a bomb at the x and y coordinates 2 random numbers \n }\n }", "title": "" }, { "docid": "d0b719df19d5056a3873b0bfcca07ba7", "score": "0.5573449", "text": "public WheatTile(int xcoord, int ycoord) {\n\t\tsuper(12, new int[][] { { 3, 4 }, { 4, 4 }, { 5, 4 }}, Colours.get(230, 100, 211, 151), 0xFF84ff7d,2000,0, 0, xcoord, ycoord);\n\n\t}", "title": "" }, { "docid": "7e050bbf07e2463a4d5643b0bf3b9e4f", "score": "0.55695736", "text": "public PowerUpObject(Vector2 position, ProjectileType type){\n super(position, type.assetDir());\n this.type = type;\n this.valid = true;\n this.sprite.setSize(this.sprite.getWidth() / 3.0f, this.sprite.getHeight() / 3.0f);\n }", "title": "" }, { "docid": "212168be1695fbb98d4816774df03fed", "score": "0.5568578", "text": "private void setupTiles()\n {\n GameLogger.logInfo(\"Setting up map tiles.\");\n \n tileGrid = new ArrayList< ArrayList<Tile> >();\n // Setup all of the tiles IDs\n \n for(int y = 0; y < height; ++y)\n {\n ArrayList<Tile> line = new ArrayList<Tile>();\n for (int x = 0; x < width; ++x)\n {\n // Get the segment coordinate that corresponds with the\n // current (x, y) coordinate on the map\n int segmentX = x / Constants.TILE_SEGMENT_WIDTH;\n int segmentY = y / Constants.TILE_SEGMENT_WIDTH;\n \n // Get the tile type ID of the tile in the map tile segment\n // corresponding with this segment\n int id = segmentGrid.get(segmentY).get(segmentX).getTileID(x % 5, y % 5);\n \n // Special tile segments need special tiles\n if (segmentX == endX && segmentY == endY)\n {\n // End segment has tiles with ID = 3\n id = 3;\n }\n if (segmentX == itemX && segmentY == itemY)\n {\n // The item segment has tiles with ID = 4\n id = 4;\n }\n if (segmentX == npcX && segmentY == npcY)\n {\n // The NPC segment has tiles with ID = 5\n id = 5;\n }\n \n line.add(new Tile(x, y, id));\n }\n tileGrid.add(line);\n }\n GameLogger.logInfo(\"Map tile setup completed.\");\n \n }", "title": "" }, { "docid": "eb9a3dc02b08043f9c57c721f08769ce", "score": "0.55587506", "text": "public TileRegistrator(Level level, MainView mainView) {\n\t\tthis.level = Objects.requireNonNull(level);\n\t\tthis.mainView = Objects.requireNonNull(mainView);\n\t}", "title": "" }, { "docid": "a252283708f0cefa0964207fb3963da8", "score": "0.5556072", "text": "@Override\r\n\tpublic TileType getTileType() \r\n\t{\r\n\t\treturn TileType.FACTORY;\r\n\t}", "title": "" }, { "docid": "86572019981cecbcccbb7110443af248", "score": "0.555592", "text": "public Tile(String imageSrc, float x, float y) {\t\t\n\t\tsuper(imageSrc, x, y);\n\t}", "title": "" }, { "docid": "a9edd58f3b82905fc7b105ad779c8a0d", "score": "0.5555789", "text": "public Tile getTile(int xPos, int yPos, int width, int height) {\r\n\t\tint boxWidth = width/20;\r\n\t\tint boxHeight = height/20;\r\n\t\t\r\n\t\tint xCurr = 0;\r\n\t\tint yCurr = 0;\r\n\t\t\r\n\t\tfor(int x = 0; x < 20; x++) {\r\n\t\t\tfor(int y = 0; y < 20; y++) {\r\n\t\t\t\tif(yPos > xCurr && yPos < xCurr+boxWidth && xPos > yCurr && xPos < yCurr+boxHeight) {\r\n\t\t\t\t\t//System.out.println(\"(xPos:\"+xCurr+\", yPos:\"+yCurr+\")\");\r\n\t\t\t\t\treturn map[x][y];\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\txCurr += boxWidth;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\tyCurr += boxHeight;\r\n\t\t\txCurr = 0;\r\n\t\t}\r\n\t\t\r\n\t\treturn new Tile(\"nonexistent\");\r\n\t}", "title": "" }, { "docid": "afab0a80be2d6863eef435770dc90685", "score": "0.55541104", "text": "public DamagingSupportedTile(TileType type, int x, int y) {\r\n\t\tsuper(type, x, y);\r\n\t\tthis.setDamage(DEF_DAMAGE);\r\n\t\tthis.setKnockback(DEF_KNOCKBACK);\r\n\t}", "title": "" }, { "docid": "356e6d99372396505605da8afa2de939", "score": "0.5546231", "text": "@Override\n\tpublic ICharacter make(String type) {\n\n\t\tif (type.equals(\"tank\")) {\n\t\t\treturn new Tank();\n\t\t}\n\n\t\tif (type.equals(\"common\")) {\n\t\t\treturn new Common();\n\t\t}\n\n\t\tif (type.equals(\"predator\")) {\n\t\t\treturn new Predator();\n\t\t}\n\n\t\tif (type.equals(\"soldier\")) {\n\t\t\treturn new Soldier();\n\t\t}\n\n\t\tif (type.equals(\"teacher\")) {\n\t\t\treturn new Teacher();\n\t\t}\n\n\t\tif (type.equals(\"student\")) {\n\t\t\treturn new Student();\n\t\t}\n\n\t\tif (type.equals(\"child\")) {\n\t\t\treturn new Child();\n\t\t}\n\n\t\tif (type.equals(\"charger\")) {\n\t\t\treturn new Charger();\n\t\t}\n\n\t\treturn null;\n\n\t\t// switch (type) {\n\t\t// case \"tank\":\n\t\t// return new Tank();\n\t\t// case \"common\":\n\t\t// return new Common();\n\t\t// case \"predator\":\n\t\t// return new Predator();\n\t\t// case \"soldier\":\n\t\t// return new Soldier();\n\t\t// case \"teacher\":\n\t\t// return new Teacher();\n\t\t// case \"student\":\n\t\t// return new Student();\n\t\t// case \"child\":\n\t\t// return new Child();\n\t\t// default:\n\t\t// return null;\n\t\t//\n\t\t// }\n\t}", "title": "" }, { "docid": "d98a36397c6bd18e83d0a8897c32a1ea", "score": "0.5546148", "text": "public Bitmap getTileBitmap(typesOfTiles typeOfTile)\n {\n Bitmap tile = null;\n switch(typeOfTile)\n {\n case WHITE_TILE:\n tile = tileTypes[2];\n break;\n case GREY_BRICK:\n tile = tileTypes[10];\n break;\n default:\n break;\n }\n return tile;\n }", "title": "" }, { "docid": "e075f9c1f286297a4a00c066eff97f3c", "score": "0.55385655", "text": "public void generateTiles(){\n\t\ttry {\r\n\t\t\t//cachedImage = new Image(world.getWidth() + Tile.DIMENSIONS * 2, world.getHeight()-150 + Tile.DIMENSIONS * 2);\r\n\t\t\tGraphics g = cachedImage.getGraphics();\r\n\r\n\t\t\tint numTilesX = (world.getWidth() / Tile.DIMENSIONS)+10;\r\n\t\t\tint numTilesY = (world.getHeight() / Tile.DIMENSIONS)+10;\r\n\t\t\tlist= new Tile[numTilesX][numTilesY];\r\n\r\n\r\n\t\t\tfor(int yPos = 0; yPos < numTilesY; yPos++) {\r\n\t\t\t\tfor(int xPos = 0; xPos < numTilesX; xPos++) {\r\n\t\t\t\t\tint rand = (int) (Math.random()*3)+1;\r\n\t\t\t\t\tlist[xPos][yPos]=new Tile(Game.IMAGE_PATH + \"groundTile\"+rand+\".png\",xPos,yPos);\r\n\t\t\t\t\tg.drawImage(sprite.get(Game.IMAGE_PATH + \"groundTile\"+rand+\".png\"), xPos * Tile.DIMENSIONS, yPos * Tile.DIMENSIONS);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tg.flush();\r\n\t\t} catch(SlickException ex) {\r\n\t\t\tSystem.out.println(\"Could not create image for drawing tiles.\");\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8e43edc0bf01f54b21055b5a9cb3f2ff", "score": "0.55289346", "text": "public Enemy makeEnemy(String type, double xPos, double spawnHeight) {\n\n Enemy enemy = null;\n\n if (type.matches(\"slime[R, G, B, P, Y]\")) {\n enemy = new Slime(type + \"a.png\", xPos, spawnHeight);\n }\n\n return enemy;\n\n }", "title": "" }, { "docid": "bcd49b232e20ffda1027f2b0a54933a6", "score": "0.5521191", "text": "EndTile createEndTile();", "title": "" }, { "docid": "a83e0d5767cd910f8759138433a85553", "score": "0.5519149", "text": "public Tile(int x, int y, BufferedImage b){\r\n\t\tthis.x=x;\r\n\t\tthis.y=y;\r\n\t\timg=b;\r\n\t}", "title": "" }, { "docid": "b49e65b61e794ff51f7760d2a266fa36", "score": "0.5515186", "text": "@Override\n\tpublic TileEntity createNewTileEntity(World par1World)\n {\n return new GCCoreTileEntityTreasureChest();\n }", "title": "" }, { "docid": "70e1b76c185902b5d8d9fe8312e8fe13", "score": "0.55088454", "text": "private void addNewTile(List<Tile> tiles, Position pos, PipelineBoardParameter para, int[] id) {\n if (pos.getX() == para.getStartCol() & pos.getY() == para.getStartRow()) {\n TilePipelines t = new TilePipelines(id, true);\n tiles.set(pos.getX() + pos.getY() * para.getRows(), t);\n } else {\n TilePipelines t = new TilePipelines(id, false);\n tiles.set(pos.getX() + pos.getY() * para.getRows(), t);\n }\n }", "title": "" }, { "docid": "f7c451575d703d206a137afb31f6b56f", "score": "0.5494979", "text": "public TileType getType() {\n\t\treturn type;\n\t}", "title": "" }, { "docid": "183f580dafa77a83e47fa146dcd8e490", "score": "0.54923975", "text": "@Override\r\n\tpublic TileEntity createNewTileEntity(World var1, int var2) {\n\t\treturn new TileEntityAutoCrafter();\r\n\t}", "title": "" }, { "docid": "976e6d30e22359ae44e589d4fdd99b8c", "score": "0.5478459", "text": "public TileNode(TileInfo tileInfo, TableCoordinates tableCoordinates, int heuristic) {\n tile = tileInfo;\n coordinates = tableCoordinates;\n heuristicVal = heuristic;\n\n }", "title": "" }, { "docid": "1af12bf34af26ff97b78274e1ba4307c", "score": "0.5476354", "text": "public Tile tileAt(Point position) {\n\t\tif (position.x > this.width() || position.x < 0 || position.y > this.height() || position.y < 0) {\n\t\t\tthrow new IllegalArgumentException(\"Grid:at(\" + position + \"): point out of bounds\");\n\t\t} else {\n\t\t\treturn gridRep[position.x][position.y];\n\t\t}\n\n\t}", "title": "" }, { "docid": "64985d5a0b9243759e9fe33f6374b736", "score": "0.54593766", "text": "public PathTile(int x, int y) {\n\t\tsuper(x, y);\n\t\t\n\t\tsuper.setType(1);\n\n\t\tnextTile = null;\n\t}", "title": "" }, { "docid": "194f1691090de64552a9b72d10bbdfe1", "score": "0.5455492", "text": "private MyTile doTile(Point p, int debug)\n {\n countTiles++;\n if (countTiles == usedFiles.length/2)\n countTiles = 1;\n return new MyTile(usedFiles[countTiles-1],p,tileWidth,tileHeight, debug);\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "15c81a2575841d89ecede64c170aaa9e", "score": "0.0", "text": "@Override\r\n\t\t\tpublic void failed(Throwable exc, ByteBuffer attachment) {\n\t\t\t\ttry {\r\n\t\t\t\t\tsocketChannel.close();\r\n\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\tlatch.countDown();\r\n\t\t\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": "" } ]
14b7aaf7a8e2360aa63905928836b07f
Is username available boolean.
[ { "docid": "ed9b2117507a6d896fef2971962ed465", "score": "0.820733", "text": "public boolean isUsernameAvailable(String username) {\n return userMapper.getUserByName(username) == null;\n }", "title": "" } ]
[ { "docid": "dbd142b9dba5ee0efd6923ca34092d55", "score": "0.86447376", "text": "boolean hasUsername();", "title": "" }, { "docid": "dbd142b9dba5ee0efd6923ca34092d55", "score": "0.86447376", "text": "boolean hasUsername();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "2f63881c9e25ea01faacb0d24c96ca46", "score": "0.8410922", "text": "boolean hasUserName();", "title": "" }, { "docid": "1295a089509b952b6fa14dcf07c11f48", "score": "0.8384548", "text": "public boolean isSetUsername() {\n return this.username != null;\n }", "title": "" }, { "docid": "d5721b8689b606064e855778caeb39eb", "score": "0.79866284", "text": "public boolean isSetUserName() {\n return this.userName != null;\n }", "title": "" }, { "docid": "d5721b8689b606064e855778caeb39eb", "score": "0.79866284", "text": "public boolean isSetUserName() {\n return this.userName != null;\n }", "title": "" }, { "docid": "d5721b8689b606064e855778caeb39eb", "score": "0.79866284", "text": "public boolean isSetUserName() {\n return this.userName != null;\n }", "title": "" }, { "docid": "e2a9ce52f8496740089b8552cf1180ae", "score": "0.7936586", "text": "public boolean isSetUserName() {\n return this.userName != null;\n }", "title": "" }, { "docid": "58df2fc555027017dc56bb0a8fe4b498", "score": "0.7844069", "text": "public boolean hasUserName() {\n return userName_ != null;\n }", "title": "" }, { "docid": "989d28c5de749a651c17616d18d3987c", "score": "0.7816451", "text": "public boolean hasUsername() {\n\t\t\treturn this.url != null;\n\t\t}", "title": "" }, { "docid": "82a28ece0b59b06280853f141e56f5f8", "score": "0.78036416", "text": "public boolean hasUsername() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "9c29ca70b63cb12fbf637fa91ba47b53", "score": "0.77779037", "text": "public boolean hasUsername() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "6bed49446b86236c30653c86d700082e", "score": "0.77125686", "text": "boolean checkUsername(){\n }", "title": "" }, { "docid": "58f91eaadcb0e3c3343b91c798b2a262", "score": "0.7669139", "text": "public boolean hasUserName() {\n return userNameBuilder_ != null || userName_ != null;\n }", "title": "" }, { "docid": "b746f26068c8fcf9ebf00497a6e8d3c8", "score": "0.7557676", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "6ac0cd968aaec230f2052fc82875a0d8", "score": "0.7550061", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "b49c45f835134f566602041e973c8289", "score": "0.752485", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "b49c45f835134f566602041e973c8289", "score": "0.752485", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "b49c45f835134f566602041e973c8289", "score": "0.752485", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "5abaf40d3084d2449adac10a67be4784", "score": "0.75243366", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "11cd01eb2a12fbc904fa11a34d8d347c", "score": "0.7523791", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11cd01eb2a12fbc904fa11a34d8d347c", "score": "0.7523791", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "11cd01eb2a12fbc904fa11a34d8d347c", "score": "0.7523791", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "43c8daaec59216077d398a41cd1ae9e8", "score": "0.7515608", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "b00315eeb5798eee15b935a367ccee2c", "score": "0.74736905", "text": "public boolean getUsernameFlag() {\n return Util.getBooleanFlagFromByte(connectFlags, (byte) USERNAME_FLAG_MASK);\n }", "title": "" }, { "docid": "3ffae3c9c33916645c8c97415ad6278d", "score": "0.745485", "text": "private boolean isUsernameAllowed(String UserName) {\n return true;\n }", "title": "" }, { "docid": "1bcafaa8a586b7edda4fe1c66c3fb3ad", "score": "0.7438797", "text": "public boolean checkExistUsername(String username);", "title": "" }, { "docid": "1ca65f621d699da3f0bfa24e1d7ebb9a", "score": "0.7425558", "text": "boolean isExistedUsername(String username);", "title": "" }, { "docid": "c7ee1a338abc78184b15675fc447dbd2", "score": "0.7401167", "text": "public boolean hasUserName() {\n return ((bitField0_ & 0x00000001) != 0);\n }", "title": "" }, { "docid": "2ad8bb9c47e4f2f8df71be28cd0a2017", "score": "0.7351172", "text": "boolean checkUsernameAvailability(Long userId, final String username);", "title": "" }, { "docid": "128a922ad9a39e9eb9d56b3cf7ff3d42", "score": "0.7325821", "text": "boolean userNameExists(String username);", "title": "" }, { "docid": "4c2d13b4660e7122c634123f9db7e6e9", "score": "0.73220384", "text": "public boolean useAuthentication()\n {\n return getUsername() != null && getUsername().length() > 0;\n }", "title": "" }, { "docid": "4d001d0c9c2f748440921828b8c2e06a", "score": "0.72497094", "text": "public static boolean isUsernameAvailable(String username) {\n\t\ttry {\n\t\t\t// Retrieve any potential matches from database\n\t\t\tConnection dbConnection = SQLConnection.databaseConnection();\n\t\t\tString query = \"SELECT username FROM Accounts WHERE username=?\";\n\t\t\tPreparedStatement queryStatement = dbConnection.prepareStatement(query);\n\t\t\tqueryStatement.setString(1, username);\n\t\t\tResultSet queryResults = queryStatement.executeQuery();\n\t\t\t\n\t\t\t\n\t\t\tSet<String> resultingNames = new HashSet<String>();\n\t\t\twhile (queryResults.next()) {\n\t\t\t\tresultingNames.add(queryResults.getString(1));\n\t\t\t}\n\t\t\t\n\t\t\tSQLConnection.closeDbOperation(dbConnection, queryStatement, queryResults);\n\t\t\t\n\t\t\tif (resultingNames.contains(username))\n\t\t\t\treturn false;\n\t\t} catch (SQLException exception) {\n\t\t\t// if there's trouble reading the database just assume the names taken\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "fd219d3b87ad5ff76aefdb48f42ff48e", "score": "0.7212069", "text": "private boolean checkUserName() {\n\t\tString email = username.getText().toString();\n\t\treturn Pattern.matches(\"[a-zA-Z0-9._%+-]+\", email);\n\t}", "title": "" }, { "docid": "9168817c4e665e58792db56da7570402", "score": "0.7193084", "text": "private boolean usernameExists(String username) {\n\t\tList<User> user = userAccess.selectUsersByUsername(username);\n\n\t\treturn !user.isEmpty();\n\t}", "title": "" }, { "docid": "f866eb5363951d401667717d56247b32", "score": "0.7165777", "text": "@java.lang.Override\n public boolean hasUserName() {\n return ((bitField0_ & 0x00000001) != 0);\n }", "title": "" }, { "docid": "369e8cc6b3ef5e303472411c11d4e489", "score": "0.71468157", "text": "public static boolean has_user (String username) {\n\t\treturn user_pindex.contains(username);\n\t}", "title": "" }, { "docid": "3cd0b0fdb278e3d7dd68ff4db9420b6f", "score": "0.7144035", "text": "boolean checkUserName(String userName);", "title": "" }, { "docid": "8af3dfc76dfef461dd27d098354fd7b4", "score": "0.7124403", "text": "public boolean isUsernameAvailable(String username) {\n try (Connection conn = ConnectionFactory.getInstance().getConnection()) {\n\n String sql = \"select * from customers where username = ?\"; //This is the ONLY THING that ever changes.\n PreparedStatement pstmt = conn.prepareStatement(sql);\n pstmt.setString(1, username);\n\n ResultSet rs = pstmt.executeQuery();\n if (rs.next()) {\n return false;\n }\n\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n return true;\n\n }", "title": "" }, { "docid": "45876fdb02c4c7046f12f02334a5a67e", "score": "0.71209913", "text": "boolean hasNickName();", "title": "" }, { "docid": "45876fdb02c4c7046f12f02334a5a67e", "score": "0.71209913", "text": "boolean hasNickName();", "title": "" }, { "docid": "f861a4d5d99a2c637f72c6bd66d5177a", "score": "0.708597", "text": "boolean checkUserName(User user);", "title": "" }, { "docid": "939c50acbd1dc8d7bfb54c0421e86040", "score": "0.7081223", "text": "boolean userExists(String username);", "title": "" }, { "docid": "776e316eca5e466b7b67515271f0e0ce", "score": "0.70200086", "text": "boolean isUsernameFree(String username) throws SQLException;", "title": "" }, { "docid": "e50b42e14a5bc2a7bd56dde1eeb3e1cb", "score": "0.70082206", "text": "private boolean isUserEmpty(){\n // Checking If username is present or not\n String userName = userNameText.getText().toString();\n if(userName == null || userName.isEmpty()){\n Context context = getApplicationContext();\n String upperLimitToast = getString(R.string.userNull);\n int duration = Toast.LENGTH_SHORT;\n Toast toast = Toast.makeText(context, upperLimitToast, duration);\n toast.show();\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "6292a72296d11e8d0b27597f55156284", "score": "0.6999546", "text": "boolean hasUser();", "title": "" }, { "docid": "6292a72296d11e8d0b27597f55156284", "score": "0.6999546", "text": "boolean hasUser();", "title": "" }, { "docid": "6292a72296d11e8d0b27597f55156284", "score": "0.6999546", "text": "boolean hasUser();", "title": "" }, { "docid": "6292a72296d11e8d0b27597f55156284", "score": "0.6999546", "text": "boolean hasUser();", "title": "" }, { "docid": "b504a9fa616fc6909073216370ab496d", "score": "0.699844", "text": "private boolean checkUsername(String username) {\n\t\tfor (int i = 0; i<users.size(); ++i) {\n\t\t\tUser user = users.get(i);\n\t\t\tif (user.getUsername().toLowerCase().equals(username.toLowerCase())) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c983c1dc87a7a5c6996c69182b685488", "score": "0.69921434", "text": "public boolean checkUsername(String username) throws IOException, SQLException;", "title": "" }, { "docid": "ad2274fcbb6b7cfdc7aebbeeca691c3e", "score": "0.6956295", "text": "@Override\n public boolean isUser(String username) {\n for (Organizer organizer : listOfOrganizers) {\n if (organizer.getUsername().equals(username)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "b5c9495ac46e628018e8939eab4c24d5", "score": "0.6945037", "text": "public boolean exist(String username);", "title": "" }, { "docid": "f99f77d8e37d28b3213bbd5102318ea8", "score": "0.69257003", "text": "public boolean checkUserExists(String name);", "title": "" }, { "docid": "e467fd68d5fb7eee69dbbe1603a99121", "score": "0.69181967", "text": "boolean hasNickname();", "title": "" }, { "docid": "ab594252fc5b47103964667b1a64834b", "score": "0.6904737", "text": "public boolean isUsernameTaken(String username) {\n return userRepo.findUserByUsername(username) != null;\n }", "title": "" }, { "docid": "d4978ce6bcdaec8e1863fbe03224e56f", "score": "0.6903443", "text": "@Override\r\n\tpublic boolean isUsernameExisting(String username) {\n\t\tQuery query = sessionFactory.getCurrentSession().createQuery(\"from User u WHERE u.username = :username\");\r\n\t\tquery.setString(\"username\", username);\r\n\t\t\r\n\t\tList<User> list = query.list();\r\n\t\t\r\n\t\tif(list != null) {\r\n\t\t\tif(list.size() > 0) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "e4d24ba50d3ec301d8c8cba60a8e5297", "score": "0.6888029", "text": "public boolean setUsername(String username) {\n \tif (username.length() == 0) {\n \t\treturn false;\n \t} else {\n this.username = username;\n return true;\n \t}\n }", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "7c4c4e6dcbafbc4621af39e24e0069ef", "score": "0.6886295", "text": "boolean hasAccountName();", "title": "" }, { "docid": "cacc927e39b5415dadfe32245b291d9c", "score": "0.6877652", "text": "public boolean usernameAlreadyInUse(String username) {\n Player dummyPlayer = new Player(username);\n return onlinePlayers.contains(dummyPlayer);\n }", "title": "" }, { "docid": "ab318cabd47e5b45b30b6ef76387123c", "score": "0.6873428", "text": "public boolean isStoreUsername() {\n return storeUsername;\n }", "title": "" }, { "docid": "e876386608bda89e8fb5783b3d8926a3", "score": "0.68686014", "text": "@Override\n public boolean isValidUsername(String username) {\n return !TextUtils.isEmpty(username);\n }", "title": "" }, { "docid": "5197ff135d3b1df09130a93b5a6ad378", "score": "0.6864714", "text": "private boolean isUserNameInUse(final String userName) {\n return userDao.getUserByUserName(userName) != null;\n }", "title": "" }, { "docid": "0baad7c3101768f8783144726dd25e00", "score": "0.6850055", "text": "boolean hasPlayerName();", "title": "" }, { "docid": "14be983d363c3608bbe05718aaa06ae3", "score": "0.6834896", "text": "@Override\n\tpublic boolean usernameVerify(String name) {\n\t\tUserlogin selectUserName = userLoginDao.SelectUserName(name);\n\t\tif(selectUserName==null){\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "f4e58130973ea19385ef86704b2a8566", "score": "0.68011653", "text": "public boolean checkUsernameAjax(String username){\n if(accountDao.doesUserExist(username))\n return true;\n return false;\n }", "title": "" }, { "docid": "7257f8bddedc92cf5bba47787a0b01e0", "score": "0.67938954", "text": "public boolean checkUsername(String username) {\n db = dbHelper.getReadableDatabase();\n\n String selection = dbHelper.COLUMN_USER_NAME + \"=?\";\n\n String arg[] = new String[] { username };\n\n Cursor cursor = db.query(dbHelper.TABLE_USER, null, selection, arg, null, null, null);\n\n if(cursor != null) {\n if(cursor.getCount() > 0) {\n db.close();\n return true;\n }\n }\n\n db.close();\n return false;\n }", "title": "" }, { "docid": "7e846788479efd29bd234b4a02aa1880", "score": "0.67897815", "text": "boolean isValid(String username);", "title": "" }, { "docid": "927eedaf3cd2944335576fff62faf626", "score": "0.6777728", "text": "protected void checkUsername() {\n \n\t\t/*\n\t\t * Check prefs\n\t\t */\n\t\tSharedPreferences sp = PreferenceManager\n\t\t\t\t.getDefaultSharedPreferences(this);\n\n\t\tString nombreUsuarioWeb = sp.getString(\"pref_ldc_nombre_usuario_web\",\n\t\t\t\t\"\").trim();\n\n\t\tLog.d(\"EnviarMensajeWebActivity\", \"pref_ldc_nombre_usuario_web: '\"\n\t\t\t\t+ nombreUsuarioWeb + \"'\");\n\n \t\tif (!UtilesMensajesWeb.usernameIsValid(UtilesMensajesWeb\n \t\t\t\t.getUsername(this)))\n \t\t\tstartActivityForResult(\n \t\t\t\t\tUtilesIntents.getRegistrarUsuarioActivityIntent(this),\n \t\t\t\t\tACTIVITY_REQUEST_CODE__ENTER_USERNAME);\n \n \t}", "title": "" }, { "docid": "56225a55cf914124d2c6467105ab9d41", "score": "0.6776423", "text": "@Override\r\n\tpublic boolean checkUsername(HttpServletRequest request) {\n\t\tString username = request.getParameter(\"username\");\r\n\t\tif(username == \"null\" || username == \"\"){\r\n\t\t\treturn false;\r\n\t\t}else{\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "282de27148a6138d28eef328d8163504", "score": "0.67590725", "text": "protected boolean usernameValidation(String name) {\r\n return (name != null && !name.contains(\"/\") && !name.equalsIgnoreCase(\"global\"));\r\n }", "title": "" }, { "docid": "4eab0701c0f1a3592202ff96116c3a9c", "score": "0.6758771", "text": "public boolean isRegister(String username) {\n\t\tString hql = \" from TUser where username = ?\";\r\n\t\tObject[] obArray = {username};\r\n\t\tTUser user = bDao.get(hql, obArray);\r\n\t\tif(user==null){\r\n\t\t\treturn false;\r\n\t\t}else{\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7393ce340dcb01f0764428597fccf525", "score": "0.6757122", "text": "@CrossOrigin\n @GetMapping(\"/api/usernameAvailability/{username}\")\n public boolean findUsernameAvailability(@PathVariable(\"username\") String username) {\n return petFinderDao.findUsernameAvailability(username);\n }", "title": "" }, { "docid": "8a7c4418f69c8174c3f52440a7140bf2", "score": "0.6745099", "text": "private boolean usernameExists (String username) {\n\t\tboolean result = false;\n\t\ttry {\n\t\t\tresult = contractorService.existsUsername(username);\n\t\t} catch (BusinessException e) {\n\t\t\tString error = \"An error occurred checking if an username exists. \" + e.getMessage();\n\t\t\tlogger.error (error);\n\t\t}\n\t\treturn result;\n\t}", "title": "" } ]
b76657f202989fa064b749736c3a7dfd
Add the object to the list of BO3's to be spawned for this chunk
[ { "docid": "389593cf5186865ea4991dbc097af198", "score": "0.63353896", "text": "private void AddToChunk(CustomObjectCoordinate coordObject, ChunkCoordinate chunkCoordinate, Map<ChunkCoordinate, Stack<CustomObjectCoordinate>> objectList)\n {\n \t//OTG.log(LogMarker.INFO, \"AddToChunk X\" + chunkCoordinate.getChunkX() + \" Z\" + chunkCoordinate.getChunkZ());\n\n // Get the set of structures to spawn that is currently being stored\n // for the target chunk or create a new one if none exists\n Stack<CustomObjectCoordinate> objectsInChunk = objectList.get(chunkCoordinate);\n if (objectsInChunk == null)\n {\n objectsInChunk = new Stack<CustomObjectCoordinate>();\n }\n \t// Add the structure to the set\n \tobjectsInChunk.add(coordObject);\n objectList.put(chunkCoordinate, objectsInChunk);\n }", "title": "" } ]
[ { "docid": "539216df4458be22e8fdf21bd8d50813", "score": "0.6833683", "text": "private void addToSpawnList(CustomObjectCoordinate coordObject, CustomObject parent)\n {\n ChunkCoordinate chunkCoordinate = coordObject.getPopulatingChunk();\n if(chunkCoordinate != null)\n {\n\t Set<CustomObjectCoordinate> objectsInChunk = objectsToSpawn.get(chunkCoordinate);\n\t if (objectsInChunk == null)\n\t {\n\t objectsInChunk = new LinkedHashSet<CustomObjectCoordinate>();\n\t objectsToSpawn.put(chunkCoordinate, objectsInChunk);\n\t }\n\t objectsInChunk.add(coordObject);\n } else {\n \t\tif(OTG.getPluginConfig().SpawnLog)\n \t\t{\n\t \t\tOTG.log(LogMarker.WARN, \"Error reading branch in BO3 \" + parent.getName() + \" Could not find BO3: \" + coordObject.BO3Name);\n \t\t}\n }\n }", "title": "" }, { "docid": "f8b6567b93488fadd8a464f2b3c3f032", "score": "0.6594781", "text": "@Override\n public void addGameObject(GameObject obj) {\n \n }", "title": "" }, { "docid": "830463fd9e3f09bcb3743c60b6e61563", "score": "0.65742254", "text": "public void addObject(GameObject o) {\r\n // gameObjects.put(o.getId(), o);\r\n addables.addLast(o);\r\n }", "title": "" }, { "docid": "b954978fadf05b8c51e614942f76c6f6", "score": "0.6500031", "text": "public void addObject(GameObject obj) {\n gameObjects.add(obj);\n platform.getChildren().add(obj);\n }", "title": "" }, { "docid": "2e82438ea0109f5fb47b9a8c851eabda", "score": "0.64660394", "text": "public void addObject(Objects object) {\r\n\t\tglobalObjects.add(object); // i thi\r\n\t}", "title": "" }, { "docid": "67d91b23e1a6d56295f543234d5299b6", "score": "0.6440299", "text": "public void addObject(GameObject obj);", "title": "" }, { "docid": "22769df85afd0f5ace6a812cf8c417af", "score": "0.6417674", "text": "public void addObject(GameObject obj) {\r\n objects.add(obj);\r\n depthTree.add(obj);\r\n floor.getTile(obj.getPosn()).getObjects().add(obj);\r\n }", "title": "" }, { "docid": "04b5e66d68de873c7a197455a4590d19", "score": "0.63406813", "text": "public void add(GameObject gameObject) {\r\n }", "title": "" }, { "docid": "0f353fb84847b2a3909e2083ec5fd51f", "score": "0.63206667", "text": "public void addObject(BObject object) {\n if (object instanceof BLaser) {\n lasers.add((BLaser) object);\n\n } else if (object instanceof BBall) {\n balls.add((BBall) object);\n\n } else if (object instanceof BBoss) {\n boss = (BBoss) object;\n\n } else if (object instanceof BBlock) {\n blocks.add((BBlock) object);\n\n } else if (object instanceof BPaddle) {\n paddle = (BPaddle) object;\n // Ich glaube nicht dass es einen usecase gibt wo man absichtlich das paddle\n // durch ein neues ersetzt, deshalb die Warnung.\n System.out.println(\"Warning on addObject: paddle has just been replaced.\");\n } else if (object instanceof BText) {\n texts.add((BText) object);\n }\n }", "title": "" }, { "docid": "cb041e4b7c041c38b8cd7c684b0efde8", "score": "0.6252192", "text": "protected void addGameObject(GameObject obj) {\n mGameObjects.add(obj);\n }", "title": "" }, { "docid": "baa3ac25a51f0df9f676292e4bbcb272", "score": "0.6234264", "text": "public void addObjectNow(GameObject o) {\r\n gameObjects.put(o.getId(), o);\r\n }", "title": "" }, { "docid": "a5956e948cdeca416a4d8f3dea999c09", "score": "0.6225827", "text": "void AddGameObjects() {\n int standardYpos = 700;\n int blockCount = 240;\n int xPos = 0;\n int offset = 800;\n for (int i = 0; i < blockCount; i++) {\n Transform trans = new Transform(new Vector2(xPos, standardYpos - MapInfoGenerator.HeightFromXcoord(xPos, offset)), new Vector2(1, 2.6f));\n xPos += 10;\n\n GameObject go = new GameObject(trans);\n Renderer rd = new Renderer(go, R.drawable.sandblock);\n Collider col = new Collider(go);\n TerrainBox tb = new TerrainBox(go);\n go.components.add(rd);\n go.components.add(col);\n go.components.add(tb);\n go.tag = \"ground\";\n AddGameObject(go);\n\n }\n //Player1 tank:\n Transform transTurret = new Transform(new Vector2(100, 50), new Vector2(0.15f, 0.15f));\n GameObject turretObj = new GameObject(transTurret);\n Turret turret = new Turret(turretObj);\n turretObj.components.add(new Renderer(turretObj, R.drawable.tankturretfat));\n turretObj.components.add(turret);\n turretObj.tag = \"turret\";\n //Log.d(\"message\", \"Turret added\");\n\n Transform trans = new Transform(new Vector2(150, 500), new Vector2(0.15f, 0.15f));\n GameObject tankObj = new GameObject(trans);\n Tank tank = new Tank(tankObj, turretObj, \"Player1\");\n AudioController ac = new AudioController(tankObj, GameView.context);\n Collider col = new Collider(tankObj);\n ac.SetSound(R.raw.tankgunsound);\n tankObj.components.add(new Renderer(tankObj, R.drawable.tank));\n tankObj.components.add(col);\n tankObj.components.add(tank);\n tankObj.components.add(ac);\n tankObj.tag = \"Tank\";\n AddGameObject(turretObj);\n AddGameObject(tankObj);\n //Log.d(\"message\", \"Tank added\");\n\n //player2 tank\n Transform transTurret1 = new Transform(new Vector2(1000, 50), new Vector2(0.15f, 0.15f));\n GameObject turretObj1 = new GameObject(transTurret1);\n Turret turret1 = new Turret(turretObj1);\n turretObj1.components.add(new Renderer(turretObj1, R.drawable.tankturretfat));\n turretObj1.components.add(turret1);\n turretObj1.tag = \"turret\";\n //Log.d(\"message\", \"Turret added\");\n\n Transform trans1 = new Transform(new Vector2(1000, 500), new Vector2(0.15f, 0.15f));\n GameObject tankObj1 = new GameObject(trans1);\n Tank tank1 = new Tank(tankObj1, turretObj1, \"Player2\");\n AudioController ac1 = new AudioController(tankObj1, GameView.context);\n Collider col1 = new Collider(tankObj1);\n ac1.SetSound(R.raw.tankgunsound);\n tankObj.components.add(new Renderer(tankObj1, R.drawable.tank));\n tankObj.components.add(col1);\n tankObj.components.add(tank1);\n tankObj.components.add(ac1);\n tankObj.tag = \"Tank\";\n AddGameObject(turretObj);\n AddGameObject(tankObj);\n\n //buttons\n GameObject btnright = new GameObject(new Transform(new Vector2(300,100),1));\n btnright.components.add(new Renderer(btnright,R.drawable.rightarrow));\n btnright.components.add(new GameButton(btnright,\"right\"));\n gameObjects.add(btnright);\n\n GameObject btnleft = new GameObject(new Transform(new Vector2(100,100),1));\n btnleft.components.add(new Renderer(btnleft,R.drawable.leftarrow));\n btnleft.components.add(new GameButton(btnleft,\"left\"));\n gameObjects.add(btnleft);\n\n //collider tests\n /* GameObject btnleft = new GameObject(new Transform(new Vector2(100, 100), 1));\n btnleft.components.add(new Renderer(btnleft, R.drawable.leftarrow));\n btnleft.components.add(new GameButton(btnleft, \"left\"));\n btnleft.components.add(new Collider(btnleft));\n gameObjects.add(btnleft);\n\n\n GameObject btnleft2 = new GameObject(new Transform(new Vector2(100, 100), 1));\n btnleft2.components.add(new Renderer(btnleft2, R.drawable.leftarrow));\n btnleft2.components.add(new GameButton(btnleft2, \"left\"));\n btnleft2.components.add(new Collider(btnleft2));\n gameObjects.add(btnleft2);*/\n\n }", "title": "" }, { "docid": "56749a8a00ed3840e726c64310ab11a8", "score": "0.6150136", "text": "public void placeObject(Objects o) {\r\n\t\tArrayList<Objects> toremove = new ArrayList<Objects>();\r\n\t\tfor (Objects s : globalObjects) {\r\n\t\t\tif (s.getObjectX() == o.getObjectX() && s.getObjectY() == o.getObjectY()) {\r\n\t\t\t\ttoremove.add(s);\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor (Objects s : toremove) {\r\n\t\t\tif (globalObjects.contains(s)) {\r\n\t\t\t\tglobalObjects.remove(s);\r\n\t\t\t}\r\n\t\t}\r\n\t\tglobalObjects.add(o);\r\n\t\tfor (Player player : World.PLAYERS) {\r\n\t\t\tif (player == null) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tif (player.heightLevel == o.getObjectHeight() && o.objectTicks == 0) {\r\n\t\t\t\tif (player.distanceToPoint(o.getObjectX(), o.getObjectY()) <= 60) {\r\n\t\t\t\t\tplayer.getPA().object(o.getObjectId(), o.getObjectX(), o.getObjectY(), o.getObjectFace(), o.getObjectType());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "dbc25829b243858c484a9257b0b5bef1", "score": "0.61209697", "text": "public void add(BaseObject object) {\n \t\n mPendingAdditions.add(object);\n \n /* XXX Droid Code © 2012 FrostBlade LLC - Start */\n// final int count = mObjects.getCount();\n// final Object[] objectArray = mObjects.getArray();\n// for (int i = 0; i < count; i++) {\n// \tTexture temp = findByClass(Texture.class);\n// \tif (temp != null) {\n// \tDebugLog.d(\"ObjectManager\", \"add() Texture name = \" + \n// \t\t\ttemp.name);\n// \t}\n// }\n /* XXX Droid Code © 2012 FrostBlade LLC - Finish */\n \n// DebugLog.d(\"ObjectManager\", \"add() mObjects, mPendingAdditions, mPendingRemovals: \" + \n// \t\tmObjects.getCount() + \", \" + mPendingAdditions.getCount() + \", \" + mPendingRemovals.getCount());\n }", "title": "" }, { "docid": "ca7b9a69d811c656294a87f5330275cc", "score": "0.6119498", "text": "public void add(Aircraft obj){\n\t\tlockBuffer();\n\t\tbuffer.add(obj);\n\t\tunlockBuffer();\n\t}", "title": "" }, { "docid": "2ba58c7a75da9c80c9e0d9573c842506", "score": "0.6034431", "text": "@Override\n\tpublic void add(Object obj) {\n\t\tGadget gadget = (Gadget)obj;\n\t\tgadgetPile.add(gadget);\n\t}", "title": "" }, { "docid": "dd0a326d1bbd5c3276ade3276a830b16", "score": "0.5969029", "text": "protected void loadObjects()\r\n {\n String contents = \"Welcome to The Old House. You are trapped here, for our amusement. Collect the three Golden Keys to find your way out. Good luck. Or not.\";\r\n NoteObject noteSupplyRoom = new NoteObject(instance, \"old note\", contents, \"There is an old note lying on the floor.\");\r\n BucketObject bucket = new BucketObject(instance, \"bucket\", \"In the corner, there is an empty bucket slowly being filled with water from the ceiling.\");\r\n BookObject bookSupplyRoom = new BookObject(instance, \"book\", \"On a shelf lies a book suspiciously out of place.\");\r\n\r\n //Adding the object to the scene\r\n this.addObject(noteSupplyRoom);\r\n this.addObject(bucket);\r\n this.addObject(bookSupplyRoom);\r\n }", "title": "" }, { "docid": "35655afa0d621066a6fa9c12a25d942c", "score": "0.5956539", "text": "public void addChild(GraphicsObject object) {\n\t\tchildren.add(object);\n\t}", "title": "" }, { "docid": "fda9287e27407b99d19877d3cd953049", "score": "0.59456646", "text": "public <T extends GameObject> T create(T obj) {\n objectBuffer.add(obj);\n if (obj instanceof CollGameObject) {\n collidablesBuffer.add((Collidable) obj);\n }\n if(obj.getRenderer() == null){\n System.out.println(obj);\n throw new NullPointerException(\"oh god oh fuck its null wtf pls no\");\n }\n renderEngine.addRenderer(obj.getRenderer());\n return obj;\n }", "title": "" }, { "docid": "f6ef67d586baf50e21c85d2892bf5620", "score": "0.59408295", "text": "void addObject(IBoardElement object);", "title": "" }, { "docid": "12a1625c9310ab239f31e41c92ae4bef", "score": "0.59051746", "text": "private void createObjects() {\n player = new Player(this);\n addGameObject(player, 100, 100);\n //Swordfish sf=new Swordfish(this);\n //addGameObject(sf,200,200);\n }", "title": "" }, { "docid": "6a3538afa893f034de1c133559b44450", "score": "0.5837166", "text": "public void addObject(Object object)\r\n\t{\r\n\t\tobjContents.add(object);\r\n\t}", "title": "" }, { "docid": "a45cfebfa58c4848d0f94241e0bf0605", "score": "0.57973576", "text": "public void addGameObject(GameObject gameObject) {\n\t\tobjectsToAdd.add(gameObject);\n\t}", "title": "" }, { "docid": "90366cdda492b532c202efef9f662110", "score": "0.57918364", "text": "public void add_random_object() {\n\t\tadd_object(randomGen.nextDouble(RandomUse.USE.UNIV) * (max_x - min_x) + min_x, randomGen.nextDouble(RandomUse.USE.UNIV) * (max_y - min_y) + min_y, randomGen.nextDouble(RandomUse.USE.UNIV) * 360, randomGen.nextDouble(RandomUse.USE.UNIV) * 0.6 + 0.4);\n\t}", "title": "" }, { "docid": "deb9fe0aeff01dd8b957626bb347b468", "score": "0.5755538", "text": "public native static void addBackpackCargo(GameObject oper1, java.util.List oper2);", "title": "" }, { "docid": "87f2d716c07adcd43910b17c56fe32eb", "score": "0.5740761", "text": "public boolean SpawnForChunk(ChunkCoordinate chunkCoordinate)\n {\n \t//OTG.log(LogMarker.INFO, \"SpawnForChunk X\" + chunkCoordinate.getChunkX() + \" Z\" + chunkCoordinate.getChunkZ() + \" \" + Start.BO3Name);\n\n // If this structure is not allowed to spawn because a structure\n // of the same type (this.Start BO3 filename) has already been\n // spawned nearby.\n \tif(Start == null)\n \t{\n\t\t\tthrow new RuntimeException();\n \t}\n \tif ((!ObjectsToSpawn.containsKey(chunkCoordinate) && !SmoothingAreasToSpawn.containsKey(chunkCoordinate)))\n {\n return true;\n }\n\n \tsaveRequired = true;\n\n \tDoStartChunkBlockChecks();\n\n // Get all BO3's that should spawn in the given chunk, if any\n // Note: The given chunk may not necessarily be the chunkCoordinate of this.Start\n Stack<CustomObjectCoordinate> objectsInChunk = ObjectsToSpawn.get(chunkCoordinate);\n if (objectsInChunk != null)\n {\n \tBO3Config config = ((BO3)Start.getObject()).getSettings();\n LocalBiome biome = null;\n BiomeConfig biomeConfig = null;\n if(config.SpawnUnderWater)\n \t{\n \tbiome = World.getBiome(Start.getX() + 8, Start.getZ() + 7);\n \tbiomeConfig = biome.getBiomeConfig();\n \tif(biomeConfig == null)\n \t{\n \t\tthrow new RuntimeException();\n \t}\n \t}\n\n BO3.originalTopBlocks.clear(); // TODO: Lol ugly hack fix!\n\n // Do ReplaceAbove / ReplaceBelow\n for (CustomObjectCoordinate coordObject : objectsInChunk)\n {\n if (coordObject.isSpawned)\n {\n continue;\n }\n\n BO3 bo3 = ((BO3)coordObject.getObject());\n if(bo3 == null)\n {\n \tthrow new RuntimeException();\n }\n\n BO3Config objectConfig = bo3.getSettings();\n\n if (!coordObject.spawnWithChecks(chunkCoordinate, World, Random, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceAbove : objectConfig.replaceAbove, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceBelow : objectConfig.replaceBelow, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceWithBiomeBlocks : objectConfig.replaceWithBiomeBlocks, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceWithSurfaceBlock : objectConfig.replaceWithSurfaceBlock, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceWithGroundBlock : objectConfig.replaceWithGroundBlock, config.SpawnUnderWater, !config.SpawnUnderWater ? -1 : (biomeConfig.useWorldWaterLevel ? World.getConfigs().getWorldConfig().waterLevelMax : biomeConfig.waterLevelMax), false, true))\n {\n \tOTG.log(LogMarker.FATAL, \"Could not spawn chunk \" + coordObject.BO3Name + \" for structure \" + Start.getObject().getName());\n \tthrow new RuntimeException();\n }\n }\n\n // Spawn smooth areas in this chunk if any exist\n // If SpawnSmoothAreas returns false then spawning has\n // been delayed and should be tried again later.\n \tif(!SpawnSmoothAreas(chunkCoordinate)) { return false; }\n\n for (CustomObjectCoordinate coordObject : objectsInChunk)\n {\n if (coordObject.isSpawned)\n {\n continue;\n }\n\n BO3 bo3 = ((BO3)coordObject.getObject());\n if(bo3 == null)\n {\n \tthrow new RuntimeException();\n }\n\n BO3Config objectConfig = bo3.getSettings();\n\n if (!coordObject.spawnWithChecks(chunkCoordinate, World, Random, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceAbove : objectConfig.replaceAbove, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceBelow : objectConfig.replaceBelow, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceWithBiomeBlocks : objectConfig.replaceWithBiomeBlocks, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceWithSurfaceBlock : objectConfig.replaceWithSurfaceBlock, config.overrideChildSettings && objectConfig.overrideChildSettings ? config.replaceWithGroundBlock : objectConfig.replaceWithGroundBlock, config.SpawnUnderWater, !config.SpawnUnderWater ? -1 : (biomeConfig.useWorldWaterLevel ? World.getConfigs().getWorldConfig().waterLevelMax : biomeConfig.waterLevelMax), false, false))\n //if(1 == 0)\n {\n \tOTG.log(LogMarker.FATAL, \"Could not spawn chunk \" + coordObject.BO3Name + \" for structure \" + Start.getObject().getName());\n \tthrow new RuntimeException();\n } else {\n\n \tModDataFunction[] blockDataInObject = objectConfig.getModData();\n \tfor(int i = 0; i < blockDataInObject.length; i++)\n \t{\n \t\tModDataFunction newModData = new ModDataFunction();\n \tif(coordObject.getRotation() != Rotation.NORTH)\n \t{\n \tint rotations = 0;\n \t// How many counter-clockwise rotations have to be applied?\n \t\tif(coordObject.getRotation() == Rotation.WEST)\n \t\t{\n \t\t\trotations = 1;\n \t\t}\n \t\telse if(coordObject.getRotation() == Rotation.SOUTH)\n \t\t{\n \t\t\trotations = 2;\n \t\t}\n \t\telse if(coordObject.getRotation() == Rotation.EAST)\n \t\t{\n \t\t\trotations = 3;\n \t\t}\n\n // Apply rotation\n \tif(rotations == 0)\n \t{\n \t\tnewModData.x = blockDataInObject[i].x;\n \t\tnewModData.z = blockDataInObject[i].z;\n \t}\n \tif(rotations == 1)\n \t{\n \t\tnewModData.x = blockDataInObject[i].z;\n \t\tnewModData.z = -blockDataInObject[i].x + 15;\n \t}\n \tif(rotations == 2)\n \t{\n \t\tnewModData.x = -blockDataInObject[i].x + 15;\n \t\tnewModData.z = -blockDataInObject[i].z + 15;\n \t}\n \tif(rotations == 3)\n \t{\n \t\tnewModData.x = -blockDataInObject[i].z + 15;\n \t\tnewModData.z = blockDataInObject[i].x;\n \t}\n \tnewModData.y = coordObject.getY() + blockDataInObject[i].y;\n\n \tnewModData.x = coordObject.getX() + newModData.x;\n \tnewModData.z = coordObject.getZ() + newModData.z;\n\n \tnewModData.modData = blockDataInObject[i].modData;\n \tnewModData.modId = blockDataInObject[i].modId;\n\n \t\tmodData.add(newModData);\n\n \t\tif(!ChunkCoordinate.fromBlockCoords(newModData.x, newModData.z).equals(chunkCoordinate))\n \t\t{\n \t\t\tthrow new RuntimeException();\n \t\t}\n \t} else {\n\n \tnewModData.y = coordObject.getY() + blockDataInObject[i].y;\n\n \tnewModData.x = coordObject.getX() + blockDataInObject[i].x;\n \tnewModData.z = coordObject.getZ() + blockDataInObject[i].z;\n\n \tnewModData.modData = blockDataInObject[i].modData;\n \tnewModData.modId = blockDataInObject[i].modId;\n\n \t\tmodData.add(newModData);\n\n \t\tif(!ChunkCoordinate.fromBlockCoords(newModData.x, newModData.z).equals(chunkCoordinate))\n \t\t{\n \t\t\tthrow new RuntimeException();\n \t\t}\n \t}\n \t}\n\n \tSpawnerFunction[] spawnerDataInObject = objectConfig.getSpawnerData();\n \tfor(int i = 0; i < spawnerDataInObject.length; i++)\n \t{\n \t\tSpawnerFunction newSpawnerData = new SpawnerFunction();\n \tif(coordObject.getRotation() != Rotation.NORTH)\n \t{\n \tint rotations = 0;\n \t// How many counter-clockwise rotations have to be applied?\n \t\tif(coordObject.getRotation() == Rotation.WEST)\n \t\t{\n \t\t\trotations = 1;\n \t\t}\n \t\telse if(coordObject.getRotation() == Rotation.SOUTH)\n \t\t{\n \t\t\trotations = 2;\n \t\t}\n \t\telse if(coordObject.getRotation() == Rotation.EAST)\n \t\t{\n \t\t\trotations = 3;\n \t\t}\n\n // Apply rotation\n \tif(rotations == 0)\n \t{\n \t\tnewSpawnerData.x = spawnerDataInObject[i].x;\n \t\tnewSpawnerData.velocityX = spawnerDataInObject[i].velocityX;\n \t\tnewSpawnerData.z = spawnerDataInObject[i].z;\n \t\tnewSpawnerData.velocityZ = spawnerDataInObject[i].velocityZ;\n \t\tnewSpawnerData.velocityXSet = spawnerDataInObject[i].velocityXSet;\n \t\tnewSpawnerData.velocityZSet = spawnerDataInObject[i].velocityZSet;\n \t}\n \tif(rotations == 1)\n \t{\n \t\tnewSpawnerData.x = spawnerDataInObject[i].z;\n \t\tnewSpawnerData.velocityX = spawnerDataInObject[i].velocityZ;\n \t\tnewSpawnerData.z = -spawnerDataInObject[i].x + 15;\n \t\tnewSpawnerData.velocityZ = -spawnerDataInObject[i].velocityX;\n \t\tnewSpawnerData.velocityXSet = spawnerDataInObject[i].velocityZSet;\n \t\tnewSpawnerData.velocityZSet = spawnerDataInObject[i].velocityXSet;\n \t}\n \tif(rotations == 2)\n \t{\n \t\tnewSpawnerData.x = -spawnerDataInObject[i].x + 15;\n \t\tnewSpawnerData.velocityX = -spawnerDataInObject[i].velocityX;\n \t\tnewSpawnerData.z = -spawnerDataInObject[i].z + 15;\n \t\tnewSpawnerData.velocityZ = -spawnerDataInObject[i].velocityZ;\n \t\tnewSpawnerData.velocityXSet = spawnerDataInObject[i].velocityXSet;\n \t\tnewSpawnerData.velocityZSet = spawnerDataInObject[i].velocityZSet;\n \t}\n \tif(rotations == 3)\n \t{\n \t\tnewSpawnerData.x = -spawnerDataInObject[i].z + 15;\n \t\tnewSpawnerData.velocityX = -spawnerDataInObject[i].velocityZ;\n \t\tnewSpawnerData.z = spawnerDataInObject[i].x;\n \t\tnewSpawnerData.velocityZ = spawnerDataInObject[i].velocityX;\n \t\tnewSpawnerData.velocityXSet = spawnerDataInObject[i].velocityZSet;\n \t\tnewSpawnerData.velocityZSet = spawnerDataInObject[i].velocityXSet;\n \t}\n \tnewSpawnerData.y = coordObject.getY() + spawnerDataInObject[i].y;\n\n \tnewSpawnerData.x = coordObject.getX() + newSpawnerData.x;\n \tnewSpawnerData.z = coordObject.getZ() + newSpawnerData.z;\n\n \tnewSpawnerData.mobName = spawnerDataInObject[i].mobName;\n \tnewSpawnerData.originalnbtFileName = spawnerDataInObject[i].originalnbtFileName;\n \tnewSpawnerData.nbtFileName = spawnerDataInObject[i].nbtFileName;\n \tnewSpawnerData.groupSize = spawnerDataInObject[i].groupSize;\n \tnewSpawnerData.interval = spawnerDataInObject[i].interval;\n \tnewSpawnerData.spawnChance = spawnerDataInObject[i].spawnChance;\n \tnewSpawnerData.maxCount= spawnerDataInObject[i].maxCount;\n\n \tnewSpawnerData.despawnTime = spawnerDataInObject[i].despawnTime;\n\n \tnewSpawnerData.velocityY = spawnerDataInObject[i].velocityY;\n \tnewSpawnerData.velocityYSet = spawnerDataInObject[i].velocityYSet;\n\n \tnewSpawnerData.yaw = spawnerDataInObject[i].yaw;\n \tnewSpawnerData.pitch = spawnerDataInObject[i].pitch;\n\n \t\tspawnerData.add(newSpawnerData);\n\n \t\tif(!ChunkCoordinate.fromBlockCoords(newSpawnerData.x, newSpawnerData.z).equals(chunkCoordinate))\n \t\t{\n \t\t\tthrow new RuntimeException();\n \t\t}\n \t} else {\n\n \tnewSpawnerData.y = coordObject.getY() + spawnerDataInObject[i].y;\n\n \tnewSpawnerData.x = coordObject.getX() + spawnerDataInObject[i].x;\n \tnewSpawnerData.z = coordObject.getZ() + spawnerDataInObject[i].z;\n\n \tnewSpawnerData.mobName = spawnerDataInObject[i].mobName;\n \tnewSpawnerData.originalnbtFileName = spawnerDataInObject[i].originalnbtFileName;\n \tnewSpawnerData.nbtFileName = spawnerDataInObject[i].nbtFileName;\n \tnewSpawnerData.groupSize = spawnerDataInObject[i].groupSize;\n \tnewSpawnerData.interval = spawnerDataInObject[i].interval;\n \tnewSpawnerData.spawnChance = spawnerDataInObject[i].spawnChance;\n \tnewSpawnerData.maxCount= spawnerDataInObject[i].maxCount;\n\n \tnewSpawnerData.despawnTime = spawnerDataInObject[i].despawnTime;\n\n \tnewSpawnerData.velocityX = spawnerDataInObject[i].velocityX;\n \tnewSpawnerData.velocityY = spawnerDataInObject[i].velocityY;\n \tnewSpawnerData.velocityZ = spawnerDataInObject[i].velocityZ;\n\n \tnewSpawnerData.velocityXSet = spawnerDataInObject[i].velocityXSet;\n \tnewSpawnerData.velocityYSet = spawnerDataInObject[i].velocityYSet;\n \tnewSpawnerData.velocityZSet = spawnerDataInObject[i].velocityZSet;\n\n \tnewSpawnerData.yaw = spawnerDataInObject[i].yaw;\n \tnewSpawnerData.pitch = spawnerDataInObject[i].pitch;\n\n \t\tspawnerData.add(newSpawnerData);\n\n \t\tif(!ChunkCoordinate.fromBlockCoords(newSpawnerData.x, newSpawnerData.z).equals(chunkCoordinate))\n \t\t{\n \t\t\tthrow new RuntimeException();\n \t\t}\n \t}\n \t}\n\n \tParticleFunction[] particleDataInObject = objectConfig.getParticleData();\n \tfor(int i = 0; i < particleDataInObject.length; i++)\n \t{\n \t\tParticleFunction newParticleData = new ParticleFunction();\n \tif(coordObject.getRotation() != Rotation.NORTH)\n \t{\n \tint rotations = 0;\n \t// How many counter-clockwise rotations have to be applied?\n \t\tif(coordObject.getRotation() == Rotation.WEST)\n \t\t{\n \t\t\trotations = 1;\n \t\t}\n \t\telse if(coordObject.getRotation() == Rotation.SOUTH)\n \t\t{\n \t\t\trotations = 2;\n \t\t}\n \t\telse if(coordObject.getRotation() == Rotation.EAST)\n \t\t{\n \t\t\trotations = 3;\n \t\t}\n\n // Apply rotation\n \tif(rotations == 0)\n \t{\n \t\tnewParticleData.x = particleDataInObject[i].x;\n \t\tnewParticleData.velocityX = particleDataInObject[i].velocityX;\n \t\tnewParticleData.z = particleDataInObject[i].z;\n \t\tnewParticleData.velocityZ = particleDataInObject[i].velocityZ;\n \t\tnewParticleData.velocityXSet = particleDataInObject[i].velocityXSet;\n \t\tnewParticleData.velocityZSet = particleDataInObject[i].velocityZSet;\n \t}\n \tif(rotations == 1)\n \t{\n \t\tnewParticleData.x = particleDataInObject[i].z;\n \t\tnewParticleData.velocityX = particleDataInObject[i].velocityZ;\n \t\tnewParticleData.z = -particleDataInObject[i].x + 15;\n \t\tnewParticleData.velocityZ = -particleDataInObject[i].velocityX;\n \t\tnewParticleData.velocityXSet = particleDataInObject[i].velocityZSet;\n \t\tnewParticleData.velocityZSet = particleDataInObject[i].velocityXSet;\n \t}\n \tif(rotations == 2)\n \t{\n \t\tnewParticleData.x = -particleDataInObject[i].x + 15;\n \t\tnewParticleData.velocityX = -particleDataInObject[i].velocityX;\n \t\tnewParticleData.z = -particleDataInObject[i].z + 15;\n \t\tnewParticleData.velocityZ = -particleDataInObject[i].velocityZ;\n \t\tnewParticleData.velocityXSet = particleDataInObject[i].velocityXSet;\n \t\tnewParticleData.velocityZSet = particleDataInObject[i].velocityZSet;\n \t}\n \tif(rotations == 3)\n \t{\n \t\tnewParticleData.x = -particleDataInObject[i].z + 15;\n \t\tnewParticleData.velocityX = -particleDataInObject[i].velocityZ;\n \t\tnewParticleData.z = particleDataInObject[i].x;\n \t\tnewParticleData.velocityZ = particleDataInObject[i].velocityX;\n \t\tnewParticleData.velocityXSet = particleDataInObject[i].velocityZSet;\n \t\tnewParticleData.velocityZSet = particleDataInObject[i].velocityXSet;\n \t}\n \tnewParticleData.y = coordObject.getY() + particleDataInObject[i].y;\n\n \tnewParticleData.x = coordObject.getX() + newParticleData.x;\n \tnewParticleData.z = coordObject.getZ() + newParticleData.z;\n\n \tnewParticleData.particleName = particleDataInObject[i].particleName;\n\n \tnewParticleData.interval = particleDataInObject[i].interval;\n\n \tnewParticleData.velocityY = particleDataInObject[i].velocityY;\n \tnewParticleData.velocityYSet = particleDataInObject[i].velocityYSet;\n\n \tparticleData.add(newParticleData);\n\n \t\tif(!ChunkCoordinate.fromBlockCoords(newParticleData.x, newParticleData.z).equals(chunkCoordinate))\n \t\t{\n \t\t\tthrow new RuntimeException();\n \t\t}\n \t} else {\n\n \t\tnewParticleData.y = coordObject.getY() + particleDataInObject[i].y;\n\n \t\tnewParticleData.x = coordObject.getX() + particleDataInObject[i].x;\n \t\tnewParticleData.z = coordObject.getZ() + particleDataInObject[i].z;\n\n \t\tnewParticleData.particleName = particleDataInObject[i].particleName;\n\n \t\tnewParticleData.interval = particleDataInObject[i].interval;\n\n \t\tnewParticleData.velocityX = particleDataInObject[i].velocityX;\n \t\tnewParticleData.velocityY = particleDataInObject[i].velocityY;\n \tnewParticleData.velocityZ = particleDataInObject[i].velocityZ;\n\n \tnewParticleData.velocityXSet = particleDataInObject[i].velocityXSet;\n \tnewParticleData.velocityYSet = particleDataInObject[i].velocityYSet;\n \tnewParticleData.velocityZSet = particleDataInObject[i].velocityZSet;\n\n \t\tparticleData.add(newParticleData);\n\n \t\tif(!ChunkCoordinate.fromBlockCoords(newParticleData.x, newParticleData.z).equals(chunkCoordinate))\n \t\t{\n \t\t\tthrow new RuntimeException();\n \t\t}\n \t}\n \t}\n\n \tEntityFunction[] entityDataInObject = objectConfig.getEntityData();\n \tfor(int i = 0; i < entityDataInObject.length; i++)\n \t{\n \t\tEntityFunction newEntityData = new EntityFunction();\n\n \tif(coordObject.getRotation() != Rotation.NORTH)\n \t{\n \tint rotations = 0;\n \t// How many counter-clockwise rotations have to be applied?\n \t\tif(coordObject.getRotation() == Rotation.WEST)\n \t\t{\n \t\t\trotations = 1;\n \t\t}\n \t\telse if(coordObject.getRotation() == Rotation.SOUTH)\n \t\t{\n \t\t\trotations = 2;\n \t\t}\n \t\telse if(coordObject.getRotation() == Rotation.EAST)\n \t\t{\n \t\t\trotations = 3;\n \t\t}\n\n // Apply rotation\n \tif(rotations == 0)\n \t{\n \t\tnewEntityData.x = entityDataInObject[i].x;\n \t\tnewEntityData.z = entityDataInObject[i].z;\n \t}\n \tif(rotations == 1)\n \t{\n \t\tnewEntityData.x = entityDataInObject[i].z;\n \t\tnewEntityData.z = -entityDataInObject[i].x + 15;\n \t}\n \tif(rotations == 2)\n \t{\n \t\tnewEntityData.x = -entityDataInObject[i].x + 15;\n \t\tnewEntityData.z = -entityDataInObject[i].z + 15;\n \t}\n \tif(rotations == 3)\n \t{\n \t\tnewEntityData.x = -entityDataInObject[i].z + 15;\n \t\tnewEntityData.z = entityDataInObject[i].x;\n \t}\n \tnewEntityData.y = coordObject.getY() + entityDataInObject[i].y;\n\n \tnewEntityData.x = coordObject.getX() + newEntityData.x;\n \tnewEntityData.z = coordObject.getZ() + newEntityData.z;\n\n \tnewEntityData.mobName = entityDataInObject[i].mobName;\n \tnewEntityData.groupSize = entityDataInObject[i].groupSize;\n \tnewEntityData.nameTagOrNBTFileName = entityDataInObject[i].nameTagOrNBTFileName;\n\n \t\tWorld.SpawnEntity(newEntityData);\n\n \t\tif(!ChunkCoordinate.fromBlockCoords(newEntityData.x, newEntityData.z).equals(chunkCoordinate))\n \t\t{\n \t\t\tthrow new RuntimeException();\n \t\t}\n \t} else {\n\n \tnewEntityData.y = coordObject.getY() + entityDataInObject[i].y;\n\n \tnewEntityData.x = coordObject.getX() + entityDataInObject[i].x;\n \tnewEntityData.z = coordObject.getZ() + entityDataInObject[i].z;\n\n \tnewEntityData.mobName = entityDataInObject[i].mobName;\n \tnewEntityData.groupSize = entityDataInObject[i].groupSize;\n \tnewEntityData.nameTagOrNBTFileName = entityDataInObject[i].nameTagOrNBTFileName;\n\n \t\tWorld.SpawnEntity(newEntityData);\n\n \t\tif(!ChunkCoordinate.fromBlockCoords(newEntityData.x, newEntityData.z).equals(chunkCoordinate))\n \t\t{\n \t\t\tthrow new RuntimeException();\n \t\t}\n \t}\n \t}\n\n coordObject.isSpawned = true;\n }\n }\n BO3.originalTopBlocks.clear(); // TODO: Lol ugly hack fix!\n } else {\n // Spawn smooth areas in this chunk if any exist\n // If SpawnSmoothAreas returns false then spawning has\n // been delayed and should be tried again later.\n \tif(!SpawnSmoothAreas(chunkCoordinate)) { return false; }\n }\n\n\t\tObjectsToSpawn.remove(chunkCoordinate);\n\t\tSmoothingAreasToSpawn.remove(chunkCoordinate);\n\n return true;\n }", "title": "" }, { "docid": "53e4fcd8af2aee1b523c1d816f0aad9a", "score": "0.57059604", "text": "private void addBranches(CustomObjectCoordinate coordObject, int depth)\n {\n\n \tCustomObject object = coordObject.getObject();\n\n \tif(object != null)\n \t{\n\t for (Branch branch : getBranches(object, coordObject.getRotation()))\n\t {\n\t \t// TODO: Does passing null as startbo3name work?\n\t CustomObjectCoordinate childCoordObject = branch.toCustomObjectCoordinate(World, Random, coordObject.getRotation(), coordObject.getX(), coordObject.getY(), coordObject.getZ(), null);\n\n\t // Don't add null objects\n\t if (childCoordObject == null)\n\t {\n\t continue;\n\t }\n\n\t // Add this object to the chunk\n\t addToSpawnList(childCoordObject, object);\n\n\t // Also add the branches of this object\n\t if (depth < maxBranchDepth)\n\t {\n\t addBranches(childCoordObject, depth + 1);\n\t }\n\t }\n \t}\n }", "title": "" }, { "docid": "4775086ad15c32ea348b026d634d450c", "score": "0.5691946", "text": "public void agregarGameObject(GameObject entidad)\r\n\t{\r\n\t\tif (entidad != null)\r\n\t\t{\r\n\t\t\tthis.gameObjects.add(entidad);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e846fe9da59ec6f562bcb345d21fbe98", "score": "0.5689553", "text": "public void objectAdded() {\n\t\t// System.out.println(\"object \" + lsid.toString() + \" added\");\n\t}", "title": "" }, { "docid": "3ce6030ab6511b66f1b83d92a281bd0d", "score": "0.5683739", "text": "public void init() {\n exists = true;\n getGOM().addGameObject(this);\n }", "title": "" }, { "docid": "0e0ac18e10001c21c4b5bc60a2035043", "score": "0.5679793", "text": "public void addGameObject(GameObject go)\n {\n gameObject.add(go);\n }", "title": "" }, { "docid": "8acfc99aefb8a7421828fa9eda843785", "score": "0.5666442", "text": "void addObstacles() {\n\t\tif (this.platformGen.hasNextComponent()) {\n\t\t\tthis.gamePieces.add(this.platformGen.nextComponent());\n\t\t}\n\t\tif (this.hazardGen.hasNextComponent()) {\n\t\t\tthis.gamePieces.add(this.hazardGen.nextComponent());\n\t\t}\n\t\tif (this.itemGen.hasNextComponent()) {\n\t\t\tthis.gamePieces.add(this.itemGen.nextComponent());\n\t\t}\n\t}", "title": "" }, { "docid": "0dad142453ffeb0b0cbaa9307bf6d809", "score": "0.5658099", "text": "private void addObjectHandler(){\n if(room.objects.size() < maxObjects){\n adding = \"object\";\n String objectNames[] = getObjectNames();\n view.addObjectClick(objectNames);\n }else{\n JOptionPane.showMessageDialog(null, \"Sorry, you cannot add anymore Objects to this Room. A maximum of \" + maxObjects + \" is allowed.\");\n }\n }", "title": "" }, { "docid": "8b90af7d5e7e06167014e107cd5ba216", "score": "0.56426775", "text": "@Override\n\tpublic void addObject(Objects o) {\n\t\t\n\t}", "title": "" }, { "docid": "103dc6a097e850ea906d78b0fd1e1205", "score": "0.5621184", "text": "public void setChild(Object object) {\n this.add(object);\n }", "title": "" }, { "docid": "df0a5389fae22ec9ac5ee156fcf47b63", "score": "0.56135863", "text": "public void add (T object, int level)\n {\n _objects.add(object);\n }", "title": "" }, { "docid": "a804c79d3129f071d0aaa46edc21b2dd", "score": "0.5607499", "text": "@Override\n\tpublic void add(HomeBoardModel object) {\n\t\tmodelsArrayList.add(0, object);\n\n\t}", "title": "" }, { "docid": "38de631866372b3b61e2a3479d7746aa", "score": "0.5593758", "text": "protected void addThing(Thing thing){ \n this.allObjects.add(thing);\n }", "title": "" }, { "docid": "3d6a96e92454a503df46b638cbfc1708", "score": "0.55828965", "text": "public void addGameObject(GameObject gameObject) {\r\n\t\tgameObjects.add(gameObject);\r\n\t}", "title": "" }, { "docid": "74859e21350cd3110a4f95f0ef6a3928", "score": "0.5580444", "text": "public void addObjectToPile(TileObject item) {\r\n\t\t// Sanity check - must have pile\r\n\t\tif (object instanceof Pile) {\r\n\t\t\tPile pile = (Pile) object;\r\n\t\t\tpile.addItem(item);\r\n\t\t\tthis.object = pile;\r\n\t\t} else {\r\n\t\t\tcreatePile();\r\n\t\t\taddObjectToPile(item);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b04d1b0c95cda3fc066b25dffa906ee2", "score": "0.5567052", "text": "public void addRenderable(RenderableObject obj) {\n\t\tif (obj == null)\n\t\t\tthrow new NullPointerException(\"You added a null renderable, you goddamn vegetarian :(\");\n\t\trenderables.add(obj);\n\t\tobj.setDaddy(this);\n\t\t\n\t\t// TODO: if Collections.synchronizedList still fails us\n\t\t//synchronized(renderables) { renderables.add(obj); }\n\t}", "title": "" }, { "docid": "103b57ab10d3a97d5e96b89f798dc837", "score": "0.5549415", "text": "public void add_object(TraceableObject to) {\n\t\tthis.getObjects().add(to);\n\t\tif (USEGLOBAL) {\n\t\t\treg.advertiseGlobally(new TraceableObjectRepresentation(to, to.getFeatures()));\n\t\t} else {\n\t\t\tfor (CameraController cc : this.getCameras()) {\n\t\t\t\tif (!cc.isOffline())\n\t\t\t\t\tcc.getAINode().receiveMessage(new Message(\"\", cc.getName(), MessageType.StartSearch, new TraceableObjectRepresentation(to, to.getFeatures())));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ab25969522ed96ea321e4889a9d3f26c", "score": "0.5545271", "text": "private void spawnMob() {\n pileOfSnakes.add(new Mob(\"mob0\", findSnakeSpawn()));\n }", "title": "" }, { "docid": "e604a986e93157ed2a6b44fb81a01664", "score": "0.55284023", "text": "private void doAddObject(String type)\n {\n \n if (type.equals(\"start\"))\n {\n objectBeingAdded = \"start|Mario\";\n addingOnLayer = \"common\";\n }\n else if (type.equals(\"path\"))\n objectBeingAdded = \"path|lol\";\n else if (type.equals(\"pathpoint\"))\n objectBeingAdded = \"pathpoint|lol\";\n else\n {\n ObjectSelectForm form = new ObjectSelectForm(this, curZoneArc.gameMask, null);\n form.setVisible(true);\n if (form.selectedObject.isEmpty())\n {\n tgbAddObject.setSelected(false);\n return;\n }\n \n objectBeingAdded = type+\"|\"+form.selectedObject;\n addingOnLayer = form.selectedLayer;\n }\n\n lbStatusLabel.setText(\"Click the level view to place your object. Hold Shift to place multiple objects. Right-click to abort.\");\n }", "title": "" }, { "docid": "92de07d3196573e38dd547bdb445bec5", "score": "0.55189246", "text": "private void prepare()\n {\n player player = new player();\n addObject(player,140,109);\n block block = new block();\n addObject(block,139,149);\n spike spike = new spike();\n addObject(spike,169,144);\n for (int i = 1; i < 4; i++)\n {\n addObject(new block(), 169 + i*30, 149);\n }\n spike spike2 = new spike();\n addObject(spike2,289,144);\n spike spike3 = new spike();\n addObject(spike3,320,144);\n boost boost = new boost();\n addObject(boost,350,144);\n for (int i = 1; i < 18; i++)\n {\n addObject(new spike(), 342 + i*30, 200);\n }\n Sand sand = new Sand();\n for (int i = 1; i < 7; i++)\n {\n addObject(new Sand(), 968 - i*90, 360);\n }\n block block5 = new block();\n addObject(block5,322,433);\n Sand sand7 = new Sand();\n addObject(sand7,160,464);\n Sand sand8 = new Sand();\n addObject(sand8,127,464);\n Sand sand9 = new Sand();\n addObject(sand9,127,497);\n Sand sand10 = new Sand();\n addObject(sand10,160,497);\n block block6 = new block();\n addObject(block6,129,596);\n Sand sand11 = new Sand();\n addObject(sand11,194,497);\n Sand sand12 = new Sand();\n addObject(sand12,194,463);\n block block7 = new block();\n addObject(block7,129,667);\n boost boost2 = new boost();\n addObject(boost2,191,668);\n Star star = new Star();\n addObject(star,226,87);\n Star star2 = new Star();\n addObject(star2,546,140);\n Star star3 = new Star();\n addObject(star3,914,145);\n Star star4 = new Star();\n addObject(star4,737,287);\n Star star5 = new Star();\n addObject(star5,479,284);\n Star star6 = new Star();\n addObject(star6,158,380);\n for (int i = 1; i < 7; i++)\n {\n addObject(new Star(), 273 + i*90, 634);\n }\n star2.setLocation(536,123);\n star3.setLocation(921,126);\n Star star13 = new Star();\n addObject(star13,127,631);\n Sand sand13 = new Sand();\n addObject(sand13,954,679);\n Star star14 = new Star();\n addObject(star14,954,583);\n star14.setLocation(951,597);\n }", "title": "" }, { "docid": "8e276547160cafb843d4416d76f1a5c2", "score": "0.5507157", "text": "@Override\r\n\t\t\tpublic void onLoad(Object3D object) {\n\t\t\t\tscene = object.cast();\r\n\t\t\t\t\r\n\t\t\t\tAmbientLight ambientLight=THREE.AmbientLight(0x222222);\r\n\t\t\t\tscene.add(ambientLight);\r\n\t\t\t\t\r\n\t\t\t\tDirectionalLight dlight=THREE.DirectionalLight(0x222222);\r\n\t\t\t\tdlight.getPosition().set(-1, 1, 1).normalize();\r\n\t\t\t\t\r\n\t\t\t\tJsArray<Object3D> objects=scene.getChildren();\r\n\t\t\t\t\r\n\t\t\t\tList<String> needDoubleSides=Lists.newArrayList(\"461\",\"147\",\"454\");\r\n\t\t\t\t\r\n\t\t\t\tfor(int i=0;i<objects.length();i++){\r\n\t\t\t\t\tObject3D obj=objects.get(i);\r\n\t\t\t\t\tString name=obj.getName();\r\n\t\t\t\t\tif(obj.getName().endsWith(\"628\") || obj.getName().endsWith(\"634\") || obj.getName().endsWith(\"622\")|| obj.getName().endsWith(\"640\")\r\n\t\t\t\t\t\t\t|| obj.getName().endsWith(\"527\") //kitchen\r\n\t\t\t\t\t\t\t|| obj.getName().endsWith(\"612\") //bus \r\n\t\t\t\t\t\t\t){\r\n\t\t\t\t\t\tMesh mesh=obj.cast();\r\n\t\t\t\t\t\taddLight(mesh);\r\n\t\t\t\t\t\t//mesh.setVisible(false);\r\n\t\t\t\t\t}else if(endsWith(needDoubleSides,name)){\r\n\t\t\t\t\t\tMesh mesh=obj.cast();\r\n\t\t\t\t\t\tMeshPhongMaterial material=mesh.getMaterial().cast();\r\n\t\t\t\t\t\tmaterial.setSide(THREE.DoubleSide);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tcontrols.getObject().getPosition().set(-226,cameraY,-340);//start At\r\n\t\t\t\tscene.add(controls.getObject());//very important\r\n\t\t\t\t\r\n\t\t\t\t//scene.setFog(THREE.Fog( 0xffffff, 2000, 10000 ));//scene.fog = new THREE.Fog( 0xffffff, 2000, 10000 );\r\n//\r\n\t\t\t\t//mixer = THREE.AnimationMixer( scene );//mixer = new THREE.AnimationMixer( scene );\r\n\r\n\t\t\t\t//mixer.clipAction( sceneAnimationClip ).play();//mixer.addAction( new THREE.AnimationAction( sceneAnimationClip ) );\r\n\r\n\t\t\t}", "title": "" }, { "docid": "23c3167fa0285c977894e807f8f264a0", "score": "0.54978323", "text": "public void addObject(TileObject object) {\n if (object != null) {\n if(object.getClass().equals(IntegratedCircuit.class)) { this.ICAcquired++; }\n else if(object.getClass().equals(Key.class)) { this.keyAcquired++; }\n }\n }", "title": "" }, { "docid": "234b5de16b0f6adc11530747bb84b754", "score": "0.5497595", "text": "public void addRenderableAsync(RenderableObject obj) {\n\t\tif (obj == null)\n\t\t\tthrow new NullPointerException(\"You added a null renderable, you goddamn vegetarian :(\");\n\t\ttoAdd.add(obj);\n\t\tobj.setDaddy(this);\n\t\t\n\t\t// TODO: if Collections.synchronizedList still fails us\n\t\t//synchronized(renderables) { renderables.add(obj); }\n\t}", "title": "" }, { "docid": "5e92adc48a316af713b780984dc123e1", "score": "0.547031", "text": "public native static void synchronizeObjectsAdd(GameObject oper1, java.util.List oper2);", "title": "" }, { "docid": "3a5cb268a1e7f4bf7255d6eb74390b33", "score": "0.546564", "text": "public void add(AgentXVarbind ob)\n {\n myList.add(ob);\n }", "title": "" }, { "docid": "e83c99ea311235a18813608e17febd0b", "score": "0.54646796", "text": "public GameObject spawnBreakableBlock( float positionX, float positionY )\n {\n TextureLibrary textureLibrary = sSystemRegistry.shortTermTextureLibrary;\n\n GameObject object = mGameObjectPool.allocate();\n object.getPosition().set( positionX, positionY );\n object.activationRadius = mTightActivationRadius; //?\n object.width = 32;\n object.height = 32;\n\n FixedSizeArray<BaseObject> staticData = getStaticData( GameObjectType.BREAKABLE_BLOCK );\n if ( staticData == null )\n {\n final int staticObjectCount = 2;\n staticData = new FixedSizeArray<BaseObject>( staticObjectCount );\n\n\n // animations\n FixedSizeArray<CollisionVolume> vulnerabilityVolume = new FixedSizeArray<CollisionVolume>( 1 );\n// !!!! TODO: vulnerability volume should be a bit bigger than object !!!!\n// (unless player's attack volumes are bigger than collision volume)\n// (could also have 2 rectangular volumes perpendicular (to control each side of the square)\n vulnerabilityVolume.add( new AABoxCollisionVolume( -2.0f, -2.0f, object.width + 2.0f, object.height + 2.0f, HitType.HIT ) );\n\n// !!!! ???? TODO: why not using \".ordinal()\" here ? ???? !!!!\n SpriteAnimation idle = new SpriteAnimation( 0, 4 );\n idle.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.block01 ),\n Utils.framesToTime( 24, 3 ),\n null,\n vulnerabilityVolume ) );\n idle.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.block02 ),\n Utils.framesToTime( 24, 1 ),\n null,\n vulnerabilityVolume ) );\n idle.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.block03 ),\n Utils.framesToTime( 24, 3 ),\n null,\n vulnerabilityVolume ) );\n idle.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.block02 ),\n Utils.framesToTime( 24, 3 ),\n null,\n vulnerabilityVolume ) );\n idle.setLoop( true );\n\n\n SolidSurfaceComponent solidSurface = ( SolidSurfaceComponent )allocateComponent( SolidSurfaceComponent.class );\n solidSurface.inititalize( 4 );\n\n // box shape:\n // ___ ___1\n // | | 2| |3\n // --- ---4\n Vector2 surface1Start = new Vector2( 0, object.height );\n Vector2 surface1End = new Vector2( object.width, object.height );\n Vector2 surface1Normal = new Vector2( 0.0f, 1.0f );\n\n Vector2 surface2Start = new Vector2( 0, object.height );\n Vector2 surface2End = new Vector2( 0, 0 );\n Vector2 surface2Normal = new Vector2( -1.0f, 0.0f );\n surface2Normal.normalize();\n\n Vector2 surface3Start = new Vector2( object.width, object.height );\n Vector2 surface3End = new Vector2( object.width, 0 );\n Vector2 surface3Normal = new Vector2( 1.0f, 0 );\n\n Vector2 surface4Start = new Vector2( 0, 0 );\n Vector2 surface4End = new Vector2( object.width, 0 );\n Vector2 surface4Normal = new Vector2( 0, -1.0f );\n surface4Normal.normalize();\n\n solidSurface.addSurface( surface1Start, surface1End, surface1Normal );\n solidSurface.addSurface( surface2Start, surface2End, surface2Normal );\n solidSurface.addSurface( surface3Start, surface3End, surface3Normal );\n solidSurface.addSurface( surface4Start, surface4End, surface4Normal );\n\n\n staticData.add( idle );\n staticData.add( solidSurface );\n\n setStaticData( GameObjectType.BREAKABLE_BLOCK, staticData );\n }\n\n RenderComponent render = ( RenderComponent )allocateComponent( RenderComponent.class );\n render.setPriority( SortConstants.GENERAL_OBJECT );\n\n//useless?\n// BackgroundCollisionComponent bgcollision = ( BackgroundCollisionComponent )allocateComponent( BackgroundCollisionComponent.class );\n// bgcollision.setSize( 32, 32 );\n// bgcollision.setOffset( 0, 0 );\n\n SpriteComponent sprite = ( SpriteComponent )allocateComponent( SpriteComponent.class );\n sprite.setSize( ( int )object.width, ( int )object.height );\n sprite.setRenderComponent( render );\n\n DynamicCollisionComponent collision = ( DynamicCollisionComponent )allocateComponent( DynamicCollisionComponent.class );\n sprite.setCollisionComponent( collision );\n\n HitReactionComponentSingle hitReact = ( HitReactionComponentSingle )allocateComponent( HitReactionComponentSingle.class );\n collision.setHitReactionComponent( hitReact );\n//sounds, spawns, etc. (here or in lifetime component\n// hitReact.setSpawnObjectOnTakeHit(hitType, objectTypeOrdinal, alignToOtherX, alignToOtherY);\n\n LifetimeComponent lifetime = ( LifetimeComponent )allocateComponent( LifetimeComponent.class );\n// lifetime.setDeathSound(deathSound);\n// lifetime.addObjectToSpawnOnDeath( GameObjectType.EXPLOSION_GIANT.ordinal() );\n\n\n object.add( render);\n object.add( sprite);\n//? object.add( bgcollision );\n object.add( collision );\n object.add( hitReact );\n object.add( lifetime );\n\n object.team = Team.NONE;\n//? object.strength = 2;\n\n addStaticData( GameObjectType.BREAKABLE_BLOCK, object, sprite );\n\n object.commitUpdates();\n\n sprite.playAnimation( 0 );\n\n return object;\n }", "title": "" }, { "docid": "21d0158cc9bd364a9bfe05e248fe219b", "score": "0.5462823", "text": "public void objHasBeenPlaced(){\n\t\tif ( getObjectCreationMode() == ObjectCreationMode.MULTIPLE_OBJECTS ){\n\t\t\tsetObjToPlace(MathObject.newInstanceWithType(getObjToPlace().getType()));\n\t\t}\n\t\telse{\n\t\t\tsetObjectCreationMode(ObjectCreationMode.NOT_PLACING_OBJECT);\n\t\t\tsetObjToPlace(null);\n\t\t\tobjectToolbar.updateButton();\n\t\t}\n\n\t}", "title": "" }, { "docid": "5c2fcc0a6a1d04c501eed7c084d57162", "score": "0.5460968", "text": "@Autor(\"Shahin\")\r\n\t@Override\r\n\tpublic void add(HofIdentifiable element) {\r\n\t\tif(element instanceof Bauernhof){\r\n\t\t\tBox newBox = new Box((Bauernhof)element);\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(getFirst() == null){\r\n\t\t\t\t\t\tsetFirst(newBox);\r\n\t\t\t\t\t\tsetLast(getFirst());\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tgetLast().setNext(newBox);\r\n\t\t\t\t\t\tsetLast(newBox);\r\n\t\t\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "bfde2b35786fa06acef400eef42921bb", "score": "0.5458621", "text": "public void tick(LinkedList<GameObject> object) {\n\t}", "title": "" }, { "docid": "23ff96fb1eaeabbecc1698fb4a5ccc7e", "score": "0.5457464", "text": "@Override\r\n public void add(final TOT object) {\r\n super.add(object);\r\n this.sorted = false;\r\n }", "title": "" }, { "docid": "6b7c5ecd13a6024f304493effb6d5c23", "score": "0.5448985", "text": "public native static void attachTo(GameObject oper1, java.util.List oper2);", "title": "" }, { "docid": "5ccaf210694f204e3874be504cf0359b", "score": "0.54481095", "text": "public void gather() {\n\t\tif (gmap.getChunk(getCx(), getCy()) == null)\n\t\t\treturn;\t\t\t// Not set in world yet.\n\t\ticeRaft = false;\t\t// We'll just detect it each time.\n\t\tobjects.setSize(permCount);\t// Start fresh.\n\t\t\t\t\t\t// Get footprint in tiles.\n\t\tRectangle foot = getTileFootprint();\n\t\tint lift = getLift();\t\t// How high we are.\n\t\t\t\t\t\t// Go through intersected chunks.\n\t\tMapChunk.ChunkIntersectIterator iter = \n\t\t\t\t\t\tnew MapChunk.ChunkIntersectIterator(foot);\n\t\tRectangle tiles = new Rectangle();\n\t\tMapChunk chunk;\n\t\twhile ((chunk = iter.getNext(tiles)) != null) {\n\t\t\ttiles.x += chunk.getCx()*EConst.c_tiles_per_chunk;\n\t\t\ttiles.y += chunk.getCy()*EConst.c_tiles_per_chunk;\n\t\t\tGameObject obj;\n\t\t\tObjectList.ObjectIterator next = new ObjectList.ObjectIterator(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchunk.getObjects());\n\t\t\twhile ((obj = next.next()) != null) {\t// Look at each object.\n\t\t\t\tif (obj == this)\n\t\t\t\t\tcontinue;\n\t\t\t\tif (obj.isEgg()) // don't pick up eggs\n\t\t\t\t\tcontinue;\n\t\t\t\tTile t = pos;\n\t\t\t\tobj.getTile(t);\n\t\t\t\tif (!tiles.hasPoint(t.tx, t.ty) ||\n\t\t\t\t\tobj.getOwner() == this)\n\t\t\t\t\tcontinue;\n\t\t\t\tShapeInfo info = obj.getInfo();\n\t\t\t\t\t\t// Above barge, within 5-tiles up?\n\t\t\t\tboolean isbarge = info.isBargePart();\n\t\t\t\tif (t.tz + info.get3dHeight() > lift && \n\t\t\t\t ((isbarge && t.tz >= lift - 1) ||\n\t\t\t\t\t(t.tz < lift + 5 && t.tz >= lift))) {\n\t\t\t\t\tobjects.add(obj);\n\t\t\t\t\tint btype = obj.getInfo().getBargeType();\n\t\t\t\t\tif (btype == ShapeInfo.barge_raft)\n\t\t\t\t\t\ticeRaft = true;\n\t\t\t\t\telse if (btype == ShapeInfo.barge_turtle)\n\t\t\t\t\t\txtiles = 20;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsetCenter();\n\t\t\t\t\t\t// Test for boat.\n\t\tchunk = gmap.getChunk(\n\t\t\tcenter.tx/EConst.c_tiles_per_chunk, center.ty/EConst.c_tiles_per_chunk);\n\t\tif (boat == -1 && chunk != null) {\n\t\t\tChunkTerrain ter = chunk.getTerrain();\n\t\t\tint flatShape = ter.getShapeNum(center.tx%EConst.c_tiles_per_chunk,\n\t\t\t\t\tcenter.ty%EConst.c_tiles_per_chunk);\n\t\t\tShapeInfo info = ShapeID.getInfo(flatShape);\n\t\t\tboat = info.isWater() ? 1 : 0;\n\t\t}\n\t\tgathered = true;\n\t}", "title": "" }, { "docid": "50279dbcfd13d2f99ee9531071b9f5b8", "score": "0.54347086", "text": "public void addObject(Object object);", "title": "" }, { "docid": "3141ef066bbc8355cf3820765697ed24", "score": "0.5422103", "text": "public BO3 create() {\n Validate.notNull(selection, \"No selection given\");\n Validate.notNull(center, \"No center given\");\n\n // Create the BO3 file\n File bo3File = new File(TerrainControl.getEngine().getGlobalObjectsDirectory(), name + \".bo3\");\n\n BO3 bo3 = new BO3(this.name, bo3File);\n bo3.onEnable(Collections.<String, CustomObject> emptyMap());\n\n // Add the blocks to the BO3\n List<BlockFunction> blocks = createBlocks();\n bo3.getSettings().blocks[0] = blocks.toArray(new BlockFunction[blocks.size()]);\n\n // Add the block checks to the BO3\n List<BlockCheck> blockChecks = createBlockChecks();\n bo3.getSettings().bo3Checks[0] = blockChecks.toArray(new BlockCheck[blockChecks.size()]);\n\n // Fill the other three direction arrays\n bo3.getSettings().rotateBlocksAndChecks();\n\n // Set to tree\n bo3.getSettings().tree = hasLeaves;\n\n // Add player name to the BO3\n bo3.getSettings().author = author;\n\n // Don't save it every TC startup\n bo3.getSettings().settingsMode = ConfigMode.WriteDisable;\n\n // Save the BO3\n bo3.getSettings().writeSettingsFile(true);\n\n return bo3;\n }", "title": "" }, { "docid": "ea8b97b96d0c11a7af9d19a4c51b56cc", "score": "0.54213005", "text": "public void enqueue(Object obj)\n {\n list.addLast(obj);\n }", "title": "" }, { "docid": "4867f85dabbe0e0c6cf69551191db649", "score": "0.5420722", "text": "public void add(Collection<GameObject> units){\n for(GameObject u : units)\n add(u);\n }", "title": "" }, { "docid": "b2bb53bd4d93edc4b87b5be3516a5481", "score": "0.5418624", "text": "public void addorb3(int x,int y,color c){\n \tSphere s=new Sphere(8);\n \ts.setDrawMode(DrawMode.FILL);\n \tPhongMaterial pm=new PhongMaterial();\n \tif(c==null)\n \t\tpm.setDiffuseColor(new Color(current.Color.red,current.Color.green,current.Color.blue,1.0));\n \telse\n \t\tpm.setDiffuseColor(new Color(c.red,c.green,c.blue,1.0));\n \ts.setMaterial(pm);\n \talpha[y*10+x][2]=s;\n \tgamegrid.getChildren().remove(alpha[y*10+x][1]);\n \taddorb2(x,y,c);\n \tgamegrid.add(s,x,y);\n \ts.setTranslateX(30);\n \ts.setTranslateY(-5);\n Circle path=new Circle(38,-5,9.5);\n PathTransition pathTransition = new PathTransition(); \n pathTransition.setDuration(Duration.millis(5000));\n pathTransition.setInterpolator(Interpolator.LINEAR);\n pathTransition.setPath(path);\n pathTransition.setNode(s);\n pathTransition.setCycleCount(Timeline.INDEFINITE);\n pathTransition.play();\n }", "title": "" }, { "docid": "7322433495aaee5cb32df2b76d5d6986", "score": "0.54181063", "text": "public abstract void addEntityToNPCList(Object npc);", "title": "" }, { "docid": "1a142db51751cd6b3314cd4a71ba7579", "score": "0.5412465", "text": "private void createObjectives() {\n\t\tint height = ballRadius + BALL_SEPARATION; \n\t\tint widthIterator = BALL_SEPARATION + ballRadius;\n\t\tint nextBallPosition = BALL_SEPARATION + ballRadius * 2;\n\t\tint neededSpace = BALL_SEPARATION * 2 + ballRadius * 3; \n\t\tboolean keepPainting = true;\n\t\tint iterator = 0;\n\t\twhile (keepPainting) {\n\t\t\tobjectives.add(new GameBall(widthIterator, height, ballRadius));\n\t\t\tif (widthIterator + neededSpace > size.width)\n\t\t\t\tif (iterator < N_BALL_ROWS) {\n\t\t\t\t\tif (iterator == 0)\n\t\t\t\t\t\twidthIterator = (int) (2 * ballRadius + BALL_SEPARATION * 1.5);\n\t\t\t\t\telse \n\t\t\t\t\t\twidthIterator = BALL_SEPARATION + ballRadius;\n\t\t\t\t\theight += ballRadius * 2 + BALL_SEPARATION;\n\t\t\t\t iterator++;\n\t\t\t\t} else \n\t\t\t\t\tkeepPainting = false;\n\t\t\telse\n\t\t\t\twidthIterator += nextBallPosition;\n\t\t}\n\t}", "title": "" }, { "docid": "96e2c3979ab110f14ac9b03930e91965", "score": "0.5389129", "text": "private void spawn() {\n List<Zombie> zombiesToSpawn = new ArrayList<>();\n zombiesToSpawn.add(new Zombie(RND.nextInt(SGame.WIDTH), 0));\n zombiesToSpawn.add(new Zombie(RND.nextInt(SGame.WIDTH), 0));\n zombiesToSpawn.add(new Zombie(0, RND.nextInt(SGame.HEIGHT)));\n zombiesToSpawn.add(new Zombie(0, RND.nextInt(SGame.HEIGHT)));\n if (RND.nextInt(SPAWN_TIME) < 1) {\n zombies.addAll(zombiesToSpawn);\n }\n }", "title": "" }, { "docid": "f23670e4e1570747db55a10774bd17ee", "score": "0.5388552", "text": "public void pickUp(Item item){\r\n\t\tinventory.add(item);\t\t\r\n\t}", "title": "" }, { "docid": "5e29462c4463f04fbd3fa206f6f2cf8c", "score": "0.5386684", "text": "public void placeBomb() {\n\t\tthis.bombPosition = map.getPlayerLocation();\n\t\tmap.getTile(bombPosition.getX(), bombPosition.getY()).addEntity(this);\n\t\tthis.timer = 3;\n\n\t}", "title": "" }, { "docid": "169029df34968731cce1096c1dc58173", "score": "0.53852", "text": "public void push(Emoji object) {\n if (contains(object)) {\n super.remove(object);\n }\n add(0, object);\n }", "title": "" }, { "docid": "06b2efac100a821ef790d9c45d9e950c", "score": "0.53775966", "text": "@Override\n\t\t\tpublic void generate() {\n\t\t\t\tblocks.add(new Vector(0, 0, 0));materials.add(Material.QUARTZ_BLOCK);\t\t\n\t\t\t\t//blocks.add(new Vector(0, 1, 0));materials.add(Material.TORCH);\n\t\t\t\tcheckpoints.add(new Checkpoint(new Vector(0, 0, 0)));\n\t\t\t\t//checkpoints.add(new Checkpoint(new Vector(0, 0, 0)));\n\t\t\t}", "title": "" }, { "docid": "a930d956c2338d9fda42e4d861d6b9d1", "score": "0.5372979", "text": "public void add(GameObject unit){\n /* Don't add duplicate objects to a selection */\n if(!objects.contains(unit))\n objects.add(unit);\n\n if(this == Selection.current())\n SelectionArea.selectionChanged();\n }", "title": "" }, { "docid": "a968317ad498f5561f06f95f1b5464ac", "score": "0.5371479", "text": "public native static void addBackpackCargoGlobal(GameObject oper1, java.util.List oper2);", "title": "" }, { "docid": "5e328880f098025e7df2b895313e7022", "score": "0.5370404", "text": "public GameObject spawnPlayerClimb( float positionX, float positionY, GameObject parentObject, int life )\n {\n final TextureLibrary textureLibrary = sSystemRegistry.shortTermTextureLibrary;\n\n// // load textures related to weapons\n// // ( if not done here, drawables won't be visible ...)\n// textureLibrary.allocateTexture( R.drawable.harpoon );\n\n GameObject object = mGameObjectPool.allocate();\n object.getPosition().set( positionX, positionY );\n object.activationRadius = mAlwaysActive;\n object.width = 64;\n object.height = 64;\n\n FixedSizeArray<BaseObject> staticData = getStaticData( GameObjectType.PLAYER_CLIMB );\n if ( staticData == null )\n {\n// staticData = new FixedSizeArray<BaseObject>( 12 );\n staticData = new FixedSizeArray<BaseObject>( 9 );\n\n GameComponent gravity = allocateComponent( GravityComponentTop.class );\n GameComponent movement = allocateComponent( MovementComponent.class );\n PhysicsComponentTop physics = ( PhysicsComponentTop )allocateComponent( PhysicsComponentTop.class );\n\n// !!!! TODO : adapt values ... !!!!\n// => make it less \"bouncy\" ... (done here ?)\n// physics.setMass( 9.1f ); // ~90kg w/ earth gravity\n physics.setMass( 1.0f ); // ~10kg w/ earth gravity\n physics.setDynamicFrictionCoeffecient( 0.2f );\n physics.setStaticFrictionCoeffecient( 0.01f );\n\n // Animation Data\n FixedSizeArray<CollisionVolume> basicVulnerabilityVolume = new FixedSizeArray<CollisionVolume>( 1 );\n basicVulnerabilityVolume.add( new SphereCollisionVolume( 16, 32, 32 ) );\n\n FixedSizeArray<CollisionVolume> pressAndCollectVolume = new FixedSizeArray<CollisionVolume>( 2 );\n AABoxCollisionVolume collectionVolume = new AABoxCollisionVolume( 16, 0, 32, 48 );\n collectionVolume.setHitType( HitType.COLLECT );\n pressAndCollectVolume.add( collectionVolume );\n AABoxCollisionVolume pressCollisionVolume = new AABoxCollisionVolume( 16, 0, 32, 16 );\n pressCollisionVolume.setHitType( HitType.DEPRESS );\n pressAndCollectVolume.add( pressCollisionVolume );\n\n// !!!! TODO : make different animations ( with more frames ) !!!!\n SpriteAnimation animIdle = new SpriteAnimation( AnimationComponentTop.PlayerAnimations.IDLE.ordinal(), 4 );\n final AnimationFrame frameIdle1 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_idle_01 ),\n Utils.framesToTime( 24, 30 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n final AnimationFrame frameIdle2 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_idle_02 ),\n Utils.framesToTime( 24, 1 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n final AnimationFrame frameIdle3 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_idle_03 ),\n Utils.framesToTime( 24, 1 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n animIdle.addFrame( frameIdle1 );\n animIdle.addFrame( frameIdle2 );\n animIdle.addFrame( frameIdle3 );\n animIdle.addFrame( frameIdle2 );\n animIdle.setLoop( true );\n\n SpriteAnimation animWalk = new SpriteAnimation( AnimationComponentTop.PlayerAnimations.MOVE.ordinal(), 4 );\n final AnimationFrame frameWalk1 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_move_01 ),\n Utils.framesToTime( 24, 6 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n final AnimationFrame frameWalk2 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_move_02 ),\n Utils.framesToTime( 24, 6 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n final AnimationFrame frameWalk3 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_move_03 ),\n Utils.framesToTime( 24, 6 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n animWalk.addFrame( frameWalk1 );\n animWalk.addFrame( frameWalk2 );\n animWalk.addFrame( frameWalk3 );\n animWalk.addFrame( frameWalk2 );\n animWalk.setLoop( true );\n\n SpriteAnimation animRun = new SpriteAnimation( AnimationComponentTop.PlayerAnimations.MOVE_FAST.ordinal(), 4 );\n final AnimationFrame frameRun1 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_move_fast_01 ),\n Utils.framesToTime( 24, 6 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n final AnimationFrame frameRun2 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_move_fast_02 ),\n Utils.framesToTime( 24, 6 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n final AnimationFrame frameRun3 = new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_move_fast_03 ),\n Utils.framesToTime( 24, 6 ),\n pressAndCollectVolume,\n basicVulnerabilityVolume );\n animRun.addFrame( frameRun1 );\n animRun.addFrame( frameRun2 );\n animRun.addFrame( frameRun3 );\n animRun.addFrame( frameRun2 );\n animRun.setLoop( true );\n\n/*\n FixedSizeArray<CollisionVolume> stompAttackVolume = new FixedSizeArray<CollisionVolume>( 3 );\n stompAttackVolume.add( new AABoxCollisionVolume( 16, -5.0f, 32, 37, HitType.HIT ) );\n stompAttackVolume.add( pressCollisionVolume );\n stompAttackVolume.add( collectionVolume );\n\n SpriteAnimation animAttackStomp = new SpriteAnimation( AnimationComponentTop.PlayerAnimations.ATTACK.ordinal(), 4 );\n animAttackStomp.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_attack_stomp_01 ),\n Utils.framesToTime( 24, 2 ),\n stompAttackVolume,\n null ) );\n animAttackStomp.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_attack_stomp_02 ),\n Utils.framesToTime( 24, 2 ),\n stompAttackVolume,\n null ) );\n animAttackStomp.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_attack_stomp_03 ),\n Utils.framesToTime( 24, 2 ),\n stompAttackVolume,\n null ) );\n animAttackStomp.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_attack_stomp_04 ),\n Utils.framesToTime( 24, 2 ),\n stompAttackVolume,\n null ) );\n\n FixedSizeArray<CollisionVolume> dashAttackVolume = new FixedSizeArray<CollisionVolume>( 3 );\n// !!!! TODO: adapt attack volume !!!!\n dashAttackVolume.add( new AABoxCollisionVolume( 16, 0.0f, 32, 64, HitType.HIT ) );\n dashAttackVolume.add( pressCollisionVolume );\n dashAttackVolume.add( collectionVolume );\n\n SpriteAnimation animAttackDash = new SpriteAnimation( AnimationComponentTop.PlayerAnimations.ATTACK_ALTERNATE.ordinal(), 4 );\n animAttackDash.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_attack_dash_01 ),\n Utils.framesToTime( 24, 2 ),\n stompAttackVolume,\n null ) );\n animAttackDash.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_attack_dash_02 ),\n Utils.framesToTime( 24, 2 ),\n stompAttackVolume,\n null ) );\n animAttackDash.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_attack_dash_03 ),\n Utils.framesToTime( 24, 2 ),\n stompAttackVolume,\n null ) );\n animAttackDash.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_attack_dash_04 ),\n Utils.framesToTime( 24, 2 ),\n stompAttackVolume,\n null ) );\n*/\n/*\n SpriteAnimation animHit = new SpriteAnimation( AnimationComponentTop.PlayerAnimations.HIT_REACT.ordinal(), 2 );\n animHit.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_hit_01 ),\n Utils.framesToTime( 24, 6 ),\n pressAndCollectVolume,\n null ) );\n animHit.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_hit_02 ),\n Utils.framesToTime( 24, 12 ),\n pressAndCollectVolume,\n null ) );\n*/\n\n// !!!! ???? TODO: death ? ???? !!!!\n SpriteAnimation animDeath = new SpriteAnimation( AnimationComponentTop.PlayerAnimations.DEATH.ordinal(), 1 );\n animDeath.addFrame( new AnimationFrame( textureLibrary.allocateTexture( R.drawable.player_climb_die_01 ),\n Utils.framesToTime( 24, 1 ),\n null,\n null ) );\n\n SpriteAnimation animFrozen = new SpriteAnimation( AnimationComponentTop.PlayerAnimations.FROZEN.ordinal(), 1 );\n // Frozen has no frames!\n\n GameComponent record = allocateComponent( UpdateRecordHudImpl.class );\n\n // Save static data\n staticData.add( gravity );\n staticData.add( movement );\n staticData.add( physics );\n\n staticData.add( animIdle );\n staticData.add( animWalk );\n staticData.add( animRun );\n// staticData.add( animAttackStomp );\n// staticData.add( animAttackDash );\n// staticData.add( animHit );\n staticData.add( animDeath );\n staticData.add( animFrozen );\n staticData.add( record );\n\n setStaticData( GameObjectType.PLAYER_CLIMB, staticData );\n }\n\n RenderComponent render = ( RenderComponent )allocateComponent( RenderComponent.class );\n render.setPriority( SortConstants.PLAYER );\n BackgroundCollisionComponent bgcollision = ( BackgroundCollisionComponent )allocateComponent( BackgroundCollisionComponent.class );\n bgcollision.setSize( 32, 48 );\n bgcollision.setOffset( 16, 0 );\n\n//////// SWAPPERS 20141106 - BEGIN\n// PlayerComponentTopSpecific player = ( PlayerComponentTopSpecific )allocateComponent( PlayerComponentTopSpecific.class );\n//////// SWAPPERS 20141106 - MID\n PlayerComponentTopClimber player = ( PlayerComponentTopClimber )allocateComponent( PlayerComponentTopClimber.class );\n// !!!! TODO: FIX THIS !!!!\n// => use \"HotSpotType....\" & \"GameObjectType.....ordinal()\", but which ones?\n player.setHotSpotSwapperId( 0, 1 );\n// player.setHotSpotSwapperId( 1, 1 );\n//////// SWAPPERS 20141106 - END\n AnimationComponentTopImpl animation = ( AnimationComponentTopImpl )allocateComponent( AnimationComponentTopImpl.class );\n// animation.setPlayer( player );\n\n// !!!! ???? TODO: \"death\" sound ? ???? !!!!\n/*\n SoundSystem sound = sSystemRegistry.soundSystem;\n if ( sound != null )\n {\n animation.setDeathSound( sound.load( R.raw.sound_explode ) );\n }\n*/\n\n SpriteComponent sprite = ( SpriteComponent )allocateComponent( SpriteComponent.class );\n sprite.setSize( ( int )object.width, ( int )object.height );\n sprite.setRenderComponent( render );\n animation.setSprite( sprite );\n\n DynamicCollisionComponent dynamicCollision = ( DynamicCollisionComponent )allocateComponent( DynamicCollisionComponent.class );\n sprite.setCollisionComponent( dynamicCollision );\n\n HitReactionComponentSingle hitReact = ( HitReactionComponentSingle )allocateComponent( HitReactionComponentSingle.class );\n// hitReact.setBounceOnTakeHit( true );\n// hitReact.setPauseOnAttack( true );\n// hitReact.setInvincibleTime( 3.0f );\n// hitReact.setSpawnObjectOnDealHit( HitType.HIT, GameObjectType.CRUSH_FLASH.ordinal(), false, true );\n\n// !!!! ???? TODO: \"hit\" sound ? ???? !!!!\n/*\n if ( sound != null )\n {\n hitReact.setSoundOnTakeHit( HitType.HIT, sound.load( R.raw.deep_clang ) );\n }\n*/\n\n dynamicCollision.setHitReactionComponent( hitReact );\n player.setHitReactionComponent( hitReact );\n\n\n InventoryComponent inventory = ( InventoryComponent )allocateComponent( InventoryComponent.class );\n // find parentObject inventory's record\n UpdateRecordHudImpl parentObjectRecord = null;\n final FixedSizeArray<BaseObject> parentObjects = parentObject.getObjects();\n final int count = parentObjects.getCount();\n for ( int y = 0; y < count; y++ )\n {\n final BaseObject entry = parentObjects.get( y );\n if ( entry != null )\n {\n if ( entry instanceof InventoryComponent )\n {\n parentObjectRecord = ( UpdateRecordHudImpl )( ( InventoryComponent )entry ).getRecord();\n break;\n }\n }\n }\n final int staticDataSize = staticData.getCount();\n for ( int x = 0; x < staticDataSize; x++ )\n {\n final BaseObject entry = staticData.get( x );\n if ( entry instanceof UpdateRecordHudImpl )\n {\n final UpdateRecordHudImpl record = ( UpdateRecordHudImpl )entry;\n if ( parentObjectRecord != null )\n {\n record.copy( parentObjectRecord );\n }\n inventory.setInventory( record );\n player.setInventory( inventory );\n hitReact.setInventoryUpdate( record );\n break;\n }\n }\n\n TakeControlComponent controller = ( TakeControlComponent )allocateComponent( TakeControlComponent.class );\n controller.setControlledObject( parentObject );\n player.setTakeControlComponent( controller );\n if ( inventory != null )\n {\n controller.setInventory( inventory );\n }\n controller.setDieOnRelease( false ); // to avoid problem of hud life bar changing when releasing\n\n\n// !!!! ???? TODO: lifeTime component ? ???? !!!!\n LifetimeComponent lifeTime = ( LifetimeComponent )allocateComponent( LifetimeComponent.class );\n// lifetime.addObjectToSpawnOnDeath( GameObjectType.EXPLOSION_GIANT.ordinal() );\n\n final EventRecorderImpl evtRec = ( EventRecorderImpl )sSystemRegistry.eventRecorder;\n player.setLifeMax( evtRec.getDifficultyConstants().getPlayerMaxLife() );\n object.life = parentObject.life;\n//? controller.setShareLife( true );\n\n object.team = Team.PLAYER;\n\n object.add( player );\n object.add( inventory );\n object.add( bgcollision );\n object.add( render );\n object.add( animation );\n object.add( sprite );\n object.add( dynamicCollision );\n object.add( hitReact );\n object.add( lifeTime );\n object.add( controller );\n\n addStaticData( GameObjectType.PLAYER_CLIMB, object, sprite );\n\n sprite.playAnimation( AnimationComponentTop.PlayerAnimations.IDLE.ordinal() );\n\n\n CameraSystem camera = sSystemRegistry.cameraSystem;\n if ( camera != null )\n {\n camera.setTarget( object );\n }\n\n return object;\n }", "title": "" }, { "docid": "49dce197b2687572923889835b674251", "score": "0.5369097", "text": "public void addGameObject(GameObject gameObject) {\n gameObjects.put(gameObject.getID(), gameObject);\n }", "title": "" }, { "docid": "1aae35424d0b3e320d6e230d0bd6155e", "score": "0.53690845", "text": "public void insertObject(Object object){\r\n\t\t_iconsManager.insertIcon((AcideAddedIcon) object);\r\n\t}", "title": "" }, { "docid": "9bcc9df9eb8f85f6bae8f6e09a5a8e39", "score": "0.53510773", "text": "@Override\r\n\tpublic void add(T object) {\n\t\tif (size >= binaryTree.length - 1) {\r\n\t\t\tbinaryTree = this.resize();\r\n\t\t}\r\n\t\t\r\n\t\t// It will place the element at the bottom.\r\n\t\tsize++;\r\n\t\tint index = size;\r\n\t\tbinaryTree[index] = object;\r\n\t\t\r\n\t\t// It will moveUp the newly inserted element to its proper position in a tree.\r\n\t\tmoveUp();\r\n\t}", "title": "" }, { "docid": "1d68c0cbcaac7fb77ad2f0178937dc91", "score": "0.5333907", "text": "public void handleSpawnObject(SSpawnObjectPacket packetIn) {\n PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.client);\n double d0 = packetIn.getX();\n double d1 = packetIn.getY();\n double d2 = packetIn.getZ();\n EntityType<?> entitytype = packetIn.getType();\n Entity entity;\n if (entitytype == EntityType.CHEST_MINECART) {\n entity = new ChestMinecartEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.FURNACE_MINECART) {\n entity = new FurnaceMinecartEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.TNT_MINECART) {\n entity = new TNTMinecartEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.SPAWNER_MINECART) {\n entity = new SpawnerMinecartEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.HOPPER_MINECART) {\n entity = new HopperMinecartEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.COMMAND_BLOCK_MINECART) {\n entity = new CommandBlockMinecartEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.MINECART) {\n entity = new MinecartEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.FISHING_BOBBER) {\n Entity entity1 = this.world.getEntityByID(packetIn.getData());\n if (entity1 instanceof PlayerEntity) {\n entity = new FishingBobberEntity(this.world, (PlayerEntity)entity1, d0, d1, d2);\n } else {\n entity = null;\n }\n } else if (entitytype == EntityType.ARROW) {\n entity = new ArrowEntity(this.world, d0, d1, d2);\n Entity entity2 = this.world.getEntityByID(packetIn.getData());\n if (entity2 != null) {\n ((AbstractArrowEntity)entity).setShooter(entity2);\n }\n } else if (entitytype == EntityType.SPECTRAL_ARROW) {\n entity = new SpectralArrowEntity(this.world, d0, d1, d2);\n Entity entity3 = this.world.getEntityByID(packetIn.getData());\n if (entity3 != null) {\n ((AbstractArrowEntity)entity).setShooter(entity3);\n }\n } else if (entitytype == EntityType.TRIDENT) {\n entity = new TridentEntity(this.world, d0, d1, d2);\n Entity entity4 = this.world.getEntityByID(packetIn.getData());\n if (entity4 != null) {\n ((AbstractArrowEntity)entity).setShooter(entity4);\n }\n } else if (entitytype == EntityType.SNOWBALL) {\n entity = new SnowballEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.LLAMA_SPIT) {\n entity = new LlamaSpitEntity(this.world, d0, d1, d2, packetIn.func_218693_g(), packetIn.func_218695_h(), packetIn.func_218692_i());\n } else if (entitytype == EntityType.ITEM_FRAME) {\n entity = new ItemFrameEntity(this.world, new BlockPos(d0, d1, d2), Direction.byIndex(packetIn.getData()));\n } else if (entitytype == EntityType.LEASH_KNOT) {\n entity = new LeashKnotEntity(this.world, new BlockPos(d0, d1, d2));\n } else if (entitytype == EntityType.ENDER_PEARL) {\n entity = new EnderPearlEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.EYE_OF_ENDER) {\n entity = new EyeOfEnderEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.FIREWORK_ROCKET) {\n entity = new FireworkRocketEntity(this.world, d0, d1, d2, ItemStack.EMPTY);\n } else if (entitytype == EntityType.FIREBALL) {\n entity = new FireballEntity(this.world, d0, d1, d2, packetIn.func_218693_g(), packetIn.func_218695_h(), packetIn.func_218692_i());\n } else if (entitytype == EntityType.DRAGON_FIREBALL) {\n entity = new DragonFireballEntity(this.world, d0, d1, d2, packetIn.func_218693_g(), packetIn.func_218695_h(), packetIn.func_218692_i());\n } else if (entitytype == EntityType.SMALL_FIREBALL) {\n entity = new SmallFireballEntity(this.world, d0, d1, d2, packetIn.func_218693_g(), packetIn.func_218695_h(), packetIn.func_218692_i());\n } else if (entitytype == EntityType.WITHER_SKULL) {\n entity = new WitherSkullEntity(this.world, d0, d1, d2, packetIn.func_218693_g(), packetIn.func_218695_h(), packetIn.func_218692_i());\n } else if (entitytype == EntityType.SHULKER_BULLET) {\n entity = new ShulkerBulletEntity(this.world, d0, d1, d2, packetIn.func_218693_g(), packetIn.func_218695_h(), packetIn.func_218692_i());\n } else if (entitytype == EntityType.EGG) {\n entity = new EggEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.EVOKER_FANGS) {\n entity = new EvokerFangsEntity(this.world, d0, d1, d2, 0.0F, 0, (LivingEntity)null);\n } else if (entitytype == EntityType.POTION) {\n entity = new PotionEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.EXPERIENCE_BOTTLE) {\n entity = new ExperienceBottleEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.BOAT) {\n entity = new BoatEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.TNT) {\n entity = new TNTEntity(this.world, d0, d1, d2, (LivingEntity)null);\n } else if (entitytype == EntityType.ARMOR_STAND) {\n entity = new ArmorStandEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.END_CRYSTAL) {\n entity = new EnderCrystalEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.ITEM) {\n entity = new ItemEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.FALLING_BLOCK) {\n entity = new FallingBlockEntity(this.world, d0, d1, d2, Block.getStateById(packetIn.getData()));\n } else if (entitytype == EntityType.AREA_EFFECT_CLOUD) {\n entity = new AreaEffectCloudEntity(this.world, d0, d1, d2);\n } else if (entitytype == EntityType.LIGHTNING_BOLT) {\n entity = new LightningBoltEntity(EntityType.LIGHTNING_BOLT, this.world);\n } else {\n entity = null;\n }\n\n if (entity != null) {\n int i = packetIn.getEntityID();\n entity.setPacketCoordinates(d0, d1, d2);\n entity.moveForced(d0, d1, d2);\n entity.rotationPitch = (float)(packetIn.getPitch() * 360) / 256.0F;\n entity.rotationYaw = (float)(packetIn.getYaw() * 360) / 256.0F;\n entity.setEntityId(i);\n entity.setUniqueId(packetIn.getUniqueId());\n this.world.addEntity(i, entity);\n if (entity instanceof AbstractMinecartEntity) {\n this.client.getSoundHandler().play(new MinecartTickableSound((AbstractMinecartEntity)entity));\n }\n }\n\n }", "title": "" }, { "docid": "b226f0048f1e131c60f75c7883838146", "score": "0.53190064", "text": "private void spawn()\n {\n if(Greenfoot.getRandomNumber(900) == 33) // spawn Krayfysh\n {\n getWorld().addObject(new Krayfysh(), getWorld().getWidth(), Greenfoot.getRandomNumber(getWorld().getHeight()));\n }\n \n if(Greenfoot.getRandomNumber(60) == 33) // spawn Aliens\n {\n getWorld().addObject(new Alien(), getWorld().getWidth(), Greenfoot.getRandomNumber(getWorld().getHeight()));\n }\n }", "title": "" }, { "docid": "d1ce9000cafd7899dcae8081015a166b", "score": "0.5317025", "text": "public void AddDataInChildObj3();", "title": "" }, { "docid": "9a1859d8e0331a4f3992de0e768dea73", "score": "0.53103733", "text": "public void spawnForChunk(ChunkCoordinate chunkCoordinate)\n {\n Set<CustomObjectCoordinate> objectsInChunk = objectsToSpawn.get(chunkCoordinate);\n if (objectsInChunk != null)\n {\n for (CustomObjectCoordinate coordObject : objectsInChunk)\n {\n coordObject.spawnWithChecks(this, World, height, Random);\n }\n }\n }", "title": "" }, { "docid": "8ca5587d4c8352073b49d0a65dd04cb3", "score": "0.5309725", "text": "public void notifyAddingNewObject(InternalObject o) {\r\n if (gameObjectsByID.containsKey(o.getID()))\r\n return;\r\n gameObjectsByID.put(o.getID(), o);\r\n if (o.getLocation() != null) {\r\n gameObjectsByLoc.put(new MapLocation3D(o.getLocation(), o.getRobotLevel()), o);\r\n }\r\n \t\tif (o instanceof InternalPowerNode) {\r\n \t\t\taddPowerNode((InternalPowerNode)o);\r\n \t\t}\r\n }", "title": "" }, { "docid": "e03e65fd89b249db62e6c5aa0b95c141", "score": "0.53095317", "text": "void addObjectToPool (TADoubleValue object)\n\t {\n\t objPool.add(object);\n\t }", "title": "" }, { "docid": "1908f28d2bc61520be402936d5f20536", "score": "0.53006816", "text": "@Override\n\tpublic void addCollisionBoxesToList(World world, int x, int y, int z, AxisAlignedBB mask, List list, Entity par7Entity)\n\t{\n\t\tint metadata = world.getBlockMetadata(x, y, z);\n\t\tAxisAlignedBB[] aabb = ShapedBlockManager.getBoundingBoxesFromMetadata(this, metadata);\n\t\tShapedBlockManager.addBoxesToList(x, y, z, mask, list, aabb);\n\t}", "title": "" }, { "docid": "2c2ed56918bc30ea10a26884e9ec08f4", "score": "0.52983916", "text": "@Override\n public Iterable<GameObject> createObjects() {\n ArrayList<GameObject> objs = new ArrayList<>();\n int startx = (GAME_WIDTH - (brickHitsArray[0].length *\n (BRICK_WIDTH + BRICK_HSPACING))) / 2;\n int starty = 20;\n for (int i = 0; i < brickHitsArray.length; i++) {\n for (int j = 0; j < brickHitsArray[i].length; j++) {\n if (brickHitsArray[i][j] == 0) {\n continue;\n }\n objs.add(new Brick(startx + j * (BRICK_WIDTH + BRICK_HSPACING),\n starty + i * (BRICK_HEIGHT + BRICK_VSPACING),\n BRICK_WIDTH, BRICK_HEIGHT, brickHitsArray[i][j]));\n }\n }\n return objs;\n }", "title": "" }, { "docid": "9bfef1bb18b0d36af8cc1fd1fc50f0d5", "score": "0.5297512", "text": "public abstract void addEntityToProjectileList(Object projectile);", "title": "" }, { "docid": "537fbf7ea2db7efd98167186b5522f47", "score": "0.52896595", "text": "@Override\n\tvoid add(Object obj) {\n\t\t// insert your code here\n\t\tsize += 1;\n\t\tif (size > list.length ){ // Not enough capacity array\n\t\t\tObject tempList[] = new Object[list.length]; //copy elements of original list to temp list\n\t\t\tfor (int i=0; i<list.length; i++) {\n\t\t\t\ttempList[i] = list[i];\n\t\t\t}\n\t\t\tlist = new Object[list.length*2]; //make new list that has double size\n\t\t\tfor (int i=0; i<tempList.length; i++) {\n\t\t\t\tlist[i] = tempList[i]; //re-save elements of temp list to new sized list\n\t\t\t}\n\t\t}\n\t\tlist[size-1] = obj;//add obj at the back of the list\n\t\t\n\t\t//System.out.println(\"size: \" + size);\n\t\t//System.out.println(\"added: \" + list[size-1]);\n\t}", "title": "" }, { "docid": "c67106c2b7f517609c699a191d99fd20", "score": "0.52779955", "text": "public ArrayList<GameObject> getObjects(){\n \tArrayList<GameObject> objects = new ArrayList<>();\n objects.add(mainBird);\n if (tutorial) {\n \tif (time > startTime+25) {\n \t\tobjects.add(tutorialUpDn);\n \t}\n \telse if (time > startTime) {\n \t\tobjects.add(tutorialUpDn);\n \t\tobjects.add(tutorialSpace);\n \t}\n \telse {\n \t\ttime++;\n \t\tobjects.add(tutorialUpDn);\n \t\tobjects.add(tutorialSpace);\n \t}\n }\n else {\n \tif (time > startTime-100)\n \t\tobjects.add(tutorialItems);\n \tobjects.add(foe);\n \tfor (Food f : consumables) {\n \t\tobjects.add(f);\n \t}\n }\n //objects.add(tutorialUpDn);\n return objects;\n }", "title": "" }, { "docid": "7102aae51b51d7dcc010a42fc04af1e2", "score": "0.5277225", "text": "private void startBone() {\n int id = 0;\n for (int i = 0; i < 7; i++) {\n for (int j = i; j < 7; j++) {\n game.add(new Bone(i, j));\n id++;\n }\n }\n }", "title": "" }, { "docid": "2e52ebbb538123097bef4988890ade76", "score": "0.5276445", "text": "public void genWorld()\r\n\t{\r\n\t\tGuiRender gui = (GuiRender) anno.getGuiManager().getGui(GuiRender.class);\r\n\t\tgui.setPorgressBarMaximum(chunkCountHeight * Chunk.getSize());\r\n\t\tfor(int y = 0; y < chunkCountHeight; y++)\r\n\t\t{\r\n\t\t\tfor(int x = 0; x < chunkCountWidth; x++)\r\n\t\t\t{\r\n\t\t\t\tchunkList.add(new Chunk(x, y));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfor(int i = 0; i < chunkCountHeight * Chunk.getSize(); i++)\r\n\t\t{\r\n\t\t\tfor(int j = 0; j < chunkCountWidth * Chunk.getSize(); j++)\r\n\t\t\t{\r\n\t\t\t\tint id = (int) (Math.random() * 8);\r\n\t\t\t\tif(id >= 0 && id <= 4)\r\n\t\t\t\t{\r\n\t\t\t\t\tsetBlock(i, j, new BlockGrass());\r\n\t\t\t\t}\r\n\t\t\t\telse if(id >= 5 && id <= 6)\r\n\t\t\t\t{\r\n\t\t\t\t\tsetBlock(i, j, new BlockForest());\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tsetBlock(i, j, new BlockRock());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tgui.setProgressBarPosition(i);\r\n\t\t}\r\n\t\tsetBlock(12, 8, new BlockBase());\r\n\t\t\tsetBlock(13,8,new BlockEmpty());\r\n\t\t\tsetBlock(12,9,new BlockEmpty());\r\n\t\t\tsetBlock(13,9,new BlockEmpty());\r\n\t\t\t\r\n\t\tEntityLumberjack entity = new EntityLumberjack(1);\r\n\t\tentity.setPosition(12.0F, 8.0F);\r\n\t\tentityMngr.addEntity(entity);\r\n\t\tgui.setProgressBarPosition(gui.getPorgressBarMaximum());\r\n\t\tgui.close();\r\n\t}", "title": "" }, { "docid": "16a2eb40e8382abc0c44da0563f21b8f", "score": "0.527405", "text": "public void append ( Component object ) {\n\t\t// Append to the content panel\n\t\tthis.content.add ( object );\n\t}", "title": "" }, { "docid": "5ca5f7b5a65844b50bcd864b83f793bb", "score": "0.5271247", "text": "public void addHut()\n {\n // put your code here\n oldHut = new Hut();\n addObject(oldHut,129,287);\n hutList.add(oldHut);\n }", "title": "" }, { "docid": "2dad6866c276775bf4fbb4d24d0805d9", "score": "0.5265799", "text": "public static void addChunkUnsafe(Chunk chunk){\n Layer[] layers = chunk.getLayers();\n for(int i = 0; i < layers.length; i++) {\n ChunkModelBuilderOld.layers.add(layers[i]);\n }\n emptyQueue.signalAll();\n //lock.unlock();\n }", "title": "" }, { "docid": "8a5a41a2619a27f54b0b189af8b43eec", "score": "0.5257181", "text": "public void put( Object object )\n {\n my_container.add( object );\n }", "title": "" }, { "docid": "d873407ceb3e6f9fca3bd5d3b5aea341", "score": "0.5252819", "text": "public void spawn() {\n\t\tfloat[] spawnPoint = netLevel.getSpawnPoint();\n\t\tsetPosition(spawnPoint[0], spawnPoint[1], spawnPoint[2]);\n\t\tsetAngleY(spawnPoint[3]);\n\t\tsetHealthPoints(MAX_HEALTH_POINTS);\n\t\t// Spieler verliert seine Extrabomben\n\t\tsetBombs(1);\n\t\t// TODO Was muss noch alles zurueckgesetzt werden?\n\t\tfor (int i = 0; i < listNetPlayer.size(); i++) {\n\t\t\tlistNetPlayer.get(i).msgSendPlayerList();\n\t\t}\n\t}", "title": "" }, { "docid": "b16d48c8a7df716d440e3f8476fa2d0b", "score": "0.5251794", "text": "private void createNewPart() {\n\t\tint newX, newY;\n\t\tDirection newDir;\n\t\tif (!parts.isEmpty()) {\n\t\t\tint lastPart = parts.size() - 1;\n\t\t\tRectangle lastPartsBounds = parts.get(lastPart).getLastBounds();\n\t\t\tnewX = (int) lastPartsBounds.getX();\n\t\t\tnewY = (int) lastPartsBounds.getY();\n\t\t\tnewDir = parts.get(lastPart).getLastDirection();\n\t\t\tControlable newPart = new WormPart(newX, newY, PARTSIZE, newDir);\n\t\t\tparts.add(newPart);\n\t\t}\n\t}", "title": "" }, { "docid": "d2b49e480d06a30f193bf3554e9e395f", "score": "0.5248633", "text": "protected void addObject(String name, T object) {\n T oldValue = objects.put(name, object);\n if (oldValue != null) {\n removeActions.getSource().execute(oldValue);\n }\n addActions.getSource().execute(object);\n }", "title": "" }, { "docid": "3691ffd8ffa5edccab599c9db801ad80", "score": "0.5245322", "text": "public final void create()\n {\n final float t = 0.15f;\n \n // Regular variables.\n String name; // Current object name (in loop).\n \n // Object variables.\n BaseActor coin; // Used to clone coin actors.\n MapObjects objects; // Collection of objects contained in all the layers.\n Texture playerTex; // Texture (image) to use for player.\n Rectangle r; // Rectangle object used when iterating through items in layers.\n RectangleMapObject rectangleObject; // Rectangle shaped map object used when iterating through items in layers.\n BaseActor solid; // Properties of a wall segment.\n \n // Initialize empty array lists.\n coinList = new ArrayList<>(); // Initialize array to hold coins.\n wallList = new ArrayList<>(); // Initialize array to hold walls.\n removeList = new ArrayList<>(); // Initialize array to hold actors to remove.\n \n // Alternative code:\n // coinList = new ArrayList<BaseActor>();\n // wallList = new ArrayList<BaseActor>();\n // removeList = new ArrayList<BaseActor>();\n \n // Initialize the player, key, door, and a base coin instance -- other than the positions.\n // Also, initialize the lists.\n // The positions get set later, after retrieving the related information from the tilemap.\n \n // Create the player object.\n player = new PhysicsActor();\n \n // Set the properties for the player object.\n playerTex = new Texture( Gdx.files.internal(\"assets/general-single.png\") ); // Load image to buffer.\n // player.storeAnimation(\"default\", playerTex); // Store animation in actor.\n \n // Store animations for actor.\n player.storeAnimation( \"down\", GameUtils.parseSpriteSheet( \"assets/general-48.png\", 3, 4,\n new int[] {0, 1, 2}, t, PlayMode.LOOP_PINGPONG ) );\n player.storeAnimation( \"left\", GameUtils.parseSpriteSheet( \"assets/general-48.png\", 3, 4,\n new int[] {3, 4, 5}, t, PlayMode.LOOP_PINGPONG ) );\n player.storeAnimation( \"right\", GameUtils.parseSpriteSheet( \"assets/general-48.png\", 3, 4,\n new int[] {6, 7, 8}, t, PlayMode.LOOP_PINGPONG ));\n player.storeAnimation( \"up\", GameUtils.parseSpriteSheet( \"assets/general-48.png\", 3, 4,\n new int[] {9, 10, 11}, t, PlayMode.LOOP_PINGPONG ));\n \n player.setSize( 48, 48 ); // Set width and height of image.\n player.setEllipseBoundary(); // Set properties of ellipse bounding polygon related to the texture.\n mainStage.addActor( player ); // Add (player) actor to scene graph.\n \n // Create the key object.\n key = new BaseActor();\n \n // Set the properties for the key object.\n key.setTexture( new Texture(Gdx.files.internal(\"assets/key.png\")) ); // Load image to buffer.\n key.setSize( 36, 24 ); // Set width and height of actor.\n key.setEllipseBoundary(); // Set properties of ellipse bounding polygon related to the texture.\n mainStage.addActor( key ); // Add (player) actor to scene graph.\n \n // Create the door object.\n door = new BaseActor();\n \n // Set the properties for the door object.\n door.setTexture( new Texture(Gdx.files.internal(\"assets/door.png\")) ); // Load image to buffer.\n door.setRectangleBoundary(); // Set properties of rectangle bounding polygon related to the texture.\n mainStage.addActor( door ); // Add (door) actor to scene graph.\n \n // Set up the base coin object.\n \n // Create the base coin object (allows for cloning / copying).\n baseCoin = new BaseActor();\n \n baseCoin.setTexture( new Texture(Gdx.files.internal(\"assets/coin.png\")) ); // Load image to buffer.\n baseCoin.setEllipseBoundary(); // Set properties of ellipse bounding polygon related to the texture.\n \n // Set up tile map, renderer, and camera.\n tiledMap = new TmxMapLoader().load( \"assets/game-map.tmx\" ); // Load the TiledMap.\n tiledMapRenderer = new OrthogonalTiledMapRenderer( tiledMap ); // Associate renderer with loaded TiledMap.\n tiledCamera = new OrthographicCamera(); // Instantiate Orthographic Camera.\n tiledCamera.setToOrtho( false, getViewWidth(), getViewHeight() ); // Set the camera to an orthographic projection.\n tiledCamera.update(); // Recalculate the projection and view matrix of the camera and the Frustum planes.\n \n // Set up objects across all layers in TiledMap.\n \n // Store collection of standard objects across all layers in TiledMap.\n objects = tiledMap.getLayers().get(\"ObjectData\").getObjects();\n \n // Loop through objects.\n for (MapObject object : objects)\n \n {\n // Store name of current object in loop.\n name = object.getName();\n \n // All object data assumed to be stored as rectangles.\n \n // Cast current object to a RectangleMapObject to allow for getting position.\n rectangleObject = (RectangleMapObject)object;\n \n // Get rectangle associated with current object.\n r = rectangleObject.getRectangle();\n \n // Based on object name...\n switch (name)\n {\n case \"player\": // Looking at player object...\n player.setPosition( r.x, r.y ); // Set position of player actor.\n break;\n case \"coin\": // Looking at one of the coin objects...\n coin = baseCoin.clone(); // Copy the coin object.\n coin.setPosition( r.x, r.y ); // Set position of current coin actor.\n mainStage.addActor( coin ); // Add current coin actor to scene graph.\n coinList.add( coin ); // Add coin actor to ArrayList.\n break;\n case \"door\": // Looking at door object...\n door.setPosition( r.x, r.y ); // Set position of door actor.\n break;\n case \"key\": // Looking at key object...\n key.setPosition( r.x, r.y ); // Set position of key actor.\n break;\n default: // All other objects...\n System.err.println( \"Unknown tilemap object: \" + name ); // Display error message.\n break;\n }\n \n } // End ... Loop through objects in all layers.\n \n // Set up wall layer in TiledMap.\n // Gather the geometric data that represents solid walls.\n \n // Store collection of wall objects across all layers in TiledMap.\n objects = tiledMap.getLayers().get(\"PhysicsData\").getObjects();\n \n // Loop through objects.\n for (MapObject object : objects)\n \n {\n // Since evaluating walls, not necessary to know name of current object in loop.\n \n // Cast current object to a RectangleMapObject to allow for getting position.\n rectangleObject = (RectangleMapObject)object;\n \n // Get rectangle associated with current object.\n r = rectangleObject.getRectangle();\n \n // Store properties of a wall segment.\n solid = new BaseActor(); // Create a BaseActor for the current wall segment.\n solid.setPosition( r.x, r.y ); // Set position of current wall segment.\n solid.setSize( r.width, r.height ); // Set size of current wall segment.\n solid.setRectangleBoundary(); // Set properties of rectangle bounding polygon related to the wall.\n wallList.add(solid); // Add current wall segment to ArrayList.\n }\n \n }", "title": "" }, { "docid": "d08aacbef6329c9fdc11629e1c48023a", "score": "0.5244195", "text": "@Override\r\n\tpublic List<IRenderable> createRenderables() { \t\r\n \t/* Add the object and print it */\r\n \t//PATCH: flag.getXLocation(), flag.getYLocation() are invalid until the flag is spawned (-50,-50).\r\n \tflag.updateToRandomLocation();\n \tobjects.add(new RenderObject(\"Flag\", imageFile, flag.getXLocation(), flag.getYLocation()));\n \treturn objects;\r\n }", "title": "" }, { "docid": "acf3dcebe234fa2566d8d86126e31f70", "score": "0.5243922", "text": "public void playerBomb()\n\t{\n\t\tif(player.canBomb())\n\t\t{\n\t\t\tplayer.setTime(Constants.BOMB_TIMER);\n\t\t\tBomb bomb = new Bomb(player.getMapX(), player.getMapY());\n\t\t\tbombs.add(bomb);\n\t\t}\n\t}", "title": "" }, { "docid": "9f933e21c8bb88b640d864501a31652d", "score": "0.52410924", "text": "public void addBlock(int left, int right, int top, int bottom, int color)\n {\n Block block = new Block(left, top, right, bottom, color);\n GameObjectMgr.mBlockList.add( block );\n GameObjectMgr.mGameObjList.add( block);\n\n //Add platform image:\n GameObjectMgr.m3dPlatformList.add(\n new BackgroundSprite(platformBitmap,left, top - 30, 6) ); //TODO: keeps loading bmps!\n }", "title": "" }, { "docid": "343a511e50db031b6402e503fe615bd7", "score": "0.52399755", "text": "public final void startGameObjects() {\r\n for (GameObject gameObject : gameObjects) {\r\n gameObject.start();\r\n this.renderer.add(gameObject);\r\n this.lightmapRenderer.add(gameObject);\r\n this.debugRenderer.add(gameObject);\r\n rendererRegistry.forEach(r -> r.add(gameObject));\r\n }\r\n isRunning = true;\r\n }", "title": "" } ]
c5c70aa19abfa28e38b022c9569ae984
Get the certThumbprint property: Thumbprint of certificate for ClientCertificate authentication. Only valid for onpremises copy. For onpremises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).
[ { "docid": "72fd9823530bf2c02240762006499ba8", "score": "0.74849516", "text": "public Object certThumbprint() {\n return this.innerTypeProperties() == null ? null : this.innerTypeProperties().certThumbprint();\n }", "title": "" } ]
[ { "docid": "b0f7b36e9041c604048e503a59ee9186", "score": "0.6414699", "text": "public Certificate withThumbprint(String thumbprint) {\n setThumbprint(thumbprint);\n return this;\n }", "title": "" }, { "docid": "a04aa350836c0d1794dcda4506b3bcf8", "score": "0.63037896", "text": "public CertificateContractInner withThumbprint(String thumbprint) {\n this.thumbprint = thumbprint;\n return this;\n }", "title": "" }, { "docid": "e9a79d43e9a565e226de4e195194a675", "score": "0.59431267", "text": "public HttpLinkedService withCertThumbprint(Object certThumbprint) {\n if (this.innerTypeProperties() == null) {\n this.innerTypeProperties = new HttpLinkedServiceTypeProperties();\n }\n this.innerTypeProperties().withCertThumbprint(certThumbprint);\n return this;\n }", "title": "" }, { "docid": "ac069ee2fd33aabaff828fb0fea47db9", "score": "0.58654445", "text": "public java.lang.String getSslThumbprint() {\r\n return sslThumbprint;\r\n }", "title": "" }, { "docid": "154520684dcc5b2f0a0c65590cba351c", "score": "0.5269579", "text": "public JWKBuilder<T, B> X509CertificateSHA256Thumbprint(String sha256Thumbprint) {\n keyParameter(X509_CERTIFICATE_SHA256_THUMBPRINT, sha256Thumbprint);\n return this;\n }", "title": "" }, { "docid": "22867fb6dd3e444d8389531c6bb1ac52", "score": "0.523761", "text": "public String getThumbprint() {\n return this.thumbprint;\n }", "title": "" }, { "docid": "0c8f1d9170174790345aa7b2ef3af10c", "score": "0.5076654", "text": "public String getClientCertificateFingerprint() {\r\n return fingerprint;\r\n }", "title": "" }, { "docid": "6a1aa01c272ab5f993425eed5083152e", "score": "0.49475273", "text": "public String thumbprint() {\n return this.thumbprint;\n }", "title": "" }, { "docid": "6a1aa01c272ab5f993425eed5083152e", "score": "0.49475273", "text": "public String thumbprint() {\n return this.thumbprint;\n }", "title": "" }, { "docid": "662cbf4ce9159fff3d2824da4611fc58", "score": "0.4858776", "text": "com.google.protobuf.ByteString getCert();", "title": "" }, { "docid": "662cbf4ce9159fff3d2824da4611fc58", "score": "0.4858776", "text": "com.google.protobuf.ByteString getCert();", "title": "" }, { "docid": "662cbf4ce9159fff3d2824da4611fc58", "score": "0.4858776", "text": "com.google.protobuf.ByteString getCert();", "title": "" }, { "docid": "e23a30fa0b954d84372a1e39a3f3f792", "score": "0.47777048", "text": "public String getCertificateType() {\n return this.certificateType;\n }", "title": "" }, { "docid": "a58d60556f0c4ade92c6eb119ffabf4e", "score": "0.4694731", "text": "public Long getCertType() {\n return certType;\n }", "title": "" }, { "docid": "67976c50f391158f479aae568b1ed987", "score": "0.4689532", "text": "public void setSslThumbprint(java.lang.String sslThumbprint) {\r\n this.sslThumbprint = sslThumbprint;\r\n }", "title": "" }, { "docid": "d8eefe07d601451c5f49ef29d415d806", "score": "0.46677524", "text": "public JWKBuilder<T, B> X509CertificateSHA1Thumbprint(String sha1Thumbprint) {\n keyParameter(X509_CERTIFICATE_SHA1_THUMBPRINT, sha1Thumbprint);\n return this;\n }", "title": "" }, { "docid": "a5524c8b49461b5e609587a883f59961", "score": "0.46592236", "text": "@javax.annotation.Nullable\n @ApiModelProperty(value = \"Base64 encdoed PEM certificate\")\n\n public String getCertificate() {\n return certificate;\n }", "title": "" }, { "docid": "88240289b557f53c88337f97b8acc3cd", "score": "0.46582296", "text": "public SubResource sslCertificate() {\n return this.sslCertificate;\n }", "title": "" }, { "docid": "7370a1dab4623ccd0582334c68f4391b", "score": "0.46411198", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getCert() {\n return cert_;\n }", "title": "" }, { "docid": "7370a1dab4623ccd0582334c68f4391b", "score": "0.46411198", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getCert() {\n return cert_;\n }", "title": "" }, { "docid": "7370a1dab4623ccd0582334c68f4391b", "score": "0.46411198", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getCert() {\n return cert_;\n }", "title": "" }, { "docid": "7ab7ed404155029bdb1261bdb38f6495", "score": "0.46262765", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getCert() {\n return cert_;\n }", "title": "" }, { "docid": "7ab7ed404155029bdb1261bdb38f6495", "score": "0.46262765", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getCert() {\n return cert_;\n }", "title": "" }, { "docid": "7ab7ed404155029bdb1261bdb38f6495", "score": "0.46262765", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getCert() {\n return cert_;\n }", "title": "" }, { "docid": "6b84cb8455ffc2072b713630d6e87bca", "score": "0.46212658", "text": "public String getClientCertificateId() {\n return this.ClientCertificateId;\n }", "title": "" }, { "docid": "0a57a49cca8351a54bc913a0a1d26b4d", "score": "0.46158963", "text": "public Object embeddedCertData() {\n return this.innerTypeProperties() == null ? null : this.innerTypeProperties().embeddedCertData();\n }", "title": "" }, { "docid": "8a4c8c4696805ca86527a8e9ff717b2e", "score": "0.45908028", "text": "@ApiModelProperty(value = \"Possible values: 0: Static 1: CoSign 2: RemoteTelecom 3: RemoteAruba \")\n public Integer getCertType() {\n return certType;\n }", "title": "" }, { "docid": "99140c203ae09ea98ed830a77eec696e", "score": "0.45724607", "text": "public URI getCertificateUrl() {\n return this.certificateUrl;\n }", "title": "" }, { "docid": "30c2da3190d44fb903392eb6ad87ec8f", "score": "0.44957474", "text": "X509Certificate getCertificate();", "title": "" }, { "docid": "821161c21008a0b73a55c9974b0ad78c", "score": "0.4428972", "text": "public String getTrustAnchorCertificate() {\n return this.trustAnchorCertificate;\n }", "title": "" }, { "docid": "cca6c649d5923a5edf755c347e45c994", "score": "0.44276777", "text": "private void setClientCertificateFingerprint(Certificate cert) {\r\n fingerprint = getCertFingerprint(cert, \"SHA-1\");\r\n }", "title": "" }, { "docid": "04956d9b966ce5f3f3bfd93bd544a677", "score": "0.44070402", "text": "public void setThumbprint(String thumbprint) {\n this.thumbprint = thumbprint;\n }", "title": "" }, { "docid": "9ca2e9f373a04ade437a5e7af370745e", "score": "0.43886566", "text": "public String getCert() {\n\t\treturn this.cert;\n\t}", "title": "" }, { "docid": "a9c4e239d8f271b53d8f536581ed7be0", "score": "0.43769825", "text": "@Override\r\n\tpublic String getSSLCertificate(String memberPrivateIp) throws CPEException {\n\t\treturn \"\";\r\n\t}", "title": "" }, { "docid": "baff5bd8b329959f03bd6957ced4b463", "score": "0.43663058", "text": "public void setKeyIdentifierThumb(X509Certificate cert) throws WSSecurityException {\n Document doc = element.getOwnerDocument();\n byte[] encodedCert = null;\n try {\n encodedCert = cert.getEncoded();\n } catch (CertificateEncodingException e1) {\n throw new WSSecurityException(\n WSSecurityException.SECURITY_TOKEN_UNAVAILABLE, \"encodeError\", null, e1\n );\n }\n try {\n byte[] encodedBytes = WSSecurityUtil.generateDigest(encodedCert);\n org.w3c.dom.Text text = doc.createTextNode(Base64.encode(encodedBytes));\n createKeyIdentifier(doc, THUMB_URI, text, true);\n } catch (WSSecurityException e1) {\n throw new WSSecurityException(\n WSSecurityException.FAILURE, \"noSHA1availabe\", null, e1\n );\n }\n }", "title": "" }, { "docid": "64e6c7ae73dabde13502105c3a9281e4", "score": "0.4249979", "text": "public void setCertType(Long certType) {\n this.certType = certType;\n }", "title": "" }, { "docid": "a0bc131f1db501cee5e5f7fceaa920f2", "score": "0.4200704", "text": "public static String m1074a(Certificate certificate) {\n if (certificate instanceof X509Certificate) {\n return \"sha256/\" + m1075b((X509Certificate) certificate).base64();\n }\n throw new IllegalArgumentException(\"Certificate pinning requires X509 certificates\");\n }", "title": "" }, { "docid": "def214ce7730bab84f74150e6e1377d1", "score": "0.41994715", "text": "public String getCertificateId() {\n return this.CertificateId;\n }", "title": "" }, { "docid": "e7cddf344334933d68ba91ec38a4338b", "score": "0.41757336", "text": "public TeacherCert getCert() {return cert;}", "title": "" }, { "docid": "2c685c8d7373f062772c820b0ae25db1", "score": "0.41330767", "text": "public void setClientCertificateId(String ClientCertificateId) {\n this.ClientCertificateId = ClientCertificateId;\n }", "title": "" }, { "docid": "b8025edad0f0e1ea4a019f4b0e79087b", "score": "0.41291136", "text": "public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "title": "" }, { "docid": "2f7bc9968142cb33679d098774dc1d3a", "score": "0.41133168", "text": "public com.google.protobuf.ByteString getCertificate(int index) {\n return certificate_.get(index);\n }", "title": "" }, { "docid": "6518944f901f37da2b359b2af1c942a7", "score": "0.4109057", "text": "public String getThumbNail() {\n\t\treturn thumbNail;\n\t}", "title": "" }, { "docid": "bcbb1b555152ca32364bfaecb6b74735", "score": "0.40669212", "text": "public PagedList<CertificateInner> list() {\n ServiceResponse<Page<CertificateInner>> response = listSinglePageAsync().toBlocking().single();\n return new PagedList<CertificateInner>(response.getBody()) {\n @Override\n public Page<CertificateInner> nextPage(String nextPageLink) {\n return listNextSinglePageAsync(nextPageLink).toBlocking().single().getBody();\n }\n };\n }", "title": "" }, { "docid": "235ee7683e556c6c6635e20e601d1ae4", "score": "0.40585706", "text": "public Certificate withCertificateType(String certificateType) {\n setCertificateType(certificateType);\n return this;\n }", "title": "" }, { "docid": "7fa98dd12dc7e0bc53894d63b301b5dc", "score": "0.40459043", "text": "public byte[] getThumbnail() {\n\t\treturn thumbnail;\n\t}", "title": "" }, { "docid": "6993f1bb9bda8df86f8a91739fc8166a", "score": "0.40431258", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getCertificateIdentifier() != null)\n sb.append(\"CertificateIdentifier: \").append(getCertificateIdentifier()).append(\",\");\n if (getCertificateType() != null)\n sb.append(\"CertificateType: \").append(getCertificateType()).append(\",\");\n if (getThumbprint() != null)\n sb.append(\"Thumbprint: \").append(getThumbprint()).append(\",\");\n if (getValidFrom() != null)\n sb.append(\"ValidFrom: \").append(getValidFrom()).append(\",\");\n if (getValidTill() != null)\n sb.append(\"ValidTill: \").append(getValidTill()).append(\",\");\n if (getCertificateArn() != null)\n sb.append(\"CertificateArn: \").append(getCertificateArn()).append(\",\");\n if (getCustomerOverride() != null)\n sb.append(\"CustomerOverride: \").append(getCustomerOverride()).append(\",\");\n if (getCustomerOverrideValidTill() != null)\n sb.append(\"CustomerOverrideValidTill: \").append(getCustomerOverrideValidTill());\n sb.append(\"}\");\n return sb.toString();\n }", "title": "" }, { "docid": "dac06db4b47689cf02cb29ab59288e32", "score": "0.40387234", "text": "public String getCertificateArn() {\n return this.certificateArn;\n }", "title": "" }, { "docid": "04c2937d290f1cc20bb40ab9056dcbc0", "score": "0.40373686", "text": "com.google.protobuf.ByteString getCertificate(int index);", "title": "" }, { "docid": "5ebdae7a215e10b0429f730d1a1e357a", "score": "0.40352914", "text": "public String getCertificateIdentifier() {\n return this.certificateIdentifier;\n }", "title": "" }, { "docid": "8079e09270ca1e6df65cca9c3853f8a4", "score": "0.40245348", "text": "public java.util.List<? extends soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERTOrBuilder> \n getCertOrBuilderList() {\n return cert_;\n }", "title": "" }, { "docid": "021e9bb859be89367cdbab2b90d7b09c", "score": "0.40088868", "text": "public void setCertificateType(String certificateType) {\n this.certificateType = certificateType;\n }", "title": "" }, { "docid": "856fb1741b36647dec363ca3527aea0c", "score": "0.4007377", "text": "public HostAikCertificate retrieveHostAikCertificate(String hostUuid) {\n log.debug(\"target: {}\", getTarget().getUri().toString());\n HashMap<String,Object> map = new HashMap<>();\n map.put(\"host_id\", hostUuid);\n // We are passing the host UUID to \"id\" also even though it will not be used (without this framework treats this call as a \n // search call instead of a retrieve call. Currently we support only one aik certificate for a host, we can retrieve\n // the aik certificate for the host uniquely with the host uuid itself.\n map.put(\"id\", hostUuid); \n HostAikCertificate obj = getTarget().path(\"hosts/{host_id}/aik-certificates/{id}\")\n .resolveTemplates(map).request(MediaType.APPLICATION_JSON).get(HostAikCertificate.class);\n return obj;\n }", "title": "" }, { "docid": "48ac08c34b84be3937e360294848aa2d", "score": "0.3990035", "text": "public String getCertCode() {\n return certCode;\n }", "title": "" }, { "docid": "6cd715e58d401dfa7edbc227ae504f98", "score": "0.3986133", "text": "@Override\n public java.lang.String getSslCertificateUUid() {\n return _broker.getSslCertificateUUid();\n }", "title": "" }, { "docid": "04ec1d50bc942c0e6d9ddcd341a40855", "score": "0.39793843", "text": "public byte[] getThumbnailFile() {\n return thumbnailFile;\n }", "title": "" }, { "docid": "43eb2e4415c4db5d081903df7d3259d9", "score": "0.39767975", "text": "public java.util.List<com.google.protobuf.ByteString>\n getCertificateList() {\n return certificate_;\n }", "title": "" }, { "docid": "172cdc9bcdcafa70925afdc1ee95eb76", "score": "0.39600268", "text": "PEMCollection retrieveCertificate(CertificateRequest request) throws VCertException;", "title": "" }, { "docid": "b9f7031a77d9d601a808e4489ca8aae4", "score": "0.39472282", "text": "public X509Certificate getCertificate() {\n\t\treturn certificatePK;\n\t}", "title": "" }, { "docid": "0bfbf757b7f7b842cb4e3ac4d3508891", "score": "0.3937241", "text": "public static String thumbImageProfile(KConfiguration configuration, String pid) {\n return dsProfile(configuration, FedoraUtils.IMG_THUMB_STREAM , pid);\n }", "title": "" }, { "docid": "433693eb92ff3608dd1a4562160a15e5", "score": "0.3935339", "text": "@RequestMapping(value=\"/photos/{photoId}/thumb\", method=RequestMethod.GET)\n\t@ResponseBody\n\tpublic ResponseEntity<byte[]> getPhotoThumb(\n\t\t\t@PathVariable(\"photoId\") final long photoId) {\n\t\t\n\t\tfinal Photo dbPhoto = photoRepo.findByPhotoId(photoId);\n\t\tif(dbPhoto == null){\n\t\t\treturn new ResponseEntity<>(HttpStatus.NOT_FOUND);\n\t\t}\n\t\t\n\t\treturn ResponseEntity\n\t\t\t\t.ok()\n\t\t\t\t.contentType(MediaType.IMAGE_JPEG)\n\t\t\t\t.contentLength(dbPhoto.getThumb().length)\n\t\t\t\t.body(dbPhoto.getThumb());\n\t}", "title": "" }, { "docid": "577cf71810144435e6936c16b8787e13", "score": "0.39246434", "text": "public int getCertificateProfileId() { return certificateProfileId; }", "title": "" }, { "docid": "62ae3734586274c29ad5ca3656fcc82b", "score": "0.39138782", "text": "public TdeCertificatesInner tdeCertificates() {\n return this.tdeCertificates;\n }", "title": "" }, { "docid": "83566a191bbda59b741ab3d23bab0ace", "score": "0.3906409", "text": "public java.util.List<com.google.protobuf.ByteString>\n getCertificateList() {\n return java.util.Collections.unmodifiableList(certificate_);\n }", "title": "" }, { "docid": "bacd92fb9a4dac6e6c2fc93fa70bc293", "score": "0.3902843", "text": "public void setCert(TeacherCert ct) \r\n {\r\n\tcert = ct; \r\n }", "title": "" }, { "docid": "acbbc255d5c901e84876f950fc9caf7d", "score": "0.3899674", "text": "public java.util.List<soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERT> getCertList() {\n return cert_;\n }", "title": "" }, { "docid": "cdd562282eca9feb7a05b09d4e7643a1", "score": "0.38855195", "text": "public interface CryptoCertificate {\n /**\n * Gets the cryptoCertId property: ID for the certificate.\n *\n * @return the cryptoCertId value.\n */\n String cryptoCertId();\n\n /**\n * Gets the name property: Name of the certificate.\n *\n * @return the name value.\n */\n String name();\n\n /**\n * Gets the subject property: Subject information of the certificate.\n *\n * @return the subject value.\n */\n CryptoCertificateEntity subject();\n\n /**\n * Gets the issuer property: Issuer information of the certificate.\n *\n * @return the issuer value.\n */\n CryptoCertificateEntity issuer();\n\n /**\n * Gets the issuedDate property: Issue date for the certificate.\n *\n * @return the issuedDate value.\n */\n OffsetDateTime issuedDate();\n\n /**\n * Gets the expirationDate property: Expiration date for the certificate.\n *\n * @return the expirationDate value.\n */\n OffsetDateTime expirationDate();\n\n /**\n * Gets the role property: Role of the certificate (Root CA, etc).\n *\n * @return the role value.\n */\n String role();\n\n /**\n * Gets the signatureAlgorithm property: The signature algorithm used in the certificate.\n *\n * @return the signatureAlgorithm value.\n */\n String signatureAlgorithm();\n\n /**\n * Gets the keySize property: Size of the certificate's key in bits.\n *\n * @return the keySize value.\n */\n Long keySize();\n\n /**\n * Gets the keyAlgorithm property: Key algorithm used in the certificate.\n *\n * @return the keyAlgorithm value.\n */\n String keyAlgorithm();\n\n /**\n * Gets the encoding property: Encoding used for the certificate.\n *\n * @return the encoding value.\n */\n String encoding();\n\n /**\n * Gets the serialNumber property: Serial number of the certificate.\n *\n * @return the serialNumber value.\n */\n String serialNumber();\n\n /**\n * Gets the fingerprint property: Fingerprint of the certificate.\n *\n * @return the fingerprint value.\n */\n String fingerprint();\n\n /**\n * Gets the usage property: List of functions the certificate can fulfill.\n *\n * @return the usage value.\n */\n List<String> usage();\n\n /**\n * Gets the filePaths property: List of files paths for this certificate.\n *\n * @return the filePaths value.\n */\n List<String> filePaths();\n\n /**\n * Gets the pairedKey property: A matching paired private key.\n *\n * @return the pairedKey value.\n */\n PairedKey pairedKey();\n\n /**\n * Gets the isExpired property: Indicates if the certificate is expired.\n *\n * @return the isExpired value.\n */\n IsExpired isExpired();\n\n /**\n * Gets the isSelfSigned property: Indicates if the certificate was self-signed.\n *\n * @return the isSelfSigned value.\n */\n IsSelfSigned isSelfSigned();\n\n /**\n * Gets the isWeakSignature property: Indicates the signature algorithm used is insecure.\n *\n * @return the isWeakSignature value.\n */\n IsWeakSignature isWeakSignature();\n\n /**\n * Gets the isShortKeySize property: Indicates the certificate's key size is considered too small to be secure for\n * the key algorithm.\n *\n * @return the isShortKeySize value.\n */\n IsShortKeySize isShortKeySize();\n\n /**\n * Gets the inner com.azure.resourcemanager.iotfirmwaredefense.fluent.models.CryptoCertificateInner object.\n *\n * @return the inner object.\n */\n CryptoCertificateInner innerModel();\n}", "title": "" }, { "docid": "6e0d298436b435c9de3976c3755802ec", "score": "0.38705647", "text": "public String getThumbnail() {\n return thumbnail;\n }", "title": "" }, { "docid": "d2b944104f59adc2a0d911c08d206bb4", "score": "0.3861766", "text": "public soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERT getCert(int index) {\n return cert_.get(index);\n }", "title": "" }, { "docid": "56ad41a828afd8cee3b11d924acebfc7", "score": "0.3860835", "text": "protected Dimension getThumbSize()\n {\n // This is really just the bounds box for the thumb.\n // The thumb will actually be pointed (like a rectangle + triangle at bottom)\n return thumbRect.getSize();\n }", "title": "" }, { "docid": "7183956ee49fd077332d3dcb402832a8", "score": "0.38568282", "text": "@GetMapping(\"{id}\")\n\tpublic ResponseEntity<Certificate> getCertificateById(@PathVariable(\"id\") long certificateId){\n\t\treturn new ResponseEntity<Certificate>(certificateService.getCertificateById(certificateId), HttpStatus.OK);\n\t}", "title": "" }, { "docid": "79ebd11d63f991590c07d4d43be0fa7b", "score": "0.3855978", "text": "@Override\n public X509Certificate getClientCertificate()\n throws java.security.cert.CertificateException\n {\n TempBuffer tb = TempBuffer.allocate();\n byte []buffer = tb.getBuffer();\n int len = getClientCertificate(_fd, buffer, 0, buffer.length);\n X509Certificate cert = null;\n \n if (len > 0 && len < buffer.length) {\n try {\n CertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\n InputStream is = new ByteArrayInputStream(buffer, 0, len);\n cert = (X509Certificate) cf.generateCertificate(is);\n is.close();\n } catch (IOException e) {\n return null;\n }\n }\n \n TempBuffer.free(tb);\n tb = null;\n \n return cert;\n }", "title": "" }, { "docid": "a49e514492c9945a406df84e5029aa32", "score": "0.3840922", "text": "public String getThumbnailPath() {\n return thumbnailPath;\n }", "title": "" }, { "docid": "3baf7218e50cf5ca694c8ed986dae131", "score": "0.38358206", "text": "public IosImportedPFXCertificateProfile get() throws ClientException {\n return send(HttpMethod.GET, null);\n }", "title": "" }, { "docid": "e8e30d5e8796e3f14ceb2f3aa487874b", "score": "0.37990227", "text": "soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERT getCert(int index);", "title": "" }, { "docid": "6b8ab2b57437ac21fc6bbbdb3d3121ec", "score": "0.37793547", "text": "java.util.List<soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERT> \n getCertList();", "title": "" }, { "docid": "f1bb78e12e6eb953617f5f26ca6e0e5d", "score": "0.37735808", "text": "public soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERT getCert(int index) {\n if (certBuilder_ == null) {\n return cert_.get(index);\n } else {\n return certBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "e69de949fef0302b5c8e534f36ebcbae", "score": "0.37710753", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getServerCertificateConfigurations() != null)\n sb.append(\"ServerCertificateConfigurations: \").append(getServerCertificateConfigurations());\n sb.append(\"}\");\n return sb.toString();\n }", "title": "" }, { "docid": "528d088437324798f48cb7c5b25517b0", "score": "0.37478605", "text": "public ImageObject thumbnail() {\n return this.thumbnail;\n }", "title": "" }, { "docid": "2acd65b3eea7b72aff41b9f5a8f5cc07", "score": "0.37418723", "text": "public CertificatesInner(Retrofit retrofit, WebSiteManagementClientImpl client) {\n this.service = retrofit.create(CertificatesService.class);\n this.client = client;\n }", "title": "" }, { "docid": "9c4ef4de2315f14f2d3823788bbfefc0", "score": "0.37414217", "text": "@Column(name = \"CERTIFICATE_NUM\", nullable = false, length = 7)\r\n\t\tpublic String getCertificateNum() {\r\n\t\t\treturn this.certificateNum;\r\n\t\t}", "title": "" }, { "docid": "710b09ace3a51746a1937fe51e48d3e0", "score": "0.374119", "text": "public String getThumbnailURL() {\n\t\treturn thumbnailURL;\n\t}", "title": "" }, { "docid": "3a00b56771f4dca07d467573dd58689e", "score": "0.37373096", "text": "private DataCollectionRuleAssociationProxyOnlyResourceProperties innerProperties() {\n return this.innerProperties;\n }", "title": "" }, { "docid": "e4525a4584d912d39282a9fc7c98a97a", "score": "0.37352753", "text": "private static PKIXCertPathBuilderResult verifyCertificate( X509Certificate cert,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSet< X509Certificate > trustedRootCerts,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSet< X509Certificate > intermediateCerts )\n\t\tthrows\n\t\t\tGeneralSecurityException\n\t{\n\n\t\t// Create the selector that specifies the starting certificate\n\t\tX509CertSelector selector = new X509CertSelector();\n\t\tselector.setCertificate( cert );\n\n\t\t// Create the trust anchors (set of root CA certificates)\n\t\tSet< TrustAnchor > trustAnchors = new HashSet< TrustAnchor >();\n\t\tfor (X509Certificate trustedRootCert : trustedRootCerts)\n\t\t{\n\t\t\ttrustAnchors.add( new TrustAnchor( trustedRootCert, null ) );\n\t\t}\n\n\t\t// Configure the PKIX certificate builder algorithm parameters\n\t\tPKIXBuilderParameters pkixParams =\n\t\t\t\t\t\t\t\tnew PKIXBuilderParameters( trustAnchors,\n\t\t\t\t\t\t\t\t\tselector );\n\n\t\t// Disable CRL checks (this is done manually as additional step)\n\t\tpkixParams.setRevocationEnabled( false );\n\n\t\t// Specify a list of intermediate certificates\n\t\tCertStore intermediateCertStore = CertStore.getInstance(\n\t\t\t\"Collection\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnew CollectionCertStoreParameters( intermediateCerts ),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSecurity.getProviders()[ 0 ] );\n\t\tpkixParams.addCertStore( intermediateCertStore );\n\n\t\t// Build and verify the certification chain\n\t\tCertPathBuilder builder = CertPathBuilder.getInstance(\n\t\t\t\"PKIX\",\n\t\t\tSecurity.getProviders()[ 0 ] );\n\t\tPKIXCertPathBuilderResult result =\n\t\t\t\t\t\t\t\t\t(PKIXCertPathBuilderResult) builder.build( pkixParams );\n\t\treturn result;\n\t}", "title": "" }, { "docid": "26b520c09f848f13c03798dde57a6fec", "score": "0.37336686", "text": "public void setCertificate(Certificate cert) { _cert = cert; }", "title": "" }, { "docid": "84c2a0268ad0d5f7891ba9d5eb6ea193", "score": "0.37327853", "text": "public String getThumbnail() {\n return getThumbnail(\"w320hx\");\n }", "title": "" }, { "docid": "477a99c97fda7859341ab99df47a6502", "score": "0.37319794", "text": "private X509Certificate extractClientCertificate(HttpServletRequest request) {\n X509Certificate[] certs = (X509Certificate[]) request.getAttribute(\"javax.servlet.request.X509Certificate\");\n\n if (certs != null && certs.length > 0) {\n return certs[0];\n }\n\n return null;\n }", "title": "" }, { "docid": "0ade3e48fc5f783d3bfe40b99281b93a", "score": "0.37250713", "text": "CustomCertificateInner innerModel();", "title": "" }, { "docid": "c29899f01ef2b5b441a3d31a69a43797", "score": "0.37129465", "text": "public interface CustomCertificate {\n /**\n * Gets the id property: Fully qualified resource Id for the resource.\n *\n * @return the id value.\n */\n String id();\n\n /**\n * Gets the name property: The name of the resource.\n *\n * @return the name value.\n */\n String name();\n\n /**\n * Gets the type property: The type of the resource.\n *\n * @return the type value.\n */\n String type();\n\n /**\n * Gets the systemData property: Metadata pertaining to creation and last modification of the resource.\n *\n * @return the systemData value.\n */\n SystemData systemData();\n\n /**\n * Gets the provisioningState property: Provisioning state of the resource.\n *\n * @return the provisioningState value.\n */\n ProvisioningState provisioningState();\n\n /**\n * Gets the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate.\n *\n * @return the keyVaultBaseUri value.\n */\n String keyVaultBaseUri();\n\n /**\n * Gets the keyVaultSecretName property: Certificate secret name.\n *\n * @return the keyVaultSecretName value.\n */\n String keyVaultSecretName();\n\n /**\n * Gets the keyVaultSecretVersion property: Certificate secret version.\n *\n * @return the keyVaultSecretVersion value.\n */\n String keyVaultSecretVersion();\n\n /**\n * Gets the name of the resource group.\n *\n * @return the name of the resource group.\n */\n String resourceGroupName();\n\n /**\n * Gets the inner com.azure.resourcemanager.signalr.fluent.models.CustomCertificateInner object.\n *\n * @return the inner object.\n */\n CustomCertificateInner innerModel();\n\n /** The entirety of the CustomCertificate definition. */\n interface Definition\n extends DefinitionStages.Blank,\n DefinitionStages.WithParentResource,\n DefinitionStages.WithKeyVaultBaseUri,\n DefinitionStages.WithKeyVaultSecretName,\n DefinitionStages.WithCreate {\n }\n /** The CustomCertificate definition stages. */\n interface DefinitionStages {\n /** The first stage of the CustomCertificate definition. */\n interface Blank extends WithParentResource {\n }\n /** The stage of the CustomCertificate definition allowing to specify parent resource. */\n interface WithParentResource {\n /**\n * Specifies resourceGroupName, resourceName.\n *\n * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param resourceName The name of the resource.\n * @return the next definition stage.\n */\n WithKeyVaultBaseUri withExistingSignalR(String resourceGroupName, String resourceName);\n }\n /** The stage of the CustomCertificate definition allowing to specify keyVaultBaseUri. */\n interface WithKeyVaultBaseUri {\n /**\n * Specifies the keyVaultBaseUri property: Base uri of the KeyVault that stores certificate..\n *\n * @param keyVaultBaseUri Base uri of the KeyVault that stores certificate.\n * @return the next definition stage.\n */\n WithKeyVaultSecretName withKeyVaultBaseUri(String keyVaultBaseUri);\n }\n /** The stage of the CustomCertificate definition allowing to specify keyVaultSecretName. */\n interface WithKeyVaultSecretName {\n /**\n * Specifies the keyVaultSecretName property: Certificate secret name..\n *\n * @param keyVaultSecretName Certificate secret name.\n * @return the next definition stage.\n */\n WithCreate withKeyVaultSecretName(String keyVaultSecretName);\n }\n /**\n * The stage of the CustomCertificate definition which contains all the minimum required properties for the\n * resource to be created, but also allows for any other optional properties to be specified.\n */\n interface WithCreate extends DefinitionStages.WithKeyVaultSecretVersion {\n /**\n * Executes the create request.\n *\n * @return the created resource.\n */\n CustomCertificate create();\n\n /**\n * Executes the create request.\n *\n * @param context The context to associate with this operation.\n * @return the created resource.\n */\n CustomCertificate create(Context context);\n }\n /** The stage of the CustomCertificate definition allowing to specify keyVaultSecretVersion. */\n interface WithKeyVaultSecretVersion {\n /**\n * Specifies the keyVaultSecretVersion property: Certificate secret version..\n *\n * @param keyVaultSecretVersion Certificate secret version.\n * @return the next definition stage.\n */\n WithCreate withKeyVaultSecretVersion(String keyVaultSecretVersion);\n }\n }\n /**\n * Begins update for the CustomCertificate resource.\n *\n * @return the stage of resource update.\n */\n CustomCertificate.Update update();\n\n /** The template for CustomCertificate update. */\n interface Update {\n /**\n * Executes the update request.\n *\n * @return the updated resource.\n */\n CustomCertificate apply();\n\n /**\n * Executes the update request.\n *\n * @param context The context to associate with this operation.\n * @return the updated resource.\n */\n CustomCertificate apply(Context context);\n }\n /** The CustomCertificate update stages. */\n interface UpdateStages {\n }\n /**\n * Refreshes the resource to sync with Azure.\n *\n * @return the refreshed resource.\n */\n CustomCertificate refresh();\n\n /**\n * Refreshes the resource to sync with Azure.\n *\n * @param context The context to associate with this operation.\n * @return the refreshed resource.\n */\n CustomCertificate refresh(Context context);\n}", "title": "" }, { "docid": "11ea0701f87b60aa3a76d0ff8169186b", "score": "0.3708877", "text": "static ByteString m1075b(X509Certificate x509Certificate) {\n return ByteString.m3563of(x509Certificate.getPublicKey().getEncoded()).sha256();\n }", "title": "" }, { "docid": "dde3c19e89c0033c8360e961c4eb4849", "score": "0.37058035", "text": "CryptoCertificateInner innerModel();", "title": "" }, { "docid": "0d29577075bc445240ffcbc36820f7e6", "score": "0.36997423", "text": "@Deprecated\n public byte[] rootcert() throws ClientApiException {\n return api.callApiOther(\"core\", \"other\", \"rootcert\", null);\n }", "title": "" }, { "docid": "26e1e1a3f80cab86531e9d78b8b4a6c2", "score": "0.36934543", "text": "private static String getClientID(X509Certificate clientSignCert) {\n\t\t\n\t\treturn clientSignCert.getIssuerX500Principal().getName();\n\t}", "title": "" }, { "docid": "4352fe68482e17822b06ba1586b8d4ee", "score": "0.36825705", "text": "@Test\n public void shouldReturnAInputStreamForTheCertificate() throws KeyStoreException, GenericRestTemplateException {\n String assertMsg = \"Should return a InputStream for the certificate\";\n //Given\n KeyStore certificatesKeyStore = ((GenericRestClient) genericRestClientWithSSL).getCertificatesKeyStore();\n //When\n boolean result = certificatesKeyStore != null;\n //Then\n assertTrue(assertMsg, result);\n assertEquals(assertMsg, restClientPropertiesWithSSL.getSslKeyStoreType(), certificatesKeyStore.getType());\n assertTrue(assertMsg, certificatesKeyStore.size() > 0);\n\n }", "title": "" }, { "docid": "324b1ae5fa2f3e8e65587714ccb90f54", "score": "0.36800224", "text": "public java.util.List<ServerCertificateConfiguration> getServerCertificateConfigurations() {\n return serverCertificateConfigurations;\n }", "title": "" }, { "docid": "83add9e2e968a9fa04b2ce6c13dbfe09", "score": "0.3670247", "text": "public java.util.List<? extends soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERTOrBuilder> \n getCertOrBuilderList() {\n if (certBuilder_ != null) {\n return certBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(cert_);\n }\n }", "title": "" }, { "docid": "89500641b8e484e30d1af4fbbe96b905", "score": "0.3666288", "text": "public soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERTOrBuilder getCertOrBuilder(\n int index) {\n return cert_.get(index);\n }", "title": "" }, { "docid": "e60dd580938eeaa45c9161a7206092e0", "score": "0.36570212", "text": "public Object enableServerCertificateValidation() {\n return this.innerTypeProperties() == null\n ? null\n : this.innerTypeProperties().enableServerCertificateValidation();\n }", "title": "" }, { "docid": "9ccae5c65de39e560828834db4b4fca6", "score": "0.36561984", "text": "java.util.List<? extends soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERTOrBuilder> \n getCertOrBuilderList();", "title": "" }, { "docid": "35ad4606ba7056f7e7928cb020a6a4e3", "score": "0.36531803", "text": "public java.util.List<soc.storm.situation.protocolbuffer.AddressBookProtosTDGYWA.SSL.SSL_CERT> getCertList() {\n if (certBuilder_ == null) {\n return java.util.Collections.unmodifiableList(cert_);\n } else {\n return certBuilder_.getMessageList();\n }\n }", "title": "" } ]
f571cb77bab9ceb2bc840a8a7a9f2a3b
Prosedur aksi untuk memulai program.
[ { "docid": "b42bb4da4371a523cc32e722fbcf6c99", "score": "0.5541237", "text": "private static void mulai(final String namaBerkasPeta) {\n Pencipta p = Pencipta.getPencipta();\n p.bacaPeta(namaBerkasPeta);\n Dunia d = Dunia.getDunia();\n SwingUtilities.invokeLater(JButtonListener::displayJFrame);\n d.start();\n p.start();\n }", "title": "" } ]
[ { "docid": "1bf56e483f1a677cd242ce3ea29ea9c4", "score": "0.7251987", "text": "public void program() {\r\n\r\n\t\tdiziDoldur();\r\n\t\tdiziYazdir();\r\n\t\tmukerreElamaniBul();\r\n\r\n\t}", "title": "" }, { "docid": "9666b749bd8f2e5d86e92a0352cef658", "score": "0.6403312", "text": "public static void main(String[] args) {\n Bus Bus = new Bus(100) ;\n \n //User memasukkan password\n Bus.cetakPenumpang ();\n System.out.println(\"----------------------------------------------------------------------------------\");\n \n //penambahan penumpang\n System.out.println(\"Penambahan penumpang : \");\n Bus.getPenumpang (24);\n Bus.addpenumpang(28) ; //tambah 24 penumpang\n Bus.cetakPenumpang();\n Bus.getAverage(1540);\n System.out.println(\"----------------------------------------------------------------------------------\");\n \n \n //penambahan penumpang\n Bus.getPenumpang (24);\n Bus.addpenumpang(32) ; //tambah 32 penumpang\n Bus.cetakPenumpang();\n Bus.getAverage(3460);\n System.out.println(\"----------------------------------------------------------------------------------\");\n \n //penambahan penumpang\n Bus.getPenumpang (24);\n Bus.addpenumpang(21) ; //tambah 21 penumpang\n Bus.cetakPenumpang();\n Bus.getAverage(4405);\n System.out.println(\"----------------------------------------------------------------------------------\");\n \n //penambahan penumpang\n Bus.getPenumpang (24);\n Bus.addpenumpang(21) ; //tambah 21 penumpang\n Bus.cetakPenumpang();\n Bus.getAverage(4975);\n System.out.println(\"----------------------------------------------------------------------------------\");\n \n //penambahan penumpang\n Bus.getPenumpang (24);\n Bus.addpenumpang(19) ; //tambah 19 penumpang\n Bus.cetakPenumpang();\n Bus.getAverage(6235); \n \n }", "title": "" }, { "docid": "6a087a41782694907148a597f1c7a1f3", "score": "0.6400335", "text": "public static void main(String[] args){\n PBOIF210119060Latihan5KambingGlobal KambingSusu = new PBOIF210119060Latihan5KambingGlobal();\r\n \r\n //menampilkan jumlah kambing yang ada saat petama x berjalan\r\n KambingSusu.getJumlahKambing();\r\n \r\n //menambah satu kambing\r\n KambingSusu.tambahKambing();\r\n \r\n //menampilkan jumlah kambing yang ada\r\n KambingSusu.getJumlahKambing();\r\n }", "title": "" }, { "docid": "ec588a50b9ac0f76d1c6020ea0dfb0a1", "score": "0.63135016", "text": "private void Program()\r\n\tthrows IOException\r\n\t{\r\n\t\tswitch(this.token)\r\n\t\t{\r\n\t\tcase T_KW_PROGRAM:\r\n\t\t\tSystem.out.println(\"1 Program -> program identifikator ; Blok .\");\r\n\t\t\tcompare(Token.T_KW_PROGRAM);\r\n\t\t\tcompare(Token.T_IDENTIFIER);\r\n\t\t\tcompare(Token.T_SEMICOLON);\r\n\t\t\tBlok();\r\n\t\t\tcompare(Token.T_DOT);\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tSystem.err.println(\"CHYBA: Nelze expandovat Program!\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9725b0b1c6f3a36ae8be28573f4966e7", "score": "0.6184486", "text": "private static void porTamanio() {\n\t\tSystem.out.print(\"Mayores que cuanto MBytes?\");\r\n\t\tint mb=s.nextInt();\r\n\t\tlong tam=mb*1024L*1024L;\r\n\t\tbusqueda.buscarMayores(tam);\r\n\t\tif (busqueda.getEncontrados().size()==0)\r\n\t\t\tJOptionPane.showMessageDialog(null, \"No se ha encontardo nada\");\r\n\t\telse\r\n\t\t\tSystem.out.println(busqueda);\r\n\t}", "title": "" }, { "docid": "74e696fd1e0c30ebfb3e1eeb55f02c9f", "score": "0.6160214", "text": "public void inputProgram()\n {\n // Display instructions on how to enter a program into \n // the Simpletron's memory.\n System.out.println(\"*** Welcome to Simpletron! ***\");\n System.out.println(\"*** Please enter your program one instruction ***\");\n System.out.println(\"*** (or data word) at a time. I will display ***\");\n System.out.println(\"*** the location number and a question mark (?) ***\");\n System.out.println(\"*** You then type the word for that location. ***\");\n System.out.println(\"*** Type -99999 to stop entering your program. ***\");\n System.out.println();\n \n Scanner scan = new Scanner(System.in);\n \n // Sentinel value that denotes the user is finished \n // with entering the program.\n final int END_OF_INPUT = -99999;\n \n for (int memorySlot = 0; memorySlot < stMemory.getSize(); memorySlot++)\n {\n // Prompt for data to load this memory slot with.\n System.out.printf(\"%02d ? \", memorySlot);\n \n // Get data and write it to memory.\n int data = scan.nextInt();\n if (data == END_OF_INPUT) break;\n else stMemory.write(memorySlot, data);\n }\n \n System.out.println(\"*** Program loading completed ***\");\n System.out.println();\n }", "title": "" }, { "docid": "97844a9f74b4a809f288aafc46869f73", "score": "0.6159225", "text": "public CadastrarPrograma() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\t}", "title": "" }, { "docid": "b160ecbf5a5db9d79daad1c730296178", "score": "0.613802", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\t\r\n//\t\tprintError(\"Do you know the way?\");\r\n\t\t\r\n\t\tSystem.out.println(\"Creating a OS Memory Simulation Object\");\r\n\t\t\r\n\t\tint _setsize = 0; \r\n\t\t\r\n\t\t\r\n\t\twhile (true )\r\n\t\t{\r\n\t\tSystem.out.println(\"How much memory do you want to use? \");\r\n\t\t_setsize = scan.nextInt();\r\n\t\t\r\n\t\t\r\n\t\tif (30 <= _setsize && _setsize <= 2000)\r\n\t\t\tbreak;\r\n\t\telse\r\n\t\t\tSystem.out.println(\"You need enough memory for your OS and your system capacity between 30k and 2000k\");\r\n\t\t\r\n\t\tSystem.out.println(\"Your system cannot handle \" + _setsize +\"k\");\r\n\t\t\r\n\t\t\r\n\t\t}\r\n\t\tOSMemory my = new OSMemory(_setsize);\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\twhile (true)\r\n\t\t{\r\n\t\tSystem.out.println(\"Select a simulation type below me : \");\r\n\t\t\r\n\t\tint _tempCount = -1;\r\n\t\tfor (String s : my._memoryNames )\r\n\t\t{\r\n\t\t\tif (_tempCount++ == -1)\r\n\t\t\t\tcontinue; //System.out.print(\"Exit\");\r\n\t\t\t\r\n\t\t\t\tSystem.out.println(_tempCount + \" : \" + s);\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t\tint num = scan.nextInt();\r\n\t\t\t\r\n\t\t// Start up the the memory \t\r\n\t\t\tif (my.initMemory(num))\r\n\t\t\t\tbreak;\r\n\t\t\telse System.out.println(\"Memory set to \\\"\" + my.getMemoryType() + \"\\\" \\nError message : \" + my.getLastError());\r\n\t\t\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(\"Memory is being allocated for \" + my.getMemoryType());\r\n\t\t\r\n\t\t//System.out/\r\n\t\t \r\n\t\t\r\n\t\tSystem.out.println(\"Ending simulation, thank you for stopping at Heuman Consulting!\");\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "d96b559d070741760b1c959f4ae6aba5", "score": "0.59941894", "text": "private static void doHelp() {\r\n\t\ttry {\r\n\t\t\tClassLoader loader = Main.class.getClassLoader();\r\n\t\t\tInputStream usageStream = loader.getResourceAsStream(\"usage.txt\");\r\n\t\t\tBufferedReader usageReader = new BufferedReader(\r\n\t\t\t\t\tnew InputStreamReader(usageStream));\r\n\t\t\tString line;\r\n\t\t\tdo {\r\n\t\t\t\tline = usageReader.readLine();\r\n\t\t\t\tmessage(line == null ? \"\" : line);\r\n\r\n\t\t\t} while (line != null);\r\n\t\t} catch (IOException e) {\r\n\t\t\tlogger.warn(\"Probleme pour l'aide\", e);\r\n\t\t} finally {\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "baa8d459e8ffd7d257b6bbb3890797fb", "score": "0.59614366", "text": "public static void main(String[] args) {\n\n setDatos();\n getTodosLosDelitos();\n //consultar();\n }", "title": "" }, { "docid": "29e6acb08e04e47330aacbe82a3edd23", "score": "0.5947549", "text": "public static void main(String[] args){\n\tSystem.out.println(\"1 Baris berhasil dicompile!\");\n }", "title": "" }, { "docid": "d71d91c5b486049cbd0105f0f2a9967c", "score": "0.58788335", "text": "public static void main(String[] args) {\n\t\t\r\n\t\t\t\t\r\n\t\tKisi tamer = new Kisi(\"Tamer\", \"111 444 555 55\");\r\n\t\tKisi yemekci = Kisi.Olustur(\"Lahmacuncu Zeki\", \"666 999 666 222 444\");\r\n\t\tcepTelefonumuz.rehberekisiEkle(tamer);\r\n\t\tcepTelefonumuz.rehberekisiEkle(yemekci);\r\n\t\tcepTelefonumuz.rehberekisiEkle(Kisi.Olustur(\"ChuFeng\", \"66699 22 44 222\"));\r\n\t\t\r\n\r\n\t\t\r\n\t\tacilis();\r\n\t\tmenu();\r\n\t\tsecim();\r\n\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "524eaab5bc6add4b5d03898b72654daf", "score": "0.5878711", "text": "public static void main(String[] args){\n //primero variables\n String nombre;\n System.out.println(\"Por favor, dime tu nombre *w*: \");\n //queremos obtener el nombre de la entrada estandar de la computadora\n //¿quien es la entrada estandar?\n //teclado, a partir de la linea de comando\n\n //primera forma para obtener un texto\n nombre = System.console().readLine();\n\n System.out.println(\"Hola \"+nombre+ \" bienvenido a tu segundo programa\");\n }", "title": "" }, { "docid": "ebafd3c9c54024aaee2d1306f278c60c", "score": "0.5871166", "text": "private static void programInstructions(){\n System.out.println(\"Enter '1' to add an item\");\n System.out.println(\"Enter '2' to remove an item\");\n System.out.println(\"Enter '3' to show items\");\n System.out.println(\"Enter 'exit' to save before quitting program\");\n }", "title": "" }, { "docid": "33194484b650c784f3c74d4880cb41a2", "score": "0.585922", "text": "public static void main(String[] args) {\n System.out.println(\"in main\");\r\n getmess();\r\n \r\n\t}", "title": "" }, { "docid": "49659c1f26d6d7d5f57ad06c15f5394f", "score": "0.5848141", "text": "public static void main(String[] args){\n KelasLuar.Programming MyLanguage = new KelasLuar.Programming();\r\n \r\n //Memasukan Nilai/Value\r\n MyLanguage.setLanguage(\"Java\");\r\n \r\n //Menampilkan Hasil Output\r\n System.out.println(\"Saya Sedang Mempelajari: \"+MyLanguage.getLanguage());\r\n }", "title": "" }, { "docid": "7161effc4b1e656d622a17a3e30197bd", "score": "0.5834701", "text": "public static void main(String[]args){\n\n\n\t\n }", "title": "" }, { "docid": "1136f9b3db19606e8b08076f76eed435", "score": "0.583429", "text": "public static void main(String[] args) {\n\t\tcamisa c1;\r\n\t\t\r\n\t\tc1 = new camisa();\r\n\t\tc1.manga = \"pequena\";\r\n\t\tc1.cor = \"vermelho\";\r\n\t\tc1.tipo = \"polo\";\r\n\t\tc1.tamanho = \"M\";\r\n\t\tc1.desenho = true;\r\n\t\tc1.status();\r\n\t\tc1.desenhar();\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\r\n\t}", "title": "" }, { "docid": "e4c2bfd2c0255e6bfefadd52fcf1a312", "score": "0.5827009", "text": "void uruchom(){\n System.out.println(\"Uruchomiłem samochód... \"+marka);\n }", "title": "" }, { "docid": "bda8de114a8b787e155bcf41f996cdb1", "score": "0.5822024", "text": "public static void main(String[] args) {\n\n\t\t\n\t\tboolean verdade = false;\n\t\tchar genero ='M';\n\t\tbyte x = 126;\n\t\t\n\n\t}", "title": "" }, { "docid": "d20d160b302ea4987480fb915abb1328", "score": "0.5806253", "text": "private void updateProgram() {\n tm.changeProgram(new Program(programArea.getText().trim()));\n }", "title": "" }, { "docid": "95280322c68f56f35f72df412f6bd201", "score": "0.5806194", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"ALGORITMO SALVAJE\");\n\t\tint i=0;\n\t\tint nota=0;\n\t\tboolean copiaEnExamen=true;\n\t\tdo{\n\t\t\tSystem.out.println(\"Tu nota es\"+ nota);\n\t\t\tif(i>20){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}while(copiaEnExamen);\n\t\tSystem.out.println(\"buena onda\");\n\n\t}", "title": "" }, { "docid": "5e98d528bc073cd1a263c488506e298c", "score": "0.5804369", "text": "public static void main(String[] args) {\n\t\tPntMgr run = new PntMgr();\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true) {\n\t\t\tFont font = new Font(\"궁서\", 50, 0);\n\t\t\tSystem.out.println(\"\\n=============================== 회원관리 ===============================\");\n\t\t\tSystem.out.println(\"1. 기존회원 등록 \\t\\t 2. 새로운 회원 등록 \\t\\t 3. 전체 회원 정보 출력\");\n\t\t\tSystem.out.println(\"4. 포인트적립 \\t\\t 5. 회원 정보 수정 \\t\\t 6. 회원 정보 삭제\");\n\t\t\tSystem.out.println(\"\\t\\t\\t 0. 프로그램 종료\");\n\t\t\tSystem.out.println(\"======================================================================\");\n\t\t\tSystem.out.print(\"선택 > \");\n\t\t\tint sel = sc.nextInt();\n\t\t\tswitch(sel) {\n\t\t\tcase 1:\n\t\t\t\trun.insertPerson();\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\trun.newPerson();\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\trun.printData();\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\trun.inserpoint();\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\trun.modifyData();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\trun.deleteData();\n\t\t\t\t//index --;\n\t\t\t\tbreak;\n\t\t\tcase 0:\n\t\t\t\tSystem.out.println(\"이용해주셔서 감사합니다. 프로그램을 종료합니다.\");\n\t\t\t\tSystem.exit(0);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t}\n\t\t\t//sc.close();\n\t\t}\n\t}", "title": "" }, { "docid": "cab9739b47997720e7cfe7df7d92ebd2", "score": "0.57533294", "text": "public static void main(String[] args) {\n\t\tint M[] =new int[5];\r\n\t\tint a,b;\r\n\t\tSystem.out.print(\"아동 수:\");\r\n\t\tScanner scan =new Scanner(System.in);\r\n\t\tM[0] = scan.nextInt();\r\n\t\t\r\n\t\tSystem.out.print(\"성인 수:\");\r\n\t\tScanner scan1 =new Scanner(System.in);\r\n\t\t\tM[1] = scan1.nextInt();\r\n\t\t\ta= M[0]+M[1];\r\n\t\tSystem.out.println(\"총수량:\"+a);\r\n\t\t\tM[2] = a;\r\n\t\t\tb= M[0]*6000 + M[1]*8000;\r\n\t\tSystem.out.print(\"금액:\"+ b);\r\n\t\t\t\r\n\t\tM[3] = b;\r\n\t}", "title": "" }, { "docid": "3bfbd2f37c97b4b62e8179b081df18b2", "score": "0.5751866", "text": "public void esegui(Programma prog) {}", "title": "" }, { "docid": "759a5b38c3e10d071cbe8d4f9615f313", "score": "0.5748382", "text": "public static void main(String[] args) {\n\t\tString[] Screen={\"Setting\"};\n\t\tString[] ChangeState={\"changeBluetoothON\",\"changeWifiON\",\"changeBluetoothOFF\",\"changeAirplane_modeOFF\",\"changeAirplane_modeON\",\"changeWifiOFF\"};\n\t\tFormulaTranslate.setScreenStates(Screen);\n\t\tFormulaTranslate.setChangeStates(ChangeState);\n\t\tParam p1 =new Param(\"Airplane_mode\",\"OFF\",ElementType.getOnOffType());\n\t\tParam p2=new Param(\"Wifi\",\"ON\",ElementType.getOnOffType());\n\t\tParam p3=new Param(\"Bluetooth\",\"ON\",ElementType.getOnOffType());\n\t\tMyAction a1=new MyAction(\"Wifi\", \"OFF\", \"ON\");\n\t\tMyAction a2=new MyAction(\"Bluetooth\", \"OFF\", \"ON\");\n\t\tp1.addAction(a1);\n\t\tp1.addAction(a2);\n\t\tWorkSpace.getInstance();\n\t\tWorkSpace.getInstance().addParameterToHash(p1);\n\t\t//WorkSpace.getInstance().addParameterToHash(p2);\n\t\t//WorkSpace.getInstance().addParameterToHash(p3);\n\t\t//FormulaTranslate.translateReq8a(\"Airplane_mode\",\"ON\");\n\t\t//FormulaTranslate.translateReq1();\n\t\tArrayList<String> a= new ArrayList();\n\t\ta.add(\"aaaa\");\n\t\tFormulaTranslate.translateReq3(\"screen1\",\"screen4\",a);\n\n\t}", "title": "" }, { "docid": "8b127d261c06c60773a6b5c53c4d599f", "score": "0.5743826", "text": "public static void runProgramOne() {\n String space = \"\"; //Empty string parameter.\r\n marioBoard1(space,space); //First board.\r\n marioBoard2(space,space); //Second board.\r\n }", "title": "" }, { "docid": "36a9185e11b8e732b645ef4e774244a1", "score": "0.5741327", "text": "private static void perparfood() {\n\r\n\t}", "title": "" }, { "docid": "6b0428b8228013741f79bd5b47f9bd17", "score": "0.57388777", "text": "private UpdateAmoProcess() {\r\n\t}", "title": "" }, { "docid": "7e3da615aea0458f0885a1dcd9c5db4f", "score": "0.5727291", "text": "public static void main(String[] args) {\n\t\tint choix;\n\n\t\tdo{\n\t\t\tchoix = menuGeneral();\n\t\t\tswitch(choix){\n\t\t\tcase 1: IuClasses.menuGeneral(); break;\n\t\t\tcase 2: IuJFrame.menuGeneral(); break;\n\t\t\tcase 3: IuStream.menuGeneral(); break;\n\t\t\tcase 4: IuJDBC.menuGeneral(); break;\n\t\t\tcase 5: IuJPA.menuGeneral(); break;\n\t\t\tcase 6: break;\n\t\t\tcase 7: break;\n\t\t\tcase 8: break;\n\t\t\tcase 9: break;\n\t\t\tcase 10: break;\n\t\t\tdefault: break;\n\n\t\t\t}\n\t\t}while(choix != 0);\n\t\tES.affiche(\"\\n\\t AU REVOIR ... A BIENTOT!!\");\n\t}", "title": "" }, { "docid": "730f77a221215900943bd6183281c683", "score": "0.5723807", "text": "public static void main(String[] args) {\n Calculator.doSum(30,20);\n Calculator.doSum(10,22,15);\n Calculator.stInfo(50,\"Vinhth\");\n\n Calculator.aboutMe(\"Easha\",5183449274L);\n Calculator.aboutMe(\"Pizza\", 21, 5200);\n\n System.gc();\n\n }", "title": "" }, { "docid": "7a4753d4b789b8a48fd2d6afefe6b4bf", "score": "0.57161623", "text": "public static void main(String argv[]) throws IOException\r\n\t{\t\t\t\r\n\t\tnumero = LecturaNumero();\t\t\t//asigna a numero el numero introducido\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\tserie= Ulam.Calcular_serie(numero);\t//calcula y muestra la serie de ulam\r\n\t\t\t\t\t\t\t\t\t\t\t//correspondiente\r\n\t\tMostrar(serie);\t\t\t\t\t\t\t\t\t\r\n\t}", "title": "" }, { "docid": "bb27887c51a4ef13a24613f92fbbe198", "score": "0.5706663", "text": "private void initmem()\n {\n scratch = new MemoryBankScratchEE(this);\n scratch.bankDescription = \"Scratchpad\";\n ((MemoryBankScratchEE)scratch).COPY_DELAY_LEN = 18; //TODO: Should be 10\n ((MemoryBankScratchEE)scratch).numVerificationBytes = 2;\n\n mainMemory = new MemoryBankNV(this, scratch);\n mainMemory.bankDescription = \"User Data Memory\";\n mainMemory.startPhysicalAddress = 0x000;\n mainMemory.size = 0x200;\n mainMemory.readOnly = false;\n mainMemory.generalPurposeMemory = true;\n mainMemory.readWrite = true;\n mainMemory.powerDelivery = true;\n\n protectionMemory = new MemoryBankNV(this, scratch);\n protectionMemory.bankDescription = \"Protection Control and Factory Bytes\";\n protectionMemory.startPhysicalAddress = 0x200;\n protectionMemory.size = 0x020;\n protectionMemory.readOnly = false;\n protectionMemory.generalPurposeMemory = false;\n protectionMemory.readWrite = true;\n protectionMemory.powerDelivery = true;\n\n pioMemory = new MemoryBankNV(this, scratch);\n pioMemory.bankDescription = \"PIO Readouts\";\n pioMemory.startPhysicalAddress = 0x220;\n pioMemory.size = 0x003;\n pioMemory.readOnly = true;\n pioMemory.generalPurposeMemory = false;\n pioMemory.nonVolatile = false;\n pioMemory.readWrite = false;\n pioMemory.powerDelivery = false;\n\n searchMemory = new MemoryBankNV(this, scratch);\n searchMemory.bankDescription = \"Conditional Search and Status Register\";\n searchMemory.startPhysicalAddress = 0x223;\n searchMemory.size = 0x003;\n searchMemory.readOnly = true;\n searchMemory.generalPurposeMemory = false;\n searchMemory.nonVolatile = false;\n searchMemory.readWrite = false;\n searchMemory.powerDelivery = false;\n }", "title": "" }, { "docid": "9387aaf8f3822a6b833581411700ddcd", "score": "0.5697313", "text": "public static void main(String[] args) {\n String option = null;\n String retour = null;\n String str = null;\n String [] tabAffichage;\n String[] tabMenuPremiereFois = {\"Ouvrir fichier texte\",\n \"Ouvrir fichier binaire\"};\n String[] tabMenuDeuxiemeFois = {\"Tous les députés d'une circonscription\",\n \"Tous les députés d'un parti\",\n \"le parti et la circonscription d'un député\",\n \"Quittez\"};\n //preparer le look and feel pour mac\n preparerPourMac();\n\n //Les données sont chargées en mémoire.\n Election election = new Election(Constantes.ANNEE_ELECTION);\n \n do{\n //Affichage du menu demandant quel type de fichier on veut ouvrir.\n str = (String) JOptionPane.showInputDialog(null,\n \"Sélectionnez le type de fichier\",\n \"Type de fichier (texte ou binaire?)\",\n 0, null, tabMenuPremiereFois, 0);\n\n if(str != null){\n //À exécuter la première fois (option ouvrir fic texte).\n if (str.equals(tabMenuPremiereFois[0])) {\n\n //lecture du fichier texte\n ModuleFichier.getElection(election);\n\n //generation de l'index\n //A FAIRE DANS LA PARTIE 2, donc mettez cette instruction en commentaire\n //pendant que vous faites la partie 1.\n\n\n //sauvegarde en binaire\n /// ModuleFichier.sauverFichierBinaire(election);\n\n //A éxécuter seulement après que le fichier texte ait été ouvert\n //et sauvegardé en binaire (option ouvrir fic bin).\n } else {\n election = ModuleFichier.getElectionBinaire();\n }\n election.genererIndex();\n tabAffichage = MethodeTestAffichagePartie1( election);\n \n \n \n /* JOptionPane.showMessageDialog(null,\n tabAffichage.toArray());*/\n \n \n //Affiche les données des 3 collections (pour tests... à enlever dans la partie 2)\n //Notez qu'on ne voit pas toutes les données, mais assez pour juger\n /* JOptionPane.showMessageDialog(null,\n election.obtenirNomsCirconscription());\n\n JOptionPane.showMessageDialog(null, election.obtenirNomsParti());\n\n JOptionPane.showMessageDialog(null, election.obtenirNomsDepute());*/\n do{\n option = affichageMenu(tabAffichage, election);\n // retour = sousMenu( Arrays.asList(tabMenuDeuxiemeFois).indexOf(option), election);\n /* if(option == tabMenuDeuxiemeFois[tabMenuDeuxiemeFois.length - 1]){\n option = null;\n str = null;\n }*/\n }while( option != null);\n\n if(str == null){\n JOptionPane.showMessageDialog(null, \"Merci et bonne journée!!!\");\n }\n }else{\n JOptionPane.showMessageDialog(null, \"Merci et bonne journée!!!\");\n }\n\n }while(str != null);\n }", "title": "" }, { "docid": "6937e124649fc0ee1110a91718558070", "score": "0.56931937", "text": "public void dictionaryBasic(){\r dic_mana.insertFromCommandline();\r showAllWords();\r }", "title": "" }, { "docid": "557ca1d4df2bed4361d75c808a4ca2dc", "score": "0.5688039", "text": "public static void main(String[] args) \n\t\t\tthrows java.io.IOException {\n\t\tSystem.out.print(\"Введите свой вес:\");\n\t\t\tint ves1 = Integer.valueOf(System.in.read()); \n\t\t\t//for (int z=ves1; z<-100;z--)\n\t\tSystem.out.println(\"Ваш вес = \" + ves1 + \" кг\");\n\t}", "title": "" }, { "docid": "900fcdb4a5dcbc0e46b468248ed608ab", "score": "0.56850636", "text": "public static void main(String[] args) \n {\n \tint numRes = Sys.in.readInt(\"Test SimpleMonitor con allocatore 1-2: battere numero risorse:\");\n TestAllSimpleMon ta = new TestAllSimpleMon(numRes);\n int numTh = Sys.in.readInt(\"Battere numero thread:\");\n Thread th[] = new Thread[numTh];\n for(int i=1; i<=numTh; i++)\n th[i-1] = new TTAllTh(\"a\"+i, ta, 3000, 5000);\n System.err.println(\"** Battere Ctrl-C per terminare!\");\n for(int i=0; i<numTh; th[i++].start());\n }", "title": "" }, { "docid": "a35260db74e2bd8dc8841dc077616d3c", "score": "0.5675935", "text": "void modificar(Programar programar);", "title": "" }, { "docid": "d5f053688c3b31b9085777a651ef04ac", "score": "0.56734335", "text": "public static void main(String[] args) {\n\n DigitalHouseManager unDigitalManager = new DigitalHouseManager();\n\n //2. Dar de alta dos profesores titulares y dos profesores adjuntos. (Inventar todos sus valores)\n unDigitalManager.altaProfesorTitular(\"Daniel\", \"Bonilla\", 1, \"Doctorado\");\n unDigitalManager.altaProfesorTitular(\"Leonardo\", \"Gonzalez\", 2, \"Ingeniero\");\n unDigitalManager.altaProfesorAdjunto(\"Jorge\", \"Gomez\", 3, 20);\n unDigitalManager.altaProfesorAdjunto(\"Claudio\", \"Perez\", 4, 22);\n\n //3. Dar de alta dos cursos.\n unDigitalManager.altaCurso(\"Full Stack\", 20001, 3);\n unDigitalManager.altaCurso(\"Android\", 20002, 2);\n\n //4. Asignarle un profesor titular y un adjunto a cada curso.\n unDigitalManager.asignarProfesores(20001, 1, 3);\n unDigitalManager.asignarProfesores(20002, 2, 4);\n\n //5. Dar de alta a tres alumnos. (Inventar todos sus valores).\n unDigitalManager.altaAlumno(\"Juan\", \"Perez\", 1);\n unDigitalManager.altaAlumno(\"Jorge\", \"Gutierrez\", 2);\n unDigitalManager.altaAlumno(\"Pedro\", \"Gallego\", 3);\n\n //6. Inscribir a dos alumnos en el curso de Full Stack.\n unDigitalManager.inscribirAlumno(1, 20001);\n unDigitalManager.inscribirAlumno(2, 20001);\n\n //7. Inscribir a dos alumnos en el curso de Android.\n unDigitalManager.inscribirAlumno(1, 20002);\n unDigitalManager.inscribirAlumno(2, 20002);\n\n //8. Inscribir a tres alumnos en el curso de Android.\n unDigitalManager.inscribirAlumno(3, 20002);\n\n }", "title": "" }, { "docid": "be0490c6211bd62d73d3bddd17bb6d50", "score": "0.56694436", "text": "public static void main(String[] args) {\n\r\n\t\tSystem.out.println(\"회원정보 CRUD :: ISUD 테스트 >>> :\");\r\n\r\n\t\t// 회원 정보 조회시 회원번호를 Scanner로 받음\r\n\t\tScanner sc = new Scanner(System.in);\r\n\r\n\t\twhile (true) {\r\n\t\t\tSystem.out.println(\"\\n\\n회원정보 전체조회 : 1\" + \"\\n조건조회 : 2\" + \"\\n등록 : 3\" + \"\\n 수정 : 4\" + \"\\n삭제 : 5\" + \"\\n종료 : 0\");\r\n\t\t\tint isud = sc.nextInt();\r\n\t\t\tif (0 == isud)\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tswitch (isud) {\r\n\r\n\t\t\tcase 1:\r\n\t\t\t\ttry {\r\n\t\t\t\t\tBdmMemberScr.bdmSelectAll();\r\n\t\t\t\t} catch (Exception e) {\r\n\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 2:\r\n\t\t\t\tSystem.out.println(\"조회할 회원의 회원번호 입력 >>>\");\r\n\t\t\t\tScanner sc1 = new Scanner(System.in);\r\n\t\t\t\ttry {\r\n\t\t\t\t\tString hnum = sc1.next();\r\n\t\t\t\t\tBdmMemberScr.bmemSelect(hnum);\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 3:\r\n\t\t\t\ttry {\r\n\t\t\t\t\tBdmMemberScr.bmemInsert();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 4:\r\n\t\t\t\ttry {\r\n\t\t\t\t\tBdmMemberScr.bMemUpdate();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase 5:\r\n\t\t\t\ttry {\r\n\t\t\t\t\tBdmMemberScr.bmemDelete();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "700d64807cb9372d4fb4cc0c46661b0b", "score": "0.5667369", "text": "public void newProgram() {\n instructions.clear();\n setAuthor(\"\");\n setEmail(\"\");\n setDescription(\"\");\n setFilename(\"newfile\");\n RemInstruction instruction = new RemInstruction();\n instruction.update(\"Your first line!\");\n instructions.add(instruction);\n }", "title": "" }, { "docid": "a787aaba41450de6a644bd24d1d1b368", "score": "0.56673545", "text": "public static void main(String[] args) {\r\n String text = Utilities.readConsoleValue(\"Введите текст: \");\r\n\r\n int range = Utilities.repeatInputUntilInt(\"Введите размер сочетания: \");\r\n\r\n TaskClass taskClass = new TaskClass(text, range);\r\n\r\n System.out.println(\"Словарь словосочетаний длинной в \" + range + \" символа(ов):\");\r\n\r\n taskClass.getMap().forEach((string, quantity) -> System.out.println(\"\\t\" + string + \": \" + quantity));\r\n\r\n do {\r\n System.out.println(\"Результат: \" +\r\n taskClass.getCombinationQuantity(\r\n Utilities.readConsoleValue(\"Введите cловосочетание для поиска: \")\r\n )\r\n );\r\n } while (Utilities.repeatInputUntilInt(\"Произвести ещё раз поиск? Да - 1, Нет - 2: \") == 1);\r\n }", "title": "" }, { "docid": "f837de7844b7e902d514c5e115de5964", "score": "0.5666207", "text": "public static void main(String[] args) {\n System.out.print(\"Masukkan nama anda : \");\n\n // Instansiasi objek Scanner\n Scanner scanner = new Scanner(System.in);\n\n // Menyimpan hasil masukkan\n String nama = scanner.next();\n\n System.out.println(\"Nama anda adalah : \"+nama);\n\n }", "title": "" }, { "docid": "514aa2d452d51ce1dec3349e52e6d267", "score": "0.5666066", "text": "public void abreMenuCambio() {\n\t\t\n\t}", "title": "" }, { "docid": "6723d70c65f5decbab251f7d2b78548b", "score": "0.5664661", "text": "public static void main(String[] args) {\n MedicamentFarmacie medicamentFarmacie=new MedicamentFarmacie(\"Paracetamol\");\n medicamentFarmacie.cumparaMedicament();\n\n\n //la spital cu reteta\n List<String> reteta= new ArrayList<>(Arrays.asList(\"Aspirina\",\"Nospa\"));\n MedicamentSpital medicamentSpital=new MedicamentSpital(\"Nospa\",reteta);\n medicamentSpital.achizitioneazaMedicament();\n\n //la farmacie cu reteta\n IMedicament medicamentSpitalAdaptatLaMedFarmacie = new MedSpitalTOMedFarmacie(medicamentSpital);\n medicamentSpitalAdaptatLaMedFarmacie.cumparaMedicament();\n\n }", "title": "" }, { "docid": "898d9446984e47e9d9d99f2906b0721a", "score": "0.5661221", "text": "public static void main(String[] args) {\n\n MisMetodos.saludo();\n }", "title": "" }, { "docid": "69668db6e568de01f595df5e9007dc7b", "score": "0.56522477", "text": "private static void usageInstruction() {\r\n\t\tSystem.out.println(\"Incorrect Usage .. \\n\");\r\n\t\tSystem.out.println(\"Usage:\");\r\n\t\tSystem.out.println(\"java fcrypt -e destination_public_key_filename\"\r\n\t\t\t\t+ \" sender_private_key_filename input_plaintext_file\"\r\n\t\t\t\t+ \" output_ciphertext_file\\n\");\r\n\t\tSystem.out.println(\"\\n or \\n\");\r\n\t\tSystem.out.println(\"\\njava fcrypt -d destination_private_key_filename\"\r\n\t\t\t\t+ \" sender_public_key_filename input_ciphertext_file\"\r\n\t\t\t\t+ \" output_plaintext_file\");\r\n\t}", "title": "" }, { "docid": "03157a2e881dbf5ba2f1b4161871e3a9", "score": "0.5642062", "text": "public void ver_mesa() {\r\n\t\tmazo.mostrar();\r\n\t}", "title": "" }, { "docid": "7eaacd9c7c7753b2cbe323cfa3571b80", "score": "0.56394017", "text": "public static void main(String[] args) {\n Ayam ayamku = new Ayam();//membuat objek ayam\r\n Kucing kucingku = new Kucing();\r\n ayamku.suaraHewan();\r\n ayamku.tidur();\r\n kucingku.suaraHewan();\r\n kucingku.tidur();\r\n\r\n }", "title": "" }, { "docid": "59e960bac32fc12b54c8b49dc62bce70", "score": "0.5636295", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t\timg textoMensaje =new img();\r\n\t\ttextoMensaje.Mensaje();\r\n\t\tboolean on= true;\r\n\t\tdo {\r\n\t\tScanner imputCommand = new Scanner (System.in);\r\n\t\tSystem.out.print(\"¿Que quieres relalizar? : \");\r\n\t\tString output = imputCommand.nextLine();\r\n\t\t\r\n\t\t/*FIN DE MENSAJE INICIAL*/\r\n\t\t\r\n /*BUSCA EN LA LIBRERIA EL COMADO INGRESADO*/\r\n\t\t\r\n\t\tCommandList datacommand =new CommandList ();\r\n\t\r\n\t\t/*OPERACIONES MATEMÁTICAS*/\r\n\t\t\r\n\t\tfor (int i=0;i<5;i++) {\r\n\t\t\tif(output.equals(datacommand.command[0])) {\r\n\t\t ArithmeticFunctions sum = new ArithmeticFunctions();\r\n\t\t\tsum.sumar();\r\n\t\t\ti=6;\r\n\t\t\t}else if(output.equals(datacommand.command[1])) { \r\n\t\t\t\r\n\t\t\tArithmeticFunctions res = new ArithmeticFunctions();\r\n\t\t res.restar();\r\n\t\t\ti=6;\r\n\t\t\t\r\n\t\t\t}else if(output.equals(datacommand.command[2])) { \r\n\t\t\t\t\r\n\t\t\tArithmeticFunctions div = new ArithmeticFunctions();\r\n\t\t\tdiv.dividir();\r\n\t\t\ti=6;\r\n\t\t\t\t\r\n\t\t\t}else if(output.equals(datacommand.command[3])) { \r\n\t\t\t\t\t\r\n\t\t\tArithmeticFunctions mul = new ArithmeticFunctions();\r\n\t\t\tmul.multiplicar();\r\n\t\t\ti=6;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t/*FIN DE OPERACIONES MATEMÁTICAS*/\r\n\t\t\t\r\n\t\t\t/*OPCIÓN HELP*/\r\n\t\t\t\r\n\t\t\telse if(output.equals(datacommand.command[4])) { \r\n\t\t\tHelp comand =new Help();\r\n\t\t\tcomand.CommandList();\r\n\t\t\ti=6;\r\n\t\t }\r\n\t\t\t\r\n\t\t\t/*FIN DE OPCIÓN HELP*/\r\n\t\t\t \r\n\t\t\t/*OPCIÓN SALIR DEL PROGRAMA*/\r\n\t\t\t\r\n\t\t\telse if(output.equals(datacommand.command[5])) { \r\n\t\t\tHelp comand =new Help();\r\n\t\t\ton=false;\r\n\t\t\t\r\n\t\t\t/*FIN DE LA OPCIÓN SALIR DEL PROGRAMA*/\r\n\t\t\t\r\n\t\t\t/*TEMAS*/\r\n\t\t\r\n\t\t\t}else if(output.equals(datacommand.command[6])) { \r\n\t\t\t\t\r\n\t\t\t\tTemas LenguajeAscii =new Temas();\r\n\t\t\t\tLenguajeAscii.ascii();\r\n\t\t\t\ti=6;\r\n\t\t\t\t\r\n\t\t\t}else if(output.equals(datacommand.command[7])) { \r\n\t\t\t\t\r\n\t\t\t\tTemas JavaScript =new Temas();\r\n\t\t\t\tJavaScript.Java();\r\n\t\t\t\ti=6;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}else if(output.equals(datacommand.command[8])) { \r\n\t\t\t\t\r\n\t\t\t\tTemas software =new Temas();\r\n\t\t\t\tsoftware.Software();\r\n\t\t\t\ti=6;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}else if(output.equals(datacommand.command[9])) { \r\n\t\t\t\t\r\n\t\t\t\tTemas SistemasOperativos =new Temas();\r\n\t\t\t\tSistemasOperativos.SistemasOperativos();\r\n\t\t\t\ti=6;\r\n\t\t\t\t\r\n\t\t\t}else if(output.equals(datacommand.command[10])) { \r\n\t\t\t\t\r\n\t\t\t\tTemas consejos =new Temas();\r\n\t\t\t\tconsejos.Tips();\r\n\t\t\t\ti=6;\r\n\t\t\t\t\r\n\t\t\t}else if(output.equals(datacommand.command[11])) { \r\n\t\t\t\t\r\n\t\t\t\tTemas nombre =new Temas();\r\n\t\t\t\tnombre.info();\r\n\t\t\t\ti=6;}\r\n\t\t\r\n\t\t\t/*FIN DE TEMAS*/\r\n\t\t\r\n\t\t\t/*OTRO*/\r\n\t\t\t\r\n\t\t\telse{\r\n\t\t\t\t\r\n\t\t\t\tSystem.out.println(\" \\r\\n\"\r\n\t\t\t\t\t\t+ \"Comando no encontrado,\\r\\n\"\r\n\t\t\t\t\t\t+ \"Inserte HELP para conocer comandos disponibles.\");\r\n\t\t\t\t i=6;\r\n\t\t\t\t Scanner ayuda = new Scanner (System.in);\r\n\t\t\t\t\t\tString comandos = imputCommand.nextLine();\r\n\t\t\t\t\t\tHelp comand =new Help();\r\n\t\t\t\t\t\tcomand.CommandList();\r\n\t\t\t\t\t\ti=6;}\r\n\t\t\t\r\n\t\t\t/*FINDE OTRO*/\r\n\t\r\n\t\t\t\r\n\t}\t\t\r\n\t\t}while (on);\r\n\t}", "title": "" }, { "docid": "6c0297f14134478c04ae0e55686ecb9c", "score": "0.5626998", "text": "public static void main(String[] args) {\n int avionActual = 0; // Avion actual\n int pistaActual = 0; // Pista actual\n int tiempoActual = 0; // Tiempo de la pista\n\n // Array de procesos\n aterrizarPista = new pistaAterrizaje[aviones];\n\n // Inicia los procesos del Array\n for (avionActual = 0; avionActual < aviones; avionActual++) {\n tiempoActual = Metodos.calcularTiempo();\n aterrizarPista[avionActual] = new pistaAterrizaje(pistaActual, avionActual, tiempoActual, semaforoPrincipal);\n aterrizarPista[avionActual].start();\n \n if (pistaActual == pistas) {\n pistaActual = 0;\n } else {\n pistaActual++;\n }\n }\n // Indica al programa principal que espere a que todos los procesos acaben\n for (avionActual = 0; avionActual < aviones; avionActual++) {\n try {\n aterrizarPista[avionActual].join();\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }\n System.out.println(\"Han aterrizado todos los \" + aviones + \" aviones\");\n }", "title": "" }, { "docid": "f5275a26ae3ef803df73b6ab1fdcbc20", "score": "0.56227607", "text": "public static void concentrarse() {\n\n\t}", "title": "" }, { "docid": "43e6336e3cf681b277683763531888ec", "score": "0.5617441", "text": "public static void input() {\n System.out.println(\"--------------------------------------------------------------------\");\n System.out.println(\"|******************** Chuong trinh quan ly User ********************|\");\n System.out.println(\"--------------------------------------------------------------------\");\n System.out.println(\"| 1. Them moi User |\");\n System.out.println(\"| 2. Hien thi danh sach User |\");\n System.out.println(\"| 3. Sua thong tin User |\");\n System.out.println(\"| 4. Xoa User |\");\n System.out.println(\"| 5. Tim kiem User |\");\n System.out.println(\"| 6. Thoat |\");\n System.out.println(\"--------------------------------------------------------------------\");\n System.out.print(\"| Chon : \");\n }", "title": "" }, { "docid": "5b45b11b318a8586119b30bc4b377dea", "score": "0.5606975", "text": "public static void main(String[] args) {\n\t\tchecking.setBalance(5000);\n\t\tsavings.setBalance(5000);\n\t\t\n\t\tBankApp brian= new BankApp();\n//\t\tgcuBank();\n\t\tbrian.displayMenu();\n\t\t\n\n}", "title": "" }, { "docid": "834c8c86d8ac32394c9de04e18cabf0e", "score": "0.5602808", "text": "private static void printusage() {\n\t\tStringBuffer buffer = new StringBuffer();\n\t\tbuffer = buffer.append(\"-------Please enter any of the below command-----------\").append(\"\\n\");\n\t\tbuffer = buffer.append(\"A) For creating parking lot of size n ---> create_parking_lot {capacity}\").append(\"\\n\");\n\t\tbuffer = buffer.append(\"B) To park a car ---> parking a car{car_color}\").append(\"\\n\");\n\t\tbuffer = buffer.append(\"c) To Remove a car ----> car is going out from parking{slotno}\").append(\"\\n\");\n\t\tbuffer = buffer.append(\"D) To print the Ticket ----> Print the allocated ticket\").append(\"\\n\");\n\t\tbuffer = buffer.append(\"E) Fetch car RegistartionNo with color -----> going to print the registartionno using color{car_color}\").append(\"\\n\");\n\t\tbuffer = buffer.append(\"F) Get the slotNo using car color --> going to fetch the slot no using car color{car_color}\").append(\"\\n\");\n\t\tbuffer = buffer.append(\"G) Get the slotno using car RegistrationNo --> going to fetch the slot no using car registration no{car_number}\").append(\"\\n\");\n\t\tSystem.out.println(buffer.toString());\n\t}", "title": "" }, { "docid": "1bb1b17695590021e5ffcf0c0aa4dfac", "score": "0.559685", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tJOptionPane.showMessageDialog(null,(String)\r\n\t\t\t\t\"Elkarrizketa koadro baten proba\",\"Elkarrizketa koadroa\",\r\n\t\t\t\tJOptionPane.INFORMATION_MESSAGE,null);\r\n\t}", "title": "" }, { "docid": "201d66a07269182967fc3f590edf0380", "score": "0.55954885", "text": "public static void main(String[] args) {\n SingleObject object = SingleObject.getInstance();\n\n //Menampilkan pesan\n object.showMessage();\n }", "title": "" }, { "docid": "c43ee54342accbe835405c8568ec46a7", "score": "0.55926245", "text": "private void tanca(){\r\n aplicBD.tancar();\r\n }", "title": "" }, { "docid": "3a83b422dee4c14effc9ab2dedc9143e", "score": "0.559255", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tSystem.out.println(\"경미오빠0--------------\");\r\n\t\tSMM s1 = new SMM();\r\n\t\tSystem.out.println(\"경미오빠1--------------\");\r\n\t\tSMM s2 = new SMM();\r\n\t\tSystem.out.println(\"경미오빠2--------------\");\r\n\t\ts1.meth_1();\r\n\t\ts2.meth_1();\r\n\t\t//SMM.meth_1();\r\n\t\ts1.stmeth_1();\r\n\t\ts2.stmeth_1();\r\n\t\tSMM.stmeth_1();\r\n\t}", "title": "" }, { "docid": "9452b2662aabf84af77384ff751e2a18", "score": "0.55925196", "text": "public void main(){\n\t\t\n\t}", "title": "" }, { "docid": "67e620ace0fff263c68eb96ceb653850", "score": "0.5591182", "text": "public static void main(String[] args) {\n\n\t\tComputer Pc = new Computer();\n\t\t\n\t\tPc.keyboard=true;\n\t\tPc.monitor=15;\n\t\tPc.screen=11;\n\t\tPc.mouse=true;\n\t\tPc.name=\"HP\";\n\t\tPc.ram=16;\n\t\tPc.memory=500;\n\t\t\n\t\t// to print i have Hp computer with ram 16 and memory of 300\n\t\t\nSystem.out.println(\"I have a compter with a ram of \" + Pc.ram+ \" and memory of \"+ Pc.memory +\"gb\");\n\t}", "title": "" }, { "docid": "d747854dd5f41b1c9c590efb6fbbdf46", "score": "0.55876505", "text": "public static void main(String[] args) {\n\t\tint num=0;int numero=0;\r\n\t\tScanner teclado = new Scanner (System.in);\r\n\t\t//Mecanicos\r\n\t\tMecanicos mecanico1=new Mecanicos (\"Javier\", 66666, \"Frenos\");\r\n\t\tMecanicos mecanico2=new Mecanicos (\"Jorge\", 77777, \"Hidraúlica\");\r\n\t\t//Cabezas\r\n\t\tCabeza cabeza1=new Cabeza (\"11111\", 3300, 1999, mecanico1);\r\n\t\tCabeza cabeza2=new Cabeza (\"22222\", 5500, 2007, mecanico2);\r\n\t\t//Conductores\r\n\t\tConductores conductor1=new Conductores (\"Miguel\", \"33333\", 1500, \"Conductor\");\r\n\t\tConductores conductor2=new Conductores (\"Mario\", \"44444\", 1200, \"Tironero\");\r\n\t\t//Camiones\t\t\r\n\t\tCamion [] misCamiones =new Camion[2];\r\n\t\tmisCamiones[0]=new Camion (cabeza1, conductor1);\r\n\t\tmisCamiones[1]=new Camion (cabeza2, conductor2);\r\n\t\t//Contenedores\r\n\t\tContenedores contenedor1=new Contenedores (1500, 1000, \"Lana\");\r\n\t\t\r\n\t\tdo {\r\n\t\t\t//Creamos el menú\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t\tSystem.out.println(\" ______________________________________________________ \");\r\n\t\t\tSystem.out.println(\"| MENÚ PRINCIPAL |\");\r\n\t\t\tSystem.out.println(\"|1.-Visualizar los datos de los camiones |\");\r\n\t\t\tSystem.out.println(\"|2.-Añadir contenedor a un camión determinado |\");\r\n\t\t\tSystem.out.println(\"|3.-Desenganchar un contenedor de un camión determinado|\");\t\t\r\n\t\t\tSystem.out.println(\"|4.-Salir |\");\t\r\n\t\t\tSystem.out.println(\"|______________________________________________________|\");\r\n\t\t\r\n\t\t\tnum = teclado.nextInt();\r\n\t\t\t\r\n\t\t\tswitch (num) {\r\n\t\t\tcase 1:\r\n\t\t\t\t//Mostramos los datos del primer camión\r\n\t\t\t\tSystem.out.println(\"CAMIÓN 1\");\r\n\t\t\t\tSystem.out.println(misCamiones[0].mostrar());\r\n\t\t\t\tmisCamiones[0].mostrarContenedores();\r\n\t\t\t\t\r\n\t\t\t\t//Mostramos los datos del segundo camión\r\n\t\t\t\tSystem.out.println(\"\\nCAMIÓN 2\");\r\n\t\t\t\tSystem.out.println(misCamiones[1].mostrar());\r\n\t\t\t\tmisCamiones[1].mostrarContenedores();\t\t\t\t\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2: \r\n\t\t\t\t//Insertar contenedor\r\n\t\t\t\tSystem.out.println(\"Introduzca el numero del camión al que le quieres añadir un contenedor: \");\r\n\t\t\t\tnumero = teclado.nextInt();\r\n\t\t\t\tif(numero==1) {\r\n\t\t\t\t\tif(misCamiones[0].numElementos()!=3) {\r\n\t\t\t\t\t\tmisCamiones[0].insertar(contenedor1);\r\n\t\t\t\t\t}else {\r\n\t\t\t\t\t\tSystem.out.println(\"No se pueden añadir más contenedores\");\r\n\t\t\t\t\t}\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tif(numero==2) {\r\n\t\t\t\t\tif(misCamiones[1].numElementos()!=3) {\r\n\t\t\t\t\t\tmisCamiones[1].insertar(contenedor1);\r\n\t\t\t\t\t}else {\r\n\t\t\t\t\t\tSystem.out.println(\"No se pueden añadir más contenedores\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3: \r\n\t\t\t\t//Desenganchar contenedor\r\n\t\t\t\tSystem.out.println(\"Introduzca el numero del camión al que le quieres desenganchar un contenedor: \");\r\n\t\t\t\tnumero = teclado.nextInt();\r\n\t\t\t\tif(numero==1) {\r\n\t\t\t\t\tif(misCamiones[0].numElementos()!=0) {\r\n\t\t\t\t\t\tmisCamiones[0].eliminar();\r\n\t\t\t\t\t}else {\r\n\t\t\t\t\t\tSystem.out.println(\"No hay más contenedores para desenganchar\");\r\n\t\t\t\t\t}\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tif(numero==2) {\r\n\t\t\t\t\tif(misCamiones[1].numElementos()!=0) {\r\n\t\t\t\t\t\tmisCamiones[1].eliminar();\r\n\t\t\t\t\t}else {\r\n\t\t\t\t\t\tSystem.out.println(\"No hay más contenedores para desenganchar\");\r\n\t\t\t\t\t}\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase 4:\r\n\t\t\t\tSystem.out.println(\"Has salido\");\r\n\t\t\t\tSystem.out.println(\" -------------------------------\");\r\n\t\t\t\tSystem.out.println(\" | Autor |\");\r\n\t\t\t\tSystem.out.println(\" | |\");\r\n\t\t\t\tSystem.out.println(\" | Jorge Chueca |\");\r\n\t\t\t\tSystem.out.println(\" | |\");\r\n\t\t\t\tSystem.out.println(\" -------------------------------\");break;\r\n\t\t\tdefault:\r\n\t\t\t\tSystem.out.println(\"ERROR, debe introducir un número entre el 1 y el 4\");\r\n\t\t\t}\r\n\t\t}while(num!=4);\r\n\t\tteclado.close();\r\n\t}", "title": "" }, { "docid": "5b4a00d9c6a2b2b191def3dc7f7fe6db", "score": "0.5583915", "text": "public static void main(String[] args) {\n\t\t\n\t/*\tJFrame loadProgram = new JFrame();\n\t\tloadProgram.setTitle(\"Loading Program...\");\n\t\tloadProgram.setLayout(new BorderLayout());\n\t\tlblWelcome = new JLabel(\"Loading FSTabGUI Alpha!\");\n\t\tprogWelcome = new JProgressBar(JProgressBar.HORIZONTAL, 1, 10);\n\t\t\n\t\tloadProgram.getContentPane().add(BorderLayout.CENTER,lblWelcome);\n\t\tloadProgram.getContentPane().add(BorderLayout.PAGE_END, progWelcome);\n\t\t\n\t\tloadProgram.pack();\n\t\t*/\n\n\t\tif(new File(FSTabPaths.fsTabPath).exists() == false)\n\t\t{\n\t\t\t\n\t\t\tSystem.out.println(\"FSTab not Found, pls Typ in the Location\");\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry {\n\t\t\t\tString input = in.readLine();\n\t\t\t\tFSTabPaths.setFSTabPath(input);\n\t\t\t} catch (IOException e1) {\n\t\t\t\t// TODO Automatisch generierter Erfassungsblock\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tMFrame mf = new MFrame();\n\t}", "title": "" }, { "docid": "8dbe88ed50549f5669e000a79cb9e5b4", "score": "0.5580088", "text": "private static void startupProgram() {\n initJIntellitype();\n initializeVariables();\n getSettings();\n applySettings();\n initializeDisplayRefreshTimer(refreshRate); // Timer delay in milliseconds\n \n displayHelp();\n Controller.startController(StringFormat.RELOAD);\n Controller.startController(StringFormat.DISPLAY);\n inputField.setFocus();\n }", "title": "" }, { "docid": "6e448f76e3dd46a9ece60bf2084ab45c", "score": "0.55718243", "text": "public static void main(String[] args) {\n\t\tConsoleInputManager in=new ConsoleInputManager();\n\t\tConsoleOutputManager out = new ConsoleOutputManager();\n\t\t\n\t\tacquario a=new acquario(\"pippo\");\n\t\tpesce dio=new pesce(\"ss\",19,43);\n\t\ta.ins_pesce(dio);\n\t\tout.println(a);\n\t\ta.delete(\"ss\");\n\t\tout.println(a);\n\t\n\t}", "title": "" }, { "docid": "fb7cb71fce63f0c015b5f806810eec35", "score": "0.5571265", "text": "private void scanInput()\n\t{\n\t\tSystem.out.println(\"********************************************\");\n\t\tSystem.out.println(\"*** Bibliothèque de revues scientifiques ***\");\n\t\tSystem.out.println(\"********************************************\");\n\t\tSystem.out.println();\n\t\tSystem.out.println(USAGE);\n\t\tSystem.out.println(\"Où la méthode se trouve parmi : \"\n\t\t\t\t+ Arrays.toString(METHODS));\n\t\tSystem.out.println(\"Et où le champ se trouve parmi : \"\n\t\t\t\t+ Arrays.toString(fields));\n\t\tSystem.out.println(\"Sinon, tapez \" + EXIT + \" pour quitter\");\n\t\tScanner in = new Scanner(System.in);\n\t\tboolean exit = false;\n\t\twhile (!exit)\n\t\t{\n\t\t\texit = execute(in.nextLine());\n\t\t}\n\t\tin.close();\n\t}", "title": "" }, { "docid": "3fc124bccdf9226fffeb295649ca21d3", "score": "0.5559801", "text": "private static void usage() {\n System.out.println(\"The input is not correct.\");\n System.exit(1);\n }", "title": "" }, { "docid": "4400b117966f52f52401d2edd7900ade", "score": "0.5556718", "text": "public static void main(String[] args) {\n Caneta c1 = new Caneta();\n\n // public -> posso atribuir sem problemas\n c1.modelo = \"Bic\";\n c1.cor = \"Azul\";\n\n // private -> no momento não posso atribuir nada para um atributo privado\n //c1.ponta = 0.5;\n\n // protected -> pelo App estar instanciando a classe Caneta, eu consigo atribuir a ela mesmo sendo protected\n c1.carga = 70;\n\n // mesmo o atributo tampar estando privado, por conta do método estar publico eu consigo modificar o valor de tampada pelo método\n c1.tampar();\n\n c1.status();\n\n }", "title": "" }, { "docid": "a9b888ff623107735b216e9b05090701", "score": "0.55542463", "text": "@Override\r\n\tpublic void prosegui(String messaggio) {\r\n\t\t\r\n\t\tSystem.out.println(messaggio);\r\n\t\tSystem.out.println(\"Premi invio per proseguire.\");\r\n\t\ttry{\r\n\t\t\tInputStreamReader reader=new InputStreamReader(System.in);\r\n\t\t\tBufferedReader myInput=new BufferedReader(reader);\r\n\t\t\tmyInput.readLine();\r\n\t\t}\r\n\t\tcatch(IOException e){\r\n\t\t\tSystem.out.println(\"Errore !!!\\n\");\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "715f41dd7e688be68e3e086fd82e9fc5", "score": "0.55531645", "text": "public void run() {\n \tif(var.equals(\"no\")){\n \tUiApplication.getUiApplication().pushScreen(MyApp.homeScreen);\n UiApplication.getUiApplication().popScreen(MyApp.splashScreen);\n //si var no trae uno entonces es porque trae datos que \"la base de datos ha sido creada\"\n //y apunta a materia lista.\n \t}\n \tif(var.equals(\"si\")){\n \tUiApplication.getUiApplication().pushScreen(MyApp.homeScreen1);\n UiApplication.getUiApplication().popScreen(MyApp.splashScreen);\t\n \t}\n \n }", "title": "" }, { "docid": "6ec5c2fc37e0a0f2878c8a05c0b0fabe", "score": "0.55504286", "text": "public static void main(String[] args) {\n System.out.println(merah + \" YUK \" + hijau + \"CEK \" + kuning + \"KEPRIBADIANMU\" + biruMuda +\n \" DARI \" + ungu + \"WARNA \" + biru + \"FAVORITMU\\n\\n\");\n \n System.out.println(bgMerah+putih+\"\\t\\t MERAH \\t\\t\\t\");\n System.out.println(bgHijau+putih+\"\\t\\t HIJAU \\t\\t\\t\");\n System.out.println(bgKuning+putih+\"\\t\\t KUNING \\t\\t\");\n System.out.println(bgBiru+putih+\"\\t\\t BIRU \\t\\t\\t\");\n System.out.println(bgUngu+putih+\"\\t\\t UNGU \\t\\t\\t\");\n \n System.out.print(reset+\"PILIH WARNA FAVORITMU : \");\n Scanner tampWarna = new Scanner(System.in);\n warna = tampWarna.nextLine();\n warnaPeriksa = warna.toUpperCase();\n \n System.out.print(\"NAMA KAMU : \");\n Scanner tampNama = new Scanner(System.in);\n nama = tampNama.nextLine();\n Nama = nama.toUpperCase();\n \n System.out.println(\"=====HASIL TEST KEPRIBADIAN \"+nama+\"=====\");\n switch(warnaPeriksa){\n case \"MERAH\" :\n System.out.println(reset+\"WARNA FAVORITMU ADALAH \"+merah+warnaPeriksa);\n warnaMerah mRh = new warnaMerah();\n mRh.warnamErah();\n break;\n case \"HIJAU\" :\n System.out.println(reset+\"WARNA FAVORITMU ADALAH \"+hijau+warnaPeriksa);\n warnaHijau hJu = new warnaHijau();\n hJu.warnahIjau();\n break;\n case \"BIRU\" :\n System.out.println(reset+\"WARNA FAVORITMU ADALAH \"+biru+warnaPeriksa);\n warnaBiru bRu = new warnaBiru();\n bRu.warnabIru();\n break;\n case \"UNGU\" :\n System.out.println(reset+\"WARNA FAVORITMU ADALAH \"+ungu+warnaPeriksa);\n warnaUngu uGu = new warnaUngu();\n uGu.warnauNgu();\n break;\n case \"KUNING\" :\n System.out.println(reset+\"WARNA FAVORITMU ADALAH \"+kuning+warnaPeriksa);\n warnaKuning kUg = new warnaKuning();\n kUg.warnakUning();\n break;\n default:\n System.out.println(\"OOoopppsss... Belum terindentifinisi\");\n \n \n }\n\n}", "title": "" }, { "docid": "39a5524e0e06c6599ed33ed4ea4122d8", "score": "0.55482936", "text": "public static void main ( String [ ] args )\r\n {\r\n // identificar\r\n IO.println ( \"EXEMPLO0045 - Programa em Java\" );\r\n IO.println ( \"Autor: Matheus Santos Rosa Carneiro\" );\r\n // executar o metodo auxiliar\r\n metodo05 ( ); // ler e mostrar valor inteiro\r\n // encerrar\r\n IO.pause ( \"Apertar ENTER para terminar.\" );\r\n }", "title": "" }, { "docid": "fee8390901e892ac3f670b373c925224", "score": "0.554428", "text": "public static void main(String[] args){\n View ventana=new View();\r\n while(ventana.isVisible()){\r\n System.out.println(\"Ventana abierta\");\r\n }\r\n \r\n for(Url url:ventana.urls){\r\n for(Grupo grupo:ventana.grupos){\r\n try {\r\n iniciarPrograma(url.getUrl(),grupo.getDescripcion(),grupo.getCantidad());\r\n } catch (InterruptedException | FindFailed | IOException ex) {\r\n JOptionPane.showMessageDialog(null,ex,\"Error inesperado\",JOptionPane.WARNING_MESSAGE);\r\n JOptionPane.showMessageDialog(null, \"Programa finalizado\");\r\n exit(0);\r\n }\r\n }\r\n } \r\n JOptionPane.showMessageDialog(null,\"FINALIZADO CORRECTAMENTE\");\r\n \r\n }", "title": "" }, { "docid": "5e7deeaf02d61d1872627e87d974f0ea", "score": "0.55439734", "text": "public static void main(String[] args) throws Exception{\n\t\twhile(true)\r\n\t\t{\r\n\t\t\tmenu();\r\n\t\t\tint no=menuSelsect();\r\n\t\t\t\r\n\t\t\tif(no==6)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"프로그램 종료\");\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tmovieData(no);\r\n\t\t}\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "711082f31d993f27c69d6c11422c9fe7", "score": "0.55340266", "text": "public static void usage()\r\n { System.out.println\r\n (\"Usage: java pbTest infile\");\r\n System.exit(1);\r\n }", "title": "" }, { "docid": "2a648a04f1fa8a2ba59f93cd2335b6d0", "score": "0.55330914", "text": "public void peliOhi() {\n JOptionPane.showMessageDialog(null, \"Kuolit, peli alkaa alusta uudestaan\");\n peliIkkuna.dispose();\n peli.nollaaKaikki();\n run();\n }", "title": "" }, { "docid": "99327c171f8438361db9b128d22d8aa8", "score": "0.5528664", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n Scanner scan = new Scanner(System.in);\n \n int bakiye = 1000;\n int islem,tutar;\n \n System.out.println(\"Bakiyeniz = \" + bakiye);\n System.out.println(\"\\n**** İŞLEMLER ****\");\n \n System.out.println(\"1. Para Çekme\");\n System.out.println(\"2. Para Yatırma\");\n System.out.println(\"3. Bakiye Sorgulama\");\n System.out.println(\"4. Kart İade\");\n \n System.out.print(\"İsleminizi seçiniz: \");\n islem = scan.nextInt();\n \n switch (islem) {\n \n case 1:\n \t System.out.println(\"bakiyeniz :\"+ bakiye);\n \t System.out.println(\"Lutfen cekmek istediginiz tutari giriniz\");\n \t tutar=scan.nextInt();\n \t \n \t if (tutar>1000) {\n \t\t System.out.println(\"Yetersiz bakiye\");\n \t }else {\n \t\t bakiye-=tutar;\n \t\t System.out.println(\"yeni bakiyeniz :\"+ bakiye);\n \t }\n \t break;\n \t \n case 2: \n \t System.out.println(\"bakiyeniz :\"+ bakiye);\n \t tutar=scan.nextInt();\n \t bakiye+=tutar;\n \t System.out.println(\"yeni bakiyeniz :\"+ bakiye);\n \t break;\n \t \n case 3:\n \t System.out.println(\"bakiyeniz :\"+ bakiye);\n \t break;\n \t \n case 4:\n \t System.out.println(\"Lutfen kartinizi almayi unutmayiniz\");\n \t break;\n \t default:\n \t\t System.out.println(\"Lutfen egcerli bir islem seciniz\");\n \t \n \n }\n\t}", "title": "" }, { "docid": "8fb78ee9c2d97f11042c8e170bf47c99", "score": "0.5528261", "text": "public static void main(String[] args)\r\n {\r\n // Create scratchloader object and take \r\n Demo d = new Demo();\r\n int option = d.makeMenu();\r\n if (option == 2)\r\n {\r\n System.exit(1);\r\n } \r\n else \r\n {\r\n d.gradeScratchDir();\r\n }\r\n \r\n }", "title": "" }, { "docid": "69ac2ef353a1c60dde9f1819c66c5aa0", "score": "0.552402", "text": "public static void main(String[] args) {\n\t\tPersegi persegi1 = new Persegi();\n\t\tPersegi persegi2 = new Persegi();\n\t\tPersegi persegi3 = new Persegi(11);\n\t\t\n\t\t//PERSEGI 1\n\t\tpersegi1.sisi = 5;\n\t\tpersegi1.menghitungLuas(persegi1.sisi);\n\t\tpersegi1.menghitungKeliling(persegi1.sisi);\n\t\tpersegi1.displayHasil();\n\t\t\n\t\t//PERSEGI 2\n\t\tpersegi2.kotak(8);\n\t\tpersegi2.menghitungLuas(persegi2.sisi);\n\t\tpersegi2.menghitungKeliling(persegi2.sisi);\n\t\tpersegi2.displayHasil();\n\t\t\n\t\t//PERSEGI 3\n\t\tpersegi3.menghitungLuas(persegi3.sisi);\n\t\tpersegi3.menghitungKeliling(persegi3.sisi);\n\t\tpersegi3.displayHasil();\n\t}", "title": "" }, { "docid": "e2cce6a976a27de9bc64282b57add976", "score": "0.5515692", "text": "public void runProgram() {\n /* Set the Nimbus look and feel */\n //<editor-fold defaultstate=\"collapsed\" desc=\" Look and feel setting code (optional) \">\n /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.\n * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html \n */\n try {\n for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {\n if (\"Nimbus\".equals(info.getName())) {\n javax.swing.UIManager.setLookAndFeel(info.getClassName());\n break;\n }\n }\n } catch (ClassNotFoundException ex) {\n java.util.logging.Logger.getLogger(A2_MainUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);\n } catch (InstantiationException ex) {\n java.util.logging.Logger.getLogger(A2_MainUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);\n } catch (IllegalAccessException ex) {\n java.util.logging.Logger.getLogger(A2_MainUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);\n } catch (javax.swing.UnsupportedLookAndFeelException ex) {\n java.util.logging.Logger.getLogger(A2_MainUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);\n }\n //</editor-fold>\n //</editor-fold>\n //</editor-fold>\n //</editor-fold>\n\n /* Create and display the form */\n java.awt.EventQueue.invokeLater(() -> {\n new A2_MainUI().setVisible(true);\n \n }); \n }", "title": "" }, { "docid": "bd87aa222ff9dfb94b695f9b9c582ded", "score": "0.5514385", "text": "public static void main(String[] args) {\n ispisiRezultat();\n\n }", "title": "" }, { "docid": "aa79cb5b0d722bcd3f04a2d5644ea94c", "score": "0.5506203", "text": "public static void main(String[] args) {\n System.out.println(\"舒服了000000\");\r\n\t}", "title": "" }, { "docid": "bc2051b0ad53ecc6d12111a6cb0bf948", "score": "0.549824", "text": "private static void quanLiKhoa() {\r\n }", "title": "" }, { "docid": "99d9d2310338b78f0fd9a1ee2e1be45d", "score": "0.5497751", "text": "public static void main(String[] args) {\ndisplay();// we can access with display\r\n\r\n\t}", "title": "" }, { "docid": "6d13616a341d374a665fbf4b7cdc3d60", "score": "0.5497352", "text": "public static void main (String[] args ){\n Runtime run = Runtime.getRuntime();\n // print the current free memory for this runtime\n System.out.println(\"memory free : \" + run.freeMemory()/(1024* 3));\n System.out.println(\"memory free : \" + Runtime.getRuntime().totalMemory()/(1024* 3));\n // check the number of processors available\n System.out.println(\"\" + Runtime.getRuntime().availableProcessors());\n }", "title": "" }, { "docid": "0f1d019d5507fb2812626d6147dbba58", "score": "0.5495457", "text": "public static void menu() {\r\n\t\tSystem.out.println(\"=== *** 가위, 바위, 보 Game *** ===\");\r\n\t\tSystem.out.println(\"1.가위 2.바위 3.보 9.게임종료\");\r\n\t\tSystem.out.println(\"=================================\");\r\n\t\tSystem.out.print(\"선택하세요 (1,2,3,9) : \");\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9874cb7d85efe588c20c8270d572de03", "score": "0.5495389", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t\tExamCollection list = new ExamCollection();\r\n\t\tlist.exams = new Exam[3];\r\n\t\tlist.current = -1;\r\n\t\tint exit = 0;\r\n\t\t\r\n\t\tint x = 0;\r\n\t\tint y;\r\n\t\t\r\n\t\tx += 3;\r\n\t\ty = x + 3;\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t\twhile (exit == 0) {\r\n\r\n\t\t\t// 메인메뉴\r\n\t\t\tswitch (inputMainMenu()) {\r\n\t\t\tcase 1:\r\n\t\t\t\t// 성적입력\r\n\t\t\t\tinputGrade(list);\r\n\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\t// 성적출력\r\n\t\t\t\tprintGrade(list);\r\n\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\t// 종료\r\n\t\t\t\texit = exitProgram(exit);\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "137b1bf1067fe478cc43f8a1e752a65e", "score": "0.549391", "text": "public static void main(String[] args) {\n\t\tSmartPhone sp = new SmartPhone();\n\n\t\tsp.turn_menu();\n\t\twhile(sp.turn) {\n\t\t\tsp.runing();\t\t//스마트폰 쓰는 중\n\t\t\tbreak;\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "beb0b910a74f21c98af8b971d56f46bd", "score": "0.5492417", "text": "public static void main(String[] args) {\n\t\tMemoField mainWin = new MemoField(\"Text Editor\");\n\n\t}", "title": "" }, { "docid": "8e0e9df8d278ffea847abb41d4e54506", "score": "0.54918534", "text": "public static void main(String[] args) {\n Premio premio1 = new Premio(10,Fruta.FRESA,Fruta.FRESA,Fruta.FRESA);\n Premio premio2 = new Premio(10,Fruta.SANDIA,Fruta.SANDIA,Fruta.SANDIA);\n Premio premio3 = new Premio(10,Fruta.MELOCOTON,Fruta.MELOCOTON,Fruta.MELOCOTON);\n Premio premio4 = new Premio(10,Fruta.PERA,Fruta.PERA,Fruta.PERA);\n Premio premio5 = new Premio(10,Fruta.PLATANO,Fruta.PLATANO,Fruta.PLATANO);\n \n /* 2. Crea una máquina con un tamaño de combinación de 3 frutas,\n * un precio por partida de 0,5 euros\n * y los dos premios declarados previamente\n */\n Maquina maquina = new Maquina(3,0.5,premio1,premio2,premio3,premio4,premio5);\n \n /* 3. Solicita al usuario que introduzca por teclado la cantidad\n * de crédito para jugar.\n */\n Scanner entrada = new Scanner(System.in);\n System.out.print(\"Ingrese el credito: \");\n double credito = entrada.nextDouble();\n \n entrada.nextLine();\n \n maquina.IncrementarCredito(credito);\n \n while(maquina.getCredito() > 0){\n \n ArrayList<Fruta> combinacion = maquina.jugar();\n \n System.out.println(\"Combinación »»» \"+combinacion.toString() + \" ««« - Credito € \"+ maquina.getCredito());\n \n System.out.println(\"Pulse Intro para volver a jugar\");\n entrada.nextLine(); \n \n }\n entrada.close();\n \n }", "title": "" }, { "docid": "cc595202688d5b8e2951866b8160f883", "score": "0.5490006", "text": "public void run() {\r\n\t\tMessageDialog.openInformation(window.getShell(), \"Acerca de...\", \"Mapa\");\r\n\t}", "title": "" }, { "docid": "66c2946da6566d4b9b775d42f9b25cce", "score": "0.54880804", "text": "public static void meni() {\r\n\t\tSystem.out.println(\"Konzolni kalkulator podržava sljedeće operacije(izaberite neku):\"\r\n\t\t\t\t+ \"\\n1:Sabiranje\\n2:Oduzimanje\\n3:Množenje\\n4:Djeljenje\"\r\n\t\t\t\t+ \"\\n5:Korjenovanje\" + \"\\n6:Kvadriranje\\n7:Modulo\");\r\n\t}", "title": "" }, { "docid": "5ab85c4ae1e6adb18bbc5d3172110235", "score": "0.5487379", "text": "public void verCuentameCambio() {\n this.cuentameCambioUno();\n this.cuentameCambioDos();\n\n }", "title": "" }, { "docid": "cf358c9f0a2ffb16fe70bd50266857b2", "score": "0.54854345", "text": "public static void main(String[] args) {\n\t\tfile = new Fichier(\"couleur.dat\");//Fichier qui contient les infos sur les couleurs\n\t\tcs = new Capteur(SensorPort.S1);\n\t\tcs.start();\n\n\t\tSuiveurLigne sv = new SuiveurLigne(cs,file);\n\t\tDetecter dt = new Detecter(cs, file);\n\t\t\n\t\n\t/*\n\t\t * Choix, etalonnage, demarrer...\n\t\t */\n\t\t\n\t\tString[] tabOption= {\"Etalonnage\", \"SuivLigne(A/R)\", \"SuivLigne(Aller))\", \"Detecter\"};\n\t\tTextMenu textmenu = new TextMenu(tabOption);\n\t\ttextmenu.setTitle(\"Que faire?\");\n\t\tLCD.drawString(\"Suiveur de ligne\", 0, 4);\n\t\tLCD.drawString(\"needs etalonnage\", 0, 5);\n\t\t\n\t\tboolean good = false;\n\t\twhile(true){\n\t\t\tLCD.clear();\n\t\t\tint selected = textmenu.select();\n\t\t\tswitch(selected){\n\t\t\t\tcase 0: Etalonnage();\n\t\t\t\tbreak;\n\t\t\t\tcase 1: sv.SuivreLigneAllerRetour();\n\t\t\t\tbreak;\n\t\t\t\tcase 2: sv.SuivreLigneAller();\n\t\t\t\t//case 2: sv.testerCode();\n\t\t\t\tbreak;\n\t\t\t\tcase 3: dt.detecter();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "07f71cb7db64ed84afc8afb58875e994", "score": "0.5483015", "text": "public static void main(String[] args) {\n\t\tMobil siji = new Mobil();\n\t\tMobil loro = new Mobil(400,\"sentul\",\"NN 90 PI\",\"carnival\",\"pink\",1500);\n\t\t\n\n\t\tSystem.out.println(\"MOBIL - MOBIL TERLARIS\");\n\t\tSystem.out.println(\" \");\n System.out.println(\"Merk Mobil :\" +siji.getMerk());\n System.out.println(\"Lokasi :\" +siji.getPosisi());\n System.out.println(\"Nopol :\" +siji.getPnomor());\n System.out.println(\"Warna :\" +siji.getWarna());\n System.out.println(\"Kecepatan mampu mencapai :\" +siji.getKecepatan()+ \" KMH\");\n siji.maju();\n siji.mundur();\n siji.berhenti();\n siji.belok();\n siji.ngebut();\n siji.ngerem();\n System.out.println(\"Mesin mobil sebesar \"+siji.getMesin()+ \" cc\");\n\t\tSystem.out.println(\" \");\n\n System.out.println(\"Merk Mobil :\" +loro.getMerk());\n System.out.println(\"Lokasi :\" +loro.getPosisi());\n System.out.println(\"Nopol :\" +loro.getPnomor());\n System.out.println(\"warna :\" +loro.getWarna());\n System.out.println(\"Kecepatan mampu mencapai :\" +loro.getKecepatan()+\" KMH\");\n loro.maju();\n loro.mundur();\n loro.berhenti();\n loro.belok();\n loro.ngebut();\n loro.ngerem();\n System.out.println(\"Mesin Mobil sebesar \"+loro.getMesin()+ \" cc\");\n System.out.println(\" \");\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "31c76f2997645f8d4205ff172e27506c", "score": "0.5480708", "text": "private static void usage()\n {\n err(Strings.ukUsage);\n System.exit(-1);\n }", "title": "" }, { "docid": "52cb5ae3780844a54fe20bc1980dc8f7", "score": "0.5478891", "text": "public void runApp() {\n\n\n\n boolean onGoing = true;\n String command = null;\n\n init();\n\n while (onGoing) {\n\n getStarted();\n command = input.next();\n command = command.toLowerCase();\n if (command.equals(\"c\")) {\n createUserInfo();\n System.out.println(\"You've successfully created your user info!!!\");\n nextPhase();\n } else if (command.equals(\"l\")) {\n loadFile();\n nextPhase();\n } else if (command.equals(\"q\")) {\n System.out.println(\"\\nThanks for using Food Diary!\");\n onGoing = false;\n } else {\n System.out.println(\"Invalid input!!! Please try again.\");\n }\n\n }\n }", "title": "" }, { "docid": "03438a102fe089b2827c92304b4e7269", "score": "0.5477344", "text": "public static void main(String[] args) {\r\n\r\n /*\r\n * List<KhoaHoc> listKH; // khai báo và khởi tạo KhoaHocBLL khoaHocBLL = new\r\n * KhoaHocBLL();\r\n * \r\n * // System.out.println(listKH.size() + \"\"); // khoaHocBLL.show(listKH);\r\n * \r\n * KhoaHoc khoaHoc = new KhoaHoc(\"vnl-j58\", \"Java Core 600\"); //\r\n * khoaHocBLL.insert(khoaHoc); // khoaHocBLL.delete(khoaHoc);\r\n * khoaHocBLL.update(khoaHoc); listKH =\r\n * khoaHocBLL.getList(\"select * from KhoaHoc\");\r\n * \r\n * khoaHocBLL.show(listKH);\r\n */\r\n\r\n System.out.println(\"HỆ THỐNG QUẢN LÍ SINH VIÊN\");\r\n System.out.println(\"==========================\");\r\n // hiện thị menu\r\n showMenu();\r\n\r\n }", "title": "" }, { "docid": "1d8b723dcece6eada298f7cd92f65e0c", "score": "0.5476299", "text": "public static void main(String[] args) {\n\t\tnew Exam01();//생성자함수 호출\n\t}", "title": "" }, { "docid": "4712092fa9f51704b1240284d8f2fa9a", "score": "0.5471928", "text": "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint soDong = nhapSoDong(scan);\n\t\tint soCot = nhapSoCot(scan);\n\t\tint a[][] = taoMangRandom(soDong, soCot, scan);\n\t\txuatMang(a, soDong, soCot);\n\n\t\tlietKeDongAm(a, soDong, soCot);\n\n\t}", "title": "" } ]
12466597434747829efa20156e7361fc
This code handles the grotty details when instanciating a Planets service class for testing. It reads the environment variables and sets up the test accordingly.
[ { "docid": "a603cfd0d7aef2a3b01061a5efa59cb5", "score": "0.0", "text": "public static <T> T createTestService(QName qname,\r\n Class<T> serviceImplementation, String wsdlLoc) {\r\n try {\r\n // In the standalone case, start up the test endpoint.\r\n if ( testInStandaloneMode() ) {\r\n return Mode.STANDALONE.create(qname, serviceImplementation,\r\n wsdlLoc);\r\n }\r\n\r\n // In the server case, pick the server config up:\r\n else if (testInServerMode() ) \r\n {\r\n /*\r\n System.setProperty(\"proxySet\",\"true\");\r\n System.setProperty(\"http.proxyHost\",\"loncache.bl.uk\");\r\n System.setProperty(\"http.proxyPort\",\"8080\");\r\n System.setProperty(\"http.nonProxyHosts\",\"localhost|127.0.0.1|*.ad.bl.uk\");\r\n */\r\n System.out.println(\"INFO: Proxy is set to \"+System.getProperty(\"http.proxyHost\")+\":\"+System.getProperty(\"http.proxyPort\"));\r\n \r\n return Mode.SERVER.create(qname, serviceImplementation, wsdlLoc);\r\n }\r\n\r\n // If no remote context is configured, invoke locally:\r\n else {\r\n return Mode.LOCAL.create(qname, serviceImplementation, wsdlLoc);\r\n }\r\n } catch( Exception e ) {\r\n log.severe(\"Instanciation of test service failed! \"+e);\r\n e.printStackTrace();\r\n return null;\r\n }\r\n }", "title": "" } ]
[ { "docid": "7209e54cbdbce5d714fc167eb2bf7149", "score": "0.6825186", "text": "protected void setupTest()\n\t\tthrows T_Fail\n {\n\t\t// don't automatic boot this service if it gets left around\n\t\tif (startParams == null) {\n\t\t\tstartParams = new Properties();\n\t\t}\n\t\tstartParams.put(Property.NO_AUTO_BOOT, Boolean.TRUE.toString());\n\t\t// remove the service directory to ensure a clean run\n\t\tstartParams.put(Property.DELETE_ON_CREATE, Boolean.TRUE.toString());\n\n\t\t// see if we are testing encryption\n\t\tstartParams = T_Util.setEncryptionParam(startParams);\n\n\n\t\ttry {\n\t\t\tstore_module = createPersistentService(\n\t\t\t\tgetModuleToTestProtocolName(), testService, startParams);\n\t\t\t\n\t\t\tcontextService = getContextService();\n\n\t\t} catch (StandardException mse) {\n\t\t\tthrow T_Fail.exceptionFail(mse);\n\t\t}\n }", "title": "" }, { "docid": "00dad497cb18613cf170419a72cc22e5", "score": "0.6749596", "text": "@BeforeAll\n public static void setUpClass() {\n emf = EMF_Creator.getEMF(EMF_Creator.Strategy.DROP_AND_CREATE);\n\n //Set System property so the project executed by the Grizly-server wil use this same database\n System.setProperty(\"IS_TEST\", PROPS.get(\"connection\"));\n //We are using the database on the virtual Vagrant image, so username password are the same for all dev-databases\n \n httpServer = startServer();\n \n //Setup RestAssured\n RestAssured.baseURI = PROPS.get(\"test_server\");\n RestAssured.port = Integer.parseInt(PROPS.get(\"test_port\"));\n \n RestAssured.defaultParser = Parser.JSON;\n }", "title": "" }, { "docid": "180b4e25a3796cf985edf1f4a121a0da", "score": "0.6701474", "text": "public static void setup() {\n readCredentials();\n loadService();\n }", "title": "" }, { "docid": "f52fa0509db91502b5394d5c8b24fc5e", "score": "0.66293573", "text": "public DeployTestEnvTest() {\n\t\t/*\n\t\t * This constructor should not be modified. Any initialization code should be\n\t\t * placed in the setUp() method instead.\n\t\t */\n\n\t}", "title": "" }, { "docid": "59e6411ce076be9c9efe550cdfb1863d", "score": "0.6539324", "text": "public TeamplayersServiceTest() {\r\n\t\tsetupRequestContext();\r\n\t}", "title": "" }, { "docid": "02f3f83df1a74d157733117087579ffe", "score": "0.6483801", "text": "@BeforeClass\n\tpublic static void setup() {\n\t\tServiceInitializer si = new ServiceInitializer();\n\t\tsi.setApplication(application);\n\t\tsi.init();\n\t}", "title": "" }, { "docid": "65aa5c426e53fb8d14d99895336e64b9", "score": "0.64082855", "text": "@Before\n\tpublic void setUp() {\n\t\tps = new ControlPayStation();\n\t}", "title": "" }, { "docid": "65aa5c426e53fb8d14d99895336e64b9", "score": "0.64082855", "text": "@Before\n\tpublic void setUp() {\n\t\tps = new ControlPayStation();\n\t}", "title": "" }, { "docid": "a7561c5671a159c4f9991a9fa169bec9", "score": "0.6390212", "text": "@Before\n\tpublic void setup() {\n\n\t\t// Service inputs\n\t\tuserId = 1l;\n\t\tgameId = new Long[]{1l};\n\t\tdays = new Integer[]{1};\n\t\t\n\t\t// DAO mocks data\n\t\tuser = new User();\n\t\tuser.setId(1l);\n\t\tuser.setPoints(2l);\n\t\t\n\t\tgame = new Game();\n\t\tgame.setId(1l);\n\t\tgame.setName(\"No Man's Sky\");\n\t\tgame.setType(Type.NEW_RELEASE.name());\n\t\t\n\t\trental = new Rental();\n\t\trental.setId(1l);\n\t\tCalendar cal = Calendar.getInstance();\n\t\tcal.setTime(new Date());\n\t\tcal.add(Calendar.DATE, -3);\n\t\tDate dateBefore3Days = cal.getTime();\n\t\trental.setRentDate(dateBefore3Days);\n\t\trental.setDays(1);\n\t}", "title": "" }, { "docid": "95931ec48866b35d4d5ddebe7f84376b", "score": "0.63407695", "text": "@BeforeSuite\n\tpublic void setupEnvironment() {\n\t\t//driver\n\t\t// profile\n\t\t// url get \n\t\t//property read\n\t\t//cookies delete\n\t\t//implicit wait\n\t\t// initialise logger (this.getClass())\n\t}", "title": "" }, { "docid": "a1aa1c1ec69be465cc07874829c629b9", "score": "0.63385665", "text": "public void setUp()\n {\n station = new WeatherStation(\"KE000069420\");\n }", "title": "" }, { "docid": "05fd034b801adf6d63babdfaf218cf82", "score": "0.6315872", "text": "protected void setUp() throws Exception {\r\n\t\tApplication.login();\r\n\r\n\t\t// Ensure the plan is created\r\n\t\tWellKnownObjects.ensurePlan(WellKnownObjects.TEST_SPACE_ID, WellKnownObjects.TEST_PLAN_ID);\r\n\r\n\t\tSessionManager.getUser().setCurrentSpace(ApplicationSpace.DEFAULT_APPLICATION_SPACE);\r\n\t}", "title": "" }, { "docid": "607a1badcee3e0430befc4390b0988f5", "score": "0.63086194", "text": "@Override\n @Before\n public void setUp() throws Exception {\n super.setUp();\n this.service = getService();\n this.workspaceId = getWorkspaceId();\n }", "title": "" }, { "docid": "7975bf71ced3f79d30940df62ccf10d7", "score": "0.63045686", "text": "@BeforeClass(alwaysRun = true)\n public void setEnvironment() throws Exception {\n\n init(\"mailchimp-connector-1.0.1-SNAPSHOT\");\n esbRequestHeadersMap.put(\"Content-Type\", \"application/json\");\n apiRequestHeadersMap.putAll(esbRequestHeadersMap);\n apiBaseUrl = connectorProperties.getProperty(\"apiUrl\") + \"/2.0\";\n }", "title": "" }, { "docid": "24512e6f3d86d902ecd53d261f6b9ec9", "score": "0.62357646", "text": "@BeforeMethod\n public void setUp() throws ClientProtocolException, IOException {\n serviceUrl = PropertyManager.getInstance().getURL();\n marketStatus = PropertyManager.getInstance().getMarketStatus();\n symbols = PropertyManager.getInstance().getSymbols();\n quotes = PropertyManager.getInstance().getQuotes();\n api_key = PropertyManager.getInstance().getApiKey();\n\n marketStatusUrl = serviceUrl + marketStatus + \"api_key=\" + api_key;\n symbolsUrl = serviceUrl + symbols + \"api_key=\" + api_key;\n\n restClient = new RestClient();\n\n }", "title": "" }, { "docid": "112dd6f6bad1f12fe8eb748b63582f1a", "score": "0.6230833", "text": "@BeforeEach\n public void setUp() {\n servant = new StubGame3();\n\n Invoker invoker = new HotCivGeneralInvoker(servant);\n\n ClientRequestHandler crh = new LocalMethodClientRequestHandler(invoker);\n\n Requestor requestor = new StandardJSONRequestor(crh);\n\n city = new GameProxy(requestor).getCityAt(new Position(8,8));\n }", "title": "" }, { "docid": "a4dd4e74b90d169b7ff5942732e1d09d", "score": "0.6211339", "text": "@Test\n public void testEnvironment() {\n System.out.println(\"DummyEnvironmentTest#testEnvironment----begin\");\n System.out.println(\"publication: \" + publication);\n System.out.println(\"stage: \" + stage);\n System.out.println(\"testKey: \" + testKey);\n System.out.println(\"DummyEnvironmentTest#testEnvironment----end\");\n }", "title": "" }, { "docid": "abc1c22acf13d9e6be42ee3d40f4a83a", "score": "0.6206167", "text": "@Before\r\n\tpublic void setUp() {\r\n\t\ttestInstance = new BonusCalculationService();\r\n\t}", "title": "" }, { "docid": "d3d12fa9a1dd6aeb10f34a4528158445", "score": "0.6196358", "text": "@Override\r\n protected void doSetUp() throws Exception {\n // Initialize commonly used objects\r\n //\r\n eParams = new ParameterInfoTestData(); \r\n eContextHelper = new EFeatureTestsContextHelper(true, false);\r\n eStoreFactory = EFeatureFactoryFinder.getDataStoreFactory();\r\n }", "title": "" }, { "docid": "ddee9eb6db16113c0d95de19554a7bc2", "score": "0.617797", "text": "@PostConstruct\n\tprivate void init() throws NamingException, IOException {\n\t\tif (System.getenv(\"java.net.useSystemProxies\") != null)\n\t\t\tSystem.setProperty(\"java.net.useSystemProxies\",\n\t\t\t\t\tSystem.getenv(\"java.net.useSystemProxies\"));\n\n\t\tLOG.warn(\"Pillar Started Logging !\");\n\t\ttry {\n\t\t\t// Try to get Environment name from server's hostname\n\t\t\tString hostName = null;\n\t\t\ttry {\n\t\t\t\thostName = InetAddress.getLocalHost().getCanonicalHostName();\n\t\t\t} catch (UnknownHostException uhe) {\n\t\t\t\t// TODO Improve\n\t\t\t\thostName = uhe.getMessage().split(\":\")[0];\n\t\t\t}\n\n\t\t\tString envName = null;\n\t\t\tfor (EnvironmentNames name : EnvironmentNames.values()) {\n\t\t\t\tif (hostName.contains(name.toString().toLowerCase())) {\n\t\t\t\t\tenvName = name.toString().toLowerCase();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// TODO: Temporary hard-coded configuration for development hosts\n\t\t\tif (hostName == null || hostName.contains(\"grandolfo\") || hostName.contains(\"SAN\") || hostName.contains(\"Mike\"))\n\t\t\t\tenvName = EnvironmentNames.INFN.toString().toLowerCase();\n\t\t\t\n\t\t\tif( hostName.contains(\"SAN\"))\n\t\t\t\tenvName = EnvironmentNames.REPLY_DEV.toString().toLowerCase();\n\t\t\t\n\t\t\t\n\t\t\tif (envName != null) {\n\t\t\t\tenvProfile = envName;\n\t\t\t\tLOG.info(\"ENVIRONMENT AUTO-DISCOVERY: \" + envName\n\t\t\t\t\t\t+ \" environment detected ! Using \" + envProfile\n\t\t\t\t\t\t+ \" profile.\");\n\t\t\t} else\n\t\t\t\tLOG.warn(\"ENVIRONMENT AUTO-DISCOVERY: environment detection failed ! Using default (\"\n\t\t\t\t\t\t+ envProfile + \") profile.\");\n\n\t\t\t// Load properties\n\t\t\tloadServicesEndpointsProperties(true);\n\n\t\t\t// Check loaded\n\t\t\tif (!envProfile\n\t\t\t\t\t.equalsIgnoreCase(getSvcEndpointProperty(SVCEP_ENV_NAME)))\n\t\t\t\tthrow new Exception(\n\t\t\t\t\t\t\"Environment properties name mismatch (found '\"\n\t\t\t\t\t\t\t\t+ getSvcEndpointProperty(SVCEP_ENV_NAME)\n\t\t\t\t\t\t\t\t+ \"', expected '\"\n\t\t\t\t\t\t\t\t+ envProfile\n\t\t\t\t\t\t\t\t+ \"'). Check 'environment_name' properties in services_endpoint.properties file. It MUST match the profile folder name (not case sensitive).\");\n\n\t\t} catch (Exception ex) {\n\t\t\tthrow new Error(\"CANNOT LOAD ENVIRONMENT CONFIGURATION !\", ex);\n\t\t}\n\t}", "title": "" }, { "docid": "471a7c5afe858458a5b668fdd6f2184c", "score": "0.61728203", "text": "@Before\n @Override\n public void standUp() throws DecryptException {\n super.standUp();\n virtualServer = new VirtualServer();\n properties = new VirtualServerProperties();\n basic = new VirtualServerBasic();\n poolName = TESTNAME;\n vsName = TESTNAME;\n port = 8998;\n pool = new Pool();\n pool.setProperties(new PoolProperties());\n basic.setPool(poolName);\n basic.setPort(port);\n properties.setBasic(basic);\n virtualServer.setProperties(properties);\n }", "title": "" }, { "docid": "e7d0a8f8fe3531026ddc44884084e98b", "score": "0.61635596", "text": "@Before(on={\"view\", \"viewFeatures\",\"viewPrices\",\"viewHours\"})\r\n\tpublic void setup() throws Exception {\r\n\t\tif (action == Action.Create && getActiveUser().getAdminAccessCheck()) {\r\n\t\t\tsetCreateDepot(true);\r\n\t\t\tdepot = new KinekPoint();\r\n\t\t\tKinekPointStatus status = new KinekPointStatus();\r\n\t\t\tstatus.setId(ExternalSettingsManager.getDepotStatusInactive());\r\n\t\t\tdepot.setStatus(status);\r\n\t\t\tstatusId = depot.getStatus().getId();\r\n\t\t}\r\n\t\telse if (action == Action.Edit && depotId > 0 && (getActiveUser().getAdminAccessCheck() || getActiveUser().getDepotAdminAccessCheck())) {\r\n\t\t\t// Get a depot if one is specified\r\n\t\t\tdepot = new KinekPointDao().read(depotId);\r\n\t\t\tdepot.filterExtendedRates();\r\n\t\t\tsetupControls();\r\n\t\t}\r\n\t\telse {\r\n\t\t\tdepot = null;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8a77701a33c51b8def14d955cad5b857", "score": "0.6136059", "text": "@Before\r\n public void setUp() {\r\n\r\n // Create a valid map, we'll add to and remove from this for error cases\r\n this.offeringMap = TestMapUtilities.getValidOfferingMap();\r\n\r\n }", "title": "" }, { "docid": "6f19b0bed4a0f11fe504021e7297ce07", "score": "0.61252624", "text": "@Before\r\n\tpublic final void setup() {\r\n\t\tthis.serviceManager = new ServiceManager();\r\n\t}", "title": "" }, { "docid": "f40ab863096b2f616cefafdef14eb5cc", "score": "0.6102485", "text": "private void initEnv() {\n if (isEmpty(port)) {\n port = getProject().getProperty(\"p4.port\");\n if (isEmpty(port)) {\n port = System.getenv(\"P4PORT\");\n }\n }\n if (isEmpty(user)) {\n user = getProject().getProperty(\"p4.user\");\n if (isEmpty(user)) {\n user = System.getenv(\"P4USER\");\n }\n }\n if (isEmpty(passwd)) {\n passwd = getProject().getProperty(\"p4.passwd\");\n if (isEmpty(passwd)) {\n passwd = System.getenv(\"P4PASSWD\");\n }\n }\n if (isEmpty(client)) {\n client = getProject().getProperty(\"p4.client\");\n if (isEmpty(client)) {\n client = System.getenv(\"P4CLIENT\");\n }\n }\n if (isEmpty(charset)) {\n charset = getProject().getProperty(\"p4.charset\");\n if (isEmpty(charset)) {\n charset = System.getenv(\"P4CHARSET\");\n }\n }\n }", "title": "" }, { "docid": "9ca5fae836bdc26aca284d5318b527d3", "score": "0.6101604", "text": "@Before\n public void setUp() throws Exception {\n Moviper.getInstance().setConfig(new Config.Builder().build());\n }", "title": "" }, { "docid": "ce8e648ebb1c7bcf095bea50844f68f0", "score": "0.6077786", "text": "@Override\n\tprotected void setUp() throws Exception {\n\t\tsuper.setUp();\n\t\tSystem.out.println(\"=========== start \"+super.getName()+\"=============\");\n\t\tbotService = new PlurkBotService();\n\t}", "title": "" }, { "docid": "2631a2ca44187ed17fb27b9fc8937b7e", "score": "0.60772103", "text": "@Before\r\n public void setUp() {\r\n player = new Player(\"username\", Privilege.NORMAL, CarType.CASUAL);\r\n car = new Car(0.0F, 0.0F, 0.0F, CarType.PICKUP, player);\r\n ball = new Ball(0.0F, 0.0F, 0.0F, BallType.PUCK);\r\n goalBlue = new Rectangle(1, 2, 10, 20);\r\n goalRed = new Rectangle(3, 4, 30, 40);\r\n map = new Map(new Rectangle(5, 6, 50, 60), ball, goalBlue, goalRed);\r\n }", "title": "" }, { "docid": "7964e1a98373d612ab542dcaaa46a5d6", "score": "0.6069759", "text": "public DevelopmentEnvironment()\n {\n // init the lists so we can add the protocols and game apps\n gameFactories = new ArrayList<>();\n protContainers = new ArrayList<>();\n \n // also init some common parameters, like db\n dbParams.put(\"dbip\", \"localhost\");\n dbParams.put(\"dbport\", \"3306\");\n dbParams.put(\"dbdatabase\", \"gwlpr\");\n dbParams.put(\"dbusername\", \"root\");\n dbParams.put(\"dbpassword\", \"\");\n \n // Step 1:\n // create the game app factories\n gameFactories.add(produceLoginShard());\n gameFactories.add(produceMapShard());\n \n // Step 2:\n // create the protocols\n protContainers.add(produceLoginProtocol());\n protContainers.add(produceGameProtocol());\n }", "title": "" }, { "docid": "948bbb3224cd19afdf844f89bb0dc4f0", "score": "0.60618347", "text": "protected void setUp() throws Exception {\n phaseManager = new MockPhaseManager();\n projectManager = new MockProjectManager();\n projectRetrieval = new MockProjectRetrieval();\n resourceManager = new MockResourceManager();\n teamManager = new MockTeamManager();\n impl = new ProjectServicesImpl(projectRetrieval, resourceManager, phaseManager, teamManager,\n projectManager, LogManager.getLog(\"ProjectServicesFailure\"), 1);\n }", "title": "" }, { "docid": "b1da20baec3d75845a382e7d78e4fcbd", "score": "0.6061284", "text": "@Before\n public void init() {\n\n privKey = SDK_GateWay_KeyPair_Para.privkey1;\n pubKey = SDK_GateWay_KeyPair_Para.pubKey1;\n\n CLIENT_CERT = new BlockchainKeypair(SDK_GateWay_KeyPair_Para.pubKey0, SDK_GateWay_KeyPair_Para.privkey0);\n GATEWAY_IPADDR = \"127.0.0.1\";\n GATEWAY_PORT = 8081;\n SECURE = false;\n GatewayServiceFactory serviceFactory = GatewayServiceFactory.connect(GATEWAY_IPADDR, GATEWAY_PORT, SECURE,\n CLIENT_CERT);\n service = serviceFactory.getBlockchainService();\n\n DataContractRegistry.register(TransactionContent.class);\n DataContractRegistry.register(TransactionContentBody.class);\n DataContractRegistry.register(TransactionRequest.class);\n DataContractRegistry.register(NodeRequest.class);\n DataContractRegistry.register(EndpointRequest.class);\n DataContractRegistry.register(TransactionResponse.class);\n }", "title": "" }, { "docid": "b6d38b2e6005bae4467c58b4f0d003c8", "score": "0.6058331", "text": "@Before\r\n\tpublic void setUp() throws Exception {\n\t\tv3.setUFile(uFile, \"Variable X\");\r\n\t\tv3.setVFile(vFile, \"Variable X\");\r\n\t\tv3.setWFile(wFile, \"Variable X\");\r\n\t\tv3.setXLookup(\"Longitude\");\r\n\t\tv3.setYLookup(\"Latitude\");\r\n\t\tv3.setZLookup(\"Depth\");\r\n\t\tv3.setTLookup(\"Time\");\r\n\t\tv3.setTimeOffset(0);\r\n\t\t\r\n\t\t// Attach the velocity reader to the Movement class, and set\r\n\t\t// h, the minimum integration time step.\r\n\t\t\r\n\t\trk3d.setVr(v3);\r\n\t\trk3d.setH(10);\r\n\t\t\r\n\t\t// Set parameter values\r\n\t\t\r\n\t\t// Why set Release parameters using the Parameter class instead of directly? \r\n\t\t// The thinking was that parameters could be sent out to client machines. \r\n\t\t// Rather than bottlenecking at the source (the requester), we create copies\r\n\t\t// of the values that can then be distributed to the client machines.\r\n\t\t\r\n\t\tprm.setDepth(0);\r\n\t\tprm.setLocName(\"Test\");\r\n\t\tprm.setRelDuration(100);\r\n\t\tprm.setPosition(gf.createPoint(new Coordinate(0,0.5,0)));\r\n\t\tprm.setH(10);\r\n\t\t\r\n\t\t// Set the more complex release components - Null here for testing.\r\n\t\t\r\n\t\tr.setParameters(prm);\r\n\t\tr.setCollisionDetector(new CollisionDetector_None());\r\n\t\tr.setDiffusion(new Diffusion_None());\r\n\t\tr.setMortality(new NullPlug());\r\n\t\tr.setMovement(rk3d);\r\n\t\tr.setSettlement(new Settlement_None());\r\n\t\tr.setTrajectoryWriter(new NullPlug());\r\n\t}", "title": "" }, { "docid": "b4d9ce1e055dd6103f0c36c34ad12c7e", "score": "0.60377204", "text": "@Before\r\n public void setup() {\r\n cashMachine = CashMachine.getInstance();\r\n setupStockDAO();\r\n setupStock();\r\n }", "title": "" }, { "docid": "cfbd03e65097cfeac58c4dab1cec9462", "score": "0.6037168", "text": "@BeforeClass\n public synchronized static void setupLocalUserModeBaseClass() throws Exception {\n String param_IP = System.getProperty(\"APP_HOST_NAMES\");\n if (param_IP != null) {\n controllerNodeEndpoint = param_IP;\n } else {\n Properties properties = new Properties();\n properties.load(ClassLoader.class.getResourceAsStream(\"/test-env.conf\"));\n controllerNodeEndpoint = properties.getProperty(\"APP_HOST_NAMES\");\n }\n logger.info(\"Controller node endpoint: \" + controllerNodeEndpoint);\n\n systemClient = new ViPRSystemClient(controllerNodeEndpoint, true).withLogin(\"root\", rootPassword);\n coreClient = new ViPRCoreClient(controllerNodeEndpoint, true).withLogin(\"root\", rootPassword);\n\n waitForClusterStable();\n\n PropertyInfoRestRep propertyInfoRestRep = systemClient.config().getProperties();\n String viprDataIps = propertyInfoRestRep.getProperty(\"system_datanode_ipaddrs\");\n if (viprDataIps != null) {\n dataNodeEndpoint = viprDataIps.split(\",\")[0];\n }\n }", "title": "" }, { "docid": "ad65765be3417f73f32fbd57dbe0ce91", "score": "0.6034314", "text": "@BeforeTest\n\tpublic void getEnvironmentData() throws IOException {\n\t\t//Update your api key in file env.properties if needed. I have placed my api key for now.\n\t\tFileInputStream fis = new FileInputStream(\"./env.properties\");\n\t\tprop.load(fis);\n\t}", "title": "" }, { "docid": "89860d5470fff90dd9fa49093f748ffd", "score": "0.60175717", "text": "@Test\n public void testEnvironment_2()\n throws Exception {\n String frontEndUrl = \"\";\n String backEndUrl = \"\";\n\n Environment result = new Environment(frontEndUrl, backEndUrl);\n\n assertNotNull(result);\n assertEquals(\"\", result.getFrontEndUrl());\n assertEquals(\"\", result.getBackEndUrl());\n }", "title": "" }, { "docid": "c69dd3eab3c4e066345999de9cdb206b", "score": "0.5999087", "text": "public interface TestConstants {\n\t\t\n\tpublic static final boolean VOLLEY_ENABLED = false;\n\t\t\n\t//Custom hosts. Set these when a service has been deployed to a different url than the base\n\tpublic static final String HOST_CATALOGUE = null;//\"http://backend-build-2:9128/service\";\n\tpublic static final String HOST_SEARCH = null;//\"http://backend-build-2:9131/service\";\n\tpublic static final String HOST_PROMOTION = null;//\"http://backend-build-2:9130/service\";\n\tpublic static final String HOST_LIBRARY = null;//\"http://backend-build-2:9129/service\";\n\tpublic static final String HOST_BOOKMARK = null;//\"http://backend-build-2:9136/service\";\n\tpublic static final String HOST_BASKET = null;//\"http://backend-build-2:9132/service\";\n\tpublic static final String HOST_CREDIT = null;\n\tpublic static final String HOST_PAYMENTS = null;//\"http://backend-build-2:9133/service\";\n\tpublic static final String HOST_CREDIT_CARDS = null;//\"http://backend-build-2:9134/service\";\n\tpublic static final String HOST_CLUBCARDS = null;//\"http://backend-build-2:9135/service\";\n\t\n\t/* QA Environment parameters */\n//\tpublic static final String HOST = \"https://qa.mobcastdev.com/service\";\n//\tpublic static final String AUTHENTICATE_HOST = \"https://auth.mobcastdev.com\";\n//\tpublic static final String KEY_HOST = \"http://keys.mobcastdev.com\";\n//\t\n//\tpublic static final String USERNAME = \"[email protected]\";\n//\tpublic static final String PASSWORD = \"blinkbox\";\n//\tpublic static final String CLIENT_ID = \"urn:blinkbox:zuul:client:5589\";\n//\tpublic static final String CLIENT_SECRET = \"ShuiRFAyvXjy9SAA8vTom950rZSuyPG59KpowkG4knA\";\n//\t\n//\tpublic static final String BRAIN_TREE_ENCRYPTION_KEY = \"MIIBCgKCAQEA3nQA3AwLu/EDRDWww7ocqM5PeC4tANAHzyqczWC9KTOqD1hvMjiP7T/wKZUnz81iNriYJIFMY47UKTdysvFBNHt75OJJbBRa1Hf+/b8uvUBHfkbA2n+JE5GQhRU+oM+TMJSJ86Q5phVda0ddTwS8lH8D+18nXQZspbyxpfwzDiyzG9n5lX8/27byrSDixguDNfbSoTwgvmo81Obhz/ZuXjWW9U22Ss9xSznlCcnIpGN/u0BwMaiTcGUFPFhThr0R9Ia0h1fRRobt+Uh9BvkE3D1GBRtkP7dPFs7nJJQdt6pSW7zEVNjLuctX3y/C3dNvb9DeyoGT0kRSyAB3+65gNQIDAQAB\";\n//\tpublic static final String LIBRARY_ITEM_ID = \"304+312\";\n//\t\n//\tpublic static final String LIBRARY_ITEM_ID_RESTORE_DELETE = \"305+313\";\n\t/* -------------------------- */\n\t\n\t/* Production Environment parameters */\n\tpublic static final String HOST = \"https://api.blinkboxbooks.com/service\";\n\tpublic static final String AUTHENTICATE_HOST = \"https://auth.blinkboxbooks.com\";\n\tpublic static final String KEY_HOST = \"http://keys.blinkboxbooks.com\";\n\t\n\tpublic static final String USERNAME = \"[email protected]\";\n\tpublic static final String PASSWORD = \"b%l^i!n&*bo(x)\";\n\tpublic static final String CLIENT_ID = \"urn:blinkbox:zuul:client:12143\";\n\tpublic static final String CLIENT_SECRET = \"jnJ9lF6iT01wTFt2PhqCmN2RcT4_iy7YW8aMgNtMWTU\";\t\n\t\n\tpublic static final String BRAIN_TREE_ENCRYPTION_KEY = \"MIIBCgKCAQEAxKQ8pPwfcCRhU8ZBdwj5wSSPCvQYq35M++4dWo1n/1aABv/h/XAsOAeH0F3WCPguxvN+tzjWUS1yvYg55QQhRhuIjCL+LJkqRnbBSEFUng4ROsRVZT5bTS9yREl6wGmbqF57uESpN2auDM6yHcWyztV8WdGgdtO09HDHyUSYNGUuE2J+bp2UKc3sojl31xrC1Soym6qEShtCRKA1n6QNcXhsXk2T+py/g5UOHrwdNrqtwHvh92PmytUvTBlDlcuEt0QqgjVyKGyBWGgqQ/bCSbgWDeVJnuLjJIw6DiymPfa97G+vmnyXlZ6ds2WwJEP2jBvJE7q61V+wV+pgKve9CQIDAQAB\";\n\t\n\tpublic static final String LIBRARY_ITEM_ID = \"45032+48362\";\n\t\n\tpublic static final String LIBRARY_ITEM_ID_RESTORE_DELETE = \"45033+48363\";\n\t/* -------------------------- */\n\t\n\tpublic static final String DOWNLOAD_EPUB_FILE = \"http://media.blinkboxbooks.com/9781/444/765/588/c29874b3fdd35466148fa4725619c80f.epub\";\n\t\n\tpublic static final String CLIENT_NAME = \"android_unit_tests_name_2\";\n public static final String CLIENT_NAME2 = \"android%_unit$_tests£_name!_2\";\n\tpublic static final String CLIENT_MODEL = \"android_unit_tests_model_2\";\n\tpublic static final String CLIENT_BRAND = \"android_unit_tests_brand_2\";\n\tpublic static final String CLIENT_OS = \"android_unit_tests_os_2\";\n\t\n\tpublic static final String TEST_CLUBCARD = \"634004025014064256\";\n\t\n\tpublic static final String QUERY = \"Harry Potter\";\n\tpublic static final String BOOK_BASKET_ITEM_ISBN = \"9780007344086\";\n\tpublic static final String BOOK_ID = \"9781782110194\";\n\tpublic static final String ISBN = \"9781782110194\";\n\tpublic static final String ISBN_2 = \"9781782110194\";\n\tpublic static final Integer LOCATION_ID = 1;\n\tpublic static final String PROMOTION_NAME = \"books-in-the-news\";\n\tpublic static final String CATEGORY_NAME = \"Arts\";\n\tpublic static final String SORT_ORDER_NAME = \"NAME\";\n\t\n\t\n\tpublic static final String CREDIT_CARD_NUMBER = \"5555555555554444\";\n\tpublic static final String CREDIT_CARD_CVV2 = \"579\";\n\tpublic static final String CREDIT_CARD_EXPIRATION_MONTH = \"10\";\n\tpublic static final String CREDIT_CARD_EXPIRATION_YEAR = \"2014\";\n\tpublic static final String CREDIT_CARD_HOLDER_NAME = \"Jim Harry\";\n\t\n\tpublic static final String ADDRESS_LINE_1 = \"25 Bank Street\";\n\tpublic static final String ADDRESS_LINE_2 = \"Canary Wharf\";\n\tpublic static final String LOCALITY = \"London\";\n\tpublic static final String POSTCODE = \"EC1 5RF\";\n\tpublic static final String POSTCODE_UPDATED = \"EC1 5RF\";\n\t\n\tpublic static final String[] CONTRIBUTOR_NAMES = {\"Smith\", \"Robert\"};\n\t\n\tpublic static final String CONTRIBUTOR_ID = \"ff4c2c9d4f4d763595a224395ebe413bd9140f55\";\n\t\n\tpublic static final Integer[] PUBLISHER_IDS = {485, 485, 485};\n\tpublic static final String[] CONTRIBUTOR_IDS = {CONTRIBUTOR_ID, CONTRIBUTOR_ID, CONTRIBUTOR_ID};\n\t\t\n\tpublic static final int CATEGORY_LOCATION = 100;\n\tpublic static final int CATEGORY_ID = 35;\n\tpublic static final int COUNT = 20;\n\tpublic static final int LIMIT = 10;\n\tpublic static final int OFFSET = 0;\n\tpublic static final int PROMOTION_ID = 1;\n\tpublic static final int PUBLISHER_ID = 485;\n\t\n\tpublic static Long LAST_SYNC_TIME = 1272319624608l;\n}", "title": "" }, { "docid": "48caa2a0b4c54dbc5bddad9ecb8551e4", "score": "0.5991968", "text": "@Before \n\t\n\tpublic void setup(){\n\t\tcustomerService= new CustomerService(); \n\t\t dummyCustomer = new Customer(001, \"John\", \"Smith\", \"[email protected]\", CreditStatus.ONHOLD, \"password01\", \"1234567890\"); \n\t\t wrongCustomer = new Customer(999, \"betty\", \"blarfengarf\", \"fight me\", CreditStatus.BLACKLISTED, \"obama\", \"blue\");\n\t\t firstName=\"meep\";\n\t\t lastName=\"morp\";\n\t\t email=\"[email protected]\";\n\t\t password=\"dorwssap\";\n\t\t phone=\"0987654321\";\n\t userID=001;\n\t}", "title": "" }, { "docid": "5fdb45a4681be9251fa88df1ea8cf998", "score": "0.5990966", "text": "@BeforeClass\r\n public static void initialiseTestVariables() {\r\n plat = new Plateau(new Point(8, 8));\r\n instance = new Rover(new Point(1, 2), plat, 'N');\r\n }", "title": "" }, { "docid": "81ada8fb327862a02f0468b14079056d", "score": "0.5990714", "text": "@Before\r\n public void setUp() {\r\n project = new Project(\"testProject\");\r\n \r\n nOfVariables = ProjectTestUtilities.createInstancesForAllDatatypes(project); \r\n ProjectTestUtilities.validateProject(project);\r\n\r\n config = new Configuration(project);\r\n }", "title": "" }, { "docid": "65916ba91922813751a4f8df183a45cf", "score": "0.5989746", "text": "@Test\n public void testEnvironment_1()\n throws Exception {\n\n Environment result = new Environment();\n\n assertNotNull(result);\n assertEquals(null, result.getFrontEndUrl());\n assertEquals(null, result.getBackEndUrl());\n }", "title": "" }, { "docid": "db369bffc8ddf483902ec688cece9214", "score": "0.5983172", "text": "@BeforeMethod(alwaysRun = true)\n\t\tpublic void SetUp(Method method) {\n\t\t\t\n\t\t\tapi = new ConfigManager(\"Api\");\n\t\t\tsouthwestproduct = new SouthWestProduct();\n\t\t\tcurrentTestName = method.getName();\n\t\t\t\n\t\t}", "title": "" }, { "docid": "61705a40792c3188fda0d0a170e4d901", "score": "0.5982512", "text": "@BeforeClass\n public static void setUpClass() throws TechnicalException {\n NoraRobotContext.getInstance().initializeEnv(\"NoraRobot.properties\");\n NoraRobotContext.getInstance().initializeRobot(NoraRobotRunnerApi.class);\n\t}", "title": "" }, { "docid": "2bc6ed6a1d7f50296a39add24e06bd46", "score": "0.59812266", "text": "@Before\r\n public void setUp() {\r\n\r\n // get Main_App instance\r\n myMain = Main_App.get_instance();\r\n facade = EWS_Facade.get_instance();\r\n }", "title": "" }, { "docid": "fd9052f4518307de81bee85cb56fd5fb", "score": "0.59754544", "text": "@BeforeTest\n\tpublic void init() {\n\t\ttry {\n\t\t\tdriver = new RemoteWebDriver(new URL(\"http://172.28.151.18:4444/wd/hub\"), DesiredCapabilities.chrome());\n\t\t} catch (MalformedURLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tdriver.get(\"http://172.28.151.18:8080/JavaCheckoutJ2eeExampleEjb/\");\n\t\tpageCartBuilder = new CartBuilder(driver);\n\t\tpageChargeOrder = new ChargeOrder(driver);\n\t\tblockNavigation = new NavigationBlock(driver);\n\t}", "title": "" }, { "docid": "5112dd6734c66ff54fa79f12c658e55e", "score": "0.59724146", "text": "@Before\n public void setUp() throws Exception {\n // setup one time.\n if (mSEService == null) {\n HiLog.info(LABEL, \"testSecureElement000 setUp()\");\n // need a Context object for SEService if necessary.\n mSEService = new SEService(new ohos.aafwk.ability.Ability(), new TestServiceConnectedCallback());\n }\n execResult = EXEC_SUCCESS;\n }", "title": "" }, { "docid": "16f0374596811bcfbfbdc04136b7a0c9", "score": "0.59633815", "text": "@BeforeAll\n public static void setUpClass() {\n emf = EMF_Creator.createEntityManagerFactoryForTest();\n\n //Set System property so the project executed by the Grizly-server wil use this same database\n EMF_Creator.startREST_TestWithDB();\n \n httpServer = startServer();\n\n //Setup RestAssured\n RestAssured.baseURI = SERVER_URL;\n RestAssured.port = SERVER_PORT;\n\n RestAssured.defaultParser = Parser.JSON;\n }", "title": "" }, { "docid": "92cdfc9f245529402b19524d8092bbaf", "score": "0.5947689", "text": "@BeforeAll\n public static void init(){\n baseURI = ConfigurationReader.getProperty(\"hr.baseUri\");\n basePath = \"/ords/hr/api\";\n\n\n\n // CREATING CONNECTION WITH DB\n String url = ConfigurationReader.getProperty(\"hr.database.url\");\n String username = ConfigurationReader.getProperty(\"hr.database.username\");\n String password = ConfigurationReader.getProperty(\"hr.database.password\");\n DB_Utility.createConnection(url,username,password);\n\n\n }", "title": "" }, { "docid": "ead63999a592754d2169e2a716c20ca8", "score": "0.59146553", "text": "@Before\r\n public void setUp()\r\n {\r\n productC1 = new ModelLayer.ProductCollectionForLease();\r\n productC1.makeProductForLease(\"b1\", \"a\", \"a\", \"a\", \"Available\", 5);\r\n productC1.makeProductForLease(\"b2\", \"b\", \"b\", \"b\", \"Unavailable\", 10);\r\n }", "title": "" }, { "docid": "dba136f83f7f523bdd84bd9c2d185225", "score": "0.5899398", "text": "@Before\r\n public void setUp() {\r\n r = new RobotCaterpillar(new Node(10,10,TypeNode.NORMAL));\r\n }", "title": "" }, { "docid": "7b1d43a150190aa556f8c5037d638480", "score": "0.5895128", "text": "@Before(order = 10)\n public void readEnvironmentProperties() {\n TestProperties.getInstance();\n }", "title": "" }, { "docid": "c0507558259331c2b813f168f661345d", "score": "0.5889444", "text": "protected synchronized void setUp()\n {\n if (vfsClient == null)\n vfsClient = new VFSClient();\n }", "title": "" }, { "docid": "be338585353a91ebb8f48384182ad045", "score": "0.5877563", "text": "@BeforeClass\n\n\tpublic static void BeforeClass() throws Exception {\n\n\t\tapp = new App(new HousingCostImplementation());\n\n\t}", "title": "" }, { "docid": "9d3ac6516ecc77d022653d7873dc1556", "score": "0.5874735", "text": "@Before\n public void setUp() {\n checkoutService = new CheckoutServiceImpl();\n }", "title": "" }, { "docid": "7650708fe4b91f1af16fcb1035e253a3", "score": "0.58731365", "text": "@BeforeClass\r\n \tpublic static void beforeClass() throws Exception{\n \t\tint timeout = 1000*60*2; // 2 minute timeout\r\n \t\tint maxTotalConnections = 1; // Only need one for this test.\r\n \t\tprovider = new RestTemplateProviderImpl(timeout, maxTotalConnections);\r\n \t\t// Create the service\r\n \t\tservice = new UserAccountServiceImpl();\r\n \t\t// Inject the required values\r\n \t\tservice.setRestTemplate(provider);\r\n \t\tServiceUrlProvider urlProvider = new ServiceUrlProvider();\r\n \t\turlProvider.setAuthServicePrivateUrl(serviceUrl.toString() + \"auth/v1\");\t\t\r\n \t\tservice.setServiceUrlProvider(urlProvider);\r\n \t\t\r\n //\t\tLocalAuthServiceStub.groups.add(group1);\r\n //\t\tLocalAuthServiceStub.groups.add(group2);\r\n //\t\tLocalAuthServiceStub.users.add(user1acl);\r\n //\t\tLocalAuthServiceStub.users.add(user2acl);\r\n \r\n \t}", "title": "" }, { "docid": "73ec6ac89215dcdb6cbfdb75781928ec", "score": "0.58701885", "text": "@BeforeClass\n public static void setup() {\n gitLabApi = baseTestSetup();\n testProject = getTestProject();\n }", "title": "" }, { "docid": "3ff2fdd1a75c8dfa58a8a063f0a128f9", "score": "0.58697253", "text": "@BeforeClass\n public static void createAndStartService() throws IOException {\n }", "title": "" }, { "docid": "082b9fc95aabbe5c4242ea023f0e0607", "score": "0.58650774", "text": "protected void setUp() {\n prizeType = new PrizeType();\n }", "title": "" }, { "docid": "4da2e6aff7c4e043320028fed67d609f", "score": "0.58457655", "text": "@BeforeClass\n public static void initializeConstant()\n {\n GCP_EMAIL = Optional.of(System.getenv(\"GCP_EMAIL\"));\n GCP_P12_KEYFILE = Optional.of(System.getenv(\"GCP_PRIVATE_KEYFILE\"));\n GCP_JSON_KEYFILE = Optional.of(System.getenv(\"GCP_JSON_KEYFILE\"));\n GCP_BUCKET = System.getenv(\"GCP_BUCKET\");\n // skip test cases, if environment variables are not set.\n assumeNotNull(GCP_EMAIL, GCP_P12_KEYFILE, GCP_JSON_KEYFILE, GCP_BUCKET);\n\n GCP_BUCKET_DIRECTORY = System.getenv(\"GCP_BUCKET_DIRECTORY\") != null ? getDirectory(System.getenv(\"GCP_BUCKET_DIRECTORY\")) : getDirectory(\"\");\n GCP_PATH_PREFIX = GCP_BUCKET_DIRECTORY + \"output_\";\n LOCAL_PATH_PREFIX = GcsOutputPlugin.class.getClassLoader().getResource(\"sample_01.csv\").getPath();\n GCP_APPLICATION_NAME = \"embulk-output-gcs\";\n }", "title": "" }, { "docid": "07fed0b0f83f845601b18b6ec492f920", "score": "0.5842909", "text": "@BeforeClass(alwaysRun = true)\n public void setUp() throws Exception{\n //Set up logger configuration.\n log = Logger.getLogger(templateTest.class);\n PropertyConfigurator.configure(\"log4j.properties\");\n log.info(\"Set Up automated test for \" + getClass().getName());\n //Initializing properties information.\n frontEndComponents = new Properties();\n filePropertiesFront = new FileInputStream(\"frontEndComponents.properties\");\n frontEndComponents.load(filePropertiesFront);\n generalComponents = new Properties();\n filePropertiesGeneral = new FileInputStream(\"general.properties\");\n generalComponents.load(filePropertiesGeneral);\n baseURL = generalComponents.getProperty(\"environment\");\n pathEvidence = generalComponents.getProperty(\"pathEvidence\") + \"templateTest//\";//This variable is to set path for screenshots. The fourth field is the name for automation test case\n //Set up browser information. Using headless (browser without graphic interface) by default with i = 1.\n i = 3;\n browser = \"headless\";\n log.info(\"Finish set up\");\n }", "title": "" }, { "docid": "472723d169e258895741afb59fd25dc1", "score": "0.5839195", "text": "@BeforeAll\n public static void setUpClass() {\n EMF_Creator.startREST_TestWithDB();\n emf = EMF_Creator.createEntityManagerFactoryForTest();\n\n httpServer = startServer();\n //Setup RestAssured\n RestAssured.baseURI = SERVER_URL;\n RestAssured.port = SERVER_PORT;\n RestAssured.defaultParser = Parser.JSON;\n }", "title": "" }, { "docid": "f78c9664d471f1d1a519cc32bdbaea04", "score": "0.5836377", "text": "@Test\n public void testPlanetExtractorDetails() {\n // TODO: test PlanetExtractorDetails\n }", "title": "" }, { "docid": "fcb866f0744c2808dd18d6ec65398218", "score": "0.58295465", "text": "@Before\n public void setUp() throws Exception {\n creationUrl = new URL(\"http://tusd.tusdemo.net\");\n int port = PortFactory.findFreePort();\n mockServerURL = new URL(\"http://localhost:\" + port + \"/files\");\n mockServer = startClientAndServer(port);\n }", "title": "" }, { "docid": "90e8f74c834cb3482c1b9046cce8e820", "score": "0.58254", "text": "public OrderServiceTest() {\r\n\t\tsetupRequestContext();\r\n\t}", "title": "" }, { "docid": "642511891e808c9278e9592691867d89", "score": "0.58249813", "text": "protected void setUp() throws Exception\r\n {\r\n super.setUp();\r\n\r\n stockQuoteService = new StockQuoteService();\r\n }", "title": "" }, { "docid": "cdcfc31c44473947ca420825600fee97", "score": "0.58248824", "text": "@Override\n protected void oneTimeSetUp() throws Exception {\n if (System.getProperty(\"org.geotools.referencing.forceXY\") == null) {\n System.setProperty(\"org.geotools.referencing.forceXY\", \"true\");\n }\n if (Boolean.TRUE.equals(Hints.getSystemDefault(Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER))) {\n Hints.putSystemDefault(Hints.FORCE_AXIS_ORDER_HONORING, \"http\");\n }\n \n // setup quiet logging (we need to to this here because Data\n // is loaded before GoeServer has a chance to setup logging for good)\n try {\n Logging.ALL.setLoggerFactory(Log4JLoggerFactory.getInstance());\n } catch (Exception e) {\n LOGGER.log(Level.SEVERE, \"Could not configure log4j logging redirection\", e);\n }\n GeoServer.suppressLoggingConfiguration();\n GeoServer.configureGeoServerLogging(getClass().getResourceAsStream(getLogConfiguration()), false, true, null);\n \n // set up test data and, if succeeds, create a mock servlet context and start up the spring configuration\n testData = buildTestData();\n testData.setUp();\n if (testData.isTestDataAvailable()) {\n MockServletContext servletContext = new MockServletContext();\n servletContext.setInitParameter(\"GEOSERVER_DATA_DIR\", testData.getDataDirectoryRoot()\n .getPath());\n servletContext.setInitParameter(\"serviceStrategy\", \"PARTIAL-BUFFER2\");\n \n applicationContext = new GeoServerTestApplicationContext(getSpringContextLocations(),\n servletContext);\n applicationContext.refresh();\n \n // set the parameter after a refresh because it appears a refresh\n // wipes\n // out all parameters\n servletContext.setAttribute(\n WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE,\n applicationContext);\n }\n }", "title": "" }, { "docid": "f8c9b359c3c120051e5015f25a605198", "score": "0.58171576", "text": "@Before\n public void setUp() throws Exception {\n taskPi = new TaskPi(0, 100000000.0);\n }", "title": "" }, { "docid": "15b11fbd014394c93dc540f942bf290c", "score": "0.581546", "text": "@BeforeAll\n public static void setUpClass() {\n EMF_Creator.startREST_TestWithDB();\n emf = EMF_Creator.createEntityManagerFactoryForTest();\n \n httpServer = startServer();\n //Setup RestAssured\n RestAssured.baseURI = SERVER_URL;\n RestAssured.port = SERVER_PORT;\n RestAssured.defaultParser = Parser.JSON;\n }", "title": "" }, { "docid": "2dd36cda806034e4cc6b552303e5a23e", "score": "0.58034027", "text": "@Before\n public void setUp()\n {\n token_ = System.getProperty(\"token\");\n\n if (token_ == null || token_.isEmpty())\n {\n token_ = System.getenv(\"token\");\n }\n }", "title": "" }, { "docid": "a0a06a4dcd2c0f34ec017fd15c871b8e", "score": "0.58005065", "text": "@BeforeClass\r\n\tpublic void setUpBeforeClass() throws IOException {\n\t\tdriver = DriverFactory.getDriver(DriverNames.CHROME);\r\n\t\tadminURL = properties.getProperty(\"adminURL\");\r\n\t\t\r\n\t\t//Initialize POM variable\r\n\t\tadminLoginPOM = new AdminLoginPOM(driver);\r\n\t\tadminDashboadPOM = new AdminDashboadPOM(driver);\r\n\t\tadminAddProdPOM = new AdminAddProdPOM(driver);\r\n\t\t\r\n\t\t//Initialize property file variables\r\n\t\tadminUserName = properties.getProperty(\"AdminUserName\");\r\n\t\tadminPassword = properties.getProperty(\"AdminPassword\");\r\n\t\tprodName =properties.getProperty(\"ProdName\");\r\n\t\tmetaTagTitle = properties.getProperty(\"MetaTagTitle\");\r\n\t\tmodelTextBox = properties.getProperty(\"ModelTextBox\");\r\n\t\tpriceTextBox = properties.getProperty(\"PriceTextBox\");\r\n\t\t\t\t\r\n\t\t//Declare Implicit wait\r\n\t\tString impWait = properties.getProperty(\"implicitWait\").toString();\r\n\t\t\t\r\n\t\tscreenShot = new ScreenShot(driver);\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "04377231ab311a146a2cbb0841b4463f", "score": "0.5800295", "text": "protected void setUp() {\r\n // initialization code\r\n try {\r\n sysObj = new com.sun.mdm.index.objects.SystemObject();\r\n } catch (Exception ex) {\r\n throw new RuntimeException(\"Failed to create SystemObject\", ex);\r\n }\r\n \r\n try {\r\n searchOptions = new EOSearchOptions();\r\n } catch (Exception ex) {\r\n throw new RuntimeException(\"Failed to create EOSearchOptions\", ex);\r\n }\r\n \r\n // Set up all the BlockPicker implementations\r\n passAll = new PassAllBlocks(); \r\n }", "title": "" }, { "docid": "cb558497ecd212e27ae97ca347fc4194", "score": "0.5797995", "text": "public void setup(String[] args) {\n \t\tLOG.info(\"Starting Maestro... \");\n \t\tApplicationContext context = SpringApplication.run(Maestro.class, args);\n \t\tMaestro.applicationContext = context;\n\n \t\ttry {\n \t\t//comm layer\n senders = (List<Sender>) context.getBean(\"Senders\");\n\t\t\t\titm = (InboundTrafficManager) context.getBean(\"InboundTrafficManager\");\n\n //controller layer\n controller = (Controller) context.getBean(\"Controller\");\n dr = (DeviceRepository) context.getBean(\"Devices\");\n rr = (RoomRepository) context.getBean(\"Rooms\");\n pr = (ProductRepository) context.getBean(\"Products\");\n am = (AdaptorManager) context.getBean(\"AdaptorManager\");\n cirm = (CIRManager) context.getBean(\"CIRs\");\n\n //engine layer\n engines = (List<AbstEngine>) context.getBean(\"Engines\");\n\n //misc initializables\n inits = (Initializables) context.getBean(\"Initializables\");\n } catch (Exception e) {\n Exception ex = new Exception(\"VM failed to initialize!\", e);\n errorStartup(ex, 000);\n }\n }", "title": "" }, { "docid": "db522a54c302cb08b7ea3f7134eaa255", "score": "0.5794029", "text": "private void componentSetUp() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dd766b005af8a7d58eb5f6da79c22ec3", "score": "0.5793828", "text": "@BeforeClass\n\tpublic static void setUpClass() throws Exception {\n\t\tif (Boolean.parseBoolean(System.getProperty(\"cargo.startstop\", \"false\"))) {\n\t\t\tlong waitTime=15000;\n\t \tlog.info(String.format(\"pausing %d secs for server deployment to complete\", waitTime/1000));\n\t \tThread.sleep(waitTime);\n\t\t}\n\t\telse {\n\t \tlog.info(String.format(\"startstop not set\"));\n\t\t}\n\t}", "title": "" }, { "docid": "74bb9647a471f565501f6451dffc9443", "score": "0.57807624", "text": "public Environment() {\n \t}", "title": "" }, { "docid": "d5a7cb446f4bc58e0bfe02c970f9f154", "score": "0.5778873", "text": "@Before\n public void setupEnv() throws IOException\n {\n // Create local temp directory.\n localTempPath = Files.createTempDirectory(null);\n }", "title": "" }, { "docid": "321f5c400e71eefa3674fafabfd03139", "score": "0.5774569", "text": "@Before\n public void setup() throws Exception\n {\n JCloudScaleConfiguration cfg = ConfigurationHelper.createDefaultTestConfiguration().build();\n CloudPlatformConfiguration localCloudPlatform = cfg.server().cloudPlatform();\n MessageQueueConfiguration localMessageQueue = cfg.common().communication();\n\n // getting openstack configuration items\n cfg = ConfigurationHelper.createDefaultCloudTestConfiguration()\n .with(new AggregatedScalingPolicy()).build();\n\n CloudPlatformConfiguration openstackCloudPlatform = cfg.server().cloudPlatform();\n MessageQueueConfiguration openstackMessageQueue = cfg.common().communication();\n\n // changing configuration\n AggregatedMessageQueueConfiguration mqConfig = new AggregatedMessageQueueConfiguration(localMessageQueue, openstackMessageQueue);\n cfg.server().setCloudPlatform(new AggregatedCloudPlatformConfiguration(mqConfig, localCloudPlatform, openstackCloudPlatform));\n cfg.common().setCommunicationConfiguration(mqConfig);\n\n JCloudScaleClient.setConfiguration(cfg);\n\n JCloudScaleClient.getClient();\n cs = CloudManager.getInstance();\n hostPool = (AggregatedVirtualHostPool)cs.getHostPool();\n }", "title": "" }, { "docid": "f867795b807f938b5474243f0ac5f9b5", "score": "0.57734936", "text": "@Before\n public void setupEngineRbacPair() {\n buildRbac();\n engine = new AuthorizationEngine(rbacDeny, rbacAllow);\n spyEngine = Mockito.spy(engine);\n doReturn(ImmutableMap.copyOf(attributes)).when(args).generateEnvoyAttributes();\n }", "title": "" }, { "docid": "8fa05e5c882245f35cbb7762ce9b1db9", "score": "0.5770212", "text": "@Before\r\n\tpublic void setUp() throws Exception \r\n\t{\r\n\t\ttetrisObject = new Tetris();\r\n\t\ttetrisObject.random = new Random();\r\n\t\ttetrisObject.gameSpeed = 1.0f;\r\n\t\ttetrisObject.logicTimer = new Clock(tetrisObject.gameSpeed);\r\n\t}", "title": "" }, { "docid": "f1d797ba8cd7c8abed86ef6e1108d35d", "score": "0.576967", "text": "protected void setUp() throws Exception {\n AccuracyHelper.clearAllConfigurationNS();\n\n //add config files\n AccuracyHelper.loadBaseConfig();\n\n // create test data in the database\n AccuracyHelper.setupDatabase();\n\n // set up MockContextFactory\n MockContextFactory.setAsInitial();\n\n // initialize the context\n context = new InitialContext();\n\n // set up MockContainer\n MockContainer mockContainer = new MockContainer(context);\n\n // create descriptor\n SessionBeanDescriptor sampleServiceDescriptor = new SessionBeanDescriptor(\"game/GameDataBean\",\n GameDataHome.class, GameData.class, new GameDataBean());\n\n // deploy\n mockContainer.deploy(sampleServiceDescriptor);\n\n // set up MockUserTransaction\n mockTransaction = new MockUserTransaction();\n context.rebind(\"javax.transaction.UserTransaction\", mockTransaction);\n }", "title": "" }, { "docid": "5f0ce647216adcd63544d5191645bae5", "score": "0.5766437", "text": "@Before\n\tpublic void setUp() {\n\t\tgame1 = new Game();\n\t\tplayer1 = new Player(game1);\n\t\teurope1 = new Europe(game1, player1);\n\t\teuropeWas1 = new EuropeWas(europe1);\n\t}", "title": "" }, { "docid": "58fdd2b53c3fd0726d58e0b523c9c31f", "score": "0.57631177", "text": "@Override\n\tprotected void setUp() throws Exception {\n\t\tsuper.setUp();\n TestHelper.init(getContext(), mForceReload);\n mForceReload = false;\n \n mLogFacility = AppEnv.i(getContext()).getLogFacility();\n mProviderDao = new ProviderDao();\n\n mProvider = createProvider();\n\t\tResultOperation<Void> res = mProvider.initProvider(getContext());\n\t\tassertFalse(\"provider initialization with errors\", res.hasErrors());\n\n\t\t//mock some values of SmsForFreeApplication\n\t\t//FIXME\n\t\t//TestHelper.loadAppPreferences(getContext());\n\n\t\t//save provider parameters\n\t\tmBackupParameters = TestHelper.backupServiceParameters(mProvider);\n\t\t\n\t\tinitProviderParams();\n\t}", "title": "" }, { "docid": "9dbda121d5918892609d6e7b771384c8", "score": "0.57622015", "text": "public TestContext() {\n try {\n testProperties = new Properties();\n\n final Map<String, Object> params = new HashMap<String, Object>();\n params.put(\"host\", HOST);\n params.put(\"port\", PORT);\n testProperties.put(\"ConnectionFactory\", connectionFactory);\n testProperties.put(JMS_TOPIC_APEX_IN, new ActiveMQTopic(JMS_TOPIC_APEX_IN));\n testProperties.put(JMS_TOPIC_APEX_OUT, new ActiveMQTopic(JMS_TOPIC_APEX_OUT));\n } catch (final Exception e) {\n e.printStackTrace();\n throw new ApexRuntimeException(\"Context initiation failed\", e);\n }\n }", "title": "" }, { "docid": "bf41f4905759e666a962679c38963488", "score": "0.575943", "text": "public void setup() throws Exception {\n\t\tsugar().calls.api.create();\n\n\t\t// Login\n\t\tsugar().login();\n\t}", "title": "" }, { "docid": "33f7f5c7c8d5cb247b6be0a828ff9658", "score": "0.5758925", "text": "@Test\n public void setupTest() throws ApiException {\n Setup setup = null;\n CredentialsWithSecret response = api.setup(setup);\n\n // TODO: test validations\n }", "title": "" }, { "docid": "5efd064c5af46543b19ecd6326af13c5", "score": "0.57550514", "text": "@Before public void setUp() {\n\t\t// Setting up the details for a valid account detail\n\t\tvalidAccountDetails.setAccountNumber(1000);\n\t\tvalidAccountDetails.setAccountType(\"Savings\");\n\t\tvalidAccountDetails.setUserName(\"Arjun\");\n\t\tvalidAccountDetails.setMobileNumber(9790931623l);\n\t\tvalidAccountDetails.setAddress(\"Chennai\");\n\n\t\ttoBeUpdatedAccountDetails.setAccountNumber(1000);\n\t\ttoBeUpdatedAccountDetails.setAccountType(\"Current\");\n\t\ttoBeUpdatedAccountDetails.setUserName(\"Sriram\");\n\t\ttoBeUpdatedAccountDetails.setMobileNumber(9890931623l);\n\t\ttoBeUpdatedAccountDetails.setAddress(\"Pune\");\n\n\t\t/**\n\t\t * Setting up the mock invocations with responses stubbed/mocked\n\t\t * Ex : When the method repository.get(String accountId) is called\n\t\t * with a value of validAccountId=1000; the response will be mocked\n\t\t * with the validAccountDetails object\n\t\t */\n\t\tMockito.doNothing().when(repository).update(toBeUpdatedAccountDetails);\n\t\twhen(repository.get(anyString())).thenReturn(validAccountDetails);\n\n\t\twhen(restTemplate.getForObject(anyString(), eq(String.class))).thenReturn(validAccountId);\n\n\t\twhen(cloudantBinding.getHost()).thenReturn(validHostName);\n\t\twhen(cloudantBinding.getPort()).thenReturn(validPortNumber);\n\n\t}", "title": "" }, { "docid": "943a3cd4418887c402660b90f3c406b8", "score": "0.5740039", "text": "@Test\n public void environmentTypeTest() {\n // TODO: test environmentType\n }", "title": "" }, { "docid": "7580696aece1e3e308b6b190d7a03a03", "score": "0.5739641", "text": "private void setUp() {\n Mockito.reset(new Object[] { this.deviceRepositoryMock, this.ssldRepositoryMock,\n this.organisationRepositoryMock, this.logItemRepositoryMock, this.channelMock,\n this.webServiceResponseMessageSenderMock, this.oslpDeviceRepositoryMock });\n\n this.scheduleManagementEndpoint = new TariffSwitchingScheduleManagementEndpoint(this.scheduleManagementService,\n new ScheduleManagementMapper());\n this.deviceRegistrationService.setSequenceNumberMaximum(OslpTestUtils.OSLP_SEQUENCE_NUMBER_MAXIMUM);\n this.deviceRegistrationService.setSequenceNumberWindow(OslpTestUtils.OSLP_SEQUENCE_NUMBER_WINDOW);\n\n this.throwable = null;\n\n this.request = null;\n this.setScheduleAsyncResponse = null;\n this.setTariffScheduleAsyncRequest = null;\n this.response = null;\n }", "title": "" }, { "docid": "74eaefecca11e372c8becb0a1a52dead", "score": "0.5730629", "text": "@Before\n public void setup() throws MalformedURLException {\n when(sessionProperties.getInternalRequest()).thenReturn(true);\n when(sessionProperties.getKsqlHostInfo()).thenReturn(LOCAL_KSQL_HOST_INFO_ENTITY.toKsqlHost());\n when(sessionProperties.getLocalUrl()).thenReturn(new URL(\"https://address\"));\n\n queryStatusCount = new QueryStatusCount();\n\n when(ksqlClient.makeKsqlRequest(any(), any(), any())).thenReturn(response);\n when(response.isErroneous()).thenReturn(false);\n when(serviceContext.getKsqlClient()).thenReturn(ksqlClient);\n }", "title": "" }, { "docid": "7dcb35fb656d25a0791feb4a90ba423c", "score": "0.57305753", "text": "public Environment() {\n this.environment = new TreeMap<String, Box>();\n this.in = new BufferedReader(new InputStreamReader(System.in));\n this.helpers = \"\";\n }", "title": "" }, { "docid": "238a54d6c611c9a6fc5a7d8a9bd63069", "score": "0.5729269", "text": "public static void init() {\r\n\t\tmyEnvParameters.put(EnvironementParameterName.HOME_PATH,System.getProperty(\"user.dir\"));\r\n\t\tmyEnvParameters.put(EnvironementParameterName.USER_PATH,System.getProperty(\"user.home\"));\r\n\t\tmyEnvParameters.put(EnvironementParameterName.USER_NAME,System.getenv().get(\"USERNAME\")); // evtl. nur für Windows\r\n\t\tmyEnvParameters.put(EnvironementParameterName.FILE_SEP,System.getProperty(\"file.separator\"));\r\n\t\tmyEnvParameters.put(EnvironementParameterName.CLASS_PATH,System.getProperty(\"java.class.path\"));\r\n\t\tmyEnvParameters.put(EnvironementParameterName.EOF_LINE,System.getProperty(\"line.separator\"));\r\n\t\tmyEnvParameters.put(EnvironementParameterName.ACTUAL_PATH,Paths.get(\".\").toAbsolutePath().normalize().toString());\r\n\t\tmyEnvParameters.put(EnvironementParameterName.APP_DATA,System.getenv(\"APPDATA\"));\r\n\t}", "title": "" }, { "docid": "8bf6146d6b6a15c7ce69fd96e952e9d4", "score": "0.5728071", "text": "@Before\n\tpublic void setUp() throws IllegalAccessException, NoSuchFieldException {\n\t\tField i = StorageImpl.class.getDeclaredField(\"instance\");\n\t\ti.setAccessible(true);\n\t\ti.set(storage, null);\n\t\tstorage = StorageImpl.getInstance();\n//\t\treset collection\n\t\tcatalog = buildTestCatalog();\n//\t\tset catalog to the test one\n\t\tField c = StorageImpl.class.getDeclaredField(\"catalog\");\n\t\tc.setAccessible(true);\n\t\tc.set(storage, this.catalog);\n\t}", "title": "" }, { "docid": "479806ca65ffae201e37e7a9f959bfba", "score": "0.5724461", "text": "@BeforeClass\n\tpublic static void setUpClass() throws Exception {\n\t\t// Create initial context\n\t\tSystem.setProperty(Context.INITIAL_CONTEXT_FACTORY,\n\t\t\t\t\"org.apache.naming.java.javaURLContextFactory\");\n\t\tSystem.setProperty(Context.URL_PKG_PREFIXES, \"org.apache.naming\");\n\t\tContext ic = new InitialContext();\n\n\t\tic.createSubcontext(\"java:\");\n\t\tic.createSubcontext(\"java:/comp\");\n\t\tic.createSubcontext(\"java:/comp/env\");\n\t\tic.createSubcontext(\"java:/comp/env/jdbc\");\n\n\t\t// Construct DataSource\n\t\tMysqlConnectionPoolDataSource ds = new MysqlConnectionPoolDataSource();\n\t\tds.setURL(\"jdbc:mysql://localhost:3306/\" + DBInfo.DB_NAME\n\t\t\t\t+ \"?characterEncoding=UTF-8\");\n\t\tds.setUser(DBInfo.USERNAME); // use your username\n\t\tds.setPassword(DBInfo.PASSWORD); // use your password\n\n\t\tic.bind(\"java:/comp/env/jdbc/\" + DBInfo.DB_NAME, ds);\n\n\t\tContext initContext = new InitialContext();\n\t\tContext webContext = (Context) initContext.lookup(\"java:/comp/env\");\n\n\t\t// Initializes DataSource and AccountManager classes based on injected\n\t\t// resources\n\t\tdataSource = (DataSource) webContext.lookup(\"jdbc/\" + DBInfo.DB_NAME);\n\t\tgc = new GameCatalog(dataSource);\n\t}", "title": "" }, { "docid": "791821d95a50f5a8203c8f9391c2ffb3", "score": "0.5723635", "text": "@BeforeAll\n public static void init(){\n baseURI = \"https://swapi.dev\";\n basePath = \"/api\";\n }", "title": "" }, { "docid": "c7a154b80e1daeff715cb676ecf2e9bc", "score": "0.5718619", "text": "private static void initializeTestEnvironment() {\n Environment environment = Environment.getEnvironment();\n List<Card> cards = new ArrayList<>();\n for (int i = 0 ; i < 52; i++) {\n cards.add(new Card(Rank.ACE, Suit.SPADE));\n }\n Deck deck = new Deck(cards, new Visibility(Facing.FACE_DOWN, true, Arrangement.STACKED));\n environment.addNewDeck(deck, new GridPosition(), 45);\n\n List<Card> cards2 = new ArrayList<>();\n cards2.add(new Card(Rank.ACE, Suit.HEART));\n cards2.add(new Card(Rank.TWO, Suit.HEART));\n cards2.add(new Card(Rank.THREE, Suit.HEART));\n Deck deck2 = new Deck(cards2, new Visibility(Facing.TOP_FACE_UP, false, Arrangement.HORIZONTAL));\n environment.addNewDeck(deck2, new GridPosition(1, 0), 15);\n\n List<Card> cards3 = new ArrayList<>();\n cards3.add(new Card(Rank.ACE, Suit.CLUB));\n cards3.add(new Card(Rank.TWO, Suit.CLUB));\n cards3.add(new Card(Rank.THREE, Suit.CLUB));\n Deck deck3 = new Deck(cards3, new Visibility(Facing.FACE_UP, false, Arrangement.VERTICAL));\n environment.addNewDeck(deck3, new GridPosition(-1, 0), 345);\n\n List<Card> cards4 = new ArrayList<>();\n cards4.add(new Card(Rank.ACE, Suit.DIAMOND));\n Deck deck4 = new Deck(cards4, new Visibility(Facing.FACE_UP));\n environment.addNewDeck(deck4, new GridPosition(0, 1));\n\n List<Card> cards5 = new ArrayList<>();\n cards5.add(new Card(Rank.KING, Suit.SPADE));\n cards5.add(new Card(Rank.QUEEN, Suit.SPADE));\n cards5.add(new Card(Rank.JACK, Suit.SPADE));\n cards5.add(new Card(Rank.TEN, Suit.SPADE));\n cards5.add(new Card(Rank.NINE, Suit.SPADE));\n cards5.add(new Card(Rank.EIGHT, Suit.SPADE));\n cards5.add(new Card(Rank.SEVEN, Suit.SPADE));\n cards5.add(new Card(Rank.SIX, Suit.SPADE));\n cards5.add(new Card(Rank.FIVE, Suit.SPADE));\n cards5.add(new Card(Rank.FOUR, Suit.SPADE));\n cards5.add(new Card(Rank.THREE, Suit.SPADE));\n cards5.add(new Card(Rank.TWO, Suit.SPADE));\n cards5.add(new Card(Rank.ACE, Suit.SPADE));\n Deck deck5 = new Deck(cards5, 0);\n environment.addHand(deck5);\n }", "title": "" }, { "docid": "efb1768d1a2eff5c610d315ad1ec2394", "score": "0.57174563", "text": "protected void setUp() throws Exception {\n\t\t\n\t\tsuper.setUp();\n\t\tlogger.info(bundleMarker,\n\t\t\t\t\"Waiting for declarative services activation startup method to finish\");\n\t\tboolean started = startUpGate.await(5, TimeUnit.SECONDS);// wait for startUp to finish\n\t\tif(!started){\n\t\t\tthrow new IllegalStateException(\"Failed to inject services.\");\n\t\t}\n\t\tlogger.info(bundleMarker, \"startup and setUp finished.\");\n\t}", "title": "" }, { "docid": "c44419645ae49f5954f83c90c47f559a", "score": "0.5717254", "text": "public EmploymentServicesDemographics() {\n setup();\n }", "title": "" }, { "docid": "78aad67d367d34bb780fd67d3279d9ec", "score": "0.57061964", "text": "@Before\n public void setUp() {\n\n iHrKey = new HumanResourceDomainBuilder().withUserId( USER_ID ).build();\n\n // create an inventory owner\n OwnerKey lOwner = new OwnerDomainBuilder().build();\n\n // create a location\n iLocation = new LocationDomainBuilder().withType( RefLocTypeKey.AIRPORT ).build();\n\n // create a part\n iEnginePart = new PartNoBuilder().withInventoryClass( RefInvClassKey.TRK )\n .withFinancialType( RefFinanceTypeKey.CONSUM )\n .withAverageUnitPrice( new BigDecimal( 11 ) ).withTotalQuantity( new BigDecimal( 2 ) )\n .withTotalValue( new BigDecimal( 22 ) ).build();\n\n // create the aircraft assembly\n AssemblyKey lAcftAssembly = new AssemblyBuilder( \"ACFT\" ).build();\n\n // create the aircraft root config slot and position\n ConfigSlotKey lAcftConfigSlot =\n new ConfigSlotBuilder( \"ACFT\" ).withRootAssembly( lAcftAssembly ).build();\n ConfigSlotPositionKey lAcftPosition =\n new ConfigSlotPositionBuilder().withConfigSlot( lAcftConfigSlot ).build();\n\n // create the engine system config slot and position\n ConfigSlotKey lEngineSystemSlot =\n new ConfigSlotBuilder( \"ENGINE_SYS\" ).withRootAssembly( lAcftAssembly )\n .withParent( lAcftConfigSlot ).withClass( RefBOMClassKey.SYS ).build();\n ConfigSlotPositionKey lEngineSystemPosition = new ConfigSlotPositionBuilder()\n .withConfigSlot( lEngineSystemSlot ).withParentPosition( lAcftPosition ).build();\n\n // create the config slot for the engine subassembly\n ConfigSlotKey lEngineSubAssySlot =\n new ConfigSlotBuilder( \"ENGINE_SUBASSY\" ).withClass( RefBOMClassKey.SUBASSY )\n .withParent( lEngineSystemSlot ).withRootAssembly( lAcftAssembly ).build();\n\n iEngineSubAssyPosition = new ConfigSlotPositionBuilder().withConfigSlot( lEngineSubAssySlot )\n .withParentPosition( lEngineSystemPosition ).build();\n\n // create a part group for the engine in the subassembly config slot\n iEnginePartGroup = new PartGroupDomainBuilder( \"ENGINE\" ).withConfigSlot( lEngineSubAssySlot )\n .withPartNo( iEnginePart ).withInventoryClass( RefInvClassKey.ASSY ).build();\n\n // create the enigne assembly\n AssemblyKey lEngineAssembly = new AssemblyBuilder( \"ENGINE\" ).build();\n\n // create the engine config slot and position\n ConfigSlotKey lEngineSlot =\n new ConfigSlotBuilder( \"ENGINE\" ).withRootAssembly( lEngineAssembly ).build();\n ConfigSlotPositionKey lEnginePosition =\n new ConfigSlotPositionBuilder().withConfigSlot( lEngineSlot ).build();\n\n // create the aircraft\n iAcft = new InventoryBuilder().withConfigSlotPosition( lAcftPosition )\n .withClass( RefInvClassKey.ACFT ).build();\n iAcftAccount = new AccountBuilder().withCode( ACFT_ACCOUNT )\n .withType( RefAccountTypeKey.EXPENSE ).build();\n\n AircraftKey lAcftKey = new AircraftKey( iAcft );\n InvAcReg lInvAcReg = InvAcReg.findByPrimaryKey( lAcftKey );\n lInvAcReg.setIssueToAccount( iAcftAccount );\n\n // create the engine system\n iEngineSystem = new InventoryBuilder().withClass( RefInvClassKey.SYS )\n .withParentInventory( iAcft ).withAssemblyInventory( iAcft )\n .withConfigSlotPosition( lEngineSystemPosition ).build();\n\n // create the engine inventory\n iEngine = new InventoryBuilder().withPartNo( iEnginePart )\n .withConfigSlotPosition( lEnginePosition ).withClass( RefInvClassKey.ASSY )\n .withCondition( RefInvCondKey.RFI ).withOwner( lOwner ).atLocation( iLocation ).build();\n\n // create an account for work package\n iWPAccount = new AccountBuilder().withCode( WP_ACCOUNT ).withType( RefAccountTypeKey.EXPENSE )\n .build();\n // create an account for task\n iTaskAccount = new AccountBuilder().withCode( TASK_ACCOUNT )\n .withType( RefAccountTypeKey.EXPENSE ).build();\n }", "title": "" }, { "docid": "9da8bcf4ca646424bc1e392edcdbf982", "score": "0.57009274", "text": "@BeforeEach\n void setUp() {\n // Initializes a new vehicle object, to be used on all test cases.\n vehicle = new Vehicle();\n }", "title": "" }, { "docid": "d305a0ffe05d3cf10b2975520ffbe5b0", "score": "0.5686884", "text": "@BeforeClass\n public static void beforeClass() throws IOException {\n String path = System.getProperty(\"user.home\");\n path += \"/.geotoolkit.org/test-msfeature.properties\";\n final File f = new File(path);\n Assume.assumeTrue(f.exists());\n final Properties properties = new Properties();\n properties.load(new FileInputStream(f));\n params = Parameters.castOrWrap(org.geotoolkit.parameter.Parameters.toParameter((Map)properties, PARAMETERS_DESCRIPTOR, false));\n }", "title": "" }, { "docid": "dcb339ec06207ac20c051dbdd9e57d34", "score": "0.5685468", "text": "public AccomodationServiceTest() {\r\n\t\tsetupRequestContext();\r\n\t}", "title": "" } ]
8bc3f7a3687870c17a1dd3b89a2802c0
This prints the results to a CSV file
[ { "docid": "339caf79d41f44b9c9133468eb1de0e6", "score": "0.0", "text": "public static void printToCSV(String arrayName, String pivotType, int threshold, long time, int comparisons, String filepath) {\n\t\ttry {\n\t\t\tFileWriter fw = new FileWriter(filepath, true);\n\t\t\tBufferedWriter bw = new BufferedWriter(fw);\n\t\t\tPrintWriter pw = new PrintWriter(bw);\n\n\t\t\tpw.println(arrayName + \",\" + pivotType + \",\" + threshold + \",\" + time + \",\" + comparisons);\n\t\t\tpw.flush();\n\t\t\tpw.close();\n\n\t\t\tJOptionPane.showMessageDialog(null, \"Record saved\");\n\t\t}\n\n\t\tcatch (Exception E) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Record not saved\");\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "89f9b2985746d6bf4865c0b4d656f48f", "score": "0.69501", "text": "private void ExportToCsv() {\n String numbers = \"0123456789\";\n List<String> sortedKeys = Collections.list(terms.keys());\n //Collections.sort(sortedKeys);\n //find the index for abc\n StringBuilder biggerThanOne = new StringBuilder();\n StringBuilder onlyOneCount = new StringBuilder();\n\n for (String s : sortedKeys) {\n int n = terms.get(s).getValue();\n\n s = s.replace(\",\", \"#\");\n if (n > 1) {\n biggerThanOne.append(s).append(\",\").append(n).append(\"\\n\");\n } else {\n onlyOneCount.append(s).append(\",\").append(n).append(\"\\n\");\n }\n\n\n }\n try {\n String filePath = (isStem) ? posting_Path + \"\\\\WithStem\\\\Dictionary\\\\\" : posting_Path + \"\\\\WithOutStem\\\\Dictionary\\\\\";\n PrintWriter writer = new PrintWriter(new File(filePath + \"biggerThanOne.csv\"));\n writer.append(biggerThanOne);\n writer.flush();\n writer.close();\n PrintWriter writer2 = new PrintWriter(new File(filePath + \"onlyOneCount.csv\"));\n writer2.append(onlyOneCount);\n writer2.flush();\n writer2.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "6222169d226d6bf13d0663df1d5c7497", "score": "0.67660123", "text": "public void writeToFile(){\n\t\t\n\t\tdouble averageMonster = this.getAverage(this.monsterKills);\n\t\tdouble averageWins = this.getAverage(this.winLose);\n\t\tdouble averageCells = this.getAverage(this.cellsPassed);\n\t\t\n\t\tdouble stdevMonster = this.getStdDev(averageMonster, this.monsterKills);\n\t\tdouble stdevWins = this.getStdDev(averageWins, this.winLose);\n\t\tdouble stdevCells = this.getStdDev(averageCells, this.cellsPassed);\n\t\t\n\t\t// Write the data to a csv file.\n\t\t// Format: currentTrainIter mean1 mean2 mean3 stdev1 stdev2 stdev3\n\t\tFileWriter writer;\n\t\ttry {\n\t\t\t// True = append mode\n\t\t\twriter = new FileWriter(\"Results.csv\", true);\n\n\t\t writer.write(String.valueOf(this.currentTrainIter));\n\t\t writer.append(',');\n\t\t writer.write(String.valueOf(averageMonster));\n\t\t writer.append(',');\n\t\t writer.write(String.valueOf(averageWins));\n\t\t writer.append(',');\n\t\t writer.write(String.valueOf(averageCells));\n\t\t writer.append(',');\n\t\t writer.write(String.valueOf(stdevMonster));\n\t\t writer.append(',');\n\t\t writer.write(String.valueOf(stdevWins));\n\t\t writer.append(',');\t \n\t\t writer.write(String.valueOf(stdevCells));\n\t\t writer.append('\\n');\t \t\n\t\t \n\t\t writer.flush();\n\t\t writer.close();\n\t\t \n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "32e074011b5ad21a5c940659b187b6b9", "score": "0.6694777", "text": "public static void WriteLogs()\n\t{\n\t\tString result=\"\";\n\t\ttry {\n\t\tFileWriter fw=new FileWriter(\"E:\\\\SapientPJP2\\\\sample_output.csv\");\n\t\tCollections.sort(Logs);\n\t\t\n\t\tfor(Transaction tr:Logs)\n\t\t{\n\t\t\tresult+=tr;\n\t\t}\n\t\tfw.write(result);\n\t\tfw.close();\n\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "170b3c4186e09b7ed9d045864d0b4a25", "score": "0.66299325", "text": "private void outputResults() {\n if (verbose) System.out.println(\"Printing results...\" + lineSeparator);\n PrintWriter writer = new PrintWriter(System.out);\n for (Section section : sections) section.printValues(writer);\n writer.println();\n writer.close();\n }", "title": "" }, { "docid": "58a9ecc13b1c928499c38ca01a3aaf3d", "score": "0.6613083", "text": "public void writeResults(String filename) throws IOException{\n\t\tBufferedWriter writer = null;\n\t\ttry{\n\t\t\twriter = new BufferedWriter(new FileWriter(new File(filename)));\n\t\t \n\t\t\tfor(int i = 1; i < tazs.length; i++) {\n\t\t\t int currTAZ = tazs[i];\n\t\t\t \n\t\t\t //Skip externals\n\t\t\t if(externalTAZs.contains(currTAZ))\n\t\t\t \tcontinue;\n\t\t\t \n\t\t\t if(bestTapsMap.get(currTAZ).size() > 0){\n\t\t\t\t //NEW CSV FORMAT (tabular: TAZ, TAP, TIME, DIST, MODE)\n\t\t\t\t for(int k = 0; k < bestTapsMap.get(currTAZ).size(); k++){\n\t\t\t\t \twriter.write(\t(int)(currTAZ) + \",\" + \n\t\t\t\t \t\t\t\t\t(int)(bestTapsMap.get(currTAZ).get(k)[0]) + \",\" + \n\t\t\t\t \t\t\t\t\t(double)(bestTapsMap.get(currTAZ).get(k)[1]) + \",\" + \n\t\t\t\t \t\t\t\t\t(double)(bestTapsMap.get(currTAZ).get(k)[2]) + \",\" +\n\t\t\t\t \t\t\t\t\t(int)(bestTapsMap.get(currTAZ).get(k)[3]) + \"\\n\");\n\t\t\t\t }\n\t\t\t }\n\t\t\t}\n\t\t}finally{\n if (writer != null) writer.close();\n }\n\t}", "title": "" }, { "docid": "4500e10012e38b7f2a2d69efd4171cef", "score": "0.6453016", "text": "public void writeCsvFile(){\n\t\t\n\t\t FileWriter fileWriter = null;\n\t\t \n\t\t try {\n\t\t\t fileWriter = new FileWriter(\"GoEuroTest\");\n\t\t\t fileWriter.append(FILE_HEADER);\n\t\t\t fileWriter.append(NEW_LINE_SEPARATOR);\n\t\n\t\t\t for(JSONObject item : jsonList){\n\t\t\t\tfileWriter.append(String.valueOf(item.getInt(\"_id\")));\n\t\t\t\tfileWriter.append(COMMA_DELIMITER);\n\t\t\t\tfileWriter.append(item.getString(\"name\"));\n\t\t\t\tfileWriter.append(COMMA_DELIMITER);\n\t\t\t\tfileWriter.append(item.getString(\"type\"));\n\t\t\t\tfileWriter.append(COMMA_DELIMITER);\n\t\t\t\tfileWriter.append(String.valueOf(item.getJSONObject(\"geo_position\").getDouble(\"latitude\")));\n\t\t\t\tfileWriter.append(COMMA_DELIMITER);\n\t\t\t\tfileWriter.append(String.valueOf(item.getJSONObject(\"geo_position\").getDouble(\"latitude\")));\n\t\t\t\tfileWriter.append(NEW_LINE_SEPARATOR);\n\t\t\t }\n\t\t\t System.out.println(\"CSV file created successfully\");\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error in CsvFileWriter\");\n\n\t\t\te.printStackTrace();\n\t\t}finally {\n try {\n fileWriter.flush();\n fileWriter.close();\n } catch (IOException e) {\n System.out.println(\"Error with flushing and closing the fileWriter\");\n e.printStackTrace();\n }\n }\t \n\t }", "title": "" }, { "docid": "b77ddba7ba59c6cfa911680fb8a03f03", "score": "0.6402212", "text": "public static void WriteResultsToFile() {\n\t\ttry \n\t\t{\n\t\t\tPrintWriter wrtr = new PrintWriter(constants.file_query_results);\n\t\t\tMap<String,Integer> termResult;\n\t\t\tSet<String> keys = word_doc_list.keySet(); \n\t\t\tfor(String key : keys)\n\t\t\t{\n\t\t\t\twrtr.println(\"TERM: \" + key);\n\t\t\t\twrtr.println(\"TTF: \" + word_ttf.get(key));\n\t\t\t\ttermResult = word_doc_list.get(key);\n\t\t\t\tSet<String> docs = termResult.keySet();\n\t\t\t\tfor(String docid : docs)\n\t\t\t\t{\n\t\t\t\t\twrtr.println(docid + \" \" + termResult.get(docid) );\n\t\t\t\t}\n\t\t\t}\n\t\t\twrtr.close();\n\t\t} \n\t\t\n\t\tcatch (Exception e) \n\t\t{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "3a2e83df0f9f4614fb7641cff5836555", "score": "0.6398915", "text": "private void generateOutputCSV(List<Sentence> sentenceList) {\n\n\t\tLOGGER.debug(\"Entering the generateOutputCSV() method in FileParserServiceImpl\");\n\t\tString outputFilePathCsv = appConfigFileParser.getCsvOutputFilePath() + \"\\\\output.csv\";\n\n\t\ttry (FileWriter fileWriter = new FileWriter(new File(outputFilePathCsv));\n\t\t\t\tBufferedWriter bufferedwriter = new BufferedWriter(fileWriter)) {\n\n\t\t\tIntStream stream = IntStream.range(1, 50);\n\t\t\tstream.forEach(i -> {\n\t\t\t\theader = header + \",\" + \"Word \" + i;\n\t\t\t});\n\n\t\t\tbufferedwriter.write(header);\n\t\t\tbufferedwriter.newLine();\n\n\t\t\tsentenceList.forEach(sentence -> {\n\t\t\t\tString sentenceName = sentence.getSentenceName();\n\t\t\t\tString words = sentence.getWords().stream().collect(Collectors.joining(\",\"));\n\t\t\t\ttry {\n\t\t\t\t\tbufferedwriter.write(sentenceName + \",\" + words);\n\t\t\t\t\tbufferedwriter.newLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tLOGGER.error(\"Error generating CSV output files in generateOutputCSV()\" + e.getMessage());\n\t\t\t\t\tSystem.out.println(\"Error occurred while creating CSV file \" + e.getMessage());\n\t\t\t\t}\n\t\t\t});\n\n\t\t} catch (IOException e) {\n\t\t\tLOGGER.error(\"Error generating CSV output files in generateOutputCSV()\" + e.getMessage());\n\t\t\tSystem.out.println(\"Error occurred while generating CSV file \" + e.getMessage());\n\t\t}\n\t\tLOGGER.debug(\"Exiting the generateOutputCSV() in FileParserServiceImpl - Successfully generated Output file in CSV format in the path \"\n\t\t\t\t+ outputFilePathCsv);\n\t\tSystem.out.println(\"Successfully generated Output CSV file in \" + outputFilePathCsv);\n\t}", "title": "" }, { "docid": "8239b5ce4761b70e869285fcfabb4820", "score": "0.63608116", "text": "private void transferToWriter() {\n CSVWriter.setPathToCSV(path + \"top10.csv\");\n List<String> top10 = new ArrayList<>();\n if(!statistic.isEmpty())\n for (int i = 0; i < 10; i++) {\n top10.addAll(Arrays.asList(statistic.get(i)));\n CSVWriter.write(top10);\n top10 = new ArrayList<>();\n }\n }", "title": "" }, { "docid": "122316cffa8073a7d0a4e9b310fee5f6", "score": "0.62853664", "text": "protected void writeOutput() throws IOException {\n\n File outCSVFile = getOutputFile();\n\n CSVPrinter printer = csvHandler.createPrinter(outCSVFile);\n\n for (Problem problem : problems)\n {\n problem.print(printer);\n }\n\t}", "title": "" }, { "docid": "b6a27258caeb34fc99e95572690188df", "score": "0.62580764", "text": "public void createCSV(){\r\n EarthQuakeParser parser = new EarthQuakeParser();\r\n String source = \"data/nov20quakedatasmall.atom\";\r\n //String source = \"http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_week.atom\";\r\n ArrayList<QuakeEntry> list = parser.read(source);\r\n dumpCSV(list);\r\n System.out.println(\"# quakes read: \" + list.size());\r\n for (QuakeEntry qe : list) {\r\n System.out.println(qe);\r\n }\r\n\r\n }", "title": "" }, { "docid": "e88637c469fc6fc22aea240bdaf3b37c", "score": "0.6244931", "text": "public void writeOutput() throws Exception{\r\n\t\tobject.print();\t\t\t\t\t\t\t\t\t\t\t\t\t\t//Calls to write all phone book info to .csv output file\r\n\t}", "title": "" }, { "docid": "fdcf092563eacef110c2aa9a7783cc5d", "score": "0.6223336", "text": "public static Result generateLearnersCSV() {\n StringWriter csvStringWriter = new StringWriter();\n\n try {\n CSVUtil.writeLearnerCSV(Learner.getAllOrderByType(), csvStringWriter);\n } catch (IOException e) {\n return internalServerError(\"server error: unable to write CSV learner data\");\n }\n\n InputStream csvResponseStream = new ByteArrayInputStream(\n csvStringWriter.toString().getBytes(StandardCharsets.UTF_8));\n //response().setContentType(\"text/csv\");\n return ok(csvResponseStream);\n }", "title": "" }, { "docid": "fa9a9442c3bd3c9ce5a40b48dde2b820", "score": "0.62177867", "text": "protected void writeCSV(hotel.rooms toRecord) throws IOException {\n FileWriter fw = new FileWriter(\"hotelRecords.csv\",true);\n\n String record = \"\";\n record+= new Integer(toRecord.getGuest().getGuestRoomNo()).toString()+\",\"+\n toRecord.getGuest().getId()+\",\"+\n toRecord.getGuest().getName()+\",\"+\n (toRecord.getGuest().getGuestsRoomType()).toString()+\",\"+\n (toRecord.getGuest().getGuestsRoomStatus()).toString()+\",\"+\n new Integer(toRecord.getGuest().getTime()).toString()+\"\\n\";\n\n fw.append(record);\n fw.flush();\n fw.close();\n }", "title": "" }, { "docid": "8f160bfa4db4b54325062d0797a50022", "score": "0.6212282", "text": "private static void addPhoneToCSV(CellPhone phone) {\n try{\n PrintWriter outputStream = new PrintWriter(new FileOutputStream(new File(OUTFILE), true));\n outputStream.println(phone.toString()\n .replaceAll(\" :{1,3} \", \", \") //regex fixes delimiters from\n .replaceAll(\"(cm)|\\\\$\", \"\")); //toString format to csv format);\n outputStream.close();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "4a9fa68d8335d26c9e9d7e8655e7faf1", "score": "0.6146064", "text": "private String toCsv(ArrayList<Point_And_Sig> sofi) {\r\n\t\tString ans = \"\";\r\n\t\tfor (int i = 0; i < sofi.size(); i++) {\r\n\t\t\tans = ans+sofi.get(i).toCsv();\r\n\t\t}\r\n\t\treturn ans;\r\n\t}", "title": "" }, { "docid": "b0f385f0118cd61d95f4affa8a24d2df", "score": "0.61288965", "text": "public void printAllSiteNumbersToFile(){\n\n try {\n BufferedWriter out = new BufferedWriter(new FileWriter(\"numbers\"+ LocalDateTime.now().toString() +\".csv\"));\n\n for (site loc : siteList) { //iterate through the site list\n\n for (didNumber num : loc.didNumberList){\n out.write(loc.getSiteName()+\",\"+num.getNumber()+\",\" + num.isAvailableString()+\"\\n\");\n }\n }\n out.close();\n }\n catch (IOException e)\n {\n System.out.println(\"exception occured\" +e);\n }\n }", "title": "" }, { "docid": "1920cfe505f76c701a086fbc39f006e8", "score": "0.61278814", "text": "Input toCSVExport(Result result, Input input, boolean statistical, KnowledgeBase primaryBase);", "title": "" }, { "docid": "0bf54d5cae5b1f736e043c2a4c5e824d", "score": "0.60765684", "text": "private static void writeCSV(ExecutionEnvironment env) throws IOException {\n String head = String.format(\"%s|%s|%s|%s|%s|%s\", \"Parallelism\", \"dataset\", \"degreeType\", \"timeDimension\",\n \"vertexTimeIncluded\", \"Runtime(s)\");\n String tail = String.format(\"%s|%s|%s|%s|%b|%s\", env.getParallelism(), INPUT_PATH, DEGREE_TYPE,\n TIME_DIMENSION, INCLUDE_VERTEX_TIME, env.getLastJobExecutionResult().getNetRuntime(TimeUnit.SECONDS));\n writeToCSVFile(head, tail);\n }", "title": "" }, { "docid": "029501e2c0e7f66cba46661e77e27cc8", "score": "0.6027523", "text": "public static void makeFile(String resultFile, List new_heap) throws IOException {\n FileWriter csvWriter ;\n try {\n csvWriter= new FileWriter(resultFile+\"/Copy_new-heap.csv\");\n }\n catch (Exception e){\n csvWriter= new FileWriter(\"Copy_new-heap.csv\");\n } for (int i = 0 ; i < new_heap.size() ; i++) {\n item obj = (item) new_heap.get(i);\n csvWriter.append(obj.getName());\n csvWriter.append(\",\");\n csvWriter.append(Integer.toString(obj.getStartLocation()));\n csvWriter.append(\",\");\n csvWriter.append(Integer.toString(obj.getEndLocation()));\n csvWriter.append(\"\\n\");\n }\n csvWriter.flush();\n csvWriter.close();\n }", "title": "" }, { "docid": "3ee9abf7f53fbe341298b0211c7c8350", "score": "0.60214984", "text": "public void toFile() {\r\n String filename = \".//reports//\" + \"Report for \";\r\n String date = (Date.from(java.time.ZonedDateTime.now().toInstant())).toString();\r\n date = date.substring(0, 10);\r\n filename += date + \".rpt\";\r\n System.out.println(filename);\r\n String output = \"Total sales are as follows: \\n\";\r\n File file = new File(filename);\r\n\r\n for (int i = 0; i < PointOfSales.productsList.size(); i++) {\r\n output += salesOfFlavour(PointOfSales.productsList.get(i)) + \"\\n\";\r\n }\r\n String[] arrayOut = output.split(\"\\n\");\r\n\r\n if (!file.exists()) {\r\n DatabaseLogic.writeToFile(filename, arrayOut);\r\n System.out.println(\"New file to create\");\r\n } else {\r\n DatabaseLogic.appendToFile(filename, arrayOut);\r\n System.out.println(\"Appending to file\");\r\n }\r\n }", "title": "" }, { "docid": "39e686e0e9cf795076d1a387f05e99de", "score": "0.59873664", "text": "public String toCSV() {\n\t\treturn this.name + \"|\" + this.description + \"|\" + this.color + \"|\" + this.origin + \"|\" + this.price + \"|\"\n\t\t\t\t+ this.wholesale + \"|\" + this.quantity + \"|\" + this.jitTrigger + \"|\";\n\t}", "title": "" }, { "docid": "49debbb6f453948e79b5e78833a1f021", "score": "0.598368", "text": "public void save(String result, int correctQuestionsNo, int totalQuestionsNo){\n\t\t\t\t\n\t\tdouble correntPercentage = 0;\n\t\tif (totalQuestionsNo != 0){\n\t\t\t\n\t\t\tcorrentPercentage = 100.0*correctQuestionsNo/totalQuestionsNo; //the *1.0 gives a double answer \n\t\t\t\n\t\t}\n\t\t\n\t\ttry {\n\t\t\t\n\t\t \tPrintStream writeStream = new PrintStream(new File(\"output.csv\"));\n\t\t \n\t\t \twriteStream.println (\"Your answer to the quiz are:\\n\" + result + \"\\nResult: \\nTotal number of questions, \" + totalQuestionsNo + \",correntness,\" + correntPercentage + \"%\\n\");\n\t\t \twriteStream.close();\n\t\t}\n\t\tcatch (Exception e){\n\t\t\t System.err.println (\"Error in writing to file\");\n\t\t} \n\t}", "title": "" }, { "docid": "1bc327d19fe3f05ed5d265db43795a31", "score": "0.5982448", "text": "@Override\r\n public void report(Schedule schedule) {\n logger.info(\"Writing log for tick \" + schedule.getCurrentTick());\r\n\r\n \r\n \r\n // Main csv\r\n String outputFileName = schedule.runID + \"-\" + \"main.csv\";\r\n String outputDirectoryName = this.getReporterDirectoryName();\r\n File outputfile = new File(outputDirectoryName + outputFileName);\r\n\r\n //Write header if needed\r\n if (!outputfile.exists()) {\r\n logger.warning(\"File does not exist yet, writing header in csv, for tick: \" + schedule.getCurrentTick() + \", and iteration \" + schedule.getIteration());\r\n\r\n try {\r\n schedule.reporter.lockMainCSV.lock();\r\n FileWriter fileWriter = new FileWriter(outputfile, false);\r\n CSVWriter<Schedule> csvWriter = new CSVWriterBuilder<Schedule>(fileWriter)\r\n .entryConverter(new DefaultCSVConverterHeaders())\r\n .strategy(CSVStrategy.DEFAULT)\r\n .build();\r\n\r\n csvWriter.write(schedule); //write headers in first tick\r\n fileWriter.flush();\r\n fileWriter.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n //release writing lock for file\r\n schedule.reporter.lockMainCSV.unlock();\r\n }\r\n }\r\n\r\n //Write current tick data to main csv \r\n try {\r\n // get writing lock\r\n schedule.reporter.lockMainCSV.lock();\r\n FileWriter fileWriter = new FileWriter(outputfile, true);\r\n CSVWriter<Schedule> csvWriter = new CSVWriterBuilder<Schedule>(fileWriter)\r\n .entryConverter(new DefaultCSVConverter())\r\n .strategy(CSVStrategy.DEFAULT)\r\n .build();\r\n\r\n csvWriter.write(schedule);\r\n\r\n fileWriter.flush();\r\n fileWriter.close();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n } finally {\r\n //release writing lock for file\r\n schedule.reporter.lockMainCSV.unlock();\r\n }\r\n \r\n \r\n \r\n\r\n //Power plant file \r\n String powerplantFileName = schedule.runID + \"-\" + \"Powerplants.csv\";\r\n File powerplantfile = new File(outputDirectoryName + powerplantFileName);\r\n\r\n //Write header if needed\r\n if (!powerplantfile.exists()) {\r\n try {\r\n schedule.reporter.lockPowerPlantCSV.lock();\r\n FileWriter powerplantfileWriter = new FileWriter(powerplantfile, false);\r\n CSVWriter<FinancialPowerPlantReport> powerplantCSVWriter = new CSVWriterBuilder<FinancialPowerPlantReport>(powerplantfileWriter)\r\n .entryConverter(new FinancialPowerPlantReportCSVConverterHeaders())\r\n .strategy(CSVStrategy.DEFAULT)\r\n .build();\r\n powerplantCSVWriter.write(null);\r\n powerplantfileWriter.flush();\r\n powerplantfileWriter.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n //release writing lock for file\r\n schedule.reporter.lockPowerPlantCSV.unlock();\r\n }\r\n }\r\n\r\n try {\r\n schedule.reporter.lockPowerPlantCSV.lock();\r\n FileWriter powerplantfileWriter = new FileWriter(powerplantfile, true);\r\n CSVWriter<FinancialPowerPlantReport> powerplantCSVWriter = new CSVWriterBuilder<FinancialPowerPlantReport>(powerplantfileWriter)\r\n .entryConverter(new FinancialPowerPlantReportCSVConverter())\r\n .strategy(CSVStrategy.DEFAULT)\r\n .build();\r\n\r\n //write report per power plant\r\n powerplantCSVWriter.writeAll(schedule.reps.findAllFinancialPowerPlantReportsForTime(schedule.getCurrentTick()));\r\n powerplantfileWriter.flush();\r\n powerplantfileWriter.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n //release writing lock for file\r\n schedule.reporter.lockPowerPlantCSV.unlock();\r\n }\r\n \r\n \r\n // MarketInformation file \r\n String marketinfoFileName = schedule.runID + \"-\" + \"MarketInformation.csv\";\r\n File marketinfofile = new File(outputDirectoryName + marketinfoFileName);\r\n\r\n //Write header if needed\r\n if (!marketinfofile.exists()) {\r\n try {\r\n schedule.reporter.lockMarketInformationCSV.lock();\r\n FileWriter marketinfoFileWriter = new FileWriter(marketinfofile, false);\r\n CSVWriter<MarketInformationReport> marketinfoCSVWriter = new CSVWriterBuilder<MarketInformationReport>(marketinfoFileWriter)\r\n .entryConverter(new MarketInformationReportCSVConverterHeaders())\r\n .strategy(CSVStrategy.DEFAULT)\r\n .build();\r\n// marketinfoCSVWriter.write(schedule.reps.marketInformationReports.get(1));\r\n marketinfoCSVWriter.write(null);\r\n marketinfoFileWriter.flush();\r\n marketinfoFileWriter.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n //release writing lock for file\r\n schedule.reporter.lockMarketInformationCSV.unlock();\r\n }\r\n }\r\n\r\n try {\r\n schedule.reporter.lockMarketInformationCSV.lock();\r\n FileWriter marketinfoFileWriter = new FileWriter(marketinfofile, true);\r\n CSVWriter<MarketInformationReport> marketinfoCSVWriter = new CSVWriterBuilder<MarketInformationReport>(marketinfoFileWriter)\r\n .entryConverter(new MarketInformationReportCSVConverter())\r\n .strategy(CSVStrategy.DEFAULT)\r\n .build();\r\n\r\n //write report per power plant\r\n marketinfoCSVWriter.writeAll(schedule.reps.marketInformationReports);\r\n marketinfoFileWriter.flush();\r\n marketinfoFileWriter.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n //release writing lock for file\r\n schedule.reporter.lockMarketInformationCSV.unlock();\r\n \t\r\n }\r\n\r\n\r\n\r\n //Segment file \r\n String segmentFileName = schedule.runID + \"-\" + \"Segments.csv\";\r\n File segmentfile = new File(outputDirectoryName + segmentFileName);\r\n\r\n //Write header if needed\r\n if (!segmentfile.exists()) {\r\n try {\r\n schedule.reporter.lockSegmentCSV.lock();\r\n FileWriter segmentfileWriter = new FileWriter(segmentfile, false);\r\n CSVWriter<Schedule> segmentCSVWriter = new CSVWriterBuilder<Schedule>(segmentfileWriter)\r\n .entryConverter(new SegmentCSVConverterHeaders())\r\n .strategy(CSVStrategy.DEFAULT)\r\n .build();\r\n segmentCSVWriter.write(schedule);\r\n segmentfileWriter.flush();\r\n segmentfileWriter.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n //release writing lock for file\r\n schedule.reporter.lockSegmentCSV.unlock();\r\n }\r\n }\r\n\r\n try {\r\n schedule.reporter.lockSegmentCSV.lock();\r\n FileWriter segmentfileWriter = new FileWriter(segmentfile, true);\r\n CSVWriter<Schedule> segmentCSVWriter = new CSVWriterBuilder<Schedule>(segmentfileWriter)\r\n .entryConverter(new SegmentCSVConverter())\r\n .strategy(CSVStrategy.DEFAULT)\r\n .build();\r\n\r\n //write report\r\n segmentCSVWriter.write(schedule);\r\n segmentfileWriter.flush();\r\n segmentfileWriter.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n //release writing lock for file\r\n schedule.reporter.lockSegmentCSV.unlock();\r\n }\r\n \r\n \r\n\r\n }", "title": "" }, { "docid": "db655def7c9a21da233e44c87ef726d1", "score": "0.5974621", "text": "public static void WriteReportToCSV(Report report, String outputFolderName) {\r\n try {\r\n String directoryPath = \"/tmp/output_reports/\" + outputFolderName;\r\n String filePath = directoryPath + \"/\" + report.getSlug() + \".csv\";\r\n\r\n File directory = new File(directoryPath);\r\n if (!directory.exists()) {\r\n directory.mkdirs();\r\n }\r\n\r\n System.out.println(\"Saving report to: \" + filePath);\r\n\r\n FileWriter csvWriter = new FileWriter(filePath);\r\n\r\n // Print header\r\n csvWriter.append(String.join(\",\", report.columns));\r\n csvWriter.append(\"\\n\");\r\n\r\n switch (report.reportType) {\r\n case Country:\r\n\r\n for (CountryReportRow countryReportRow : (List<CountryReportRow>) report.rows) {\r\n csvWriter.append(countryReportRow.name);\r\n csvWriter.append(\",\");\r\n csvWriter.append(countryReportRow.code);\r\n csvWriter.append(\",\");\r\n csvWriter.append(countryReportRow.continent);\r\n csvWriter.append(\",\");\r\n csvWriter.append(countryReportRow.region);\r\n csvWriter.append(\",\");\r\n csvWriter.append(String.format(\"%d\", countryReportRow.population));\r\n csvWriter.append(\",\");\r\n csvWriter.append(countryReportRow.capital);\r\n csvWriter.append(\"\\n\");\r\n }\r\n break;\r\n\r\n case City:\r\n for (CityReportRow cityReportRow : (List<CityReportRow>) report.rows) {\r\n csvWriter.append(cityReportRow.name);\r\n csvWriter.append(\",\");\r\n csvWriter.append(cityReportRow.country);\r\n csvWriter.append(\",\");\r\n csvWriter.append(cityReportRow.district);\r\n csvWriter.append(\",\");\r\n csvWriter.append(String.format(\"%d\", cityReportRow.population));\r\n csvWriter.append(\"\\n\");\r\n }\r\n break;\r\n\r\n case CapitalCity:\r\n for (CapitalCityReportRow capitalCityReportRow : (List<CapitalCityReportRow>) report.rows) {\r\n csvWriter.append(capitalCityReportRow.name);\r\n csvWriter.append(\",\");\r\n csvWriter.append(capitalCityReportRow.country);\r\n csvWriter.append(\",\");\r\n csvWriter.append(String.format(\"%d\", capitalCityReportRow.population));\r\n csvWriter.append(\"\\n\");\r\n }\r\n break;\r\n\r\n case Population:\r\n for (PopulationReportRow populationReportRow : (List<PopulationReportRow>) report.rows) {\r\n\r\n System.out.println(\"Writing row to CSV: \" + populationReportRow.name);\r\n\r\n csvWriter.append(populationReportRow.name);\r\n csvWriter.append(\",\");\r\n csvWriter.append(String.format(\"%d\", populationReportRow.population));\r\n csvWriter.append(\",\");\r\n csvWriter.append(String.format(\"%.2f\", populationReportRow.urban_pop_percentage));\r\n csvWriter.append(\",\");\r\n csvWriter.append(String.format(\"%.2f\", populationReportRow.rural_pop_percentage));\r\n csvWriter.append(\"\\n\");\r\n }\r\n break;\r\n //\r\n }\r\n csvWriter.flush();\r\n csvWriter.close();\r\n } catch (Exception e) {\r\n System.out.println(e.getMessage());\r\n System.out.println(\"Failed to write report to CSV\");\r\n }\r\n }", "title": "" }, { "docid": "d3769cd477f0f47e3f408cb6f35964f3", "score": "0.5967134", "text": "private void exportToCSV(){\r\n\r\n\t\tString priorWriteDir = PhotoSpread.photoSpreadPrefs.getProperty(PhotoSpread.lastDirWrittenKey);\r\n\r\n\t\tfinal JFileChooser fc = new JFileChooser(priorWriteDir);\r\n\r\n\t\tCSVFileFilter filter = new CSVFileFilter();\r\n\t\tfc.setFileFilter(filter);\t\t\r\n\r\n\t\tfc.setMultiSelectionEnabled(false);\r\n\t\tfc.setFileSelectionMode(JFileChooser.FILES_ONLY);\r\n\t\tint returnVal = fc.showSaveDialog(this);\r\n\t\t//In response to a button click:\r\n\t\t//int returnVal = fc.showOpenDialog(this);\r\n\t\tif(returnVal == JFileChooser.APPROVE_OPTION){\r\n\t\t\tFile exportFile = fc.getSelectedFile();\r\n\t\t\tPhotoSpread.photoSpreadPrefs.setProperty(PhotoSpread.lastDirWrittenKey, exportFile.getParent());\r\n\t\t\t// Make sure file gets a .csv extension:\r\n\t\t\ttry {\r\n\t\t\t\texportFile = new File (Misc.ensureFileExtension(exportFile.getPath(), \"csv\"));\r\n\t\t\t} catch (java.text.ParseException e1) {\r\n\t\t\t\t// Exception when a directory is passed into ensureFileExtension\r\n\t\t\t\t// GUI file chooser prevents that.\r\n\t\t\t\te1.printStackTrace();\r\n\t\t\t}\r\n\r\n\t\t\texportFile.setWritable(true);\r\n\t\t\ttry{\r\n\t\t\t\tCsvWriter out = new CsvWriter(exportFile.getPath());\r\n\t\t\t\tout.setConformToExcel(true);\r\n\t\t\t\tCSVSpreadsheet csvObjectRecords = _displayedCell.toCSV();\r\n\t\t\t\tIterator<CSVRecord> row = csvObjectRecords.iterator();\r\n\t\t\t\twhile (row.hasNext()) {\r\n\t\t\t\t\tout.writeRecord(row.next());\r\n\t\t\t\t}\r\n\t\t\t\tout.close();\r\n\t\t\t}catch (Exception e){//Catch exception if any\r\n\t\t\t\tSystem.err.println(\"Error: \" + e.getMessage());\r\n\t\t\t}\r\n\t\t\tJOptionPane.showMessageDialog(this.getParent(), \"Done writing to '\" + exportFile.getName() + \"'.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f2f06b52dd7dd4bbe0a79977cdc9d9e1", "score": "0.59164375", "text": "private void printResults() {\n //creating a model for table\n DefaultTableModel model = (DefaultTableModel) jTable1.getModel();\n \n //clearing any existing data\n model.setRowCount(0);\n \n //filling in\n for(int i = 0 ;i < this.results.size(); i++) {\n double percentage = this.results.get(i).getPercentage();\n percentage = percentage*100;\n percentage = Math.round(percentage);\n percentage = percentage /100;\n \n long millis = this.results.get(i).getTimer(); // obtained from StopWatch\n long minutes = (millis / 1000) / 60;\n int seconds = (int)((millis / 1000) % 60);\n \n model.addRow(new Object[]{this.results.get(i).getIdR()+\"\",\n this.results.get(i).getTestName(),\n this.results.get(i).getStudentNum(),\n percentage+\"\",\n minutes+\":\"+seconds,\n this.results.get(i).getTestDate()\n });\n }\n }", "title": "" }, { "docid": "e709f9cadad39a44ce8c263a66f7683c", "score": "0.59157425", "text": "void print(CSVPrinter printer) throws IOException {\n\n printer.printRecord(id, donepeople, donepeople == 0 ? 0 : String.format(\"%.0f\", (double)100 * rightpeople / donepeople));\n }", "title": "" }, { "docid": "0b14735b4ad1649a1ea26c7ebaaead87", "score": "0.59099495", "text": "public void CSVWriter(Table table) throws IOException {\n\t\t \tFile file = new File(output_csv_file);\n\t\t \t\n\t\t \tBufferedWriter writer = new BufferedWriter(new FileWriter(file)); \n\t\t \t //writer.write(sb.toString());\n\t\t \t//}\n\t\t \t(new CSVWriter()).write(writer, table);\n\t\t //(new CSVWriter()).write(sb, table);\n\t\t //String s = sb.toString();\n\t\t //String[] lines = s.split(\"\\\\r?\\\\n\");\n\t\t //assertEquals(lines[0], EXPECTED_CSV_WRITER_OUTPUT);\n\t\t //assertEquals(expectedCsv, s);\n\t\t }", "title": "" }, { "docid": "ed1ba118cefd184ed8b5757cc312cc7e", "score": "0.5905571", "text": "private static void writeCSVFile(List<Broadcaster> broadcasterList){\n\t\tFileWriter writer;\n\t\ttry {\n\t\t\twriter = new FileWriter(System.getProperty(\"user.home\") + \"/ListOfBroadcasters.csv\");\n\t\t\t// Headers\n\t\t\twriter.append(Constants.BROADCASTER_HEADER);\n\t\t\twriter.append(',');\n\t\t\twriter.append(Constants.DOC_URL_HEADER);\n\t\t\twriter.append('\\n');\n\n\t\t\tfor (Broadcaster broadcaster : broadcasterList){\n\t\t\t\t//Data\n\t\t\t\twriter.append(broadcaster.getName());\n\t\t\t\twriter.append(',');\n\t\t\t\twriter.append(broadcaster.getUrl());\n\t\t\t\twriter.append('\\n');\n\t\t\t}\n\n\t\t\twriter.flush();\n\t\t\twriter.close();\n\n\t\t\tSystem.out.println(\"** Information about \" + broadcasterList.size() + \n\t\t\t\t\t\" broadcaster(s) has been written into a CSV file, which can be found here: \" + \n\t\t\t\t\tSystem.getProperty(\"user.home\") + \"/ListOfBroadcasters.csv\");\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"ERROR: Problem occured while writing the data into the output CSV file.\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "337fa6db21ac622749e314136d9a355b", "score": "0.58931744", "text": "public static void printToFile(){\n\t BufferedWriter out = null;\n\t\ttry {\n\t\t\tout = new BufferedWriter(new FileWriter(outputFile, false));\n\t\t\tSet<String> clinicNumbers = finalAssignment.keySet();\n\t\t\tIterator<String> itClinicNumbers = clinicNumbers.iterator();\n\t\t\twhile (itClinicNumbers.hasNext()){\n\t\t\t\tString clinicNumber = (String) itClinicNumbers.next();\n\t\t\t\tString smokingStatus = (String) finalAssignment.get(clinicNumber);\n\t\t\t\tout.write(\"\\n\" + clinicNumber + \"|\" + smokingStatus);\n\t\t\t}\n\t\t\tout.close();\n\t\t} catch (IOException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "cf3d15eed6b9293d2bec4314a0959234", "score": "0.5885511", "text": "public int exportToCSV(ArrayList<List<String>> list, String fileName){\n SimpleDateFormat sdf = new SimpleDateFormat(\"MMddyyyy\");\n Date now = new Date();\n \n int success = 0;\n \n try (FileWriter csvWriter = new FileWriter(fileName + \"_\" + sdf.format(now) + \".csv\")){\n \n for (List<String> row : list){\n csvWriter.append(String.join(\",\", row));\n csvWriter.append(\"\\n\");\n }\n \n success = 1;\n csvWriter.close();\n return success;\n \n } catch (IOException ex) {\n JOptionPane.showMessageDialog(null, \"<DAO>exportToCSV():\\n\" + ex.getMessage(), \"IO Exception\", JOptionPane.INFORMATION_MESSAGE);\n }\n \n return success;\n }", "title": "" }, { "docid": "e2dc5c719da7a4dc213ef9c33515a110", "score": "0.5878325", "text": "private static void printResults() throws java.io.FileNotFoundException, java.io.IOException {\n Tensor predictionGroundTruth = Service.readTensorFromCSV(context, testGroundTruthFile);\n\n /* Print results of the neural network prediction */\n Service.printTensors(\"Ground truth\", \"Neural network predictions: each class probability\",\n \"Neural network classification results (first 20 observations):\",\n predictionGroundTruth, predictionResult.get(PredictionResultId.prediction), 20);\n }", "title": "" }, { "docid": "6102ab61be174ca61ffbe377025eaee0", "score": "0.5868342", "text": "public void writeCsvFile(String filename) {\r\n\r\n FileWriter fileWriter = null;\r\n try {\r\n // create writer\r\n fileWriter = new FileWriter(filename);\r\n\r\n // add header\r\n fileWriter.append(FILE_HEADER);\r\n fileWriter.append(NEW_LINE);\r\n\r\n for (Item item : items) {\r\n // add data as a list of variables in string form separated by a\r\n // comma\r\n fileWriter.append(String.valueOf(item.getReference()));\r\n fileWriter.append(COMMA_SEPERATOR);\r\n fileWriter.append(item.getName());\r\n fileWriter.append(COMMA_SEPERATOR);\r\n fileWriter.append(String.valueOf(item.getAvailable()));\r\n fileWriter.append(COMMA_SEPERATOR);\r\n fileWriter.append(item.getID());\r\n fileWriter.append(COMMA_SEPERATOR);\r\n fileWriter.append(String.valueOf(item.getPermission()));\r\n fileWriter.append(NEW_LINE);\r\n }\r\n\r\n // tell user write was successful\r\n System.out.println(\"File created Successfully\");\r\n } catch (Exception e) {\r\n // output error information\r\n System.out.println(\"Error\");\r\n e.printStackTrace();\r\n } finally {\r\n try {\r\n // close writer\r\n fileWriter.flush();\r\n fileWriter.close();\r\n } catch (IOException e) {\r\n // output error info\r\n System.out.println(\"Error closing/flushing stream\");\r\n e.printStackTrace();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "dd2cb7e19a8a3116c27237c0bc149613", "score": "0.58656996", "text": "public void Writer()\r\n\t\t{\r\n\t\t\t\tString[] Keys= yearRecords.keySet().toArray(new String[0]);\r\n\t\t\t\tfor(String K1:Keys)\r\n\t\t\t\t{\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\t// write the result of each year in a seprated file in resPath directory\r\n\t\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\t\t\tSystem.out.println(e);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tSystem.out.print(\"All results are saved in:\");\r\n\t\t\t\t\t\tSystem.out.print(resPath);\r\n\r\n\t\t\t\t}\r\n\r\n\t\t}", "title": "" }, { "docid": "2708f40376dd14fed35abb876d15cb8d", "score": "0.5857985", "text": "private void writeCsv(List<RequestRecord> records) {\n List<String> recordList = new ArrayList<>();\n String filename = String.format(\"%s_%d_threads_records.csv\", this.getClass().getName(),\n getNumThreads());\n recordList.add(\"start time,request type,latency,response code\");\n for(RequestRecord sr : records) {\n recordList.add(sr.toString());\n }\n try {\n Files.write(Paths.get(filename), recordList);\n } catch (IOException e) {\n System.out.println(\"failed write file\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "a7b0c256857600fee8fef07c0957fef4", "score": "0.5849407", "text": "public void outputFinancialAnalytics(DateRange chosenRange){\n String fileName = \"./analytics/\" + \"financial/\" + chosenRange.getStartDateString() + \"_\" + chosenRange.getEndDateString() + \".csv\";\n File destinationFile = createAnalyticsFile(fileName);\n ArrayList<String> analytics = getFinancialAnalytics(chosenRange);\n printAnalyticsToFile(destinationFile, analytics);\n\n System.out.println(\"!Created analytics file: \" + destinationFile.getName() + \"!\");\n }", "title": "" }, { "docid": "dc0f867359cf5d4276b02f63ed703370", "score": "0.5848615", "text": "public void exportCustomerDetails(String id) {\r\n\t\tString orderQuery = \"SELECT * FROM orders \"\r\n\t\t\t\t+ \" JOIN orderDetails ON orders.orderNumber = orderDetails.orderNumber\"\r\n\t\t\t\t+ \" WHERE orders.customerNumber = \" + id;\r\n\t\ttry (BufferedWriter file = new BufferedWriter(new FileWriter(id + \".txt\"))) {\r\n\t\t\tResultSet res = conn.query(orderQuery);\r\n\t\t\tString header = writeHeader(res);\r\n\t\t\tString row = formatTable(res);\r\n\t\t\t\r\n\t\t\tfile.write(header + row);\r\n\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "fa0166e4c7b8e32e9ad911e35a21e269", "score": "0.5844134", "text": "public void writeQuestionsCsv(String path) throws FileNotFoundException {\n System.out.println(path);\n Field[] fields = Question.class.getDeclaredFields();\n StringBuilder file = new StringBuilder();//\"\\r\\n\"\n for (Field field : fields) {\n file.append(field.getName() + \",\");\n }\n file.deleteCharAt(file.length() - 1);\n file.append(\"\\r\\n\");\n\n List<Question> questions = QuestionRequest\n .getAllQuestionsByLectureId(lecture.getIdString());\n\n for (Question question : questions) {\n for (Field field : fields) {\n java.lang.reflect.Field.setAccessible(fields, true);\n try {\n file.append(String.valueOf(field.get(question)).replaceAll(\",\", \".\") + \",\");\n } catch (IllegalAccessException e) {\n file.append(\",\");\n e.printStackTrace();\n }\n }\n file.deleteCharAt(file.length() - 1);\n file.append(\"\\r\\n\");\n }\n PrintWriter writer = new PrintWriter(path);\n writer.print(file);\n writer.close();\n\n System.out.println(file);\n }", "title": "" }, { "docid": "78cafcf6e5f6653aad5e2ac2f295b817", "score": "0.58281976", "text": "protected void printResults(ResultSet rs, PrintStream out)\n throws SQLException {\n if (rs != null) {\n log(\"Processing new result set.\", Project.MSG_VERBOSE);\n ResultSetMetaData md = rs.getMetaData();\n int columnCount = md.getColumnCount();\n StringBuffer line = new StringBuffer();\n if (showheaders) {\n for (int col = 1; col < columnCount; col++) {\n line.append(md.getColumnName(col));\n line.append(\",\");\n }\n line.append(md.getColumnName(columnCount));\n out.println(line);\n line = new StringBuffer();\n }\n while (rs.next()) {\n boolean first = true;\n for (int col = 1; col <= columnCount; col++) {\n String columnValue = rs.getString(col);\n if (columnValue != null) {\n columnValue = columnValue.trim();\n }\n \n if (first) {\n first = false;\n } else {\n line.append(\",\");\n }\n line.append(columnValue);\n }\n out.println(line);\n line = new StringBuffer();\n }\n }\n out.println();\n }", "title": "" }, { "docid": "30e658dab862a77cf0ce96efeebaaf93", "score": "0.5828089", "text": "private Set<String> keyWordExportToCSV() throws IOException {\r\n Set<String> fileNames = new HashSet<String>();\r\n KeywordQueryExecutionHandler handler = (KeywordQueryExecutionHandler) queryExecutionHandler;\r\n Map<ICab2bQuery, IQueryResult<? extends IRecord>> qVsResultMap = handler.getQueryVsResultMap();\r\n for (Map.Entry<ICab2bQuery, IQueryResult<? extends IRecord>> keyValuePair : qVsResultMap.entrySet()) {\r\n ICab2bQuery subQuery = keyValuePair.getKey();\r\n SpreadSheetResultTransformer transformer =\r\n new SpreadSheetResultTransformer(keyValuePair.getKey(), keyValuePair.getValue());\r\n String fileName = null;\r\n try {\r\n fileName = transformer.writeToCSV();\r\n Set<QueryStatus> subQueryStatus = queryExecutionHandler.getStatus().getChildrenQueryStatus();\r\n for (QueryStatus queryStatus : subQueryStatus) {\r\n if (queryStatus.getQuery().equals(subQuery)) {\r\n updateDatabaseWithFileName(fileName, queryStatus);\r\n CsvWriter.addMetadataToFile(queryStatus);\r\n }\r\n }\r\n } catch (IOException e) {\r\n throw new RuntimeException(\"Error while saving CSV file.\", ErrorCodeConstants.IO_0001);\r\n }\r\n fileNames.add(fileName);\r\n }\r\n return fileNames;\r\n }", "title": "" }, { "docid": "99ea4f7d199744cae5e5e2d677ae1303", "score": "0.58263576", "text": "ArrayList<String> toCSV() {\n ArrayList<String> lines = new ArrayList<>();\n for (Tweet tweet : tweets) {\n lines.add(tweet.toCSV());\n }\n return lines;\n }", "title": "" }, { "docid": "5192db240e148aac76a24739e7c25931", "score": "0.5807015", "text": "public void writeCSVFilePurchase(List<ProductoResponseDTO> dataBase ) throws IOException\n {\n File file = new File(\"\");\n file = new File(file.getAbsolutePath() + rootFilePurchase);\n if(file.isFile())\n {\n PrintWriter writer = new PrintWriter(new File(file.getPath()));\n\n String separator = \",\";\n String collect = \"ClientId,ProductId,Name,Brand,Quantity\\n\";\n\n for(ProductoResponseDTO product: dataBase)\n {\n\n collect += 100 + separator + product.getProductId() + separator + product.getName() + separator + product.getBrand() + separator + product.getQuantity() + \"\\n\";\n\n }\n\n writer.write(collect);\n\n writer.close();\n\n }\n\n }", "title": "" }, { "docid": "a5feb4df59b9b5b2e7f4aaa1f7155818", "score": "0.5800533", "text": "public void printCResults() {\n System.out.println(\"******* Search Results***********\");\n for (int i = 0; i < cResults.size(); i++) {\n System.out.println(cResults.get(i).toString());\n }\n }", "title": "" }, { "docid": "714d4d4b3426142db098055172d2c9a2", "score": "0.57806283", "text": "public void writeCSV(CSVTable table) {\n List<CSVRow> csvRows = table.getCSVRows();\n\n Iterator<CSVRow> iterator = csvRows.iterator();\n\n while (iterator.hasNext()) {\n CSVRow row = iterator.next();\n String[] values = row.getRowValues();\n for (int i = 0; i < values.length; i++) {\n try {\n if (values[i] == null) {\n fw.append(\"-\");\n } else {\n fw.append(values[i].replaceAll(\",\", \"\"));\n }\n if (i < values.length - 1) {\n fw.append(',');\n } else {\n fw.append(\"\\n\");\n }\n\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n }\n\n }\n\n try {\n fw.flush();\n fw.close();\n } catch (IOException ex) {\n\n }\n\n }", "title": "" }, { "docid": "27a7f095c839470c64963bd821190caa", "score": "0.5773978", "text": "public static void main(String[] args) {\n\t\tCsvWriter writer = new CsvWriter(\"Productos.csv\");\n\n\t\ttry {\n\t\t\t// writer.write(String) - Escribe los campos separandolos con coma\n\t\t\t// automaticamente.\n\t\t\twriter.write(\"CL\");\n\t\t\twriter.write(\"USUARIO\");\n\t\t\twriter.write(\"FECHA\");\n\t\t\twriter.write(\"HORA\");\t\t\t\n\t\t\twriter.endRecord();// writer.endRecord() - Termina con la linea.\n\t\t\t\n\t\t\t\n\t\t\twriter.write(\"1\");\n\t\t\twriter.write(\"MIGUEL\");\n\t\t\twriter.write(\"15-09-2012\");\n\t\t\twriter.write(\"10:50\");\n\t\t\twriter.endRecord();\n\n\t\t\twriter.write(\"2\");\n\t\t\twriter.write(\"AARON\");\n\t\t\twriter.write(\"12-12-12\");\n\t\t\twriter.write(\"1:00\");\n\t\t\twriter.endRecord();\n\n\t\t\twriter.write(\"3\");\n\t\t\twriter.write(\"ISELA\");\n\t\t\twriter.write(\"1-09-2013\");\n\t\t\twriter.write(\"7:37\");\n\t\t\twriter.endRecord();\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\twriter.close();\n\t\t}\n\t}", "title": "" }, { "docid": "c6b89d7cddcf51864b3b1a36d17a0175", "score": "0.5769844", "text": "private static void csvFileWriter(Path path, String fileName, Collection<Event> collection) {\n //TODO: generate csv file\n }", "title": "" }, { "docid": "62375526d94c441640a51e37c5a5cbfc", "score": "0.57492024", "text": "public static Result generateCoordinatorsCSV() {\n StringWriter csvStringWriter = new StringWriter();\n\n try {\n CSVUtil.writeCoordinatorCSV(User.getAllCoordinators(), csvStringWriter);\n } catch (IOException e) {\n return internalServerError(\"Server error: unable to write CSV coordinator data\");\n }\n\n InputStream csvResponseStream = new ByteArrayInputStream(\n csvStringWriter.toString().getBytes(StandardCharsets.UTF_8));\n response().setContentType(\"text/csv\");\n return ok(csvResponseStream);\n }", "title": "" }, { "docid": "2d4710d01ef72ddd1b7bd120a3503c60", "score": "0.57412463", "text": "public static void exportCustomers(String path) throws IOException {\n\t\tCSVWriter writer = new CSVWriter(new FileWriter(path), ',');\n\n\t\ttry {\n\t\t\tCallableStatement cs = conn.prepareCall(\"{? = call get_customers()}\");\n\n\t\t\tcs.registerOutParameter(1, OracleTypes.CURSOR);\n\n\t\t\t// Execute call\n\t\t\tcs.execute();\n\n\t\t\tResultSet rs = (ResultSet) cs.getObject(1);\n\n\t\t\twhile (rs.next()) {\n\t\t\t\tString name = rs.getString(1);\n\t\t\t\tString address = rs.getString(2);\n\n\t\t\t\tString[] entry = { name, address };\n\t\t\t\twriter.writeNext(entry);\n\t\t\t}\n\n\t\t\tcs.close();\n\t\t\trs.close();\n\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\twriter.close();\n\t}", "title": "" }, { "docid": "7da6c14fc957a6934ffd4b544729c7c3", "score": "0.5731338", "text": "public static void QUERY19(Connection conn, String nameOfFile) {\r\n try {\r\n CallableStatement stmt = conn.prepareCall(\"{call QUERY19(?)}\");\r\n CSVWriter writer = null;\r\n\t\t\ttry {\r\n\t\t\t\twriter = new CSVWriter(new FileWriter(nameOfFile));\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n stmt.registerOutParameter(1, OracleTypes.CURSOR);\r\n stmt.execute();\r\n ResultSet rs = (ResultSet) stmt.getObject(1);\r\n // Writes all data from ResultSet to output file. Includes column names.\r\n try {\r\n\t\t\t\twriter.writeAll(rs, true);\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n try {\r\n\t\t\t\twriter.close();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n System.out.println(\"\\n\" + \"Data successfully exported to \" + nameOfFile + \"\\n\");\r\n } catch (SQLException e) {\r\n System.out.println(\"(ERROR) EXPORT exception: \" + e.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "43682e0b349b68db0c8db942224ff709", "score": "0.57301956", "text": "public static void main(String... args) {\n try {\n appendToCSV(\"./demo.csv\", Arrays.asList(\"A\", \"B,\", \"C\"), Arrays.asList(\"Axe\", \"[Balloon,Ball,Boy]\", \"Comb\"));\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "d7141df4bc916f8d2533b631f19b401f", "score": "0.5726261", "text": "public String toCSV() {\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tfor (Obj obj : m_objs) {\r\n\t\t\tsb.append(obj.toCSV() + \",\" + name() + \",\" + obj.strValues() + \"\\n\");\r\n\t\t}\r\n\t\treturn sb.toString();\r\n\t}", "title": "" }, { "docid": "3f543d36a73268f291f933dd45048792", "score": "0.57187337", "text": "public String buildPromoExportCSV() {\r\n\t\tStringBuilder csv = new StringBuilder();\r\n\t\t\t\t\r\n\t\tcsv.append(\"Code, Title, # Available, Start Date, End Date, Consumer Credit, Consumer Credit Type, Depot Credit, Depot Credit Type, Region, Association, KinekPoint \\n\");\r\n\t\t\r\n\t\t//Double quotes surround each value in order to handle any values that contain commas\r\n\t\tfor (Promotion promo : promosForExport) {\r\n\t\t\taddColumnValue(csv, promo.getCode(), false);\r\n\t\t\taddColumnValue(csv, promo.getTitle(), false);\r\n\t\t\taddColumnValue(csv, promo.getAvailabilityCount(), false);\r\n\t\t\taddColumnValue(csv, promo.getStartDate().toString(), false);\r\n\t\t\taddColumnValue(csv, promo.getEndDate().toString(), false);\r\n\t\t\taddColumnValue(csv, promo.getConsumerCreditAmount(), false);\r\n\t\t\taddColumnValue(csv, promo.getConsumerCreditCalcType().getName(), false);\r\n\t\t\taddColumnValue(csv, promo.getDepotCreditAmount(), false);\r\n\t\t\taddColumnValue(csv, promo.getDepotCreditCalcType().getName(), false);\r\n\t\t\taddColumnValue(csv, (promo.getState() != null) ? promo.getState().getName() : \"\", false);\r\n\t\t\taddColumnValue(csv, (promo.getAssociation() != null) ? promo.getAssociation().getName() : \"\", false);\r\n\t\t\taddColumnValue(csv, (promo.getDepot() != null) ? promo.getDepot().getName() : \"\", false);\r\n\t\t\taddColumnValue(csv, \"\\n\", true);\r\n\t\t}\r\n\t\treturn csv.toString();\r\n\t}", "title": "" }, { "docid": "deb3f53937560522baedaf33d429eaf6", "score": "0.5715249", "text": "public void exportarCSV(int escenario){\n\t\t\n\t\tString outputFile=\"\";\n\t\tString rutaBase=\"dist/\";\n\t\t\n\t\tif(tipoMedidaTomando.equals(\"TIEMPOS\")){\n\t\t\tif(escenario>=1 && escenario<=12){\n\t\t\t\toutputFile=rutaBase+\"tiempos\"+escenario+\".csv\";\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"ERROR\");\n\t\t\t}\n\t\t}else if(tipoMedidaTomando.equals(\"TF\")){\n\t\t\tif(escenario>=1 && escenario<=12){\n\t\t\t\toutputFile=rutaBase+\"transaccionesfallidas\"+escenario+\".csv\";\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"ERROR\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t// before we open the file check to see if it already exists\n\t\tboolean alreadyExists = new File(outputFile).exists();\n\t\t\t\n\t\ttry {\n\t\t\t// use FileWriter constructor that specifies open for appending\n\t\t\tCsvWriter csvOutput = new CsvWriter(new FileWriter(outputFile, true), ',');\n\t\t\t\n\t\t\t// if the file didn't already exist then we need to write out the header line\n//\t\t\tif (!alreadyExists)\n//\t\t\t{\n//\t\t\t\tcsvOutput.write(\"id\");\n//\t\t\t\tcsvOutput.write(\"name\");\n//\t\t\t\tcsvOutput.endRecord();\n//\t\t\t}\n\t\t\t// else assume that the file already has the correct header line\n\t\t\t\n\t\t\tif(tipoMedidaTomando.equals(\"TIEMPOS\")){\n\t\t\t\t//Falta hacer el header del documento \n\t\t\t\tfor(int i=0;i<carga;i++){\n\t\t\t\t\tcsvOutput.write(tiempos[i].getIdS());\n\t\t\t\t\tcsvOutput.write(tiempos[i].getTiempoInicialS());\n\t\t\t\t\tcsvOutput.write(tiempos[i].getTiempoFinalS());\n\t\t\t\t\tcsvOutput.write(tiempos[i].getTiempoTranscurridoS());\n\t\t\t\t\tcsvOutput.endRecord();\n\t\t\t\t}\n\t\t\t}else if(tipoMedidaTomando.equals(\"TF\")){\n\t\t\t\t//Falta hacer el header del documento\n\t\t\t\tfor(int i=0;i<fallidas.length;i++){\n\t\t\t\t\tcsvOutput.write(fallidas[i].getIdS());\n\t\t\t\t\tcsvOutput.write(fallidas[i].getBooleanoS());\n\t\t\t\t\tcsvOutput.endRecord();\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tcsvOutput.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "d1a7d62dff761bf6c8a573487da3d765", "score": "0.57026637", "text": "public static void writeCSVFile(String csvFileName, List<City> citis)\r\n {\r\n File file=new File(OUTPUT_FOLDER);\r\n if(!file.exists())\r\n {\r\n file.mkdirs();\r\n }\r\n \r\n ICsvBeanWriter beanWriter = null;\r\n \r\n // Generate header for the CSV\r\n Field fields[] = new City().getClass().getDeclaredFields();\r\n String[] header = new String[fields.length];\r\n for(int i = 0; i < fields.length; i++) \r\n {\r\n header[i] = fields[i].getName();\r\n }\r\n \r\n try {\r\n beanWriter = new CsvBeanWriter(new FileWriter(OUTPUT_FOLDER+\"/\"+csvFileName),\r\n CsvPreference.STANDARD_PREFERENCE);\r\n \r\n beanWriter.writeHeader(header);\r\n \r\n for (City city : citis) \r\n {\r\n beanWriter.write(city, header);\r\n }\r\n \r\n }\r\n catch (IOException ex) \r\n {\r\n System.err.println(\"Error writing the CSV file: \" + ex.getMessage());\r\n JOptionPane.showMessageDialog(null, \"Error writing the CSV file\" ,\"Error writing the CSV file: \" + ex.getMessage(), JOptionPane.ERROR_MESSAGE);\r\n } \r\n finally\r\n {\r\n if (beanWriter != null)\r\n {\r\n try\r\n {\r\n beanWriter.close();\r\n }\r\n catch (IOException ex) \r\n {\r\n System.err.println(\"Error closing the writer: \" + ex);\r\n JOptionPane.showMessageDialog(null, \"Error closing the writer\" ,\"Error closing the writer: \" + ex.getMessage(), JOptionPane.ERROR_MESSAGE);\r\n }\r\n }\r\n }\r\n}", "title": "" }, { "docid": "f6be48a3b1ad49ffb959f2bc98ddff05", "score": "0.56887674", "text": "public static void log(HashMap<String, ArrayList<String>> dirFiles) { \n\t PrintWriter out = null;\n\t\ttry {\n\t\t\tout = new PrintWriter(new FileWriter(\"df.csv\", true), true);\n\t\t\t//out.write(map.toString());\n\t\t\tout.write(dirFiles.toString());\n\t\t out.close();\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 // out.write(map.toString());\n\t //out.close();\n\t }", "title": "" }, { "docid": "a1d846634564913288e7f31ff23a8f0b", "score": "0.5673125", "text": "@RequestMapping(value = \"/service/csv\")\n public ResponseEntity getAllRunnerAsCSV() {\n LOG.debug(\"all runner as csv\");\n\n StringBuilder data = new StringBuilder();\n\n // header\n data.append(\"'Startnr',\");\n data.append(\"'Nachname',\");\n data.append(\"'Vorname',\");\n data.append(\"'Jahrgang',\");\n data.append(\"'Geschlecht',\");\n data.append(\"'Wettbewerb',\");\n data.append(\"'Verein',\");\n data.append(\"'ZTF1',\");\n data.append(\"'ZTF2',\");\n data.append(\"'ZTF3',\");\n data.append(\"'Mail',\");\n data.append(\"'Zeit'\\n\");\n\n LocalDate actualDate = LocalDate.now();\n List<Participation> participations = participationService.findActualRegistered(actualDate.getYear());\n\n for(Participation participation : participations){\n data.append(\"'',\");\n data.append(\"'\" + participation.getRunner().getSurname() + \"',\");\n data.append(\"'\" + participation.getRunner().getForename() + \"',\");\n data.append(\"'\" + participation.getRunner().getBirthyear() + \"',\");\n data.append(\"'\" + participation.getRunner().getGender() + \"',\");\n data.append(\"'\" + participation.getRun().getName() + \"',\");\n data.append(\"'\" + participation.getRunner().getClub() + \"',\");\n data.append(\"'\" + participation.getParticipationId() + \"',\");\n data.append(\"'\" + participation.getRun().getRunId() + \"',\");\n data.append(\"'\" + participation.getRunner().getShirt() + \"',\");\n data.append(\"'\" + participation.getRunner().getEmail() + \"',\");\n data.append(\"''\\n\");\n\n }\n\n HttpHeaders responseHeaders = new HttpHeaders();\n responseHeaders.add(\"Content-Disposition\", \"attachment; filename=exportFilsumLoeppt.csv\");\n\n\n return new ResponseEntity<>(data.toString(), responseHeaders, HttpStatus.OK);\n }", "title": "" }, { "docid": "9d6ce5dfa26fb4f9bae7499c93ce7e36", "score": "0.5668394", "text": "public static void writeCsvFile(String filename) {\n Country country1 = new Country(1,\"VN\",\"Viet Nam\");\n Country country2 = new Country(2,\"US\",\"United State\");\n Country country3 = new Country(3,\"AU\",\"Astralia\");\n\n //tao list chua cac doi tuong\n List<Country> countries = new ArrayList<>();\n countries.add(country1);\n countries.add(country2);\n countries.add(country3);\n\n FileWriter filewriter = null;\n\n try {\n\n filewriter = new FileWriter(filename);\n\n //tao header thu muc csv\n filewriter.append(FILE_HEADER);\n\n //xuong dong sau header\n filewriter.append(NEW_LINE);\n filewriter.append(NEW_LINE);\n\n for (Country country: countries){\n filewriter.append(String.valueOf(country.getId()));\n filewriter.append(COMMA);\n filewriter.append(country.getCode());\n filewriter.append(COMMA);\n filewriter.append(country.getName());\n filewriter.append(NEW_LINE);\n }\n\n\n\n\n } catch (IOException ex) {\n ex.printStackTrace();\n } finally {\n try {\n filewriter.close();\n }catch (IOException ex){\n ex.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "c052c2f5a758d39adee1ad568ee927be", "score": "0.5667222", "text": "@Override\n public void writeFlights(PCollection<Flight> outFlights, MyOptions options) {\n try {\n PCollection<FlightPred> lines = addPredictionInBatches(outFlights);\n lines.apply(\"pred->csv\", ParDo.of(new DoFn<FlightPred, String>() {\n @ProcessElement\n public void processElement(ProcessContext c) throws Exception {\n FlightPred pred = c.element();\n String csv = String.join(\",\", pred.flight.getFields());\n csv = csv + \",\" + new DecimalFormat(\"0.00\").format(pred.ontime);\n c.output(csv);\n }})) //\n .apply(\"Write\", TextIO.Write.to(options.getOutput() + \"flightPreds\").withSuffix(\".csv\"));\n } catch (Throwable t) {\n LOG.warn(\"Inference failed\", t);\n }\n }", "title": "" }, { "docid": "7386cabf56352465d8c23fcc12b6897a", "score": "0.56591076", "text": "static private void writeDataToCsv(List<TransactionSample> transactionsData,\n String fileName, String fileExtension) {\n\n final String fileNameWithExtension = fileName + fileExtension;\n\n try(FileWriter fw = new FileWriter(fileNameWithExtension, true);\n BufferedWriter bw = new BufferedWriter(fw);\n PrintWriter out = new PrintWriter(bw))\n {\n for (Iterator<TransactionSample> i = transactionsData.iterator(); i.hasNext();) {\n TransactionSample transaction = i.next();\n out.println(\n transaction.accountId + \",\" + transaction.amount + \",\" + transaction.timestamp\n );\n }\n } catch (IOException e) {\n //exception handling left as an exercise for the reader\n }\n }", "title": "" }, { "docid": "a0a42a35f9312508d9b7d4132cf82a1d", "score": "0.56575024", "text": "public void guiExportCSV() {\n\t\tString filepath = this.gtSub.getFilePath(); // Open File Dialog and store selected files path\n\t\tthis.backEnd.writeCSV(filepath);\n\t}", "title": "" }, { "docid": "ad9729f6d7a180353a393b669611b969", "score": "0.56221855", "text": "public String convertToCSVFormat() {\n\t\tString result = \"\";\n\t\tresult = result + this.getId() + DELIMITER;\n\t\tresult = result + this.getDescription() + DELIMITER;\n\t\tresult = result + this.getVenue() + DELIMITER;\n\t\tresult = result + this.getStartDate() + DELIMITER;\n\t\tresult = result + this.getStartTime() + DELIMITER;\n\t\tresult = result + this.getEndDate() + DELIMITER;\n\t\tresult = result + this.getEndTime() + DELIMITER;\n\t\tresult = result + this.getReminder() + DELIMITER;\n\t\tresult = result + this.getRecurrence() + DELIMITER;\n\t\tresult = result + this.hasCompleted() + DELIMITER;\n\t\tresult = result + this.hasBeenUpdated();\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "c60ae55356d0a5e68c9410a3244bb967", "score": "0.561651", "text": "public void printResultTable(PrintStream out){\n ConfusionMatrix.printHeader(out);\n for(String label: getConfusionMatricies().keySet()){\n getConfusionMatricies().get(label).print(out,label);\n }\n }", "title": "" }, { "docid": "02b01766ec32cfed61201d2251e9aad7", "score": "0.56124014", "text": "public static void printToFile() {\n\t\ttry {\n\t\t\tPrintWriter pr = new PrintWriter(outFile);\n\t\t\tDecimalFormat df = new DecimalFormat(\"#.##\"); // set decimal to two\n\n\t\t\t// places\n\t\t\tpr.println(\"NAME: \" + outFile.getName());\n\t\t\tpr.println(\"TYPE: TOUR\");\n\t\t\tpr.println(\"DIMENSION: \" + cityMap.size());\n\t\t\tpr.println(\"COMMENT: best tour cost = \" + df.format(lowestCost));\n\t\t\tpr.println(\"TOUR_SECTION \\n\");\n\t\t\tfor (int i = 0; i < cityMap.size(); i++) {\n\t\t\t\tpr.println(lowestRoute.get(i));\n\t\t\t} // end for\n\t\t\t\t// print the last city\n\t\t\tpr.println(lowestRoute.get(0) * -1);\n\t\t\tpr.close(); // close the PrintWriter\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"Invalid entry for output file name!\");\n\t\t} // end try catch\n\t}", "title": "" }, { "docid": "9142f4b26a3f316cb99731fd5d6d278a", "score": "0.5607476", "text": "public void SaveToCsv() throws FileNotFoundException\r\n\t{\r\n\t Formatter packmanGameCsv = new Formatter(\"C:\\\\Users\\\\user\\\\Desktop\\\\packmanGameCsv.csv\");\r\n\t \r\n\t String line = \"\\n\";\r\n\t\tString type = \"Type\", lat = \"Lat\" , lon = \"Lon\" , alt = \"Alt\" , speed = \"Speed\" , radius = \"Radius\";\r\n\t\tpackmanGameCsv.format(type+\",\"+lat+\",\"+lon+\",\"+alt+\",\"+speed+\",\"+radius);\r\n\t\tpackmanGameCsv.format(line);\r\n\t\tfor(int i = 0 ; i < this.gamePackman.size() ; i++)\r\n\t\t{\r\n\t\t\tString P = \"P\";\r\n\t\t\tpackmanGameCsv.format(P+\",\"+(double)(gamePackman.get(i).location.x())+\",\"+(double)gamePackman.get(i).location.y()+\",\"+(double)gamePackman.get(i).location.z()+\",\"+(int)gamePackman.get(i).speed+\",\"+(int)gamePackman.get(i).raduis);\r\n\t\t\tpackmanGameCsv.format(line);\r\n\t\t}\r\n\t\tfor(int i = 0 ; i < this.gameFruit.size() ; i++)\r\n\t\t{\r\n\t\t\tString F = \"F\";\r\n\t\t\tpackmanGameCsv.format(F+\",\"+(double)gameFruit.get(i).location.x()+\",\"+(double)gameFruit.get(i).location.y()+\",\"+(double)gameFruit.get(i).location.z());\r\n\t\t\tpackmanGameCsv.format(line);\r\n\t\t}\r\n\t\tpackmanGameCsv.close();\r\n\t}", "title": "" }, { "docid": "a6a22a4ddff34fc947fc3c350554a7e1", "score": "0.5607069", "text": "public void luceneSearch() {\n System.out.println(\"\\nSearch Results for \"+ this.keyword +\" in Lucene Search!\");\n try {\n final FileWriter csvWriter = new FileWriter(Constants.PLOTTING_LUCENE_CSV_FILE_NAME);\n // 0. Specify the analyzer for tokenizing text. The same analyzer should be used for indexing\n // and searching\n StandardAnalyzer analyzer = new StandardAnalyzer();\n\n // 1. create the index\n // Directory index = new Directory(Files.createTempDirectory(\"XXXXX\"));\n // Directory index = new ByteBuffersDirectory();\n FSDirectory index =\n FSDirectory.open(Paths.get(\"C:\\\\Users\\\\mannp\\\\IdeaProjects\\\\APT-Assignment-3\\\\test.txt\"));\n\n IndexWriterConfig config = new IndexWriterConfig(analyzer);\n IndexWriter w = new IndexWriter(index, config);\n // 2. query\n String querystr = this.keyword; //\n\n // the \"title\" arg specifies the default field to use\n // when no field is explicitly specified in the query.\n Query q = new QueryParser(\"title\", analyzer).parse(querystr);\n\n for (Integer i : countCondition) {\n BufferedReader br = new BufferedReader(new FileReader(Constants.FILE_PATH));\n String line;\n\n for (int ctr = 0; (line = br.readLine()) != null && ctr <= i; ctr++) {\n addDoc(w, line, String.valueOf(ctr));\n }\n w.commit();\n Instant start = Instant.now();\n int hitsPerPage = 10;\n // 3. search\n IndexReader reader = DirectoryReader.open(index);\n IndexSearcher searcher = new IndexSearcher(reader);\n TopDocs docs = searcher.search(q, hitsPerPage);\n ScoreDoc[] hits = docs.scoreDocs;\n for(int j=0; j<hits.length; ++j) {\n\n int docId = hits[j].doc;\n Document d = searcher.doc(docId);\n System.out.println((j + 1) + \". isbn: \" + d.get(\"isbn\") + \"\\t title: \" + d.get(\"title\"));\n }\n Instant end = Instant.now();\n long timeElapsed = Duration.between(start, end).toMillis();\n csvWriter.append(timeElapsed + \",\" + i);\n csvWriter.append(\"\\n\");\n }\n csvWriter.close();\n w.close();\n\n } catch (IOException | ParseException ex) {\n ex.printStackTrace();\n }\n }", "title": "" }, { "docid": "d8b063b632a6a320b96cfd6e86ba4422", "score": "0.5596508", "text": "private void writeFile() throws IOException {\n\t\tFile tempFile = File.createTempFile(\"tmp\",null,new File(\".\"));\n\t writer = new BufferedWriter(new FileWriter(tempFile));\n\n\t\twriter.write(\"\\\"Query Network\\\",\\\"\" + queryNetName + \"\\\"\\n\");\n\t\twriter.write(\"\\\"Target Network\\\",\\\"\" + targetNetName + \"\\\"\\n\");\n\t\twriter.write(\"\\n\");\n\n\t\twriter.write(\"\\\"Network\\\",\\\"Average degree\\\",\\\"Average clustering coefficient\\\",\\\"Assortativity\\\"\\n\");\n\n\t\tSet<Map.Entry<String,ArrayList<Double>>> entrySet = resultsMap.entrySet();\n\t\tfor (Map.Entry<String, ArrayList<Double>> entry : entrySet) {\n\t\t\tString networkName = entry.getKey();\n\t\t\tArrayList<Double> values = entry.getValue();\n\t\t\twriter.write(\"\\\"\" + networkName + \"\\\",\");\n\t\t\tIterator<Double> iterator = values.iterator();\n\t\t\twhile(iterator.hasNext()) {\n\t\t\t\twriter.write(\"\\\"\" + iterator.next() + \"\\\"\");\n\t\t\t\tif (iterator.hasNext())\n\t\t\t\t\twriter.write(\",\");\n\t\t\t}\n\t\t\twriter.write(\"\\n\");\n\t\t}\n\n\t writer.close();\n\t tempFile.renameTo(file);\n\t}", "title": "" }, { "docid": "bd345bf454ab594404b55c6bed4d76bc", "score": "0.558866", "text": "public static void csv(int e, int a) throws FileNotFoundException {\r\n\t\ttry (FileWriter fw = new FileWriter(\"ExpectedVsActual.csv\", true);\r\n\t\t\t\tBufferedWriter bw = new BufferedWriter(fw);\r\n\t\t\t\tPrintWriter out = new PrintWriter(bw)) {\r\n\t\t\tout.println(e + \",\" + a);\r\n\r\n\t\t} catch (IOException exp) {\r\n\t\t\tSystem.out.println(exp.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b8cdbf9b5a33b6c018ba1440ebce599a", "score": "0.5576436", "text": "public static void writeToFile(String filename, Object[] results) throws IOException {\n BufferedWriter output = new BufferedWriter(new FileWriter(new File(filename)));\n for(int i = 0 ; i < results.length; ++i)\n output.write(results[i].toString() + \" \");\n output.close();\n }", "title": "" }, { "docid": "2a8061984b66c80ff4b31f6495984a19", "score": "0.5556561", "text": "public void writeResult(outValues[] salida, outValues salidaOptima, String resultFileName){\n String separator = System.getProperty(\"line.separator\");\n String space = \" \";\n FileWriter fOut2;\n File newDoc2;\n try {\n System.out.println(resultFileName);\n newDoc2 = new File(path + resultFileName);\n DecimalFormat df = new DecimalFormat(\"#\");\n df.setMaximumFractionDigits(3);\n fOut2 = new FileWriter(newDoc2);\n\n fOut2.write(\"Resultados de Simulacion\" + separator);\n fOut2.write(\"---------------------------------------------------------------------------------------------------\" + separator);\n fOut2.write(\"Politica Optima:\" +separator);\n fOut2.write(\"Q = \" +salidaOptima.getQvalue() +space +\"R = \" + salidaOptima.getRvalue()+ separator);\n fOut2.write(\"Costo de inventario = \" + df.format(salidaOptima.getTotalCostInv())+ separator);\n fOut2.write(\"Costo de Orden = \" + df.format(salidaOptima.getTotalOrderCost()) + separator);\n fOut2.write(\"Costo de Compra = \" + df.format(salidaOptima.getTotalPurchaseCost() )+ separator);\n fOut2.write(\"Costo de Faltante = \" + df.format(salidaOptima.getTotalRemainCost() )+ separator);\n fOut2.write(\"COSTO TOTAL DE POLITICA = \" + df.format(salidaOptima.getTotalCost() )+ separator);\n fOut2.write(\"---------------------------------------------------------------------------------------------------\" + separator);\n\n /* for(int i = 0; i < salida.length ; i++){\n fOut2.write(\"Resultados de Simulacion\" + separator);\n fOut2.write(\"---------------------------------------------------------------------------------------------------\" + separator);\n //fOut.write(\"Tablas de Evento: \" + separator);\n fOut2.write(\"Q = \" + salida[i].getQvalue() + space +\"R = \" + salida[i].getRvalue() + separator);\n fOut2.write(\"Costo de inventario = \" +salida[i].getTotalCostInv() + separator);\n fOut2.write(\"Costo de Orden = \" + salida[i].getTotalOrderCost() + separator);\n fOut2.write(\"Costo de Compra = \" + salida[i].getTotalPurchaseCost() + separator);\n fOut2.write(\"Costo de Faltante = \" + salida[i].getTotalRemainCost() + separator);\n fOut2.write(\"COSTO TOTAL DE POLITICA = \" + salida[i].getTotalCost() + separator);\n\n }*/\n fOut2.close();\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "14ca3e6d9cbdb46bf01c454d4aee1afe", "score": "0.5542775", "text": "public static void main(String[] args)\n throws SQLException, UnsupportedEncodingException, FileNotFoundException {\n \t// no PDF, just a text file\n PrintStream out = new PrintStream(new FileOutputStream(RESULT));\n // Make the connection to the database\n DatabaseConnection connection = new HsqldbConnection(\"filmfestival\");\n // create the statement\n Statement stm = connection.createStatement();\n // execute the query\n ResultSet rs = stm.executeQuery(\"SELECT country FROM film_country ORDER BY country\");\n // loop over the results\n while (rs.next()) {\n \t// write a country to the text file\n out.println(rs.getString(\"country\"));\n }\n // close the statement\n stm.close();\n // close the database connection\n connection.close();\n // flush and close the print stream\n out.flush();\n out.close();\n }", "title": "" }, { "docid": "346f91d6fa033d428f4b3107c37f1882", "score": "0.55388945", "text": "static void GenerateCsvFile(List<HashMap<String,Integer>> listword,int N, String mode){\r\n try\r\n\t{\r\n\t FileWriter writer = new FileWriter(\"ngram\"+N+\"\"+mode+\".csv\");\r\n for(Map.Entry<String,Integer> entry : listword.get(0).entrySet()){\r\n if(!entry.getKey().isEmpty()){\r\n writer.append(entry.getKey());\r\n writer.append(',');\r\n writer.flush();//to prevent too much data get buffered\r\n }\r\n }\r\n writer.append(\"label\");\r\n\t writer.append('\\n');\r\n\r\n for(int i=0;i<listword.size();i++){\r\n for(Map.Entry<String,Integer> entry : listword.get(i).entrySet()){\r\n writer.append(entry.getValue()+\"\");\r\n writer.append(',');\r\n writer.flush();//to prevent too much data get buffered\r\n }\r\n writer.append(listLabel.get(i));\r\n\t writer.append('\\n');\r\n rowWritten++;//count the row that written to file\r\n writer.flush();//to prevent too much data get buffered\r\n }\r\n writer.flush();\r\n\t writer.close();\r\n\t}\r\n\tcatch(IOException e)\r\n\t{\r\n e.printStackTrace();\r\n\t}\r\n }", "title": "" }, { "docid": "8407fc71312704085b2b79b5adf5daf7", "score": "0.5534407", "text": "StdoutList(String sort) {\n DataAccessProvider dataAccessProvider;\n dataAccessProvider = new SqliteDataAccessProvider();\n\n try (BufferedWriter group = new BufferedWriter(new OutputStreamWriter(System.out))) {\n try (DataAccessContext dac = dataAccessProvider.getDataAccessContext()) {\n HashMap<String, DAO> sorts = new HashMap<>();\n sorts.put(\"students\", dac.getStudentsDAO());\n sorts.put(\"location\", dac.getLocationDAO());\n sorts.put(\"course\", dac.getLectureDoa());\n sorts.put(\"teacher\", dac.getTeacherDAO());\n for (Item item : sorts.get(sort).get()) {\n group.write(item.getName() + \"\\n\");\n group.flush();\n }\n } catch (DataAccessException e) {\n new StdError(\"Couldn't read the database.\\n\");\n } catch (NullPointerException e) {\n new StdError(\"Check your arguments\\n\");\n }\n } catch (IOException e) {\n new StdError(\"Error while trying to output the result! \\n\");\n\n }\n }", "title": "" }, { "docid": "615e68c659678947c60152e3ffecc44a", "score": "0.55178636", "text": "@GetMapping(path = \"providers\", produces = {MediaType.APPLICATION_OCTET_STREAM_VALUE})\n @PreAuthorize(\"hasRole('ROLE_ADMIN') or hasRole('ROLE_EPOT')\")\n public ResponseEntity<String> providersToCSV(@ApiIgnore Authentication auth, HttpServletResponse response) {\n FacetFilter ff = new FacetFilter();\n ff.setQuantity(maxQuantity);\n Paging<ProviderBundle> providers = providerService.getAll(ff, auth);\n String csvData = listProvidersToCSV(providers.getResults());\n response.setHeader(\"Content-disposition\", \"attachment; filename=\" + \"providers.csv\");\n return ResponseEntity.ok(csvData);\n }", "title": "" }, { "docid": "995da1b4a5ff6f9a433642c3f04b8707", "score": "0.5509999", "text": "public String toString() {\r\n \t// instantiate empty string\r\n String csvFormat = new String(\"\");\r\n \t// display position of each item to user\r\n Integer position = new Integer(1);\r\n \t// loop through all the nodes in linked list\r\n for (Node<T> current = head; current != null; current = current.getNext()) {\r\n \t// keep adding to end of string\r\n csvFormat = csvFormat + position + \", \" + current.toString() + \"\\n\";\r\n \t// add one to position for each loop\r\n position++;\r\n }\r\n return csvFormat;\r\n }", "title": "" }, { "docid": "86eac43e805f7d090e4c30c8da155e19", "score": "0.5507533", "text": "public String prepareForCSVFile(ROS[] allROS) throws Exception {\n for (ROS ros : allROS) {\n ROSinCSV += ros.getDoi() + \",\" + ros.getArticleTitle().replace(\",\", \":\") + \",\" + ros.getPublicationName().replace(\",\", \":\") + \",\" + ros.getPublicationType() + \",\"\n + ros.getIssn() + \",\" + ros.getAffiliation1().replace(\",\", \":\") + \",\" + ros.getYear() + \",\" + ros.getCitedByCount() + \",\" + ros.getJournalHI() + \",\" + ros.getJournalIF()\n + \",\" + ros.getInstRanking1() + \",\" + ros.getConferenceRankingC() + \",\" + ros.getConferenceRankingFR() + \"\\n\";\n }\n return ROSinCSV;\n }", "title": "" }, { "docid": "a967602ac3318b5c94eccb57d132fea8", "score": "0.55074006", "text": "public void writeToAFile (){\n\n try (Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(\"filename.csv\"), \"utf-8\"))) {\n //The text that you have to write goes here\n writer.write(\"something\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "c649afe54ae8e36497eceaf211f925d2", "score": "0.5502575", "text": "public static void writeCSV(IPAddress[] sortedAddress, String fileName) {\n final String NEW_LINE_SEPARATOR = \"\\n\";\n final String COMMA_DELIMITER = \",\";\n final String FILE_PATH = \"C:\\\\Users\\\\Dario Susic\\\\Desktop\\\\IP-COUNTRY-REGION-CITY-SORTED-\"+fileName+\".csv\";\n \n try {\n\t\t\tFileWriter writer = new FileWriter(FILE_PATH);\n\t\t\tSystem.out.println(\"Writing file...\\n\");\n\t\t\t\n\t\t for (IPAddress ipAddress : sortedAddress) {\n\t\t \twriter.append(String.valueOf(ipAddress.getIpFrom()));\n writer.append(COMMA_DELIMITER);\n writer.append(String.valueOf(ipAddress.getIpTo()));\n writer.append(COMMA_DELIMITER);\n writer.append(ipAddress.getCountryCode());\n writer.append(COMMA_DELIMITER);\n writer.append(ipAddress.getCountryName());\n writer.append(COMMA_DELIMITER);\n writer.append(ipAddress.getRegionName());\n writer.append(COMMA_DELIMITER);\n writer.append(ipAddress.getCityName());\n writer.append(COMMA_DELIMITER);\n writer.append(NEW_LINE_SEPARATOR);\n\t\t\t}\n\t\t \n\t\t System.out.println(\"CSV file was created successfully !!!\");\n\t\t writer.close();\n\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": "81bb746d774599a029e0e929d70ec65d", "score": "0.55010366", "text": "public void SPNSimulationResultsWriteToFile()\n {\n SPNSimulation.SPNSimulationResultsWriteToFile(totalTimeBlocks, totalRuns);\n }", "title": "" }, { "docid": "72b151d55e6ef9bcaef95a585e800bde", "score": "0.5499397", "text": "public void outputEvents(){\n Set<Long> eventIDs = getThreadIDs();\n\n System.out.println(\"Number of clusters: \"+eventIDs.size());\n\n\n int i = 0;\n //2. Perform a query to get set of tweets for each event ID\n for(Long thread: eventIDs){\n processEvent(thread);\n i++;\n\n if(i%10000 ==0)\n System.out.println(i+\" processed\");\n }\n \n\n //output events from eventSet\n try {\n Files.write(Paths.get(\"events.csv\"),events);\n\n PrintWriter writer = new PrintWriter(\"events.csv\", \"UTF-8\");\n\n for(String e: events){\n writer.println(e);\n }\n\n writer.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "c6058ea665acf6c5f18e07c63ca3e851", "score": "0.54930353", "text": "private void setArchCSV(Map<String, Object> map){\n \n boolean existeArch = new File(this.resultPath).exists();\n if(existeArch){\n File reasonCSV = new File(resultPath);\n reasonCSV.delete();\n }\n \n try {\n CSVWriter csvOutput = new CSVWriter(new FileWriter(resultPath,true),',');\n \n for (Map.Entry<String, Object> entry : map.entrySet()) {\n String key = entry.getKey();\n String value = (entry.getValue()).toString();\n csvOutput.writeNext(new String[]{key, value});\n } \n csvOutput.close();\n } catch (IOException e){\n e.printStackTrace();\n System.exit(1);\n }\n \n }", "title": "" }, { "docid": "9933f302188c2aeae426a244124b603d", "score": "0.54893637", "text": "public final void dumpGraphValues()\n throws IOException {\n BufferedWriter oBufferedWriter = new BufferedWriter(new FileWriter(this.strFilename + \".csv\"));\n\n if (this.bDumpLogariphm == false) {\n oBufferedWriter.write(\"rank,frequency\");\n } else {\n oBufferedWriter.write(\"log(rank),log(frequency)\");\n }\n\n for (int i = 0; i < aoSortedStatRefs.length; i++) {\n if (this.bDumpLogariphm == true) {\n oBufferedWriter.write\n (\n Math.log(aoSortedStatRefs[i].getRank()) + \",\"\n + Math.log(aoSortedStatRefs[i].getFrequency())\n );\n } else {\n oBufferedWriter.write\n (\n aoSortedStatRefs[i].getRank() + \",\"\n + aoSortedStatRefs[i].getFrequency()\n );\n }\n\n oBufferedWriter.newLine();\n }\n\n oBufferedWriter.close();\n }", "title": "" }, { "docid": "ac31c9bb8a13c9f2f9152b106572c62f", "score": "0.54849756", "text": "private void output() {\n int temp = 0;\n \n // build a string for each case\n for (int i = 0; i < temp; i++) {\n StringBuilder sb = new StringBuilder();\n \n sb.append(\"Case #\" + (i + 1) + \": \");\n // ~output solution per case\n \n // try to append each case output to the file\n try {\n bw.write(sb.toString());\n bw.newLine();\n } \n catch (IOException e) {\n // TODO Auto-generated catch block e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "32c4afafa2522221be3d1a02506b141a", "score": "0.5476204", "text": "@Override\n public String exportOrdersFinishedByTheBurgerFlippers() {\n List<Employee> employees = this.employeeRepository.query2(\"Burger Flipper\");\n\n StringBuilder res=new StringBuilder();\n\n for (Employee employee : employees) {\n res.append(String.format(\"Name: %s\",employee.getName()))\n .append(System.lineSeparator());\n\n res.append(\"Orders:\")\n .append(System.lineSeparator());\n\n for (Order order : employee.getOrders()) {\n res.append(String.format(\"\\tCustomer: %s\",order.getCustomer()))\n .append(System.lineSeparator());\n\n res.append(\"\\tItems:\")\n .append(System.lineSeparator());\n\n for (OrderItem orderItem : order.getOrderItems()) {\n res.append(String.format(\"\\t\\tName: %s\",orderItem.getItem().getName()))\n .append(System.lineSeparator());\n\n res.append(String.format(\"\\t\\tPrice: %s\",\n String.format(\"%.2f\",orderItem.getItem().getPrice())))\n .append(System.lineSeparator());\n\n Long quantityOfItemPerOrder = this.orderRepository\n .getItemsQuantityByOrder(order.getId(), orderItem.getItem().getId());\n int quantity=orderItem.getQuantity();\n\n res.append(String.format(\"\\t\\tQuantity: %d\",\n quantity))\n .append(System.lineSeparator());\n res.append(System.lineSeparator());\n }\n\n }\n\n // res.append(System.lineSeparator());\n }\n return res.toString().trim();\n }", "title": "" }, { "docid": "24655d6ca31d2cc4e70febe9bfc75abc", "score": "0.5472642", "text": "public static void saveMatrixToCSVFile(int[][] matrix, String outputFile) {\n\t\t\n try { \n PrintWriter pw = new PrintWriter(new FileWriter(outputFile));\n for (int i = 0; i < matrix.length; i++) {\n for (int j = 0; j < matrix.length; j++) {\n \tif (i != j)\n \t\tpw.print(matrix[i][j] + \"\\t\"); \n \telse\n \t\tpw.print(\"-\" + \"\\t\");\n }\n pw.write(\"\\n\");\n }\n pw.close();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\t}", "title": "" }, { "docid": "7f8e5fff51cb6bb37973d0577f3fb7b3", "score": "0.54643375", "text": "public void writeResults(String path) {\n\t\t\tlock.lockRead();\n\t\t\ttry (\n\t\t\t\tBufferedWriter writer = Files.newBufferedWriter(\n\t\t\t\t\t\tPaths.get(path),\n\t\t\t\t\t\tCharset.forName(\"UTF-8\"),\n\t\t\t\t\t\tStandardOpenOption.CREATE,\n\t\t\t\t\t\tStandardOpenOption.WRITE);\n\t\t\t\t) {\n\t\t\t\tSet<String> queries = resultsMap.keySet();\n\t\t\t\tfor (String query: queries){\n\t\t\t\t\twriter.write(query);\n\t\t\t\t\twriter.newLine();\n\t\t\t\t\tArrayList<SearchResult> resultList = resultsMap.get(query);\n\t\t\t\t\tfor (SearchResult result: resultList){\n\t\t\t\t\t\twriter.write(\"\\\"\" + result.getPath() + \"\\\", \" + result.getFrequency() + \", \" + result.getPosition());\n\t\t\t\t\t\twriter.newLine();\n\t\t\t\t\t}\n\t\t\t\t\twriter.newLine();\n\t\t\t\t}\n\t\t\t\twriter.flush();\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.err.println(\"An error occurred while writing results to file.\");\n\t\t\t}\n\t\t\tlock.unlockRead();\n\t\t}", "title": "" }, { "docid": "67d43f8dcd6ab74e9dfe17544ced8528", "score": "0.5453058", "text": "public void exportCsv() throws CodeException {\n }", "title": "" }, { "docid": "460752fd5fe4eca7a83a157bd6c33a87", "score": "0.5450164", "text": "public void WriteDataInCsvFile() {\n\t\tFile file = new File(\"D:\\\\Files\\\\book.csv\");\n\t\t\n\t\ttry { //create file writer object as passing file in parameter \n\t\t\t\n\t\t\tFileWriter fw = new FileWriter(file);\n\t\t\t\n\t\t\tCSVWriter csvWriter = new \tCSVWriter(fw);\n\t\t\t\t\n\t\t\tString[] header = {\"FirstName\" , \"LastName\" , \"Address\" , \"City\" , \"State\" , \"Zip\" , \"PhoneNumber\" };\n\t\t\tcsvWriter.writeNext(header);\n\t\t\t\t\n\t\t\tString[] contact = {e.getFirstName() , e.getLastName() , e.getAddress() ,e.getCity() ,e.getState()\n\t\t\t\t\t,e.getZip() ,e.getPhoneNumber() };\n\t\t\tcsvWriter.writeNext(contact);\n\t\t\tcsvWriter.close();\n\t\t\tfw.close();\n\t\t\t\n\t\t\tSystem.out.println(\"success \");\n\t\t} catch (IOException e) {\n\t\t\t\t\n\t\t\tSystem.out.println(e);\n\t\t\t}\t\t\n\t}", "title": "" }, { "docid": "3e49ab80e59d9866b56a1d96f8bef749", "score": "0.5450155", "text": "public void writecsv(ArrayList<Scan> write, String path) throws IOException {\n\t\tString[] title = new String[46];\n\t\ttitle[0] = \"Time\";\n\t\ttitle[1] = \"ID\";\n\t\ttitle[2] = \"Lat\";\n\t\ttitle[3] = \"Lon\";\n\t\ttitle[4] = \"Alt\";\n\t\ttitle[5] = \"WiFi Networks\";\n\n\t\tint wifinum = 1;\n\t\tfor (int j = 6; j < 46; j = j + 4) {\n\t\t\ttitle[j] = \"SSID\" + wifinum;\n\t\t\ttitle[j + 1] = \"MAC\" + wifinum;\n\t\t\ttitle[j + 2] = \"Frequncy\" + wifinum;\n\t\t\ttitle[j + 3] = \"Signal\" + wifinum;\n\t\t\twifinum++;\n\n\t\t}\n\n\t\tFileWriter writer = new FileWriter(path);\n\t\tPrintWriter outs = new PrintWriter(writer);\n\n\t\tfor (int k = 0; k < title.length; k++) {\n\t\t\twriter.append(title[k]);\n\t\t\twriter.append(\",\");\n\t\t}\n\t\touts.println();\n\t\tfor (int i = 0; i < write.size(); i++) {\n\t\t\twriter.append(write.get(i).getTime() + \",\" + write.get(i).getId() + \",\" + \"\"\n\t\t\t\t\t+ write.get(i).getCore().getLat() + \",\" + \"\" + write.get(i).getCore().getLon() + \",\" + \"\"\n\t\t\t\t\t+ write.get(i).getCore().getAlt() + \",\" + write.get(i).getWifiNetWork() + \",\");\n\t\t\tArrayList<WifiData> temp = write.get(i).getWifi();\n\t\t\tfor (int j = 0; j < temp.size(); j++) {\n\t\t\t\twriter.append(temp.get(j).getSSID() + \",\" + temp.get(j).getMAC() + \",\" + temp.get(j).getFrequncy() + \",\"\n\t\t\t\t\t\t+ temp.get(j).getSignal() + \",\");\n\n\t\t\t}\n\t\t\touts.println();\n\t\t}\n\n\t\twriter.close();\n\t\tSystem.out.println(\"csv create complete,please chek file.\");\n\n\t}", "title": "" }, { "docid": "f225f5c83fc68b8650d6e6b406022f3b", "score": "0.54498124", "text": "@Override\r\n public void exportOriginalData() {\n try (PrintWriter writer = new PrintWriter(this.inputFile, \"UTF-8\")) {\r\n boolean FLAG = false;\r\n \r\n for(int i = 0 ; i < columnNames.length ; i ++){\r\n if (FLAG == false){\r\n writer.print(columnNames[i]);\r\n FLAG = true;\r\n }\r\n else{\r\n writer.print(\",\"+columnNames[i]);\r\n }\r\n\r\n }\r\n writer.println();\r\n \r\n for(int i=0; i<this.sizeOfRows; i++){\r\n for(int j=0; j<this.sizeOfCol; j++){\r\n if (colNamesType.get(j).equals(\"double\")){\r\n if (Double.isNaN(dataSet[i][j])){\r\n writer.print(\"\");\r\n }\r\n else{\r\n Object a = dataSet[i][j];\r\n writer.print( dataSet[i][j]);\r\n }\r\n }\r\n else if (colNamesType.get(j).equals(\"int\")){\r\n if (dataSet[i][j] == 2147483646.0){\r\n writer.print(\"\");\r\n }\r\n else{\r\n writer.print( Integer.toString((int)dataSet[i][j])+\"\");\r\n }\r\n }\r\n else{\r\n String str = dictionary.getIdToString((int)dataSet[i][j]);\r\n if(str == null){\r\n str = this.dictHier.getIdToString((int)dataSet[i][j]);\r\n }\r\n // DictionaryString dict = dictionary.get(j);\r\n // String str = dict.getIdToString((int)dataSet[i][j]);\r\n\r\n if (str.equals(\"NaN\")){\r\n writer.print(\"\");\r\n }\r\n else{\r\n writer.print(str);\r\n }\r\n }\r\n \r\n if(j!=this.sizeOfCol-1){\r\n writer.print(\",\");\r\n }\r\n }\r\n writer.println();\r\n }\r\n \r\n }catch(FileNotFoundException | UnsupportedEncodingException ex) {\r\n System.out.println(\"mexssage \"+ex.getMessage());\r\n }\r\n System.out.println(\"done orgiginal data\");\r\n }", "title": "" }, { "docid": "1291eee0b397fefc8dcdd136305ba1d8", "score": "0.5445402", "text": "public String toStringForCsv() {\n\t\treturn String.format(\"%d, %f, %f, %f, %f, %f, %d\",\n\t\t\t\tscenarioId,\n\t\t\t\tinnerCircleRadius,\n\t\t\t\touterCircleRadius,\n\t\t\t\tMath.toDegrees(initialAngleWithNormalInRadians),\n\t\t\t\tMath.toDegrees(initialAngularSpeedInRadians),\n\t\t\t\tgravity,\n\t\t\t\tmaxDuration\n\t\t\t\t);\n\t}", "title": "" }, { "docid": "0d5b03ba96b8dfce040c4149af0eeb34", "score": "0.5443034", "text": "static private String ListToCSV(List<Integer> list)\n\t{\n\t\tString reply = \"\";\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t reply += list.get(i) + \",\";\n\t\t}\n\t\treturn escapeQuotes(reply.substring(0,reply.length()-1)); // trim last comma\n\t}", "title": "" }, { "docid": "0b71e0816ac3735af0a965756452e024", "score": "0.5439492", "text": "public void outputHotelOccupancyAnalytics(DateRange chosenRange){\n String fileName = \"./analytics/\" + \"hotel_occupancy/\" + chosenRange.getStartDateString() + \"_\" + chosenRange.getEndDateString() + \".csv\";\n File destinationFile = createAnalyticsFile(fileName);\n ArrayList<String> analytics = getHotelOccupancyAnalytics(chosenRange);\n printAnalyticsToFile(destinationFile, analytics);\n\n System.out.println(\"!Created analytics file: \" + destinationFile.getName() + \"!\");\n }", "title": "" }, { "docid": "8fb01c71ebf2171e888ee73fb907c0dc", "score": "0.5430707", "text": "public void writeCSVFile(List<ClientDTO> dataBase) throws IOException\n {\n File file = new File(\"\");\n file = new File(file.getAbsolutePath() + rootFileClients);\n if(file.isFile())\n {\n PrintWriter writer = new PrintWriter(new File(file.getPath()));\n\n String separator = \",\";\n String collect = \"DNI,Name,Surname,Province\\n\";\n for(ClientDTO clientDTO: dataBase) {\n collect += clientDTO.getDni() + separator + clientDTO.getName() + separator + clientDTO.getSurname() + separator + clientDTO.getProvince() + \"\\n\";\n }\n\n writer.write(collect);\n\n writer.close();\n\n }\n\n }", "title": "" }, { "docid": "fea18e29700ad469b60985e5b2169e49", "score": "0.5427741", "text": "@Override\n\tprotected <E> void exportCSVDesglosed(CSVPrinter printer, DataSet<E> dataSet, List<E> typeLogs) throws IOException {\n\n\t}", "title": "" }, { "docid": "78d5946b2017a4515c4b0468441d552e", "score": "0.5424529", "text": "private void writeResultsToDB() {\n\tDBManager.getDatabase(Globals.DBTYPE).storeAccumulationresults(results);\n\tSystem.out.println(\"Stored \"+results.size()+\" accumulation results in DB\");\n}", "title": "" }, { "docid": "3f108019e00d3c700001610ab01b308c", "score": "0.54202676", "text": "@Test\n\tpublic void commonsCsvClass() {\n\n\t\tCKClassResult ck = report.get(\"debug.CSVParser\");\n\n\t\tfor (CKMethodResult CKMethodResult : ck.getMethods()) {\n\t\t\tSystem.out.println(CKMethodResult.getMethodName());\n\n\t\t\tfor (Map.Entry<String, Integer> entry : CKMethodResult.getVariablesUsage().entrySet()) {\n\t\t\t\tSystem.out.println(\"- variable: \" + entry.getKey());\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ck);\n\t}", "title": "" }, { "docid": "acbda377c72ad7fd393a9a60a0c5806b", "score": "0.54200256", "text": "private void writeToFile() {\n try {\n PrintStream out = new PrintStream(outputFile);\n for (int i = 0; i < fileOutput.size(); i ++) {\n out.println(fileOutput.get(i));\n }\n out.close();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "a3ecd37adeb0f05d9ac78d4a0ce77e3b", "score": "0.5415331", "text": "private void displayResults() {\n for (int i = 0; i < this.results.size(); i++) {\n System.out.println(results.get(i).getStudentNum()+\" \"+ results.get(i).getPercentage());\n }\n }", "title": "" }, { "docid": "c5d4ad0272617a9b808988234bca1237", "score": "0.5406144", "text": "private void storeResult(String result) {\n BufferedWriter writer = null;\n try {\n writer = new BufferedWriter(new FileWriter(\"results-sorting.txt\", true));\n writer.write(result);\n writer.newLine();\n writer.flush();\n\n } catch (Exception e) {\n System.out.println(\"Could not write to file: \" + e.getMessage());\n } finally {\n\n // always close the file again\n if(writer != null) {\n try {\n writer.close();\n } catch (IOException ioe) {\n System.out.println(\"Could not close writer: \" + ioe.getMessage());\n }\n }\n }\n\n }", "title": "" }, { "docid": "647a1a6cc63389d8e6447a044e19f927", "score": "0.5405367", "text": "@Test\n public void test() throws IOException {\n String fileName = \"C:\\\\Users\\\\liang\\\\Desktop\\\\Crawl\\\\resultFile\\\\reslut1050089427.csv\";\n String outputFile = \"C:\\\\Users\\\\liang\\\\Desktop\\\\Crawl\\\\output.txt\";\n BufferedWriter bw = fileUtil.writeToFile(outputFile);\n CsvReader reader = new CsvReader(fileName,',', Charset.forName(\"utf-8\"));\n while(reader.readRecord()){\n String content= ReadFile.filterOffUtf8Mb4( reader.get(2));\n String contenta = content.replaceAll(\"<a.*?</a>\",\"\").replaceAll(\"<span.*?</span>\",\"\").replaceAll(\"<img.*?>\",\"\").replaceAll(\"<i.*?</i>\",\"\").replaceAll(\"//:\",\"\").replaceAll(\"查看帮助:http://t.cn/.{0,10}\",\"\");\n bw.write(contenta);\n bw.write(\" === \");\n String retweet = ReadFile.filterOffUtf8Mb4( reader.get(3));\n String retweeta = retweet.replaceAll(\"<a.*?</a>\",\"\").replaceAll(\"<span.*?</span>\",\"\").replaceAll(\"<img.*?>\",\"\").replaceAll(\"<i.*?</i>\",\"\").replaceAll(\"//:\",\"\").replaceAll(\"查看帮助:http://t.cn/.{0,10}\",\"\");\n bw.write(retweeta);\n bw.write(\"\\n\");\n bw.flush();\n }\n }", "title": "" } ]
79fba7b4d53981e4a14e92aa65016a3d
Notify all listeners that have registered interest for notification on TemplateEvent get component. Lazily creates the event.
[ { "docid": "852ad847f7b13642bfcf7348bbc81e57", "score": "0.60919535", "text": "protected ArrayList fireTemplateGetComponents() {\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = componentListenerList.getListenerList();\r\n ArrayList pkList = new ArrayList();\r\n\r\n // Process the listeners first to last, notifying\r\n // those that are interested in this event\r\n for (int i = 0; i <= listeners.length - 2; i += 2) {\r\n if (listeners[i] == TemplateComponentListener.class) {\r\n JComponent component = ((TemplateComponentListener)listeners[i + 1]).tmplGetComponent();\r\n if (component != null) {\r\n if (component instanceof TmplJTextField && ((TmplJTextField)component).getLink().isPrimaryKey())\r\n pkList.add(component);\r\n }\r\n }\r\n }\r\n return pkList;\r\n }", "title": "" } ]
[ { "docid": "f4cc17a1757a730987dc0b36ff2f619b", "score": "0.6487018", "text": "protected void fireTemplateMode() {\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = componentListenerList.getListenerList();\r\n\r\n // Process the listeners first to last, notifying\r\n // those that are interested in this event\r\n for (int i = 0; i <= listeners.length - 2; i += 2) {\r\n if (listeners[i] == TemplateComponentListener.class) {\r\n TemplateEvent templateEvent = new TemplateEvent(this);\r\n templateEvent.setMode(mode);\r\n ((TemplateComponentListener)listeners[i + 1]).tmplMode(templateEvent);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "1b149a9b6f2c8f2512667ab142ba91e1", "score": "0.6330643", "text": "protected void fireTemplateMode(TemplateEvent tev) {\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = componentListenerList.getListenerList();\r\n\r\n // Process the listeners first to last, notifying\r\n // those that are interested in this event\r\n for (int i = 0; i <= listeners.length - 2; i += 2) {\r\n if (listeners[i] == TemplateComponentListener.class) {\r\n ((TemplateComponentListener)listeners[i + 1]).tmplMode(tev);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "db61d263c5e45f5fbbc6da13240f0715", "score": "0.60669786", "text": "protected TmplGetter fireTemplateRequired() {\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = componentListenerList.getListenerList();\r\n\r\n // Process the listeners first to last, notifying\r\n // those that are interested in this event\r\n for (int i = 0; i <= listeners.length - 2; i += 2) {\r\n if (listeners[i] == TemplateComponentListener.class) {\r\n TemplateEvent templateEvent = new TemplateEvent(this);\r\n if (!((TemplateComponentListener)listeners[i + 1]).tmplRequired(templateEvent)) {\r\n return (TmplGetter)templateEvent.getCompFailed();\r\n }\r\n }\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "993a68fc168c5ffaf6a0b6b8a2763b85", "score": "0.5695205", "text": "protected boolean fireTemplateValidate() {\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = componentListenerList.getListenerList();\r\n\r\n // Process the listeners first to last, notifying\r\n // those that are interested in this event\r\n for (int i = 0; i <= listeners.length - 2; i += 2) {\r\n if (listeners[i] == TemplateComponentListener.class) {\r\n TemplateEvent templateEvent = new TemplateEvent(this);\r\n if (!((TemplateComponentListener)listeners[i + 1]).tmplValidate(templateEvent))\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "5c6c701f431769606df9403883b4f79d", "score": "0.5634783", "text": "protected void fireTemplateEnable(boolean enable) {\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = componentListenerList.getListenerList();\r\n\r\n // Process the listeners first to last, notifying\r\n // those that are interested in this event\r\n for (int i = 0; i <= listeners.length - 2; i += 2) {\r\n if (listeners[i] == TemplateComponentListener.class) {\r\n TemplateEvent templateEvent = new TemplateEvent(this);\r\n templateEvent.setEnabled(enable);\r\n ((TemplateComponentListener)listeners[i + 1]).tmplEnable(templateEvent);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "23e0b4d2d50c2033da0037ddffc76101", "score": "0.55677116", "text": "protected void fireTemplateMode(int formMode, int iMode) {\n Object[] listeners = componentListenerList.getListenerList();\r\n\r\n // Process the listeners first to last, notifying\r\n // those that are interested in this event\r\n for (int i = 0; i <= listeners.length - 2; i += 2) {\r\n if (listeners[i] == TemplateComponentListener.class) {\r\n TemplateEvent templateEvent = new TemplateEvent(this);\r\n templateEvent.setMode(iMode);\r\n templateEvent.setModeForLocking(formMode);\r\n ((TemplateComponentListener)listeners[i + 1]).tmplMode(templateEvent);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "5a59250c7dbe13fcf03998b67d62aa04", "score": "0.54499143", "text": "protected void notifyListeners() {\n // TODO could these be done earlier (or just once?)\n JMeterContext threadContext = getThreadContext();\n JMeterVariables threadVars = threadContext.getVariables();\n SamplePackage pack = (SamplePackage) threadVars.getObject(JMeterThread.PACKAGE_OBJECT);\n if (pack == null) {\n // If child of TransactionController is a ThroughputController and TPC does\n // not sample its children, then we will have this\n // TODO Should this be at warn level ?\n log.warn(\"Could not fetch SamplePackage\");\n } else {\n SampleEvent event = new SampleEvent(res, threadContext.getThreadGroup().getName(),threadVars, true);\n // We must set res to null now, before sending the event for the transaction,\n // so that we can ignore that event in our sampleOccured method\n res = null;\n lnf.notifyListeners(event, pack.getSampleListeners());\n }\n }", "title": "" }, { "docid": "c5063da018b03b2737e9281fb61dbf99", "score": "0.54388225", "text": "public abstract void createEvent();", "title": "" }, { "docid": "ce8c5496274fbfe942483bfc7bf8a9c4", "score": "0.53640974", "text": "private void notifyListeners() {\n\t\tif (m_engraver != null) {\r\n\t\t\tm_engraver.setMode(\r\n\t\t\t\t\t(int) getAttributeNumber(ScoreAttribute.ENGRAVER_MODE),\r\n\t\t\t\t\t(int) getAttributeNumber(ScoreAttribute.ENGRAVER_VARIATION)\r\n\t\t\t\t);\r\n\t\t}\r\n\t\t//notify all listeners for change\r\n\t\tIterator it = getListeners().iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t\t((ScoreTemplateChangeListener) it.next()).onTemplateChange();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "35d9b4e8c55faf85a02d3719b3934be6", "score": "0.5249677", "text": "@Test\r\n public void testButtonListenerTemplate() {\n EventTemplate\r\n .of(ButtonListener.class);\r\n }", "title": "" }, { "docid": "71e9fadb148eeeb6629946170a58c642", "score": "0.5226248", "text": "public void createEvent(Event event);", "title": "" }, { "docid": "579de0bd810829162844c0f855a1e77a", "score": "0.5216014", "text": "private void eventRegistration() {\n\t\t\n\t\tString q;\n\t\t// invited in activity\n\t\t\n\t\t// changed activity\n\t\tq = \"abc.user.\" + u_id +\".activity.=.\";\n\t\tsubscriptionPerm.add(q);\n\t\tsubscribe( q, new ICommand() {\n\t\t\tpublic void execute(String data) {\n\t\t\t\tlog(\"Executing SendEvend\");\n\t\t BundleContext ctx = FrameworkUtil.getBundle(NotificationViewContentProvider.class).getBundleContext();\n\t\t ServiceReference<EventAdmin> ref = ctx.getServiceReference(EventAdmin.class);\n\t\t EventAdmin eventAdmin = ctx.getService(ref);\n\t\t eventAdmin.postEvent( new Event(\"State/Act_Changed\", new HashMap<String, Object>()) );\n\t\t\t}});\n\t\t\n\t\t\n\t\t// ping received and sent\n\t\tq = \"notification.notification.[]\";\n\t\tsubscriptionPerm.add(q);\n\t\tsubscribe( q, new ICommand() {\n\t\t\tpublic void execute(String data) {\n//\t\t\t\t\"notification.notification.[].from.+.\" + u_id;\n\t\t\t\tlog(\"Executing Notification Sent/Received\");\n\t\t\t\tRemoteMessage wip = new RemoteMessage(data);\n\t\t\t\tif( wip.id == -1) return;\n\t\t\t\tif( wip.length != 6 ) return;\n\t\t\t\tif( !wip.value.equals(\"\"+u_id) ) return;\n\t\t\t\t\n\t\t\t\tif( wip.key.equals(\"from\") ) {\n\t\t\t\t\tJSONObject content = new JSONObject();\n\t\t\t\t\tcontent.put(\"title\", \"Notification sent\");\n\t\t\t\t\tcontent.put(\"body\", \"Your notification has been received from the server and dispatched.\");\n\t\t\t\t\tsendCommand(\"NOTIFY \" + content.toJSONString() );\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif( wip.key.equals(\"to\") ) {\n\t\t\t\t\tIABC4GSDItem notification = new ABC4GSDItem(\"notification.notification\", wip.id);\n\t\t\t\t\tnotification.update();\n\t\t\t\t\t\n\t\t\t\t\tIABC4GSDItem message = new ABC4GSDItem(\"chat.message\", notification.get(\"msg\").toString(), new String[]{\"text\",\"timestamp\"});\n\t\t\t\t\tIABC4GSDItem sender = new ABC4GSDItem(\"abc.user\", notification.get(\"from\").toString(), new String[]{\"name\"});\n\t\t\t\t\tIABC4GSDItem activity = new ABC4GSDItem(\"abc.activity\", notification.get(\"activity\").toString(), new String[]{\"name\"});\n\t\t\t\t\t\n\t\t\t\t\tJSONObject content = new JSONObject();\n\t\t\t\t\t// INFO> here to add more info in the notification\n\t\t\t\t\tcontent.put(\"notification_id\", notification.getId());\n\t\t\t\t\tcontent.put(\"title\", \"Notification received\" );\n\t\t\t\t\tcontent.put(\"body\", \"Sender: \" + sender.get(\"name\") + \"\\nFrom: \" + activity.get(\"name\") + \"\\nMessage:\\n\" + message.get(\"text\"));\n\t\t\t\t\tcontent.put(\"level\", \"ping\");\n\t\t\t\t\tsendCommand(\"NOTIFY \" + content.toJSONString() );\n\t\t\t\t}\n\t\t\t}});\n\n\t}", "title": "" }, { "docid": "a87ac66528298298ac17f8aca5f60c5d", "score": "0.5199077", "text": "@Override\r\n\tpublic void onCreation(CtxChangeEvent event) {\n\t}", "title": "" }, { "docid": "82c13c9e21fb7f65188bf13e7061d225", "score": "0.5184718", "text": "void onNewEvents(Collection<Event> events);", "title": "" }, { "docid": "6e9f937019a6a6f472a0b98eb4f0fe33", "score": "0.51820475", "text": "public Event getTemplate() {\r\n\t\treturn this.template;\r\n\t}", "title": "" }, { "docid": "c77c3152e844aeb655d52024af7a7e2d", "score": "0.51770777", "text": "private void NotifyServiceComponentListeners(SIChangeEvent event) {\r\n\t\tif (event == null)\r\n\t\t\treturn;\r\n\r\n\t\tSIElement element = event.getSIElement();\r\n\t\tif (element == null || !(element instanceof ServiceComponent))\r\n\t\t\treturn;\r\n\r\n\t\tLocator locator = element.getLocator();\r\n\t\tif (locator == null) \r\n\t\t\treturn;\r\n\r\n\t\tif (LocatorImpl.isServiceComponent(locator) == false) {\r\nSystem.out.println(\"NotifyServiceComponentListeners: \" + locator);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tLocator detailsLoc = LocatorImpl.transformToService(locator);\r\n\t\tif (detailsLoc == null || LocatorImpl.isService(detailsLoc) == false) {\r\nSystem.out.println(\"NotifyServiceComponentListeners: detialsLoc == null \");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tCacheManager siCache = CacheManager.getSICache();\r\n\t\tif (siCache == null) {\r\nSystem.out.println(\"NotifyServiceComponentListeners: siCache == null \");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tServiceDetailsImpl details = (ServiceDetailsImpl)siCache.get(detailsLoc);\r\n\t\tif (details == null) {\r\nSystem.out.println(\"NotifyServiceComponentListeners: details == null \");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tSIChangeType ct = event.getChangeType();\r\n\t\tServiceComponentChangeEvent scce = new ServiceComponentChangeEvent(\r\n\t\t\tdetails, ct, (ServiceComponent)element);\r\n\r\n\t\tdetails.notifyListeners(scce);\r\n\t}", "title": "" }, { "docid": "2317fb37d3227f1366528dcde3ada66e", "score": "0.5149375", "text": "private void NotifyScheduleListeners(SIChangeEvent event) {\r\n\t\tif (event == null)\r\n\t\t\treturn;\r\n\r\n\t\tSIElement element = event.getSIElement();\r\n\t\tif (element == null || !(element instanceof ProgramEvent))\r\n\t\t\treturn;\r\n\r\n\t\tLocator locator = element.getLocator();\r\n\t\tif (locator == null) \r\n\t\t\treturn;\r\n\r\n\t\tif (LocatorImpl.isProgramEvent(locator) == false) \r\n\t\t\treturn;\r\n\r\n\t\tLocator detailsLoc = LocatorImpl.transformToService(locator);\r\n\t\tif (detailsLoc == null || LocatorImpl.isService(detailsLoc) == false)\r\n\t\t\treturn;\r\n\r\n\t\tCacheManager siCache = CacheManager.getSICache();\r\n\t\tif (siCache == null)\r\n\t\t\treturn;\r\n\r\n\t\tServiceDetails details = (ServiceDetails)siCache.get(detailsLoc);\r\n\t\tif (details == null) \r\n\t\t\treturn;\r\n\r\n\t\tProgramScheduleImpl schedule = (ProgramScheduleImpl)details.getProgramSchedule();\r\n\t\tif (schedule == null)\r\n\t\t\treturn;\r\n\r\n\t\tProgramEvent pe = (ProgramEvent)event.getSIElement();\r\n\t\tSIChangeType ct = event.getChangeType();\r\n\r\n\t\tProgramScheduleEvent pce = new ProgramScheduleEvent(schedule, ct, pe);\r\n\r\n\t\tschedule.notifyListeners(pce);\r\n\t}", "title": "" }, { "docid": "5b822271d994d63f03adb41b34fee302", "score": "0.51468825", "text": "private void createListeners() {\n createListenersTextBody();\n // Create the listeners for the body text hyperlink\n createListenersHyperlinkBody();\n // Create the model listeners\n createListenersModel();\n }", "title": "" }, { "docid": "2f25055e8921bafd50b3ccea8a9729ff", "score": "0.5145664", "text": "private void notifyEventItemListener(Date timeStamp) {\n\t\tif(eventItemListener != null) {\r\n\t\t\tBigDecimal saleTotal = currentSale.getSaleTotal();\r\n\t\t\t\r\n\t\t\t// Check for and create Big Sale Event Item\r\n\t\t\tif(saleTotal.compareTo(SaleEventItem.EVENT_FIRE_THRESHOLD) >= 0) {\r\n\t\t\t\tSaleEventItem saleEvent = new SaleEventItem(EventItem.TYPE_BIG_SALE, timeStamp, currentSale.getSaleId(), saleTotal);\r\n\t\t\t\teventItemListener.notify(saleEvent);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// Check for and create Refund Event Item\r\n\t\t\tif(saleTotal.compareTo(BigDecimal.ZERO) < 0) {\r\n\t\t\t\tRefundEventItem refundEvent = new RefundEventItem(EventItem.TYPE_REFUND, timeStamp, currentSale.getSaleId(), saleTotal);\r\n\t\t\t\teventItemListener.notify(refundEvent);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// Check for and create Stock Empty Event Items\r\n\t\t\tArrayList<EventItem> stockEvents = checkIfStockEmptied(timeStamp);\r\n\t\t\tif(!stockEvents.isEmpty()) {\r\n\t\t\t\tfor(EventItem event : stockEvents) {\r\n\t\t\t\t\teventItemListener.notify(event);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9948ee7db4b72399db6c14efe9f5caa4", "score": "0.5134206", "text": "public void tmplInitialize(TemplateEvent e) {\r\n }", "title": "" }, { "docid": "f07b252ae789d1c0e8c96c521a536684", "score": "0.5129955", "text": "void create(Event event);", "title": "" }, { "docid": "ceb4c9f1b24c1b0465ecafc49d2ecc9c", "score": "0.4992084", "text": "@Override\r\n\tpublic void registerEvent() {\n\r\n\t}", "title": "" }, { "docid": "c83927e992611eceaf30f010f2e093f5", "score": "0.49561045", "text": "private void setupEventListeners() {\n ApplicationManager.getApplication().invokeLater(() -> {\n Disposable disposable = new Disposable() {\n @Override\n public void dispose() {\n try {\n if (connection != null) {\n connection.disconnect();\n }\n } catch(Exception e) {\n log.info(\"Error disconnecting the software.com plugin, reason: \" + e.toString());\n }\n\n asyncManager.destroyServices();\n }\n };\n // edit document\n EditorFactory.getInstance().getEventMulticaster().addDocumentListener(\n new SoftwareCoDocumentListener(), disposable);\n });\n }", "title": "" }, { "docid": "07551c451fe60e67a9b5efff28231a43", "score": "0.4915939", "text": "@Override\n public ComponentSystemEventListener getComponentSystemEventListener() {\n if (compListener == null) {\n compListener = new AddComponent.PreRenderViewListener(this);\n }\n return compListener;\n }", "title": "" }, { "docid": "b77fe3a16c8707dd64aed0047a3dc5e9", "score": "0.4874364", "text": "@Override\r\n protected void onEvent(EventTemplate event) {\n throw new UnsupportedOperationException(\"Not supported yet.\");\r\n }", "title": "" }, { "docid": "8862701f0009b05f267fab6be878283c", "score": "0.48414448", "text": "@Override\r\n public void onEvent(EMNotifierEvent event) {\n \r\n }", "title": "" }, { "docid": "117296a55e330121e3492442d3fe1311", "score": "0.48359236", "text": "EventHandler createEventHandler();", "title": "" }, { "docid": "bceaea00e6821234171e1d1f48c2514e", "score": "0.4823555", "text": "protected void performDefault(Event event) {\n//template method\n }", "title": "" }, { "docid": "3f07a6cc19e7563c59045ea0c52ddc8d", "score": "0.48233315", "text": "public void tmplInitialize(TemplateEvent e) {\r\n connect();\r\n hook();\r\n }", "title": "" }, { "docid": "902dcaa9d5c5eaa66e90ee4121612b41", "score": "0.4815889", "text": "public Iterator<Event> getEventIterator() {\r\n\t\treturn registry.findByTemplate(template).iterator();\r\n\t}", "title": "" }, { "docid": "da37aa1cfe063a30653567dd4038d89c", "score": "0.48127753", "text": "private void buildEventContent(net.fortuna.ical4j.model.Calendar calendar, boolean isNewInfo){\n\n ComponentList componentList = calendar.getComponents();\n ArrayList<EventContent> eventContents = new ArrayList<>();\n boolean addComponent = true;\n for(int i = 0; i<componentList.size(); i++){\n Component component = (Component) componentList.get(i);\n PropertyList propertyList = component.getProperties();\n EventContent eventContent = new EventContent();\n if(propertyList.getProperty(Property.LOCATION) != null) {\n eventContent.setLocation(propertyList.getProperty(Property.LOCATION).getValue());\n }else {\n eventContent.setLocation(getResources().getString(R.string.no_location));\n }if(propertyList.getProperty(Property.URL) != null){\n eventContent.setUrl(propertyList.getProperty(Property.URL).getValue());\n }\n if(propertyList.getProperty(Property.SUMMARY) != null) {\n eventContent.setTitle(propertyList.getProperty(Property.SUMMARY).getValue());\n }else{\n eventContent.setTitle(getResources().getString(R.string.no_title));\n }if(propertyList.getProperty(Property.DTSTART) != null) {\n addComponent = true;\n DtStart start = (DtStart) propertyList.getProperty(Property.DTSTART);\n Date startDate = start.getDate();\n System.out.println(eventContent.getTitle());\n if(startDate.toString().contains(\"T\")) {\n SimpleDateFormat df = new SimpleDateFormat(\"yyyy-MM-dd'T'HH:mm:ss\", Locale.US);\n String date = df.format(startDate);\n eventContent.setStartTime(date);\n }\n else{\n SimpleDateFormat df = new SimpleDateFormat(\"yyyy-MM-dd\", Locale.US);\n String date = df.format(startDate);\n String dateEnd = date.substring(date.length()-1);\n String startDateEnd = startDate.toString().substring(startDate.toString().length()-1);\n if (!dateEnd.equals(startDateEnd)){\n Calendar c = Calendar.getInstance();\n c.setTime(startDate);\n c.add(Calendar.DATE, 1);\n System.out.println(dateEnd);\n date = df.format(c.getTime());\n }\n eventContent.setStartTime(date);\n }\n\n }else {\n addComponent = false;\n }if(propertyList.getProperty(Property.DESCRIPTION) != null) {\n eventContent.setDescription(propertyList.getProperty(Property.DESCRIPTION).getValue());\n }else{\n eventContent.setDescription(getResources().getString(R.string.no_description));\n }\n if(propertyList.getProperty(Property.DURATION) != null) {\n eventContent.setDuration(propertyList.getProperty(Property.DURATION).getValue());\n }\n if(addComponent) {\n eventContents.add(eventContent);\n }else{\n Log.i(\"EVENT DEBUGGING\", \"MainActivity: buildEventContent: NOT adding component\");\n\n }\n }\n\n handleNewEvents(eventContents, isNewInfo);\n }", "title": "" }, { "docid": "4b3790430dee0568dc7dac8d7fa793ce", "score": "0.48022777", "text": "@Override\n protected void initializeEventList() {\n }", "title": "" }, { "docid": "cab5de3ee57be244d350ebfe024ecb32", "score": "0.4763158", "text": "public void generateEvents() {\n\t\tfor(int i = 0; i < width; i++) {\n\t\t\tfor(int j = 0; j < height; j++) {\n\t\t\t\tif((int)(Math.random() * 100) < EVENT_CHANCE)\n\t\t\t\t\tlayout[i][j].generateEvent();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c74f0592a8175af07e1292f10888b180", "score": "0.47544754", "text": "private void createListenersTextBody() {\n fTextBody.setFormEntryListener(new FormEntryAdapter(this) {\n\n @Override\n public void textValueChanged(FormEntry entry) {\n handleTextBodyValueChanged();\n }\n });\n // Listen to mouse hovers\n PDETextHover.addHoverListenerToControl(fInfoControlHover, fTextBody.getText(), this);\n }", "title": "" }, { "docid": "b80e12ad4cc7c3294a87eecd877285bd", "score": "0.474906", "text": "@Override\n\tprotected void processCreated(FlowableEngineEntityEvent event) {\n\t\tsuper.processCreated(event);\n\t\tSystem.out.println(\"processCreated\");\n\t}", "title": "" }, { "docid": "ea0fd9dbb641a76ae48358fa34e55983", "score": "0.47281998", "text": "Event createEvent();", "title": "" }, { "docid": "ea0fd9dbb641a76ae48358fa34e55983", "score": "0.47281998", "text": "Event createEvent();", "title": "" }, { "docid": "ea0fd9dbb641a76ae48358fa34e55983", "score": "0.47281998", "text": "Event createEvent();", "title": "" }, { "docid": "aa9d595eff217c1f726eabaea3bdff54", "score": "0.4725381", "text": "@Override\n\tprotected void doNotify(ClientApplicationEvent event) throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "e8b487bb3f8676f3f0cd9387ed283a14", "score": "0.47249326", "text": "protected abstract void onCreation();", "title": "" }, { "docid": "bd6a5ff232c67a1e70d54870dd7dada0", "score": "0.4697529", "text": "protected void scheduleEvent()\n\t{\n\t\tL2TvTManagerInstance npc = new L2TvTManagerInstance(IdFactory.getInstance().getNextId(), NpcTable.getInstance().getTemplate(npcManager));\n\t\t\n\t\tnpc.setTitle(\"TvT Registration\");\n\t\tnpc.spawnMe(npcX, npcY, npcZ);\n\t\t\n\t\t_state = REGISTER;\n\t\t\n\t\tAnnouncements.getInstance().announceToAll(\"TvT Event: Registration opened for \" + (participationTime / 60) + \" minute(s).\");\n\t\teventTimer(participationTime);\n\t\t\n\t\tif ((_registered.size() >= minParticipants) && (_state != ABORTED))\n\t\t{\n\t\t\t// prepare Coliseum arena for event\n\t\t\tprepareColiseum();\n\t\t\t\n\t\t\t// port players and start event\n\t\t\tAnnouncements.getInstance().announceToAll(\"TvT Event: Event has started!\");\n\t\t\tportTeamsToArena();\n\t\t\teventTimer(eventDuration);\n\t\t\t\n\t\t\tif (_state == ABORTED)\n\t\t\t{\n\t\t\t\tAnnouncements.getInstance().announceToAll(\"TvT Event: Event was cancelled.\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tAnnouncements.getInstance().announceToAll(\"TvT Event: Blue Team kills: \" + _blueTeamKills + \" , Red Team kills: \" + _redTeamKills + \".\");\n\t\t\t}\n\t\t\t\n\t\t\t// shutting down event\n\t\t\teventRemovals();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (_state == ABORTED)\n\t\t\t{\n\t\t\t\tAnnouncements.getInstance().announceToAll(\"TvT Event: Event was cancelled.\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tAnnouncements.getInstance().announceToAll(\"TvT Event: Event was cancelled due to lack of participation.\");\n\t\t\t}\n\t\t\t_registered.clear();\n\t\t}\n\t\t\n\t\t// event finished\n\t\tAnnouncements.getInstance().announceToAll(\"TvT Event: Next event in \" + (eventDelay / 60000) + \" minute(s).\");\n\t\t\n\t\tnpc.deleteMe();\n\t\topenArenaDoors();\n\t\tscheduleRegistration();\n\t}", "title": "" }, { "docid": "1f0ba6e5bee15fe0b3a417f6f5ef14eb", "score": "0.46835017", "text": "public void addAndRemoveEventListenerTyped() throws Exception {\n // Create a listener that just adds the events to a list\n TestActivitiEventListener newListener = new TestActivitiEventListener();\n\n // Add event-listener to dispatcher\n dispatcher.addEventListener(newListener, ActivitiEventType.ENTITY_CREATED, ActivitiEventType.ENTITY_DELETED);\n\n ActivitiEntityEventImpl event1 = new ActivitiEntityEventImpl(processEngineConfiguration.getTaskEntityManager().create(), ActivitiEventType.ENTITY_CREATED);\n ActivitiEntityEventImpl event2 = new ActivitiEntityEventImpl(processEngineConfiguration.getTaskEntityManager().create(), ActivitiEventType.ENTITY_DELETED);\n ActivitiEntityEventImpl event3 = new ActivitiEntityEventImpl(processEngineConfiguration.getTaskEntityManager().create(), ActivitiEventType.ENTITY_UPDATED);\n\n // Dispatch events, only 2 out of 3 should have entered the listener\n dispatcher.dispatchEvent(event1);\n dispatcher.dispatchEvent(event2);\n dispatcher.dispatchEvent(event3);\n\n assertThat(newListener.getEventsReceived()).hasSize(2);\n assertThat(newListener.getEventsReceived().get(0)).isEqualTo(event1);\n assertThat(newListener.getEventsReceived().get(1)).isEqualTo(event2);\n\n // Remove listener and dispatch events again, listener should not be\n // invoked\n dispatcher.removeEventListener(newListener);\n newListener.clearEventsReceived();\n dispatcher.dispatchEvent(event1);\n dispatcher.dispatchEvent(event2);\n\n assertThat(newListener.getEventsReceived().isEmpty()).isTrue();\n }", "title": "" }, { "docid": "5f8cb01f4c091f01fcec5911c83a04c2", "score": "0.4680475", "text": "@Override\n\tprotected void initEvents() {\n\n\t}", "title": "" }, { "docid": "41894d29eb843dd07d0b0fff6254ffec", "score": "0.46792334", "text": "protected abstract void initializeEventListeners();", "title": "" }, { "docid": "086486da47f6cede4f34dbda91492f85", "score": "0.46736133", "text": "void simpleNotify (Event event);", "title": "" }, { "docid": "ac4bde39937b07011ef6c7e3e6f121b5", "score": "0.46713313", "text": "public void addNotify()\n/* */ {\n/* 2757 */ synchronized (getTreeLock())\n/* */ {\n/* */ \n/* */ \n/* */ \n/* 2762 */ super.addNotify();\n/* 2763 */ if (!(this.peer instanceof LightweightPeer)) {\n/* 2764 */ this.dispatcher = new LightweightDispatcher(this);\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 2772 */ for (int i = 0; i < this.component.size(); i++) {\n/* 2773 */ ((Component)this.component.get(i)).addNotify();\n/* */ }\n/* */ }\n/* */ }", "title": "" }, { "docid": "fcb5c4ba868fcfd7f67514da0d88c4c0", "score": "0.46649978", "text": "private void NotifyBouquetListeners(SIChangeEvent event) {\r\n\t\tif (event == null)\r\n\t\t\treturn;\r\n\r\n\t\tSIElement element = event.getSIElement();\r\n\t\tif (element == null || !(element instanceof Bouquet))\r\n\t\t\treturn;\r\n\r\n\t\tTransportImpl transport = (TransportImpl)transports[transports.length-1];\r\n\t\tif (transport == null)\r\n\t\t\treturn;\r\n\r\n\t\tSIChangeType ct = event.getChangeType();\r\n\t\tBouquetChangeEvent sdce = new BouquetChangeEvent(\r\n\t\t\ttransport, ct, (Bouquet)element);\r\n\r\n\t\ttransport.notifyBouquetListeners(sdce);\r\n\t}", "title": "" }, { "docid": "6e2ae63640615de18e6d3d68f699cf6f", "score": "0.46485785", "text": "@Override\n public void triggerEvent() {\n }", "title": "" }, { "docid": "79b4f610a913cf7514418f6528aa1ced", "score": "0.46368194", "text": "protected void fireTemplateFormPermission(int permission) {\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = componentListenerList.getListenerList();\r\n\r\n // Process the listeners first to last, notifying\r\n // those that are interested in this event\r\n for (int i = 0; i <= listeners.length - 2; i += 2) {\r\n if (listeners[i] == TemplateComponentListener.class) {\r\n TemplateEvent templateEvent = new TemplateEvent(this, permission);\r\n if (perms != null)\r\n templateEvent.setPermFieldList(perms.getFieldPermList());\r\n ((TemplateComponentListener)listeners[i + 1]).tmplPermissions(templateEvent);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "7d2e8d4c468d8ad01501bcec3869038e", "score": "0.46261704", "text": "private TransferDropTargetListener createTransferDropTargetListener() {\n\t\treturn new TemplateTransferDropTargetListener(getGraphicalViewer()) {\n\t\t\t@SuppressWarnings(\"rawtypes\")\n\t\t\t@Override\n\t\t\tprotected CreationFactory getFactory(Object template) {\n\t\t\t\treturn new SimpleFactory((Class) template);\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "96f7918ee3a5e794e3a9916753a13b9d", "score": "0.4623383", "text": "public <T >void trigger( Event< T> event);", "title": "" }, { "docid": "16b78507cc08b61f3d5c522385fa8a2c", "score": "0.46230286", "text": "public void registerEventHooks();", "title": "" }, { "docid": "956d35122f98c2468f9f90401f3bea62", "score": "0.46191365", "text": "private void processEvent(Event event){\r\n List<EventListener> subscribers = subscriptionMap.get(event.getClass());\r\n if(subscribers != null){\r\n for(Iterator<EventListener> it = subscribers.iterator(); it.hasNext();){\r\n it.next().notify(event);\r\n }//End for\r\n }//End if\r\n }", "title": "" }, { "docid": "8b1c439ff6654297c9e2ea1a4f9afb1a", "score": "0.46132052", "text": "protected void notifyListeners() {\n\t\tfor (ThermometerListener l : listeners) {\n\t\t\tl.temperatureChanged();\n\t\t}\n\t}", "title": "" }, { "docid": "639cfc606f4382e1c114cec4b0deffce", "score": "0.4604713", "text": "private void addListener() {\r\n\r\n\t\t// Remove the selected row of the field table or the last row if none is\r\n\t\t// selected\r\n\t\tbuttonRemoveField.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tint selectedRow = tableFields.getSelectedRow();\r\n\t\t\t\tif (tableModel.getRowCount() > 0) {\r\n\t\t\t\t\tif (selectedRow == -1) {\r\n\t\t\t\t\t\ttableModel.removeRow(tableModel.getRowCount() - 1);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ttableModel.removeRow(selectedRow);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tpack();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// Add a new row in the field table\r\n\t\tbuttonAddField.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tString[] emptyRow = { \"\", \"\", \"\" };\r\n\t\t\t\ttableModel.addRow(emptyRow);\r\n\t\t\t\tpack();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// Create a component from user input, add it to the current entity the close\r\n\t\t// the modal\r\n\t\tbuttonValidate.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tString compName;\r\n\t\t\t\tif (entity == null) {\r\n\t\t\t\t\tcompName = fieldComponentName.getText();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tcompName = (String) cmbComponents.getSelectedItem();\r\n\t\t\t\t}\r\n\t\t\t\tif (!compName.equals(\"\")) {\r\n\t\t\t\t\tMap<String, Field> fields = new HashMap<String, Field>();\r\n\r\n\t\t\t\t\tfor (int i = 0; i < tableFields.getRowCount(); i++) {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tString fieldName = (String) tableFields.getModel().getValueAt(i, 0);\r\n\t\t\t\t\t\t\tString fieldType;\r\n\r\n\t\t\t\t\t\t\tif (tableFields.getModel().getValueAt(i, 1) instanceof FieldType) {\r\n\t\t\t\t\t\t\t\tfieldType = ((FieldType) tableFields.getModel().getValueAt(i, 1)).name();\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tfieldType = (String) tableFields.getModel().getValueAt(i, 1);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tString fieldValue = (String) tableFields.getModel().getValueAt(i, 2);\r\n\r\n\t\t\t\t\t\t\tif (fieldType != null && fieldName != null) {\r\n\t\t\t\t\t\t\t\tif (fieldValue == null) {\r\n\t\t\t\t\t\t\t\t\tif (fieldType.equals(\"STRING\") || fieldType.equals(\"FILE_PATH\")) {\r\n\t\t\t\t\t\t\t\t\t\tfieldValue = \"\";\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tfieldValue = \"0\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\tfields.put(fieldName, new Field(fieldName, fieldType, fieldValue));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} catch (Exception exception) {\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(ModalComponent.this, \"Please check your inputs.\");\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// This *should* be the same as \"From template\" when adding it to an entity\r\n\t\t\t\t\tComponent component = new Component(compName, fields);\r\n\r\n\t\t\t\t\tif (entity == null) {\r\n\t\t\t\t\t\tComponent.addTemplate(component);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t(new ActionAddComponent(seEntity, entity, component)).actionPerformed(null);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tdispose();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tfieldComponentName.setBackground(Color.RED);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis.cmbComponents.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tdisplayFieldsForComponent(cmbComponents.getSelectedItem().toString());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis.cmbComponents.addKeyListener(new KeyAdapter() {\r\n\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\r\n\t\t\t\tif (e.getKeyCode() == KeyEvent.VK_ENTER) {\r\n\t\t\t\t\tbuttonValidate.doClick();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "11eed0db99a77d38424f48bca2f5c92b", "score": "0.46016675", "text": "private void fireOnDeclareExchange(ChannelEvent e) {\n List<EventListener> listeners = changes.getListenerList(AMQP);\n for (EventListener listener : listeners) {\n ChannelListener amqpListener = (ChannelListener)listener;\n amqpListener.onDeclareExchange(e);\n }\n }", "title": "" }, { "docid": "af3369140ff933721cf8eb7fe4d9830d", "score": "0.4588232", "text": "private void addListeners(){\n newBtn.addEventHandler(MouseEvent.MOUSE_RELEASED,\n new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent e) {\n create();\n }\n }\n );\n\n openBtn.addEventHandler(MouseEvent.MOUSE_RELEASED,\n new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent e) {\n open();\n }\n }\n );\n }", "title": "" }, { "docid": "0e515ac8c4c4df8ae90d6003f8a16303", "score": "0.4584433", "text": "protected AbstractTrigger(MBeanNotificationInfo...infos) {\n\t\tsuper(NewElementTriggers.threadPool, infos);\n\t\tlog.info(\"Created Trigger [\" + getClass().getSimpleName() + \"]\");\n\t}", "title": "" }, { "docid": "d98fd0971beb2293f02f92c5ba704799", "score": "0.45806766", "text": "@Override\n\tprotected ManageEventHandler createEventHandler() {\n\t\treturn new ZxglHandler(this,new ZxglController());\n\t}", "title": "" }, { "docid": "ad31b945c16dfe2bd3ff1c1f3b35b8a2", "score": "0.45437875", "text": "public void addAndRemoveEventListenerAllEvents() throws Exception {\n // Create a listener that just adds the events to a list\n TestActivitiEventListener newListener = new TestActivitiEventListener();\n\n // Add event-listener to dispatcher\n dispatcher.addEventListener(newListener);\n\n ActivitiEntityEventImpl event1 = new ActivitiEntityEventImpl(processEngineConfiguration.getTaskEntityManager().create(), ActivitiEventType.ENTITY_CREATED);\n ActivitiEntityEventImpl event2 = new ActivitiEntityEventImpl(processEngineConfiguration.getTaskEntityManager().create(), ActivitiEventType.ENTITY_CREATED);\n\n // Dispatch events\n dispatcher.dispatchEvent(event1);\n dispatcher.dispatchEvent(event2);\n\n assertThat(newListener.getEventsReceived()).hasSize(2);\n assertThat(newListener.getEventsReceived().get(0)).isEqualTo(event1);\n assertThat(newListener.getEventsReceived().get(1)).isEqualTo(event2);\n\n // Remove listener and dispatch events again, listener should not be\n // invoked\n dispatcher.removeEventListener(newListener);\n newListener.clearEventsReceived();\n dispatcher.dispatchEvent(event1);\n dispatcher.dispatchEvent(event2);\n\n assertThat(newListener.getEventsReceived().isEmpty()).isTrue();\n }", "title": "" }, { "docid": "4971be844cda441a35ab32951ac57758", "score": "0.45196623", "text": "public Object construct() {\n\t\t\ttry{\t\t\t\t\t\t\t\t\t\t\n\t\t\t\tInteger intIndex = new Integer(this.iIndexUsed);\t\t\t\t\t\t\t\n\t\t\t\t//Wird eine Gruppe aktiv geschaltet, gehören alle anderen Gruppen passiv geschaltet.\n\t\t\t\t//Hier das Umschalten macht man, indem man einen Event - Wirft, \n //Alle am Event \"registrierten\" Labels/Componentent sollen dann reagieren.\n\t\t\t\t\n\t\t\t\t//### Den Event starten,\n\t\t\t\tSystem.out.println(ReflectCodeZZZ.getMethodCurrentName() + \"#EVENTEVENT !!!!!!!!\");\n\t\t\t\tHashMapIndexedZZZ<Integer, JComponentGroupZZZ> hmIndexed = this.hmIndexed;\n\t\t\t\tJComponentGroupZZZ group = (JComponentGroupZZZ) hmIndexed.getValue(this.iIndexUsed);\n\t\t\t\tEventComponentGroupSwitchZZZ eventNew= new EventComponentGroupSwitchZZZ(panel, 10002, group, this.iIndexUsed, true);\t\t\t\t\n\t\t\t\tobjEventBroker.fireEvent(eventNew);\t\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"#Updating Panel ...\");\n\t\t\t\tKernelJPanelCascadedZZZ objPanelParent = this.panel; //.getPanelParent();\n\t\t\t\tupdatePanel(objPanelParent);\t\t\t\t\t\t\n\t\t\t\n\t\t\t}catch(ExceptionZZZ ez){\n\t\t\t\tSystem.out.println(ez.getDetailAllLast());\n\t\t\t\tReportLogZZZ.write(ReportLogZZZ.ERROR, ez.getDetailAllLast());\t\t\t\t\t\n\t\t\t}\n\t\t\treturn \"all done\";\n\t\t}", "title": "" }, { "docid": "9381eb9b3f88b949532a71a02f2550d5", "score": "0.45132756", "text": "abstract public void addEventListeners();", "title": "" }, { "docid": "95ea1845bb956f145f97b7f9dcc5b0f6", "score": "0.45131022", "text": "private void createEvent() {\n\r\n event = new Event();\r\n event.setTitle(eventTitle.getText().toString());\r\n event.setDescription(eventDescription.getText().toString());\r\n event.setImageUrl(eventImage.getText().toString());\r\n event.setLocation(eventLocation.getText().toString());\r\n event.setOwner(UserController.getInstance().getCurrentUser().getId());\r\n long selectCategoryId = listCategories.get(categorySpinner.getSelectedItemPosition()).getId();\r\n System.out.println(\"Id de la categoria: \" + (int) selectCategoryId);\r\n event.setCategory(selectCategoryId);\r\n\r\n try {\r\n long newTime = 0;\r\n String dateString = eventDate.getText().toString() + \" \" + eventTime.getText().toString();\r\n newTime = fullFormat.parse(dateString).getTime();\r\n event.setStartsAt(newTime);\r\n } catch (ParseException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n EventController.getInstance()\r\n .createEvent(event)\r\n .addOnSuccessListener(aVoid -> {\r\n Toaster.show(this, \"Event created\");\r\n setResult(RESULT_OK);\r\n finish();\r\n });\r\n }", "title": "" }, { "docid": "2b1fcdb20ecf1752e0ce8245cbb08eab", "score": "0.45078453", "text": "public EventHandler(EventFactory<T> factory) {\n\t\tbuffer = new ArrayList<T>();\n\t\tevents = new ArrayList<T>();\n\t\tpool = new EventPool<T>(factory, POOL_SIZE);\n\t}", "title": "" }, { "docid": "d9647ddfb36de6a8cb6dc7ad7383fb3b", "score": "0.45024112", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\t\tMap<String,String> templateMap = modelAdaptor.getEmailTemplates(false, true);\n\t\t\t\t\n\t\t\t\tEditTemplateEasy emailDlg = new EditTemplateEasy(frame, templateMap);\n\t\t\t\tMap<String, String> newTemplate = emailDlg.showDialog();\n\t\t\t\t\n\t\t\t\t// make the changes in the model\n\t\t\t\tif (newTemplate != null) {\n\t\t\t\t\tmodelAdaptor.changeEmailTemplate(newTemplate);\n\t\t\t\t} \n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "cef000debb5895db5093f71825b37a90", "score": "0.4501008", "text": "private void registerListener() {\n createView.setCancelButtonListener(new CancelButtonListener());\n createView.setSubmitButtonListener(new SubmitButtonListener());\n }", "title": "" }, { "docid": "f82f93a3e74c314af4c4620760a01979", "score": "0.44978255", "text": "private void schedulerStartedEventInternal() {\n for (EventSchedulerListener listener : eventSchedulerListeners)\n listener.startedEvent();\n }", "title": "" }, { "docid": "ef4dee2b825958a6822bb20f8c0a5364", "score": "0.44932324", "text": "protected abstract void bindPopupWindowComponentsListener();", "title": "" }, { "docid": "48dd441a217a89a4a5674e014a3a7810", "score": "0.4492941", "text": "protected void notifyActionPeformed(ActionEvent event) {\r\n\t\tfor (ActionListener listener: this.listeners) {\r\n\t\t\tlistener.actionPerformed(event);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f0bdcb885c9ce44b571ec713714d029c", "score": "0.44895905", "text": "public void notifyListeners(){\n\t\tfor(TreePanel listener : panelListeners){\r\n\t\t\tlistener.onNotify(this);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9e0ad4f2c3f9fd732247cea2830c188c", "score": "0.4479194", "text": "private void notifyAboutAddedInterval() {\n\t\tint lastIndex = primeNumbers.size();\n\t\tListDataEvent event = new ListDataEvent(this, ListDataEvent.INTERVAL_ADDED, lastIndex, lastIndex);\n\t\tfor (ListDataListener listener : listeners) {\n\t\t\tlistener.intervalAdded(event);\n\t\t}\n\t}", "title": "" }, { "docid": "1f0e79db4caa73bc3ccd1f7e8c021b42", "score": "0.44763762", "text": "@Override\n\tpublic int createEvent(Event event) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "f0450b77aa43d9ec19cb494fc312cd70", "score": "0.4473", "text": "public abstract void addEventListeners();", "title": "" }, { "docid": "e6139bfefc214d3286be13611a9247e1", "score": "0.447198", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n\tvoid trigger(final CompoundResourceEvent event) {\n\t\tsynchronized(this) {\n\t\t\tevents.add(event);\n\t\t\tif (running) return;\n\t\t\trunning = true;\n\t\t}\n\t\tCallable<Boolean> trigger = new Callable<Boolean>() {\n\n\t\t\t@Override\n\t\t\tpublic Boolean call() throws Exception {\n\t\t\t\tif (!event.isActive())\n\t\t\t\t\treturn false;\n\t\t\t\tList<CompoundResourceEvent<?>> eventsLocal;\n lockRead(); // ensures that no further events are added in the meantime\n\t\t\t\ttry {\n\t\t\t\t\tsynchronized(PatternChangeListenerRegistration.this) {\n\t\t\t\t\t\trunning = false; \n\t\t\t\t\t\teventsLocal = new ArrayList<>(events);\n\t\t\t\t\t\tevents.clear();\n\t\t\t\t\t}\n\t\t\t\t} finally {\n\t\t\t\t\tunlockRead();\n\t\t\t\t}\n\t\t\t\t// trigger common callback\n\t\t\t\t((PatternChangeListener) patternListener).patternChanged(pattern, eventsLocal);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t};\n\t\tam.submitEvent(trigger);\n\t}", "title": "" }, { "docid": "3692b5d550c9955ffd508528ddad6eff", "score": "0.4468572", "text": "public static void setupEvents() {\n EventSystem.clearEvents();\n //Add our event names\n for (int i = 0; i<events.length; ++i)\n {\n EventSystem.initEvent((events[i]));\n }\n //Add the event hooks\n EventSystem.addHook(\"Chip_Placed\",Strategic4View::onChip_Placed);\n EventSystem.addHook(\"Blue_Chip_Placed\",Strategic4View::onBlue_Chip_Placed);\n EventSystem.addHook(\"Red_Chip_Placed\",Strategic4View::onRed_Chip_Placed);\n EventSystem.addHook(\"Red_Wins\",Connect4View::onRed_Wins);\n EventSystem.addHook(\"Blue_Wins\",Connect4View::onBlue_Wins);\n EventSystem.addHook(\"Tie_Game\",Connect4View::onTie_Game);\n EventSystem.addHook(\"Touch_Down\",Strategic4View::onTouch_Down);\n EventSystem.addHook(\"Touch_Move\",Strategic4View::onTouch_Move);\n EventSystem.addHook(\"Touch_Up\",Strategic4View::onTouch_Up);\n EventSystem.addHook(\"Bomb_Placed\",Strategic4View::onBomb_Placed);\n EventSystem.addHook(\"Bomb_Explode\",Strategic4View::onBomb_Explode);\n EventSystem.addHook(\"Defuse_Placed\",Strategic4View::onDefuse_Placed);\n EventSystem.addHook(\"Wood_Placed\",Strategic4View::onWood_Placed);\n }", "title": "" }, { "docid": "9b43d7c6e30f72b3dc8cf60a5d50de4b", "score": "0.44594404", "text": "private void createEvents() {\n\t\t\n\t\tbtnCheckQuantity.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tInputChecker.verifyPlace(textFieldPlace.getText());\n\t\t\t\tInputChecker.verifyItemBarcode(textFieldBarcode.getText());\n\t\t\t\tplace = textFieldPlace.getText().toLowerCase();\n\t\t\t\tbarcode = textFieldBarcode.getText().toLowerCase();\n\t\t\t\tavailableQuantity = InputChecker.returnQuantityAtPlace(place, barcode);\n\t\t\t\tString request = String.valueOf(availableQuantity);\n\t\t\t\ttextFieldAvailable.setText(request);\n\t\t\t}\n\t\t});\n\t\t\n\t\tbtnSubmit.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tLoanControl loanControl = new LoanControl();\n\t\t\t\t\n\t\t\t\tint quantity = Integer.parseInt(textFieldQuantity.getText());\n\t\t\t\tperiod = Integer.parseInt(textFieldPeriod.getText());\n\t\t\t\t\n\t\t\t\tInputChecker.getQuantityAtPlace(place, barcode, quantity);\n\t\t\t\t\n\t\t\t\tString numberID = textFieldID.getText();\n\t\t\t\tString cpr = textFieldCPR.getText();\n\t\t\t\tInputChecker.verifySaleNumberID(numberID);\n\t\t\t\tInputChecker.verifyId(2,cpr);\n\t\t\t\tInputChecker.verifyPeriod(period);\n\t\t\t\t//InputChecker.verifyId(1,cpr);\n\t\t\t\tHashMap<String,Integer> items = new HashMap<>();\n\t\t\t\t\n\t\t\t\tif(quantity > 0) {\n\t\t\t\t\titems.put(barcode, quantity);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(loanControl.getAvailableItems(place, items, numberID, cpr, period)) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Operation finished with success.\");\n\t\t\t\t\ttextFieldPlace.setText(\"\");\n\t\t\t\t\ttextFieldBarcode.setText(\"\");\n\t\t\t\t\ttextFieldID.setText(\"\");\n\t\t\t\t\ttextFieldCPR.setText(\"\");\n\t\t\t\t\ttextFieldQuantity.setText(\"\");\n\t\t\t\t\ttextFieldAvailable.setText(\"\");\n\t\t\t\t\ttextFieldPeriod.setText(\"\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Operation failed.\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tbtnBack.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tLeasingMenu leasingMenu = new LeasingMenu();\n\t\t\t\tdispose();\n\t\t\t\tleasingMenu.main(null);\n\t\t\t}\n\t\t});\n\t\t\n\t\tbtnExitProgram.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tint confirm = JOptionPane.showConfirmDialog(null, \"Are you sure you want to exit the program?\");\n\t\t\t\tif(confirm == JOptionPane.YES_OPTION) {\n\t\t\t\t\t//Brexit brexit = new Brexit();\n\t\t\t\t\tLoginMenu.brexit.exit();\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tmouseDrag.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\txMouse = e.getX();\n\t\t\t\tyMouse = e.getY();\n\t\t\t}\n\t\t});\n\t\tmouseDrag.addMouseMotionListener(new MouseMotionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\tint x = e.getXOnScreen();\n\t\t\t\tint y = e.getYOnScreen();\n\t\t\t\tsetLocation(x - xMouse, y - yMouse);\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "360ec2428d6745e702086dc5c1c376a3", "score": "0.4457965", "text": "private void makeCurrentTSListener() {\n\t\topenTSTabs.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<Tab>() {\n\t\t\t@Override\n\t\t\tpublic void changed(ObservableValue<? extends Tab> ov, Tab t, Tab t1) {\n\t\t\t\tTab currTab = ov.getValue();\n\t\t\t\tif(currTab != null) {\n\t\t\t\t\tTSViewport currViewport = (TSViewport)(currTab.getContent());\n\t\t\t\t\tcurrTS = currViewport.getFSM();\n\t\t\t\t\t// Also, update the events\n\t\t\t\t\tcurrTSEvents.clear();\n\t\t\t\t\tcurrTSEvents.addAll(currTS.getEvents());\n\t\t\t\t} else {\n\t\t\t\t\tcurrTS = null;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "9c99664e8ebcea4adfcd49ef99aa9722", "score": "0.44546896", "text": "public T getEventObject();", "title": "" }, { "docid": "2318d253b9b880dbe4f11a5b77dd6083", "score": "0.44539094", "text": "public void notify(ParserEvent event) {\n\t\tIterator it = listeners.iterator();\n\t\twhile(it.hasNext())\t\n\t\t\t((ParserListener)it.next()).event(event);\n\t}", "title": "" }, { "docid": "3cc169ffabc0c22800d03eaf69c4e9b8", "score": "0.4452921", "text": "private synchronized void fireEvent()\t{\r\n AddToLogEventClass event = new AddToLogEventClass(this);\r\n Iterator i = _listeners.iterator();\r\n while(i.hasNext())\t{\r\n ((AddToLogEventClassListener)i.next()).handleAddToLogEventClassEvent(event);\r\n }\r\n }", "title": "" }, { "docid": "50975a34217777994a5c22ab3ab525cd", "score": "0.44511637", "text": "public void setupSubscriptions() {\n eventLoader.publishEvents(blackboard, eventDescriptions);\n threatLoader.publishThreats(blackboard); \n //Announce tech specs\n blackboard.publishAdd(new TechSpecsLoadedCondition());\n\n //Now set attrs to null to allow garbage collecting of loader attrs.\n cleanup();\n }", "title": "" }, { "docid": "0e8aa4a60bdcacfe07a04f498bd0f460", "score": "0.44471183", "text": "public void addNotify() {\n super.addNotify();\n init();\n }", "title": "" }, { "docid": "85de6463ca5b2a4243349752b505a14e", "score": "0.44460073", "text": "public void onEvent(RuntimeStart event) {\n for (Map.Entry<URI, AdaptiveMessageContainer> entry : containers.entrySet()) {\n try {\n entry.getValue().initialize();\n monitor.registerListener(entry.getKey());\n } catch (JMSException e) {\n // TODO This should send an asynchronous notify\n monitor.error(\"Error starting service listener for \" + entry.getKey(), e);\n }\n }\n started = true;\n }", "title": "" }, { "docid": "e871d08901f65c244d32f8090da38cdd", "score": "0.44436848", "text": "public static void eventSubscriptionsCreateOrUpdateForResource(\n com.azure.resourcemanager.eventgrid.EventGridManager manager) {\n manager\n .eventSubscriptions()\n .createOrUpdate(\n \"subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1\",\n \"examplesubscription10\",\n new EventSubscriptionInner()\n .withDestination(\n new WebhookEventSubscriptionDestination().withEndpointUrl(\"https://requestb.in/15ksip71\"))\n .withFilter(\n new EventSubscriptionFilter()\n .withSubjectBeginsWith(\"ExamplePrefix\")\n .withSubjectEndsWith(\"ExampleSuffix\")\n .withIsSubjectCaseSensitive(false)),\n com.azure.core.util.Context.NONE);\n }", "title": "" }, { "docid": "5a68ee527a864dab37651e2780145425", "score": "0.443945", "text": "public void notify(Event e){\n\t\tfor(Observer o:this.observers){\r\n\t\t\to.event(e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7bb9910f5e3169628b0b58e35b957a18", "score": "0.4438419", "text": "public void newEventListener(){\n \tfinal ImageButton newEvent = (ImageButton) findViewById(R.id.SuperCreateEventButton);\n \tnewEvent.setOnClickListener(new OnClickListener() {\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(getApplicationContext(), SuperOrgCreateEvent.class);\n\t\t\t\ti.putExtra(\"organization\", userName);\n\t\t\t\ti.putExtra(\"orgID\", orgID);\n\t\t\t\tstartActivityForResult(i, EDITOR_ACTIVITY_REQUEST);\n\t\t\t}\n\t\t});\n }", "title": "" }, { "docid": "2548c67cbffbe45154bec46656685de8", "score": "0.44278133", "text": "void notifyObservers(EventMsg obj);", "title": "" }, { "docid": "093188c2b4b55865b8b339e31992ae21", "score": "0.44254717", "text": "public void fireEvent( WikiEvent event )\n {\n boolean needsCleanup = false;\n\n try\n {\n synchronized( m_listenerList )\n {\n for( int i = 0; i < m_listenerList.size(); i++ )\n {\n WikiEventListener listener = (WikiEventListener) ((WeakReference)m_listenerList.get(i)).get();\n\n if( listener != null )\n {\n listener.actionPerformed( event );\n }\n else\n {\n needsCleanup = true;\n }\n }\n\n //\n // Remove all such listeners which have expired\n //\n if( needsCleanup )\n {\n for( int i = 0; i < m_listenerList.size(); i++ )\n {\n WeakReference w = m_listenerList.get(i);\n\n if( w.get() == null ) m_listenerList.remove(i--);\n }\n }\n\n }\n }\n catch( ConcurrentModificationException e )\n {\n //\n // We don't die, we just don't do notifications in that case.\n //\n log.info(\"Concurrent modification of event list; please report this.\",e);\n }\n\n }", "title": "" }, { "docid": "560cb5be406c951773bef34deb3b69a4", "score": "0.44229475", "text": "public CreateEvent(Events event, Controller c) \n {\n events = event;\n innerPanel = new JPanel();\n innerPanel.setLayout(new BorderLayout());\n controller = c;\n\n eventNameTf = new JTextField(\"Untitled event\");\n eventNameTf.setPreferredSize( new Dimension( 300, 28 ) );\n eventNameTf.addMouseListener(new MouseAdapter(){\n @Override\n public void mouseClicked(MouseEvent e){\n \teventNameTf.setText(\"\");\n }\n });\n\n JPanel temPanel = new JPanel(new FlowLayout());\n today = new JTextArea((controller.getCurMonth()+1) + \"/\" + controller.getCurDay() + \"/\" + (controller.getCurYear()%100));\n today.setBackground( null );\n to = new JTextArea(\"to\");\n to.setBackground( null );\n \n String[] times= {\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"};\n startingTime = new JComboBox(times);\n startingTime.setSelectedIndex(0);\n \n endingTime = new JComboBox(times);\n startingTime.setSelectedIndex(0);\n \n String[] time = {\"am\", \"pm\"};\n timePicker1 = new JComboBox(time);\n timePicker1.setSelectedIndex(0);\n \n timePicker2 = new JComboBox(time);\n timePicker2.setSelectedIndex(0);\n temPanel.add(today);\n \n temPanel.add(startingTime);\n temPanel.add(timePicker1);\n temPanel.add(to);\n temPanel.add(endingTime);\n temPanel.add(timePicker2);\n errorMsg = new JLabel();\n errorMsg.setForeground(Color.red);\n\n JButton submitButton = new JButton(\"SAVE\");\n submitButton.setBackground(Color.WHITE);\n submitButton.addActionListener(this);\n temPanel.add(submitButton);\n \n innerPanel.add(eventNameTf,BorderLayout.NORTH);\n innerPanel.add(temPanel,BorderLayout.CENTER);\n innerPanel.add(errorMsg,BorderLayout.SOUTH);\n \n\n // create some padding\n add(innerPanel); \n setVisible(true);\n\n }", "title": "" }, { "docid": "3de4232b191b8d31c55ed40c45e53996", "score": "0.44212443", "text": "private void createEntryListener() {\r\n\t\tentryListener = new IPropertySheetEntryListener() {\r\n\t\t\tpublic void childEntriesChanged(IPropertySheetEntry entry) {\r\n\t\t\t\t// update the children of the given entry\r\n\t\t\t\tif (entry == rootEntry) {\r\n\t\t\t\t\tupdateChildrenOf(entry, pv2);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tpublic void valueChanged(IPropertySheetEntry entry) {\r\n\t\t\t\t// update the given entry\r\n\t\t\t\tPropertyItem item = findItem(entry);\r\n\t\t\t\tif (item != null) {\r\n\t\t\t\t\tupdateEntry(entry, item);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tpublic void errorMessageChanged(IPropertySheetEntry entry) {\r\n\t\t\t}\r\n\t\t};\r\n\t}", "title": "" }, { "docid": "a1a552f3dd5196faa7cf41dfb294412f", "score": "0.4419626", "text": "@Command(\"add\")\n @NotifyChange({\"events\", \"productos\"})\n public void add(@BindingParam(\"cmp\") final Window x) {\n if(eventDao.insert(this.newEvent)){\n System.out.println(\"--->>>>>>Insertado en EVENTS\");\n events = new ListModelList<>(eventDao.findAll());\n }\n\n if(ProductoValidator.validar(newEvent)){\n BindUtils.postGlobalCommand(null, null, \"doSearchProducto\", null);\n Messagebox.show(\"Se ha guardado el Producto\", \"Mensaje\", Messagebox.OK, Messagebox.QUESTION,\n new org.zkoss.zk.ui.event.EventListener(){\n @Override\n public void onEvent(Event e){\n if(Messagebox.ON_OK.equals(e.getName())){\n x.detach();\n }\n }\n }\n );\n }\n\n\n this.newEvent = new Producto();\n }", "title": "" }, { "docid": "203e9a306a1538ab63e28c357bfb7eef", "score": "0.44186786", "text": "private void schedulerFreezeEventInternal() {\n for (EventSchedulerListener listener : eventSchedulerListeners)\n listener.freezeEvent();\n }", "title": "" }, { "docid": "0c91ca7fe1e7289e3403b42e6b1f84de", "score": "0.44131655", "text": "protected final void notifyEventsOf(TransactionResponseWithEvents response) {\n\t\ttry {\n\t\t\tresponse.getEvents().forEachOrdered(event -> notifyEvent(storeUtilities.getCreatorUncommitted(event), event));\n\t\t}\n\t\tcatch (RuntimeException e) {\n\t\t\tlogger.log(Level.WARNING, \"unexpected exception\", e);\n\t\t\tthrow e;\n\t\t}\t\n\t}", "title": "" }, { "docid": "893ff82270b6de818550d1196360e834", "score": "0.44090432", "text": "public void notifySubscriber();", "title": "" }, { "docid": "c5046d00534a5bb94041864b7b8f3395", "score": "0.44078842", "text": "public void createEvents(){\n\t\tif(view.getDesktopPane().isShowing() && view.getForm()!=null){\n\t\t\tview.getForm().getSearchBtn().addActionListener(new ActionListener() {\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tif(view.getForm().getTextField()!=null){\n\t\t\t\t\t\tString id= view.getForm().getTextField().getText();\n\t\t\t\t\t\tmodel.setFigure(DAOController.searchFigure(id));\n\t\t\t\t\t}\t\t\t\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t// Menu load button\n\t\tview.getmntmLoad().addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n;\n\t\t\t\t}\n\t\t\t\t\n\t\t});\n\n\t\t// Menu save button\n\t\tview.getmntmSave().addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(view.getBoard().getFigure() !=null && view.getBoard().getFigure().numPoints()>0){\n\t\t\t\t\tif(model !=null){\n\t\t\t\t\tmodel.setidFigure(DAOController.returnLastKey(model.getFigure()));\n\t\t\t\t\tmodel.setListKeys();\n\t\t\t\t\tview.getForm().getTextField().setText(model.getiDFigure());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t// Next button, used to add a point once the coordinate are entered\n\t\tview.getbuttonNext().addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t\tif(view.getTextXString()!=null && view.getTextYString()!=null){\n\t\t\t\t\tString coord = \"(\"+view.getTextXString()+\",\"+view.getTextYString()+\")\";\n\t\t\t\t\tmodel.addPoint(OutputUser.traduction(coord));\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t// Prev button, used to remove the last point\n\t\tview.getbuttonPrev().addActionListener(new ActionListener() {\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tif(model.getFigure().numPoints()!=0)\n\t\t\t\t\t\tmodel.removeLastPt();\n\t\t\t\t\t}\n\t\t});\n\n\t\t// Remove a select button\n\t\tview.getBtnX().addActionListener(new ActionListener() {\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tif(view.getBoard().getPressedCoord()!=null){\n\t\t\t\t\t\tmodel.removeOne(model.findInt(view.getBoard().getPressedCoord()));\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t});\n\n\t\t// Changes the coordinates of a selected button\n\t\tview.getBtnV().addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(view.getBoard().getPressedCoord()!=null)\n\t\t\t\t\tif(view.getTextXString()!=null && view.getTextYString()!=null){\n\t\t\t\t\t\tString coord = \"(\"+view.getTextXString()+\",\"+view.getTextYString()+\")\";\n\t\t\t\t\tmodel.setOnePoint(model.findInt(view.getBoard().getPressedCoord()),OutputUser.traduction(coord));\n\t\t\t\t\t}\n\t\t\t\t}\n\t});\n\t\t\n\t}", "title": "" }, { "docid": "54acb6108068f92d085bd87ff8a8c27c", "score": "0.44067726", "text": "void beanCreated(BeanCreationEvent event);", "title": "" }, { "docid": "ace463a9ceefd03d8b9c5142733096a1", "score": "0.44048947", "text": "public abstract void initEvent();", "title": "" }, { "docid": "ace463a9ceefd03d8b9c5142733096a1", "score": "0.44048947", "text": "public abstract void initEvent();", "title": "" }, { "docid": "8359ee11d98f0179a26b274d13b155a1", "score": "0.43999454", "text": "@Subscribe\n public void onEvent(RegistrationActive event) {\n /* deliver every bundle of interest */\n getBundlesOfInterest(event.sink).subscribe(\n bundleID -> {\n /* retrieve the bundle */\n core.getStorage().get(bundleID).subscribe(\n /* deliver it */\n bundle -> event.cb.recv(bundle).subscribe(\n () -> {\n listener.unwatch(event.sink, bundle.bid);\n core.getBundleProtocol()\n .bundleLocalDeliverySuccessful(bundle);\n },\n e -> core.getBundleProtocol()\n .bundleLocalDeliveryFailure(event.sink, bundle)),\n e -> {\n });\n });\n }", "title": "" }, { "docid": "923d147ad5f6b0e9efe075240076a056", "score": "0.4394062", "text": "protected void sendNotification(String elementType, String type, Object[] newRow) {\n\t\tNotification n = new Notification(type, on, NewElementTriggers.serial.incrementAndGet(), SystemClock.time(), \"New \" + elementType + \" Event [\" + newRow[1] + \"]\");\n\t\tn.setUserData(newRow);\n\t\ttry {\n\t\t\tNewElementTriggers.notificationQueue.put(n);\n\t\t\t//log.info(\"Added Notification to NewElementTriggers.notificationQueue [\" + n + \"]\");\n\t\t} catch (Exception ex) {\n\t\t\tthrow new RuntimeException(\"Failed to enqueue notification for [\" + getClass().getSimpleName() + \"] with new row \" + Arrays.toString(newRow), ex);\n\t\t}\n\t\tsendNotification(n);\t\t\n\t}", "title": "" } ]
7b34ca112de8ef3b61cc592f7211a773
Returns a columnmajor float array of the passed matrix, suitable for `glMultMatrixf()` and the like.
[ { "docid": "d1676d91074a371500326be4242fecd1", "score": "0.4911764", "text": "public static float[] fromMatrix4f(Matrix4f m)\n\t{\n\t\treturn new float[]{\n\t\t\tm.m00, m.m10, m.m20, m.m30,\n\t\t\tm.m01, m.m11, m.m21, m.m31,\n\t\t\tm.m02, m.m12, m.m22, m.m32,\n\t\t\tm.m03, m.m13, m.m23, m.m33\n\t\t};\n\t}", "title": "" } ]
[ { "docid": "ac110ee68b750940fea15bc3a7d0adb3", "score": "0.59347475", "text": "public static float[] getColumn(float[][] mtx, int col) {\r\n\r\n\t\tfloat[] out = new float[mtx.length];\r\n\r\n\t\tfor (int i = 0; i < mtx.length; i++) {\r\n\r\n\t\t\tout[i] = mtx[i][col];\r\n\r\n\t\t}\r\n\r\n\t\treturn out;\r\n\t}", "title": "" }, { "docid": "215fef18d52a8d644812add6be1c6ad3", "score": "0.55914176", "text": "public float[] getFlatDataColumnMajor() {\r\n float c[] = new float[16];\r\n c[0] = d[0][0]; c[4] = d[0][1]; c[ 8] = d[0][2]; c[12] = d[0][3]; \r\n c[1] = d[1][0]; c[5] = d[1][1]; c[ 9] = d[1][2]; c[13] = d[1][3]; \r\n c[2] = d[2][0]; c[6] = d[2][1]; c[10] = d[2][2]; c[14] = d[2][3]; \r\n c[3] = d[3][0]; c[7] = d[3][1]; c[11] = d[3][2]; c[15] = d[3][3];\r\n return c;\r\n }", "title": "" }, { "docid": "663d1bf3d4713eb9910ab10028ef0d43", "score": "0.55607677", "text": "public static double[][] transpose(double[] m) {\n return toColVector(m);\n }", "title": "" }, { "docid": "39296d4bfd5c1cd446f4d8103fbb4fee", "score": "0.5535856", "text": "public float[] getColumnMajor(float[] m1) {\n m1[0] = m00;\n m1[1] = m10;\n m1[2] = m20;\n m1[3] = m30;\n m1[4] = m01;\n m1[5] = m11;\n m1[6] = m21;\n m1[7] = m31;\n m1[8] = m02;\n m1[9] = m12;\n m1[10] = m22;\n m1[11] = m32;\n m1[12] = m03;\n m1[13] = m13;\n m1[14] = m23;\n m1[15] = m33;\n return m1;\n }", "title": "" }, { "docid": "570bccf43273b1be3d85b563602080aa", "score": "0.5328749", "text": "public Float[][] transpose(Float[][] matrix, Float[][] fac){\n\n\t\tFloat[][] temp = new Float[order][order];\n\t\tFloat[][] inverse = new Float[order][order];\n\t\tfloat det;\n\n\t\t//add elements to the right positions\n\t\tfor (int i = 0; i < order; i++){\n\t\t\tfor (int j = 0; j < order; j++){\n\t\t\t\ttemp[i][j] = fac[j][i];\n\t\t\t}\n\t\t}\n\n\t\tdet = determinant(matrix, order);\n\n\t\t//divide by determinant\n\t\tfor (int i = 0; i < order; i++){\n\t\t\tfor (int j = 0; j < order; j++){\n\t\t\t\tinverse[i][j] = temp[i][j] / det;\n\t\t\t}\n\t\t}\n\n\t\t// returns the inverse of matrix\n\t\treturn inverse;\n\t}", "title": "" }, { "docid": "b8a4da59642892343b1b57bddeaf6b26", "score": "0.52960294", "text": "public static Number[] getColumn(Number[][] mtx, int col) {\r\n\r\n\t\tNumber[] out = new Number[mtx.length];\r\n\r\n\t\tfor (int i = 0; i < mtx.length; i++) {\r\n\r\n\t\t\tout[i] = mtx[i][col];\r\n\r\n\t\t}\r\n\r\n\t\treturn out;\r\n\t}", "title": "" }, { "docid": "c06a593b796f030b59754a83d7f05322", "score": "0.52823997", "text": "public static double[] getColumn(double[][] mtx, int col) {\r\n\r\n\t\tdouble[] out = new double[mtx.length];\r\n\r\n\t\tfor (int i = 0; i < mtx.length; i++) {\r\n\r\n\t\t\tout[i] = mtx[i][col];\r\n\r\n\t\t}\r\n\r\n\t\treturn out;\r\n\t}", "title": "" }, { "docid": "1b55e84d3d8501f3736274c6a1c4ac6c", "score": "0.51832455", "text": "public static long[] getColumn(long[][] mtx, int col) {\r\n\r\n\t\tlong[] out = new long[mtx.length];\r\n\r\n\t\tfor (int i = 0; i < mtx.length; i++) {\r\n\r\n\t\t\tout[i] = mtx[i][col];\r\n\r\n\t\t}\r\n\r\n\t\treturn out;\r\n\t}", "title": "" }, { "docid": "88d804654d3218909a0c6ff972a06067", "score": "0.5162577", "text": "private static double[] getColumn(double[][] matrix, int column){\n int rowDim = matrix.length;\n double[] result = new double[rowDim];\n for(int i = 0; i < rowDim; i++){\n result[i] = matrix[i][column];\n }\n return result;\n }", "title": "" }, { "docid": "e56e56e476d407d14934284650f288cb", "score": "0.5152114", "text": "public float[] getRowMajor(float[] m1) {\n m1[0] = m00;\n m1[1] = m01;\n m1[2] = m02;\n m1[3] = m03;\n m1[4] = m10;\n m1[5] = m11;\n m1[6] = m12;\n m1[7] = m13;\n m1[8] = m20;\n m1[9] = m21;\n m1[10] = m22;\n m1[11] = m23;\n m1[12] = m30;\n m1[13] = m31;\n m1[14] = m32;\n m1[15] = m33;\n return m1;\n }", "title": "" }, { "docid": "4b306049feb54a21efb7ccda9a0216fc", "score": "0.5085503", "text": "public void getTransformMatrix(float[] mtx) {\n // Note we intentionally don't check mtx for null, so this will result in a\n // NullPointerException. But it's safe because it happens before the call to native.\n if (mtx.length != 16) {\n throw new IllegalArgumentException();\n }\n nativeGetTransformMatrix(mtx);\n }", "title": "" }, { "docid": "6a9cc228e6b2346c7d63e1a84a2ebdbe", "score": "0.50593066", "text": "public Float[][] cofactor(Float[][] matrix){\n\n\t\tFloat[][] temp1 = new Float[order][order];\n\t\tFloat[][] fac = new Float[order][order];\n\n\t\t// get sub-matrix\n\t\tfor (int q = 0; q < order; q++){\n\t\t\tfor (int p = 0;p < order; p++){\n\t\t\t\tint m = 0;\n\t\t\t\tint n = 0;\n\t\t\t\tfor (int i = 0; i < order; i++){\n\n\t\t\t\t\tfor (int j = 0; j < order; j++){\n\t\t\t\t\t\tif (i != q && j != p){\n\t\t\t\t\t\t\ttemp1[m][n] = matrix[i][j];\n\t\t\t\t\t\t\tif (n < (order - 2))\n\t\t\t\t\t\t\t\tn++;\n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\tn = 0;\n\t\t\t\t\t\t\t\tm++;\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\t// cofactor of sub-matrix\n\t\t\t\tfac[q][p] = (float)Math.pow(-1, q + p) * determinant(temp1, order - 1);\n\t\t\t}\n\t\t}\n\t\t//go to transpose\n\t\treturn transpose(matrix, fac);\n\t}", "title": "" }, { "docid": "c63fb2fb1be7fc61c05a4ab5eb28e0a2", "score": "0.5044479", "text": "public static float[] col(float[][][] data, int j, int i)\n {\n float[] r = new float[data.length];\n int k = 0;\n for(float[][] d : data)\n r[k++] = d[j][i];\n return r;\n }", "title": "" }, { "docid": "4d59547e4f06b4b8ab1f179eb4d1d099", "score": "0.5036002", "text": "private static double[] getColumn(int colIndex, double[][] matrix) {\n\n double[] res = new double[matrix.length];\n for(int i = 0; i < matrix.length; i++) {\n res[i] = matrix[i][colIndex];\n }\n return res;\n }", "title": "" }, { "docid": "45499f0675e9aea6cb98ec237e6ec784", "score": "0.50303876", "text": "int[][] getMatrix();", "title": "" }, { "docid": "a01cc8129e80576683acd32856140ca1", "score": "0.50291395", "text": "public static double[][] transpose(double[][] matrix){\n int rowDim = matrix.length;\n int columnDim = matrix[0].length;\n double[][] result = new double[columnDim][rowDim];\n for(int i = 0; i < columnDim; i++)\n result[i] = getColumn(matrix, i);\n return result;\n }", "title": "" }, { "docid": "29e7b0960cd20ed16f5f6fc602e7705c", "score": "0.5021746", "text": "public static double[] getCol(double[][] mat, int x)\n {\n double[] ret = new double[mat.length];\n\n for (int i = 0; i < mat.length; i++)\n {\n double[] col = mat[i];\n ret[i] = col[x];\n }\n return ret;\n }", "title": "" }, { "docid": "ef5b49b50b0d4828d18dc77d0416eb59", "score": "0.49437445", "text": "public abstract void glUniformMatrix2fv(\n int location,\n int count,\n boolean transpose,\n float[] value,\n int offset\n );", "title": "" }, { "docid": "94f7cdebf603c5b63921488473dbdae9", "score": "0.49434832", "text": "public float[] toFloatArray() {\n\t\treturn new float[] { m00, m01, m02, m10, m11, m12, m20, m21, m22 };\n\n\t}", "title": "" }, { "docid": "737f061a20909f026a1d0fbe51ff2088", "score": "0.49170178", "text": "public Matrix32 toMatrix () {\n float[][] mat = new float[1][];\n mat[0] = this.vector;\n Matrix32 res = new Matrix32(mat);\n res.transpose();\n return res;\n }", "title": "" }, { "docid": "ca70e9a3daf20354a9efc5401475f0ad", "score": "0.49121353", "text": "public static double[][] transpose(double[][] m) {\n double[][] n = new double[m[0].length][m.length];\n\n for (int r = 0; r < n.length; r++) {\n for (int c = 0; c < n[0].length; c++) {\n n[r][c] = m[c][r];\n }\n }\n\n return n;\n }", "title": "" }, { "docid": "07ed17f3e2c858d5501f9576b2b0b10b", "score": "0.49060956", "text": "public float[] getFlatDataRowMajor() {\r\n float r[] = new float[16];\r\n r[ 0] = d[0][0]; r[ 1] = d[0][1]; r[ 2] = d[0][2]; r[ 3] = d[0][3]; \r\n r[ 4] = d[1][0]; r[ 5] = d[1][1]; r[ 6] = d[1][2]; r[ 7] = d[1][3]; \r\n r[ 8] = d[2][0]; r[ 9] = d[2][1]; r[10] = d[2][2]; r[11] = d[2][3]; \r\n r[12] = d[3][0]; r[13] = d[3][1]; r[14] = d[3][2]; r[15] = d[3][3]; \r\n return r;\r\n }", "title": "" }, { "docid": "d03c1fd61e703b962214e2f42b0e813c", "score": "0.49018654", "text": "public static double[] fullmatrixProduct(double[][] matrix, double[] X) {\n\n\t\tdouble[] result = new double[X.length];\n\t\tfor(int i=0;i<X.length;i++) {\n\t\t\tfor(int j=0;j<matrix.length;j++) {\n\t\t\t\tresult[i]+=matrix[i][j]*X[j];\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\n\t}", "title": "" }, { "docid": "b1056d9c5e91d5410a337b90e8b34b9d", "score": "0.48963606", "text": "public static int[][] columns(int[][] matrix) {\r\n // we may assume that matrix!=null, and it's size is matrix.length*matrix.length\r\n int[][] matCols = new int[matrix.length][matrix.length];\r\n for (int i = 0; i < matrix.length; i = i + 1)\r\n for (int j = 0; j < matrix.length; j = j + 1)\r\n matCols[i][j] = matrix[j][i];\r\n\r\n return matCols;\r\n }", "title": "" }, { "docid": "50eae66e124937c5c83cba2c8696780b", "score": "0.4888008", "text": "public float[] getMatrix(boolean local)\n {\n return quaternion_to_R3_rotation(getQuaternion(local));\n }", "title": "" }, { "docid": "8e11b3c74006294b3d1aa4d46225b315", "score": "0.48703662", "text": "double[][] toArray();", "title": "" }, { "docid": "4aa9d85e95d0ffef73c69cbc3738dd0f", "score": "0.4848131", "text": "public float[] getColumn(int column, float v[]) {\n switch (column) {\n case 0:\n v[0] = m00;\n v[1] = m10;\n v[2] = m20;\n v[3] = m30;\n break;\n case 1:\n v[0] = m01;\n v[1] = m11;\n v[2] = m21;\n v[3] = m31;\n break;\n case 2:\n v[0] = m02;\n v[1] = m12;\n v[2] = m22;\n v[3] = m32;\n break;\n case 3:\n v[0] = m03;\n v[1] = m13;\n v[2] = m23;\n v[3] = m33;\n break;\n default:\n throw new ArrayIndexOutOfBoundsException();\n }\n return v;\n }", "title": "" }, { "docid": "7b4756ddeaf189d85f8ee433353a2a84", "score": "0.48391655", "text": "public double[][] transpostaMatriz(double[][] m){\n\t\t/*\n\t\t * A partir da do parametro ij, intancia uma nova matriz ji, isto é,\n\t\t * o @param com tamanho M[i][j], se torna uma matriz @return com tamanho TMP[M[j]][M[i]] \n\t\t * */\n\t\tdouble[][] tmp= new double[m[0].length][m.length];\n\n\t\tfor (int i = 0; i < m.length; i++) {\n\t\t\tfor (int j = 0; j < m[i].length; j++) {\n\t\t\t\ttmp[j][i]=m[i][j];\n\t\t\t}\n\t\t}\n\n\t\treturn tmp;\n\t}", "title": "" }, { "docid": "dbb6160763d7eedf9e2e24df559ecc8d", "score": "0.48081768", "text": "public static float[] fromMatrix3f(Matrix3f m)\n\t{\n\t\treturn new float[]{\n\t\t\tm.m00, m.m10, m.m20,\n\t\t\tm.m01, m.m11, m.m21,\n\t\t\tm.m02, m.m12, m.m22\n\t\t};\n\t}", "title": "" }, { "docid": "2ad16ce8c3875d356c675de11cd03774", "score": "0.4805042", "text": "public abstract void glUniformMatrix2fv(\n int location,\n int count,\n boolean transpose,\n java.nio.FloatBuffer value\n );", "title": "" }, { "docid": "3094ea7c0c15d2f2748c22e78fe848c6", "score": "0.48000443", "text": "public static double[][] transpose(double[] mat)\n {\n int x = 1;\n int y = mat.length;\n double[][] ret = new double[y][x];\n for (int i = 0; i < y; i++)\n {\n ret[i][0] = mat[i];\n }\n return ret;\n }", "title": "" }, { "docid": "ebe79c13b63415b9a3c44bbfb3b48d59", "score": "0.47959706", "text": "public abstract void transposeAsColumn(Matrix A, int col);", "title": "" }, { "docid": "2bd8b6646a47384a52e7018ec9c80a6f", "score": "0.47855106", "text": "public static double[][] getArray(Matrix A) {\n double[][] Ad = new double[A.numRows()][A.numColumns()];\n for (MatrixEntry e : A)\n Ad[e.row()][e.column()] = e.get();\n return Ad;\n }", "title": "" }, { "docid": "d4fd4c83570cbba471d95e8e3a49ac6d", "score": "0.47811902", "text": "public static double[] leftMultiply(double[] vector, double[][] matrix){\n int outputDims = matrix[0].length;\n double[] result = new double[outputDims];\n double[] currentColumn;\n for(int i = 0; i < outputDims; i++){\n currentColumn = MatrixOps.getColumn(matrix, i);\n result[i] = MatrixOps.dot(vector, currentColumn);\n }\n return result;\n }", "title": "" }, { "docid": "2fdcfed7103e32c3481d50af768a32e3", "score": "0.4755736", "text": "public float[][] getVerticesAsFloat() {\r\n\t\tfinal float[][] result = new float[numberOfVertices()][3];\r\n\t\tint i = 0;\r\n\t\tHE_Vertex v;\r\n\t\tfinal Iterator<HE_Vertex> vItr = vItr();\r\n\t\twhile (vItr.hasNext()) {\r\n\t\t\tv = vItr.next();\r\n\t\t\tresult[i][0] = (float) (v.x);\r\n\t\t\tresult[i][1] = (float) (v.y);\r\n\t\t\tresult[i][2] = (float) (v.z);\r\n\t\t\ti++;\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "7af65465f05c03688e0749cb12f668f5", "score": "0.47380644", "text": "public static Double[] fullmatrixProduct(Double[][] matrix, Double[] X, Double[] result) {\n\n\n\n\t\t//Double[] result= new Double[X.length];\n\t\tfor(int i=0;i<X.length;i++) {\n\t\t\tfor(int j=0;j<matrix.length;j++) {\n\t\t\t\tresult[i]+=matrix[i][j]*X[j];\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\n\t}", "title": "" }, { "docid": "6bac7696cd71db2c90ea34b72fcdc033", "score": "0.47327486", "text": "private native void multiplyCall(float[] matA, float[] matB, int nRows, int colB, int index, int gx,\n\t\t int gy, int gz, int bx, int by, int bz);", "title": "" }, { "docid": "5b11634d363af191e47560e51abee887", "score": "0.472224", "text": "public long[] col(int i) {\r\n\t\treturn mat[i-1];\r\n\t}", "title": "" }, { "docid": "43d90de5a84957726b9217e8c85f3b59", "score": "0.4710362", "text": "public static UnaryOperator<double[][]> transpose() {\n return m -> {\n return IntStream.range(0, m[0].length).mapToObj(r ->\n IntStream.range(0, m.length).mapToDouble(c -> m[c][r]).toArray()\n ).toArray(double[][]::new);\n };\n }", "title": "" }, { "docid": "f51a6498d557cde4b0e6d1d25c435c13", "score": "0.46945828", "text": "public static double[] fullmatrixProduct(double[][] matrix, double[] X, double[] result) {\n\n\n\n\t\t//Double[] result= new Double[X.length];\n\t\tfor(int i=0;i<X.length;i++) {\n\t\t\tfor(int j=0;j<matrix.length;j++) {\n\t\t\t\tresult[i]+=matrix[i][j]*X[j];\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\n\t}", "title": "" }, { "docid": "bae94ccb77a3a94c3505e78e9500abce", "score": "0.46931753", "text": "public float[] getVal() {\n ElementView1D<Double, ?> nz = mat.nonzeros();\n List<Float> ret = new ArrayList<>();\n while (nz.hasNext()) {\n Number e = nz.next().get();\n ret.add(e.floatValue());\n }\n return ArrayUtils.toPrimitive(ret.toArray(new Float[0]));\n }", "title": "" }, { "docid": "bd3b4ae81a6235c7f44d232286d4a17f", "score": "0.46905687", "text": "public static final Fraction[][] transpose(final Fraction[][] matrix) {\n\t\tint rows = _rows(matrix);\n\t\tint columns = _columns(matrix);\n\n\t\tFraction[][] returnValue = new Fraction[columns][rows];\n\n\t\tfor (int i = 0; i < rows; i++) {\n\t\t\tfor (int j = 0; j < columns; j++) {\n\t\t\t\treturnValue[j][i] = matrix[i][j];\n\t\t\t}\n\t\t}\n\n\t\treturn returnValue;\n\t}", "title": "" }, { "docid": "0731795d828efb4404d8969d1c101a5e", "score": "0.46873733", "text": "public static double[][] transpose(double[][] mat) {\r\n double[][] result = new double[mat[0].length][mat.length];\r\n for (int i = 0; i < result.length; i++) {\r\n for (int j = 0; j < result[0].length; j++) {\r\n result[i][j] = mat[j][i];\r\n }\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "7a435c1c78c7406b3666bf14c4dbc9ad", "score": "0.4680742", "text": "public static double[][] multMatrixAndVertex(double[][] matrixA, Vertex ver){\r\n \tdouble vectorVertex[][] = new double[3][1];\r\n vectorVertex[0][0] = ver.getX();\r\n vectorVertex[1][0] = ver.getY();\r\n vectorVertex[2][0] = ver.getZ();\r\n return multMatrixs(matrixA, vectorVertex);\r\n }", "title": "" }, { "docid": "065657bfe3dd961554fd798fa04cdf7e", "score": "0.46674684", "text": "public abstract void transposeAsColumn(Matrix A, int col, int i0, int i1);", "title": "" }, { "docid": "61808f3614e25da3613ae2d894e8fede", "score": "0.46473405", "text": "public static final Fraction[] fromMatrixToArray(final Fraction[][] matrix,\n\t\t\tint maxRow, int maxCol) {\n\t\tFraction[] returnValue = new Fraction[maxRow * maxCol];\n\n\t\tfor (int i = 0; i < maxRow; i++) {\n\t\t\tSystem.arraycopy(matrix[i], 0, returnValue, i * maxCol, maxCol);\n\t\t}\n\n\t\treturn returnValue;\n\t}", "title": "" }, { "docid": "cc7265b39549e458f9a5ab719957f817", "score": "0.4645182", "text": "public double[][] getGlcm(){\n\t\treturn glcm;\n\t}", "title": "" }, { "docid": "2fdb0ec4af07ab00c8edbf703a00772f", "score": "0.46434137", "text": "public static final double[][] toDoubleMatrix(final Fraction[][] matrix) {\n\t\tint rows = _rows(matrix);\n\t\tint columns = _columns(matrix);\n\n\t\tdouble[][] returnValue = new double[rows][columns];\n\n\t\tfor (int i = 0; i < rows; i++) {\n\t\t\tfor (int j = 0; j < columns; j++) {\n\t\t\t\treturnValue[i][j] = matrix[i][j].toDouble();\n\t\t\t}\n\t\t}\n\n\t\treturn returnValue;\n\t}", "title": "" }, { "docid": "6301b27586ea79407fb38ed0a8be7af4", "score": "0.46388707", "text": "public static double[][] transpose(double[][] mat)\n {\n int x = mat.length;\n int y = mat[0].length;\n double[][] ret = new double[y][x];\n\n for (int i = 0; i < y; i++)\n {\n for (int j = 0; j < x; j++)\n {\n ret[i][j] = mat[j][i];\n }\n }\n return ret;\n }", "title": "" }, { "docid": "e6d20b8290ce1c3afeb3f469f85b653b", "score": "0.46321493", "text": "@SuppressWarnings(\"unchecked T cast\")\n public T[] getColumnAsArray(int columnNumber) {\n Class<?> clazz = matrix.getData().getClass().getComponentType().getComponentType();\n T[] tmpArray = (T[]) Array.newInstance(clazz, matrix.getRow());\n for (int i = 0; i < matrix.getRow(); i++)\n tmpArray[i] = matrix.getValue(i, columnNumber);\n\n return tmpArray;\n }", "title": "" }, { "docid": "4073b1ca36b9c6b84237becb84b3325e", "score": "0.4630638", "text": "public static double[][] to2DArray(GMatrix A) {\n int R=A.getNumRow(),C=A.getNumCol();\n double[][] ans=new double[R][];\n for (int r=0; r<R; r++){\n ans[r]=new double[C];\n for (int c=0; c<C;c++)\n ans[r][c]=A.getElement(r,c); }\n return ans;\n }", "title": "" }, { "docid": "c53b31d0df4e21169b9175b84166ff6d", "score": "0.46290344", "text": "Matrix like(int rows, int columns);", "title": "" }, { "docid": "9f632b8d198bd9ec024442e5d48ce3d3", "score": "0.46247762", "text": "public CyMatrix[] getCoordinates(CyMatrix matrix){\n\t\tCyMatrix[] components = new CyMatrix[eigen_values.length];\n\n\t\tfor(int j=eigen_values.length-1, k=0;j>=0;j--,k++){\n\t\t\t// double[] w = new double[vectors.length];\n\t\t\tCyMatrix result = CyMatrixFactory.makeLargeMatrix(matrix.getNetwork(), matrix.nRows(),1);\n\t\t\tfor(int i=0;i<eigen_vectors.length;i++){\n\t\t\t\tresult.setValue(i,j,eigen_vectors[i][j]);\n\t\t\t}\n\t\t\t// System.out.println(\"matrix: \"+matrix.printMatrixInfo());\n\t\t\t// System.out.println(\"vector: \"+result.printMatrixInfo());\n\t\t\tSystem.out.println(\"Matrix rows \"+matrix.printMatrixInfo());\n\t\t\tSystem.out.println(\"Result rows \"+result.printMatrixInfo());\n\t\t\tMatrix mat = matrix.multiplyMatrix(result);\n\t\t\t// System.out.println(\"After vector multiply: \"+mat.printMatrixInfo());\n\t\t\tcomponents[k] = matrix.copy(mat);\n\t\t\tcomponents[k].printMatrixInfo();\n\t\t\tcomponents[k].writeMatrix(\"component_\"+k+\".txt\");\n\t\t\t// System.out.println(\"Component matrix \"+k+\" has \"+components[k].getRowNodes().size()+\" nodes\");\n\t\t}\n\n\t\treturn components;\n\t}", "title": "" }, { "docid": "c39ea555fbc2cd17c1e53c0f342f0a94", "score": "0.46210337", "text": "Matrix transpose();", "title": "" }, { "docid": "9af1bac9a5f4a2ab15e828f1076bab8c", "score": "0.46121043", "text": "public static double[][] rowVectorToMatrix(double[] row) {\n return transpose(toColVector(row));\n }", "title": "" }, { "docid": "08e460b1d69b8e425cdaa86b598548f5", "score": "0.45979497", "text": "public static double[][] randomMatrix(int numRows, int numCols){\n double[][] randMatrix = new double[numRows][numCols];\n double flipSign, randValue;\n for(int i = 0; i < numRows; i++){\n for(int j = 0; j < numCols; j++){\n flipSign = Math.random(); randValue = Math.random();\n randMatrix[i][j] = (flipSign > 0.5) ? randValue : (-1*randValue);\n }\n }\n return randMatrix;\n }", "title": "" }, { "docid": "326b1a282f45eeef8f33fdf9f9c160d6", "score": "0.45950034", "text": "public DoubleMatrix1D getColumnVector(final int index) {\n final double[] res = new double[_rows];\n for (int i = 0; i < _rows; i++) {\n res[i] = _data[i][index];\n }\n return new DoubleMatrix1D(res);\n }", "title": "" }, { "docid": "ee389de554c33c560b7026903c095b47", "score": "0.45852527", "text": "public double[][] getMatrix(){\n return this.matrix;\n }", "title": "" }, { "docid": "8567677f26b86875ad051da44b60bb8b", "score": "0.45832068", "text": "public static double[][] copy(double[][] mtx) {\r\n\t\tdouble[][] out = new double[mtx.length][mtx[0].length];\r\n\t\tfor (int i = 0; i < mtx.length; i++) {\r\n\t\t\tSystem.arraycopy(mtx[i], 0, out[i], 0, mtx[i].length);\r\n\t\t}\r\n\t\treturn out;\r\n\t}", "title": "" }, { "docid": "1cebaba1997b9a2b7d4a1db04472a7de", "score": "0.45764196", "text": "public static final Fraction[][] toMatrixFromArray(Fraction[] array,\n\t\t\tint rows, int cols) {\n\t\tFraction[][] returnValue = new Fraction[rows][cols];\n\n\t\tfor (int i = 0; i < rows; i++) {\n\t\t\tSystem.arraycopy(array, i * cols, returnValue[i], 0, cols);\n\t\t}\n\n\t\treturn returnValue;\n\t}", "title": "" }, { "docid": "39aba1ac48d244b6ed7f678ee784e169", "score": "0.45624602", "text": "public static double[] d1ColumnNorm(double[] a, int m1, int n1, int n2) {\r\n\t\tdouble[] retval = new double[m1 * n2];\r\n\r\n\t\tfor (int i = 0; i < n2; i++) {\r\n\t\t\tdouble sum = 0;\r\n\t\t\tint k = i;\r\n\t\t\tfor (int j = 0; j < m1; j++, k += n1) {\r\n\t\t\t\tdouble tmp = a[k];\r\n\t\t\t\tsum += tmp * tmp;\r\n\t\t\t}\r\n\t\t\tsum = Math.sqrt(sum);\r\n\t\t\tk = i;\r\n\t\t\tint l = i;\r\n\t\t\tfor (int j = 0; j < m1; j++, k += n1, l += n2) {\r\n\t\t\t\tretval[l] = a[k] / sum;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn retval;\r\n\t}", "title": "" }, { "docid": "b76c5b67534558d38c0c6450ad0ad1a0", "score": "0.4561558", "text": "public float get(int rowIndex, int columnIndex) { return matrix.get(index.get(rowIndex), columnIndex); }", "title": "" }, { "docid": "8108cc5fe1598ca65004ef8a81f30aba", "score": "0.45521593", "text": "public float[] getTexMatrix() {\n System.arraycopy(mTexMatrix, 0, mResultMatrix, 0, 16);\n return mResultMatrix;\n }", "title": "" }, { "docid": "f4b1aaea974f629596c333ad85d3f972", "score": "0.45445684", "text": "public static Matrix synchronizedMatrixByColumns(Matrix A) {\n return new SynchronizedColumnMatrix(A);\n }", "title": "" }, { "docid": "cdc2811ddce2a527e6afaa34a61a2b87", "score": "0.45437318", "text": "public com.guidewire.datamodel.ComputedcolumnDocument.Computedcolumn[] getComputedcolumnArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(COMPUTEDCOLUMN$0, targetList);\r\n com.guidewire.datamodel.ComputedcolumnDocument.Computedcolumn[] result = new com.guidewire.datamodel.ComputedcolumnDocument.Computedcolumn[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "title": "" }, { "docid": "dee79713986f61840511fb1400117f54", "score": "0.4537301", "text": "public static final Fraction[][] multiply(final Fraction[][] matrix,\n\t\t\tfinal Fraction scaleFactor) {\n\t\tint rows = _rows(matrix);\n\t\tint columns = _columns(matrix);\n\n\t\tFraction[][] returnValue = new Fraction[rows][columns];\n\n\t\tfor (int i = 0; i < rows; i++) {\n\t\t\tfor (int j = 0; j < columns; j++) {\n\t\t\t\treturnValue[i][j] = matrix[i][j].multiply(scaleFactor);\n\t\t\t}\n\t\t}\n\n\t\treturn returnValue;\n\t}", "title": "" }, { "docid": "d6d9eb8f7167ad33a5bcf47789bcadbc", "score": "0.4536777", "text": "public static double[][] transpose(double[][] matrix) {\r\n int rows = matrix.length;\r\n int cols = matrix[0].length;\r\n double[][] transposeMatrix = new double[rows][cols];\r\n for (int i = 0; i < rows; i++)\r\n for (int j = 0; j < cols; j++)\r\n transposeMatrix[j][i] = matrix[i][j];\r\n return transposeMatrix;\r\n }", "title": "" }, { "docid": "665dcc0d5925a5ef3987529ea1559e6f", "score": "0.45340335", "text": "public static double[][] log(double[][] mat) {\r\n double[][] result = new double[mat.length][mat[0].length];\r\n for (int i = 0; i < mat.length; i++) {\r\n for (int j = 0; j < mat[0].length; j++) {\r\n result[i][j] = Math.log(mat[i][j]);\r\n }\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "b4bb189e7ae9dcac64704ea08988f9b1", "score": "0.452083", "text": "public static double[] matrix_projection(double[][] distance_matrix) {\n return null;\n }", "title": "" }, { "docid": "84369d6fce7ea82a1847a7118df96281", "score": "0.45148295", "text": "public double[][] getVerticesAsDouble() {\r\n\t\tfinal double[][] result = new double[numberOfVertices()][3];\r\n\t\tint i = 0;\r\n\t\tHE_Vertex v;\r\n\t\tfinal Iterator<HE_Vertex> vItr = vItr();\r\n\t\twhile (vItr.hasNext()) {\r\n\t\t\tv = vItr.next();\r\n\t\t\tresult[i][0] = (float) (v.x);\r\n\t\t\tresult[i][1] = (float) (v.y);\r\n\t\t\tresult[i][2] = (float) (v.z);\r\n\t\t\ti++;\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "a737d4f12861ff96d888dee012a00133", "score": "0.45095167", "text": "public double[] toArray() {\n\t\tdouble[] result = new double[rows*cols];\n\t\tint count = 0;\n\t\tfor(int i = 0; i<rows; i++) {\n\t\t\tfor(int j = 0; j<cols; j++) {\n\t\t\t\tresult[count] = data[i][j];\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "9f1dc9d605430db5c3c76660ae6a6f0f", "score": "0.45080334", "text": "public static double[][] randn(int row, int col) {\r\n Random rand = new Random();\r\n double[][] mat = new double[row][col];\r\n for (double[] r : mat)\r\n \tfor(int j=0; j<col; j++)\r\n \t\tr[j] = rand.nextGaussian();\r\n return mat;\r\n }", "title": "" }, { "docid": "066df0b39a17bdcf472caaefcf974f05", "score": "0.45054734", "text": "public PrimitiveMatrix colmean(final PrimitiveMatrix arg1);", "title": "" }, { "docid": "52cbd6b6a4c0a5854018a57788cac369", "score": "0.45043913", "text": "Matrix like();", "title": "" }, { "docid": "7fba866b57a551bcb5b6ec1f393cac50", "score": "0.45040482", "text": "public com.guidewire.datamodel.ViewEntityColumnDocument.ViewEntityColumn[] getViewEntityColumnArray()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n java.util.List targetList = new java.util.ArrayList();\r\n get_store().find_all_element_users(VIEWENTITYCOLUMN$6, targetList);\r\n com.guidewire.datamodel.ViewEntityColumnDocument.ViewEntityColumn[] result = new com.guidewire.datamodel.ViewEntityColumnDocument.ViewEntityColumn[targetList.size()];\r\n targetList.toArray(result);\r\n return result;\r\n }\r\n }", "title": "" }, { "docid": "828b79c2cd9c246b63beca000baf39ab", "score": "0.45003945", "text": "public static final Fraction[] fromMatrixToArray(final Fraction[][] matrix) {\n\t\treturn fromMatrixToArray(matrix, _rows(matrix), _columns(matrix));\n\t}", "title": "" }, { "docid": "bff85abaa7157ab1f177c370ee2d6379", "score": "0.44870296", "text": "public static double[][] getMatCofactors(double[][] mat)\n {\n int dim = mat.length;\n double[][] ret = new double[dim][dim];\n double[][] matmin = getMatMinors(mat);\n\n for (int x = 0; x < dim; x++)\n {\n for (int y = 0; y < dim; y++)\n {\n double val = matmin[x][y];\n if ((x + y) % 2 == 1) val = -val;\n ret[x][y] = val;\n }\n }\n ret = transpose(ret);\n return ret;\n }", "title": "" }, { "docid": "545d7debb35068ad0e94798beca57860", "score": "0.44850162", "text": "public static int[] getColumn(int[][] mtx, int col) {\r\n\r\n\t\tint[] out = new int[mtx.length];\r\n\r\n\t\tfor (int i = 0; i < mtx.length; i++) {\r\n\r\n\t\t\tout[i] = mtx[i][col];\r\n\r\n\t\t}\r\n\r\n\t\treturn out;\r\n\t}", "title": "" }, { "docid": "44a75bff5f9db96beb9d94cea76dd5d6", "score": "0.44840693", "text": "public double[][] copyMatrixIntoDouble() {\n\t\tdouble newMatrix[][] = new double[matrix.length][];\n\n\t\tfor (int i = 0; i < newMatrix.length; i++) {\n\t\t\tnewMatrix[i] = new double[matrix[i].length];\n\t\t\tfor (int j = 0; j < newMatrix[i].length; newMatrix[i][j] = matrix[i][j++]);\n\t\t}\n\t\treturn newMatrix;\n\t}", "title": "" }, { "docid": "68f975563a2e1bcb686cd3f93ca2d06d", "score": "0.4481919", "text": "public static float[] cubeFacesToArray(float[] model, int coords_per_vertex) {\r\n float coords[] = new float[6 * 6 * coords_per_vertex];\r\n int index = 0;\r\n for (int iFace=0; iFace < 6; iFace++) {\r\n for (int iVertex=0; iVertex < 6; iVertex++) {\r\n for (int iCoord=0; iCoord < coords_per_vertex; iCoord++) {\r\n coords[index] = model[iFace*coords_per_vertex + iCoord];\r\n index++;\r\n }\r\n }\r\n }\r\n return coords;\r\n }", "title": "" }, { "docid": "04bb25d0049fe6626296a2274722c2d0", "score": "0.4481059", "text": "public Object[][] matrix_inverse(Object[][] matrix){\n Object[][] matrixI = new Object[matrix.length][matrix.length];\n\n //identity matrix creation\n for(int i=0;i<matrix.length;i++)\n for(int j=0;j<matrix.length;j++)\n if(i==j) matrixI[i][j]=1;\n else matrixI[i][j]=0;\n\n\n double d,k;\n for(int i=0;i<matrix.length;i++){\n d = Double.parseDouble(matrix[i][i].toString());\n for(int j=0;j<matrix.length;j++){\n matrix[i][j] = Double.parseDouble(matrix[i][j].toString())/d;\n matrixI[i][j] = Double.parseDouble(matrixI[i][j].toString())/d;\n }\n for(int x=0;x<matrix.length;x++){\n if(x!=i){\n k = Double.parseDouble(matrix[x][i].toString());\n for(int j=0;j<matrix.length;j++){\n matrix[x][j] = Double.parseDouble(matrix[x][j].toString())-(Double.parseDouble(matrix[i][j].toString())*k);\n matrixI[x][j] = Double.parseDouble(matrixI[x][j].toString())-(Double.parseDouble(matrixI[i][j].toString())*k);\n }\n }\n }\n }\n\n return matrixI;\n }", "title": "" }, { "docid": "6c2ee18a2b820ffb92ffb3687f4dd677", "score": "0.44588327", "text": "public abstract void glUniformMatrix4fv(\n int location,\n int count,\n boolean transpose,\n float[] value,\n int offset\n );", "title": "" }, { "docid": "87d5f562fb299e8dead1f36753526fa9", "score": "0.4448572", "text": "public PrimitiveMatrix colsum(final PrimitiveMatrix arg1);", "title": "" }, { "docid": "830f4d09363cb0299ec388194ffe8a9b", "score": "0.44407326", "text": "public float[] calculateFeatureVector() {\n if (featureVector != null) {\n return featureVector;\n }\n\n if (normalized == null) {\n normalizeBlocks();\n }\n\n featureVector = calculateFeatureVector(normalized);\n return featureVector;\n }", "title": "" }, { "docid": "bf5d75962fba9a323c8698b59001734f", "score": "0.44378012", "text": "public static double[][] rand(int row, int col) {\r\n Random rand = new Random();\r\n double[][] mat = new double[row][col];\r\n for (double[] r : mat)\r\n \tfor(int j=0; j<col; j++)\r\n \t\tr[j] = rand.nextDouble();\r\n return mat;\r\n }", "title": "" }, { "docid": "dec26c0b1793d5d9dc61668e60bf1b61", "score": "0.44371545", "text": "private static byte[] getColumn(byte[][] matrix, int column){\r\n byte[] tempbytes=new byte[4];\r\n for(int i=0;i<4;i++){\r\n tempbytes[i]=matrix[i][column];\r\n \r\n }\r\n return tempbytes;\r\n }", "title": "" }, { "docid": "60609b7e922b8c62aa78ea26cc5d529c", "score": "0.4426372", "text": "public static double[] matrixMult(double[] m1, double[][] m2) {\n int colsOne = m1.length;\n int rowsTwo = m2.length;\n int colsTwo = m2[0].length;\n\n if (colsOne != rowsTwo) {\n System.err.println(\"Columns in Matrix 1 must be equal to the number of rows in matrix 2\");\n return null;\n }\n\n double[] res = new double[colsTwo];\n\n for (int k = 0; k < colsTwo; k++) {\n for (int i = 0; i < rowsTwo; i++) {\n res[k] += m1[i] * m2[i][k];\n }\n }\n return res;\n }", "title": "" }, { "docid": "6a853642e4200c7f3bf5f3b20d0a7fa1", "score": "0.44207203", "text": "public static double[] d1Transpose(double[] a, int m, int n) {\r\n\t\tdouble[] retval = new double[m * n];\r\n\t\tfor (int i = 0; i < m; i++) {\r\n\t\t\tint ii = i * n;\r\n\t\t\tint jj = i;\r\n\t\t\tfor (int j = 0; j < n; j++, ii++, jj += m) {\r\n\t\t\t\tretval[jj] = a[ii];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn retval;\r\n\t}", "title": "" }, { "docid": "d44b1b2a764f8f5ab0e92da573eec0b7", "score": "0.44186178", "text": "private double[][] calcMat() {\n return new double[][] {{1, l/n1},{0, 1}};\n }", "title": "" }, { "docid": "6cecf7d83901e594030a72cb668a562a", "score": "0.44149116", "text": "public static double[][] inverse(double[][] mat) {\r\n double[][] temp = new double[mat.length][mat[0].length];\r\n for (int i = 0; i < mat.length; i++) {\r\n for (int j = 0; j < mat[0].length; j++) {\r\n temp[i][j] = 1 / mat[i][j];\r\n }\r\n }\r\n return temp;\r\n }", "title": "" }, { "docid": "6093b2472e250b947f6f25709064cceb", "score": "0.44104797", "text": "public CoreMat4X4 getMatrix() {\r\n long varmatrixCoreWorldMatrixComponent = CoreJni.getVarmatrixCoreWorldMatrixComponent(this.agpCptrWorldMatrixComponent, this);\r\n if (varmatrixCoreWorldMatrixComponent == 0) {\r\n return null;\r\n }\r\n return new CoreMat4X4(varmatrixCoreWorldMatrixComponent, false);\r\n }", "title": "" }, { "docid": "5e3d282d50941326d51f255ca4148a15", "score": "0.43994182", "text": "public static int[] fullmatrixProduct(int[][] matrix, int[] X) {\n\n\n\n\t\tint[] result= new int[X.length];\n\t\tfor(int i=0;i<X.length;i++) {\n\t\t\tfor(int j=0;j<X.length;j++) {\n\t\t\t\tresult[i]+=matrix[i][j]*X[j];\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\n\t}", "title": "" }, { "docid": "cc9cf51822d6cc244cc1e6772b3878a0", "score": "0.43966874", "text": "public\n double[] getLowLevelFeatureAsArray() {\n final double[] array = new double[lowLevelFeature.size()];\n for (int i = 0; i < lowLevelFeature.size(); i++) {\n array[i] = (double)lowLevelFeature.getFloat(i);\n }\n return array;\n }", "title": "" }, { "docid": "51c05010858b4dd7d80bd53e3952cac3", "score": "0.43860596", "text": "public double[] toDoubleArray();", "title": "" }, { "docid": "e776918c0a8b36b33a38ef1f46258638", "score": "0.43775466", "text": "public Matriz transpuesta (){\n\t\tint matriz[][] = new int [_m[0].length][_m.length];\n for(int i = 0; i < _m.length; i++){\n for (int j = 0; j <_m[0].length; j++){\n matriz[j][i] = _m[i][j];\n }\n }\n Matriz transpuesta = new Matriz(matriz);\n\t\treturn transpuesta;\n\t}", "title": "" }, { "docid": "ea5ea8ced4fb5636e46795b5c3468d36", "score": "0.43708077", "text": "public abstract void glUniformMatrix3fv(\n int location,\n int count,\n boolean transpose,\n float[] value,\n int offset\n );", "title": "" }, { "docid": "69ac75b2ca98c9d074662e69b99bcc67", "score": "0.4366374", "text": "Matrix mo93792o();", "title": "" }, { "docid": "52e0a2c48521ac11560b4f820e2b766d", "score": "0.43501368", "text": "public double[][] toArray() {\n final DoubleMatrix2D temp = new DoubleMatrix2D(_data);\n return temp.getData();\n }", "title": "" }, { "docid": "0e514429edcfef8f566ac13c036e7a90", "score": "0.43446758", "text": "public Matrix getColumnMatrix(int column) {\r\n\t\tdouble[][] data = new double[this.data.length][1];\r\n\t\tfor (int i = 0; i < this.data.length; i++) {\r\n\t\t\tdata[i][0] = this.data[i][column];\r\n\t\t}\r\n\t\treturn new Matrix(data);\r\n\t}", "title": "" }, { "docid": "43bb93df9f5cd76c5de8c4f918295829", "score": "0.43389377", "text": "public static double ColumnDotProduct( double matrix[][], \n int col_1,\n int col_2 )\n {\n if ( matrix == null || \n matrix.length == 0 || \n matrix[0].length <= col_1 ||\n matrix[0].length <= col_2 )\n return Double.NaN;\n\n double sum = 0;\n for ( int row = 0; row < matrix.length; row++ )\n sum += matrix[row][col_1] * matrix[row][col_2];\n\n return sum;\n }", "title": "" } ]
d026ad93db12b25f67e87941415ce4c9
Obtener todas las coordinador existentes en la base de datos.
[ { "docid": "f60a8a51a4b4bba6abcf4094a97e1afe", "score": "0.67727375", "text": "public List<CoordinadorEntity> getCoordinadors() {\r\n LOGGER.log(Level.INFO, \"Inicia proceso de consultar todas las coordinador\");\r\n // Note que, por medio de la inyección de dependencias se llama al método \"findAll()\" que se encuentra en la persistencia.\r\n List<CoordinadorEntity> coordinador = persistence.findAll();\r\n LOGGER.log(Level.INFO, \"Termina proceso de consultar todas las coordinador\");\r\n return coordinador;\r\n }", "title": "" } ]
[ { "docid": "d38eb4ca99b36851b1926a31842a8ecc", "score": "0.6225457", "text": "private void crearCoordenadas() {\n \t\tfor (int fila = 0; fila < FILAS_TABLERO; fila++) {\n \t\t\tfor(int columna = 0; columna < COLUMNAS_TABLERO; columna++) {\n \t\t\t\tCoordenada coordenada = new Coordenada(fila, columna);\n \t\t\t\tcasilleros[fila][columna] = new Casillero(coordenada);\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "20b153844f89d888e7364de22825fb24", "score": "0.58248276", "text": "private void CargarCoordenadas(List<GeoDato> datos){\n\t\tPoint p = null;\r\n\t\tBoolean hayDatos = datos.size() > 0;\r\n\t\tString label = \"\";\r\n\t\t\r\n\t\tfor(GeoDato g: datos){\r\n\t\t\tif (g.getObjeto().getSpatialRepresentation() instanceof Point){\r\n\t\t\t\tp = (Point)g.getObjeto().getSpatialRepresentation();\r\n\t\t\t}else{\r\n\t\t\t\tif (g.getObjeto().getSpatialRepresentation() instanceof Polygon){\r\n\t\t\t\t\tPolygon polygon = (Polygon)g.getObjeto().getSpatialRepresentation();\r\n\t\t\t\t\tp = polygon.getCenter();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tthis.doublesLonX.add(Double.parseDouble(p.getCoordiante().getX()));\r\n\t\t\tthis.doublesLatY.add(Double.parseDouble(p.getCoordiante().getY()));\r\n\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "870e5fb819c16ab255af2e9314ffecbe", "score": "0.5581232", "text": "public void limparCoordenadasItens(){\n\t\tfilaCoordenadasItensColetados.clear();\n\t}", "title": "" }, { "docid": "847cbcd22452d4589503e04d7285cf5b", "score": "0.5510141", "text": "public void colocarPiezas() {\r\n\t\tPieza blanca, negra;\r\n\t\tfor (int i = 0; i < jugadorBlanco.getPiezas().size(); i++) {\r\n\t\t\tblanca = jugadorBlanco.getPiezas().get(i);\r\n\t\t\tcasillas[blanca.getCoordX()][blanca.getCoordY()].setPieza(blanca);\r\n\t\t\tnegra = jugadorNegro.getPiezas().get(i);\r\n\t\t\tcasillas[negra.getCoordX()][negra.getCoordY()].setPieza(negra);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "01b27324ae99e0505a5ed6313fb9aba8", "score": "0.536261", "text": "@Override\n\tpublic boolean hayObstaculo() {\n\t\t// TODO esto funciona??????\n\t\t// no debería mirar la siguiente calle o avenida segun dirección?????\n\t\t//return ciudad.HayObstaculo(avenida, calle);\n \n // establezco la posicion del robot\n\t\tint av = avenida;\n\t\tint ca = calle;\n\n\t\t// verifico la orientacion para averiguar si hay obstaculo en la proxima\n\t\t// avenida o calle\n\t\tif (direccion.getSentido() == Direccion.NORTE)\n\t\t\tca++;\n\t\telse if (direccion.getSentido() == Direccion.SUR)\n\t\t\tca--;\n\t\telse if (direccion.getSentido() == Direccion.ESTE)\n\t\t\tav++;\n\t\telse if (direccion.getSentido() == Direccion.OESTE)\n\t\t\tav--;\n\n\t\treturn ciudad.HayObstaculo(av, ca);\n\t}", "title": "" }, { "docid": "db1dc8c52505161baa8544493558a9f9", "score": "0.5346531", "text": "private ArrayList<Coordinate> getCoordinates(Board board) {\r\n\t\tint i = 0;\r\n\t\tArrayList<Coordinate> possiblecoor = new ArrayList<Coordinate>();\r\n\t\tTile[][] fields = board.getBoard();\r\n\t\tboolean doorgaan = true;\r\n\r\n\t\twhile (doorgaan) {\r\n\t\t\tint count = 0;\r\n\t\t\tfor (int k = 0; k <= (2 * i); k++) {\r\n\t\t\t\tif (fields[(protocol.Protocol.Settings.ORGINX - i) + k][protocol.Protocol.Settings.ORGINY + i] == null) {\r\n\t\t\t\t\tcount++;\r\n\t\t\t\t\tif (movePossible(fields, (protocol.Protocol.Settings.ORGINX - i) + k, protocol.Protocol.Settings.ORGINY + i)) {\r\n\t\t\t\t\t\tpossiblecoor.add(new Coordinate((protocol.Protocol.Settings.ORGINX - i) + k, protocol.Protocol.Settings.ORGINY + i));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (fields[(protocol.Protocol.Settings.ORGINX - i) + k][protocol.Protocol.Settings.ORGINY - i] == null) {\r\n\t\t\t\t\tcount++;\r\n\t\t\t\t\tif (movePossible(fields, (protocol.Protocol.Settings.ORGINX - i) + k, protocol.Protocol.Settings.ORGINY - i)) {\r\n\t\t\t\t\t\tpossiblecoor.add(new Coordinate((protocol.Protocol.Settings.ORGINX - i) + k, protocol.Protocol.Settings.ORGINY - i));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfor (int k = 1; k < (2 * i); k++) { \r\n\t\t\t\tif (fields[protocol.Protocol.Settings.ORGINX - i][(protocol.Protocol.Settings.ORGINY + i) - k] == null) {\r\n\t\t\t\t\tcount++;\r\n\t\t\t\t\tif (movePossible(fields, protocol.Protocol.Settings.ORGINX - i, (protocol.Protocol.Settings.ORGINY + i) - k)) {\r\n\t\t\t\t\t\tpossiblecoor.add(new Coordinate(protocol.Protocol.Settings.ORGINX - i, (protocol.Protocol.Settings.ORGINY + i) - k));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (fields[protocol.Protocol.Settings.ORGINX + i][(protocol.Protocol.Settings.ORGINY + i) - k] == null) {\r\n\t\t\t\t\tcount++;\r\n\t\t\t\t\tif (movePossible(fields, protocol.Protocol.Settings.ORGINX + i, (protocol.Protocol.Settings.ORGINY + i) - k)) {\r\n\t\t\t\t\t\tpossiblecoor.add(new Coordinate(protocol.Protocol.Settings.ORGINX + i, (protocol.Protocol.Settings.ORGINY + i) - k));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (i > 0 && count == (i * 8)) {\r\n\t\t\t\tdoorgaan = false;\r\n\t\t\t} else {\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn possiblecoor;\r\n\t}", "title": "" }, { "docid": "8c78972721ee421674451198656f60cc", "score": "0.5313181", "text": "public List<trasferCoordinates> getCoordinates(Travel travel, User usr){\n List<trasferCoordinates> usersPos=null;\n\n //modificata query. aggiunto \"utente.email<>?\"\"\n String sql = \"SELECT email,latitudine,longitudine\\n\" +\n \" FROM utente,viaggio,ultimaposizione p\\n\" +\n \" WHERE utente.codice_viaggio=viaggio.codice_viaggio AND p.codice_utente=utente.codice_utente AND viaggio.codice_viaggio=p.codice_viaggio AND utente.email<>? AND p.codice_viaggio=?\";\n\n try (Connection connection = newConnection();\n PreparedStatement statement = connection.prepareStatement(sql)) {\n\n //settaggio indirizzo email nello statement\n statement.setString(1, usr.getEmail());\n statement.setInt(2, travel.getID());\n try (ResultSet res = statement.executeQuery()) {\n usersPos = new ArrayList<>();\n\n while (res.next()) {\n usersPos.add(new trasferCoordinates(new Coordinates(res.getFloat(2), res.getFloat(3)), new User(res.getString(1), null), null));\n }\n }\n\n } catch (SQLException e) {\n e.printStackTrace();\n System.out.println(\"errore nel prendere le posizioni degli utenti del viaggio\");\n return null;\n }\n return usersPos;\n }", "title": "" }, { "docid": "24a712c606625b3edce498aa9e73676a", "score": "0.53073317", "text": "public static void getCoordinats(Command cmd) {\n\t\tint y = cmd.map.length;\n\t\tint x = cmd.map[0].length; // const for any i\n\t\t//\n\t\tint[] coords = new int[4];\n\n\t\t\t\n\t\tfor (int i = 0, comy = cmd.real.length; i < (comy - y + 1); i++) {\n\t\t\tfor (int j = 0, comx = cmd.real[i].length; j < (comx - x + 1); j++) {\n\t\t\t\tif (cmd.strCompare(cmd.real[i][j], cmd.map[0][0]) || cmd.real[0][0] == null) { //|| ((cmd.strCompare(cmd.map[0][0], \"x\")) && (cmd.strCompare(cmd.real[i][j], \"a\")))) {\n\t\t\t\t\tint i2 = i;\n\t\t\t\t\tint j2 = j;\n\t\t\t\t\tFor:for (int i3 = 0; i3 < y; i3++) {\n\t\t\t\t\t\t\tfor (int j3 = 0; j3 < x; j3++) {\n\t\t\t\t\t\t\t\tif (!cmd.strCompare(cmd.map[i3][j3], cmd.real[i2][j2]) && cmd.real[i2][j2] != null) { //&& !((cmd.strCompare(cmd.map[i3][j3], \"x\")) && (cmd.strCompare(cmd.real[i2][j2], \"a\")))) { //here maybe a condition for don't researched field\n\t\t\t\t\t\t\t\t\tbreak For;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif (i3 == (y - 1) && j3 == (x - 1)) {\n\t\t\t\t\t\t\t\t\t//its a coords in full map in the begin_last cell\n\t\t\t\t\t\t\t\t\tcmd.currCoords[2] = (cmd.Y_EXT-2 - i);\n\t\t\t\t\t\t\t\t\tcmd.currCoords[3] = (cmd.X_EXT-2 - j);\n\t\t\t\t\t\t\t\t\t//its a coords in full map in now momen\n\t\t\t\t\t\t\t\t\tcmd.currCoords[0] = (cmd.currCoords[0] - i);\n\t\t\t\t\t\t\t\t\tcmd.currCoords[1] = (cmd.currCoords[1] - j);\n\t\t\t\t\t\t\t\t\tmemI = i;\n\t\t\t\t\t\t\t\t\tmemJ = j;\t\t\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tj2++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\ti2++;\n\t\t\t\t\t\tj2 = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\t\n\t\t\n\t\t\n//\t\tString[][] comp = Cutarr(cmd.real);\t\t\n//\t\tfor (int i = 0, comy = comp.length; i < (y - comy + 1); i++) {\n//\t\t\tfor (int j = 0, comx = comp[0].length; j < (x - comx + 1); j++) {\n//\t\t\t\tif (cmd.strCompare(cmd.map[i][j], comp[0][0]) || comp[0][0] == null) {\n//\t\t\t\t\tint i2 = i;\n//\t\t\t\t\tint j2 = j;\n//\t\t\t\t\tFor:for (int i3 = 0; i3 < comy; i3++) {\n//\t\t\t\t\t\tfor (int j3 = 0; j3 < comx; j3++){\n//\t\t\t\t\t\t\tif (!cmd.strCompare(comp[i3][j3], cmd.map[i2][j2]) && comp[i3][j3] != null) { //here maybe a condition for don't researched field\n//\t\t\t\t\t\t\t\tbreak For;\n//\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\tif (i3 == (comy - 1) && j3 == (comx - 1)) {\n//\t\t\t\t\t\t\t\t//its a coords in full map in the begin_last cell\n//\t\t\t\t\t\t\t\tcmd.currCoords[2] = (i + cmd.Y_EXT-2-up);\n//\t\t\t\t\t\t\t\tcmd.currCoords[3] = (j + cmd.X_EXT-2-left);\n//\t\t\t\t\t\t\t\t//its a coords in full map in now momen\n//\t\t\t\t\t\t\t\tcmd.currCoords[0] = (i + cmd.currCoords[0] - up);\n//\t\t\t\t\t\t\t\tcmd.currCoords[1] = (j + cmd.currCoords[1] - left); \n//\t\t\t\t\t\t\t\t\n//\t\t\t\t\t\t\t\tmemI = i;\n//\t\t\t\t\t\t\t\tmemJ= j;\n//\t\t\t\t\t\t\t\tmemI2 = i2;\n//\t\t\t\t\t\t\t\tmemJ2= j2;\n//\t\t\t\t\t\t\t\tmemI3 = i3;\n//\t\t\t\t\t\t\t\tmemJ3= j3;\n//\t\t\t\t\t\t\t\t\n//\t\t\t\t\t\t\t\treturn;\n//\t\t\t\t\t\t\t}\n//\t\t\t\t\t\t\tj2++;\n//\t\t\t\t\t\t}\n//\t\t\t\t\t\ti2++;\n//\t\t\t\t\t\tj2 = j;\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n//\n//\t\t}\n\n\t}", "title": "" }, { "docid": "45c81f4e3e2f0b8371dbe5b8272df90a", "score": "0.5294307", "text": "public boolean existeListaContatoCliente_Estabelece();", "title": "" }, { "docid": "42b868f7f5350951504845221c3e60a4", "score": "0.5286626", "text": "String connectedCities(String origin, String destination);", "title": "" }, { "docid": "b1af5f421dbd996c80114338946c760a", "score": "0.5278458", "text": "public TreeMap<Integer, ArrayList<Integer>> obtenerColoreo(){\n\t\tTreeMap<Integer, Integer> coloresAsignados = new TreeMap<>();\n\t\tobtenerColoresVecinos(coloresAsignados);\n\t\treturn getColoreo(coloresAsignados);\n\t}", "title": "" }, { "docid": "478bbe964ca3ec10810c725e49257833", "score": "0.5261786", "text": "public String getCoordenadas() {\n return coordenadas;\n }", "title": "" }, { "docid": "4e73c6ec547476acfcbd8c4f3002c275", "score": "0.5258961", "text": "private void cargarMarcasDb() {\n latLngLocalesCol = basedeDatos.cargarMarcas();\n for (LatLng localiza : latLngLocalesCol) {\n mMap.addMarker(new MarkerOptions()\n .icon(bitmapDescriptorFromVector(Mapa.this, R.drawable.cooprogreso_icon))\n .anchor(0.0f, 1.0f)\n .position(localiza));\n }\n }", "title": "" }, { "docid": "7f498c1d824242b871da34c05b1a1d5c", "score": "0.5250552", "text": "public void ConsultarBuzon(BaseDatos bd){\n \n System.out.println(\" Fecha Inicio Código propiedad Nombre Agente Pregunta Estado\");\n for(Consultas a: bd.getConsulta()){\n if (a.getCliente().getNombre().equals(this.getNombre())&& a.getCliente().getCedula().equals(this.getCedula())&& a.getCliente().getUsuario().equals(this.getUsuario())){\n System.out.println(a.mostrarPreguntas());\n }\n } \n }", "title": "" }, { "docid": "aa5e839f6409e7d723935bfc05a525e4", "score": "0.52282166", "text": "public TreeSet<String> getCiudades(PLoc p){\n\t\t//Inicializamos la variable de retorno\n\t\tTreeSet<String> t = null;\n\t\t//nuestro nodo actual en principio es la raiz\n\t\tNodoAG nodoactual = pr;\n\t\t//si no es null\n\t\tif(p != null) {\n\t\t\tt = new TreeSet<String>();\n\t\t\t//Cola provisional donde guardamos los nodos hijos siguientes\n\t\t\tQueue<NodoAG> cola = new LinkedList<NodoAG>();\n\t\t\t//mientras el nodo actual no sea nulo (el del inicio)\n\t\t\tif(nodoactual!=null) {\n\t\t\t\t//lo anyadimos a la cola\n\t\t\t\tcola.add(nodoactual);\n\t\t\t\t//Mientras la cola no este vacia, la recorremos entera\n\t\t\t\twhile(!cola.isEmpty()) {\n\t\t\t\t\t//Cogemos el nodo que antes se haya insertado\n\t\t\t\t\tnodoactual = cola.poll();\n\t\t\t\t\t//Si encuentra el nodo con el ploc que tenga el mismo pais que el del ploc pasado por parametro, lo metemos en el treeset\n\t\t\t\t\tif(nodoactual.getPD().getPais().equalsIgnoreCase(p.getPais())) {\n\t\t\t\t\t\tt.add(nodoactual.getPD().getCiudad());\n\t\t\t\t\t}else {\n\t\t\t\t\t\t//Si no la encuentra, mira todos los nodos derivados y los anyade a la cola\n\t\t\t\t\t\tif(nodoactual.getSE()!=null) {\n\t\t\t\t\t\t\tcola.add(nodoactual.getSE());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(nodoactual.getNE()!=null) {\n\t\t\t\t\t\t\tcola.add(nodoactual.getNE());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(nodoactual.getSO()!=null) {\n\t\t\t\t\t\t\tcola.add(nodoactual.getSO());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(nodoactual.getNO()!=null) {\n\t\t\t\t\t\t\tcola.add(nodoactual.getNO());\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\treturn t;\n\t}", "title": "" }, { "docid": "fbf2a52d3b06d7b936254aa8854ac872", "score": "0.5221033", "text": "public void ConfigInicial() {\n setLayout();\n\n //reviso si la base existe\n boolean existenSectores = false;\n ConexionesDBHelper conexionesDBHelper = new ConexionesDBHelper(this, \"DATOS\", null, 1);\n SQLiteDatabase db = conexionesDBHelper.getReadableDatabase();\n if (db != null) {\n //Existe base de datos\n String peridoActual = GetPeriodoActual();\n String aux = \"\";\n if(tablet.equals(\"A\")){\n //busco solo si está bajado el sector A\n aux = \"Select Conexiones_Id FROM \" + \"conexiones\" + \" WHERE \" + \"Conexiones_Periodo\" + \" = \\\"\" + peridoActual + \"\\\"\" +\n \" AND Conexiones_Sector\" + \" = \\\"\" + \"A\" + \"\\\"\";\n }else{\n //busco solo si está bajado el sector B\n aux = \"Select Conexiones_Id FROM \" + \"conexiones\" + \" WHERE \" + \"Conexiones_Periodo\" + \" = \\\"\" + peridoActual + \"\\\"\" +\n \" AND Conexiones_Sector\" + \" = \\\"\" + \"C\" + \"\\\"\";\n }\n try {\n Cursor c = db.rawQuery(aux, null);\n if (c != null) {\n if (c.moveToFirst()) {\n existenSectores = true;\n } else {\n existenSectores = false;\n }\n }\n db.close();\n } catch (Exception e) {\n existenSectores = false;\n }\n } else {\n Toast.makeText(this, \"No se puede accceder a la base de datos\", Toast.LENGTH_SHORT).show();\n }\n\n if(existenSectores == true){\n HaySectoresDescargados();\n } else {\n NoHaySectoresDescargados();\n }\n\n }", "title": "" }, { "docid": "c97e42c672cad6975d6b9e3690689aae", "score": "0.5219705", "text": "public List letrasVencidasTramos_cobrador_ordenDireccion_SC(int codCobrador) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.codCobrador = :par1\"\r\n + \" order by vcl.ventas.persona.direccion,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"par1\", codCobrador);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }", "title": "" }, { "docid": "5775ac73b179bfadec0954df963b7438", "score": "0.5185305", "text": "private void cargadatos() {\n //Si existe la carpeta se leen los ficheros\n if (Metodos.existecarpeta()) {\n leeficheros();\n } else {\n //Si no existe la carpeta se crea\n Metodos.creacarpeta();\n }\n }", "title": "" }, { "docid": "5609d63791716902042aa318a3a34627", "score": "0.5179609", "text": "private void setRegioneLista()\r\n\t {\r\n\t try{\r\n\t Regioni = null;\r\n\t Statement stmt = connection.createStatement();\r\n\t String sql = \"select distinct Regione from (localita)\";\r\n\t Regioni = stmt.executeQuery(sql);\r\n\t Regione_data= new Regione[numRegioni()];\r\n\t int i=0;\r\n\t while(Regioni.next()){\r\n\t\t\t Regione_data[i]=new Regione(Regioni.getString(\"REGIONE\"), String.valueOf(numComuni()));\r\n\t\t\t i++;\r\n\t };\r\n\t \t\r\n\t System.out.println(\"2\");\r\n\t stmt.close();\r\n\t Regioni.close();}\r\n\t catch(SQLException e)\r\n\t {System.out.println(\"Error retrieving Users!\");\r\n\t DatabaseConnect.closeConnection(connection);}\r\n\t }", "title": "" }, { "docid": "a373ac5e025f89adcba4638a35f7c941", "score": "0.51723516", "text": "private Collection getFincaCatastroBuscadasPorDirDB(String idMunicipio,String patronNombreVia, String patronTipoVia) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.referencia_catastral as ID, vias.tipovianormalizadocatastro, vias.nombrecatastro, \" +\r\n\t\t\" parcelas.primer_numero, parcelas.codigopoligono, parcelas.codigoparcela from parcelas LEFT JOIN \" +\r\n\t\t\" vias ON parcelas.id_via=vias.codigocatastro where\" +\r\n\t\t\" parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"' \"\r\n\t\t+ \" and ((vias.nombrecatastro like upper('%\" + patronNombreVia + \"%')) \"\r\n\t\t+ \" and (vias.tipovianormalizadocatastro like upper('%\" + patronTipoVia + \"%'))) \"\r\n\t\t+ \" and vias.id_municipio='\"+idMunicipio+\"'\" \r\n\t\t+ \" order by vias.nombrecatastro asc\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"id\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setNombreVia(rs.getString(\"nombrecatastro\"));\r\n\t\t\t\tdir.setTipoVia(rs.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "9951ee7d87f5ea58daeb48e2c5a4336c", "score": "0.5135443", "text": "private void initContinentsOwner() {\n for (Map.Entry<String, Continent> entry : Main.worldContinentMap.entrySet()) {\n Continent continent = entry.getValue();\n boolean isSameOwner = false;\n int owner = -1;\n for (int playerIndex = 0; playerIndex < totalNumOfPlayers; playerIndex++) {\n int count = 0;\n int max = continent.getContinentCountryGraph().values().size();\n for (Country country : continent.getContinentCountryGraph().values()) {\n if (country.getCountryOwnerIndex() != playerIndex) {\n break;\n }\n count++;\n if (count == max) {\n System.out.println(\"find a owner! \" + playerIndex);\n isSameOwner = true;\n owner = playerIndex;\n }\n }\n }\n if (isSameOwner) {\n playersList.get(owner).addControlledContinent(continent.getContinentName());\n continent.setContinentOwnerIndex(owner);\n }\n }\n }", "title": "" }, { "docid": "6ab52a94d434b7926d1145b452e23924", "score": "0.5108584", "text": "public void chotMienNam(){\n\t\tPointDAO pointDAO = new PointDAO();\n\t\tCalendar calendar = Calendar.getInstance();\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-M-dd\");\n\t\tString ngay_quay = dateFormat.format(calendar.getTime());\n\t\t//ngay_quay = \"2018-02-22\";\n\t\t\n\t\tKetQuaMienNamDAO mienNamDAO = new KetQuaMienNamDAO();\n\t\t\n\t\ttry {\n\t\t\tVector<KetQuaMienNamBean> kqList = mienNamDAO.findByNgayQuay(new java.sql.Date(dateFormat.parse(ngay_quay).getTime()));\n\t\t\tint i = 0;\n\t\t\twhile(i<kqList.size()){\n\t\t\t\tKetQuaMienNamBean ketqua = kqList.get(i);\n\t\t\t\tList<Chot> chots = pointDAO.getChotByNgayQuay(ngay_quay, ketqua.getProvince_id());\n\t\t\t\t// Tao map loto\n\t\t\t\tHashMap<String,Integer> mapBoSo = this.createMapBoSoMienNam(ketqua);\n\t\t\t\t\n\t\t\t\tfor(Chot chot: chots){\n\t\t\t\t\tSystem.out.println(\"Nguoi choi\"+ chot.user_id + \"\");\n\t\t\t\t\t\n\t\t\t\t\tString loto = chot.loto;\n\t\t\t\t\tString loto_dacbiet = chot.loto_dac_biet;\n\t\t\t\t\n\t\t\t\t\tJSONObject json = (JSONObject) JSONSerializer.toJSON(loto);\n\t\t\t\t\tIterator<String> iterator = json.keys();\n\t\t\t\t\t// check loto\n\t\t\t\t\tJSONObject jsonAfterCheck = new JSONObject();\n\t\t\t\t\twhile(iterator.hasNext()){\n\t\t\t\t\t\tString boso = iterator.next();\n\t\t\t\t\t\tif(mapBoSo.containsKey(boso)){\n\t\t\t\t\t\t\tString key = boso;\n\t\t\t\t\t\t\t\tSystem.out.println(\"-->Bo so \"+ boso + \"-->Co ra \"+mapBoSo.get(key));\n\t\t\t\t\t\t\t\t// log point\n\t\t\t\t\t\t\t\tUserPointLog userPoint = new UserPointLog();\n\t\t\t\t\t\t\t\tuserPoint.user_id = chot.user_id;\n\t\t\t\t\t\t\t\tuserPoint.point = 20*4*mapBoSo.get(key);\n\t\t\t\t\t\t\t\tuserPoint.reference_id = chot.id;\n\t\t\t\t\t\t\t\tuserPoint.type = 1;\n\t\t\t\t\t\t\t\tuserPoint.description = \"Cong point chot so: \"+ boso + \"- ngay: \"+ chot.ngay_quay+\"- Tinh:\"+chot.province_id;\n\t\t\t\t\t\t\t\tif(pointDAO.saveUserPointLog(userPoint)){\n\t\t\t\t\t\t\t\t\t// Tinh tong point\n\t\t\t\t\t\t\t\t\tif(!pointDAO.checkUserPoint(chot.user_id)){\n\t\t\t\t\t\t\t\t\t\tUserPoint uPoint = new UserPoint();\n\t\t\t\t\t\t\t\t\t\tuPoint.point = userPoint.point;\n\t\t\t\t\t\t\t\t\t\tuPoint.user_id = chot.user_id;\n\t\t\t\t\t\t\t\t\t\tpointDAO.saveUserPoint(uPoint);\n\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\tpointDAO.changePoint(chot.user_id, userPoint.point);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjsonAfterCheck.put(boso, mapBoSo.get(boso)!=null?mapBoSo.get(boso):0);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(jsonAfterCheck.toString());\n\n\t\t\t\t\t// check loto db\n\t\t\t\t\tjson = (JSONObject) JSONSerializer.toJSON(loto_dacbiet);\n\t\t\t\t\tJSONObject jsonAfterCheckDB = new JSONObject();\n\t\t\t\t\titerator = json.keys();\n\t\t\t\t\twhile(iterator.hasNext()){\n\t\t\t\t\t\tString boso = iterator.next();\n\t\t\t\t\t\t\tif(boso.compareToIgnoreCase(ketqua.getGiai_dacbiet().substring(ketqua.getGiai_dacbiet().length()-2))==0){\n\t\t\t\t\t\t\t\tSystem.out.println(\"-->Loto Dac Biet \"+ boso + \"-->Co ra\");\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// log point\n\t\t\t\t\t\t\t\tUserPointLog userPoint = new UserPointLog();\n\t\t\t\t\t\t\t\tuserPoint.user_id = chot.user_id;\n\t\t\t\t\t\t\t\tuserPoint.point = 20*70;\n\t\t\t\t\t\t\t\tuserPoint.reference_id = chot.id;\n\t\t\t\t\t\t\t\tuserPoint.type = 1;\n\t\t\t\t\t\t\t\tuserPoint.description = \"Cong point chot so db: \"+ boso + \"- ngay: \"+ chot.ngay_quay+\"- Tinh:\"+chot.province_id;\n\t\t\t\t\t\t\t\tif(pointDAO.saveUserPointLog(userPoint)){\n\t\t\t\t\t\t\t\t\t// Tinh tong point\n\t\t\t\t\t\t\t\t\tif(!pointDAO.checkUserPoint(chot.user_id)){\n\t\t\t\t\t\t\t\t\t\tUserPoint uPoint = new UserPoint();\n\t\t\t\t\t\t\t\t\t\tuPoint.point = userPoint.point;\n\t\t\t\t\t\t\t\t\t\tuPoint.user_id = chot.user_id;\n\t\t\t\t\t\t\t\t\t\tpointDAO.saveUserPoint(uPoint);\n\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\tpointDAO.changePoint(chot.user_id, userPoint.point);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tjsonAfterCheckDB.put(boso, 1);\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tjsonAfterCheckDB.put(boso, 0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t// Update bang x_chot\n\t\t\t\t\tString json_loto_db = jsonAfterCheckDB.toString();\n\t\t\t\t\tpointDAO.updateChot(chot.id, jsonAfterCheck.toString(), json_loto_db);\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "d00e787a8ab3330fbf8a9df29042736b", "score": "0.50905377", "text": "private Collection getBienInmuebleCatastroBuscadosBD(String idMunicipio,String patron) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString sSQL;\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tif(CPoolDatabase.isPostgres(conn))\r\n\t\t\t{\r\n\t\t\t\tsSQL =\"select distinct bien_inmueble.identificador, bien_inmueble.poligono_rustico, bien_inmueble.parcela, bien_inmueble.primer_numero, \"+\r\n\t\t\t\t\" bien_inmueble.id_via , bien_inmueble.clase_bieninmueble\"+\r\n\t\t\t\t\" from bien_inmueble, parcelas where parcelas.referencia_catastral \"+\r\n\t\t\t\t\" IS NOT NULL and parcelas.id_municipio='\"+ idMunicipio+\"' \" +\r\n\t\t\t\t\" and ((parcelas.referencia_catastral like upper('%\" + patron + \"%')) or ( parcelas.referencia_catastral is null)) \" +\r\n\t\t\t\t\" and bien_inmueble.identificador like parcelas.referencia_catastral || '%' \" +\r\n\t\t\t\t\" order by bien_inmueble.identificador asc\";\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tsSQL =\"select distinct bien_inmueble.identificador, bien_inmueble.poligono_rustico, bien_inmueble.parcela, bien_inmueble.primer_numero, \"+\r\n\t\t\t\t\" bien_inmueble.id_via, bien_inmueble.clase_bieninmueble\"+\r\n\t\t\t\t\" from bien_inmueble, parcelas where parcelas.referencia_catastral \"+\r\n\t\t\t\t\" IS NOT NULL and parcelas.id_municipio='\"+ idMunicipio+\"' \" +\r\n\t\t\t\t\" and ((parcelas.referencia_catastral like upper('%\" + patron + \"%')) or ( parcelas.referencia_catastral is null)) \" +\r\n\t\t\t\t\" and bien_inmueble.identificador like concat(parcelas.referencia_catastral,'%') \" +\r\n\t\t\t\t\" order by bien_inmueble.identificador asc\";\r\n\t\t\t}\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tBienInmuebleCatastro bien = new BienInmuebleCatastro();\r\n\t\t\t\tIdBienInmueble idBI = new IdBienInmueble();\r\n\t\t\t\tidBI.setIdBienInmueble(rs.getString(\"identificador\"));\r\n\t\t\t\tbien.setIdBienInmueble(idBI);\r\n\t\t\t\tbien.setClaseBienInmueble(rs.getString(\"clase_bieninmueble\"));\r\n\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"parcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"poligono_rustico\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\t\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);;\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}catch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tbien.setDomicilioTributario(dir);\r\n\t\t\t\taux.add(bien);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "6b6439b78f1a1cec19d1079ce3962b7d", "score": "0.50876796", "text": "synchronized boolean hayAutos(Coordenada c) {\r\n\t\tboolean aux = false;\r\n\t\tfor (Auto auto : this.AutosBlancos) {\r\n\t\t\taux = aux || auto.estaEnLaCoordenada(c);\r\n\t\t}\r\n\t\tfor (Auto auto : this.AutosAzules) {\r\n\t\t\taux = aux || auto.estaEnLaCoordenada(c);\r\n\t\t}\r\n\r\n\t\treturn aux;\r\n\r\n\t}", "title": "" }, { "docid": "e5e179bd005deb62c5cc1c6a0be2e91f", "score": "0.50821805", "text": "public ArrayList<Cliente> getClientes() throws NoExisteCliente {\r\n\t\tArrayList<Cliente> clientes = new ArrayList<Cliente>();\r\n\t\tfor(String dni : clientesBD.keySet()){\r\n\t\t\tclientes.add((Cliente) getCliente(dni));\r\n\t \t}\r\n\t\t\r\n\t\treturn clientes;\r\n\t}", "title": "" }, { "docid": "c29152af736f76ce55010c8ead831b60", "score": "0.50767785", "text": "private Collection getFincaCatastroBuscadasDB(String idMunicipio,String patron) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.referencia_catastral, parcelas.primer_numero, parcelas.codigopoligono,\" +\r\n\t\t\" parcelas.codigoparcela, parcelas.id_via from parcelas where\" +\r\n\t\t\" parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"' \"\r\n\t\t+\" and ((parcelas.referencia_catastral like upper('%\" + patron + \"%')) or ( parcelas.referencia_catastral is null)) \"\r\n\t\t+ \" order by parcelas.referencia_catastral asc\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"referencia_catastral\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null; \r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\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\tcatch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "84037d17c422b0cdd73d0b9a48bb273d", "score": "0.5072564", "text": "public TreeMap<Integer, String> cargarUsuariosRegistrados() {\n TreeMap<Integer, String> listaUsuarios = new TreeMap<Integer, String>();\n ConexionBD con = new ConexionBD();\n ResultSet rs = con.ejecutarQuery(\"SELECT cod_u, user_u FROM users \");\n try {\n while (rs.next()) {\n int id = rs.getInt(\"cod_u\");\n String usuario = rs.getString(\"user_u\");\n listaUsuarios.put(id, usuario);\n }\n } catch (SQLException ex) {\n con.desconectar();\n return null;\n }\n con.desconectar();\n return listaUsuarios;\n }", "title": "" }, { "docid": "2f814f0435907efcbdc9e30155de9949", "score": "0.5064475", "text": "public ArrayList<Cliente> clientesFechas() throws NoExisteCliente{\r\n\t\tArrayList<Cliente> clientes = new ArrayList<Cliente>();\r\n\t\t\r\n\t\tfor(String dni : clientesBD.keySet()){\r\n\t\t\tclientes.add(((Cliente) getCliente(dni)));\r\n\t\t}\r\n\t\treturn clientes;\t\r\n\t}", "title": "" }, { "docid": "008290a329b8e65f996c1bf3decfa441", "score": "0.5062496", "text": "@Override\r\n\tpublic List<Direccion> listOfDireccionesTable() {\r\n\t\t\r\n\t\tList<Direccion> listOfDireccionesTable= new ArrayList<Direccion>();\r\n\t\tList<DireccionVO> listOfAllDirecciones =new ArrayList<DireccionVO>();\r\n\t\tlistOfAllDirecciones=direccionDao.readAllDireccion();\r\n\t\tDireccion direccion= null;\r\n\t\t\r\n\t\t\r\n\t\tfor(DireccionVO dir:listOfAllDirecciones){\r\n\t\t\t\r\n\t\t\tdireccion = new Direccion();\r\n\t\t\t\r\n\t\t\tParserModelVO.parseDataModelVO(dir, direccion);\r\n\t\t\r\n\t\t\tlistOfDireccionesTable.add(direccion);\r\n\t\t\t\t\t\r\n\t\t}\t\t\r\n\t\treturn listOfDireccionesTable;\t\t\r\n\t}", "title": "" }, { "docid": "5b831cfd6da4487581925c5d0201cd01", "score": "0.5054678", "text": "public static void llenarDatos(){\n listaDirecciones=controladorDirecciondb.listaDirecciones();\n for (Direccion d:listaDirecciones ) {\n if(cedula.equals(d.getCedula_per())){\n cbxDirecciones.addItem(d.getCalle_principal()+\"_\"+d.getCalle_secundaria()+\" (\"+d.getNumero()+\")\");\n }\n }\n }", "title": "" }, { "docid": "7afa2b2c42b4dc9e9cf97ec8e77f4b3e", "score": "0.5054019", "text": "public List letrasVencidasTramos_empresaConvenio_cobrador_ordenDireccion_SC(int codEmpresaConvenio,\r\n int codCobrador) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.empresaConvenio.codEmpresaConvenio = :ter1\"\r\n + \" and dc.codCobrador = :par2\"\r\n + \" order by vcl.ventas.persona.direccion,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"ter1\", codEmpresaConvenio)\r\n .setInteger(\"par2\", codCobrador);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }", "title": "" }, { "docid": "153c1c46707f30f91345fdd456b683e4", "score": "0.50486237", "text": "public Coordonnee genererCoordonnees(){\n\t\treturn coordonneesPossibles.get((int)(Math.random()*coordonneesPossibles.size()));\n\t}", "title": "" }, { "docid": "6efa064bf8322122555fa004cdbe6ad4", "score": "0.5029408", "text": "public void chotMienTrung(){\n\t\tPointDAO pointDAO = new PointDAO();\n\t\tCalendar calendar = Calendar.getInstance();\n\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-M-dd\");\n\t\tString ngay_quay = dateFormat.format(calendar.getTime());\n\t\t//ngay_quay = \"2018-02-22\";\n\t\t\n\t\tKetQuaMienTrungDAO mienTrungDAO = new KetQuaMienTrungDAO();\n\t\t\n\t\ttry {\n\t\t\tVector<KetQuaMienTrungBean> kqList = mienTrungDAO.findByNgayQuay(new java.sql.Date(dateFormat.parse(ngay_quay).getTime()));\n\t\t\tint i = 0;\n\t\t\twhile(i<kqList.size()){\n\t\t\t\tKetQuaMienTrungBean ketqua = kqList.get(i);\n\t\t\t\tList<Chot> chots = pointDAO.getChotByNgayQuay(ngay_quay, ketqua.getProvince_id());\n\t\t\t\t// Tao map loto\n\t\t\t\tHashMap<String,Integer> mapBoSo = this.createMapBoSoMienTrung(ketqua);\n\t\t\t\t\n\t\t\t\tfor(Chot chot: chots){\n\t\t\t\t\tSystem.out.println(\"Nguoi choi\"+ chot.user_id + \"\");\n\t\t\t\t\t\n\t\t\t\t\tString loto = chot.loto;\n\t\t\t\t\tString loto_dacbiet = chot.loto_dac_biet;\n\t\t\t\t\n\t\t\t\t\tJSONObject json = (JSONObject) JSONSerializer.toJSON(loto);\n\t\t\t\t\tIterator<String> iterator = json.keys();\n\t\t\t\t\t// check loto\n\t\t\t\t\tJSONObject jsonAfterCheck = new JSONObject();\n\t\t\t\t\twhile(iterator.hasNext()){\n\t\t\t\t\t\tString boso = iterator.next();\n\t\t\t\t\t\tif(mapBoSo.containsKey(boso)){\n\t\t\t\t\t\t\tString key = boso;\n\t\t\t\t\t\t\t\tSystem.out.println(\"-->Bo so \"+ boso + \"-->Co ra \"+mapBoSo.get(key));\n\t\t\t\t\t\t\t\t// log point\n\t\t\t\t\t\t\t\tUserPointLog userPoint = new UserPointLog();\n\t\t\t\t\t\t\t\tuserPoint.user_id = chot.user_id;\n\t\t\t\t\t\t\t\tuserPoint.point = 20*4*mapBoSo.get(key);\n\t\t\t\t\t\t\t\tuserPoint.reference_id = chot.id;\n\t\t\t\t\t\t\t\tuserPoint.type = 1;\n\t\t\t\t\t\t\t\tuserPoint.description = \"Cong point chot so: \"+ boso + \"- ngay: \"+ chot.ngay_quay+\"- Tinh:\"+chot.province_id;\n\t\t\t\t\t\t\t\tif(pointDAO.saveUserPointLog(userPoint)){\n\t\t\t\t\t\t\t\t\t// Tinh tong point\n\t\t\t\t\t\t\t\t\tif(!pointDAO.checkUserPoint(chot.user_id)){\n\t\t\t\t\t\t\t\t\t\tUserPoint uPoint = new UserPoint();\n\t\t\t\t\t\t\t\t\t\tuPoint.point = userPoint.point;\n\t\t\t\t\t\t\t\t\t\tuPoint.user_id = chot.user_id;\n\t\t\t\t\t\t\t\t\t\tpointDAO.saveUserPoint(uPoint);\n\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\tpointDAO.changePoint(chot.user_id, userPoint.point);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjsonAfterCheck.put(boso, mapBoSo.get(boso)!=null?mapBoSo.get(boso):0);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(jsonAfterCheck.toString());\n\n\t\t\t\t\t// check loto db\n\t\t\t\t\tjson = (JSONObject) JSONSerializer.toJSON(loto_dacbiet);\n\t\t\t\t\tJSONObject jsonAfterCheckDB = new JSONObject();\n\t\t\t\t\titerator = json.keys();\n\t\t\t\t\twhile(iterator.hasNext()){\n\t\t\t\t\t\tString boso = iterator.next();\n\t\t\t\t\t\t\tif(boso.compareToIgnoreCase(ketqua.getGiai_dacbiet().substring(ketqua.getGiai_dacbiet().length()-2))==0){\n\t\t\t\t\t\t\t\tSystem.out.println(\"-->Loto Dac Biet \"+ boso + \"-->Co ra\");\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t// log point\n\t\t\t\t\t\t\t\tUserPointLog userPoint = new UserPointLog();\n\t\t\t\t\t\t\t\tuserPoint.user_id = chot.user_id;\n\t\t\t\t\t\t\t\tuserPoint.point = 20*70;\n\t\t\t\t\t\t\t\tuserPoint.reference_id = chot.id;\n\t\t\t\t\t\t\t\tuserPoint.type = 1;\n\t\t\t\t\t\t\t\tuserPoint.description = \"Cong point chot so db: \"+ boso + \"- ngay: \"+ chot.ngay_quay+\"- Tinh:\"+chot.province_id;\n\t\t\t\t\t\t\t\tif(pointDAO.saveUserPointLog(userPoint)){\n\t\t\t\t\t\t\t\t\t// Tinh tong point\n\t\t\t\t\t\t\t\t\tif(!pointDAO.checkUserPoint(chot.user_id)){\n\t\t\t\t\t\t\t\t\t\tUserPoint uPoint = new UserPoint();\n\t\t\t\t\t\t\t\t\t\tuPoint.point = userPoint.point;\n\t\t\t\t\t\t\t\t\t\tuPoint.user_id = chot.user_id;\n\t\t\t\t\t\t\t\t\t\tpointDAO.saveUserPoint(uPoint);\n\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\tpointDAO.changePoint(chot.user_id, userPoint.point);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tjsonAfterCheckDB.put(boso, 1);\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tjsonAfterCheckDB.put(boso, 0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t// Update bang x_chot\n\t\t\t\t\tString json_loto_db = jsonAfterCheckDB.toString();\n\t\t\t\t\tpointDAO.updateChot(chot.id, jsonAfterCheck.toString(), json_loto_db);\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "49a0b49766da2ab0a72af519afdeb53f", "score": "0.50276786", "text": "public boolean existeListaClienteInteresseCategoria_Associada();", "title": "" }, { "docid": "836c8b7f2326661ef860fe8698c2ffd6", "score": "0.5026361", "text": "public void alocando() {\n \n try{\n A_Ator ator = new A_Ator();\n atores.add(ator);\n while(true) {\n\t\tint x = p.nextInt(16);\n\t\tint y = p.nextInt(16);\n\t\tif (mapa[x][y] == vazio) {\n\t\t\tator.localizacao[0] = x;\n\t\t\tator.localizacao[1] = y;\n\t\t\tmapa[x][y] = ator.nome;\n\t\t\treturn;\n }}}catch(IndexOutOfBoundsException e){\n System.out.println(\"Você não pode colocar mais atores\");\n }\n }", "title": "" }, { "docid": "e83971b49676b84adb530675636ab8f0", "score": "0.50246155", "text": "public List letrasVencidasTramos_todos_ordenDireccion_SC() {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" order by vcl.ventas.persona.direccion,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\");\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }", "title": "" }, { "docid": "10c95f5fff916c63b68f96a8d2f4c007", "score": "0.50221324", "text": "private ArrayList getComunidadBienes(String referenciaExpediente, String id_bienInmueble) throws SQLException\r\n\t{\r\n\t\tArrayList lstComunidadBienes = null;\r\n\r\n\t\tif (id_bienInmueble.length()<20)\r\n\t\t\tGeopistaCommonUtils.completarConCeros(id_bienInmueble, 20);\r\n\r\n\t\tString sSQL = \"select * from persona p where p.parcela_catastral='\" \r\n\t\t\t+ id_bienInmueble.substring(0, 14)+ \"'\" +\r\n\t\t\t\" and p.numero_cargo='\" + id_bienInmueble.substring(14,18) + \"'\" +\r\n\t\t\t\" and p.digito_control1='\" + id_bienInmueble.substring(18,19) + \"'\" +\r\n\t\t\t\" and p.digito_control2='\" + id_bienInmueble.substring(19,20) + \"'\";\r\n\r\n\t\tPreparedStatement ps = null;\r\n\t\tConnection conn = null;\r\n\t\tResultSet rs = null;\r\n\t\tPreparedStatement psVia= null;\r\n\t\tResultSet rsVia= null;\r\n\t\tPreparedStatement psMunicipio= null;\r\n\t\tResultSet rsMunicipio= null; \r\n\r\n\r\n\t\ttry{\r\n\t\t\tconn = CPoolDatabase.getConnection();\r\n\t\t\tps = conn.prepareStatement(sSQL);\r\n\t\t\trs = ps.executeQuery();\r\n\r\n\t\t\twhile (rs.next())\r\n\t\t\t{\r\n\t\t\t\tString nif = rs.getString(\"nif\");\r\n\r\n\t\t\t\tif (nif != null && nif.startsWith(\"E\")){\r\n\r\n\t\t\t\t\tComunidadBienes comunidadBienes = new ComunidadBienes();\r\n\t\t\t\t\tcomunidadBienes.setAusenciaNIF(rs.getString(\"ausencia_nif\"));\r\n\t\t\t\t\tcomunidadBienes.setNif(rs.getString(\"nif\"));\r\n\r\n\t\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"dd/MM/yyyy\");\r\n\t\t\t\t\tString s_fecha_alteracion = null;\r\n\t\t\t\t\tif (rs.getDate(\"fecha_alteracion\")!=null)\r\n\t\t\t\t\t\ts_fecha_alteracion = sdf.format(rs.getDate(\"fecha_alteracion\"));\r\n\r\n\t\t\t\t\tcomunidadBienes.setFechaAlteracion(s_fecha_alteracion);\t\t\t\t\t\r\n\r\n\t\t\t\t\tcomunidadBienes.setRazonSocial(rs.getString(\"razon_social\"));\r\n\r\n\t\t\t\t\tDireccionLocalizacion direccionCB = new DireccionLocalizacion();\r\n\r\n\t\t\t\t\tint idVia = -1;\r\n\t\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs, \"id_via\");\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select v.tipovianormalizadocatastro, v.nombrecatastro, v.codigocatastro from vias v where codigocatastro=\"\r\n\t\t\t\t\t\t\t+ idVia;\r\n\t\t\t\t\t\tpsVia= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= psVia.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next()){\r\n\t\t\t\t\t\t\tdireccionCB.setCodigoVia(TypeUtil.getSimpleInteger(rs,\"codigocatastro\"));\r\n\t\t\t\t\t\t\tdireccionCB.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t\tdireccionCB.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tString idProv = rs.getString(\"codigo_provincia_ine\");\r\n\t\t\t\t\tString idMun= rs.getString(\"codigo_municipio_ine\");\r\n\r\n\t\t\t\t\twhile(idMun.length()<3)\r\n\t\t\t\t\t\tidMun= \"0\" + idMun;\r\n\r\n\t\t\t\t\tif(idProv == null)\r\n\t\t\t\t\t\tidProv = \"00\";\r\n\r\n\t\t\t\t\tString idMunicipio = idProv + idMun;\r\n\t\t\t\t\tsSQL = \"select nombreoficial, id_provincia from municipios where id=\" + idMunicipio;\r\n\t\t\t\t\tpsMunicipio= conn.prepareStatement(sSQL);\r\n\t\t\t\t\trsMunicipio= psMunicipio.executeQuery();\r\n\t\t\t\t\tif(rsMunicipio.next()){\r\n\t\t\t\t\t\tdireccionCB.setNombreMunicipio(rsMunicipio.getString(\"nombreoficial\"));\r\n\t\t\t\t\t\tdireccionCB.setProvinciaINE(rsMunicipio.getString(\"id_provincia\"));\r\n\t\t\t\t\t\tdireccionCB.setNombreProvincia(getNombreProvinciaById(rsMunicipio.getString(\"id_provincia\")));\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tdireccionCB.setMunicipioINE(idMun);\r\n\r\n\t\t\t\t\tdireccionCB.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\t\tdireccionCB.setApartadoCorreos(TypeUtil.getSimpleInteger(rs, \"apartado_correos\"));\r\n\t\t\t\t\tdireccionCB.setBloque(rs.getString(\"bloque\"));\r\n\r\n\t\t\t\t\tdireccionCB.setCodigoMunicipioDGC(rs.getString(\"codigo_municipio_dgc\"));\r\n\t\t\t\t\tif(direccionCB.getCodigoMunicipioDGC() == null || direccionCB.getCodigoMunicipioDGC().equals(\"\"))\r\n\t\t\t\t\t\tdireccionCB.setCodigoMunicipioDGC(idMun);\r\n\r\n\t\t\t\t\tdireccionCB.setCodigoPostal(rs.getString(\"codigo_postal\"));\r\n\r\n\t\t\t\t\tdireccionCB.setDireccionNoEstructurada(rs.getString(\"direccion_no_estructurada\"));\r\n\t\t\t\t\tdireccionCB.setEscalera(rs.getString(\"escalera\"));\r\n\t\t\t\t\tdireccionCB.setKilometro(TypeUtil.getSimpleDouble(rs, \"kilometro\"));\r\n\r\n\r\n\t\t\t\t\tdireccionCB.setNombreEntidadMenor(rs.getString(\"entidad_menor\"));\r\n\t\t\t\t\tdireccionCB.setPlanta(rs.getString(\"planta\"));\r\n\t\t\t\t\tdireccionCB.setPrimeraLetra(rs.getString(\"primera_letra\"));\r\n\t\t\t\t\tdireccionCB.setPuerta(rs.getString(\"puerta\"));\r\n\t\t\t\t\tdireccionCB.setSegundaLetra(rs.getString(\"segunda_letra\"));\r\n\t\t\t\t\tdireccionCB.setSegundoNumero(TypeUtil.getSimpleInteger(rs, \"segundo_numero\"));\r\n\r\n\t\t\t\t\tcomunidadBienes.setDomicilio(direccionCB);\r\n\r\n\t\t\t\t\tcomunidadBienes.setComplementoTitularidad(rs.getString(\"complemento_titularidad\"));\r\n\t\t\t\t\tcomunidadBienes.setBienInmueble(new BienInmuebleCatastro());\r\n\t\t\t\t\tcomunidadBienes.getBienInmueble().getIdBienInmueble().setIdBienInmueble(id_bienInmueble);\r\n\r\n\t\t\t\t\tif(lstComunidadBienes == null)\r\n\t\t\t\t\t\tlstComunidadBienes = new ArrayList();\r\n\r\n\t\t\t\t\tlstComunidadBienes.add(comunidadBienes);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn lstComunidadBienes;\r\n\r\n\t\t}\r\n\t\tcatch (SQLException e) {\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{psMunicipio.close();}catch(Exception e){};\r\n\t\t\ttry{rsMunicipio.close();}catch(Exception e){};\r\n\t\t\ttry{psVia.close();}catch(Exception e){};\r\n\t\t\ttry{rsVia.close();}catch(Exception e){}; \r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "d2296763afc735c34d704d43c227e8a8", "score": "0.50209415", "text": "public List<Cliente> ordenaClientes() {\n\t\tList<Cliente> clientesOrdenados = new ArrayList<>();\n\t\tfor (Conta c : this.mapConta.values()) {\n\t\t\tclientesOrdenados.add(c.getCliente());\n\t\t}\n\t\treturn clientesOrdenados = cc.ordenaCliente();\n\t}", "title": "" }, { "docid": "d8392870f606ab20cf8c39714f7c4484", "score": "0.5000123", "text": "private Collection getBienInmuebleCatastroBuscadosPorDirDB(String idMunicipio,String patronNombreVia, String patronTipoVia) throws Exception\r\n\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString sSQL;\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tif(CPoolDatabase.isPostgres(conn))\r\n\t\t\t{\r\n\t\t\t\tsSQL =\" select distinct bien_inmueble.identificador, vias.tipovianormalizadocatastro, vias.nombrecatastro, bien_inmueble.primer_numero, \" +\r\n\t\t\t\t\" bien_inmueble.parcela, bien_inmueble.poligono_rustico \" +\r\n\t\t\t\t\" from bien_inmueble,vias, parcelas where bien_inmueble.id_via=vias.codigocatastro and parcelas.referencia_catastral \" +\r\n\t\t\t\t\" IS NOT NULL and parcelas.id_municipio='\"+ idMunicipio+\"' \" +\r\n\t\t\t\t\" and ((vias.nombrecatastro like upper('%\" + patronNombreVia + \"%')) \" +\r\n\t\t\t\t\" and (vias.tipovianormalizadocatastro like upper('%\" + patronTipoVia + \"%'))) \" +\r\n\t\t\t\t\" and vias.id_municipio='\"+idMunicipio+\"'\" +\r\n\t\t\t\t\" and bien_inmueble.identificador like parcelas.referencia_catastral || '%' \" +\r\n\t\t\t\t\" order by vias.nombrecatastro asc\";\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tsSQL =\" select distinct bien_inmueble.identificador, vias.tipovianormalizadocatastro, vias.nombrecatastro, bien_inmueble.primer_numero, \" +\r\n\t\t\t\t\" bien_inmueble.parcela, bien_inmueble.poligono_rustico \" +\r\n\t\t\t\t\" from bien_inmueble,vias, parcelas where bien_inmueble.id_via=vias.codigocatastro and parcelas.referencia_catastral \" +\r\n\t\t\t\t\" IS NOT NULL and parcelas.id_municipio='\"+ idMunicipio+\"' \" +\r\n\t\t\t\t\" and ((vias.nombrecatastro like upper('%\" + patronNombreVia + \"%')) \" +\r\n\t\t\t\t\" and (vias.tipovianormalizadocatastro like upper('%\" + patronTipoVia + \"%'))) \" +\r\n\t\t\t\t\" and vias.id_municipio='\"+idMunicipio+\"'\" + \r\n\t\t\t\t\" and bien_inmueble.identificador like concat(parcelas.referencia_catastral,'%') \" +\r\n\t\t\t\t\" order by vias.nombrecatastro asc\";\r\n\t\t\t}\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tBienInmuebleCatastro bien = new BienInmuebleCatastro();\r\n\t\t\t\tIdBienInmueble idBI = new IdBienInmueble();\r\n\t\t\t\tidBI.setIdBienInmueble(rs.getString(\"identificador\"));\r\n\t\t\t\tbien.setIdBienInmueble(idBI);\r\n\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setTipoVia(rs.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\tdir.setNombreVia(rs.getString(\"nombrecatastro\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"parcela\"));\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"poligono_rustico\"));\r\n\t\t\t\tbien.setDomicilioTributario(dir);\r\n\t\t\t\taux.add(bien);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "ca8e9569c944e6d90110c9cf2cc4ff64", "score": "0.49871826", "text": "Auto autoEnCoordenada(Coordenada c) {\r\n\r\n\t\tAuto chocado = null;\r\n\t\tint i = 0;\r\n\t\tfor (Auto a : this.AutosBlancos) {\r\n\t\t\tif (a.estaEnLaCoordenada(c)) {\r\n\t\t\t\tchocado = a;\r\n\t\t\t\treturn chocado;\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t\ti = 0;\r\n\t\tfor (Auto a : this.AutosAzules) {\r\n\t\t\tif (a.estaEnLaCoordenada(c)) {\r\n\t\t\t\tchocado = a;\r\n\t\t\t\treturn chocado;\r\n\t\t\t}\r\n\t\t\ti++;\r\n\t\t}\r\n\t\treturn chocado;\r\n\r\n\t}", "title": "" }, { "docid": "bd8209126dd20f30d48acaee3769e976", "score": "0.49769986", "text": "private Collection getFincaCatastroRusticasBuscadasPorPoligonoDB(String idMunicipio,String patronPoligono,\r\n\t\t\tString patronParcela) throws Exception\r\n\t\t\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tString sSQL= \"select distinct parcelas.id_via, parcelas.primer_numero, parcelas.referencia_catastral,\" +\r\n\t\t\" parcelas.codigopoligono, parcelas.codigoparcela\" +\r\n\t\t\" from parcelas where parcelas.referencia_catastral IS NOT NULL and parcelas.id_municipio= '\"+ idMunicipio+\"'\"+\r\n\t\t\" and (parcelas.codigopoligono is not null and (parcelas.codigopoligono like upper('%\"+patronPoligono+\"%')))\"+\r\n\t\t\" and (parcelas.codigoparcela is not null and (parcelas.codigoparcela like upper('%\"+patronParcela+\"%')))\" +\r\n\t\t\" order by parcelas.codigopoligono asc\";\r\n\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tFincaCatastro finca = new FincaCatastro();\r\n\t\t\t\tReferenciaCatastral refCatas = new ReferenciaCatastral(rs.getString(\"referencia_catastral\"));\r\n\t\t\t\tfinca.setRefFinca(refCatas);\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"codigopoligono\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"codigoparcela\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);;\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}//fin if\r\n\t\t\t\t\t}//fin if\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tfinca.setDirParcela(dir);\r\n\t\t\t\taux.add(finca);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t\t\t}", "title": "" }, { "docid": "a7c62ce0760dfdea4c2deb2c988dae53", "score": "0.49707562", "text": "public Coordenada() {\n\t\t\n\t}", "title": "" }, { "docid": "5715381ae425dcf32784a1738332d0c6", "score": "0.49622452", "text": "public Accioncomprobante[] findWhereCorreoDestinatariosEquals(String correoDestinatarios) throws AccioncomprobanteDaoException;", "title": "" }, { "docid": "a4d63e3ee094502c755f8c925c509ef6", "score": "0.49534044", "text": "public ArrayList<Cancion> buscadorPorAutores_DevolvemosCanciones(String palabra){\r\n\t\t\r\n\t\tint ide = 0;\r\n\t\tArrayList<Cancion> lista_autor_canciones = new ArrayList<Cancion>();\r\n\t\tLocalDate fecha_actual = LocalDate.now();\r\n\t\t\r\n\t\tif(palabra == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\t\r\n\t\tfor(Usuario usuario: sistema.usuarios_totales) {\r\n\t\t\tif(usuario.getNombreAutor().equals(palabra) == true) {\r\n\t\t\t\tide = usuario.getId();\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tif(ide == 0) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\t\r\n\t\tif(sistema.usuario_actual != null) {\r\n\t\t\tPeriod intervalo = Period.between(sistema.usuario_actual.getFechaNacimiento(), fecha_actual);\r\n\t\t\t\r\n\t\t\tif(intervalo.getYears() >= 18) {\r\n\t\t\t\tfor(Cancion cancion: sistema.canciones_totales) {\r\n\t\t\t\t\tif((cancion.getEstado() == EstadoCancion.Explicita || cancion.getEstado() == EstadoCancion.Valida) && cancion.getAutor().getId() == ide) {\r\n\t\t\t\t\t\tlista_autor_canciones.add(cancion);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn lista_autor_canciones;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tfor(Cancion cancion: sistema.canciones_totales) {\r\n\t\t\tif(cancion.getEstado() == EstadoCancion.Valida && cancion.getAutor().getId() == ide) {\r\n\t\t\t\tlista_autor_canciones.add(cancion);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn lista_autor_canciones;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9a5c89ac4b082a7c871071ec821b1067", "score": "0.49404424", "text": "public void setCoordinador(Coordinador miCoordinador) {\n this.miCoordinador = miCoordinador;\n }", "title": "" }, { "docid": "d337affa1e4e81551347d1b83e3e0fbb", "score": "0.49383637", "text": "public boolean existeListaVenda_Comprou();", "title": "" }, { "docid": "03d534d5565fe6cbcd312fc8bd73c8f7", "score": "0.49344444", "text": "private SaiComisionCobranza buscaComision(int idorigenp, int idproducto, int idauxiliar) {\n entity = saiComisionCobranzaFacade.conexion();\n String consulta = \"SELECT * FROM sai_calculos_de_comision_cobranza(?, ?, ?)\";\n Query query = entity.createNativeQuery(consulta); // SaiComisionCobranza.class\n query.setParameter(1, idorigenp);\n query.setParameter(2, idproducto);\n query.setParameter(3, idauxiliar);\n SaiComisionCobranza comision = (SaiComisionCobranza) query.getSingleResult();\n entity.close();\n return comision;\n }", "title": "" }, { "docid": "bf620c4c49d0952bbfd494dd8a91ba63", "score": "0.49331993", "text": "public ConcurrentHashMap<String, CityNode> buildDataMap() {\r\n\t\tfinal ConcurrentHashMap<String, CityNode> dataMap = new ConcurrentHashMap<String, CityNode>();\r\n\r\n\t\t//Get file from resources folder\r\n\t\tClassLoader classLoader = getClass().getClassLoader();\r\n\t\tFile file = new File(classLoader.getResource(Constants.FILE_NAME).getFile());\r\n\t\t\r\n\t\ttry (BufferedReader br = new BufferedReader(new FileReader(file))) {\r\n\r\n\t\t\tString sCurrentLine;\r\n\t\t\twhile ((sCurrentLine = br.readLine()) != null) {\r\n\t\t\t\t// Check if direct relation can be found\r\n\t\t\t\tString connectedCities[] = getConnectedCityPair(sCurrentLine);\r\n\t\t\t\tupdateConnectionsMap(dataMap, connectedCities);\r\n\t\t\t}\r\n\r\n\t\t} catch (IOException e) {\r\n\t\t\tlogger.error(e.getLocalizedMessage());\r\n\t\t}\r\n\t\t\r\n\t\treturn dataMap;\r\n\t}", "title": "" }, { "docid": "035b01facdf863260d30b4356f9b329f", "score": "0.49282855", "text": "@Test\n public void getConductoresTest() {\n List<ConductorEntity> lista = conLogic.getConductores();\n Assert.assertEquals(data.size(), lista.size());\n for (ConductorEntity entidad : lista) {\n boolean encontrado = false;\n for (ConductorEntity almacenado : data) {\n if (entidad.getId().equals(almacenado.getId())) {\n encontrado = true;\n }\n }\n Assert.assertTrue(encontrado);\n }\n }", "title": "" }, { "docid": "b52fdbe979008ef6bfc4a8202421c96a", "score": "0.49212694", "text": "public boolean hasPecaComer(){\n\t\tint[][] damas = this.getDamas();\n\t\tint i, j;\n\t\tfor(i = 0; i < damas.length; i++){\n\t\t\tfor(j = 0; j < damas[i].length; j++){\n\t\t\t\tif(this.isPermitido(i, j)){\n\t\t\t\t\tif(this.getDama(i, j) == PECA_1 || this.getDama(i, j) == DAMA_1){\n\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t// pra baixo esquerda, tem peca do adversario, e nao tem proxima peca\n\t\t\t\t\t\t\tif((this.getDama(i-1, j+1) == PECA_2 || this.getDama(i-1, j+1) == DAMA_2) && this.getDama(i-2, j+2) == NOPECA){\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}catch(Exception exc){}\n\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t// pra baixo direita, tem peca do adversario, e nao tem proxima peca\n\t\t\t\t\t\t\tif((this.getDama(i+1, j+1) == PECA_2 || this.getDama(i+1, j+1) == DAMA_2) && this.getDama(i+2, j+2) == NOPECA){\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}catch(Exception exc){}\n\t\t\t\t\t\tif(this.getDama(i, j) == DAMA_1){\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\t// pra cima esquerda, tem peca do adversario, e nao tem proxima peca\n\t\t\t\t\t\t\t\tif((this.getDama(i-1, j-1) == PECA_2 || this.getDama(i-1, j-1) == DAMA_2) && this.getDama(i-2, j-2) == NOPECA){\n\t\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}catch(Exception exc){}\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\t// pra cima direita, tem peca do adversario, e nao tem proxima peca\n\t\t\t\t\t\t\t\tif((this.getDama(i+1, j-1) == PECA_2 || this.getDama(i+1, j-1) == DAMA_2) && this.getDama(i+2, j-2) == NOPECA){\n\t\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}catch(Exception exc){}\n\t\t\t\t\t\t}\n\t\t\t\t\t}else if(this.getDama(i, j) == PECA_2 || this.getDama(i, j) == DAMA_2){\n\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t// pra cima esquerda, tem peca do adversario, e nao tem proxima peca\n\t\t\t\t\t\t\tif((this.getDama(i-1, j-1) == PECA_1 || this.getDama(i-1, j-1) == DAMA_1) && this.getDama(i-2, j-2) == NOPECA){\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}catch(Exception exc){}\n\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t// pra cima direita, tem peca do adversario, e nao tem proxima peca\n\t\t\t\t\t\t\tif((this.getDama(i+1, j-1) == PECA_1 || this.getDama(i+1, j-1) == DAMA_1) && this.getDama(i+2, j-2) == NOPECA){\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}catch(Exception exc){}\n\t\t\t\t\t\tif(this.getDama(i, j) == DAMA_2){\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\t// pra baixo esquerda, tem peca do adversario, e nao tem proxima peca\n\t\t\t\t\t\t\t\tif((this.getDama(i-1, j+1) == PECA_1 || this.getDama(i-1, j+1) == DAMA_1) && this.getDama(i-2, j+2) == NOPECA){\n\t\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}catch(Exception exc){}\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\t// pra baixo direita, tem peca do adversario, e nao tem proxima peca\n\t\t\t\t\t\t\t\tif((this.getDama(i+1, j+1) == PECA_1 || this.getDama(i+1, j+1) == DAMA_1) && this.getDama(i+2, j+2) == NOPECA){\n\t\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}catch(Exception exc){}\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\treturn false;\n\t}", "title": "" }, { "docid": "290b6326e1a2f8da9754729f1a7280b0", "score": "0.4920993", "text": "private String findCodigoMunicipioDGCBD(DireccionLocalizacion dir)throws Exception{\r\n\t\tString sSQL= \"select id_catastro from municipios where id_provincia='\"+dir.getProvinciaINE() +\r\n\t\t\"' and id_ine='\" + dir.getMunicipioINE() + \"'\";\r\n\r\n\t\tString codMunicipioDGC = null;\r\n\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\r\n\t\ttry{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\tif(rs.next())\r\n\t\t\t\tcodMunicipioDGC = rs.getString(\"id_catastro\");\r\n\r\n\t\t\tif(codMunicipioDGC != null && !codMunicipioDGC.equalsIgnoreCase(\"\"))\r\n\t\t\t\treturn codMunicipioDGC;\r\n\t\t\telse\r\n\t\t\t\treturn DEFAULT_CODIGO_MUNICIPIO_DGC;\r\n\t\t}\r\n\t\tcatch (Exception e){\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "3e19279f5a99bf3cc9a21b0ea59a47ae", "score": "0.4916459", "text": "public ArrayList<Colegio> ComboColegio() throws ClassNotFoundException, SQLException, IOException {\n ArrayList<Colegio> lstCole = new ArrayList<>();\n ResultSet rs = objDatCol.ConsultarColegio();\n while (rs.next()) {\n String nomb = rs.getString(\"NombreColegio\");\n String repre = rs.getString(\"NombreRepres\");\n Colegio objAdmin = new Colegio(nomb, nomb);\n lstCole.add(objAdmin);\n }\n\n return lstCole;\n }", "title": "" }, { "docid": "f4ac360b0abb1965be7696b2e0cca707", "score": "0.49150932", "text": "public Object[][] getConainersAndLocations(int Id) throws SQLException {\r\n \r\n int place = 0;\r\n Object[][] conLoc = new Object[getContainerCount(Id)][2];\r\n \r\n try{\r\n db.DbCon();\r\n dba = \"SELECT * From '\" + Id + \"'\";\r\n ps = db.DbCon().prepareStatement(dba);\r\n \r\n rs = ps.executeQuery();\r\n \r\n while(rs.next()) {\r\n \r\n short con = rs.getShort(\"Container\");\r\n String loc = rs.getString(\"Location\");\r\n \r\n conLoc[place][0] = con;\r\n conLoc[place][1] = loc; \r\n place++;\r\n \r\n }\r\n \r\n }catch(SQLException e) {\r\n \r\n JOptionPane.showMessageDialog(null, e.getMessage());\r\n \r\n }finally{\r\n \r\n rs.close();\r\n db.DbCon().close();\r\n }\r\n \r\n return conLoc;\r\n \r\n }", "title": "" }, { "docid": "dc8d7fdee465120f47ca8c98dc169114", "score": "0.4908331", "text": "private void buscarTransferencias(){\n for (int i = 0; i < paquetes.size(); i++) {\n //Se obtiene el punto siguietne de cada paquete\n PuntoDeControl puntoSiguiente = ControladorDB.obtenerPuntosPorRuta(paquetes.get(i).getRuta().getCodigo()).get(0);\n if (TransferenciasDB.obtenerPaquetesPorPunto(puntoSiguiente.getCodigo()\n ).size()<puntoSiguiente.getCapacidad()) {\n TransferenciasDB.ingresarPaqueteDesdeBodega(paquetes.get(i), puntoSiguiente);\n }\n }\n }", "title": "" }, { "docid": "17618e174d475db428a1f21696b0651d", "score": "0.49080533", "text": "@Override\r\n\tpublic void cadastrar(Cursos curso) {\n\t\t\r\n\t\tif (curso != null && curso.isValid() && curso.getCodigo() == 0) {\r\n\t\t\t\r\n\t\t\tString sql = \" insert into cursos (nivel, nome, cargaHoraria, situacao) values (?,?,?,?)\";\r\n\t\t\t\t\t\r\n\t\t\ttry (Connection conexao = ConnectionFactory.getConnection();\r\n\t\t\t\t\tPreparedStatement statement = conexao.prepareStatement(sql,Statement.RETURN_GENERATED_KEYS);){\r\n\t\t\t\t\r\n\t\t\t\tstatement.setInt(1, curso.getNivel());\r\n\t\t\t\tstatement.setString(2, curso.getNome());\r\n\t\t\t\tstatement.setInt(3, curso.getCargaHoraria());\r\n\t\t\t\tstatement.setBoolean(4, curso.getSituacao());\r\n\t\t\t\t\r\n\t\t\t\tstatement.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\ttry (ResultSet result = statement.getGeneratedKeys()){\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(result.next()){\r\n\t\t\t\t\t\tcurso.setCodigo(result.getInt(1));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}catch(Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\tthrow new CursoDaoEX(e.getMessage());\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e092648eed122e78f45e12fb67bb254a", "score": "0.49048594", "text": "List getListConcursosVigentesCerradosGanadoras();", "title": "" }, { "docid": "32883d7bbab7b949f8753d92e18b6cb3", "score": "0.48996717", "text": "public Usuario buscarServicosProximos(Location meu_local, String b_servico) {\n db = FirebaseDatabase.getInstance().getReference().child(\"AgendaPet\").child(\"localizacao\");\n servico = b_servico;\n\n //Instanciando o GeoFire passando como argumento o banco de dados\n geoFire = new GeoFire(db);\n //Utiliza o método queryAtLocation para localizar locais em um raio de 5000km\n geoQuery = geoFire.queryAtLocation(new GeoLocation(meu_local.getLatitude(), meu_local.getLongitude()), 5000);\n geoQuery.addGeoQueryEventListener(new GeoQueryEventListener() {\n @Override\n public void onKeyEntered(String key, final GeoLocation location) {\n DatabaseReference db_user = FirebaseDatabase.getInstance().getReference().child(\"AgendaPet\").child(\"usuario\");\n\n final String chave = key;\n geoFire = new GeoFire(db_user);\n\n //Seleciona Petshops a partir do serviço\n Query query = db_user.orderByChild(\"servico\").equalTo(servico);\n\n query.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n //Passar os dados para a interface grafica\n\n for (DataSnapshot postSnapshot: dataSnapshot.getChildren()) {\n // TODO: handle the post\n marcadores = new ArrayList<MarkerOptions>();\n //Verifica se o id da localização é o mesmo que o id o usuário\n if(chave.equals(postSnapshot.getKey())){\n //Captura o objeto Usuario\n Usuario usuario = postSnapshot.getValue(Usuario.class);\n //Adiciona o marcador azul na lista de marcadores\n // com as informações de localização\n //Nome do petshop e o serviço oferecido\n marcadores.add(new MarkerOptions()\n .position(new LatLng(location.latitude, location.longitude))\n .anchor(0.5f, 0.5f)\n .title(usuario.getNome())\n .snippet(usuario.getServico())\n .icon(BitmapDescriptorFactory\n .defaultMarker(BitmapDescriptorFactory.HUE_BLUE)));\n }\n\n }\n\n for(int i=0;i<marcadores.size();i++){\n //Adiciona os marcadores da lista de marcadores no mapa\n mMap.addMarker(marcadores.get(i));\n //Aplica o zoom no mapa\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(location.latitude,location.longitude), 100));\n\n }\n\n\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n }\n\n @Override\n public void onKeyExited(String key) {\n\n }\n\n @Override\n public void onKeyMoved(String key, GeoLocation location) {\n\n }\n\n @Override\n public void onGeoQueryReady() {\n\n }\n\n @Override\n public void onGeoQueryError(DatabaseError error) {\n\n }\n });\n\n\n return u;\n }", "title": "" }, { "docid": "a5f0a4cb3de836230cb4ee43a52c4028", "score": "0.48954257", "text": "@Test\n\tpublic void perguntasAssociadas() {\n\t\tQuery query = manager\n\t\t\t\t.createQuery(\"select e from Empresa e where not exists (select distinct(pe.codigo_empresa) from PerguntaEmpresa pe where pe.codigo_empresa=e and pe.itemCriticado is not null and pe.areaCriticada is not null)\");\n\t\t\t\t\t\t\n\n\t\tList<Empresa> areas = query.getResultList();\n\t\tSystem.out.println(\"---Impressão de Associadas----\");\n\n\t\tfor (Empresa area : areas)\n\t\t\tSystem.out.println(area.getCodigo()+\" Empresa : \" + area.getNome());\n\t}", "title": "" }, { "docid": "cdac15960c156707409c1baf97e71950", "score": "0.48892835", "text": "private boolean existeUsuario(Proveedor proveedor) throws SQLException {\n\n LinkedList<Proveedor> listaDeProveedores = obtenerCoincidenciasDeBD(proveedor.getNombrePersona());\n boolean existeUsuario = false;\n\n if (listaDeProveedores == null) {\n return existeUsuario;\n }\n\n for (Proveedor proveedorEnBD : listaDeProveedores) {\n if (compararProveedores(proveedorEnBD, proveedor)) {\n //si se cumple, entonces encontramos una coincidencia:\n existeUsuario = true;\n //rompemos el ciclo en caso de que haya más de un cliente\n //con los mismos datos:\n break;\n } else {\n /*el else fue considerado, pero no es usado.*/\n }\n }//fin for\n\n return existeUsuario;\n }", "title": "" }, { "docid": "7671e34f2fc11ca55e1322114991a84e", "score": "0.48891956", "text": "private void getDireccionExpUsuarioBD(Expediente exp, int idLocalizacion) throws Exception\r\n\t{\r\n\t\tString sSQL= \"select * from domicilio_localizacion where id_localizacion=\" + idLocalizacion;\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\tif(rs.next())\r\n\t\t\t{\r\n\t\t\t\tDireccionLocalizacion dir= new DireccionLocalizacion();\r\n\t\t\t\tdir.setIdLocalizacion(TypeUtil.getSimpleLong(rs, \"id_localizacion\"));\r\n\t\t\t\tdir.setProvinciaINE(rs.getString(\"provincia_ine\"));\r\n\t\t\t\tdir.setMunicipioINE(rs.getString(\"municipio_ine\"));\r\n\t\t\t\tdir.setCodigoMunicipioDGC(rs.getString(\"codigo_municipiodgc\"));\r\n\t\t\t\tdir.setNombreEntidadMenor(rs.getString(\"nombre_entidad_menor\"));\r\n\t\t\t\tdir.setCodigoVia(TypeUtil.getSimpleInteger(rs,\"codigo_via\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\tdir.setPrimeraLetra(rs.getString(\"primera_letra\"));\r\n\t\t\t\tdir.setSegundoNumero(TypeUtil.getSimpleInteger(rs,\"segundo_numero\"));\r\n\t\t\t\tdir.setSegundaLetra(rs.getString(\"segunda_letra\"));\r\n\t\t\t\tdir.setKilometro(TypeUtil.getSimpleDouble(rs, \"kilometro\"));\r\n\t\t\t\tdir.setBloque(rs.getString(\"bloque\"));\r\n\t\t\t\tdir.setEscalera(rs.getString(\"escalera\"));\r\n\t\t\t\tdir.setPlanta(rs.getString(\"planta\"));\r\n\t\t\t\tdir.setPuerta(rs.getString(\"puerta\"));\r\n\t\t\t\tdir.setDireccionNoEstructurada(rs.getString(\"direccion_no_estructurada\"));\r\n\r\n\r\n\t\t\t\tint valorCodigoPostal=TypeUtil.getSimpleInteger(rs,\"codigo_postal\");\r\n\t\t\t\tif(valorCodigoPostal!=-1)\r\n\t\t\t\t\tdir.setCodigoPostal(String.valueOf(valorCodigoPostal));\r\n\r\n\t\t\t\tdir.setNombreVia(rs.getString(\"nombre_via\"));\r\n\r\n\t\t\t\tString apartadoCorreos=rs.getString(\"apartado_correos\");\r\n\t\t\t\tif(apartadoCorreos==null)\r\n\t\t\t\t\tdir.setApartadoCorreos(-1);\r\n\t\t\t\telse\r\n\t\t\t\t\tdir.setApartadoCorreos(Integer.parseInt(apartadoCorreos));\r\n\r\n\t\t\t\tdir.setTipoVia(rs.getString(\"tipo_via\"));\r\n\t\t\t\tdir.setNombreProvincia(rs.getString(\"nombre_provincia\"));\r\n\t\t\t\tdir.setNombreMunicipio(rs.getString(\"nombre_municipio\"));\r\n\t\t\t\texp.setDireccionPresentador(dir);\r\n\t\t\t} \r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "204eb58b475e282215e9873cd1520104", "score": "0.48870683", "text": "private Persona getRepresentante(String nifRepresentante, String id_bienInmueble) throws SQLException\r\n\t{\r\n\t\tPersona representante = new Persona();\r\n\t\tString sSQL = \"select * from representante r where r.nifrepresentante='\"+nifRepresentante+\r\n\t\t\"' AND r.id_bieninmueble='\"+id_bienInmueble+\"'\";\r\n\r\n\t\tPreparedStatement ps = null;\r\n\t\tConnection conn = null;\r\n\t\tResultSet rs = null;\r\n\t\tPreparedStatement psVia= null;\r\n\t\tResultSet rsVia= null;\r\n\t\tPreparedStatement psMunicipio= null;\r\n\t\tResultSet rsMunicipio= null;\r\n\r\n\t\ttry {\r\n\r\n\t\t\tconn = CPoolDatabase.getConnection();\r\n\t\t\tps = conn.prepareStatement(sSQL);\r\n\t\t\trs = ps.executeQuery();\r\n\r\n\t\t\twhile (rs.next())\r\n\t\t\t{\r\n\t\t\t\t//Ya no existe: representante.setAusenciaNIF(rs.getString(\"ausencia_nif\"));\r\n\t\t\t\trepresentante.setCodEntidadMenor(rs.getString(\"entidad_menor\"));\r\n\r\n\t\t\t\tDireccionLocalizacion dirRepresentante = new DireccionLocalizacion();\r\n\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs, \"id_via\");\r\n\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\tsSQL = \"select v.tipovianormalizadocatastro, v.nombrecatastro, v.codigocatastro from vias v where id=\" + idVia;\r\n\t\t\t\t\tpsVia= conn.prepareStatement(sSQL);\r\n\t\t\t\t\trsVia= psVia.executeQuery();\r\n\t\t\t\t\tif(rsVia.next()){\r\n\t\t\t\t\t\tdirRepresentante.setCodigoVia(TypeUtil.getSimpleInteger(rs,\"codigocatastro\"));\r\n\t\t\t\t\t\tdirRepresentante.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\tdirRepresentante.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tdirRepresentante.setPrimerNumero(TypeUtil.getSimpleInteger(rs,\"primer_numero\"));\r\n\t\t\t\tdirRepresentante.setBloque(rs.getString(\"bloque\"));\r\n\t\t\t\tdirRepresentante.setCodigoMunicipioDGC(rs.getString(\"codigo_municipio_dgc\"));\r\n\t\t\t\tdirRepresentante.setCodigoPostal(rs.getString(\"codigo_postal\"));\r\n\t\t\t\tdirRepresentante.setDireccionNoEstructurada(rs.getString(\"direccion_no_estructurada\"));\r\n\t\t\t\tdirRepresentante.setEscalera(rs.getString(\"escalera\"));\r\n\t\t\t\tdirRepresentante.setKilometro(TypeUtil.getSimpleDouble(rs,\"kilometro\"));\r\n\t\t\t\tdirRepresentante.setNombreEntidadMenor(rs.getString(\"entidad_menor\"));\r\n\r\n\t\t\t\tString idProv=\"00\";\r\n\t\t\t\tlong codProv=TypeUtil.getSimpleLong(rs,\"codigo_provincia_ine\");\r\n\t\t\t\tif(codProv != -1)\r\n\t\t\t\t\tidProv = String.valueOf(codProv);\r\n\r\n\t\t\t\tString idMun= DEFAULT_CODIGO_MUNICIPIO_DGC;\r\n\t\t\t\tlong codMun=TypeUtil.getSimpleLong(rs,\"codigo_municipio_ine\");\r\n\t\t\t\tif(codMun!=-1)\r\n\t\t\t\t\tidMun = String.valueOf(codMun);\r\n\r\n\t\t\t\tidProv = GeopistaCommonUtils.completarConCeros(idProv, 2);\r\n\r\n\t\t\t\tidMun = GeopistaCommonUtils.completarConCeros(idMun, 3);\r\n\r\n\t\t\t\tString idMunicipio = idProv + idMun;\r\n\r\n\t\t\t\tsSQL = \"select nombreoficial, id_provincia from municipios where id=\" + idMunicipio;\r\n\t\t\t\tpsMunicipio= conn.prepareStatement(sSQL);\r\n\t\t\t\trsMunicipio= psMunicipio.executeQuery();\r\n\t\t\t\tif(rsMunicipio.next()){\r\n\t\t\t\t\t//Sale de la tabla de municipios\r\n\t\t\t\t\tdirRepresentante.setNombreMunicipio(rsMunicipio.getString(\"nombreoficial\"));\r\n\t\t\t\t\tdirRepresentante.setProvinciaINE(rsMunicipio.getString(\"id_provincia\"));\r\n\t\t\t\t\tdirRepresentante.setNombreProvincia(getNombreProvinciaById(rsMunicipio.getString(\"id_provincia\")));\r\n\t\t\t\t}\r\n\r\n\t\t\t\tdirRepresentante.setMunicipioINE(idMun);\r\n\t\t\t\tif(dirRepresentante.getCodigoMunicipioDGC() == null || dirRepresentante.getCodigoMunicipioDGC().equals(\"\"))\r\n\t\t\t\t\tdirRepresentante.setCodigoMunicipioDGC(idMun);\r\n\r\n\r\n\t\t\t\tdirRepresentante.setPlanta(rs.getString(\"planta\"));\r\n\t\t\t\tdirRepresentante.setPrimeraLetra(rs.getString(\"primera_letra\"));\r\n\t\t\t\tdirRepresentante.setPuerta(rs.getString(\"puerta\"));\r\n\t\t\t\tdirRepresentante.setSegundaLetra(rs.getString(\"segunda_letra\"));\r\n\t\t\t\tdirRepresentante.setSegundoNumero(TypeUtil.getSimpleInteger(rs,\"segundo_numero\"));\r\n\r\n\t\t\t\trepresentante.setDomicilio(dirRepresentante);\r\n\t\t\t\trepresentante.setNif(rs.getString(\"nifrepresentante\"));\r\n\t\t\t\trepresentante.setRazonSocial(rs.getString(\"razonsocial_representante\"));\r\n\r\n\t\t\t}\r\n\t\t\treturn representante;\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{psMunicipio.close();}catch(Exception e){};\r\n\t\t\ttry{rsMunicipio.close();}catch(Exception e){};\r\n\t\t\ttry{psVia.close();}catch(Exception e){};\r\n\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "d8848b163a274e2a645b5a7b73f2e647", "score": "0.48845583", "text": "private Hashtable getUsuariosConExpedienteBD() throws Exception\r\n\t{\r\n\t\tHashtable aux= new Hashtable();\r\n\t\tString sSQL= \"select e.id_tecnico_catastro,iu.name from expediente e, iuseruserhdr iu where \" +\r\n\t\t\" e.id_tecnico_catastro= iu.id group by name, id_tecnico_catastro\";\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\taux.put(rs.getString(\"id_tecnico_catastro\"), rs.getString(\"name\"));\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t}", "title": "" }, { "docid": "a325a1b61538f3deac43cb77f923cc68", "score": "0.4883958", "text": "private void getAuxHorarioDefinitivo()\r\n\t{\r\n\t\t//extraer una lista de id de dias no repetidos (únicos)\r\n\t\tSet<String> uniqueidDays = new HashSet<String>(listaidDias);\r\n\t\tMap<String, Collection<String>> resultado = new TreeMap<String, Collection<String>>();\r\n\t horarioOrdenadoYagrupado = new ArrayList<HorarioCooperativaPorDestino>();\r\n\t HorarioCooperativaPorDestino horarioItem = null;\r\n\t Collection<String> auxHorario;\r\n\t for(String horario: uniqueidDays)\r\n\t {\r\n\t \tauxHorario = multimapCombinacionDiaHorario.get(horario); \r\n\t resultado.put(horario, auxHorario);\r\n\t }\r\n\t \r\n\t for (Iterator itr = resultado.entrySet().iterator(); itr.hasNext();)\r\n\t\t {\r\n\t\t Map.Entry<String, Collection<String>> entrySet = (Map.Entry) itr.next();\t\t \r\n\t\t Collection<String> value = entrySet.getValue();\t\t \t \r\n\t\t String key = entrySet.getKey();\t\r\n\t\t String horario = removeCharAt(key, key.length()-1);\r\n\t\t horario = removeCharAt(horario, 0);\t\t \r\n\t\t horarioItem = new HorarioCooperativaPorDestino(horario, numeroAnden, auxConvertIdToNameDays(value));\r\n\t\t horarioOrdenadoYagrupado.add(horarioItem);\t\t \r\n\t\t //auxConvertIdToNameDays(value);\r\n\t\t } \r\n\t\t\r\n\t}", "title": "" }, { "docid": "456783e0f4a43c9db8d4b5ac895f708e", "score": "0.48745197", "text": "public ControleGeral() {\n\t\tthis.cc = new CrudCliente();\n\t\tthis.cf = new CrudFornecedor();\n\t\tthis.mapConta = new HashMap<>();\n\t\tthis.criterio = \"\";\n\t\tthis.comparadorCompra = new CompraComparadorConta();\n\t}", "title": "" }, { "docid": "1b890897c33f3e1633acb29387e2a1f2", "score": "0.48736715", "text": "public static void capturarDatosCargos() {\r\n\t\tfilaActivac = view.FrmSelectCargo.table.getSelectedRow();\r\n\t\ttry {\r\n\t\t\tCachedRowSet datosc = logic.LogicEquipos.leerCargos();\r\n\t\t\tdatosc.next();\r\n\t\t\tidPrimaryKeyc = view.FrmSelectCargo.table.getValueAt(filaActivac, 0).toString();\r\n\t\t\tcapturarDatosEqiposProyectos();\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "037ba1620fbfe87548d0bb8f4ef8e6f9", "score": "0.48659962", "text": "public List<Annonce_location> readAllLocation() throws SQLException {\r\n List<Annonce_location> arr=new ArrayList<>();\r\n ste=con.createStatement();\r\n ResultSet rs=ste.executeQuery(\"select * from `annonces`,`annonce_location` WHERE `annonces`.`type`=3 AND `annonces`.`ann_id` =`Annonce_location`.`ann_id` AND `annonce_location`.`dispo`=1 ORDER BY date \");\r\n while (rs.next()) { \r\n int id=rs.getInt(1);\r\n String description=rs.getString(\"description\"); \r\n int num_tel=rs.getInt(3);\r\n Date date=rs.getDate(4);\r\n String gouvernerat = rs.getString(5) ;\r\n String Delegation = rs.getString(6);\r\n String Address = rs.getString(7) ;\r\n String photo = rs.getString(8) ;\r\n int Signals = rs.getInt(9) ;\r\n int type = rs.getInt(10) ;\r\n int dispo =rs.getInt(\"dispo\") ;\r\n float prix_heure =rs.getFloat(\"prix_heure\") ;\r\n float prix_jour =rs.getFloat(\"prix_jour\") ;\r\n \r\n Annonce_location a=new Annonce_location(dispo, prix_heure,prix_jour,id, description, num_tel, date, gouvernerat, Delegation,Address, photo, Signals, type);\r\n arr.add(a);\r\n }\r\n return arr;\r\n }", "title": "" }, { "docid": "d18bfe3e2382a747b491dd7d15c05ca4", "score": "0.48598477", "text": "@GetMapping(\"/connected\")\n\tpublic String isConnected(@RequestParam(required = true) String origin, @RequestParam(required = true) String destination)\n\t{\n\t\tif(getCityMap == null || getCityMap.size() == 0)\n\t\t\t\treturn \"City.txt file either doesnot exist or file is not valid\";\n\t\t\n\t\tif(origin == null || destination == null || origin.trim().equals(\"\") || destination.trim().equals(\"\") )\n\t\t\treturn \"No\";\n\t\n\t\tisVisited = new HashMap<String, Boolean>();\n\t\t\n\t\tboolean pathExists = printAllPathsUtil(origin.trim().toLowerCase(), destination.trim().toLowerCase(),isVisited);\n\t\treturn pathExists ? \"Yes\" : \"No\";\n\t\t\n\t}", "title": "" }, { "docid": "5a46b26db06cc833ade0d82e83fade31", "score": "0.48533037", "text": "private void requestZonesFromDb(){\n AsyncGetZonesTask zoneTask = new AsyncGetZonesTask(new AsyncGetZonesTask.AsyncResponse(){\n @Override\n public void processFinish(ArrayList<Zone> output){\n Log.d(LOG_TAG, \"processFinish() called\");\n }\n });\n try{\n zones = zoneTask.execute().get();\n for (Zone z : zones){\n if (z.getBalance() >= 50.0){\n addZoneToMap(z.getCoords());\n Log.d(LOG_TAG, \"Zone \"+z.getDescription()+ \"'s balance is sufficient at: \"+z.getBalance()+ \". Showing on map.\");\n }\n else{\n Log.d(LOG_TAG, \"Zone \"+z.getDescription()+ \"'s balance is too low at: \"+z.getBalance()+ \". Not showing on map.\");\n }\n }\n } catch (Exception e) {\n Log.e(LOG_TAG, \"registerTask.execute() failed: \"+e.toString());\n }\n }", "title": "" }, { "docid": "dbb29c88feaa07c0f9f48d25cd6d051c", "score": "0.48519847", "text": "@Override\n\tpublic boolean comprobarDatos(Identificable dato) {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "62b5051c1ae3cdcbc0eb17a4c79e28a9", "score": "0.48498744", "text": "private boolean existeMercaderia(int clave) {\n for (Mercaderia mercaderia : mercaderias) {\n if (mercaderia.getClave() == clave) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "85b15732ac5f86d8c016a8bc39517c35", "score": "0.48448506", "text": "public CoordinadorEntity getCoordinador(Long coordinadorId) {\r\n LOGGER.log(Level.INFO, \"Inicia proceso de consultar la coordinador con id = {0}\", coordinadorId);\r\n // Note que, por medio de la inyección de dependencias se llama al método \"find(id)\" que se encuentra en la persistencia.\r\n CoordinadorEntity coordinadorEntity = persistence.find(coordinadorId);\r\n if (coordinadorEntity == null) {\r\n LOGGER.log(Level.SEVERE, \"La coordinador con el id = {0} no existe\", coordinadorId);\r\n }\r\n LOGGER.log(Level.INFO, \"Termina proceso de consultar la coordinador con id = {0}\", coordinadorId);\r\n return coordinadorEntity;\r\n }", "title": "" }, { "docid": "b82918b7d15d53c79b72bc52d915a1f2", "score": "0.48446772", "text": "public List letrasVencidasTramos_empresaConvenio_todos_ordenDireccion_SC(int codEmpresaConvenio) {\r\n //*corregir* el uso de datosCleinte esta por demas\r\n List l = null;\r\n Transaction trns = null;\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n trns = sesion.beginTransaction();\r\n Query q = sesion.createQuery(\"select vcl.ventas.codVentas,\"\r\n + \"\tvcl.ventas.docSerieNumero,\"\r\n + \"\tvcl.ventas.fecha,\"\r\n + \"\tvcl.ventas.identificacion,\"\r\n + \"\tvcl.ventas.cliente,\"\r\n + \"\tvcl.ventas.direccion,\"\r\n + \"\tvcl.ventas.neto,\"\r\n + \"\tvcl.codVentaCreditoLetra,\"\r\n + \"\tvcl.fechaVencimiento,\"\r\n + \"\tvcl.monto,\"\r\n + \"\tvcl.totalPago,\"\r\n + \" dc.empresaConvenio.codCobranza\"\r\n + \" from VentaCreditoLetra vcl, DatosCliente dc\"\r\n + \" where vcl.ventas.persona = dc.persona\"\r\n + \" and (vcl.monto-vcl.totalPago)>0\"\r\n + \"\tand substring(vcl.registro,1,1)=1\"\r\n + \" and dc.empresaConvenio.codEmpresaConvenio = :ter1\"\r\n + \" order by vcl.ventas.persona.direccion,\"\r\n + \" dc.codDatosCliente, vcl.ventas.codVentas\")\r\n .setInteger(\"ter1\", codEmpresaConvenio);\r\n l = q.list();\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n setError(e.getMessage());\r\n } finally {\r\n sesion.flush();\r\n sesion.close();\r\n }\r\n return l;\r\n }", "title": "" }, { "docid": "aa4bc3283039970c79960f75272d89d7", "score": "0.4840558", "text": "public static void cargaDatos() throws SQLException {\n\t\t\n\t\tlog.info(\"Fill the preference table\");\n\t\t//Fill the preference database\n\t\trellBasDat(1, 101, 5.0); \n\t\trellBasDat(1, 102, 3.0); \n\t\trellBasDat(1, 103, 2.5); \n\t\trellBasDat(2, 101, 2.0); \n\t\trellBasDat(2, 102, 2.5); \n\t\trellBasDat(2, 103, 5.0); \n\t\trellBasDat(2, 104, 2.0); \n\t\trellBasDat(3, 101, 2.5); \n\t\trellBasDat(3, 104, 4.0); \n\t\trellBasDat(3, 105, 4.5); \n\t\trellBasDat(3, 107, 5.0); \n\t\trellBasDat(4, 101, 5.0); \n\t\trellBasDat(4, 103, 3.0); \n\t\trellBasDat(4, 104, 4.5); \n\t\trellBasDat(4, 106, 4.0); \n\t\trellBasDat(5, 101, 4.0);\n\t\trellBasDat(5, 102, 3.0); \n\t\trellBasDat(5, 103, 2.0); \n\t\trellBasDat(5, 104, 4.0); \n\t\trellBasDat(5, 105, 3.5);\n\t\trellBasDat(5, 106, 4.0); \n\t\trellBasDat(6, 101, 3.0);\n\t\trellBasDat(6, 104, 5.0);\n\t\t\n\t\tlog.info(\"Fill the relations table\");\n\t\t// Fill the relations database\n\t\trellBasRel(0,12);\n \trellBasRel(1, 2);\n \trellBasRel(1, 11);\n \trellBasRel(2, 1);\n \trellBasRel(2, 3);\n \trellBasRel(2, 8);\n \trellBasRel(3, 2);\n \trellBasRel(3, 10);\n \trellBasRel(4, 5);\n \trellBasRel(4, 6);\n \trellBasRel(5, 4);\n rellBasRel(5, 7);\n rellBasRel(5, 11);\n rellBasRel(6, 4);\n rellBasRel(6, 7);\n rellBasRel(6, 10);\n rellBasRel(7, 5);\n rellBasRel(7, 6);\n rellBasRel(7, 8);\n rellBasRel(8, 2);\n rellBasRel(8, 7);\n rellBasRel(9, 10);\n rellBasRel(10, 3);\n rellBasRel(10, 6);\n rellBasRel(10, 9);\n rellBasRel(11, 1);\n rellBasRel(11, 5);\n rellBasRel(12, 0);\n \n log.info(\"Fill the similarity table\");\n rellBasSimDist();\n rellBasSim();\n \n \tlog.info(\"The data has been introduced correctly\");\n\t}", "title": "" }, { "docid": "cef47efc2fb92da0b1f8be7fcb77e4d1", "score": "0.4835285", "text": "public void instantiateDataBase() {\n\n\t\tEstado est1 = new Estado(null, \"São Paulo\");\n\t\tEstado est2 = new Estado(null, \"Rio De Janeiro\");\n\t\tEstado est3 = new Estado(null, \"Espírito Santo\");\n\n\t\tCidade c1 = new Cidade(null, \"São Paulo\", est1);\n\t\tCidade c2 = new Cidade(null, \"Rio De Janeiro\", est2);\n\t\tCidade c3 = new Cidade(null, \"Campo Grande\", est2);\n\n\t\test1.getCidades().addAll(Arrays.asList(c1));\n\t\test2.getCidades().addAll(Arrays.asList(c2, c3));\n\n\t\testadoRepository.saveAll(Arrays.asList(est1, est2, est3));\n\t\tcidadeRepository.saveAll(Arrays.asList(c1, c2, c3));\n\n\t\tLong aux;\n\t\tLocalDate data = LocalDate.of(1993, 12, 21);\n\t\t\n\n\n\t\tInstituicao escola = new Instituicao(\"Centro Educacional Futuro Certo\", \"(21) 988554525\", null,\n\t\t\t\t\"[email protected]\", \"25.561.654/6321-68\", TipoInstituicao.ESCOLAR, null,\n\t\t\t\tpe.encode(\"senha1\"));\n\t\tescola.addPerfil(Perfil.ADMIN);\n\n\n\t\tInstituicao empresaQuali = new Instituicao(\"Fundação Cursos Oliveira\", \"(21) 2141-5522\", null,\n\t\t\t\t\"[email protected]\", \"44.775/5522-11\", TipoInstituicao.QUALIFICADORA, null,\n\t\t\t\tpe.encode(\"senha2\"));\n\t\tempresaQuali.addPerfil(Perfil.ADMIN);\n\t\n\n\n\t\tInstituicao empresa = new Instituicao(\"Restaurante Sabor Total\", \"(21) 95663-2541\", null,\n\t\t\t\t\"[email protected]\", \"21.252.656/5889-95\", TipoInstituicao.LABORAL, null,\n\t\t\t\tpe.encode(\"senha3\"));\n\t\tempresa.addPerfil(Perfil.ADMIN);\n\t\t\n\t\tInstituicao gambiarra = new Instituicao(\"Sem instituição selecionada\", \"\", null,\n\t\t\t\t\"\", \"\", TipoInstituicao.ESCOLAR, 0,\n\t\t\t\tpe.encode(\"senha1\"));\n\t\tgambiarra.addPerfil(Perfil.ADMIN);\n\t\t//instituicaoRep.saveAll(Arrays.asList(gambiarra));\n\t\t\n\t\tinstituicaoRep.saveAll(Arrays.asList(gambiarra, escola, empresaQuali, empresa));\n\t\t\n\t\t\n\t\t Aprendiz apr1 = new Aprendiz(\"Pedro Augusto de Assis\", \"(21) 9533-33331\", null,\"[email protected]\" , \"041.251.478-56\", data, \"011.225.445-55\", \"(21) 9999-99999\", null , null, pe.encode(\"senha4\"));\n\t\t apr1.addPerfil(Perfil.ADMIN);\n\t\t \n\t\t Aprendiz apr2 = new Aprendiz(\"Wendel Dias Reis\", \"(21) 9533-33331\", null,\"[email protected]\" , \"041.251.478-56\", data, \"011.225.445-55\", \"(21) 9999-99999\", null , null, pe.encode(\"senha5\"));\n\t\t apr2.addPerfil(Perfil.ADMIN);\n\t\t aprendizRep.saveAll(Arrays.asList(apr1, apr2));\n\t\t \n\t\t \n\t\t InstituicaoAprendiz instApr1 = new InstituicaoAprendiz(apr1, empresa);\n\t\t InstituicaoAprendiz instApr2 = new InstituicaoAprendiz(apr1, escola);\n\t\t InstituicaoAprendiz instApr3 = new InstituicaoAprendiz(apr1, empresaQuali);\n\t\t \n\t\t InstituicaoAprendiz instApr4 = new InstituicaoAprendiz(apr2, empresa);\n\t\t InstituicaoAprendiz instApr5 = new InstituicaoAprendiz(apr2, escola);\n\t\t InstituicaoAprendiz instApr6 = new InstituicaoAprendiz(apr2, empresaQuali);\n\t\t \n\t\t instAprRepo.saveAll(Arrays.asList(instApr1, instApr2, instApr3, instApr4, instApr5 ,instApr6));\n\t\t \n\t\t Endereco end1 = new Endereco(\"Rua Francisco Paulo, 01\", \"Fundos\", \"Mascarenhas\", c2, null, apr1);\n\t\t Endereco end2 = new Endereco(\"Rua Hermínio, 6.009\", \"Casa 3\", \"Tijuca\", c3, null, apr2);\n\t\t Endereco end3 = new Endereco(\"Av Marcos Paulo, 11\", \"Fundos\", \"Penha\", c2, null, escola);\n\t\t Endereco end4 = new Endereco(\"Av Dom Hélder, 6.009\", \"Prédio 5\", \"Madureira\", c3, null, empresaQuali);\n\t\t Endereco end5 = new Endereco(\"Av Paulo de Flotin, 6.009\", \"Prédio 5\", \"Rio Comprido\", c3, null, empresa);\n\t\t \n\t\t enderecoRep.saveAll(Arrays.asList(end1, end2, end3, end4, end5));\n\t\t \n\t\t /*\t\t \n\t\t empresa.setAprendiz(Arrays.asList(instApr1, instApr4));\n\t\t escola.setAprendiz(Arrays.asList(instApr2, instApr5));\n\t\t empresaQuali.setAprendiz(Arrays.asList(instApr3, instApr6));\n\t\t instituicaoRep.saveAll(Arrays.asList(escola, empresaQuali, empresa));\n\t\t \n\t\t apr1.setInstituicoes(Arrays.asList(instApr1, instApr2, instApr3));\n\t\t apr2.setInstituicoes(Arrays.asList(instApr4, instApr5, instApr6));\n\t\t aprendizRep.saveAll(Arrays.asList(apr1, apr2));*/\n\t\t //apr1.setEscola(escola); instituicaoRep.saveAll(Arrays.asList(empresa, escola, empresaQuali));\n\t\t \n\n\t}", "title": "" }, { "docid": "dcecf34a980669cf5ec165f0b0389880", "score": "0.48260626", "text": "private void inicializarTabla() {\n\n List<Fabricante>fabricantes = Controlador.devolverFabricantesSinRepetir();\n for ( Fabricante fabricante : fabricantes) {\n if(fabricante !=null){\n modelo.addRow(new Object[]{fabricante.getId(),fabricante.getCif(),fabricante.getNombre()}); \n }\n }\n\n \n }", "title": "" }, { "docid": "3ea00f4a57a0a3790b8762a9e576f726", "score": "0.4825057", "text": "public void inicializarJuego() {\n Celula miCelula;\n ArrayList<Celula> celulas = new ArrayList<Celula>();\n \n celulas = miTejido.getVerdes();\n if(celulas.size() > 0) {\n miCelula = celulas.get(0);\n this.contaminar(conector.buscarConectadas(miCelula,\"V\"),\"V\");\n }\n \n celulas.clear();\n miTejido.organizarCelulas();\n \n celulas = miTejido.getRojas();\n if(celulas.size() > 0) { \n miCelula = celulas.get(0);\n this.contaminar(conector.buscarConectadas(miCelula,\"R\"),\"R\");\n }\n }", "title": "" }, { "docid": "b6b3af87c8bf5c35b5e065613dfbc450", "score": "0.48228526", "text": "private void adicionaApelidoAoUsuario() {\n for(Map<String, String> apelido : getApelidos()) {\n getUsuario().adicionarApelido(apelido.get(\"apelidado\"));\n } \n }", "title": "" }, { "docid": "1ec114fd24a82a773d2a560b1f7b6f76", "score": "0.4822698", "text": "private static List<CandidatoTrackingDto> getPreCandidato_C() throws Exception{\n\t\tList<CandidatoTrackingDto> candidatos = new ArrayList<CandidatoTrackingDto>();\n\t\tCandidatoTrackingDto candDto;\n\t\tString idTipoPostulante = \"3\";\n\t\t/*\n\t\t * posible candidato C (Sin COnfirmar)\n\t\t * [Inserta en posible_candidato y Persona (persona, hist_pwd, relacion_emp-per)]\n\t\t *\n\t\t//Eduardo Castro ([email protected], carga-P3)\n\t\tcandDto = new CandidatoTrackingDto();\n\t\tcandDto.setIdEsquemaPerfilPosicion(idEsquemaPerPos_Candidato);\n\t\tcandDto.setTipoPostulante(idTipoPostulante);\n\t\tcandDto.setEmail(\"[email protected]\");\n\t\tcandDto.setNombre(\"Eduardo\");\n\t\tcandDto.setApellidoPaterno(\"Castro\");\n\n\t\tcandidatos.add(candDto);\t\t\n\t\t\n\t\t//Jorge Pedroza ([email protected])\n\t\tcandDto = new CandidatoTrackingDto();\n\t\tcandDto.setIdEsquemaPerfilPosicion(idEsquemaPerPos_Candidato);\n\t\tcandDto.setTipoPostulante(idTipoPostulante);\n\t\tcandDto.setEmail(\"[email protected]\");\n\t\tcandDto.setNombre(\"Jorge\");\n\t\tcandDto.setApellidoPaterno(\"Pedroza\");\n\n\t\tcandidatos.add(candDto); //*/\n\t\t\n\t\t/* Precandidatos 3 (Confirmados) */\n\t\t\n\t\t//Mauricio Agustín Meza ([email protected])\n\t\tcandDto = new CandidatoTrackingDto();\n\t\tcandDto.setIdEsquemaPerfilPosicion(idEsquemaPerPos_Candidato);\n\t\tcandDto.setTipoPostulante(idTipoPostulante);\n\t\tcandDto.setEmail(\"[email protected]\");\n\t\tcandDto.setNombre(\"Mauricio Agustín\");\n\t\tcandDto.setApellidoPaterno(\"Meza\");\n\n\t\tcandidatos.add(candDto); //*/\n\t\t\n\t\treturn candidatos;\n\t}", "title": "" }, { "docid": "5ca09f98618d8266be5bc3e9f248032e", "score": "0.48094773", "text": "private void calcularCoordenadas() {\n\t\tX_START = (getSize().width - WIDTH ) / 2;\n\t\tY_START = (getSize().height - HEIGHT) / 2;\n\t\tX_END = X_START + WIDTH; \n\t\tY_END = Y_START + HEIGHT;\n\n\t\tcoordPosicao[0][0] = new Point(X_START , Y_START );\n\t\tcoordPosicao[0][1] = new Point(X_START + X_3, Y_START + Y_3);\n\n\t\tcoordPosicao[1][0] = new Point(X_START + X_3, Y_START );\n\t\tcoordPosicao[1][1] = new Point(X_END - X_3, Y_START + Y_3);\n\t\t\n\t\tcoordPosicao[2][0] = new Point(X_END - X_3, Y_START );\n\t\tcoordPosicao[2][1] = new Point(X_END , Y_START + Y_3);\n\t\t\n\t\tcoordPosicao[3][0] = new Point(X_START , Y_START + Y_3);\n\t\tcoordPosicao[3][1] = new Point(X_START + X_3, Y_END - Y_3);\n\n\t\tcoordPosicao[4][0] = new Point(X_START + X_3, Y_START + Y_3);\n\t\tcoordPosicao[4][1] = new Point(X_END - X_3, Y_END - Y_3);\n\t\t\n\t\tcoordPosicao[5][0] = new Point(X_END - X_3, Y_START + Y_3);\n\t\tcoordPosicao[5][1] = new Point(X_END , Y_END - Y_3);\n\n\t\tcoordPosicao[6][0] = new Point(X_START , Y_END - Y_3);\n\t\tcoordPosicao[6][1] = new Point(X_START + X_3, Y_END );\n\n\t\tcoordPosicao[7][0] = new Point(X_START + X_3, Y_END - Y_3);\n\t\tcoordPosicao[7][1] = new Point(X_END - X_3, Y_END );\n\t\t\n\t\tcoordPosicao[8][0] = new Point(X_END - X_3, Y_END - Y_3);\n\t\tcoordPosicao[8][1] = new Point(X_END , Y_END );\n\t}", "title": "" }, { "docid": "c8dd1063f6575b7d392681dbd21d151c", "score": "0.48088977", "text": "public void insertCoordenates(JSONArray datos) throws JSONException{\n JSONArray dato;\n\n if(datos.length()>0){\n String query = \"\";\n for(int i = 0; i < datos.length(); i++){\n dato = datos.getJSONArray(i);\n query = \"INSERT INTO repository VALUES ('\";\n query = query + dato.getString(0) + \"',\";\n query = query + dato.getDouble(1) + \",\";\n query = query + dato.getDouble(2) + \",\";\n query = query + dato.getDouble(3) + \",\";\n query = query + dato.getInt(4) + \");\";\n database.execSQL(query);\n }\n }\n\n }", "title": "" }, { "docid": "52e7df580aa8dc29cdcf8775525c6b14", "score": "0.48080507", "text": "List getListConcursosVigentesCerrados();", "title": "" }, { "docid": "14b887fc71ec6f1dc1d6e7c094e05d9c", "score": "0.4807521", "text": "public boolean deleteAllCentroids() {\n try {\n// dbAccess.reconnect();\n Statement stmt = dbAccess.getConnection().createStatement();\n String sql;\n\n //dbAccess.executeUpdate(\"DELETE FROM centroids WHERE FK_psclient = '\" + psClient + \"';\");\n if (customName == null) {\n// dbAccess.executeUpdate(\"DELETE FROM community_profiles WHERE community LIKE '\"+algorithm+\"_\"+associationType+\"_\"+\"%' AND FK_psclient = '\" + psClient + \"' ;\");\n sql = \"DELETE FROM community_profiles WHERE community LIKE '\" + algorithm + \"_\" + associationType.hashCode() + \"_\" + \"%' AND FK_psclient = '\" + psClient + \"' ;\";\n } else {\n String communityName = \"custom_0_\" + customName;\n // delete previus comunity with the same name\n// dbAccess.executeUpdate(\"DELETE FROM community_profiles WHERE community = '\"+communityName+\"' AND FK_psclient = '\" + psClient + \"' ;\");\n sql = \"DELETE FROM community_profiles WHERE community = '\" + communityName + \"' AND FK_psclient = '\" + psClient + \"' ;\";\n }\n int rs = stmt.executeUpdate(sql);\n stmt.close();\n return true;\n } catch (SQLException ex) {\n Logger.getLogger(PSocialDBAccess.class.getName()).log(Level.SEVERE, null, ex);\n return false;\n }\n// finally {\n// try {\n// dbAccess.disconnect();\n// } catch (SQLException ex) {\n// Logger.getLogger(PSocialDBAccess.class.getName()).log(Level.SEVERE, null, ex);\n// return false;\n// }\n// }\n }", "title": "" }, { "docid": "255eb1c737342f1591eb691bb5335c21", "score": "0.48071197", "text": "private void getRoutesFromDB(){\n mRef = mDataBase.getReference(PathRoute);\n mRef.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n int size = ActiveTrips.size();\n for(DataSnapshot singlesnapshot : snapshot.getChildren() ){\n Viaje viaje = new Viaje();\n String status = singlesnapshot.child(\"status\").getValue(String.class);\n String uidConductor = singlesnapshot.child(\"uidConductor\").getValue(String.class);\n\n\n String key = singlesnapshot.child(\"key\").getValue(String.class);;\n if(status.equals(\"active\") && !uidConductor.equals(mAuth.getUid()) && !idRutas.contains(key)){\n\n String origen = singlesnapshot.child(\"originDirection\").getValue(String.class);\n String nombreConductor = singlesnapshot.child(\"nombreConductor\").getValue(String.class);\n String destino = singlesnapshot.child(\"destinationDirection\").getValue(String.class);\n String marca = singlesnapshot.child(\"carro\").child(\"marca\").getValue(String.class);\n String placa = singlesnapshot.child(\"carro\").child(\"placa\").getValue(String.class);\n Integer valorCupo = singlesnapshot.child(\"valorViaje\").getValue(Integer.class);\n Integer capacidad = singlesnapshot.child(\"cuposDisponibles\").getValue(Integer.class);\n String puntoEncuentro = singlesnapshot.child(\"puntoEncuentro\").getValue(String.class);\n String hora = singlesnapshot.child(\"horaViaje\").getValue(String.class);\n if(capacidad > 0) {\n viaje.setIdConductor(uidConductor);\n viaje.setIdViaje(key);\n viaje.setNombreDelConductor(nombreConductor);\n viaje.setOrigen(origen);\n viaje.setDestino(destino);\n viaje.setMarca(marca);\n viaje.setPlaca(placa);\n viaje.setValorCupo(valorCupo);\n viaje.setCapacidad(capacidad);\n viaje.setPuntoEncuentro(puntoEncuentro);\n viaje.setHora(hora);\n ActiveTrips.add(viaje);\n idRutas.add(key);\n }\n }\n }\n\n if(size != ActiveTrips.size()){\n // Create the custom adapter for the trips\n TripsCustomAdapter tripsAdapter = new TripsCustomAdapter();\n // Create and bind list view with TripsCustomAdapter\n ListView tripsListView = (ListView) findViewById(R.id.Trips_ListView);\n tripsListView.setAdapter(tripsAdapter);\n }\n\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n\n }\n });\n }", "title": "" }, { "docid": "8d3b4efa2a2a527ab52489aea407a299", "score": "0.48062763", "text": "public boolean existe(String aBuscar){\n em = getEntityManager(); \n String queryString = \"SELECT edr.nombre FROM EspecificidadDeRegion edr \"\n + \"WHERE edr.nombre = :stringParam\";\n Query q = em.createQuery(queryString)\n .setParameter(\"stringParam\", aBuscar);\n return q.getResultList().isEmpty();\n }", "title": "" }, { "docid": "69a02d8298b865a61d7204904c5a4283", "score": "0.4804267", "text": "@Test\n public void getCompradorTest(){\n OrdenPedidoEntity ordenPedidoEntity = data.get(0);\n CompradorEntity comprador = ordenPedidoEntity.getComprador() ;\n Assert.assertEquals(comprador.getAlias(), ordenPedidoEntity.getComprador().getAlias());\n }", "title": "" }, { "docid": "7bbeaba7bfb7a320f220110add464b6b", "score": "0.48013836", "text": "public List<Apoyo> getApoyosUsuarioConectado() {\n return usuarioConectado.getApoyos();\n }", "title": "" }, { "docid": "678671ab9b34187bc63a41eb3cc1f86e", "score": "0.4801105", "text": "public void setCoordenadas(String coordenadas) {\n this.coordenadas = coordenadas;\n }", "title": "" }, { "docid": "e63b898cd63692a9dca30e15a7b51cf6", "score": "0.47991794", "text": "public boolean checkInitialization() {\n\t\tfor (int i = 0; i < continentList.size(); i++) {\n\t\t\tfor (int j = 0; j < continentList.get(i).getSize(); j++) {\n\t\t\t\tif (continentList.get(i).getCountryOwner(j) == null) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "0548456cb68ceeff4e4849c4f36fefc8", "score": "0.47985655", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Cursos)) {\r\n return false;\r\n }\r\n Cursos other = (Cursos) object;\r\n if ((this.idcurso == null && other.idcurso != null) || (this.idcurso != null && !this.idcurso.equals(other.idcurso))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "3879f980a7250ac67f5ad80df5b80a5e", "score": "0.47969815", "text": "public Coordenada buscar(String texto, int rango) {\n for (int c = 0; c < rango; c++) {\n for (int r = 0; r < rango; r++) {\n Row fila = this.sheet.getRow(r);\n if (fila != null) {\n Cell celda = fila.getCell(c);\n if (celda != null) {\n String valor = celda.toString();\n\n if (valor.equalsIgnoreCase(texto)) {\n this.debug.write(\"Encontrado en \" + r + \"-\" + c);\n return new Coordenada(r, c);\n }\n }\n }\n }\n }\n this.debug.error(\"No se ha encontrado '\" + texto + \"'\");\n return null;\n }", "title": "" }, { "docid": "f49751cce759b3cafd167a769e5272c2", "score": "0.47939277", "text": "public void resultaatOpBasisVanCoordinaten(Double latitude, Double longitude) {\n weerObjectenRepository.getWeerObjectfromCoordinaten(latitude, longitude, new OnGetWeerObjectCallback() {\n @Override\n public void onSuccess(WeerObject weerObject) {\n\n datumToevoegen(weerObject);\n naamStadNaarHoofdletter(weerObject);\n temperatuurAfronden(weerObject);\n\n // handmatige auto increment omdat room anders not unique primary key\n // exception gooit\n Long nieuweID = new Long(rowCount);\n weerObject.setId(nieuweID + 1);\n\n mWeerViewModel.insert(weerObject);\n\n if (weerObject.getMain().getTemp() >= TEMPERATUUR_VOOR_KORTE_BROEK) {\n naarSchermKorteBroek(weerObject);\n } else {\n naarSchermGeenKorteBroek(weerObject);\n }\n }\n\n @Override\n public void onError() {\n Toast.makeText(StadInvoeren.this,\n \"Er ging iets niet goed bij het ophalen van het weer\", Toast.LENGTH_LONG).show();\n }\n });\n }", "title": "" }, { "docid": "f033b267fead60a762fecf4b46018b0f", "score": "0.47911862", "text": "private Collection getBienInmuebleCatastroRusticoBuscadosPorPoligonoDB(String idMunicipio,String patronPoligono,\r\n\t\t\tString patronParcela) throws Exception\r\n\t\t\t{\r\n\t\tArrayList aux= new ArrayList();\r\n\t\tPreparedStatement ps= null;\r\n\t\tConnection conn= null;\r\n\t\tResultSet rs= null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString sSQL;\r\n\t\t\tconn= CPoolDatabase.getConnection();\r\n\t\t\tif(CPoolDatabase.isPostgres(conn))\r\n\t\t\t{\r\n\t\t\t\tsSQL =\"select distinct bien_inmueble.identificador, bien_inmueble.poligono_rustico, bien_inmueble.parcela,\"+\r\n\t\t\t\t\" bien_inmueble.id_via, bien_inmueble.primer_numero\"+\r\n\t\t\t\t\" from bien_inmueble, parcelas where parcelas.referencia_catastral\"+\r\n\t\t\t\t\" IS NOT NULL and parcelas.id_municipio='\"+ idMunicipio+\"'\"+\r\n\t\t\t\t\" and (bien_inmueble.poligono_rustico is not null and bien_inmueble.poligono_rustico\" +\r\n\t\t\t\t\" like upper('%\" + patronPoligono + \"%'))\"+\r\n\t\t\t\t\" and (bien_inmueble.parcela is not null and bien_inmueble.parcela\" +\r\n\t\t\t\t\" like upper('%\" + patronParcela + \"%'))\"+\r\n\t\t\t\t\" and bien_inmueble.identificador like parcelas.referencia_catastral || '%'\"+\r\n\t\t\t\t\" order by bien_inmueble.poligono_rustico asc\";\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tsSQL =\"select distinct bien_inmueble.identificador, bien_inmueble.poligono_rustico, bien_inmueble.parcela\"+\r\n\t\t\t\t\" from bien_inmueble, parcelas where parcelas.referencia_catastral\"+\r\n\t\t\t\t\" IS NOT NULL and parcelas.id_municipio='\"+ idMunicipio+\"'\"+\r\n\t\t\t\t\" and (bien_inmueble.poligono_rustico is not null and bien_inmueble.poligono_rustico\" +\r\n\t\t\t\t\" like upper('%\" + patronPoligono + \"%'))\"+\r\n\t\t\t\t\" and (bien_inmueble.parcela is not null and bien_inmueble.parcela\" +\r\n\t\t\t\t\" like upper('%\" + patronParcela + \"%'))\"+\r\n\t\t\t\t\" and bien_inmueble.identificador like concat(parcelas.referencia_catastral,'%')\" +\r\n\t\t\t\t\" order by bien_inmueble.poligono_rustico asc\";\r\n\t\t\t}\r\n\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\trs= ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tBienInmuebleCatastro bien = new BienInmuebleCatastro();\r\n\t\t\t\tIdBienInmueble idBI = new IdBienInmueble();\r\n\t\t\t\tidBI.setIdBienInmueble(rs.getString(\"identificador\"));\r\n\t\t\t\tbien.setIdBienInmueble(idBI);\r\n\r\n\t\t\t\tDireccionLocalizacion dir = new DireccionLocalizacion();\r\n\t\t\t\tdir.setCodPoligono(rs.getString(\"poligono_rustico\"));\r\n\t\t\t\tdir.setCodParcela(rs.getString(\"parcela\"));\r\n\t\t\t\tdir.setPrimerNumero(TypeUtil.getSimpleInteger(rs, \"primer_numero\"));\r\n\t\t\t\tint idVia = -1;\r\n\t\t\t\tidVia = TypeUtil.getSimpleInteger(rs,\"id_via\");\r\n\t\t\t\tResultSet rsVia= null;\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tif(idVia!=-1){\r\n\t\t\t\t\t\tsSQL = \"select vias.tipovianormalizadocatastro, vias.nombrecatastro from vias where codigocatastro=\" + idVia\r\n\t\t\t\t\t\t+ \" and id_municipio=\"+Integer.parseInt(idMunicipio);;\r\n\t\t\t\t\t\tps= conn.prepareStatement(sSQL);\r\n\t\t\t\t\t\trsVia= ps.executeQuery();\r\n\t\t\t\t\t\tif(rsVia.next())\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tdir.setNombreVia(rsVia.getString(\"nombrecatastro\"));\r\n\t\t\t\t\t\t\tdir.setTipoVia(rsVia.getString(\"tipovianormalizadocatastro\"));\r\n\t\t\t\t\t\t}//fin if\r\n\t\t\t\t\t}//fin if\r\n\t\t\t\t}\r\n\t\t\t\tcatch (Exception e)\r\n\t\t\t\t{\r\n\t\t\t\t\tthrow e;\r\n\t\t\t\t}\r\n\t\t\t\tfinally\r\n\t\t\t\t{\r\n\t\t\t\t\ttry{rsVia.close();}catch(Exception e){};\r\n\t\t\t\t}\r\n\t\t\t\tbien.setDomicilioTributario(dir);\r\n\t\t\t\taux.add(bien);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry{ps.close();}catch(Exception e){};\r\n\t\t\ttry{rs.close();}catch(Exception e){};\r\n\t\t\ttry{conn.close();}catch(Exception e){};\r\n\t\t}\r\n\t\treturn aux;\r\n\t\t\t}", "title": "" }, { "docid": "6c7b7a3d67799af06b90d7090e6f72a7", "score": "0.47872886", "text": "private boolean validarComerciales() {\r\n\t\ttry {\r\n\t\t\tMap aMap = new HashMap();\r\n\t\t\taMap.put(\"empresaId\", Parametros.getIdEmpresa());\r\n\t\t\taMap.put(\"estado\", ESTADO_ACTIVO);\r\n\t\t\taMap.put(\"campanaId\", ordenTrabajoIf.getCampanaId());\r\n\r\n\t\t\t// cambiarlos por los q tienen el visto\r\n\t\t\tCollection comerciales = SessionServiceLocator\r\n\t\t\t\t\t.getComercialSessionService().findComercialByQuery(aMap);\r\n\t\t\tDefaultTableModel modelComercial = (DefaultTableModel) getTblComercial()\r\n\t\t\t\t\t.getModel();\r\n\t\t\tint col = getTblComercial().getColumnCount();\r\n\t\t\tint nfilas = getTblComercial().getRowCount();\r\n\r\n\t\t\tint[] arrayCheckbox = new int[comerciales.size()];\r\n\t\t\tfor (int i = 0; i < nfilas; i++) {\r\n\t\t\t\tBoolean checkbox = (Boolean) modelComercial.getValueAt(i, 0);\r\n\t\t\t\tif (checkbox.booleanValue()) {\r\n\t\t\t\t\tarrayCheckbox[i] = 1;\r\n\t\t\t\t} else\r\n\t\t\t\t\tarrayCheckbox[i] = 0;\r\n\t\t\t}\r\n\r\n\t\t\t// llena la coleccion de los Comerciales seleccionados\r\n\t\t\tCollection<ComercialIf> comercialesElegidos = new ArrayList<ComercialIf>();\r\n\t\t\tIterator comercialesIt = comerciales.iterator();\r\n\t\t\tfor (int i = 0; i < comerciales.size(); i++) {\r\n\t\t\t\tif (comercialesIt.hasNext()) {\r\n\t\t\t\t\tComercialIf comercialDepIf = (ComercialIf) comercialesIt\r\n\t\t\t\t\t\t\t.next();\r\n\t\t\t\t\tif (arrayCheckbox[i] == 1) {\r\n\t\t\t\t\t\tcomercialesElegidos.add(comercialDepIf);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tCollection planMedioDetallesPlantillaVal;\r\n\t\t\tMap<PlanMedioDetalleIf, Collection<InfoComercialMultiple>> mapasComercialesPlantillaMultipleVal;\r\n\r\n\t\t\tplanMedioDetallesPlantillaVal = planMedioDetallesPlantilla;\r\n\t\t\t// mapasComercialesPlantillaMultiple CONTIENE A LA LETRAS VER DONDE\r\n\t\t\t// SE LLENA\r\n\t\t\tmapasComercialesPlantillaMultipleVal = mapasComercialesPlantillaMultiple;\r\n\r\n\t\t\tIterator detallesPlantillaIt = planMedioDetallesPlantillaVal\r\n\t\t\t\t\t.iterator();\r\n\t\t\t// ADD 5 JULIO\r\n\t\t\tString cadenaNoComercialExistente = \"\";\r\n\r\n\t\t\tif (mapasComercialesPlantillaMultipleVal.size() > 0) {\r\n\r\n\t\t\t\tIterator planMedioDetalleIt = mapasComercialesPlantillaMultipleVal\r\n\t\t\t\t\t\t.keySet().iterator();\r\n\t\t\t\twhile (planMedioDetalleIt.hasNext()) {\r\n\t\t\t\t\tPlanMedioDetalleIf planMedioDetalleIf = (PlanMedioDetalleIf) planMedioDetalleIt\r\n\t\t\t\t\t\t\t.next();\r\n\t\t\t\t\t// este comercial es: VERSION,DERECHO_DE_PROGRAMA, hay que\r\n\t\t\t\t\t// separarlos\r\n\t\t\t\t\tString comercial = planMedioDetalleIf.getComercial();\r\n\r\n\t\t\t\t\t// 15 MAYO CAMBIAR ESTO GIOMAYRA\r\n\t\t\t\t\tString[] comercialSeparado = comercial.split(\",\");\r\n\t\t\t\t\tif (comercialSeparado.length > 2)\r\n\t\t\t\t\t\tcomercial = comercialSeparado[1];\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tcomercial = comercialSeparado[0];\r\n\r\n\t\t\t\t\tArrayList<InfoComercialMultiple> listInfoComercialMul = (ArrayList<InfoComercialMultiple>) mapasComercialesPlantillaMultipleVal\r\n\t\t\t\t\t\t\t.get(planMedioDetalleIf);\r\n\t\t\t\t\tfor (int i = 0; i < listInfoComercialMul.size(); i++) {\r\n\t\t\t\t\t\tInfoComercialMultiple infoComercialMultiple = listInfoComercialMul\r\n\t\t\t\t\t\t\t\t.get(i);\r\n\t\t\t\t\t\tArrayList letras = infoComercialMultiple.getLista();\r\n\r\n\t\t\t\t\t\tfor (int j = 0; j < letras.size(); j++) {\r\n\t\t\t\t\t\t\tString letra = (String) letras.get(j);\r\n\r\n\t\t\t\t\t\t\tIterator comercialIt = comercialesElegidos\r\n\t\t\t\t\t\t\t\t\t.iterator();\r\n\t\t\t\t\t\t\tboolean tmp = false;\r\n\t\t\t\t\t\t\t// ADD 30 JUNIO\r\n\t\t\t\t\t\t\t// String cadenaNoComercialExistente = \"\";\r\n\t\t\t\t\t\t\t// //COMENTED 5 JULIO\r\n\t\t\t\t\t\t\t// END 30 JUNIO\r\n\t\t\t\t\t\t\twhile (comercialIt.hasNext()) {\r\n\t\t\t\t\t\t\t\tComercialIf comercialIf = (ComercialIf) comercialIt\r\n\t\t\t\t\t\t\t\t\t\t.next();\r\n\t\t\t\t\t\t\t\tDerechoProgramaIf derechoProgramaIf = mapaDerechoPrograma\r\n\t\t\t\t\t\t\t\t\t\t.get(comercialIf.getDerechoprogramaId());\r\n\t\t\t\t\t\t\t\t// MODIFIED 1 DE JUNIO\r\n\t\t\t\t\t\t\t\t// String derechoPrograma =\r\n\t\t\t\t\t\t\t\t// derechoProgramaIf.getNombre()+\"-\"+derechoProgramaIf.getTipo();\r\n\t\t\t\t\t\t\t\tString derechoPrograma = derechoProgramaIf\r\n\t\t\t\t\t\t\t\t\t\t.getNombre();// +\"-\"+derechoProgramaIf.getTipo();\r\n\t\t\t\t\t\t\t\t// planMedioDetalleData.setComercial(comercial.getVersion()+\",\"+\r\n\t\t\t\t\t\t\t\t// planMedioDetalleData.getComercial());\r\n\r\n\t\t\t\t\t\t\t\t// MODIFIED 28 ABRIL\r\n\t\t\t\t\t\t\t\tif (comercialIf.getVersion().trim()\r\n\t\t\t\t\t\t\t\t\t\t.compareTo(letra.trim()) == 0\r\n\t\t\t\t\t\t\t\t\t\t&& derechoPrograma.trim().compareTo(\r\n\t\t\t\t\t\t\t\t\t\t\t\tcomercial.split(\",\")[0].trim()) == 0) {\r\n\t\t\t\t\t\t\t\t\ttmp = true;\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t}// /EN 28 ABRIL\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (tmp == false) {\r\n\t\t\t\t\t\t\t\t// ADD 6 JULIO\r\n\t\t\t\t\t\t\t\tString nuevoComercialNoAutorizado = letra\r\n\t\t\t\t\t\t\t\t\t\t.trim() + \" \" + comercial.trim();// +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// \",\";\r\n\r\n\t\t\t\t\t\t\t\tif (cadenaNoComercialExistente.length() > 0) {\r\n\r\n\t\t\t\t\t\t\t\t\tString cadenaNoComercialExistenteSplit[] = cadenaNoComercialExistente\r\n\t\t\t\t\t\t\t\t\t\t\t.split(\",\");\r\n\t\t\t\t\t\t\t\t\tif (cadenaNoComercialExistenteSplit.length > 0) {\r\n\t\t\t\t\t\t\t\t\t\tint acum = 0;\r\n\t\t\t\t\t\t\t\t\t\tfor (int c = 0; c < cadenaNoComercialExistenteSplit.length; c++) {\r\n\t\t\t\t\t\t\t\t\t\t\tString comercialTemp = cadenaNoComercialExistenteSplit[c];\r\n\t\t\t\t\t\t\t\t\t\t\tif (nuevoComercialNoAutorizado\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.compareTo(comercialTemp) == 0) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tacum++;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (acum == 0) {\r\n\t\t\t\t\t\t\t\t\t\t\tcadenaNoComercialExistente += nuevoComercialNoAutorizado\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t+ \",\";\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tcadenaNoComercialExistente += nuevoComercialNoAutorizado\r\n\t\t\t\t\t\t\t\t\t\t\t+ \",\";\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t// END 6 JULIO\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t// ADD 5 JULIO\r\n\t\t\t\tif (cadenaNoComercialExistente.length() > 0) {\r\n\t\t\t\t\tSystem.out.println(\"cadenaNoComercialExistente \"\r\n\t\t\t\t\t\t\t+ cadenaNoComercialExistente);\r\n\t\t\t\t\tSpiritAlert\r\n\t\t\t\t\t\t\t.createAlert(\r\n\t\t\t\t\t\t\t\t\t\"Los Comerciales: \"\r\n\t\t\t\t\t\t\t\t\t\t\t+ cadenaNoComercialExistente\r\n\t\t\t\t\t\t\t\t\t\t\t+ \" no existen para esta Campaña.\"\r\n\t\t\t\t\t\t\t\t\t\t\t+ \"\\nVerificar que el archivo Excel cargado tenga las Versiones y Derechos de Programa\"\r\n\t\t\t\t\t\t\t\t\t\t\t+ \"\\nescritos correctamente o en su defecto Agregue estos Comerciales a la Campaña.\",\r\n\t\t\t\t\t\t\t\t\tSpiritAlert.WARNING);\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t// END 5 JULIO\r\n\t\t\t}\r\n\t\t\treturn true;\r\n\r\n\t\t} catch (GenericBusinessException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\t// TODO: handle exception\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "db08c71badc2bc13bf7e26bd46f9c94f", "score": "0.4786611", "text": "public List buscarUODirectivos() throws DAOException {\n\n\t\tList objs = new ArrayList(); \n\t\tlog.debug(\"Entrando a buscarUODirectivos\");\n\t\tStringBuffer strSQL = null;\n\t\tstrSQL = new StringBuffer(FIND_UO_JEFE.toString());\n\t\t\n\t\tobjs.add(\"1\");\t\t\t\n\t\t\n\t\tList unidades = executeQuery(dataSource, strSQL.toString(), objs.toArray());\n\t\tlog.debug(\"Devolver:\"+unidades);\n\t\treturn unidades;\n\t}", "title": "" }, { "docid": "5532b320f81bc3f2c61460ff3723e68f", "score": "0.47838223", "text": "public static List<Annonce> afficherAnnoncesEnCours(){\n\t\tEntityManager em=JpaContext.getInstance().createEntityManager();\n\t\tDaoAnnonce daoAnnonce = DaoAnnonceFactory.getInstance(); // attention : supprimer ligne dans dao.\n\t\tList<Annonce> annonces=null;\n//\t\tannonces = SelectAllWithStatut0(); //Attention : a remplacer par ligne du dessous.\n\t\tannonces = daoAnnonce.SelectAllWithStatut0();\n\t\t\n\t\tem.close();\n\n\t\treturn annonces;\n\t}", "title": "" }, { "docid": "16fa8cc657dbbf5e35e8d53d889cfb13", "score": "0.47809118", "text": "private Punto getPuntoCercano(Punto puntoini, List<Punto> puntos) {\n\n List<Segmento> segmentos = new ArrayList<Segmento>();\n // todos contra todos\n for (Punto punto : puntos) {\n if ((puntoini != null && punto != null) && !puntoini.equals(punto)) {\n double d = Geometria.distanciaDeCoordenadas(puntoini, punto);\n segmentos.add(new Segmento(puntoini, punto, d));\n }\n }\n\n Collections.sort(segmentos);\n Punto puntocerano = segmentos.get(0).getPunto2();\n\n return puntocerano;\n\n }", "title": "" }, { "docid": "b3243c17a63fb96542d07008a53dfdd7", "score": "0.47802207", "text": "public static List<ClienteDAO> clienteTodos() {\n List<ClienteDAO> clientes = new ArrayList<>();\n\n try {\n con = ConexaoMySQL.getConexaoMySQL();\n nomeTabela = ClsBD.getTblCliente();\n \n PreparedStatement stmt = con.prepareStatement(\"select * from \" + nomeTabela); \n \n ResultSet rs = stmt.executeQuery();\n while (rs.next()) {\n ClienteDAO cliente = new ClienteDAO();\n cliente.setNome(rs.getString(ClsBD.getCliNome()));\n cliente.setId(rs.getInt(ClsBD.getCliId()));\n cliente.setIdUsuario(rs.getInt(ClsBD.getCliIdUsuario()));\n cliente.setCpf(rs.getString(ClsBD.getCliCpf()));\n cliente.setFeminino(rs.getBoolean(ClsBD.getCliSexo()));\n cliente.setNascDate(rs.getDate(ClsBD.getCliNasc()));\n cliente.setTel(rs.getString(ClsBD.getCliTel()));\n \n clientes.add(cliente);\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(JDBCConsulta.class.getName()).log(Level.SEVERE, null, ex);\n System.out.println(ex);\n }\n return clientes;\n }", "title": "" }, { "docid": "87cfd9be54881c078b11b8238915602b", "score": "0.47740716", "text": "public List<UsuariosPaises> buscarActivos() {\n List<UsuariosPaises> listaActivos=super.buscarActivos(\"UsuariosPaises\");\n return listaActivos;\n }", "title": "" }, { "docid": "c7879dd76cb79c67263a2e75d7accd9a", "score": "0.47734833", "text": "public boolean solicitarCancion (String nombrePeticion, String nombreUsuario){\r\n if (nombrePeticion.equals(\"\")||nombreUsuario.equals(\"\")) {\r\n return false;\r\n }\r\n usuarioDao= new UsuarioDaoImplement();\r\n solicitudCancionDao= new SolicitudCancionDaoImplement();\r\n Usuario usuario = usuarioDao.getUsuario(nombreUsuario);\r\n if (usuario==null) {\r\n return false;\r\n }\r\n if (!usuario.getTipoUsuario().equals(\"cliente\")) {\r\n return false;\r\n }\r\n SolicitudCancion solicitudCancion = new SolicitudCancion(usuario, nombrePeticion, \"pendiente\", new Date());\r\n solicitudCancionDao.insertPeticion(solicitudCancion);\r\n return true; \r\n }", "title": "" }, { "docid": "affe0b90d8614c6f61f671f32dc276f3", "score": "0.47701138", "text": "public List<POI> buscar(String busqueda, Point coordenada){\n\t\tList<POI> listaLocal = new ArrayList<POI>();\n\t\tlistaLocal = listaPois.stream()\n\t\t\t\t\t.filter(p -> p.coincideConLaBusqueda(busqueda) )\n\t\t\t\t\t.filter(p -> p.estaCerca(coordenada) )\n\t\t\t\t\t.filter(p -> p.estaDisponible() )\n\t\t\t\t\t.collect(Collectors.toList());\n\t\tfor(InterfazExterna integracion: integraciones){\n\t\t\tlistaLocal.addAll(integracion.buscar(busqueda));\n\t\t}\n\t\treturn listaLocal;\n\t}", "title": "" } ]
8c7524a0ac5c3446f7e8b24d378cf679
$ANTLR end "rule__JAASAlias__Group__1" $ANTLR start "rule__JAASAlias__Group__1__Impl" InternalMyACDSL.g:1905:1: rule__JAASAlias__Group__1__Impl : ( ( rule__JAASAlias__AliasAssignment_1 ) ) ;
[ { "docid": "9eb142dc91707a14204585cf34ccc0ee", "score": "0.8526417", "text": "public final void rule__JAASAlias__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1909:1: ( ( ( rule__JAASAlias__AliasAssignment_1 ) ) )\r\n // InternalMyACDSL.g:1910:1: ( ( rule__JAASAlias__AliasAssignment_1 ) )\r\n {\r\n // InternalMyACDSL.g:1910:1: ( ( rule__JAASAlias__AliasAssignment_1 ) )\r\n // InternalMyACDSL.g:1911:2: ( rule__JAASAlias__AliasAssignment_1 )\r\n {\r\n before(grammarAccess.getJAASAliasAccess().getAliasAssignment_1()); \r\n // InternalMyACDSL.g:1912:2: ( rule__JAASAlias__AliasAssignment_1 )\r\n // InternalMyACDSL.g:1912:3: rule__JAASAlias__AliasAssignment_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__JAASAlias__AliasAssignment_1();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getJAASAliasAccess().getAliasAssignment_1()); \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": "79cd2695bea74902a3d20fafe72cbb46", "score": "0.8087926", "text": "public final void rule__JAASAlias__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1897:1: ( rule__JAASAlias__Group__1__Impl rule__JAASAlias__Group__2 )\r\n // InternalMyACDSL.g:1898:2: rule__JAASAlias__Group__1__Impl rule__JAASAlias__Group__2\r\n {\r\n pushFollow(FOLLOW_26);\r\n rule__JAASAlias__Group__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_2);\r\n rule__JAASAlias__Group__2();\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": "0451a1374c498a88ad8c6b70d0284a04", "score": "0.795591", "text": "public final void rule__JAASAlias__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1870:1: ( rule__JAASAlias__Group__0__Impl rule__JAASAlias__Group__1 )\r\n // InternalMyACDSL.g:1871:2: rule__JAASAlias__Group__0__Impl rule__JAASAlias__Group__1\r\n {\r\n pushFollow(FOLLOW_7);\r\n rule__JAASAlias__Group__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_2);\r\n rule__JAASAlias__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": "d6929d846eff56edf29c4efd99d9f672", "score": "0.78189117", "text": "public final void rule__JAASAlias__Group__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1951:1: ( rule__JAASAlias__Group__3__Impl )\r\n // InternalMyACDSL.g:1952:2: rule__JAASAlias__Group__3__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__JAASAlias__Group__3__Impl();\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": "88cdb65b513f873378cfdfe1b35b88d8", "score": "0.7703744", "text": "public final void rule__JAASAlias__Group__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1882:1: ( ( 'jaasAlias' ) )\r\n // InternalMyACDSL.g:1883:1: ( 'jaasAlias' )\r\n {\r\n // InternalMyACDSL.g:1883:1: ( 'jaasAlias' )\r\n // InternalMyACDSL.g:1884:2: 'jaasAlias'\r\n {\r\n before(grammarAccess.getJAASAliasAccess().getJaasAliasKeyword_0()); \r\n match(input,39,FOLLOW_2); \r\n after(grammarAccess.getJAASAliasAccess().getJaasAliasKeyword_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": "f6ba44c0418b3f6e1082a95839a6af9b", "score": "0.76839036", "text": "public final void rule__JAASAlias__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1924:1: ( rule__JAASAlias__Group__2__Impl rule__JAASAlias__Group__3 )\r\n // InternalMyACDSL.g:1925:2: rule__JAASAlias__Group__2__Impl rule__JAASAlias__Group__3\r\n {\r\n pushFollow(FOLLOW_26);\r\n rule__JAASAlias__Group__2__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_2);\r\n rule__JAASAlias__Group__3();\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": "f6d427670e200b2254dbcf1acba978f9", "score": "0.74456054", "text": "public final void ruleJAASAlias() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:341:2: ( ( ( rule__JAASAlias__Group__0 ) ) )\r\n // InternalMyACDSL.g:342:2: ( ( rule__JAASAlias__Group__0 ) )\r\n {\r\n // InternalMyACDSL.g:342:2: ( ( rule__JAASAlias__Group__0 ) )\r\n // InternalMyACDSL.g:343:3: ( rule__JAASAlias__Group__0 )\r\n {\r\n before(grammarAccess.getJAASAliasAccess().getGroup()); \r\n // InternalMyACDSL.g:344:3: ( rule__JAASAlias__Group__0 )\r\n // InternalMyACDSL.g:344:4: rule__JAASAlias__Group__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__JAASAlias__Group__0();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getJAASAliasAccess().getGroup()); \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": "37650ffcc3bece8787cc4236fe7aadc2", "score": "0.73533416", "text": "public final void rule__JAASAlias__Group__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1936:1: ( ( ( rule__JAASAlias__UsernameAssignment_2 ) ) )\r\n // InternalMyACDSL.g:1937:1: ( ( rule__JAASAlias__UsernameAssignment_2 ) )\r\n {\r\n // InternalMyACDSL.g:1937:1: ( ( rule__JAASAlias__UsernameAssignment_2 ) )\r\n // InternalMyACDSL.g:1938:2: ( rule__JAASAlias__UsernameAssignment_2 )\r\n {\r\n before(grammarAccess.getJAASAliasAccess().getUsernameAssignment_2()); \r\n // InternalMyACDSL.g:1939:2: ( rule__JAASAlias__UsernameAssignment_2 )\r\n // InternalMyACDSL.g:1939:3: rule__JAASAlias__UsernameAssignment_2\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__JAASAlias__UsernameAssignment_2();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getJAASAliasAccess().getUsernameAssignment_2()); \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": "f9b6e24e720cb5bc45697aa81cfa6256", "score": "0.7221936", "text": "public final void rule__XAssignment__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5139:1: ( rule__XAssignment__Group_1__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5140:2: rule__XAssignment__Group_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1__1__Impl_in_rule__XAssignment__Group_1__110787);\n rule__XAssignment__Group_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": "e9e1718785f3ad5c6308dfecc0faa778", "score": "0.72079045", "text": "public final void rule__XAssignment__Group_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5200:1: ( rule__XAssignment__Group_1_1__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5201:2: rule__XAssignment__Group_1_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1__1__Impl_in_rule__XAssignment__Group_1_1__110909);\n rule__XAssignment__Group_1_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": "e6021ca9b1b380141426e559e30eef61", "score": "0.71290946", "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.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5293:1: ( rule__XAssignment__Group_1_1_0_0__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5294: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__111090);\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": "2eda78293547243184043c7066b9c1f1", "score": "0.7083724", "text": "public final void rule__XAssignment__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7464:1: ( rule__XAssignment__Group_1__1__Impl )\r\n // InternalEmfSupportDsl.g:7465:2: rule__XAssignment__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__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": "29d576d99308b0cd9b2b0b9a3074ac2f", "score": "0.7053253", "text": "public final void rule__XAssignment__Group_1_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7518:1: ( rule__XAssignment__Group_1_1__1__Impl )\r\n // InternalEmfSupportDsl.g:7519:2: rule__XAssignment__Group_1_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__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": "71824133486b636be274fc821cda93a6", "score": "0.6924195", "text": "public final void rule__XAssignment__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5016:1: ( rule__XAssignment__Group_0__1__Impl rule__XAssignment__Group_0__2 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5017:2: rule__XAssignment__Group_0__1__Impl rule__XAssignment__Group_0__2\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_0__1__Impl_in_rule__XAssignment__Group_0__110544);\n rule__XAssignment__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XAssignment__Group_0__2_in_rule__XAssignment__Group_0__110547);\n rule__XAssignment__Group_0__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": "a73fd87fd4990b71b7cc78387b156cb3", "score": "0.6898567", "text": "public final void rule__JAASAlias__Group__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1962:1: ( ( ( rule__JAASAlias__PasswordAssignment_3 ) ) )\r\n // InternalMyACDSL.g:1963:1: ( ( rule__JAASAlias__PasswordAssignment_3 ) )\r\n {\r\n // InternalMyACDSL.g:1963:1: ( ( rule__JAASAlias__PasswordAssignment_3 ) )\r\n // InternalMyACDSL.g:1964:2: ( rule__JAASAlias__PasswordAssignment_3 )\r\n {\r\n before(grammarAccess.getJAASAliasAccess().getPasswordAssignment_3()); \r\n // InternalMyACDSL.g:1965:2: ( rule__JAASAlias__PasswordAssignment_3 )\r\n // InternalMyACDSL.g:1965:3: rule__JAASAlias__PasswordAssignment_3\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__JAASAlias__PasswordAssignment_3();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getJAASAliasAccess().getPasswordAssignment_3()); \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": "a2f7b0d7ab73d7901aefe693b6650c86", "score": "0.688234", "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.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5232:1: ( rule__XAssignment__Group_1_1_0__0__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5233: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__010970);\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": "5f193461cd240f5f335ed03b65e21992", "score": "0.6865081", "text": "public final void rule__XAssignment__Group_1_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7599:1: ( rule__XAssignment__Group_1_1_0_0__1__Impl )\r\n // InternalEmfSupportDsl.g:7600:2: rule__XAssignment__Group_1_1_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__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": "33f30445d2c08856650386e19f859620", "score": "0.68201053", "text": "public final void rule__YAxe__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12125:1: ( rule__YAxe__Group__1__Impl )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12126:2: rule__YAxe__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__YAxe__Group__1__Impl_in_rule__YAxe__Group__125269);\n rule__YAxe__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": "f0e6df27ed83ea7a717ed39df74e4275", "score": "0.6814995", "text": "public final void rule__Answer_Impl__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:431:1: ( rule__Answer_Impl__Group__1__Impl rule__Answer_Impl__Group__2 )\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:432:2: rule__Answer_Impl__Group__1__Impl rule__Answer_Impl__Group__2\n {\n pushFollow(FollowSets000.FOLLOW_rule__Answer_Impl__Group__1__Impl_in_rule__Answer_Impl__Group__1853);\n rule__Answer_Impl__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FollowSets000.FOLLOW_rule__Answer_Impl__Group__2_in_rule__Answer_Impl__Group__1856);\n rule__Answer_Impl__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1cda0029a7c5bb0a22bb3d9cf123a439", "score": "0.679965", "text": "public final void rule__AGENTS__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4240:1: ( rule__AGENTS__Group__1__Impl )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4241:2: rule__AGENTS__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__AGENTS__Group__1__Impl_in_rule__AGENTS__Group__18515);\n rule__AGENTS__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": "da8ee365055a91637cfef690c3394048", "score": "0.679918", "text": "public final void rule__QualifiedName__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14333:1: ( rule__QualifiedName__Group__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14334:2: rule__QualifiedName__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__128857);\n rule__QualifiedName__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": "d6e9910d1f5d0103a120c93bc44aee24", "score": "0.6779694", "text": "public final void rule__XAssignment__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5110:1: ( rule__XAssignment__Group_1__0__Impl rule__XAssignment__Group_1__1 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5111:2: rule__XAssignment__Group_1__0__Impl rule__XAssignment__Group_1__1\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1__0__Impl_in_rule__XAssignment__Group_1__010728);\n rule__XAssignment__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XAssignment__Group_1__1_in_rule__XAssignment__Group_1__010731);\n rule__XAssignment__Group_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0c18e5406cd9c17f442f5da16303d302", "score": "0.6773061", "text": "public final void rule__XAssignment__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5150:1: ( ( ( rule__XAssignment__Group_1_1__0 )? ) )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5151:1: ( ( rule__XAssignment__Group_1_1__0 )? )\n {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5151:1: ( ( rule__XAssignment__Group_1_1__0 )? )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5152:1: ( rule__XAssignment__Group_1_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXAssignmentAccess().getGroup_1_1()); \n }\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5153:1: ( rule__XAssignment__Group_1_1__0 )?\n int alt50=2;\n int LA50_0 = input.LA(1);\n\n if ( (LA50_0==14) ) {\n int LA50_1 = input.LA(2);\n\n if ( (synpred83_InternalGuiceModules()) ) {\n alt50=1;\n }\n }\n switch (alt50) {\n case 1 :\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5153:2: rule__XAssignment__Group_1_1__0\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1__0_in_rule__XAssignment__Group_1__1__Impl10814);\n rule__XAssignment__Group_1_1__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.getXAssignmentAccess().getGroup_1_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": "c1b18b533ce10ae28a478e76898a220d", "score": "0.6771149", "text": "public final void rule__XAssignment__Group_1_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5171:1: ( rule__XAssignment__Group_1_1__0__Impl rule__XAssignment__Group_1_1__1 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5172:2: rule__XAssignment__Group_1_1__0__Impl rule__XAssignment__Group_1_1__1\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1__0__Impl_in_rule__XAssignment__Group_1_1__010849);\n rule__XAssignment__Group_1_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1__1_in_rule__XAssignment__Group_1_1__010852);\n rule__XAssignment__Group_1_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": "5b2735ba58c3cb26decfe7f3df1315a7", "score": "0.67568135", "text": "public final void rule__QualifiedName__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14396:1: ( rule__QualifiedName__Group_1__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14397:2: rule__QualifiedName__Group_1__1__Impl\n {\n pushFollow(FOLLOW_rule__QualifiedName__Group_1__1__Impl_in_rule__QualifiedName__Group_1__128983);\n rule__QualifiedName__Group_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": "6a9311cb70518ac9fd289d880661fa39", "score": "0.6749395", "text": "public final void rule__Implementation__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2223:1: ( rule__Implementation__Group__1__Impl rule__Implementation__Group__2 )\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2224:2: rule__Implementation__Group__1__Impl rule__Implementation__Group__2\n {\n pushFollow(FOLLOW_rule__Implementation__Group__1__Impl_in_rule__Implementation__Group__14815);\n rule__Implementation__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Implementation__Group__2_in_rule__Implementation__Group__14818);\n rule__Implementation__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "57c4b77ffee54a84113e1b8366c4bc8d", "score": "0.674035", "text": "public final void rule__XAssignment__Group_1__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7475:1: ( ( ( rule__XAssignment__Group_1_1__0 )? ) )\r\n // InternalEmfSupportDsl.g:7476:1: ( ( rule__XAssignment__Group_1_1__0 )? )\r\n {\r\n // InternalEmfSupportDsl.g:7476:1: ( ( rule__XAssignment__Group_1_1__0 )? )\r\n // InternalEmfSupportDsl.g:7477:2: ( rule__XAssignment__Group_1_1__0 )?\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAssignmentAccess().getGroup_1_1()); \r\n }\r\n // InternalEmfSupportDsl.g:7478:2: ( rule__XAssignment__Group_1_1__0 )?\r\n int alt81=2;\r\n alt81 = dfa81.predict(input);\r\n switch (alt81) {\r\n case 1 :\r\n // InternalEmfSupportDsl.g:7478:3: rule__XAssignment__Group_1_1__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__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.getXAssignmentAccess().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": "7b32f1a6b03bc11ca49936d4e0e61796", "score": "0.6732466", "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 // InternalEmfSupportDsl.g:7545:1: ( rule__XAssignment__Group_1_1_0__0__Impl )\r\n // InternalEmfSupportDsl.g:7546: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": "1e96c74bd1e02d1e1a4c9562e43bed04", "score": "0.671675", "text": "public final void rule__BindingAST__Group_2_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3694:1: ( rule__BindingAST__Group_2_0__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3695:2: rule__BindingAST__Group_2_0__1__Impl\n {\n pushFollow(FOLLOW_rule__BindingAST__Group_2_0__1__Impl_in_rule__BindingAST__Group_2_0__17948);\n rule__BindingAST__Group_2_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": "d5d59393b3da7163144faa488528e77a", "score": "0.6696267", "text": "public final void rule__BindingAST__Group_2_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3757:1: ( rule__BindingAST__Group_2_1__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3758:2: rule__BindingAST__Group_2_1__1__Impl\n {\n pushFollow(FOLLOW_rule__BindingAST__Group_2_1__1__Impl_in_rule__BindingAST__Group_2_1__18071);\n rule__BindingAST__Group_2_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": "4596c229116aabafee7a2229182547d7", "score": "0.66956687", "text": "public final void rule__XAssignment__Group_1_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5183:1: ( ( ( rule__XAssignment__Group_1_1_0__0 ) ) )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5184:1: ( ( rule__XAssignment__Group_1_1_0__0 ) )\n {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5184:1: ( ( rule__XAssignment__Group_1_1_0__0 ) )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5185:1: ( rule__XAssignment__Group_1_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXAssignmentAccess().getGroup_1_1_0()); \n }\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5186:1: ( rule__XAssignment__Group_1_1_0__0 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5186:2: rule__XAssignment__Group_1_1_0__0\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1_0__0_in_rule__XAssignment__Group_1_1__0__Impl10879);\n rule__XAssignment__Group_1_1_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXAssignmentAccess().getGroup_1_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": "fe8582244d4801c2cec721516ca5a791", "score": "0.6685339", "text": "public final void rule__Axe__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12188:1: ( rule__Axe__Group__1__Impl rule__Axe__Group__2 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12189:2: rule__Axe__Group__1__Impl rule__Axe__Group__2\n {\n pushFollow(FOLLOW_rule__Axe__Group__1__Impl_in_rule__Axe__Group__125392);\n rule__Axe__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Axe__Group__2_in_rule__Axe__Group__125395);\n rule__Axe__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5b2d8ddb0b81f9c0b4ebb1d29374a6e1", "score": "0.66371256", "text": "public final void rule__Dist__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:3841:1: ( ( '(' ) )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:3842:1: ( '(' )\n {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:3842:1: ( '(' )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:3843:1: '('\n {\n before(grammarAccess.getDistAccess().getLeftParenthesisKeyword_1()); \n match(input,31,FOLLOW_31_in_rule__Dist__Group__1__Impl7739); \n after(grammarAccess.getDistAccess().getLeftParenthesisKeyword_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2a2b08a19317a351598e783f72a2e960", "score": "0.6623605", "text": "public final void rule__Answer_Impl__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:443:1: ( ( 'answer' ) )\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:444:1: ( 'answer' )\n {\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:444:1: ( 'answer' )\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:445:1: 'answer'\n {\n before(grammarAccess.getAnswer_ImplAccess().getAnswerKeyword_1()); \n match(input,11,FollowSets000.FOLLOW_11_in_rule__Answer_Impl__Group__1__Impl884); \n after(grammarAccess.getAnswer_ImplAccess().getAnswerKeyword_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9c741b9e5c5a3630590c857ce2a8f1f6", "score": "0.6610877", "text": "public final void rule__XAssignment__Group_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7356:1: ( rule__XAssignment__Group_0__1__Impl rule__XAssignment__Group_0__2 )\r\n // InternalEmfSupportDsl.g:7357:2: rule__XAssignment__Group_0__1__Impl rule__XAssignment__Group_0__2\r\n {\r\n pushFollow(FOLLOW_41);\r\n rule__XAssignment__Group_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__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": "d748f6129797b88f12b71454ea7a84d4", "score": "0.66009575", "text": "public final void rule__Bookmark__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:20384:1: ( rule__Bookmark__Group__1__Impl )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:20385:2: rule__Bookmark__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__Bookmark__Group__1__Impl_in_rule__Bookmark__Group__141495);\n rule__Bookmark__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": "0aaeb19392e15eeac98ce79212c2b9dd", "score": "0.6597299", "text": "public final void rule__Dist__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:3829:1: ( rule__Dist__Group__1__Impl rule__Dist__Group__2 )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:3830:2: rule__Dist__Group__1__Impl rule__Dist__Group__2\n {\n pushFollow(FOLLOW_rule__Dist__Group__1__Impl_in_rule__Dist__Group__17708);\n rule__Dist__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Dist__Group__2_in_rule__Dist__Group__17711);\n rule__Dist__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5e77987ba70ea5b40cf50d7a6ae7bc79", "score": "0.6596086", "text": "public final void rule__AssignExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:3150:1: ( rule__AssignExpression__Group__1__Impl rule__AssignExpression__Group__2 )\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:3151:2: rule__AssignExpression__Group__1__Impl rule__AssignExpression__Group__2\n {\n pushFollow(FOLLOW_rule__AssignExpression__Group__1__Impl_in_rule__AssignExpression__Group__16649);\n rule__AssignExpression__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__AssignExpression__Group__2_in_rule__AssignExpression__Group__16652);\n rule__AssignExpression__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "54260c2d3180a436334034515df50f0b", "score": "0.6594094", "text": "public final void rule__AGENTS__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4332:1: ( rule__AGENTS__Group_1__2__Impl )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4333:2: rule__AGENTS__Group_1__2__Impl\n {\n pushFollow(FOLLOW_rule__AGENTS__Group_1__2__Impl_in_rule__AGENTS__Group_1__28698);\n rule__AGENTS__Group_1__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": "54f1164fb138a22fb3c09c7f4aa7b74f", "score": "0.659377", "text": "public final void rule__HAlignment__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:17332:1: ( ( ( rule__HAlignment__NameAssignment_1 )? ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:17333:1: ( ( rule__HAlignment__NameAssignment_1 )? )\n {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:17333:1: ( ( rule__HAlignment__NameAssignment_1 )? )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:17334:1: ( rule__HAlignment__NameAssignment_1 )?\n {\n before(grammarAccess.getHAlignmentAccess().getNameAssignment_1()); \n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:17335:1: ( rule__HAlignment__NameAssignment_1 )?\n int alt125=2;\n int LA125_0 = input.LA(1);\n\n if ( (LA125_0==RULE_ID) ) {\n int LA125_1 = input.LA(2);\n\n if ( (LA125_1==RULE_ID||(LA125_1>=24 && LA125_1<=25)||(LA125_1>=58 && LA125_1<=59)) ) {\n alt125=1;\n }\n }\n switch (alt125) {\n case 1 :\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:17335:2: rule__HAlignment__NameAssignment_1\n {\n pushFollow(FOLLOW_rule__HAlignment__NameAssignment_1_in_rule__HAlignment__Group__1__Impl35523);\n rule__HAlignment__NameAssignment_1();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getHAlignmentAccess().getNameAssignment_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6f6153baf5abdfb8ba6df557b18eec12", "score": "0.6577014", "text": "public final void rule__QualifiedName__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5691:1: ( rule__QualifiedName__Group__1__Impl )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5692:2: rule__QualifiedName__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__QualifiedName__Group__1__Impl_in_rule__QualifiedName__Group__112637);\n rule__QualifiedName__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": "6bb013071cb7e7c0ac016a259c901c2c", "score": "0.65706414", "text": "public final void rule__XAssignment__Group_1_1__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7503:1: ( ( ( rule__XAssignment__Group_1_1_0__0 ) ) )\r\n // InternalEmfSupportDsl.g:7504:1: ( ( rule__XAssignment__Group_1_1_0__0 ) )\r\n {\r\n // InternalEmfSupportDsl.g:7504:1: ( ( rule__XAssignment__Group_1_1_0__0 ) )\r\n // InternalEmfSupportDsl.g:7505:2: ( rule__XAssignment__Group_1_1_0__0 )\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAssignmentAccess().getGroup_1_1_0()); \r\n }\r\n // InternalEmfSupportDsl.g:7506:2: ( rule__XAssignment__Group_1_1_0__0 )\r\n // InternalEmfSupportDsl.g:7506:3: rule__XAssignment__Group_1_1_0__0\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__Group_1_1_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()); \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": "15d688e1817ad36c3bdad66b7c9461e4", "score": "0.6562873", "text": "public final void rule__AGENTS__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4303:1: ( rule__AGENTS__Group_1__1__Impl rule__AGENTS__Group_1__2 )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4304:2: rule__AGENTS__Group_1__1__Impl rule__AGENTS__Group_1__2\n {\n pushFollow(FOLLOW_rule__AGENTS__Group_1__1__Impl_in_rule__AGENTS__Group_1__18639);\n rule__AGENTS__Group_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__AGENTS__Group_1__2_in_rule__AGENTS__Group_1__18642);\n rule__AGENTS__Group_1__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "065fec780d36c1f263283524b8c50b74", "score": "0.6559779", "text": "public final void rule__KeyAST__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3818:1: ( rule__KeyAST__Group__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3819:2: rule__KeyAST__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__KeyAST__Group__1__Impl_in_rule__KeyAST__Group__18193);\n rule__KeyAST__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": "2e6c3f1cea1fdfdc6c9555ab869801d3", "score": "0.6544097", "text": "public final void rule__Place__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13340:1: ( ( ( rule__Place__AnchorAssignment_1_1 ) ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13341:1: ( ( rule__Place__AnchorAssignment_1_1 ) )\n {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13341:1: ( ( rule__Place__AnchorAssignment_1_1 ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13342:1: ( rule__Place__AnchorAssignment_1_1 )\n {\n before(grammarAccess.getPlaceAccess().getAnchorAssignment_1_1()); \n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13343:1: ( rule__Place__AnchorAssignment_1_1 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13343:2: rule__Place__AnchorAssignment_1_1\n {\n pushFollow(FOLLOW_rule__Place__AnchorAssignment_1_1_in_rule__Place__Group_1__1__Impl27657);\n rule__Place__AnchorAssignment_1_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPlaceAccess().getAnchorAssignment_1_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6abd3a3952050d9c9083deea9e54a054", "score": "0.6537606", "text": "public final void rule__QualifiedName__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5754:1: ( rule__QualifiedName__Group_1__1__Impl )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5755:2: rule__QualifiedName__Group_1__1__Impl\n {\n pushFollow(FOLLOW_rule__QualifiedName__Group_1__1__Impl_in_rule__QualifiedName__Group_1__112761);\n rule__QualifiedName__Group_1__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": "578d4b36650df38a585d526855607ba6", "score": "0.6531124", "text": "public final void rule__XAssignment__Group_1_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7491:1: ( rule__XAssignment__Group_1_1__0__Impl rule__XAssignment__Group_1_1__1 )\r\n // InternalEmfSupportDsl.g:7492:2: rule__XAssignment__Group_1_1__0__Impl rule__XAssignment__Group_1_1__1\r\n {\r\n pushFollow(FOLLOW_40);\r\n rule__XAssignment__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__XAssignment__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": "5c8cb96739fc56d1d6cf1699cacc228c", "score": "0.6531091", "text": "public final void rule__XRelationalExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5999:1: ( rule__XRelationalExpression__Group__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6000:2: rule__XRelationalExpression__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group__1__Impl_in_rule__XRelationalExpression__Group__112479);\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": "ce711c73908a6c91c320f3ba47bb01a5", "score": "0.6526431", "text": "public final void rule__Answer_Impl__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:474:1: ( ( ( rule__Answer_Impl__NameAssignment_2 ) ) )\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:475:1: ( ( rule__Answer_Impl__NameAssignment_2 ) )\n {\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:475:1: ( ( rule__Answer_Impl__NameAssignment_2 ) )\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:476:1: ( rule__Answer_Impl__NameAssignment_2 )\n {\n before(grammarAccess.getAnswer_ImplAccess().getNameAssignment_2()); \n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:477:1: ( rule__Answer_Impl__NameAssignment_2 )\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:477:2: rule__Answer_Impl__NameAssignment_2\n {\n pushFollow(FollowSets000.FOLLOW_rule__Answer_Impl__NameAssignment_2_in_rule__Answer_Impl__Group__2__Impl945);\n rule__Answer_Impl__NameAssignment_2();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getAnswer_ImplAccess().getNameAssignment_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": "8feb066148f6ab776b1f080d82deeb96", "score": "0.6525405", "text": "public final void rule__XAssignment__Group_1__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7437:1: ( rule__XAssignment__Group_1__0__Impl rule__XAssignment__Group_1__1 )\r\n // InternalEmfSupportDsl.g:7438:2: rule__XAssignment__Group_1__0__Impl rule__XAssignment__Group_1__1\r\n {\r\n pushFollow(FOLLOW_46);\r\n rule__XAssignment__Group_1__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__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": "3435ab1393f9aff33241ad95282fe26f", "score": "0.65210944", "text": "public final void rule__XAnnotation__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4007:1: ( rule__XAnnotation__Group__1__Impl rule__XAnnotation__Group__2 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4008:2: rule__XAnnotation__Group__1__Impl rule__XAnnotation__Group__2\n {\n pushFollow(FOLLOW_rule__XAnnotation__Group__1__Impl_in_rule__XAnnotation__Group__18563);\n rule__XAnnotation__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XAnnotation__Group__2_in_rule__XAnnotation__Group__18566);\n rule__XAnnotation__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": "ec4eac6d5aa95d3bcf6102f70043092f", "score": "0.6517264", "text": "public final void rule__XAssignment__Group_1_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5243:1: ( ( ( rule__XAssignment__Group_1_1_0_0__0 ) ) )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5244:1: ( ( rule__XAssignment__Group_1_1_0_0__0 ) )\n {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5244:1: ( ( rule__XAssignment__Group_1_1_0_0__0 ) )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5245:1: ( rule__XAssignment__Group_1_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXAssignmentAccess().getGroup_1_1_0_0()); \n }\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5246:1: ( rule__XAssignment__Group_1_1_0_0__0 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5246:2: rule__XAssignment__Group_1_1_0_0__0\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1_0_0__0_in_rule__XAssignment__Group_1_1_0__0__Impl10997);\n rule__XAssignment__Group_1_1_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXAssignmentAccess().getGroup_1_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": "0bd82e3eadf264f859072218ab23b465", "score": "0.651103", "text": "public final void rule__XAnnotation__Group_3_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4228:1: ( rule__XAnnotation__Group_3_1_0__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4229:2: rule__XAnnotation__Group_3_1_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XAnnotation__Group_3_1_0__1__Impl_in_rule__XAnnotation__Group_3_1_0__19001);\n rule__XAnnotation__Group_3_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": "4e5767c88eca4b03553bf4b7e196dc9f", "score": "0.6506653", "text": "public final void rule__XAssignment__Group_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5074:1: ( rule__XAssignment__Group_0__3__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5075:2: rule__XAssignment__Group_0__3__Impl\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_0__3__Impl_in_rule__XAssignment__Group_0__310663);\n rule__XAssignment__Group_0__3__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": "f194cf9aa4ae66f0677e0f0d0214aedd", "score": "0.64859813", "text": "public final void rule__Datasource__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5991:1: ( ( ( rule__Datasource__NameAssignment_1 ) ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5992:1: ( ( rule__Datasource__NameAssignment_1 ) )\n {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5992:1: ( ( rule__Datasource__NameAssignment_1 ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5993:1: ( rule__Datasource__NameAssignment_1 )\n {\n before(grammarAccess.getDatasourceAccess().getNameAssignment_1()); \n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5994:1: ( rule__Datasource__NameAssignment_1 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:5994:2: rule__Datasource__NameAssignment_1\n {\n pushFollow(FOLLOW_rule__Datasource__NameAssignment_1_in_rule__Datasource__Group__1__Impl13228);\n rule__Datasource__NameAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getDatasourceAccess().getNameAssignment_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1d9da11654930b5f30648e2c6fa1b761", "score": "0.6477299", "text": "public final void rule__XAnnotation__Group_3_1_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4291:1: ( rule__XAnnotation__Group_3_1_0_1__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4292:2: rule__XAnnotation__Group_3_1_0_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XAnnotation__Group_3_1_0_1__1__Impl_in_rule__XAnnotation__Group_3_1_0_1__19125);\n rule__XAnnotation__Group_3_1_0_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": "54ce855bee293ead85ada4d9992237f0", "score": "0.6476045", "text": "public final void rule__Expression__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2586:1: ( rule__Expression__Group_0__1__Impl )\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2587:2: rule__Expression__Group_0__1__Impl\n {\n pushFollow(FOLLOW_rule__Expression__Group_0__1__Impl_in_rule__Expression__Group_0__15535);\n rule__Expression__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": "da5b2d3709f40abcfd728995635c4d45", "score": "0.6474609", "text": "public final void rule__AGENTS__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4251:1: ( ( ( rule__AGENTS__Group_1__0 )? ) )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4252:1: ( ( rule__AGENTS__Group_1__0 )? )\n {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4252:1: ( ( rule__AGENTS__Group_1__0 )? )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4253:1: ( rule__AGENTS__Group_1__0 )?\n {\n before(grammarAccess.getAGENTSAccess().getGroup_1()); \n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4254:1: ( rule__AGENTS__Group_1__0 )?\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( (LA19_0==49) ) {\n alt19=1;\n }\n switch (alt19) {\n case 1 :\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4254:2: rule__AGENTS__Group_1__0\n {\n pushFollow(FOLLOW_rule__AGENTS__Group_1__0_in_rule__AGENTS__Group__1__Impl8542);\n rule__AGENTS__Group_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getAGENTSAccess().getGroup_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7080d330d17a152a9ac2234c79a6a306", "score": "0.6472519", "text": "public final void rule__XRelationalExpression__Group_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6216:1: ( rule__XRelationalExpression__Group_1_1__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6217:2: rule__XRelationalExpression__Group_1_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1__1__Impl_in_rule__XRelationalExpression__Group_1_1__112905);\n rule__XRelationalExpression__Group_1_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": "d1a980f0e61887afe2f962c26a9e62cd", "score": "0.6469797", "text": "public final void rule__AGENT__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4557:1: ( rule__AGENT__Group__1__Impl )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4558:2: rule__AGENT__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__AGENT__Group__1__Impl_in_rule__AGENT__Group__19133);\n rule__AGENT__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": "d3551b3b10c6f0be3ef27e255804942a", "score": "0.64381516", "text": "public final void rule__ModuleAST__Group_1_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3537:1: ( rule__ModuleAST__Group_1_2__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3538:2: rule__ModuleAST__Group_1_2__1__Impl\n {\n pushFollow(FOLLOW_rule__ModuleAST__Group_1_2__1__Impl_in_rule__ModuleAST__Group_1_2__17639);\n rule__ModuleAST__Group_1_2__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": "16bcea0d07af2fe2d8fdd028ae1ba69a", "score": "0.6430451", "text": "public final void rule__XAssignment__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5045:1: ( rule__XAssignment__Group_0__2__Impl rule__XAssignment__Group_0__3 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5046:2: rule__XAssignment__Group_0__2__Impl rule__XAssignment__Group_0__3\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_0__2__Impl_in_rule__XAssignment__Group_0__210604);\n rule__XAssignment__Group_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XAssignment__Group_0__3_in_rule__XAssignment__Group_0__210607);\n rule__XAssignment__Group_0__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": "d6b94d21471d05a6655f385d364ccc6a", "score": "0.6425884", "text": "public final void rule__Axe__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12421:1: ( ( ( rule__Axe__GroupingbyAssignment_3_1 ) ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12422:1: ( ( rule__Axe__GroupingbyAssignment_3_1 ) )\n {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12422:1: ( ( rule__Axe__GroupingbyAssignment_3_1 ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12423:1: ( rule__Axe__GroupingbyAssignment_3_1 )\n {\n before(grammarAccess.getAxeAccess().getGroupingbyAssignment_3_1()); \n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12424:1: ( rule__Axe__GroupingbyAssignment_3_1 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12424:2: rule__Axe__GroupingbyAssignment_3_1\n {\n pushFollow(FOLLOW_rule__Axe__GroupingbyAssignment_3_1_in_rule__Axe__Group_3__1__Impl25857);\n rule__Axe__GroupingbyAssignment_3_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getAxeAccess().getGroupingbyAssignment_3_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "70a4f85b99be516f5eeeb00e4d823707", "score": "0.64251614", "text": "public final void rule__Prefix__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:1724:1: ( rule__Prefix__Group__1__Impl )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:1725:2: rule__Prefix__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__Prefix__Group__1__Impl_in_rule__Prefix__Group__13591);\n rule__Prefix__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": "5783533c925991270a76468ddf6b02a0", "score": "0.64030945", "text": "public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14344:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14345:1: ( ( rule__QualifiedName__Group_1__0 )* )\n {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14345:1: ( ( rule__QualifiedName__Group_1__0 )* )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14346:1: ( rule__QualifiedName__Group_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getQualifiedNameAccess().getGroup_1()); \n }\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14347:1: ( rule__QualifiedName__Group_1__0 )*\n loop99:\n do {\n int alt99=2;\n int LA99_0 = input.LA(1);\n\n if ( (LA99_0==36) ) {\n int LA99_2 = input.LA(2);\n\n if ( (LA99_2==RULE_ID) ) {\n int LA99_3 = input.LA(3);\n\n if ( (synpred132_InternalGuiceModules()) ) {\n alt99=1;\n }\n\n\n }\n\n\n }\n\n\n switch (alt99) {\n \tcase 1 :\n \t // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:14347:2: rule__QualifiedName__Group_1__0\n \t {\n \t pushFollow(FOLLOW_rule__QualifiedName__Group_1__0_in_rule__QualifiedName__Group__1__Impl28884);\n \t rule__QualifiedName__Group_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 loop99;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getQualifiedNameAccess().getGroup_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": "073f3366659fd3a93de30836265132ba", "score": "0.6389606", "text": "public final void rule__Service__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSyntax.g:704:1: ( ( ( rule__Service__NameAssignment_1 ) ) )\n // InternalDSLSyntax.g:705:1: ( ( rule__Service__NameAssignment_1 ) )\n {\n // InternalDSLSyntax.g:705:1: ( ( rule__Service__NameAssignment_1 ) )\n // InternalDSLSyntax.g:706:2: ( rule__Service__NameAssignment_1 )\n {\n before(grammarAccess.getServiceAccess().getNameAssignment_1()); \n // InternalDSLSyntax.g:707:2: ( rule__Service__NameAssignment_1 )\n // InternalDSLSyntax.g:707:3: rule__Service__NameAssignment_1\n {\n pushFollow(FOLLOW_2);\n rule__Service__NameAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getServiceAccess().getNameAssignment_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cb7a5b2ad7e2f87ddfda8ceaefd3eafe", "score": "0.63846767", "text": "public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6060:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6061: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__112601);\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": "cbdedcff41c4f805448dc64c808acaad", "score": "0.6382929", "text": "public final void rule__DataSource__Group__7__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyACDSL.g:1612:1: ( ( ( rule__DataSource__MappingConfigurationAliasAssignment_7 ) ) )\r\n // InternalMyACDSL.g:1613:1: ( ( rule__DataSource__MappingConfigurationAliasAssignment_7 ) )\r\n {\r\n // InternalMyACDSL.g:1613:1: ( ( rule__DataSource__MappingConfigurationAliasAssignment_7 ) )\r\n // InternalMyACDSL.g:1614:2: ( rule__DataSource__MappingConfigurationAliasAssignment_7 )\r\n {\r\n before(grammarAccess.getDataSourceAccess().getMappingConfigurationAliasAssignment_7()); \r\n // InternalMyACDSL.g:1615:2: ( rule__DataSource__MappingConfigurationAliasAssignment_7 )\r\n // InternalMyACDSL.g:1615:3: rule__DataSource__MappingConfigurationAliasAssignment_7\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__DataSource__MappingConfigurationAliasAssignment_7();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getDataSourceAccess().getMappingConfigurationAliasAssignment_7()); \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": "9ca9fce4af7334bc765253fc647b93e5", "score": "0.6382681", "text": "public final void rule__XAssignment__Group_0__3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:7410:1: ( rule__XAssignment__Group_0__3__Impl )\r\n // InternalEmfSupportDsl.g:7411:2: rule__XAssignment__Group_0__3__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XAssignment__Group_0__3__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": "b7414b074882baf622b3ba0018dcdda3", "score": "0.6377488", "text": "public final void rule__XAnnotation__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4019:1: ( ( '@' ) )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4020:1: ( '@' )\n {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4020:1: ( '@' )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4021:1: '@'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); \n }\n match(input,49,FOLLOW_49_in_rule__XAnnotation__Group__1__Impl8594); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_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": "74f6d175f86cc49bea572c648e384943", "score": "0.6375612", "text": "public final void rule__XAdditiveExpression__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6962:1: ( rule__XAdditiveExpression__Group_1__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6963:2: rule__XAdditiveExpression__Group_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XAdditiveExpression__Group_1__1__Impl_in_rule__XAdditiveExpression__Group_1__114365);\n rule__XAdditiveExpression__Group_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": "2f4724123bc8b31cd5dfc1a2644fb696", "score": "0.6365112", "text": "public final void rule__Axe__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12410:1: ( rule__Axe__Group_3__1__Impl )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12411:2: rule__Axe__Group_3__1__Impl\n {\n pushFollow(FOLLOW_rule__Axe__Group_3__1__Impl_in_rule__Axe__Group_3__125830);\n rule__Axe__Group_3__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": "523446dfa2ec9b4b91a9d552006eae25", "score": "0.6363764", "text": "public final void rule__QualifiedName__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:17029:1: ( rule__QualifiedName__Group__1__Impl )\r\n // InternalEmfSupportDsl.g:17030:2: rule__QualifiedName__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__QualifiedName__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": "30172f5ce11963d51232490a17ab51fe", "score": "0.6348185", "text": "public final void rule__AssignExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:3181:1: ( rule__AssignExpression__Group__2__Impl )\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:3182:2: rule__AssignExpression__Group__2__Impl\n {\n pushFollow(FOLLOW_rule__AssignExpression__Group__2__Impl_in_rule__AssignExpression__Group__26711);\n rule__AssignExpression__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": "76b515d606703eb8336a6a849a3eac83", "score": "0.63471144", "text": "public final void rule__XAndExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5569:1: ( rule__XAndExpression__Group__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5570:2: rule__XAndExpression__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XAndExpression__Group__1__Impl_in_rule__XAndExpression__Group__111633);\n rule__XAndExpression__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": "1c7f7793964f7abd9a8f6a1559b5b164", "score": "0.6347075", "text": "public final void rule__Contact__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSyntax.g:947:1: ( ( ( rule__Contact__NameAssignment_1 ) ) )\n // InternalDSLSyntax.g:948:1: ( ( rule__Contact__NameAssignment_1 ) )\n {\n // InternalDSLSyntax.g:948:1: ( ( rule__Contact__NameAssignment_1 ) )\n // InternalDSLSyntax.g:949:2: ( rule__Contact__NameAssignment_1 )\n {\n before(grammarAccess.getContactAccess().getNameAssignment_1()); \n // InternalDSLSyntax.g:950:2: ( rule__Contact__NameAssignment_1 )\n // InternalDSLSyntax.g:950:3: rule__Contact__NameAssignment_1\n {\n pushFollow(FOLLOW_2);\n rule__Contact__NameAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getContactAccess().getNameAssignment_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e8811e946a4dc4049a54212da50ec211", "score": "0.6341893", "text": "public final void rule__AltText__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:20826:1: ( rule__AltText__Group__1__Impl )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:20827:2: rule__AltText__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__AltText__Group__1__Impl_in_rule__AltText__Group__142360);\n rule__AltText__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": "6274e5550372c279a6a3f2d3bc67d687", "score": "0.6334471", "text": "public final void rule__XAssignment__Group_1_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5262:1: ( rule__XAssignment__Group_1_1_0_0__0__Impl rule__XAssignment__Group_1_1_0_0__1 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5263:2: rule__XAssignment__Group_1_1_0_0__0__Impl rule__XAssignment__Group_1_1_0_0__1\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1_0_0__0__Impl_in_rule__XAssignment__Group_1_1_0_0__011029);\n rule__XAssignment__Group_1_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XAssignment__Group_1_1_0_0__1_in_rule__XAssignment__Group_1_1_0_0__011032);\n rule__XAssignment__Group_1_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": "ad31cd7656c36d066e4242c8b085f22c", "score": "0.6333595", "text": "public final void rule__Place__Group_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13279:1: ( ( ( rule__Place__AnchorAssignment_0_1 ) ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13280:1: ( ( rule__Place__AnchorAssignment_0_1 ) )\n {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13280:1: ( ( rule__Place__AnchorAssignment_0_1 ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13281:1: ( rule__Place__AnchorAssignment_0_1 )\n {\n before(grammarAccess.getPlaceAccess().getAnchorAssignment_0_1()); \n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13282:1: ( rule__Place__AnchorAssignment_0_1 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13282:2: rule__Place__AnchorAssignment_0_1\n {\n pushFollow(FOLLOW_rule__Place__AnchorAssignment_0_1_in_rule__Place__Group_0__1__Impl27536);\n rule__Place__AnchorAssignment_0_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getPlaceAccess().getAnchorAssignment_0_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "226d0ae6911929bdd3859e08ef574693", "score": "0.6333293", "text": "public final void rule__AGENTS__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4272:1: ( rule__AGENTS__Group_1__0__Impl rule__AGENTS__Group_1__1 )\n // ../org.xtext.edinburgh.paloma.ui/src-gen/org/xtext/edinburgh/ui/contentassist/antlr/internal/InternalPaloma.g:4273:2: rule__AGENTS__Group_1__0__Impl rule__AGENTS__Group_1__1\n {\n pushFollow(FOLLOW_rule__AGENTS__Group_1__0__Impl_in_rule__AGENTS__Group_1__08577);\n rule__AGENTS__Group_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__AGENTS__Group_1__1_in_rule__AGENTS__Group_1__08580);\n rule__AGENTS__Group_1__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": "dd681adc0f76a4aa819716711dab01cb", "score": "0.63330543", "text": "public final void rule__BindingAST__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3600:1: ( rule__BindingAST__Group__1__Impl rule__BindingAST__Group__2 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3601:2: rule__BindingAST__Group__1__Impl rule__BindingAST__Group__2\n {\n pushFollow(FOLLOW_rule__BindingAST__Group__1__Impl_in_rule__BindingAST__Group__17762);\n rule__BindingAST__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__BindingAST__Group__2_in_rule__BindingAST__Group__17765);\n rule__BindingAST__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": "182d3fc7a9dd8e622ee6daf9422b1973", "score": "0.63310575", "text": "public final void rule__XAndExpression__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5630:1: ( rule__XAndExpression__Group_1__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:5631:2: rule__XAndExpression__Group_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XAndExpression__Group_1__1__Impl_in_rule__XAndExpression__Group_1__111755);\n rule__XAndExpression__Group_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": "3ce074c2ffebce4a46aaab07176ea6bd", "score": "0.63284594", "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.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6309:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6310: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__113086);\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": "695823b19c5add3b7551e07325ba4be0", "score": "0.6325999", "text": "public final void rule__List__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13625:1: ( ( ( rule__List__NameAssignment_1 ) ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13626:1: ( ( rule__List__NameAssignment_1 ) )\n {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13626:1: ( ( rule__List__NameAssignment_1 ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13627:1: ( rule__List__NameAssignment_1 )\n {\n before(grammarAccess.getListAccess().getNameAssignment_1()); \n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13628:1: ( rule__List__NameAssignment_1 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:13628:2: rule__List__NameAssignment_1\n {\n pushFollow(FOLLOW_rule__List__NameAssignment_1_in_rule__List__Group__1__Impl28218);\n rule__List__NameAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getListAccess().getNameAssignment_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8195ccbe52c24e540623cbdd4faf24fd", "score": "0.6317794", "text": "public final void rule__ModuleAST__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3472:1: ( rule__ModuleAST__Group_1__2__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:3473:2: rule__ModuleAST__Group_1__2__Impl\n {\n pushFollow(FOLLOW_rule__ModuleAST__Group_1__2__Impl_in_rule__ModuleAST__Group_1__27513);\n rule__ModuleAST__Group_1__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": "2961aeb169d969dcf9eb157650b72cff", "score": "0.6317537", "text": "public final void rule__Answer_Impl__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:400:1: ( rule__Answer_Impl__Group__0__Impl rule__Answer_Impl__Group__1 )\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:401:2: rule__Answer_Impl__Group__0__Impl rule__Answer_Impl__Group__1\n {\n pushFollow(FollowSets000.FOLLOW_rule__Answer_Impl__Group__0__Impl_in_rule__Answer_Impl__Group__0792);\n rule__Answer_Impl__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FollowSets000.FOLLOW_rule__Answer_Impl__Group__1_in_rule__Answer_Impl__Group__0795);\n rule__Answer_Impl__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": "8c10e124e4d67a06cf615dce9e0b9427", "score": "0.6314099", "text": "public final void rule__Implementation__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2235:1: ( ( ( rule__Implementation__ForAssignment_1 ) ) )\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2236:1: ( ( rule__Implementation__ForAssignment_1 ) )\n {\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2236:1: ( ( rule__Implementation__ForAssignment_1 ) )\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2237:1: ( rule__Implementation__ForAssignment_1 )\n {\n before(grammarAccess.getImplementationAccess().getForAssignment_1()); \n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2238:1: ( rule__Implementation__ForAssignment_1 )\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:2238:2: rule__Implementation__ForAssignment_1\n {\n pushFollow(FOLLOW_rule__Implementation__ForAssignment_1_in_rule__Implementation__Group__1__Impl4845);\n rule__Implementation__ForAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplementationAccess().getForAssignment_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5ca821ef4dc96162f6e20d412659b4a9", "score": "0.63057977", "text": "public final void rule__QualifiedName__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalEmfSupportDsl.g:17083:1: ( rule__QualifiedName__Group_1__1__Impl )\r\n // InternalEmfSupportDsl.g:17084:2: rule__QualifiedName__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__QualifiedName__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": "153e2f8fe6527f2a43bc1c94e04ffa34", "score": "0.6300673", "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 // InternalEmfSupportDsl.g:7556:1: ( ( ( rule__XAssignment__Group_1_1_0_0__0 ) ) )\r\n // InternalEmfSupportDsl.g:7557:1: ( ( rule__XAssignment__Group_1_1_0_0__0 ) )\r\n {\r\n // InternalEmfSupportDsl.g:7557:1: ( ( rule__XAssignment__Group_1_1_0_0__0 ) )\r\n // InternalEmfSupportDsl.g:7558: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 // InternalEmfSupportDsl.g:7559:2: ( rule__XAssignment__Group_1_1_0_0__0 )\r\n // InternalEmfSupportDsl.g:7559: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": "72d5c6e06fc5e24d53c0fe1ce76c1fdd", "score": "0.62944305", "text": "public final void rule__XVariableDeclaration__Group_2_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:11741:1: ( rule__XVariableDeclaration__Group_2_0_0__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:11742:2: rule__XVariableDeclaration__Group_2_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XVariableDeclaration__Group_2_0_0__1__Impl_in_rule__XVariableDeclaration__Group_2_0_0__123759);\n rule__XVariableDeclaration__Group_2_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": "105eb8cf34074fe0bd991e62f312d6c2", "score": "0.6294217", "text": "public final void rule__AccessOperator__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalTemplate.g:1811:1: ( ( ( rule__AccessOperator__Alternatives_1 ) ) )\r\n // InternalTemplate.g:1812:1: ( ( rule__AccessOperator__Alternatives_1 ) )\r\n {\r\n // InternalTemplate.g:1812:1: ( ( rule__AccessOperator__Alternatives_1 ) )\r\n // InternalTemplate.g:1813:2: ( rule__AccessOperator__Alternatives_1 )\r\n {\r\n before(grammarAccess.getAccessOperatorAccess().getAlternatives_1()); \r\n // InternalTemplate.g:1814:2: ( rule__AccessOperator__Alternatives_1 )\r\n // InternalTemplate.g:1814:3: rule__AccessOperator__Alternatives_1\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__AccessOperator__Alternatives_1();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getAccessOperatorAccess().getAlternatives_1()); \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": "043a56c20a87f013cc05db1ca9183d28", "score": "0.6283968", "text": "public final void rule__XAdditiveExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6901:1: ( rule__XAdditiveExpression__Group__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:6902:2: rule__XAdditiveExpression__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__XAdditiveExpression__Group__1__Impl_in_rule__XAdditiveExpression__Group__114243);\n rule__XAdditiveExpression__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": "eca78658681e687ce09979d1adee14a0", "score": "0.6280479", "text": "public final void rule__Label__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:10050:1: ( ( ( rule__Label__NameAssignment_1 ) ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:10051:1: ( ( rule__Label__NameAssignment_1 ) )\n {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:10051:1: ( ( rule__Label__NameAssignment_1 ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:10052:1: ( rule__Label__NameAssignment_1 )\n {\n before(grammarAccess.getLabelAccess().getNameAssignment_1()); \n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:10053:1: ( rule__Label__NameAssignment_1 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:10053:2: rule__Label__NameAssignment_1\n {\n pushFollow(FOLLOW_rule__Label__NameAssignment_1_in_rule__Label__Group__1__Impl21186);\n rule__Label__NameAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getLabelAccess().getNameAssignment_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "034acd731fed458e5cb5250e80094b79", "score": "0.627641", "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 // InternalEmfSupportDsl.g:6350:1: ( rule__XAnnotation__Group_3_1_0__1__Impl )\r\n // InternalEmfSupportDsl.g:6351: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": "8e6de8b4be22de761ea42aa799de384d", "score": "0.6271154", "text": "public final void rule__Axe__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12335:1: ( rule__Axe__Group__6__Impl )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:12336:2: rule__Axe__Group__6__Impl\n {\n pushFollow(FOLLOW_rule__Axe__Group__6__Impl_in_rule__Axe__Group__625695);\n rule__Axe__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": "02056001f58e0c92292de1f42af6344e", "score": "0.6270165", "text": "public final void rule__XAssignment__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4985:1: ( rule__XAssignment__Group_0__0__Impl rule__XAssignment__Group_0__1 )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:4986:2: rule__XAssignment__Group_0__0__Impl rule__XAssignment__Group_0__1\n {\n pushFollow(FOLLOW_rule__XAssignment__Group_0__0__Impl_in_rule__XAssignment__Group_0__010483);\n rule__XAssignment__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XAssignment__Group_0__1_in_rule__XAssignment__Group_0__010486);\n rule__XAssignment__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": "0c6539042d7b85e9cb257c497c9c4ce3", "score": "0.62625754", "text": "public final void rule__Answer_Impl__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:462:1: ( rule__Answer_Impl__Group__2__Impl rule__Answer_Impl__Group__3 )\n // ../smdp.project.survey.SurveyDSL.ui/src-gen/smdp/project/survey/ui/contentassist/antlr/internal/InternalSurveyDSL.g:463:2: rule__Answer_Impl__Group__2__Impl rule__Answer_Impl__Group__3\n {\n pushFollow(FollowSets000.FOLLOW_rule__Answer_Impl__Group__2__Impl_in_rule__Answer_Impl__Group__2915);\n rule__Answer_Impl__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FollowSets000.FOLLOW_rule__Answer_Impl__Group__3_in_rule__Answer_Impl__Group__2918);\n rule__Answer_Impl__Group__3();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "080f85905e791a3853ffeb69130b8957", "score": "0.6256087", "text": "public final void rule__HAlignment__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:17320:1: ( rule__HAlignment__Group__1__Impl rule__HAlignment__Group__2 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:17321:2: rule__HAlignment__Group__1__Impl rule__HAlignment__Group__2\n {\n pushFollow(FOLLOW_rule__HAlignment__Group__1__Impl_in_rule__HAlignment__Group__135493);\n rule__HAlignment__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__HAlignment__Group__2_in_rule__HAlignment__Group__135496);\n rule__HAlignment__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b03a2a0698966e5c03f31029ce188a5e", "score": "0.62541497", "text": "public final void rule__Music__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGuardin.g:1071:1: ( ( ( rule__Music__Group_1__0 )? ) )\n // InternalGuardin.g:1072:1: ( ( rule__Music__Group_1__0 )? )\n {\n // InternalGuardin.g:1072:1: ( ( rule__Music__Group_1__0 )? )\n // InternalGuardin.g:1073:2: ( rule__Music__Group_1__0 )?\n {\n before(grammarAccess.getMusicAccess().getGroup_1()); \n // InternalGuardin.g:1074:2: ( rule__Music__Group_1__0 )?\n int alt17=2;\n int LA17_0 = input.LA(1);\n\n if ( (LA17_0==42) ) {\n alt17=1;\n }\n switch (alt17) {\n case 1 :\n // InternalGuardin.g:1074:3: rule__Music__Group_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Music__Group_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getMusicAccess().getGroup_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f3b2b119d0c5967358fa2f422e431bdf", "score": "0.62521964", "text": "public final void rule__XAdditiveExpression__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:7055:1: ( rule__XAdditiveExpression__Group_1_0_0__1__Impl )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:7056:2: rule__XAdditiveExpression__Group_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XAdditiveExpression__Group_1_0_0__1__Impl_in_rule__XAdditiveExpression__Group_1_0_0__114546);\n rule__XAdditiveExpression__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": "06366eecdc78f4d0358696b432c9a8ea", "score": "0.62515956", "text": "public final void rule__Chart__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:11252:1: ( ( ( rule__Chart__NameAssignment_1 ) ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:11253:1: ( ( rule__Chart__NameAssignment_1 ) )\n {\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:11253:1: ( ( rule__Chart__NameAssignment_1 ) )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:11254:1: ( rule__Chart__NameAssignment_1 )\n {\n before(grammarAccess.getChartAccess().getNameAssignment_1()); \n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:11255:1: ( rule__Chart__NameAssignment_1 )\n // ../org.xtext.example.myrdsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalRDsl.g:11255:2: rule__Chart__NameAssignment_1\n {\n pushFollow(FOLLOW_rule__Chart__NameAssignment_1_in_rule__Chart__Group__1__Impl23551);\n rule__Chart__NameAssignment_1();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getChartAccess().getNameAssignment_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
c28e8b09283722de96d83bf9f27a6073
Show data series intro.
[ { "docid": "3b527c7e86168f3fa3954990b7f254aa", "score": "0.6568288", "text": "void showDataSeriesIntro(Feed searchResultFeed) {\n feedSummarySearchCollectionFragment = FeedSummarySearchCollectionFragment\n .newInstance(searchResultFeed);\n }", "title": "" } ]
[ { "docid": "ff47bfd037f6b47f90b0b54eb3136919", "score": "0.615921", "text": "@Override\n\tprotected void startup() {\n\t\tshow(new HtChartingView(this, args_m));\n\t}", "title": "" }, { "docid": "82688a43d68e6c0c6b499ab50520179a", "score": "0.60163933", "text": "public static void test()\n\t{\n\t\tXYSeriesCollection dataset = new XYSeriesCollection();\n\n\t\tList<Integer> stepList = runMiniMax(new SoftPolicy(), new PreyRandomPolicy(), 2000);\n\t\tdataset.addSeries(JFreeChartHelper.createAverageDataseries(stepList, \"Predator\", 100));\n\n\t\tApplicationFrame frame = new ApplicationFrame(\"\");\n\n\t\tNumberAxis xax = new NumberAxis(\"Episodes\");\n\t\tNumberAxis yax = new NumberAxis(\"Steps\");\n\t\tXYSplineRenderer a = new XYSplineRenderer();\n\t\ta.setBaseShapesVisible(false);\n\t\ta.setSeriesPaint(3, Color.RED);\n\t\tXYPlot xyplot = new XYPlot(dataset, xax, yax, a);\n\n\t\tJFreeChart chart = new JFreeChart(xyplot);\n\n\t\tChartPanel chartPanel = new ChartPanel(chart);\n\t\tframe.setContentPane(chartPanel);\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\n\t}", "title": "" }, { "docid": "1a52385d9a4db03bc887cc7a21772f15", "score": "0.58056384", "text": "public ShowChart() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "9abf20773a82c2eb2a1835e7fa910fd1", "score": "0.56279665", "text": "public void intro()\n {\n System.out.println(\"\\t\"+stars);\n System.out.println(padRight(\"\\t* Application Name: Practice Objects\"));\n System.out.println(padRight(\"\\t* Author Name: Tyler Shinkle\"));\n System.out.println(padRight(\"\\t* Course: ITDEV 110-002\"));\n System.out.println(padRight(\"\\t* Assignment Number: 5\"));\n System.out.println(\"\\t\"+stars);\n System.out.println(padRight(\"\\t* Application Description: This application performs\"));\n System.out.println(padRight(\"\\t* arithmetic operations on pairs of numbers such as\"));\n System.out.println(padRight(\"\\t* multiplication and addition. These numbers are private\"));\n System.out.println(padRight(\"\\t* variables and this application is intended to practice\"));\n System.out.println(padRight(\"\\t* object instantiation and accesssing private variables\"));\n System.out.println(padRight(\"\\t* with getters and setters.\"));\n System.out.println(\"\\t\"+stars);\n System.out.println(padRight(\"\\t* User Instructions: This application currently does not\"));\n System.out.println(padRight(\"\\t* interact with users, just sit back and read the output.\"));\n System.out.println(\"\\t\"+stars);\n }", "title": "" }, { "docid": "2d3b01cee9844b672e5d8ef65bede8b5", "score": "0.5607048", "text": "public static void main(String[] args)\n {\n String dataDir = RunExamples.getDataDir_Charts();\n\n // Create directory if it is not already present.\n boolean IsExists = new File(dataDir).exists();\n if (!IsExists)\n new File(dataDir).mkdirs();\n\n Presentation pres = new Presentation();\n\n ISlide slide = pres.getSlides().get_Item(0);\n\n // Creating the default chart\n IChart chart = slide.getShapes().addChart(ChartType.ScatterWithSmoothLines, 0, 0, 400, 400);\n\n // Getting the default chart data worksheet index\n int defaultWorksheetIndex = 0;\n\n // Getting the chart data worksheet\n IChartDataWorkbook fact = chart.getChartData().getChartDataWorkbook();\n\n // Delete demo series\n chart.getChartData().getSeries().clear();\n\n // Add new series\n chart.getChartData().getSeries().add(fact.getCell(defaultWorksheetIndex, 1, 1, \"Series 1\"), chart.getType());\n chart.getChartData().getSeries().add(fact.getCell(defaultWorksheetIndex, 1, 3, \"Series 2\"), chart.getType());\n\n // Take first chart series\n IChartSeries series = chart.getChartData().getSeries().get_Item(0);\n\n // Add new point (1:3) there.\n series.getDataPoints().addDataPointForScatterSeries(fact.getCell(defaultWorksheetIndex, 2, 1, 1), fact.getCell(defaultWorksheetIndex, 2, 2, 3));\n\n // Add new point (2:10)\n series.getDataPoints().addDataPointForScatterSeries(fact.getCell(defaultWorksheetIndex, 3, 1, 2), fact.getCell(defaultWorksheetIndex, 3, 2, 10));\n\n // Edit the type of series\n series.setType(ChartType.ScatterWithStraightLinesAndMarkers);\n\n // Changing the chart series marker\n series.getMarker().setSize(10);\n series.getMarker().setSymbol(MarkerStyleType.Star);\n\n // Take second chart series\n series = chart.getChartData().getSeries().get_Item(1);\n\n // Add new point (5:2) there.\n series.getDataPoints().addDataPointForScatterSeries(fact.getCell(defaultWorksheetIndex, 2, 3, 5), fact.getCell(defaultWorksheetIndex, 2, 4, 2));\n\n // Add new point (3:1)\n series.getDataPoints().addDataPointForScatterSeries(fact.getCell(defaultWorksheetIndex, 3, 3, 3), fact.getCell(defaultWorksheetIndex, 3, 4, 1));\n\n // Add new point (2:2)\n series.getDataPoints().addDataPointForScatterSeries(fact.getCell(defaultWorksheetIndex, 4, 3, 2), fact.getCell(defaultWorksheetIndex, 4, 4, 2));\n\n // Add new point (5:1)\n series.getDataPoints().addDataPointForScatterSeries(fact.getCell(defaultWorksheetIndex, 5, 3, 5), fact.getCell(defaultWorksheetIndex, 5, 4, 1));\n\n // Changing the chart series marker\n series.getMarker().setSize(10);\n series.getMarker().setSymbol(MarkerStyleType.Circle);\n\n pres.save(dataDir + \"AsposeChart_out.pptx\", SaveFormat.Pptx);\n //ExEnd:ScatteredChart\n }", "title": "" }, { "docid": "ce8fa6974e4af8fa64980a8a4974f3de", "score": "0.5601559", "text": "public String getSeriesDescription(){\r\n\t\treturn seriesDescription;\r\n\t}", "title": "" }, { "docid": "23f3dcc6c7f58e632ec494a7faffa4b2", "score": "0.55552924", "text": "@Override\n\tpublic void displayData() {\n\t\tfor(int i=0; i<musicList.size(); i++){\n\t\t\tSystem.out.println(musicList.get(i));\n\t\t}\n\t}", "title": "" }, { "docid": "cd8ab71744e3fb45cc0a4e5245010718", "score": "0.55459607", "text": "public static void f_introduction() {\n System.out.println(\"vectoraageNpeopleSOFT-----version 1.0-----made by Mauricio Bravo\");\n \n }", "title": "" }, { "docid": "7cc831456de0d8b833cf7b975f87700e", "score": "0.5531336", "text": "private void showData() {\n\n\n }", "title": "" }, { "docid": "70162460952c28e1bc479aa980fb6463", "score": "0.552099", "text": "public void showIntroMessage(){\n showToUser(DIVIDER, INTRO_MESSAGE, DIVIDER);\n }", "title": "" }, { "docid": "ab59c20a0613d8f86798b6bf9e72a016", "score": "0.55087805", "text": "private void showIntroduction() {\n ViewStub stub = findViewById(R.id.introduction_stub);\n final View root = stub.inflate();\n TextView introText = root.findViewById(R.id.introduction_text);\n introText.setText(Html.fromHtml(getString(R.string.introduction_text)));\n introText.setMovementMethod(LinkMovementMethod.getInstance());\n\n Button dismissButton = root.findViewById(R.id.start_using_button);\n dismissButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n root.setVisibility(View.GONE);\n getApp().removeFirstTimeFlag();\n }\n });\n }", "title": "" }, { "docid": "9317655df0114dea9a444da3d87498ef", "score": "0.5485152", "text": "private void Intro() {\n\t\tSystem.out.println(App.randomEnum(Intros.class));\n\t}", "title": "" }, { "docid": "babc4ed70de452d87643ceeb0990d459", "score": "0.5471425", "text": "public void displayData() {\n tvDate.setText(DateFormat.getDateInstance().format(date));\n\n for (int i=0; i<4; i++) {\n tvTimes[i].setText(DateFormat.getTimeInstance().format(times[i]));\n }\n\n sdfDuration.setTimeZone(TimeZone.getTimeZone(\"GMT+0\"));\n for (int i=0; i<3; i++) {\n tvDurations[i].setText(sdfDuration.format(durations[i]));\n }\n\n tvNaps.setText(naps ? \"Yes\" : \"No\");\n\n tvQuality.setText(\"qual: \" + String.valueOf(quality));\n\n tvTimeInBed.setText(sdfDuration.format(total_time_in_bed));\n tvSleepTime.setText(sdfDuration.format(total_time_asleep));\n tvSleepEfficiency.setText(String.format (\"%.1f %%\",100*sleep_efficiency));\n }", "title": "" }, { "docid": "d6b84e37612bfb18beb7c305f09141f1", "score": "0.5464221", "text": "public HighLowChartDemo4(String title) {\n\t\tsuper(title);\n\t\tJPanel chartPanel = createDemoPanel();\n\t\tchartPanel.setPreferredSize(new java.awt.Dimension(\n\t\t\t\tConstants.ChartPanel_WIDTH, Constants.ChartPanel_HEIGHT));\n\t\tsetContentPane(chartPanel);\n\t}", "title": "" }, { "docid": "adbb51725ca8776358feebd5be1b2530", "score": "0.5455269", "text": "public void display() {\r\n\t\tSystem.out.println(title);\r\n\t\tfor (int count = 0; count < title.length(); count++) {\r\n\t\t\tSystem.out.print(\"+\");\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t\tfor (int option = 1; option <= items.length; option++) {\r\n\t\t\tSystem.out.println(option + \". \" + items[option - 1]);\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "title": "" }, { "docid": "c9386f3bdcc82ad1582baf6e8d83201f", "score": "0.5444281", "text": "public static void show(String chartTitle, double[] x, double[] y, double[] data) {\n\n show(chartTitle, x, \"\", y, \"\", data);\n }", "title": "" }, { "docid": "f5b5bf02992392b22b063a7efa3428e7", "score": "0.5426906", "text": "private static void intro()\n\t{\n\t\t// create a String variable that contains the desired intro message\n\t\tString message = \"Welome to my Credit Card Manager!\\n\\n\"\n\t\t\t+ \"This program allows the user to enter their credit card\\n\"\n\t\t\t+ \"information and a prompt, listing various attributes of a\\n\"\n\t\t\t+ \"given credit, will be generated.\\n\\n\"\n\t\t\t+ \"Enjoy!\";\n\n\t\t// use JOptionPane to display the intro message\n\t\tJOptionPane.showMessageDialog(null, message,\n\t\t\t\"Credit Card Manager\", JOptionPane.INFORMATION_MESSAGE);\n\t}", "title": "" }, { "docid": "ca22fc5f296ce11b8c458f81da1ebd98", "score": "0.5424724", "text": "public String getSeriesTitle() {\n return seriesTitle;\n }", "title": "" }, { "docid": "59d82b7efba968c8268e505a634a04f6", "score": "0.5418478", "text": "public void showWelcome() {\n List<String> welcome = new ArrayList<>();\n welcome.add(\"Hello! I'm Duke.Duke\");\n welcome.add(\"What can I do for you?\");\n showFormatted(welcome);\n }", "title": "" }, { "docid": "cec133157a22d2da865e90502df0f3b4", "score": "0.53978586", "text": "@Override\r\n\tpublic void showData() {\n\t\tsuper.showData();\r\n\t\tSystem.out.println(\"전공 : \"+ major);\r\n\t}", "title": "" }, { "docid": "fceae6e805b90891cca277bb75d81d50", "score": "0.5396586", "text": "public static void show() {\r\n\t\tSystem.out.println(\"f. finish running the program and save the data\");\r\n\t\tSystem.out.println(\"e. display the all events\");\r\n\t\tSystem.out.println(\"c. display the all clients\");\r\n\t\tSystem.out.println(\"b. bought tickets by one of the registered clients.\");\r\n\t\tSystem.out.println(\"r. registered client cancels/returns tickets.\");\r\n\t}", "title": "" }, { "docid": "7dad16535347ca9c097f1bd248dd2931", "score": "0.5394157", "text": "private void firstTimeOnlyInitializations() {\n series0 = new LineGraphSeries<DataPoint>(new DataPoint[]{});\n series1 = new LineGraphSeries<DataPoint>(new DataPoint[]{});\n series2 = new LineGraphSeries<DataPoint>(new DataPoint[]{});\n series3 = new LineGraphSeries<DataPoint>(new DataPoint[]{});\n\n graph.getViewport().setMinX(0);\n graph.getViewport().setMaxX(X_RANGE);\n\n\n series0.setTitle(getResources().getString(R.string.series_title_zero));\n series1.setTitle(getResources().getString(R.string.series_title_one));\n series2.setTitle(getResources().getString(R.string.series_title_two));\n series3.setTitle(getResources().getString(R.string.series_title_three));\n\n\n zero = (TextView) findViewById(R.id.DisplayValue0);\n one = (TextView) findViewById(R.id.DisplayValue1);\n two = (TextView) findViewById(R.id.DisplayValue2);\n three = (TextView) findViewById(R.id.DisplayValue3);\n\n pointsAveragedSoFar = 0;\n\n for (int k = 0; k < 4; k++) {\n isSeriesActive[k] = true;\n }\n }", "title": "" }, { "docid": "fd010ddcfa62f169e9d580a02debdc2e", "score": "0.53865296", "text": "public void showData()\n {\n }", "title": "" }, { "docid": "de442cc2d9e5493d39d268127c5c3972", "score": "0.5385299", "text": "public static void printIntro(){\n\tSystem.out.println();\n\tSystem.out.println(\" _\");\n System.out.println(\" /\\\\/\\\\ (_)_ __ ___ _____ _____ ___ _ __ ___ _ __\");\n System.out.println(\" / \\\\| | '_ \\\\ / _ \\\\/ __\\\\ \\\\ /\\\\ / / _ \\\\/ _ \\\\ '_ \\\\ / _ \\\\ '__|\");\n System.out.println(\"/ /\\\\/\\\\ \\\\ | | | | __/\\\\__ \\\\\\\\ V V / __/ __/ |_) | __/ |\");\n System.out.println(\"\\\\/ \\\\/_|_| |_|\\\\___||___/ \\\\_/\\\\_/ \\\\___|\\\\___| .__/ \\\\___|_|\");\n System.out.println(\" ALPHA |_| EDITION\"); \n\tSystem.out.println();\n\n\n }", "title": "" }, { "docid": "a60d1aba9af0ea38e9d4c288ee5a7ad5", "score": "0.5382467", "text": "public static void chart() {\n\t\trender();\n\t}", "title": "" }, { "docid": "4269ceb23816e742beb22d4291d41862", "score": "0.5377241", "text": "@Override\n\tpublic String showName() {\n\t\treturn \"SSS\";\n\t}", "title": "" }, { "docid": "31123059419fee174402096b8bb3716d", "score": "0.53753686", "text": "public static void displayGraphTutorial(AreaChart<Number, Number> chart) {\r\n\t\tif (graphOver == null) {\r\n\t\t\tgraphOver = new PopOver();\r\n\t\t\tgraphOver.setArrowLocation(ArrowLocation.TOP_CENTER);\r\n\t\t\tgraphOver.setContentNode(new Label(\"The daily closings prices will be displayed here \\nonce a stock is selected.\\nUse the mouse wheel to zoom. \"\r\n\t\t\t\t\t+ \"Hold down Right click \\nand move the mouse to pan. The view can be reset at any time\\nby selecting 'reset' from the 'Chart' tab\"));\r\n\t\t\tgraphOver.setAutoFix(true);\r\n\t\t\tgraphOver.setAutoHide(true);\r\n\t\t\tgraphOver.setHideOnEscape(true);\r\n\t\t\tgraphOver.setDetachable(false);\r\n\t\t}\r\n\t\tgraphOver.show(chart);\r\n\t}", "title": "" }, { "docid": "9fd9ba2c38aed9486de014e50769eca7", "score": "0.5374414", "text": "public void displayReadme() {\n String url = \"https://github.com/BlackNat5937/ccg2lambda/tree/master/Visualization#ccg2lambda-visualize--composing-semantic-representations-guided-by-ccg-derivations\";\n Main.openLink(url);\n }", "title": "" }, { "docid": "63ad77c3bb01435ccda70f76d18bb94a", "score": "0.53612447", "text": "void showFeatures();", "title": "" }, { "docid": "2283d5d1e0987838f87ec04ff317e14d", "score": "0.53522253", "text": "public void introduction() {\n welcome();\n collectName();\n System.out.printf(\"%nYour clone's name is %s.%n\",getFullName());\n }", "title": "" }, { "docid": "2108761c3745ef17f9cf70eebfc01152", "score": "0.5343466", "text": "public void printIntroUI() {\r\n\t\tSystem.out.println(\"############################################\");\r\n\t\tSystem.out.println(\"# SPIDA API CHALLENGE BBS #\");\r\n\t\tSystem.out.println(\"############################################\");\t\t\r\n\t}", "title": "" }, { "docid": "3b1c93e4320d8a8cc3eb030b56a925d7", "score": "0.53303975", "text": "public static void show() {\n System.out.println(\"Let's see what we have in the storage now.\");\n System.out.println(\"Pasture seeds: \" + PastureSeed.count + \"\\tPasture product : \" + PastureProduct.count);\n System.out.println(\"Corn seeds: \" + CornSeed.count + \"\\t\\tCorn product : \" + CornProduct.count);\n System.out.println(\"Rice seeds: \" + RiceSeed.count + \"\\t\\tRice product : \" + RiceProduct.count);\n }", "title": "" }, { "docid": "76041908dfe08db35287cffc79d3c1a1", "score": "0.5315843", "text": "@Override\n public void display() {\n System.out.println(\"ForecastOne 我只显示温度: \" + temperature);\n }", "title": "" }, { "docid": "07d14cd6cb4502d3fd1411ed16c4560b", "score": "0.52741927", "text": "@Override\n public void show() {\n for (int i = 0; i < aluno.size(); i++) {\n System.out.println(aluno.get(i).getMatricula()+ \": \" + aluno.get(i).getNome());\n }\n }", "title": "" }, { "docid": "34daeaa55931001587e271fc14754fc3", "score": "0.5266667", "text": "@Override\n\tpublic String getTitle() {\n\t\treturn \"Search For Data To Augment\";\n\t}", "title": "" }, { "docid": "3c8e7660617882c1bf11642b59e45d18", "score": "0.526269", "text": "private static void displayAddHelp() {\n System.out.println(\"\\n\\tOnly the courses required for a particular curriculum \" +\n \"\\nhave been included with this version of ThredWeaver. However, we \" +\n \"\\nacknowledge that students must fulfill a certain number of humanities \" +\n \"\\nand social science credits that involve courses we have not yet added.\" +\n \"\\n\\n\\tTo solve this problem, we have added placeholder courses for humanities \" +\n \"\\nand social sciences. Their departments are HUM and SS, respectively, and \" +\n \"\\nthere are three valid course numbers for each: 1001, 1002, and 1003.\" +\n \"\\n\\n\\tFor example, if you would like to add your forst humanities requirement, \" +\n \"\\nyou would add HUM 1001 to a semester. To add your third social science \" +\n \"\\nrequirement, add SS 1003.\");\n\n pause();\n }", "title": "" }, { "docid": "282e1405c835c114179714d16b16d633", "score": "0.52609384", "text": "public static void main(String[] args) {\r\n\t\tParkingSystemChartQu demo = new ParkingSystemChartQu(\"Time Series Chart Demo 1\", \"2011-10-25\", \"2011-12-25\", 0);\r\n\t\tdemo.pack();\r\n\t\tRefineryUtilities.centerFrameOnScreen(demo);\r\n\t\tdemo.setVisible(true);\r\n\t}", "title": "" }, { "docid": "eb7e25c1d4467606f0b12d4ce9d54dfb", "score": "0.5240364", "text": "@Override\r\n\tpublic void showData() {\n\t\tsuper.showData();\r\n\t\tSystem.out.println(\"직업 : \"+work);\r\n\t}", "title": "" }, { "docid": "763981fbaa5d7b2e081e28b6b066a307", "score": "0.5213147", "text": "protected void showDashTestInfo() {\n\t}", "title": "" }, { "docid": "24e212c114e917430824adc9c68ca88a", "score": "0.5213014", "text": "public display( String xvar , String yvar,\n\t\t ArrayList<double[]> dataArray) {\n\tsuper(yvar+\" vs. \"+xvar);\n\tJFreeChart lineChart = ChartFactory.createXYLineChart(\n\t\t\t\t\t\t\t yvar+\" vs. \"+xvar,\n\t\t\t\t\t\t\t xvar, yvar,\n\t\t\t\t\t\t\t createDataset(dataArray));\n \n\tChartPanel chartPanel = new ChartPanel( lineChart );\n\tchartPanel.setPreferredSize( new java.awt.Dimension( 560 , 367 ) );\n\tsetContentPane( chartPanel );\n }", "title": "" }, { "docid": "8c9f010c8b33b0b60b378bd10569568c", "score": "0.5209334", "text": "public String getDesc() {\n return \"The graphical representations of the sin and cos functions (line chart)\";\n }", "title": "" }, { "docid": "e243dbdd9fd34bf9763cc93889cba6d9", "score": "0.5198402", "text": "public static void main(String arg[]){\n\t\tXYSeries series = new XYSeries(\"Nazwa serii 1\");\r\n\t\t\r\n\t\tseries.add(1, 1);\r\n\t\tseries.add(1, 2);\r\n\t\tseries.add(2, 4);\r\n\t\tseries.add(3, 4);\r\n\t\tseries.add(4, 2);\r\n\t\tseries.add(5, 9);\r\n\t\tseries.add(6, 10);\r\n\t\t\r\n\t\tXYSeries series2 = new XYSeries(\"Nazwa serii 2\");\r\n\t\tseries2.add(1,0);\r\n\t\tseries2.add(4, 5);\r\n\t\tseries2.add(5, 5.5);\r\n\t\tseries2.add(5.5, -1);\r\n\t\tseries2.add(6, 8);\r\n\t\t\r\n\t\t//Tworzenie kolekcji serii\r\n\t\tXYSeriesCollection dataset = new XYSeriesCollection();\r\n\t\t\r\n\t\t//dodawanie kolejnych serii do kolekcji\r\n\t\tdataset.addSeries(series);\r\n\t\tdataset.addSeries(series2);\r\n\t\t\r\n\t\t// oczywiscie serie mozna usuwac:\r\n\t\t//dataset.removeSeries(series2); // stosujac nazwe serii\r\n\t\t//dataset.removeSeries(0); // stosujac numer serii\r\n\t\t//dataset.removeAllSeries(); // lub usunac wszystkie serie;\r\n\t\t\r\n\t\t//Tworzymy wykres XY\r\n\t\tJFreeChart chart = ChartFactory.createXYAreaChart(\r\n\t\t\t\"Wykres XY z dwoma seriami danych\",//Tytul\r\n\t\t\t\"Opis osi X\", // opisy osi\r\n\t\t\t\"Opis osi Y\", \r\n\t\t\tdataset, // Dane \r\n\t\t\tPlotOrientation.VERTICAL, // Orjentacja wykresu /HORIZONTAL\r\n\t\t\ttrue, // legenda\r\n\t\t\ttrue, // tooltips\r\n\t\t\tfalse\r\n\t\t);\r\n \r\n\t\t//Dodanie wykresu do okna\r\n\t\tChartFrame frame1=new ChartFrame(\"XYLine Chart\",chart);\r\n\t\tframe1.setVisible(true);\r\n\t\tframe1.setSize(500,400);\r\n\t}", "title": "" }, { "docid": "30b9a68858260f8dd5e139f7625b9e7f", "score": "0.51981574", "text": "public void showCalcOverview() \r\n {\r\n\t\tsuper.showCalcOverview();\r\n }", "title": "" }, { "docid": "64f251984eebdae373e2a7b5afb5edf8", "score": "0.51976603", "text": "public void SalesDisplay() {\n\t\tSystem.out.println(\"Sales Data needs to be entered\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4852caa83f3f5457df5361f84af1c412", "score": "0.5177246", "text": "public void setIntro(String intro) {\n this.intro = intro;\n }", "title": "" }, { "docid": "3a21745b53934fd7d4e8197c73f72e54", "score": "0.51755285", "text": "protected void showChart(JFreeChart chart, String title) {\r\n \t\tJPanel panel = new ChartPanel(chart);\r\n \t\tshowPlot(panel, title);\r\n \t}", "title": "" }, { "docid": "4de2994b0375a6ff5ed5924e78c74b09", "score": "0.5160027", "text": "java.lang.String getIntro();", "title": "" }, { "docid": "8bb69e00e3f0d41605e5270c81e0c698", "score": "0.5151328", "text": "public static void show(double[] x, double[] y, double[] data) {\n\n show(CHART_TITLE, x, y, data);\n }", "title": "" }, { "docid": "5fa4729f2808408edab46357c171c2e0", "score": "0.5141599", "text": "public String getDescription()\n\t{\n\t\treturn \"A simple demo of Java2D text animation\";\n\t}", "title": "" }, { "docid": "dc4603453c5486321b69467135655142", "score": "0.51411265", "text": "@Override\n\tpublic String plot() {\n\t\treturn \"Competition for survival\";\n\t}", "title": "" }, { "docid": "20bb0adf8794b7321083477a529db1e5", "score": "0.51398766", "text": "private static void displayTitle()\n {\n System.out.println();\n System.out.println(\" ----------- __ __ _____ __ __ ______ _____ ______ ______ ----------- \");\n System.out.println(\"| \\u2022 \\u2022 | | | || _ || | ||_ _||__ || ____|| ____| | \\u2022 \\u2022 |\");\n System.out.println(\"| | \\\\_ || || | | | / / | ____|| ____| | |\");\n System.out.println(\"| \\u2022 \\u2022 | _|__||__|__||__|__|__|__|___/ /__|______||______| | \\u2022 \\u2022 |\");\n System.out.println(\"| | / ________________________/ /__________________| | |\");\n System.out.println(\"| \\u2022 \\u2022 | | / | |______________________| | \\u2022 \\u2022 |\");\n System.out.println(\" ----------- \\\\___/ -----------\");\n }", "title": "" }, { "docid": "80541a8405c883bffabe4afd2cd08579", "score": "0.51326877", "text": "private static void displayWelcomeSign() {\n System.out.println(\"\"\"\n Welcome to the Polynomial Addition Program.\n \"\"\");\n }", "title": "" }, { "docid": "e7d68abffa78e8afe70fbbc12c0729e0", "score": "0.5130979", "text": "public void displayDetails()\n {\n System.out.println(\"===== \" + this.getServiceName() + \" =====\\n\");\n \n for (int index = 1; index <= this.getTrainLine().length; index++)\n {\n System.out.println(index + \". \" + this.getTrainLine()[index - 1]);\n }\n \n }", "title": "" }, { "docid": "c47f0c209b50db58ec7bc0771a8da2c6", "score": "0.5123443", "text": "public String getIntro() {\n return intro;\n }", "title": "" }, { "docid": "bd067520fb6aab1b232525f4afde796b", "score": "0.51055294", "text": "public void show() {\n\t\tSystem.out.print(this.id+\"° - id_preco: \"+this.id_preco+\" Começo da promoção: \"+this.inicio.get(Calendar.DAY_OF_MONTH)+\"/\"+this.inicio.get(Calendar.MONTH)+\"/\"+this.inicio.get(Calendar.YEAR));\n\t\tSystem.out.println(\" Fim da promoção: \"+this.fim.get(Calendar.DAY_OF_MONTH)+\"/\"+this.fim.get(Calendar.MONTH)+\"/\"+this.fim.get(Calendar.YEAR));\n\t\t\n\t}", "title": "" }, { "docid": "9998f2ff8319e26a501af747ef84469a", "score": "0.51001585", "text": "@Override\n public void showInfo() {\n display.showln(\"Welcome to the tic-tac-toe vs. computer!\");\n }", "title": "" }, { "docid": "dbb83a780641b930fa3bb74b47598651", "score": "0.5092945", "text": "public void show() {\n\t\tSystem.out.println(\"this is the show method\");\n\t}", "title": "" }, { "docid": "542555241cbe6ca41958dc64d6cd2c46", "score": "0.50903815", "text": "public void showInformation(){\n\t\tSystem.out.println(\"..............................................\");\n\t\tSystem.out.println(\"Full name of Student: \" + this.fullName);\n\t\tSystem.out.println(\"Date of birth : \" + this.dateOfBirth);\n\t\tSystem.out.println(\"Address of teacher: \" + this.address);\n\t\tSystem.out.println(\"Phone number of teacher: \" + this.phoneNumber);\n\t\tSystem.out.println(\"The grade : \" + this.grade);\n\t\tSystem.out.println(\"The point of semester 1: \" + this.pointOfSemester1);\n\t\tSystem.out.println(\"The point of semester 2: \" + this.pointOfSemester2);\n\t}", "title": "" }, { "docid": "530e41c0f11cad3c3b975c7740dfb2d4", "score": "0.50894666", "text": "void show();", "title": "" }, { "docid": "530e41c0f11cad3c3b975c7740dfb2d4", "score": "0.50894666", "text": "void show();", "title": "" }, { "docid": "530e41c0f11cad3c3b975c7740dfb2d4", "score": "0.50894666", "text": "void show();", "title": "" }, { "docid": "530e41c0f11cad3c3b975c7740dfb2d4", "score": "0.50894666", "text": "void show();", "title": "" }, { "docid": "530e41c0f11cad3c3b975c7740dfb2d4", "score": "0.50894666", "text": "void show();", "title": "" }, { "docid": "7b26ed92a87ed034691177224698cadb", "score": "0.5081248", "text": "@Override\n\tpublic void show() {\n\t\tsuper.show();\n\t\tSystem.out.println(\"학번 : \"+ studentId);\n\t\tSystem.out.println(\"전공 : \"+ major);\n\t}", "title": "" }, { "docid": "ca5c7c6940c49795cc51bd261259700d", "score": "0.5079434", "text": "public void displayChart(LinkedList<Datapoint> data, String label) {\n\n List<Entry> entries = new ArrayList<Entry>();\n LineDataSet dataSet;\n LineData lineData;\n\n\n //convert the datapoints to the correct format\n for (Datapoint d : data) {\n entries.add(new Entry(d.getTimestamp(), d.getDatapoint()));\n }\n\n\n dataSet = new LineDataSet(entries, label); // add entries to dataset\n dataSet.setColor(Color.BLUE);\n dataSet.setValueTextColor(Color.GREEN); //set colors\n\n lineData = new LineData(dataSet);\n chart.setData(lineData);\n chart.invalidate(); // refresh\n\n //get rid of the axis labels\n XAxis xAxis = chart.getXAxis();\n xAxis.setDrawLabels(false);\n\n //allow scaling\n chart.setScaleEnabled(true);\n\n //allow scrubbing and show values\n chart.setHighlightPerDragEnabled(true);\n chart.setHighlightPerTapEnabled(true);\n chart.setOnChartValueSelectedListener(new OnChartValueSelectedListener() {\n @Override\n public void onValueSelected(Entry e, Highlight h) {\n y_value.setText(String.valueOf(e.getY()));\n x_value.setText(new Date((long) e.getX() / 10000).toString());\n }\n\n @Override\n public void onNothingSelected() {\n //dont care\n }\n });\n\n\n\n }", "title": "" }, { "docid": "85a4048e7a572ee1271e61ba3e636dec", "score": "0.50695235", "text": "public void displayHijo() {\r\n\t\tSystem.out.println(\"Pelicula\");\r\n\t\r\n\t\tSystem.out.println(\"Productora: \"+this.productora);\r\n\t\tSystem.out.println(\"Clasificacion: \"+this.clasificacion);\r\n\t\t\r\n\t\r\n\t}", "title": "" }, { "docid": "32880e72a31b9d63684313f4255902ba", "score": "0.50608814", "text": "public TVSeries(){\n\t\tsuper();\n\t\t\n\t}", "title": "" }, { "docid": "75d218d1c895dd6371e8115f53dc7f31", "score": "0.5060589", "text": "public void startTutorial() {\n removeProperty(\"Tutorial. \");\n removeProperty(\"Tutorial.Begin Tutorial\");\n\n isTutorial = true;\n\n addTestProperties();\n advanceStudy();\n\n }", "title": "" }, { "docid": "79a1f16620052b1aca4bd0b89660a1a8", "score": "0.5043889", "text": "public Series()\n\t {\n\t\t \n\t\t}", "title": "" }, { "docid": "03927c51e37e1e67ac95208fc992cc50", "score": "0.5038365", "text": "@Override\n\tpublic void showData() {\n\t\ttopPager.setAdapter(new PAdapter(activities));\n\t\tindicator.setViewPager(topPager);\n\t}", "title": "" }, { "docid": "57eaf966fb5ad8558b181000d09908e0", "score": "0.5038359", "text": "public display( String xvar , String yvar,\n\t\t ArrayList<double[]> dataArray,ArrayList<double[]> dataArray2) {\n\tsuper(yvar+\" vs. \"+xvar);\n\tJFreeChart lineChart = ChartFactory.createXYLineChart(\n\t\t\t\t\t\t\t yvar+\" vs. \"+xvar,\n\t\t\t\t\t\t\t xvar, yvar,\n\t\t\t\t\t\t\t createDataset(dataArray,dataArray2));\n \n\tChartPanel chartPanel = new ChartPanel( lineChart );\n\tchartPanel.setPreferredSize( new java.awt.Dimension( 560 , 367 ) );\n\tsetContentPane( chartPanel );\n }", "title": "" }, { "docid": "9add5817254a5cd7b72d365849192efa", "score": "0.5038101", "text": "public void displayAbout() {\r\n\t\tDialog.show(\"About\", \"Mickey Huang, CSC133, Version 1.0\", new Command(\"Ok\"));\r\n\t}", "title": "" }, { "docid": "cb5ee675423342dbfe14369e0b788db9", "score": "0.50360334", "text": "public static void printArrayConsole(String title, Student[] data)\n { \n System.out.println(\"\\n********** \" + title + \" **********\\n\");\n for (int k =0; k < data.length; k++)\n System.out.println( data[k] );\n System.out.println();\n }", "title": "" }, { "docid": "4eb42f8b6437c5053c0e71506ac4dc04", "score": "0.50360274", "text": "public static void main(String[] args) {\n\t\tNSeries(1);\n\n\t}", "title": "" }, { "docid": "fe7666962f9063ef98f741c8816fcc33", "score": "0.50360066", "text": "public void displayPlaylistForward()\n {\n String output = \"[BEGIN] \";\n Episode current = head;\n\n // attaches episodes to output string consecutively until the next episode is head\n while( current.next != head ){\n output += current + \" -> \";\n current = current.next;\n }\n\n // attaches last episode to output string and prints\n output += current + \" [END]\\n\";\n System.out.println(output);\n }", "title": "" }, { "docid": "6cb96a9b0eb67f04a75ea6147ea3f575", "score": "0.5033745", "text": "public static void loading() {\r\n System.out.println(\"Starting to make a coffee\");\r\n System.out.println(\"Grinding coffee beans\");\r\n System.out.println(\"Boiling water\");\r\n System.out.println(\"Mixing boiled water with crushed coffee beans\");\r\n System.out.println(\"Pouring coffee into the cup\");\r\n System.out.println(\"Pouring some milk into the cup\");\r\n System.out.println(\"Coffee is ready!\");\r\n }", "title": "" }, { "docid": "87bcb3a12dea13f61670009eee248dc3", "score": "0.50259584", "text": "private void showPanel1()\n {\n label1.setText(statistics[count][0]);\n view1.setText(statistics[count][1]);\n counters[0] = count;\n statistics[count][2] = \"true\";\n }", "title": "" }, { "docid": "2adb58e85db84f7596c5eda9462e6a24", "score": "0.50259143", "text": "public String show() {\n \n\t\treturn \"show\";\n\t}", "title": "" }, { "docid": "4e592cffba64b6e51834bb823406bc54", "score": "0.5020606", "text": "public void display() {\n for (Scripture s : scriptures) {\n s.display();\n }\n \n System.out.println(\"Entry Date: \" + date.toString());\n System.out.println(\"Scriptures: \");\n \n System.out.println(\"Topics:\");\n for (String s : topics) {\n System.out.println(\"\\t\" + s);\n }\n \n System.out.println(\"Content:\\n\\t\" + content);\n }", "title": "" }, { "docid": "925334d52ec166ab901262e01009f84d", "score": "0.5020289", "text": "public String printSimpleIntroduction(){\n if (this.getClass() != Skeleton.class) {\n return this.getName() + \" the \" + this.getClass().getSimpleName();\n }\n else {\n return this.getName();\n }\n }", "title": "" }, { "docid": "53150e37da26ae7735afe533920cb407", "score": "0.5015307", "text": "public void MostrarDatos() {\r\n\t\tSystem.out.println(\"-----------Datos del empleado---------\");\r\n\t\t System.out.println(\"emp_no=\" + 12);\r\n\t\t System.out.println(\"apellido=\" + \"Pérez\");\r\n\t\t System.out.println(\"oficio=\" + \"programador\");\r\n\t\t System.out.println(\"fecha_alt=\" + \"12-03-20\");\r\n\t\t System.out.println(\"salario=\" + 2200);\r\n\t}", "title": "" }, { "docid": "55ac286138f62c19061be3392da97de0", "score": "0.5009471", "text": "private void dataAnalysisPanelMouseClicked(MouseEvent e) {\n card.show(main,\"dataDataAnalysisFunction\");\n }", "title": "" }, { "docid": "c9f08641e6bc5e25c4f988a09bf3afa3", "score": "0.50077784", "text": "public void showInformation() {\n System.out.println(\n \"\\n1. Register student for a course (this includes registering for Tutorial/Lab classes).\\n\" \n + \"2. Check available slots in a class (Class Vacancy).\\n\" \n + \"3. Print student transcript.\\n\" \n + \"4. Add a student.\\n\" \n + \"5. Add a course.\\n\" \n + \"6. Print student list by lecture, tutorial or laboratory session for a course.\\n\" \n + \"7. Enter coursework mark – inclusive of its components.\\n\" \n + \"8. Enter exam mark.\\n\" \n + \"9. Print course statistics.\\n\"\n );\n\n System.out.println(\"Valid choices for the app's functionalities are from 1 to 9.\");\n System.out.println(\"Enter 0 to exit the application.\");\n System.out.println();\n }", "title": "" }, { "docid": "60928994a28ca08f7a96394abac61948", "score": "0.50048506", "text": "public void studyDetails() {\r\n\t\tSystem.out.println(FIRST_NAME + \" \" + SURNAME + \" is currently studying \" + COURSE.getTitle() + \".\");\r\n\t\tCOURSE.printModules();\r\n\t}", "title": "" }, { "docid": "0b005a732c749f93d95c4fe843c65ad9", "score": "0.50028527", "text": "@Override\r\n\tpublic void show() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f18b21490da076c6a321ca67879327f8", "score": "0.50022817", "text": "private static void showHelp() {\n\t\tSystem.out.println(\n\t\t\t\t\"\"\n\t\t\t\t+ \"####################\\r\\n\"\n\t\t\t\t+ \"# USE INSTRUCTIONS #\\r\\n\"\n\t\t\t\t+ \"####################\\r\\n\"\n\t\t\t\t+ \"\\r\\n\"\n\t\t\t\t+ \"The program has to be called with no arguments.\\r\\n\"\n\t\t\t\t+ \"\\r\\n\"\n\t\t\t\t+ \"Have fun!\");\n\t}", "title": "" }, { "docid": "29df02b5a5930902ecdc5b57b967c0b3", "score": "0.49993685", "text": "public void displayShortCourse() {\n try {\n System.out.println(this.title);\n System.out.println(this.deptShort + \" \" + this.courseNo + \"-\" + this.sectionNo);\n System.out.println();\n } catch (Exception e) {\n// logger.error(e.getMessage());\n }\n }", "title": "" }, { "docid": "612c39cd6489f2a98eaebb43f6dcbd0c", "score": "0.4993652", "text": "private void printHead(String s, int numofplus, int[] datasize) {\n\t\tfor(int i=0;i<numofplus;i++) \n\t\t\tSystem.out.print(\"+\");\n\t\tSystem.out.println();\n\t\tString[] titlearray = s.split(\"\\\\s+\");\n\t\tSystem.out.print(\"|\");\n\t\tfor(int i=0;i<datasize.length;i++) \n\t\t\tprintColumn(datasize, titlearray, i);\n\t\tSystem.out.println();\n\t\tfor(int i=0;i<numofplus;i++) \n\t\t\tSystem.out.print(\"+\");\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" }, { "docid": "bc7b3d5a372eec846c6760372be99813", "score": "0.4993203", "text": "@Override\n\tpublic void show() {\n\t\t\n\t}", "title": "" } ]
1dc4195776103481a04901867e696b20
$ANTLR end "ruleEFG" $ANTLR start "entryRuleEFM" InternalAfpText.g:5996:1: entryRuleEFM returns [EObject current=null] : iv_ruleEFM= ruleEFM EOF ;
[ { "docid": "16e08798ab364c80bffc03a7f44320e7", "score": "0.82761693", "text": "public final EObject entryRuleEFM() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEFM = null;\n\n\n try {\n // InternalAfpText.g:5996:44: (iv_ruleEFM= ruleEFM EOF )\n // InternalAfpText.g:5997:2: iv_ruleEFM= ruleEFM EOF\n {\n newCompositeNode(grammarAccess.getEFMRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEFM=ruleEFM();\n\n state._fsp--;\n\n current =iv_ruleEFM; \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": "d9240016279ea824dac5ff0417f78bb5", "score": "0.77315086", "text": "public final EObject entryRuleEFG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEFG = null;\n\n\n try {\n // InternalAfpText.g:5942:44: (iv_ruleEFG= ruleEFG EOF )\n // InternalAfpText.g:5943:2: iv_ruleEFG= ruleEFG EOF\n {\n newCompositeNode(grammarAccess.getEFGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEFG=ruleEFG();\n\n state._fsp--;\n\n current =iv_ruleEFG; \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": "0cd7ee03d722b68c3573b099fa65b5b8", "score": "0.751047", "text": "public final EObject entryRuleFNMRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNMRG = null;\n\n\n try {\n // InternalAfpText.g:16511:46: (iv_ruleFNMRG= ruleFNMRG EOF )\n // InternalAfpText.g:16512:2: iv_ruleFNMRG= ruleFNMRG EOF\n {\n newCompositeNode(grammarAccess.getFNMRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNMRG=ruleFNMRG();\n\n state._fsp--;\n\n current =iv_ruleFNMRG; \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": "1b59dada557acd8965e80fb6948953d4", "score": "0.7377556", "text": "public final EObject entryRuleFNM() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNM = null;\n\n\n try {\n // InternalAfpText.g:8808:44: (iv_ruleFNM= ruleFNM EOF )\n // InternalAfpText.g:8809:2: iv_ruleFNM= ruleFNM EOF\n {\n newCompositeNode(grammarAccess.getFNMRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNM=ruleFNM();\n\n state._fsp--;\n\n current =iv_ruleFNM; \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": "b43c2df69c3e32b6c9dd529b1863f2e8", "score": "0.7039726", "text": "public final EObject entryRuleFNG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNG = null;\n\n\n try {\n // InternalAfpText.g:8651:44: (iv_ruleFNG= ruleFNG EOF )\n // InternalAfpText.g:8652:2: iv_ruleFNG= ruleFNG EOF\n {\n newCompositeNode(grammarAccess.getFNGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNG=ruleFNG();\n\n state._fsp--;\n\n current =iv_ruleFNG; \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": "e7ea3b594982f423123505544f0fbeb7", "score": "0.6945249", "text": "public final EObject entryRuleFGD() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFGD = null;\n\n\n try {\n // InternalAfpText.g:15632:44: (iv_ruleFGD= ruleFGD EOF )\n // InternalAfpText.g:15633:2: iv_ruleFGD= ruleFGD EOF\n {\n newCompositeNode(grammarAccess.getFGDRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFGD=ruleFGD();\n\n state._fsp--;\n\n current =iv_ruleFGD; \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": "58f375904e6b3f7dadc62052fe5ee056", "score": "0.6943935", "text": "public final EObject entryRuleFND() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFND = null;\n\n\n try {\n // InternalAfpText.g:8027:44: (iv_ruleFND= ruleFND EOF )\n // InternalAfpText.g:8028:2: iv_ruleFND= ruleFND EOF\n {\n newCompositeNode(grammarAccess.getFNDRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFND=ruleFND();\n\n state._fsp--;\n\n current =iv_ruleFND; \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": "26c34ebf687701628d28de3bb6e4a79a", "score": "0.6942391", "text": "public final EObject entryRuleEDM() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEDM = null;\n\n\n try {\n // InternalAfpText.g:5761:44: (iv_ruleEDM= ruleEDM EOF )\n // InternalAfpText.g:5762:2: iv_ruleEDM= ruleEDM EOF\n {\n newCompositeNode(grammarAccess.getEDMRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEDM=ruleEDM();\n\n state._fsp--;\n\n current =iv_ruleEDM; \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": "546296e2606bef0491abd5c353b5397e", "score": "0.6891885", "text": "public final EObject entryRuleEFN() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEFN = null;\n\n\n try {\n // InternalAfpText.g:6050:44: (iv_ruleEFN= ruleEFN EOF )\n // InternalAfpText.g:6051:2: iv_ruleEFN= ruleEFN EOF\n {\n newCompositeNode(grammarAccess.getEFNRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEFN=ruleEFN();\n\n state._fsp--;\n\n current =iv_ruleEFN; \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": "5309b5b5698ca377cb750bcb391d2269", "score": "0.67582434", "text": "public final EObject entryRuleEMM() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEMM = null;\n\n\n try {\n // InternalAfpText.g:6304:44: (iv_ruleEMM= ruleEMM EOF )\n // InternalAfpText.g:6305:2: iv_ruleEMM= ruleEMM EOF\n {\n newCompositeNode(grammarAccess.getEMMRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEMM=ruleEMM();\n\n state._fsp--;\n\n current =iv_ruleEMM; \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": "11c72d0f9fa1e225b135a24fdd488ba5", "score": "0.666228", "text": "public final EObject entryRuleECF() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleECF = null;\n\n\n try {\n // InternalAfpText.g:5526:44: (iv_ruleECF= ruleECF EOF )\n // InternalAfpText.g:5527:2: iv_ruleECF= ruleECF EOF\n {\n newCompositeNode(grammarAccess.getECFRule()); \n pushFollow(FOLLOW_1);\n iv_ruleECF=ruleECF();\n\n state._fsp--;\n\n current =iv_ruleECF; \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": "f50c9736b990ba957286c5abdc52ece1", "score": "0.6656868", "text": "public final EObject entryRuleBFG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBFG = null;\n\n\n try {\n // InternalAfpText.g:2886:44: (iv_ruleBFG= ruleBFG EOF )\n // InternalAfpText.g:2887:2: iv_ruleBFG= ruleBFG EOF\n {\n newCompositeNode(grammarAccess.getBFGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleBFG=ruleBFG();\n\n state._fsp--;\n\n current =iv_ruleBFG; \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": "33fece523ad80ab1f3990d163f3ba2ea", "score": "0.6627469", "text": "public final EObject entryRuleMCF() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMCF = null;\n\n\n try {\n // InternalAfpText.g:12379:44: (iv_ruleMCF= ruleMCF EOF )\n // InternalAfpText.g:12380:2: iv_ruleMCF= ruleMCF EOF\n {\n newCompositeNode(grammarAccess.getMCFRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMCF=ruleMCF();\n\n state._fsp--;\n\n current =iv_ruleMCF; \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": "ba4a7ae677522b2d4a58fd4d49f6252e", "score": "0.660187", "text": "public final EObject entryRuleBFM() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBFM = null;\n\n\n try {\n // InternalAfpText.g:2940:44: (iv_ruleBFM= ruleBFM EOF )\n // InternalAfpText.g:2941:2: iv_ruleBFM= ruleBFM EOF\n {\n newCompositeNode(grammarAccess.getBFMRule()); \n pushFollow(FOLLOW_1);\n iv_ruleBFM=ruleBFM();\n\n state._fsp--;\n\n current =iv_ruleBFM; \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": "757f8aff3c9f6dcbd883526ebc0e01ad", "score": "0.65158707", "text": "public final EObject ruleEFM() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token otherlv_2=null;\n Token lv_FMName_3_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalAfpText.g:6009:2: ( ( () otherlv_1= 'EFM' (otherlv_2= 'FMName=' ( (lv_FMName_3_0= RULE_MODCASTRING ) ) )? ) )\n // InternalAfpText.g:6010:2: ( () otherlv_1= 'EFM' (otherlv_2= 'FMName=' ( (lv_FMName_3_0= RULE_MODCASTRING ) ) )? )\n {\n // InternalAfpText.g:6010:2: ( () otherlv_1= 'EFM' (otherlv_2= 'FMName=' ( (lv_FMName_3_0= RULE_MODCASTRING ) ) )? )\n // InternalAfpText.g:6011:3: () otherlv_1= 'EFM' (otherlv_2= 'FMName=' ( (lv_FMName_3_0= RULE_MODCASTRING ) ) )?\n {\n // InternalAfpText.g:6011:3: ()\n // InternalAfpText.g:6012:4: \n {\n\n \t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\tgrammarAccess.getEFMAccess().getEFMAction_0(),\n \t\t\t\t\tcurrent);\n \t\t\t\n\n }\n\n otherlv_1=(Token)match(input,136,FOLLOW_50); \n\n \t\t\tnewLeafNode(otherlv_1, grammarAccess.getEFMAccess().getEFMKeyword_1());\n \t\t\n // InternalAfpText.g:6022:3: (otherlv_2= 'FMName=' ( (lv_FMName_3_0= RULE_MODCASTRING ) ) )?\n int alt85=2;\n int LA85_0 = input.LA(1);\n\n if ( (LA85_0==61) ) {\n alt85=1;\n }\n switch (alt85) {\n case 1 :\n // InternalAfpText.g:6023:4: otherlv_2= 'FMName=' ( (lv_FMName_3_0= RULE_MODCASTRING ) )\n {\n otherlv_2=(Token)match(input,61,FOLLOW_6); \n\n \t\t\t\tnewLeafNode(otherlv_2, grammarAccess.getEFMAccess().getFMNameKeyword_2_0());\n \t\t\t\n // InternalAfpText.g:6027:4: ( (lv_FMName_3_0= RULE_MODCASTRING ) )\n // InternalAfpText.g:6028:5: (lv_FMName_3_0= RULE_MODCASTRING )\n {\n // InternalAfpText.g:6028:5: (lv_FMName_3_0= RULE_MODCASTRING )\n // InternalAfpText.g:6029:6: lv_FMName_3_0= RULE_MODCASTRING\n {\n lv_FMName_3_0=(Token)match(input,RULE_MODCASTRING,FOLLOW_2); \n\n \t\t\t\t\t\tnewLeafNode(lv_FMName_3_0, grammarAccess.getEFMAccess().getFMNameMODCASTRINGTerminalRuleCall_2_1_0());\n \t\t\t\t\t\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getEFMRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\"FMName\",\n \t\t\t\t\t\t\tlv_FMName_3_0,\n \t\t\t\t\t\t\t\"org.afplib.AfpText.MODCASTRING\");\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\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": "1c4d02cd782a19f3e69dc750762530a1", "score": "0.6500616", "text": "public final EObject entryRuleEDG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEDG = null;\n\n\n try {\n // InternalAfpText.g:5634:44: (iv_ruleEDG= ruleEDG EOF )\n // InternalAfpText.g:5635:2: iv_ruleEDG= ruleEDG EOF\n {\n newCompositeNode(grammarAccess.getEDGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEDG=ruleEDG();\n\n state._fsp--;\n\n current =iv_ruleEDG; \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": "4445bd6325627356d3e65dbae0946030", "score": "0.6493811", "text": "public final EObject entryRuleEPM() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEPM = null;\n\n\n try {\n // InternalAfpText.g:6777:44: (iv_ruleEPM= ruleEPM EOF )\n // InternalAfpText.g:6778:2: iv_ruleEPM= ruleEPM EOF\n {\n newCompositeNode(grammarAccess.getEPMRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEPM=ruleEPM();\n\n state._fsp--;\n\n current =iv_ruleEPM; \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": "6e222d4b768ff54588ab81cb4df0d731", "score": "0.64920163", "text": "public final EObject entryRuleEAG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEAG = null;\n\n\n try {\n // InternalAfpText.g:5326:44: (iv_ruleEAG= ruleEAG EOF )\n // InternalAfpText.g:5327:2: iv_ruleEAG= ruleEAG EOF\n {\n newCompositeNode(grammarAccess.getEAGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEAG=ruleEAG();\n\n state._fsp--;\n\n current =iv_ruleEAG; \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": "6dbf390c6632d69335381748a5da0c4c", "score": "0.6383699", "text": "public final EObject entryRuleMCFRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMCFRG = null;\n\n\n try {\n // InternalAfpText.g:16893:46: (iv_ruleMCFRG= ruleMCFRG EOF )\n // InternalAfpText.g:16894:2: iv_ruleMCFRG= ruleMCFRG EOF\n {\n newCompositeNode(grammarAccess.getMCFRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMCFRG=ruleMCFRG();\n\n state._fsp--;\n\n current =iv_ruleMCFRG; \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": "14cf40747822a919970ac3848d261591", "score": "0.636125", "text": "public final EObject entryRuleFNC() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNC = null;\n\n\n try {\n // InternalAfpText.g:7139:44: (iv_ruleFNC= ruleFNC EOF )\n // InternalAfpText.g:7140:2: iv_ruleFNC= ruleFNC EOF\n {\n newCompositeNode(grammarAccess.getFNCRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNC=ruleFNC();\n\n state._fsp--;\n\n current =iv_ruleFNC; \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": "e8a65c5720264f8e7f6fd8b2e61ee686", "score": "0.6293291", "text": "public final EObject entryRuleESG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleESG = null;\n\n\n try {\n // InternalAfpText.g:7085:44: (iv_ruleESG= ruleESG EOF )\n // InternalAfpText.g:7086:2: iv_ruleESG= ruleESG EOF\n {\n newCompositeNode(grammarAccess.getESGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleESG=ruleESG();\n\n state._fsp--;\n\n current =iv_ruleESG; \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": "e463143260db941c666f80e524ac2ab5", "score": "0.62793684", "text": "public final EObject entryRuleMMTRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMMTRG = null;\n\n\n try {\n // InternalAfpText.g:17477:46: (iv_ruleMMTRG= ruleMMTRG EOF )\n // InternalAfpText.g:17478:2: iv_ruleMMTRG= ruleMMTRG EOF\n {\n newCompositeNode(grammarAccess.getMMTRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMMTRG=ruleMMTRG();\n\n state._fsp--;\n\n current =iv_ruleMMTRG; \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": "c81da6b805bd88a4d91b24f0966e9d32", "score": "0.6246386", "text": "public final EObject entryRuleENG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleENG = null;\n\n\n try {\n // InternalAfpText.g:6431:44: (iv_ruleENG= ruleENG EOF )\n // InternalAfpText.g:6432:2: iv_ruleENG= ruleENG EOF\n {\n newCompositeNode(grammarAccess.getENGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleENG=ruleENG();\n\n state._fsp--;\n\n current =iv_ruleENG; \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": "52a622ee2677d0c0ad4f2f2f7cdd4efa", "score": "0.62438357", "text": "public final EObject entryRuleEOG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEOG = null;\n\n\n try {\n // InternalAfpText.g:6577:44: (iv_ruleEOG= ruleEOG EOF )\n // InternalAfpText.g:6578:2: iv_ruleEOG= ruleEOG EOF\n {\n newCompositeNode(grammarAccess.getEOGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEOG=ruleEOG();\n\n state._fsp--;\n\n current =iv_ruleEOG; \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": "0b89679833d399a880060eeba90d7aa9", "score": "0.6206087", "text": "public final EObject entryRuleFNIRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNIRG = null;\n\n\n try {\n // InternalAfpText.g:16104:46: (iv_ruleFNIRG= ruleFNIRG EOF )\n // InternalAfpText.g:16105:2: iv_ruleFNIRG= ruleFNIRG EOF\n {\n newCompositeNode(grammarAccess.getFNIRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNIRG=ruleFNIRG();\n\n state._fsp--;\n\n current =iv_ruleFNIRG; \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": "131769ac973365a585ceaa723574fdf9", "score": "0.6187884", "text": "public final EObject entryRuleFNP() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNP = null;\n\n\n try {\n // InternalAfpText.g:8906:44: (iv_ruleFNP= ruleFNP EOF )\n // InternalAfpText.g:8907:2: iv_ruleFNP= ruleFNP EOF\n {\n newCompositeNode(grammarAccess.getFNPRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNP=ruleFNP();\n\n state._fsp--;\n\n current =iv_ruleFNP; \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": "9c454001fc1b0e35d9b16df483e719ba", "score": "0.617692", "text": "public final EObject entryRuleEPF() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEPF = null;\n\n\n try {\n // InternalAfpText.g:6631:44: (iv_ruleEPF= ruleEPF EOF )\n // InternalAfpText.g:6632:2: iv_ruleEPF= ruleEPF EOF\n {\n newCompositeNode(grammarAccess.getEPFRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEPF=ruleEPF();\n\n state._fsp--;\n\n current =iv_ruleEPF; \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": "da25ae8b65ef131c67cf293e28d977b5", "score": "0.61743695", "text": "public final EObject entryRuleFNPRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNPRG = null;\n\n\n try {\n // InternalAfpText.g:19397:46: (iv_ruleFNPRG= ruleFNPRG EOF )\n // InternalAfpText.g:19398:2: iv_ruleFNPRG= ruleFNPRG EOF\n {\n newCompositeNode(grammarAccess.getFNPRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNPRG=ruleFNPRG();\n\n state._fsp--;\n\n current =iv_ruleFNPRG; \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": "c7c46c2bda75324490bed9e010bea49c", "score": "0.6167412", "text": "public final EObject entryRuleGFLT() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGFLT = null;\n\n\n try {\n // InternalAfpText.g:33673:45: (iv_ruleGFLT= ruleGFLT EOF )\n // InternalAfpText.g:33674:2: iv_ruleGFLT= ruleGFLT EOF\n {\n newCompositeNode(grammarAccess.getGFLTRule()); \n pushFollow(FOLLOW_1);\n iv_ruleGFLT=ruleGFLT();\n\n state._fsp--;\n\n current =iv_ruleGFLT; \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": "9d2c0878cb15230985f12fae12c496bb", "score": "0.6154092", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n try {\n // ../org.xtext.cfgdsl/src-gen/org/xtext/cfgdsl/parser/antlr/internal/InternalCfgDsl.g:132:2: (iv_ruleExpression= ruleExpression EOF )\n // ../org.xtext.cfgdsl/src-gen/org/xtext/cfgdsl/parser/antlr/internal/InternalCfgDsl.g:133:2: iv_ruleExpression= ruleExpression EOF\n {\n newCompositeNode(grammarAccess.getExpressionRule()); \n pushFollow(FollowSets000.FOLLOW_ruleExpression_in_entryRuleExpression199);\n iv_ruleExpression=ruleExpression();\n\n state._fsp--;\n\n current =iv_ruleExpression; \n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleExpression209); \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": "d1b4cfbada221b32bd2ebb64174e5fc1", "score": "0.6130205", "text": "public final EObject entryRuleEMO() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEMO = null;\n\n\n try {\n // InternalAfpText.g:6358:44: (iv_ruleEMO= ruleEMO EOF )\n // InternalAfpText.g:6359:2: iv_ruleEMO= ruleEMO EOF\n {\n newCompositeNode(grammarAccess.getEMORule()); \n pushFollow(FOLLOW_1);\n iv_ruleEMO=ruleEMO();\n\n state._fsp--;\n\n current =iv_ruleEMO; \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": "b7efcf15af8e1d8356ee825af4f69060", "score": "0.6105613", "text": "public final EObject entryRuleMMDRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMMDRG = null;\n\n\n try {\n // InternalAfpText.g:17404:46: (iv_ruleMMDRG= ruleMMDRG EOF )\n // InternalAfpText.g:17405:2: iv_ruleMMDRG= ruleMMDRG EOF\n {\n newCompositeNode(grammarAccess.getMMDRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMMDRG=ruleMMDRG();\n\n state._fsp--;\n\n current =iv_ruleMMDRG; \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": "e3a62c12c54319c474a67f129789834c", "score": "0.60990214", "text": "public final EObject entryRuleFNO() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNO = null;\n\n\n try {\n // InternalAfpText.g:8857:44: (iv_ruleFNO= ruleFNO EOF )\n // InternalAfpText.g:8858:2: iv_ruleFNO= ruleFNO EOF\n {\n newCompositeNode(grammarAccess.getFNORule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNO=ruleFNO();\n\n state._fsp--;\n\n current =iv_ruleFNO; \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": "f80e810f8103177d2602328185832c94", "score": "0.6078974", "text": "public final EObject entryRuleFNN() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNN = null;\n\n\n try {\n // InternalAfpText.g:8754:44: (iv_ruleFNN= ruleFNN EOF )\n // InternalAfpText.g:8755:2: iv_ruleFNN= ruleFNN EOF\n {\n newCompositeNode(grammarAccess.getFNNRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNN=ruleFNN();\n\n state._fsp--;\n\n current =iv_ruleFNN; \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": "98c2ac727a115d9078938f67137d696b", "score": "0.60207427", "text": "public final EObject entryRuleFNNRG2() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNNRG2 = null;\n\n\n try {\n // InternalAfpText.g:31922:47: (iv_ruleFNNRG2= ruleFNNRG2 EOF )\n // InternalAfpText.g:31923:2: iv_ruleFNNRG2= ruleFNNRG2 EOF\n {\n newCompositeNode(grammarAccess.getFNNRG2Rule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNNRG2=ruleFNNRG2();\n\n state._fsp--;\n\n current =iv_ruleFNNRG2; \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": "1b58e847f0b0c0c97ef0312b1aa106d4", "score": "0.6020145", "text": "public final EObject entryRuleFNI() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNI = null;\n\n\n try {\n // InternalAfpText.g:8705:44: (iv_ruleFNI= ruleFNI EOF )\n // InternalAfpText.g:8706:2: iv_ruleFNI= ruleFNI EOF\n {\n newCompositeNode(grammarAccess.getFNIRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNI=ruleFNI();\n\n state._fsp--;\n\n current =iv_ruleFNI; \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": "8e7846156258a8ee34a994dbda4c036d", "score": "0.6009469", "text": "public final EObject entryRuleERG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleERG = null;\n\n\n try {\n // InternalAfpText.g:6958:44: (iv_ruleERG= ruleERG EOF )\n // InternalAfpText.g:6959:2: iv_ruleERG= ruleERG EOF\n {\n newCompositeNode(grammarAccess.getERGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleERG=ruleERG();\n\n state._fsp--;\n\n current =iv_ruleERG; \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": "1c12c820bffb22a318bff4191fb095c2", "score": "0.60048044", "text": "public final EObject entryRuleMMD() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMMD = null;\n\n\n try {\n // InternalAfpText.g:13233:44: (iv_ruleMMD= ruleMMD EOF )\n // InternalAfpText.g:13234:2: iv_ruleMMD= ruleMMD EOF\n {\n newCompositeNode(grammarAccess.getMMDRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMMD=ruleMMD();\n\n state._fsp--;\n\n current =iv_ruleMMD; \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": "d1691182a73145aee64abadc84eb2c48", "score": "0.59996104", "text": "public final EObject entryRuleFeature() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFeature = null;\n\n\n try {\n // InternalAicdsl.g:165:48: (iv_ruleFeature= ruleFeature EOF )\n // InternalAicdsl.g:166: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": "47a4bbb191cbdf83207ae418dd093ec0", "score": "0.5996472", "text": "public final EObject entryRuleEReferenceOpDef() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEReferenceOpDef = null;\n\n\n try {\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:1157:2: (iv_ruleEReferenceOpDef= ruleEReferenceOpDef EOF )\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:1158:2: iv_ruleEReferenceOpDef= ruleEReferenceOpDef EOF\n {\n newCompositeNode(grammarAccess.getEReferenceOpDefRule()); \n pushFollow(FOLLOW_ruleEReferenceOpDef_in_entryRuleEReferenceOpDef2440);\n iv_ruleEReferenceOpDef=ruleEReferenceOpDef();\n\n state._fsp--;\n\n current =iv_ruleEReferenceOpDef; \n match(input,EOF,FOLLOW_EOF_in_entryRuleEReferenceOpDef2450); \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": "fe4ea4900b2f0f3aaed50e26a1628706", "score": "0.5990495", "text": "public final EObject entryRulePFC() throws RecognitionException {\n EObject current = null;\n\n EObject iv_rulePFC = null;\n\n\n try {\n // InternalAfpText.g:14293:44: (iv_rulePFC= rulePFC EOF )\n // InternalAfpText.g:14294:2: iv_rulePFC= rulePFC EOF\n {\n newCompositeNode(grammarAccess.getPFCRule()); \n pushFollow(FOLLOW_1);\n iv_rulePFC=rulePFC();\n\n state._fsp--;\n\n current =iv_rulePFC; \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": "f0f014c2a44c9827e79b622133b02f61", "score": "0.59628224", "text": "public final EObject entryRuleEPG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEPG = null;\n\n\n try {\n // InternalAfpText.g:6704:44: (iv_ruleEPG= ruleEPG EOF )\n // InternalAfpText.g:6705:2: iv_ruleEPG= ruleEPG EOF\n {\n newCompositeNode(grammarAccess.getEPGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEPG=ruleEPG();\n\n state._fsp--;\n\n current =iv_ruleEPG; \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": "c76c9e76379914ba352b7e6b622bd22c", "score": "0.59620196", "text": "public final EObject entryRuleMCDRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMCDRG = null;\n\n\n try {\n // InternalAfpText.g:17112:46: (iv_ruleMCDRG= ruleMCDRG EOF )\n // InternalAfpText.g:17113:2: iv_ruleMCDRG= ruleMCDRG EOF\n {\n newCompositeNode(grammarAccess.getMCDRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMCDRG=ruleMCDRG();\n\n state._fsp--;\n\n current =iv_ruleMCDRG; \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": "7807ac8d8128bc6a5167e383e9fa6971", "score": "0.5937013", "text": "public final EObject ruleEFG() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token otherlv_2=null;\n Token lv_FEGName_3_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalAfpText.g:5955:2: ( ( () otherlv_1= 'EFG' (otherlv_2= 'FEGName=' ( (lv_FEGName_3_0= RULE_MODCASTRING ) ) )? ) )\n // InternalAfpText.g:5956:2: ( () otherlv_1= 'EFG' (otherlv_2= 'FEGName=' ( (lv_FEGName_3_0= RULE_MODCASTRING ) ) )? )\n {\n // InternalAfpText.g:5956:2: ( () otherlv_1= 'EFG' (otherlv_2= 'FEGName=' ( (lv_FEGName_3_0= RULE_MODCASTRING ) ) )? )\n // InternalAfpText.g:5957:3: () otherlv_1= 'EFG' (otherlv_2= 'FEGName=' ( (lv_FEGName_3_0= RULE_MODCASTRING ) ) )?\n {\n // InternalAfpText.g:5957:3: ()\n // InternalAfpText.g:5958:4: \n {\n\n \t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\tgrammarAccess.getEFGAccess().getEFGAction_0(),\n \t\t\t\t\tcurrent);\n \t\t\t\n\n }\n\n otherlv_1=(Token)match(input,135,FOLLOW_22); \n\n \t\t\tnewLeafNode(otherlv_1, grammarAccess.getEFGAccess().getEFGKeyword_1());\n \t\t\n // InternalAfpText.g:5968:3: (otherlv_2= 'FEGName=' ( (lv_FEGName_3_0= RULE_MODCASTRING ) ) )?\n int alt84=2;\n int LA84_0 = input.LA(1);\n\n if ( (LA84_0==59) ) {\n alt84=1;\n }\n switch (alt84) {\n case 1 :\n // InternalAfpText.g:5969:4: otherlv_2= 'FEGName=' ( (lv_FEGName_3_0= RULE_MODCASTRING ) )\n {\n otherlv_2=(Token)match(input,59,FOLLOW_6); \n\n \t\t\t\tnewLeafNode(otherlv_2, grammarAccess.getEFGAccess().getFEGNameKeyword_2_0());\n \t\t\t\n // InternalAfpText.g:5973:4: ( (lv_FEGName_3_0= RULE_MODCASTRING ) )\n // InternalAfpText.g:5974:5: (lv_FEGName_3_0= RULE_MODCASTRING )\n {\n // InternalAfpText.g:5974:5: (lv_FEGName_3_0= RULE_MODCASTRING )\n // InternalAfpText.g:5975:6: lv_FEGName_3_0= RULE_MODCASTRING\n {\n lv_FEGName_3_0=(Token)match(input,RULE_MODCASTRING,FOLLOW_2); \n\n \t\t\t\t\t\tnewLeafNode(lv_FEGName_3_0, grammarAccess.getEFGAccess().getFEGNameMODCASTRINGTerminalRuleCall_2_1_0());\n \t\t\t\t\t\n\n \t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getEFGRule());\n \t\t\t\t\t\t}\n \t\t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\"FEGName\",\n \t\t\t\t\t\t\tlv_FEGName_3_0,\n \t\t\t\t\t\t\t\"org.afplib.AfpText.MODCASTRING\");\n \t\t\t\t\t\n\n }\n\n\n }\n\n\n }\n break;\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": "38166a96d34859e5478f905f7aee93ae", "score": "0.59298986", "text": "public final EObject entryRuleExpression_Function() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression_Function = null;\n\n\n try {\n // ../org.xtext.lua/src-gen/org/xtext/lua/parser/antlr/internal/InternalLua.g:2841:2: (iv_ruleExpression_Function= ruleExpression_Function EOF )\n // ../org.xtext.lua/src-gen/org/xtext/lua/parser/antlr/internal/InternalLua.g:2842:2: iv_ruleExpression_Function= ruleExpression_Function EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpression_FunctionRule()); \n }\n pushFollow(FOLLOW_ruleExpression_Function_in_entryRuleExpression_Function5977);\n iv_ruleExpression_Function=ruleExpression_Function();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleExpression_Function; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleExpression_Function5987); 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": "043be9fe2483c9b169ffa5d90e7b51d3", "score": "0.59182644", "text": "public final EObject entryRuleGLINE() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGLINE = null;\n\n\n try {\n // InternalAfpText.g:34111:46: (iv_ruleGLINE= ruleGLINE EOF )\n // InternalAfpText.g:34112:2: iv_ruleGLINE= ruleGLINE EOF\n {\n newCompositeNode(grammarAccess.getGLINERule()); \n pushFollow(FOLLOW_1);\n iv_ruleGLINE=ruleGLINE();\n\n state._fsp--;\n\n current =iv_ruleGLINE; \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": "05714e4a1848aaec0443c85e4ff2100e", "score": "0.59105283", "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_COMMENT\");\n \t\n try {\n // ../org.xtext.lua/src-gen/org/xtext/lua/parser/antlr/internal/InternalLua.g:1617:2: (iv_ruleExpression= ruleExpression EOF )\n // ../org.xtext.lua/src-gen/org/xtext/lua/parser/antlr/internal/InternalLua.g:1618:2: iv_ruleExpression= ruleExpression EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getExpressionRule()); \n }\n pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression3294);\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_entryRuleExpression3304); 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": "73fde8631452ad742f3a7d9d7709769e", "score": "0.59041524", "text": "public final EObject entryRuleEDX() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEDX = null;\n\n\n try {\n // InternalAfpText.g:5888:44: (iv_ruleEDX= ruleEDX EOF )\n // InternalAfpText.g:5889:2: iv_ruleEDX= ruleEDX EOF\n {\n newCompositeNode(grammarAccess.getEDXRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEDX=ruleEDX();\n\n state._fsp--;\n\n current =iv_ruleEDX; \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": "57115015838a55a4b0136aaab61c5cdd", "score": "0.588737", "text": "public final EObject entryRuleMMT() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMMT = null;\n\n\n try {\n // InternalAfpText.g:13355:44: (iv_ruleMMT= ruleMMT EOF )\n // InternalAfpText.g:13356:2: iv_ruleMMT= ruleMMT EOF\n {\n newCompositeNode(grammarAccess.getMMTRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMMT=ruleMMT();\n\n state._fsp--;\n\n current =iv_ruleMMT; \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": "32699e7710aa89b82d6f63640118a24f", "score": "0.58668953", "text": "public final EObject entryRuleexpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleexpression = null;\n\n\n try {\n // InternalMyDsl.g:3558:51: (iv_ruleexpression= ruleexpression EOF )\n // InternalMyDsl.g:3559: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": "73990644e24f438cc460404e19fe34ba", "score": "0.5852316", "text": "public final EObject entryRuleGFLTRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGFLTRG = null;\n\n\n try {\n // InternalAfpText.g:20552:47: (iv_ruleGFLTRG= ruleGFLTRG EOF )\n // InternalAfpText.g:20553:2: iv_ruleGFLTRG= ruleGFLTRG EOF\n {\n newCompositeNode(grammarAccess.getGFLTRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleGFLTRG=ruleGFLTRG();\n\n state._fsp--;\n\n current =iv_ruleGFLTRG; \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": "a715c3e5db68009a327145bd5ebedf04", "score": "0.5850214", "text": "public final EObject entryRuleRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleRule = null;\n\n\n try {\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:466:2: (iv_ruleRule= ruleRule EOF )\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:467:2: iv_ruleRule= ruleRule EOF\n {\n newCompositeNode(grammarAccess.getRuleRule()); \n pushFollow(FOLLOW_ruleRule_in_entryRuleRule898);\n iv_ruleRule=ruleRule();\n\n state._fsp--;\n\n current =iv_ruleRule; \n match(input,EOF,FOLLOW_EOF_in_entryRuleRule908); \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": "c948709e6e9d81845bdfa1781f289169", "score": "0.5831437", "text": "public final EObject entryRuleMPG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMPG = null;\n\n\n try {\n // InternalAfpText.g:13404:44: (iv_ruleMPG= ruleMPG EOF )\n // InternalAfpText.g:13405:2: iv_ruleMPG= ruleMPG EOF\n {\n newCompositeNode(grammarAccess.getMPGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMPG=ruleMPG();\n\n state._fsp--;\n\n current =iv_ruleMPG; \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": "1038cf8dc29b45ff7da44c6fbeeb2be9", "score": "0.5826148", "text": "public final EObject entryRuleExpression() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleExpression = null;\n\n\n try {\n // InternalModelica.g:4290:51: (iv_ruleExpression= ruleExpression EOF )\n // InternalModelica.g:4291: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": "8563cb42131a37a92f3a9b2e88f7123c", "score": "0.5823387", "text": "public final EObject entryRuleEII() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEII = null;\n\n\n try {\n // InternalAfpText.g:6177:44: (iv_ruleEII= ruleEII EOF )\n // InternalAfpText.g:6178:2: iv_ruleEII= ruleEII EOF\n {\n newCompositeNode(grammarAccess.getEIIRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEII=ruleEII();\n\n state._fsp--;\n\n current =iv_ruleEII; \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": "78efc26f59ff9e92642d878099890b1d", "score": "0.5814324", "text": "public final EObject entryRuleMGO() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMGO = null;\n\n\n try {\n // InternalAfpText.g:13006:44: (iv_ruleMGO= ruleMGO EOF )\n // InternalAfpText.g:13007:2: iv_ruleMGO= ruleMGO EOF\n {\n newCompositeNode(grammarAccess.getMGORule()); \n pushFollow(FOLLOW_1);\n iv_ruleMGO=ruleMGO();\n\n state._fsp--;\n\n current =iv_ruleMGO; \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": "b229e3c6317192076535d91ce3ae568b", "score": "0.579623", "text": "public final EObject entryRuleEntity() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEntity = null;\n\n\n try {\n // ../org.fuin.dsl.ddd.dsl/src-gen/org/fuin/dsl/ddd/parser/antlr/internal/InternalDomainDrivenDesignDsl.g:2257:2: (iv_ruleEntity= ruleEntity EOF )\n // ../org.fuin.dsl.ddd.dsl/src-gen/org/fuin/dsl/ddd/parser/antlr/internal/InternalDomainDrivenDesignDsl.g:2258:2: iv_ruleEntity= ruleEntity EOF\n {\n newCompositeNode(grammarAccess.getEntityRule()); \n pushFollow(FOLLOW_ruleEntity_in_entryRuleEntity4446);\n iv_ruleEntity=ruleEntity();\n\n state._fsp--;\n\n current =iv_ruleEntity; \n match(input,EOF,FOLLOW_EOF_in_entryRuleEntity4456); \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": "2488af2e8a8d17e8707c5b20befdb917", "score": "0.57951003", "text": "public final String entryRuleFLOAT() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleFLOAT = null;\n\n\n try {\n // InternalAicdsl.g:100:45: (iv_ruleFLOAT= ruleFLOAT EOF )\n // InternalAicdsl.g:101:2: iv_ruleFLOAT= ruleFLOAT EOF\n {\n newCompositeNode(grammarAccess.getFLOATRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFLOAT=ruleFLOAT();\n\n state._fsp--;\n\n current =iv_ruleFLOAT.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": "13b456274651667a42d793e6c3fc749b", "score": "0.57921875", "text": "public final EObject entryRuleAMB() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAMB = null;\n\n\n try {\n // InternalAfpText.g:23120:44: (iv_ruleAMB= ruleAMB EOF )\n // InternalAfpText.g:23121:2: iv_ruleAMB= ruleAMB EOF\n {\n newCompositeNode(grammarAccess.getAMBRule()); \n pushFollow(FOLLOW_1);\n iv_ruleAMB=ruleAMB();\n\n state._fsp--;\n\n current =iv_ruleAMB; \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": "caa089a52466cfeafe1e4eb58edbb4e4", "score": "0.57914954", "text": "public final EObject entryRuleMMORG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMMORG = null;\n\n\n try {\n // InternalAfpText.g:18342:46: (iv_ruleMMORG= ruleMMORG EOF )\n // InternalAfpText.g:18343:2: iv_ruleMMORG= ruleMMORG EOF\n {\n newCompositeNode(grammarAccess.getMMORGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMMORG=ruleMMORG();\n\n state._fsp--;\n\n current =iv_ruleMMORG; \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": "86025f17f9cf7826992e5150b848ee7c", "score": "0.5784035", "text": "public final EObject entryRuleGFARC() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGFARC = null;\n\n\n try {\n // InternalAfpText.g:33771:46: (iv_ruleGFARC= ruleGFARC EOF )\n // InternalAfpText.g:33772:2: iv_ruleGFARC= ruleGFARC EOF\n {\n newCompositeNode(grammarAccess.getGFARCRule()); \n pushFollow(FOLLOW_1);\n iv_ruleGFARC=ruleGFARC();\n\n state._fsp--;\n\n current =iv_ruleGFARC; \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": "57ecbd51dbc5d2fe1e0ee1d30c06970c", "score": "0.5780209", "text": "public final EObject entryRuleMCARG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMCARG = null;\n\n\n try {\n // InternalAfpText.g:17039:46: (iv_ruleMCARG= ruleMCARG EOF )\n // InternalAfpText.g:17040:2: iv_ruleMCARG= ruleMCARG EOF\n {\n newCompositeNode(grammarAccess.getMCARGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMCARG=ruleMCARG();\n\n state._fsp--;\n\n current =iv_ruleMCARG; \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": "300ad412b389d0591636e686c9d82a6c", "score": "0.5780126", "text": "public final EObject entryRuleFragment() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFragment = null;\n\n\n try {\n // InternalWail.g:334:49: (iv_ruleFragment= ruleFragment EOF )\n // InternalWail.g:335:2: iv_ruleFragment= ruleFragment EOF\n {\n newCompositeNode(grammarAccess.getFragmentRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFragment=ruleFragment();\n\n state._fsp--;\n\n current =iv_ruleFragment; \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": "7409db583deed268561c0a451bc7d515", "score": "0.57758105", "text": "public final EObject entryRuleField() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleField = null;\n\n\n try {\n // ../org.xtext.lua/src-gen/org/xtext/lua/parser/antlr/internal/InternalLua.g:3481:2: (iv_ruleField= ruleField EOF )\n // ../org.xtext.lua/src-gen/org/xtext/lua/parser/antlr/internal/InternalLua.g:3482:2: iv_ruleField= ruleField EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getFieldRule()); \n }\n pushFollow(FOLLOW_ruleField_in_entryRuleField7345);\n iv_ruleField=ruleField();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_ruleField; \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleField7355); 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": "ae3b7937aca37f8a5c15ff06dbc78a2f", "score": "0.5774062", "text": "public final EObject entryRuleFeature() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFeature = null;\n\n\n try {\n // InternalExplicitOperations.g:345:48: (iv_ruleFeature= ruleFeature EOF )\n // InternalExplicitOperations.g:346: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": "796ba79e6e05403db6af33cdb5d125bd", "score": "0.57713723", "text": "public final EObject entryRuleFunction() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFunction = null;\n\n\n try {\n // ../org.xtext.lua/src-gen/org/xtext/lua/parser/antlr/internal/InternalLua.g:3259:2: (iv_ruleFunction= ruleFunction EOF )\n // ../org.xtext.lua/src-gen/org/xtext/lua/parser/antlr/internal/InternalLua.g:3260:2: iv_ruleFunction= ruleFunction EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getFunctionRule()); \n }\n pushFollow(FOLLOW_ruleFunction_in_entryRuleFunction6895);\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_entryRuleFunction6905); 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": "c489f708694be6c016c28741678ab118", "score": "0.57641333", "text": "public final EObject entryRuleECA() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleECA = null;\n\n\n try {\n // InternalAfpText.g:5453:44: (iv_ruleECA= ruleECA EOF )\n // InternalAfpText.g:5454:2: iv_ruleECA= ruleECA EOF\n {\n newCompositeNode(grammarAccess.getECARule()); \n pushFollow(FOLLOW_1);\n iv_ruleECA=ruleECA();\n\n state._fsp--;\n\n current =iv_ruleECA; \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": "c68eb4f2f2b719bab8134d98b248e86a", "score": "0.5760197", "text": "public final EObject entryRuleEDT() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEDT = null;\n\n\n try {\n // InternalAfpText.g:5815:44: (iv_ruleEDT= ruleEDT EOF )\n // InternalAfpText.g:5816:2: iv_ruleEDT= ruleEDT EOF\n {\n newCompositeNode(grammarAccess.getEDTRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEDT=ruleEDT();\n\n state._fsp--;\n\n current =iv_ruleEDT; \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": "c125d0188d95c0ca361a8a003c1d0f3c", "score": "0.5753222", "text": "public final EObject entryRuleEBC() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEBC = null;\n\n\n try {\n // InternalAfpText.g:5380:44: (iv_ruleEBC= ruleEBC EOF )\n // InternalAfpText.g:5381:2: iv_ruleEBC= ruleEBC EOF\n {\n newCompositeNode(grammarAccess.getEBCRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEBC=ruleEBC();\n\n state._fsp--;\n\n current =iv_ruleEBC; \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": "bdd3e8fd246d46080eb94d228b291b84", "score": "0.5749683", "text": "public final EObject entryRuleEClassOpDef() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEClassOpDef = null;\n\n\n try {\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:798:2: (iv_ruleEClassOpDef= ruleEClassOpDef EOF )\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:799:2: iv_ruleEClassOpDef= ruleEClassOpDef EOF\n {\n newCompositeNode(grammarAccess.getEClassOpDefRule()); \n pushFollow(FOLLOW_ruleEClassOpDef_in_entryRuleEClassOpDef1650);\n iv_ruleEClassOpDef=ruleEClassOpDef();\n\n state._fsp--;\n\n current =iv_ruleEClassOpDef; \n match(input,EOF,FOLLOW_EOF_in_entryRuleEClassOpDef1660); \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": "81c8f0905e5cb6ca8cc83a5191ea5cde", "score": "0.574176", "text": "public final EObject entryRuleBFN() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBFN = null;\n\n\n try {\n // InternalAfpText.g:3013:44: (iv_ruleBFN= ruleBFN EOF )\n // InternalAfpText.g:3014:2: iv_ruleBFN= ruleBFN EOF\n {\n newCompositeNode(grammarAccess.getBFNRule()); \n pushFollow(FOLLOW_1);\n iv_ruleBFN=ruleBFN();\n\n state._fsp--;\n\n current =iv_ruleBFN; \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": "b972f132f62568e1f6d1ec15e44e8fbf", "score": "0.5736223", "text": "public final EObject entryRuleMPGRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMPGRG = null;\n\n\n try {\n // InternalAfpText.g:17550:46: (iv_ruleMPGRG= ruleMPGRG EOF )\n // InternalAfpText.g:17551:2: iv_ruleMPGRG= ruleMPGRG EOF\n {\n newCompositeNode(grammarAccess.getMPGRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMPGRG=ruleMPGRG();\n\n state._fsp--;\n\n current =iv_ruleMPGRG; \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": "a769d56d429c866ab431e6dd902e0e68", "score": "0.57258123", "text": "public final EObject entryRuleFNORG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFNORG = null;\n\n\n try {\n // InternalAfpText.g:18891:46: (iv_ruleFNORG= ruleFNORG EOF )\n // InternalAfpText.g:18892:2: iv_ruleFNORG= ruleFNORG EOF\n {\n newCompositeNode(grammarAccess.getFNORGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFNORG=ruleFNORG();\n\n state._fsp--;\n\n current =iv_ruleFNORG; \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": "ad9e490404cdd124ae6d57574efd067d", "score": "0.5724274", "text": "public final EObject entryRuleEIM() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEIM = null;\n\n\n try {\n // InternalAfpText.g:6231:44: (iv_ruleEIM= ruleEIM EOF )\n // InternalAfpText.g:6232:2: iv_ruleEIM= ruleEIM EOF\n {\n newCompositeNode(grammarAccess.getEIMRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEIM=ruleEIM();\n\n state._fsp--;\n\n current =iv_ruleEIM; \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": "75a59b3fb6459327084680e5ae0d7d00", "score": "0.57118666", "text": "public final EObject entryRuleMCF1() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMCF1 = null;\n\n\n try {\n // InternalAfpText.g:12428:45: (iv_ruleMCF1= ruleMCF1 EOF )\n // InternalAfpText.g:12429:2: iv_ruleMCF1= ruleMCF1 EOF\n {\n newCompositeNode(grammarAccess.getMCF1Rule()); \n pushFollow(FOLLOW_1);\n iv_ruleMCF1=ruleMCF1();\n\n state._fsp--;\n\n current =iv_ruleMCF1; \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": "74f12596c3d13265b58d544299af0808", "score": "0.5677946", "text": "public final EObject entryRuleEnd() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEnd = null;\n\n\n try {\n // InternalModelica.g:5301:44: (iv_ruleEnd= ruleEnd EOF )\n // InternalModelica.g:5302: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; \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": "f0e252adbe27586177fd7dd6fc8fbb09", "score": "0.56665677", "text": "public final EObject entryRuleAMI() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleAMI = null;\n\n\n try {\n // InternalAfpText.g:23174:44: (iv_ruleAMI= ruleAMI EOF )\n // InternalAfpText.g:23175:2: iv_ruleAMI= ruleAMI EOF\n {\n newCompositeNode(grammarAccess.getAMIRule()); \n pushFollow(FOLLOW_1);\n iv_ruleAMI=ruleAMI();\n\n state._fsp--;\n\n current =iv_ruleAMI; \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": "b2bc3095dcf10af69d44205f94a979d1", "score": "0.56661314", "text": "public final EObject entryRuleMMCRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMMCRG = null;\n\n\n try {\n // InternalAfpText.g:18781:46: (iv_ruleMMCRG= ruleMMCRG EOF )\n // InternalAfpText.g:18782:2: iv_ruleMMCRG= ruleMMCRG EOF\n {\n newCompositeNode(grammarAccess.getMMCRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMMCRG=ruleMMCRG();\n\n state._fsp--;\n\n current =iv_ruleMMCRG; \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": "5dd26612f3795916a8b20dfbc84e79d6", "score": "0.56651485", "text": "public final EObject entryRuleLLERG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleLLERG = null;\n\n\n try {\n // InternalAfpText.g:16654:46: (iv_ruleLLERG= ruleLLERG EOF )\n // InternalAfpText.g:16655:2: iv_ruleLLERG= ruleLLERG EOF\n {\n newCompositeNode(grammarAccess.getLLERGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleLLERG=ruleLLERG();\n\n state._fsp--;\n\n current =iv_ruleLLERG; \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": "188397d8aed552d42feb5a773511409e", "score": "0.56616515", "text": "public final EObject entryRuleGMRK() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGMRK = null;\n\n\n try {\n // InternalAfpText.g:34209:45: (iv_ruleGMRK= ruleGMRK EOF )\n // InternalAfpText.g:34210:2: iv_ruleGMRK= ruleGMRK EOF\n {\n newCompositeNode(grammarAccess.getGMRKRule()); \n pushFollow(FOLLOW_1);\n iv_ruleGMRK=ruleGMRK();\n\n state._fsp--;\n\n current =iv_ruleGMRK; \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": "41a47fba6859425292295db5b8c0b075", "score": "0.56574035", "text": "public final EObject entryRuleMDRRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMDRRG = null;\n\n\n try {\n // InternalAfpText.g:17185:46: (iv_ruleMDRRG= ruleMDRRG EOF )\n // InternalAfpText.g:17186:2: iv_ruleMDRRG= ruleMDRRG EOF\n {\n newCompositeNode(grammarAccess.getMDRRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMDRRG=ruleMDRRG();\n\n state._fsp--;\n\n current =iv_ruleMDRRG; \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": "678cf199bdfde3406efc7ef6c79774ef", "score": "0.56496054", "text": "public final EObject entryRuleCFIRG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleCFIRG = null;\n\n\n try {\n // InternalAfpText.g:15862:46: (iv_ruleCFIRG= ruleCFIRG EOF )\n // InternalAfpText.g:15863:2: iv_ruleCFIRG= ruleCFIRG EOF\n {\n newCompositeNode(grammarAccess.getCFIRGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleCFIRG=ruleCFIRG();\n\n state._fsp--;\n\n current =iv_ruleCFIRG; \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": "179c9779d8b3712dbd2a6b8ef2a059dd", "score": "0.5643785", "text": "public final EObject entryRuleGAD() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGAD = null;\n\n\n try {\n // InternalAfpText.g:8955:44: (iv_ruleGAD= ruleGAD EOF )\n // InternalAfpText.g:8956:2: iv_ruleGAD= ruleGAD EOF\n {\n newCompositeNode(grammarAccess.getGADRule()); \n pushFollow(FOLLOW_1);\n iv_ruleGAD=ruleGAD();\n\n state._fsp--;\n\n current =iv_ruleGAD; \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": "74ed835f0eac685c52e4adbe3691307f", "score": "0.56198484", "text": "public final void entryRuleExpression() throws RecognitionException {\n try {\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:257:1: ( ruleExpression EOF )\n // ../mars.rover.ui/src-gen/mars/rover/ui/contentassist/antlr/internal/InternalRoverDSL.g:258:1: ruleExpression EOF\n {\n before(grammarAccess.getExpressionRule()); \n pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression481);\n ruleExpression();\n\n state._fsp--;\n\n after(grammarAccess.getExpressionRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleExpression488); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "4f68c6eb0b678a0bb185c4530791fbe4", "score": "0.5619331", "text": "public final EObject entryRuleFeatureModel() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFeatureModel = null;\n\n\n try {\n // InternalExplicitOperations.g:285:53: (iv_ruleFeatureModel= ruleFeatureModel EOF )\n // InternalExplicitOperations.g:286:2: iv_ruleFeatureModel= ruleFeatureModel EOF\n {\n newCompositeNode(grammarAccess.getFeatureModelRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFeatureModel=ruleFeatureModel();\n\n state._fsp--;\n\n current =iv_ruleFeatureModel; \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": "0dd0e84925cee48b86787b71992e6311", "score": "0.5615161", "text": "public final EObject entryRuleMDR() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMDR = null;\n\n\n try {\n // InternalAfpText.g:12795:44: (iv_ruleMDR= ruleMDR EOF )\n // InternalAfpText.g:12796:2: iv_ruleMDR= ruleMDR EOF\n {\n newCompositeNode(grammarAccess.getMDRRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMDR=ruleMDR();\n\n state._fsp--;\n\n current =iv_ruleMDR; \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": "51f86f3c3dff456fc714d24d1bd9252e", "score": "0.55963916", "text": "public final EObject entryRuleMGORG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMGORG = null;\n\n\n try {\n // InternalAfpText.g:17258:46: (iv_ruleMGORG= ruleMGORG EOF )\n // InternalAfpText.g:17259:2: iv_ruleMGORG= ruleMGORG EOF\n {\n newCompositeNode(grammarAccess.getMGORGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMGORG=ruleMGORG();\n\n state._fsp--;\n\n current =iv_ruleMGORG; \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": "d4c130c52c242da178f89bb893b5af73", "score": "0.5586832", "text": "public final EObject entryRulefunction_definition() throws RecognitionException {\n EObject current = null;\n\n EObject iv_rulefunction_definition = null;\n\n\n try {\n // InternalMyDsl.g:262:60: (iv_rulefunction_definition= rulefunction_definition EOF )\n // InternalMyDsl.g:263:2: iv_rulefunction_definition= rulefunction_definition EOF\n {\n if ( state.backtracking==0 ) {\n newCompositeNode(grammarAccess.getFunction_definitionRule()); \n }\n pushFollow(FOLLOW_1);\n iv_rulefunction_definition=rulefunction_definition();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n current =iv_rulefunction_definition; \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": "78e1debb01807ad43d26774a1f2ee9e6", "score": "0.5585851", "text": "public final EObject entryRuleGIMD() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGIMD = null;\n\n\n try {\n // InternalAfpText.g:34057:45: (iv_ruleGIMD= ruleGIMD EOF )\n // InternalAfpText.g:34058:2: iv_ruleGIMD= ruleGIMD EOF\n {\n newCompositeNode(grammarAccess.getGIMDRule()); \n pushFollow(FOLLOW_1);\n iv_ruleGIMD=ruleGIMD();\n\n state._fsp--;\n\n current =iv_ruleGIMD; \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": "f95562d6ab1033113911fc150f482240", "score": "0.5568881", "text": "public final EObject entryRuleMDD() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMDD = null;\n\n\n try {\n // InternalAfpText.g:12501:44: (iv_ruleMDD= ruleMDD EOF )\n // InternalAfpText.g:12502:2: iv_ruleMDD= ruleMDD EOF\n {\n newCompositeNode(grammarAccess.getMDDRule()); \n pushFollow(FOLLOW_1);\n iv_ruleMDD=ruleMDD();\n\n state._fsp--;\n\n current =iv_ruleMDD; \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": "3bfd0a1804607dcf17f63bc1f945d80d", "score": "0.5568871", "text": "public final EObject entryRuleMCA() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMCA = null;\n\n\n try {\n // InternalAfpText.g:12232:44: (iv_ruleMCA= ruleMCA EOF )\n // InternalAfpText.g:12233:2: iv_ruleMCA= ruleMCA EOF\n {\n newCompositeNode(grammarAccess.getMCARule()); \n pushFollow(FOLLOW_1);\n iv_ruleMCA=ruleMCA();\n\n state._fsp--;\n\n current =iv_ruleMCA; \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": "ee2af3c4ea6034278c5b4855c3533624", "score": "0.55473644", "text": "public final String entryRuleFQN() throws RecognitionException {\n String current = null;\n\n AntlrDatatypeRuleToken iv_ruleFQN = null;\n\n\n try {\n // ../org.fuin.dsl.ddd.dsl/src-gen/org/fuin/dsl/ddd/parser/antlr/internal/InternalDomainDrivenDesignDsl.g:4164:2: (iv_ruleFQN= ruleFQN EOF )\n // ../org.fuin.dsl.ddd.dsl/src-gen/org/fuin/dsl/ddd/parser/antlr/internal/InternalDomainDrivenDesignDsl.g:4165:2: iv_ruleFQN= ruleFQN EOF\n {\n newCompositeNode(grammarAccess.getFQNRule()); \n pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN8025);\n iv_ruleFQN=ruleFQN();\n\n state._fsp--;\n\n current =iv_ruleFQN.getText(); \n match(input,EOF,FOLLOW_EOF_in_entryRuleFQN8036); \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": "ad59979f7d4c9890137c09ada3220fef", "score": "0.5543572", "text": "public final EObject entryRuleMMO() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleMMO = null;\n\n\n try {\n // InternalAfpText.g:13282:44: (iv_ruleMMO= ruleMMO EOF )\n // InternalAfpText.g:13283:2: iv_ruleMMO= ruleMMO EOF\n {\n newCompositeNode(grammarAccess.getMMORule()); \n pushFollow(FOLLOW_1);\n iv_ruleMMO=ruleMMO();\n\n state._fsp--;\n\n current =iv_ruleMMO; \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": "77ab2667c3ffbbd01bf0245501fa27c7", "score": "0.54979634", "text": "public final EObject entryRuleBDG() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBDG = null;\n\n\n try {\n // InternalAfpText.g:2428:44: (iv_ruleBDG= ruleBDG EOF )\n // InternalAfpText.g:2429:2: iv_ruleBDG= ruleBDG EOF\n {\n newCompositeNode(grammarAccess.getBDGRule()); \n pushFollow(FOLLOW_1);\n iv_ruleBDG=ruleBDG();\n\n state._fsp--;\n\n current =iv_ruleBDG; \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": "e170202aef873511b52bcfb06bd50ead", "score": "0.5483332", "text": "public final EObject entryRuleGEAR() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGEAR = null;\n\n\n try {\n // InternalAfpText.g:33511:45: (iv_ruleGEAR= ruleGEAR EOF )\n // InternalAfpText.g:33512:2: iv_ruleGEAR= ruleGEAR EOF\n {\n newCompositeNode(grammarAccess.getGEARRule()); \n pushFollow(FOLLOW_1);\n iv_ruleGEAR=ruleGEAR();\n\n state._fsp--;\n\n current =iv_ruleGEAR; \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": "deed5b34373e77cdb4364bd2f7dfdb46", "score": "0.5477135", "text": "public final EObject entryRuleOpDef() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleOpDef = null;\n\n\n try {\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:561:2: (iv_ruleOpDef= ruleOpDef EOF )\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:562:2: iv_ruleOpDef= ruleOpDef EOF\n {\n newCompositeNode(grammarAccess.getOpDefRule()); \n pushFollow(FOLLOW_ruleOpDef_in_entryRuleOpDef1094);\n iv_ruleOpDef=ruleOpDef();\n\n state._fsp--;\n\n current =iv_ruleOpDef; \n match(input,EOF,FOLLOW_EOF_in_entryRuleOpDef1104); \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": "39b64b8cf7b193a40e9575c68e89e2ec", "score": "0.5456891", "text": "public final EObject entryRuleFactor() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFactor = null;\n\n\n try {\n // InternalModelica.g:5130:47: (iv_ruleFactor= ruleFactor EOF )\n // InternalModelica.g:5131:2: iv_ruleFactor= ruleFactor EOF\n {\n newCompositeNode(grammarAccess.getFactorRule()); \n pushFollow(FOLLOW_1);\n iv_ruleFactor=ruleFactor();\n\n state._fsp--;\n\n current =iv_ruleFactor; \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": "7986fc6d369050c37a0ed05d872a7ba9", "score": "0.5455941", "text": "public final EObject entryRuleEDI() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEDI = null;\n\n\n try {\n // InternalAfpText.g:5688:44: (iv_ruleEDI= ruleEDI EOF )\n // InternalAfpText.g:5689:2: iv_ruleEDI= ruleEDI EOF\n {\n newCompositeNode(grammarAccess.getEDIRule()); \n pushFollow(FOLLOW_1);\n iv_ruleEDI=ruleEDI();\n\n state._fsp--;\n\n current =iv_ruleEDI; \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": "592853ecbf0d9c00d4345c413a8cba1e", "score": "0.5433594", "text": "public final EObject entryRuleBCF() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleBCF = null;\n\n\n try {\n // InternalAfpText.g:1567:44: (iv_ruleBCF= ruleBCF EOF )\n // InternalAfpText.g:1568:2: iv_ruleBCF= ruleBCF EOF\n {\n newCompositeNode(grammarAccess.getBCFRule()); \n pushFollow(FOLLOW_1);\n iv_ruleBCF=ruleBCF();\n\n state._fsp--;\n\n current =iv_ruleBCF; \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": "8bdab541e3559bed184dea7ff5e19d0f", "score": "0.5429799", "text": "public final EObject entryRuleDeclaration() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleDeclaration = null;\n\n\n try {\n // InternalModelica.g:1917:52: (iv_ruleDeclaration= ruleDeclaration EOF )\n // InternalModelica.g:1918: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": "29555df9e58619b4b0951019813f058d", "score": "0.54249275", "text": "public final EObject entryRuleEPackageOpDef() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleEPackageOpDef = null;\n\n\n try {\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:621:2: (iv_ruleEPackageOpDef= ruleEPackageOpDef EOF )\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univaq/coevolution/emfmigrate/parser/antlr/internal/InternalEmig.g:622:2: iv_ruleEPackageOpDef= ruleEPackageOpDef EOF\n {\n newCompositeNode(grammarAccess.getEPackageOpDefRule()); \n pushFollow(FOLLOW_ruleEPackageOpDef_in_entryRuleEPackageOpDef1267);\n iv_ruleEPackageOpDef=ruleEPackageOpDef();\n\n state._fsp--;\n\n current =iv_ruleEPackageOpDef; \n match(input,EOF,FOLLOW_EOF_in_entryRuleEPackageOpDef1277); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" } ]
3e626b42954129dfca8b0e449a0924f8
TODO Missing Method Documentation
[ { "docid": "3dbe3563e1daf16a6ac2c9e0009f217d", "score": "0.0", "text": "public final void initStatistik() {\r\n // m_jtArenaStatistikTable.refresh(((CBItem) m_jcbSpieleFilter.getSelectedItem()).getId());\r\n }", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.60475403", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.59900075", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "132ebee1d663aa8e1c0ab776375c437a", "score": "0.59267086", "text": "Support support();", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.58776945", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.58776945", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "4e49f5db36ca664153e54380025b85d4", "score": "0.56828064", "text": "protected boolean method_21825() {\n }", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.5680025", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "ffd8193c9cf73515d0f9301b9a7d8817", "score": "0.5582436", "text": "@Override\n\tpublic void morrer() {\n\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.555975", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.55581796", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "41e50fb9a0b417818374927eb02c67f1", "score": "0.54735625", "text": "protected void mo5608a() {\n }", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.5465948", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.54577273", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.54440314", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.54440314", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.54440314", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.54440314", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.54440314", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.5410967", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.5410967", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.5410967", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "0cc40600dd2e7cb9f56bd77995e01fc3", "score": "0.54003507", "text": "@Override\n\tpublic void Miow() {\n\t\t\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5389044", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53847414", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "7852cf2ee90a026d232aad7d3fd5697d", "score": "0.53618383", "text": "@Override\n public int describeContents() { //this method is not very used\n return 0;\n }", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.5361689", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "c86f446a8bd6af19f88cc011fdf2ffd4", "score": "0.53612137", "text": "public void asustar() {\n // TODO implement here\n \n }", "title": "" }, { "docid": "0adb5f1f1c75684eab047201533dcfe7", "score": "0.53581387", "text": "protected void mo5609b() {\n }", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.5356257", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "689ef8ddcd6ccd288c197d21cadd4bee", "score": "0.534724", "text": "@Override\n public final void entertain() {\n }", "title": "" }, { "docid": "17a7b1d5d6c711604b922012cc9d27b2", "score": "0.5329729", "text": "@Override\n protected void find() {}", "title": "" }, { "docid": "f2fe8a59406298fe7e97b543f2bf8186", "score": "0.5316701", "text": "@Override\r\n \tpublic void init() {\r\n \t}", "title": "" }, { "docid": "7200ee5f8fd6cd0b2893b4781a90a5f0", "score": "0.5316033", "text": "@Override\n protected void update() {}", "title": "" }, { "docid": "ee560894ec78b1bf45ae9e3ecbdfc890", "score": "0.5302837", "text": "private static void get() {\n\n\n\t\t\n\t}", "title": "" }, { "docid": "3b846cb3d5fdd89c2afbf8190e9d2db5", "score": "0.5301341", "text": "@Override\n\t\t\tpublic void test() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "89d1aee2be921c48c6840a39571126dd", "score": "0.5293071", "text": "@Override\n public int describeContents() {\n return 0;\n }", "title": "" }, { "docid": "235772828b460a414a66709e6096b938", "score": "0.5284705", "text": "@Override\r\n protected void initialize() {\r\n }", "title": "" }, { "docid": "6f653341cfc7d30c8418e4b72116f7e2", "score": "0.5265692", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.5260618", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.5260618", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.5260618", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5250907", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5250907", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "a5600ed00582d8ca8d293829dcfd6c38", "score": "0.5244109", "text": "private void Syso() {\n\r\n\t}", "title": "" }, { "docid": "ad3d0009bb456e23f28f21f5a760b5e5", "score": "0.5240607", "text": "protected DocumentIn() {/* intentionally empty block */}", "title": "" }, { "docid": "963cb7748259d6cd136153dd9086abb9", "score": "0.52224797", "text": "@Override\r\n\t\t\tpublic void Main() {\n\r\n\t\t\t}", "title": "" }, { "docid": "baf704b4459b510281c84d8f85dbda96", "score": "0.52206606", "text": "@Override\n public int describeContents(){\n return 0;\n }", "title": "" }, { "docid": "c47723cc77bfdfbeac347959926f9a12", "score": "0.52159196", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "0d3bf6f2ee77f787007ba6b4021b5721", "score": "0.5208207", "text": "protected void olha()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "6db196fe12df2040e890be66656ff251", "score": "0.520754", "text": "@Override\n\tprotected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "ab92bad46db05153eb5c2eb626d0c4f9", "score": "0.52045083", "text": "@Override\n public void init() {\n\n \n }", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.5196865", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.5196865", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.5196865", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.51934826", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "32d0d506f2de2532fe4789f006c84da0", "score": "0.518011", "text": "@Override\n\tpublic void bicar() {\n\t\t\n\t}", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.5176562", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.517597", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e3a701d0fdb1fef5e0afd9dc7c345fcb", "score": "0.5167801", "text": "@Override\n\tprotected void generateData() {\n\t\n\t}", "title": "" }, { "docid": "80b5722cdc9efe11a305e92ea813ac0f", "score": "0.5164663", "text": "@Override\r\n\tpublic void inter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f096fb135d2f2e86e9acc8604f38d461", "score": "0.51594406", "text": "private void ePIETT() {\n\n }", "title": "" }, { "docid": "328fe0537d087535012db1ee9593f9a2", "score": "0.51581174", "text": "@Override\n public int describeContents() {\n return 0;\n }", "title": "" }, { "docid": "46569800c9d73cd59bcbec066cdb5304", "score": "0.51395327", "text": "private void lidoInf() {\n\n\n }", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5127139", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "a5f77c55c65f553576295729fb39cb86", "score": "0.5120514", "text": "@Override\r\n\tpublic void extract() {\n\t\t\r\n\t}", "title": "" }, { "docid": "19048a87cb83d6c9503b806ebfa32926", "score": "0.5119074", "text": "@Override\n\tpublic void process() {\n\t\t\n\t}", "title": "" }, { "docid": "19048a87cb83d6c9503b806ebfa32926", "score": "0.5119074", "text": "@Override\n\tpublic void process() {\n\t\t\n\t}", "title": "" }, { "docid": "b338582f787f2cd392371687c80c4174", "score": "0.5115751", "text": "@Override\n\t\t\t\t\tpublic int describeContents() {\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t}", "title": "" }, { "docid": "ad42eff1fbb4f5ac31bd4d78ab112b74", "score": "0.5111172", "text": "@Override\n \tpublic void execute(ResourceContext context) throws Exception {\n\n \t}", "title": "" }, { "docid": "e071ca9eec75058b3213adadf2f930b9", "score": "0.51090753", "text": "public final void mo8109b() {\n }", "title": "" }, { "docid": "66e49f0e23eb651dcbf955d116b3a213", "score": "0.51089", "text": "@Override\n\t\t\tpublic int describeContents() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.5107447", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.5107447", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "149a56877def30726b5c3ab2418bb15c", "score": "0.5106471", "text": "@Override\n\tpublic void empoweredRead() {\n\t}", "title": "" }, { "docid": "a2bf7c4524750ceea691da9964e78422", "score": "0.510509", "text": "@Override\n public void getUsage() {\n }", "title": "" }, { "docid": "927820350d219dbfa25b04c283aaeaa8", "score": "0.51026696", "text": "@Override\n public void info() {\n \n }", "title": "" }, { "docid": "927820350d219dbfa25b04c283aaeaa8", "score": "0.51026696", "text": "@Override\n public void info() {\n \n }", "title": "" }, { "docid": "b2a793cd2e6ec37a2fdb27c90d87a493", "score": "0.51000655", "text": "@Override\r\n\tprotected void initialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b2a793cd2e6ec37a2fdb27c90d87a493", "score": "0.51000655", "text": "@Override\r\n\tprotected void initialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b2a793cd2e6ec37a2fdb27c90d87a493", "score": "0.51000655", "text": "@Override\r\n\tprotected void initialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e022c47f335a39c6bdb94a0f49a4e940", "score": "0.50992876", "text": "@Override\r\n\tpublic void parar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.50928336", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.50928336", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "b21c24aae9b2f042e7f9405c55972194", "score": "0.5089512", "text": "E recuperar();", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.5088923", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "3eec599d94695b0168f3c6257720b5a8", "score": "0.50842386", "text": "@Override\n public int describeContents()\n {\n return 0;\n }", "title": "" }, { "docid": "3eec599d94695b0168f3c6257720b5a8", "score": "0.50842386", "text": "@Override\n public int describeContents()\n {\n return 0;\n }", "title": "" }, { "docid": "7b613041ea42148783d5ee956ab6c612", "score": "0.5083979", "text": "@Override\n\tprotected void use()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.50826603", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.50826603", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "0ecc2b05fa1b3fe069983a07eba7914d", "score": "0.5082035", "text": "private void inicialitzarTaulell() {\r\n\t\t//PENDENT IMPLEMENTAR\r\n\t}", "title": "" } ]
ad726cff4e93bb40b63057473fce59e8
Normalize the input RGB histogram.
[ { "docid": "a74242f9ed453953c33309df56ec95cc", "score": "0.698227", "text": "public int[][] computeNormalizedHistogram(){\n\t\t\n\t\tint[][] cdf = new int[rgbHistogram.length][3];\n\t\t\n\t\tfor( int j=0; j < 3; j++ ){\n\t\t\t\n\t\t\tint min, numPixels;\t\t\t\n\t\t\t\n\t\t\tcdf[0][j] = rgbHistogram[0][j];\n\t\t\tmin = cdf[0][j];\n\t\t\tnumPixels = rgbHistogram[0][j];\n\t\t\t\n\t\t\tfor( int i=1; i < rgbHistogram.length; i++ ){\n\t\t\t\t\n\t\t\t\tcdf[i][j] = rgbHistogram[i][j]+cdf[i-1][j];\n\t\t\t\tnumPixels += rgbHistogram[i][j];\n\t\t\t\t\n\t\t\t\tif( min > cdf[i][j] ){\n\t\t\t\t\tmin = cdf[i][j];\n\t\t\t\t}\t\t\t\n\t\t\t}\n\t\t\t\t\t\n\t\t\t//normalize the histogram\n\t\t\tfor( int i=0; i < cdf.length; i++ ){\n\t\t\t\n\t\t\t\tcdf[i][j] = Math.round( (float)( (float)((cdf[i][j]-min)/(float)(numPixels-min))*255 ) );\n\t\t\t}\t\t\n\t\t}\t\t\n\t\treturn cdf;\n\t}", "title": "" } ]
[ { "docid": "82d68e5d1c1b53d931f18bd629794bb7", "score": "0.71725357", "text": "private double normalize(int colorComponent) {\n return colorComponent / 255.0;\n }", "title": "" }, { "docid": "bc2eb8965e95a08bb0b242d5ba341f9f", "score": "0.6633644", "text": "public static void normalize_RGB_array(double[] RGB_array) {\n\t\tassert RGB_array.length == 3;\n\n\t\tdouble R = RGB_array[0];\n\t\tdouble G = RGB_array[1];\n\t\tdouble B = RGB_array[2];\n\n\t\tdouble normalizor = sqrt(pow(R, 2) + pow(G, 2) + pow(B, 2));\n\n\t\tif (normalizor == 0) {\n\t\t\tRGB_array[0] = 0;\n\t\t\tRGB_array[1] = 0;\n\t\t\tRGB_array[2] = 0;\n\t\t\treturn;\n\t\t}\n\n\t\tfor (int i = 0; i < RGB_array.length; i++) {\n\t\t\tRGB_array[i] /= normalizor;\n\t\t}\n\t}", "title": "" }, { "docid": "4b384024fc7a9e2539f19d3a7529ff42", "score": "0.65465677", "text": "public static void NormalizeHist(long hist[], float histnorm[], int nColor, int fator) {\n\t\t\t\n\t\t\tint i;\n\t\t\tlong sum = 0;\n\t\t\tlong max = hist[0];\n\t\t\tfloat e = 0.01f;\n\t\t\t\n\t\t\t\n\t\t\tfor (i = 0; i < nColor ; i++) {\n\t\t\t\t\n\t\t\t\tsum += hist[i];\n\t\t\t\tmax = (hist[i] > max) ? hist[i] : max;\n\t\t\t}\n\t\t\t\n\t\t\tif (fator == 1) {\n\t\t\t\tfor (i = 0; i < nColor ; i++) {\n\t\t\t\t\t\n\t\t\t\t\thistnorm[i] = hist[i]/((float)sum+e);\n\t\t\t\t}\n\t\t\t} \n\t\t\telse if (fator > 1) {\n\t\t\t\tfor (i = 0; i < nColor ; i++) {\n\t\t\t\t\t\n\t\t\t\t\thistnorm[i] = (hist[i]/(float)max)*(float)fator;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "026594f416284ad00c5d700d05523e78", "score": "0.62453645", "text": "@Override\n public RobotImage normalize()\n {\n final RobotColor minColor = getMinimumColor();\n float[] scaleFactor = new float[] { 1.0f, 1.0f, 1.0f };\n float[] offset = new float[] { -minColor.getRed(), -minColor.getGreen(), -minColor.getBlue() };\n final RenderingHints hints = null;\n final RobotImage image = rescale(scaleFactor, offset, hints);\n\n // Scale so that the new maximum color is white.\n final RobotColor maxColor = image.getMaximumColor();\n final double accuracy = 100.0;\n final float redScale = asFloat(256.0 / maxColor.getRed(), accuracy);\n final float greenScale = asFloat(256.0 / maxColor.getGreen(), accuracy);\n final float blueScale = asFloat(256.0 / maxColor.getBlue(), accuracy);\n scaleFactor = new float[] { redScale, greenScale, blueScale };\n offset = new float[] { 0.0f, 0.0f, 0.0f, };\n\n return image.rescale(scaleFactor, offset, hints);\n }", "title": "" }, { "docid": "83ba71a0f962a12255fcbb059fe7b9c4", "score": "0.59152937", "text": "public static ArrayList<double[]> NormalizeInputData(ArrayList<double[]> trainingInput) {\n\t\tfor(int i = 0; i < trainingInput.size(); i++) {\n\t\t\tfor(int j = 0; j < trainingInput.get(i).length; j++) {\n\t\t\t\ttrainingInput.get(i)[j] = (double)trainingInput.get(i)[j]/255;\n\t\t\t}\n\t\t}\n\t\treturn trainingInput;\n\t}", "title": "" }, { "docid": "dccb96a08b58e97a3188ca9f970c5171", "score": "0.5874992", "text": "private void histogram() {\n\t\tnumOfPixels = 0;\n\t\tfor (int i = 0; i < Gray_InputImage.getWidth(); i++) {\n\t\t\tfor (int j = 0; j < Gray_InputImage.getHeight(); j++) {\n\t\t\t\tint pix = Gray_InputImage.getRGB(i, j);\n\t\t\t\tColor c = new Color(pix);\n\t\t\t\thistogram[c.getRed()]++;\n\t\t\t\tnumOfPixels++;\n\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "1bbfc95c7c174f8a994a23ec0f7bb182", "score": "0.57898307", "text": "@Override\r\n public void normalize() {\r\n scale(1.0 / norm());\r\n }", "title": "" }, { "docid": "4993d5d3133fc98edfe6c56057baac8c", "score": "0.57415754", "text": "public static void normalize(float[][] A) {\n int width = A.length;\n int height = A[0].length;\n float norm = avg(A) * (float) (width * height);\n for (int i = 0; i < width; i++) {\n for (int j = 0; j < height; j++) {\n A[i][j] /= norm;\n }\n }\n }", "title": "" }, { "docid": "282a419bd6929842c126c899ecf67f6a", "score": "0.5674099", "text": "private static int[][] calcNormalizedValues(double[][] mat, int normFactor) {\r\n\t\tint[][] normMat = new int[mat.length][mat[0].length];\r\n\r\n\t\tfor (int j = 0; j < mat[0].length; j++) {\r\n\t\t\tfor (int i = 0; i < mat.length; i++) {\r\n\t\t\t\tnormMat[i][j] = (int) Math.abs(255 * mat[i][j]) / normFactor;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn normMat;\r\n\t}", "title": "" }, { "docid": "c6f27a071094150e08c7c78177d556eb", "score": "0.55783796", "text": "public static void initNorm() {\n\t\tRINGS_RGB_NORM = new Hashtable<String, double[]>();\n\t\tcolors = new ArrayList<>();\n\t\tRINGS_RGB_NORM.put(\"YELLOW\", YELLOW_RING_RGB_NORM);\n\t\tRINGS_RGB_NORM.put(\"BLUE\", BLUE_RING_RGB_NORM);\n\t\tRINGS_RGB_NORM.put(\"ORANGE\", ORANGE_RING_RGB_NORM);\n\t\tRINGS_RGB_NORM.put(\"GREEN\", GREEN_RING_RGB_NORM);\n\t}", "title": "" }, { "docid": "16a0becc5253cd8c31bc1c9657ef4de0", "score": "0.5510701", "text": "private void normalize() {\n\t\tprocessed_audio_samples.normalize();\n\t\tupdateRecordingInformation();\n\t}", "title": "" }, { "docid": "57e62039ed3ff2eba01bdcec6f67a5fe", "score": "0.5490596", "text": "public void smoothHistogram() {\n\t\tint smooth[] = new int[histogram.length];\n\t\tsmooth[0] = histogram[0];\n\t\tsmooth[histogram.length-1] = histogram[histogram.length-1];\n\t\tfor (int i = 1; i < histogram.length-1; i++) {\n\t\t\tsmooth[i] = (histogram[i-1]+histogram[i+1])/2;\n\t\t}\n\t\thistogram = smooth;\n\t}", "title": "" }, { "docid": "9955b1b2573a6b2bae87e0bb0d535526", "score": "0.5415248", "text": "private void calcHist() {\n String filename=\"\",foldername=\"\";\n for(int i=0;i<imagesLabels.size();i++){\n if(i==0){\n foldername=imagesLabels.get(i);\n }\n }\n File croppath = new File(Environment.getExternalStorageDirectory(), foldername+number);\n String path = croppath.getAbsolutePath();\n Log.e(TAG,\"PATH: \" +path);\n for(int i=0;i<imagesLabels.size();i++){\n if(i==0){\n filename=path+\"/\"+imagesLabels.get(i).toString()+\"0.jpg\";\n }\n }\n\n Mat src = Imgcodecs.imread(filename);\n if (src.empty()) {\n Log.e(TAG, \"calcHist: Cannot read image: \"+ filename);\n return ;\n }\n\n List<Mat> bgrPlanes = new ArrayList<>();\n Core.split(src, bgrPlanes);\n\n int histSize = 256;\n\n float[] range = {0, 256}; //the upper boundary is exclusive\n MatOfFloat histRange = new MatOfFloat(range);\n\n boolean accumulate = false;\n\n Mat bHist = new Mat(), gHist = new Mat(), rHist = new Mat();\n Imgproc.calcHist(bgrPlanes, new MatOfInt(0), new Mat(), bHist, new MatOfInt(histSize), histRange, accumulate);\n Imgproc.calcHist(bgrPlanes, new MatOfInt(1), new Mat(), gHist, new MatOfInt(histSize), histRange, accumulate);\n Imgproc.calcHist(bgrPlanes, new MatOfInt(2), new Mat(), rHist, new MatOfInt(histSize), histRange, accumulate);\n\n int histW = 512, histH = 400;\n int binW = (int) Math.round((double) histW / histSize);\n Mat histImage = new Mat( histH, histW, CvType.CV_8UC3, new Scalar( 0,0,0) );\n\n Core.normalize(bHist, bHist, 0, histImage.rows(), Core.NORM_MINMAX);\n Core.normalize(gHist, gHist, 0, histImage.rows(), Core.NORM_MINMAX);\n Core.normalize(rHist, rHist, 0, histImage.rows(), Core.NORM_MINMAX);\n float[] bHistData = new float[(int) (bHist.total() * bHist.channels())];\n bHist.get(0, 0, bHistData);\n float[] gHistData = new float[(int) (gHist.total() * gHist.channels())];\n gHist.get(0, 0, gHistData);\n float[] rHistData = new float[(int) (rHist.total() * rHist.channels())];\n rHist.get(0, 0, rHistData);\n for( int i = 1; i < histSize; i++ ) {\n Imgproc.line(histImage, new Point(binW * (i - 1), histH - Math.round(bHistData[i - 1])),\n new Point(binW * (i), histH - Math.round(bHistData[i])), new Scalar(255, 0, 0), 2);\n Imgproc.line(histImage, new Point(binW * (i - 1), histH - Math.round(gHistData[i - 1])),\n new Point(binW * (i), histH - Math.round(gHistData[i])), new Scalar(0, 255, 0), 2);\n Imgproc.line(histImage, new Point(binW * (i - 1), histH - Math.round(rHistData[i - 1])),\n new Point(binW * (i), histH - Math.round(rHistData[i])), new Scalar(0, 0, 255), 2);\n }\n\n local.putImage(\"source.jpg\",foldername, src,number);\n local.putImage(\"Demo.jpg\",foldername, histImage,number);\n\n// toFirebaseStore(path,\"source.jpg\",foldername);\n// toFirebaseStore(path,\"Demo.jpg\",foldername);\n }", "title": "" }, { "docid": "3f54f1bff445dfa36fe2f9b4f2ef13c1", "score": "0.54042864", "text": "private void calcHist(ByteBuffer depthBuffer) {\n if (mHistogram == null) {\n mHistogram = new float[10000];\n }\n \n // reset\n for (int i = 0; i < mHistogram.length; ++i)\n mHistogram[i] = 0;\n\n int points = 0;\n while (depthBuffer.remaining() > 0) {\n int depth = depthBuffer.getShort() & 0xFFFF;\n if (depth != 0) {\n mHistogram[depth]++;\n points++;\n }\n }\n\n for (int i = 1; i < mHistogram.length; i++) {\n mHistogram[i] += mHistogram[i - 1];\n }\n\n if (points > 0) {\n for (int i = 1; i < mHistogram.length; i++) {\n mHistogram[i] = (int) (256 * (1.0f - (mHistogram[i] / (float) points)));\n }\n }\n }", "title": "" }, { "docid": "a6a443deb12b4bdff0387b83582d67ab", "score": "0.5366999", "text": "public void normalize()\n\t{\n\t\tfloat norm = this.norm();\n\t\tif(norm==0.0f)\n\t\t{\n\t\t\tthis.bx = 1.0f;\n\t\t\tthis.by = 0.0f;\n\t\t}\n\t\telse if(1.0f!=norm)\n\t\t{\n\t\t\tthis.bx = this.bx / norm;\n\t\t\tthis.by = this.by / norm;\n\t\t\tthis.a = this.a / norm;\n\t\t}\n\t}", "title": "" }, { "docid": "7b53a0201735e0d50f350808ceb21839", "score": "0.5298818", "text": "public void normalize() {\n\t\tVertex max = new Vertex(Double.MIN_VALUE, Double.MIN_VALUE,\n\t\t\t\tDouble.MIN_VALUE);\n\t\tVertex min = new Vertex(Double.MAX_VALUE, Double.MAX_VALUE,\n\t\t\t\tDouble.MAX_VALUE);\n\t\tHashMap<Vertex, Vertex> usedVerts = new HashMap<Vertex, Vertex>();\n\t\tfor (Triangle t : myTriangles) {\n\t\t\tusedVerts.put(t.v1, t.v1);\n\t\t\tusedVerts.put(t.v2, t.v2);\n\t\t\tusedVerts.put(t.v3, t.v3);\n\t\t}\n\t\tSet<Vertex> theVerts = usedVerts.keySet();\n\t\tfor (Vertex v : theVerts) {\n\t\t\tif (v.x > max.x)\n\t\t\t\tmax.x = v.x;\n\t\t\tif (v.x < min.x)\n\t\t\t\tmin.x = v.x;\n\t\t\tif (v.y > max.y)\n\t\t\t\tmax.y = v.y;\n\t\t\tif (v.y < min.y)\n\t\t\t\tmin.y = v.y;\n\t\t\tif (v.z > max.z)\n\t\t\t\tmax.z = v.z;\n\t\t\tif (v.z < min.z)\n\t\t\t\tmin.z = v.z;\n\t\t\t// find max and min\n\t\t}\n\t\tVertex scale = new Vertex(1 / (max.x - min.x), 1 / (max.y - min.y),\n\t\t\t\t1 / (max.z - min.z));\n\n\t\t// calculate shift and scale\n\t\tfor (Vertex v : theVerts) {\n\t\t\tv.normalize(min, scale);\n\t\t}\n\t}", "title": "" }, { "docid": "7b1b0ca633f39005d4aad94f540270d2", "score": "0.52719355", "text": "@Override\r\n public INormalizedSpectrum asNormalizedTo(final double totalIntensity) {\r\n if(Math.abs(getRequiredTotalIntensity() - totalIntensity) < IPeak.SMALL_MZ_DIFFERENCE)\r\n return this;\r\n return super.asNormalizedTo(totalIntensity); //To change body of overridden methods use File | Settings | File Templates.\r\n }", "title": "" }, { "docid": "bbdb3e4de3808b496ef65e1c81323a71", "score": "0.5256277", "text": "private double[] getNormalizedImg() {\r\n \t\tdouble [] normImage = new double [width*height];\r\n \t\t\r\n \t\t// We are using\r\n \t\t//\r\n \t\t// std^2 = mean(x)^2 + mean(x^2)\r\n \t\t//\r\n \t\t// to normalize the image patch.\r\n \t\tdouble mean = integralImage[width*height-1]/(width*height);\r\n \t\tdouble meanSqr = squareIntegralImage[width*height-1]/(width*height);\r\n\t\tdouble std = Math.sqrt(Math.pow(mean,2)+meanSqr);\r\n \r\n \t\tfor(int y = 0; y<height;y++) {\r\n \t\t\tfor(int x = 0; x<width;x++) {\r\n \t\t\t\tnormImage[coord(x,y)] = integralImage[coord(x,y)]-(x+1)*(y+1)*mean;\r\n \t\t\t\tnormImage[coord(x,y)] *= 1/std;\r\n \t\t\t}\r\n \t\t}\r\n \r\n \t\treturn normImage;\r\n \t}", "title": "" }, { "docid": "58b408b7d6437cae9422c8458c05d17b", "score": "0.52429056", "text": "private void normalize() {\n if (denom < 0) {\n num = -num;\n denom = -denom;\n }\n\n long gcd = gcd(num, denom);\n if (gcd > 1) {\n num /= gcd;\n denom /= gcd;\n }\n }", "title": "" }, { "docid": "c284c32b8ee025971be9ac58b92f7e74", "score": "0.52362525", "text": "public void featureNormalize() {\n this.mu = X.columnMeans(); //column averages\n this.sigma = X.columnMaxs().sub(X.columnMins()); //range of columns\n this.X = X.subRowVector(mu).divRowVector(sigma);\n }", "title": "" }, { "docid": "687169b9ee13406d8258d7983430c1c2", "score": "0.5222357", "text": "public static float[] normalize(float a[], int height, int width, float denom[]){\n\r\n\t\tint offset, i;\r\n\t\tfor (int y=0; y<height; y++){\r\n\t\t\toffset = y*width;\r\n\t\t\tfor (int x=0; x<width; x++){\r\n\t\t\t\ti = offset +x;\r\n\t\t\t\ta[i] = a[i]/denom[x];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn (float[]) a;\r\n\t}", "title": "" }, { "docid": "758bee3c5cc2587af13ffc934bd047ca", "score": "0.51913625", "text": "public float scaleIntensityData(float rawData);", "title": "" }, { "docid": "dd3b8ed7d42da5ac71e45e936077c3de", "score": "0.51629007", "text": "public void normalize() {\n double mag = this.magnitude();\n if (mag > 0) {\n this.div(mag);\n }\n }", "title": "" }, { "docid": "2803cb322d198f4feeeeeda183e0b0d7", "score": "0.5127205", "text": "private void normalizeResizeOnly() {\n int x = Configurator.getConfigurator().getIntProperty(\"char_normalizeddimensions_x\");\n int y = Configurator.getConfigurator().getIntProperty(\"char_normalizeddimensions_y\");\n if ((x == 0) || (y == 0)) {\n return;\n }\n if (Configurator.getConfigurator().getIntProperty(\"char_resizeMethod\") == 0) {\n linearResize(x, y); // do a weighted average\n } else {\n averageResize(x, y);\n }\n normalizeBrightness(0.5f);\n }", "title": "" }, { "docid": "0fbaf179d6547b7e97fd723c7502389b", "score": "0.5121021", "text": "public int[] Calculate_Histogram_Hue_Bins (Image im, int[] fHueHist, int BinSize)\n {\n int []fHueHist_Q_Bin = new int[360/BinSize];\n int index = 0;\n for (int i=0;i<=(360-BinSize);i+=BinSize)\n { \n int temp_Q=0;//int temp_DB = 0;\n for (int j=0;j<BinSize;j++)\n {\n temp_Q += fHueHist[i+j];\n //temp_DB += fHueHist_DB[i+j];\n }\n fHueHist_Q_Bin[index] = temp_Q;\n //fHueHist_DB_Bin[index] = temp_DB;\n System.out.println(\"fHueHist_Q_Bin[\"+index+\"]:\"+fHueHist_Q_Bin[index]);//+\" | fHueHist_DB_Bin[\"+index+\"]:\"+fHueHist_DB_Bin[index]);\n index++;\n }\n // --------------------- BINS ARE CORRECTLY OBTAINED --------------------------\n return fHueHist_Q_Bin;\n }", "title": "" }, { "docid": "9f0720065d26721d60817f4b5a6e1404", "score": "0.511839", "text": "public static double[] argb2hsv(int[][] Irgb)\r\n\t{\r\n\t\tint h = Irgb.length;\r\n\t\tint w = Irgb[0].length;\r\n\t\tdouble[] Ihsv = new double[3 * w * h];\r\n\t\tint rgb, at3;\r\n\t\tdouble r, g, b;\r\n\t\tdouble minv, maxv, delta;\r\n\t\tdouble tmpd = 0;\r\n\r\n\t\tfor(int x = 0; x < w; x++){\r\n\t\t\tfor(int y = 0; y < h; y++){\r\n\t\t\t\tat3 = 3 * (y*w + x);\r\n\r\n\t\t\t\trgb = Irgb[y][x];\r\n\t\t\t\tr = ((rgb >> 16) & 0x000000ff) / 255.0;\r\n\t\t\t\tg = ((rgb >> 8) & 0x000000ff) / 255.0;\r\n\t\t\t\tb = (rgb & 0x000000ff) / 255.0;\r\n\r\n\t\t\t\tmaxv = r;\r\n\t\t\t\tif(g > maxv) maxv = g;\r\n\t\t\t\tif(b > maxv) maxv = b;\r\n\r\n\t\t\t\tminv = r;\r\n\t\t\t\tif(g < minv) minv = g;\r\n\t\t\t\tif(b < minv) minv = b;\r\n\r\n\t\t\t\tIhsv[at3 + 2] = maxv; \t\t\t\t//Set brightness value\r\n\r\n\t\t\t\tif(maxv != 0){ \t\t\t\t\t\t\t\t//Calculate saturation\r\n\t\t\t\t\tIhsv[at3 + 1] = (maxv - minv) / maxv;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tIhsv[at3 + 1] = 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif(Ihsv[at3 + 1] == 0){ \t\t\t//Determine hue\r\n\t\t\t\t\tIhsv[at3 + 0] = 0;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tdelta = maxv - minv;\r\n\t\t\t\t\tif(r == maxv)\r\n\t\t\t\t\t\ttmpd = (g - b) / delta;\r\n\t\t\t\t\telse if(g == maxv)\r\n\t\t\t\t\t\ttmpd = 2.0 + (b - r) / delta;\r\n\t\t\t\t\telse if(b == maxv)\r\n\t\t\t\t\t\ttmpd = 4.0 + (r - g) / delta;\r\n\r\n\t\t\t\t\ttmpd *= 60; \t\t\t\t\t\t\t\t//Convert hue to degrees\r\n\t\t\t\t\tif(tmpd < 0) tmpd += 360.0; //Make sure non-negative\r\n\t\t\t\t\tIhsv[at3 + 0] = tmpd / 360.0;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn Ihsv;\r\n\t}", "title": "" }, { "docid": "d1af492490bb87be6287e3c857b13291", "score": "0.51110756", "text": "protected void norm(){\n int low = gcd(numerator, denominator);\n if(denominator < 0) {\n denominator *= -1;\n numerator *= -1;\n }\n\n if(numerator == 0 && denominator > 1) {\n denominator = 1;\n }\n else{\n numerator = numerator / low;\n denominator = denominator / low;\n }\n }", "title": "" }, { "docid": "0f9e497d0194c620eae65abf955231a6", "score": "0.50909525", "text": "public void normalize(){\n this.sMultiply(1d/this.abs());\n }", "title": "" }, { "docid": "3c3775f3ae1039960916e7d1b803834a", "score": "0.5025395", "text": "Histogram histogram();", "title": "" }, { "docid": "ee9736d46640b567adf8419256c744c1", "score": "0.5014206", "text": "private static double[] getNormalizedSound(double[] resultSound) {\n /** Get abs maximum value from array */\n double max = getAbsMaximum(resultSound);\n /** Normalize input array values to obtained max value */\n for(int i = 0; i < resultSound.length; i++){\n if(max > 0) {\n resultSound[i] = resultSound[i] / max;\n }else{\n resultSound[i] = 0;\n }\n }\n return resultSound;\n }", "title": "" }, { "docid": "22a9d9f61dbe9212f8b108ce6c0e4b55", "score": "0.49991077", "text": "private static RGB clamp(RGB raw) {\n\t\tint MaxIntensity = 0xff;\n\t\tint MinIntensity = 0x0;\n\t\t\n\t\tif (raw.red < MinIntensity) raw.red = MinIntensity;\n\t\telse if (raw.red > MaxIntensity) raw.red = MaxIntensity;\n\t\tif (raw.green < MinIntensity) raw.green = MinIntensity;\n\t\telse if (raw.green > MaxIntensity) raw.green = MaxIntensity;\n\t\tif (raw.blue < MinIntensity) raw.blue = MinIntensity;\n\t\telse if (raw.blue > MaxIntensity) raw.blue = MaxIntensity;\n\t\t\n\t\treturn raw;\n\t}", "title": "" }, { "docid": "d2bda1468dd248aae8cca12dc19c271f", "score": "0.499617", "text": "public void normalize() {\n\t\tsetMagnitude( 1 );\n\t}", "title": "" }, { "docid": "39b8cfdb662c8b8c507c040998fc4fcc", "score": "0.4960202", "text": "private int[][] getRGBHistogram(int[] src, int depth) {\n\t\tint[][] rgbHistogram = new int[3][depth];\n\t\tfor (int i = 0; i < src.length; i++) {\n\t\t\tint tmp = src[i];\n\t\t\tint rIntensity = (tmp & 0xff0000) >> 16;\n\t\t\tint gIntensity = (tmp & 0x00ff00) >> 8;\n\t\t\tint bIntensity = (tmp & 0x0000ff);\n\t\t\trgbHistogram[COLOR_R][rIntensity]++;\n\t\t\trgbHistogram[COLOR_G][gIntensity]++;\n\t\t\trgbHistogram[COLOR_B][bIntensity]++;\n\t\t}\n\t\treturn rgbHistogram;\n\t}", "title": "" }, { "docid": "42c21743c6b7053c75e8aa7e46ca01ca", "score": "0.4935122", "text": "public ColorScale getColorScale();", "title": "" }, { "docid": "0610f7727a8ee6c1aec96a7a2196fbcb", "score": "0.49288183", "text": "public void histogramUpdated( final ChannelHistogram model, final double[] range, final int[] counts, final List<Double> values, final UnivariateStatistics statistics );", "title": "" }, { "docid": "e91386da33a897c9513fe1c73c7d8daa", "score": "0.49197945", "text": "public void smoothFillHistogram() {\n\t\tint smooth[] = new int[histogram.length];\n\t\tsmooth[0] = histogram[0];\n\t\tsmooth[histogram.length-1] = histogram[histogram.length-1];\n\t\tfor (int i = 1; i < histogram.length-1; i++) {\n\t\t\tsmooth[i] = (histogram[i-1]+histogram[i+1]+Math.max(histogram[i-1], histogram[i+1])*2)/4;\n\t\t}\n\t\thistogram = smooth;\n\t}", "title": "" }, { "docid": "e4cf874a3843c753062ac551c2c2d60a", "score": "0.48842955", "text": "private static List<Rank> computeNormalizedRang(List<Rank> ranks) {\n\t\tdouble lastVal = ranks.get(0).getC().getConfidence();\n\t\tint min = 1;\n\t\tfor (int i = 0; i <= ranks.size(); i++) {\n\t\t\tif(i == ranks.size() || ranks.get(i).getC().getConfidence() != lastVal) {\n\t\t\t\tdouble mean = getMean(min, i);\n\t\t\t\twhile(min <= i) {\n\t\t\t\t\tranks.get(min-1).setNormalizedRank(mean);\n\t\t\t\t\tmin++;\n\t\t\t\t}\n\t\t\t\tif(i != ranks.size()) {\n\t\t\t\t\tlastVal = ranks.get(i).getC().getConfidence();\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t}\n\t\n\t\t\t}\n\t\t}\n\t\treturn ranks;\n\t}", "title": "" }, { "docid": "1b69a44ad6659b8ffac7f7318691925b", "score": "0.48685166", "text": "public void normalize() {\n float length = length();\n x /= length;\n y /= length;\n z /= length;\n }", "title": "" }, { "docid": "f8d53e0b5fab618144b6d62cc5565a6d", "score": "0.48294428", "text": "private static void applyNormalization(ArrayList<Double> wave, double maxSample, AudioFormat format) {\n double maxVal = Math.pow(2, format.getSampleSizeInBits() - 1);\n if (maxVal < maxSample) {\n double ratio = maxVal / maxSample;\n for (int i = 0; i < wave.size(); i++) {\n wave.set(i, Math.min(maxVal, wave.get(i) * ratio));\n }\n }\n }", "title": "" }, { "docid": "ae657688ef14de275d2384cff5fcf2a1", "score": "0.48129946", "text": "public static double[] calculateHistogram(int[][] image) {\n int h = image.length;\n int w = image[0].length;\n double[] histogram = new double[256];\n\n // fill the histogram with 0s\n for (int i = 0; i < histogram.length; i++) {\n histogram[i] = 0;\n }\n\n // go through image and calculate the histogram\n for (int i = 0; i < h; i++) {\n for (int j = 0; j < w; j++) {\n int col = image[i][j];\n if(col < 0) {\n histogram[0]++;\n } else if (col > 255) {\n histogram[255]++;\n } else {\n histogram[col]++;\n }\n }\n }\n\n // normalize the values\n double size = w*h;\n for (int i = 0; i < histogram.length; i++) {\n histogram[i] /= size;\n }\n\n return histogram;\n }", "title": "" }, { "docid": "63d52261dd892045900b261a728d134e", "score": "0.48062566", "text": "public void fillHistogram() {\n\t\tint smooth[] = new int[histogram.length];\n\t\tsmooth[0] = histogram[0];\n\t\tsmooth[histogram.length-1] = histogram[histogram.length-1];\n\t\tfor (int i = 1; i < histogram.length-1; i++) {\n\t\t\tsmooth[i] = Math.max(histogram[i-1], histogram[i+1]);\n\t\t}\n\t\thistogram = smooth;\n\t}", "title": "" }, { "docid": "eff3f1da1d89c64f735b0679ed810e3a", "score": "0.47959372", "text": "public static void processGrayscaleLuma(){\n BufferedImage image = GrayscaleDemo.processedImage;\n for (int i = 0; i < image.getHeight(); i++) {\n for (int j = 0; j < image.getWidth(); j++) {\n int rgb = image.getRGB(j, i);\n Color currentPixel = new Color(rgb,true);\n //Find the average from all the color components for the given pixel.\n double redColor = currentPixel.getRed() * 0.3;\n double greenColor = currentPixel.getGreen() * 0.59;\n double blueColor = currentPixel.getBlue() * 0.11;\n int grayLevel = (int)((redColor + greenColor + blueColor) / 3);\n \n Color grayColor = new Color(grayLevel,grayLevel,grayLevel);\n image.setRGB(j,i, grayColor.getRGB());\n }\n }\n }", "title": "" }, { "docid": "5712273a66d59f8971b5053109af7570", "score": "0.47906178", "text": "public static BufferedImage processImageHSV(BufferedImage original){\n BufferedImage processed = new BufferedImage(original.getWidth(), original.getHeight(), original.getType());\n\n double delta, eval;\n float[] pval, cval;\n float[][] pvert;\n double avg = 0;\n Color temp;\n for(int r=0;r<processed.getHeight();r++){\n for(int c=0;c<processed.getWidth();c++){\n delta = eval = 0;\n pval = null;\n pvert = new float[SEARCH_SPACE*2+1][];\n for(int i=-SEARCH_SPACE; i<=SEARCH_SPACE; i++){\n if(i+r<0)i=0;\n if(i+r>=processed.getHeight()) break;\n for(int j=-SEARCH_SPACE; j<=SEARCH_SPACE; j++){\n if(j+c<0)j=0;\n if(j+c>=processed.getWidth()) break;\n\n //Process pixel at spot\n if(pval != null){\n temp = new Color(original.getRGB(j+c, i+r));\n cval = new float[3];\n Color.RGBtoHSB(temp.getRed(), temp.getGreen(), temp.getBlue(), cval);\n\n delta+=(Math.abs(cval[0]-pval[0])*R_WEIGHT+Math.abs(cval[1]-pval[1])*G_WEIGHT+(Math.abs(Math.abs(180-cval[2])-Math.abs(180-pval[2])))*B_WEIGHT*2);\n pval = cval.clone();\n }else{\n temp = new Color(original.getRGB(j+c, i+r));\n pval = new float[3];\n cval = new float[3];\n Color.RGBtoHSB(temp.getRed(), temp.getGreen(), temp.getBlue(), pval);\n }\n if(pvert[j+SEARCH_SPACE]!=null){\n delta+=(Math.abs(cval[0]-pvert[j+SEARCH_SPACE][0])*H_WEIGHT+Math.abs(cval[1]-pvert[j+SEARCH_SPACE][1])*S_WEIGHT+Math.abs(cval[2]-pvert[j+SEARCH_SPACE][2])*V_WEIGHT);\n }\n pvert[j+SEARCH_SPACE]=pval.clone();\n eval++;\n }\n }\n processed.setRGB(c, r, new Color((int)(Math.min(255, IMAGE_MULT*255*(delta/eval))), (int)(Math.min(255, IMAGE_MULT*255*(delta/eval))), (int)(Math.min(255, IMAGE_MULT*255*(delta/eval)))).getRGB());\n avg+=(int)(Math.min(255, IMAGE_MULT*255*(delta/eval)));\n }\n }\n avg/=processed.getHeight()*processed.getWidth();\n System.out.println(\"AVG VAL: \" + avg);\n\n return processed;\n }", "title": "" }, { "docid": "a02f854057d373b1e51e861517dedbf3", "score": "0.47867405", "text": "private void normalize(final double[] exampleWeights){\n\t\tdouble total = 0.0;\n\t\tfor(double d : exampleWeights){\n\t\t\ttotal += d;\n\t\t}\n\t\tfor(int w = 0; w < exampleWeights.length; w++){\n\t\t\texampleWeights[w] = exampleWeights[w] / total;\n\t\t}\n\t}", "title": "" }, { "docid": "3fe035977c8d7d5fd1591844c79d9d86", "score": "0.4776424", "text": "public static void scaleBrightness(int[] rgbs, float s, int[] result) {\n int r, g, b, rgb;\n float[] hsb = new float[3];\n if (result == null) {\n result = rgbs;\n }\n for (int i = 0; i < rgbs.length; ++i) {\n rgb = rgbs[i];\n r = (rgb & RED_MASK) >> RED_SHIFT;\n g = (rgb & GREEN_MASK) >> GREEN_SHIFT;\n b = rgb & BLUE_MASK;\n Color.RGBtoHSB(r, g, b, hsb);\n result[i] = Color.HSBtoRGB(hsb[0], hsb[1], Math.min(1, hsb[2] * s));\n }\n }", "title": "" }, { "docid": "a2a48ec64fb61fc15d74d424e20d2f5f", "score": "0.47750664", "text": "private void cumulativeMeanNormalizedDifference() {\r\n int tau;\r\n yinBuffer[0] = 1;\r\n // Very small optimization in comparison with AUBIO\r\n // start the running sum with the correct value:\r\n // the first value of the yinBuffer\r\n float runningSum = yinBuffer[1];\r\n // yinBuffer[1] is always 1\r\n yinBuffer[1] = 1;\r\n // now start at tau = 2\r\n for (tau = 2; tau < yinBuffer.length; tau++) {\r\n runningSum += yinBuffer[tau];\r\n yinBuffer[tau] *= tau / runningSum;\r\n }\r\n }", "title": "" }, { "docid": "79d3012880f90c8ffa0f81cc5af72693", "score": "0.47724426", "text": "public static int scaleBrightness(int rgb, float s) {\n int r = (rgb & RED_MASK) >> RED_SHIFT;\n int g = (rgb & GREEN_MASK) >> GREEN_SHIFT;\n int b = rgb & BLUE_MASK;\n float[] hsb = Color.RGBtoHSB(r, g, b, null);\n return Color.HSBtoRGB(hsb[0], hsb[1], Math.min(1, hsb[2] * s));\n }", "title": "" }, { "docid": "6d0d88d0b489806c1228010b7d4bf824", "score": "0.47370106", "text": "public Vector2f normalize() {\n\t\treturn scale(1 / getLength());\n\t}", "title": "" }, { "docid": "68fb01007bf97e137414d02d5a1f9e46", "score": "0.47331706", "text": "public String normalize(){\n \t\tStringBuffer s = new StringBuffer();\n \t\tif (unNormalized==null){\n \t\t\treturn \"No unnormalized data is set\";\n \t\t}\n \t\telse {\n \t\t\tList<Integer> normalized;\n \t\t\tint lengths = unNormalized.get(0) + unNormalized.get(1) + unNormalized.get(unNormalized.size()-1) + unNormalized.get(unNormalized.size()-2);\n \t\t\tfloat division = lengths / 4;\n \t\t\t\n \t\t\tfor (int i = 0; i < unNormalized.size(); i++){\n \t\t\t\tint value = Math.round(unNormalized.get(i)/division);\n \t\t\t\ts.append(value);\n \t\t\t}\n \t\t\treturn s.toString();\n \t\t}\n \t}", "title": "" }, { "docid": "db5ee0b37dd19d1f609eb4f595ea828a", "score": "0.47225824", "text": "public void normalize() throws ArithmeticException {\n\t\tdouble size = this.length();\n\t\tif (size == 0) {\n\t\t\tthrow new ArithmeticException();\n\t\t}\n\t\tthis.x /= size;\n\t\tthis.y /= size;\n\t\tthis.z /= size;\n\t}", "title": "" }, { "docid": "8c1435a0443628e0426e7dbeaebd49f9", "score": "0.47223365", "text": "public float scaleIntensityData(float rawData, int mid, int gid, int sampleNbr);", "title": "" }, { "docid": "94e639f07adde73bc3bcb8d7390cbdb9", "score": "0.47221947", "text": "@Override\n\t\t\tpublic void normalize() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "945cc1b8e4f5dc826f082ab10ee82e16", "score": "0.4719933", "text": "public static PixHSV convertToHSV(PixRGB inRGB)\n {\n double rPrime = (inRGB.r/255d);\n double gPrime = (inRGB.g/255d);\n double bPrime = (inRGB.b/255d);\n \n double cMax = Math.max(Math.max(rPrime, gPrime),bPrime);\n double cMin = Math.min(Math.min(rPrime, gPrime),bPrime);\n double deltaC = cMax - cMin;\n \n double h = 0;\n if(deltaC == 0)\n {\n h = 0d;\n }\n else if(cMax == rPrime)\n {\n h = ( ( (gPrime - bPrime)/deltaC) % 6 );\n //System.out.println(\"calc [\" + h + \" delta: \" +deltaC + \"] \" + \"\\ngprime \"+ gPrime + \" bPrime \"+bPrime + \"gPrime - bPrime: [\"+(gPrime-bPrime)+\"]\" );\n }\n else if(cMax == gPrime)\n {\n h = ( ( (bPrime - rPrime)/deltaC) + 2d);\n //System.out.println(\"Calulating at cMax = gPrime\");\n }\n else if(cMax == bPrime)\n {\n h = (((rPrime - gPrime) / deltaC) + 4d);\n //System.out.println(\"Calulating at cMax = bPrime\");\n }\n \n h*=60d;\n if(h <= 0)\n h+= 360;\n \n double s = 0;\n \n if(deltaC == 0d)\n s = 0;\n else\n s = deltaC / cMax;\n \n double v = cMax;\n \n //System.out.println(\"In value: \" + inRGB.getR() + \", \" + inRGB.getG() +\", \" + inRGB.getB() + \"Out hue: \" + h);\n PixHSV outHSV = new PixHSV(h,s,v);\n \n return outHSV;\n }", "title": "" }, { "docid": "e6f2e84076d0acfe737068bef3bcb819", "score": "0.47011998", "text": "public static float[] normaliseMinmax(float[] data)\n {\n float[] r = new float[data.length];\n float max = max(data);\n float min = min(data);\n for (int i = 0; i < r.length; i++)\n r[i] = (data[i] - min) / (max - min);\n return r;\n }", "title": "" }, { "docid": "9931c0ec8a48411f11fa023d64a2e6c5", "score": "0.46948022", "text": "public double normalize(final double value) {\n double result = ((value - this.actualLow) / (this.actualHigh -\n this.actualLow)) *\n (this.normalizedHigh - this.normalizedLow) +\n this.normalizedLow;\n\n // typically caused by a number that should not have been normalized\n // (i.e. normalization or actual range is infinitely small.\n if (Double.isNaN(result)) {\n return ((this.normalizedHigh - this.normalizedLow) / 2) +\n this.normalizedLow;\n }\n return result;\n }", "title": "" }, { "docid": "6710217d7b125f057b1beaff495674d7", "score": "0.4673013", "text": "public int toRgb() {\r\n return ((int) (255.99 * getR())) * 256 * 256\r\n + ((int) (255.99 * getG())) * 256 + ((int) (255.9 * getB()));\r\n }", "title": "" }, { "docid": "803cc901b4e6748b13f399655f23f672", "score": "0.4672249", "text": "public void showHistogram(boolean repaint) {\r\n int i, j, k;\r\n double sum;\r\n int end, aRGB;\r\n float iNew;\r\n int offset;\r\n\r\n if (histogram == null) {\r\n return;\r\n }\r\n\r\n try { // get histogram\r\n histogram.exportData(0, histogramBuffer.length, histogramBuffer);\r\n } catch (IOException error) {\r\n MipavUtil.displayError(\"IOException: ComponentVolOpacity.showHistogram\");\r\n\r\n return;\r\n }\r\n\r\n int samples = Math.round(histogramBuffer.length / (float) dim.width);\r\n\r\n if (samples == 0) {\r\n samples = 1;\r\n }\r\n\r\n // find histogram max normalized to the width of the display component\r\n histogramMax = -9999;\r\n\r\n for (i = 0; i < dim.width; i++) {\r\n\r\n for (sum = 0, k = i * samples; k < ((i + 1) * samples); k++) {\r\n\r\n if (k < histogramBuffer.length) {\r\n sum += histogramBuffer[k];\r\n }\r\n }\r\n\r\n if (sum > histogramMax) {\r\n histogramMax = sum;\r\n }\r\n }\r\n\r\n if (logFlag == true) {\r\n histogramMaxLog = Math.log(histogramMax);\r\n }\r\n\r\n // Builds special buffer by remapping the data in the LUT range\r\n int lightBlue = 0xFFAFAFF0;\r\n\r\n Arrays.fill(pixBuffer, lightBlue);\r\n\r\n for (i = 0; i < (dim.width - 1); i++) {\r\n\r\n // if histogram width and component width are not the same then correct\r\n for (sum = 0, k = i * samples; k < ((i + 1) * samples); k++) {\r\n\r\n if (k < histogramBuffer.length) {\r\n sum += histogramBuffer[k];\r\n }\r\n }\r\n\r\n if (logFlag == true) {\r\n\r\n if (sum >= 1.0) {\r\n end = MipavMath.round((dim.height - 1) * (Math.log(sum) / histogramMaxLog));\r\n } else {\r\n end = 0;\r\n }\r\n } else {\r\n end = MipavMath.round((dim.height - 1) * (sum / histogramMax));\r\n }\r\n\r\n if ((end == 0) && (sum > 0)) {\r\n end = 1;\r\n }\r\n\r\n // put i into the image intensity range -> iNew\r\n iNew = (float) (min + ((float) i / (dim.width - 1) * (max - min)));\r\n\r\n int index = MipavMath.round(transferFunction.getRemappedValue(iNew, dim.height));\r\n\r\n if (index < 0) {\r\n index = 0;\r\n }\r\n\r\n if (index > (lutIndexBuffer.length - 1)) {\r\n index = lutIndexBuffer.length - 1;\r\n }\r\n\r\n aRGB = lutIndexBuffer[index];\r\n\r\n // build histogram image\r\n offset = (dim.width * (dim.height - 1)) + i;\r\n\r\n for (j = 0; j < end; j++) {\r\n pixBuffer[offset - (j * dim.width)] = aRGB;\r\n }\r\n }\r\n\r\n importImage(pixBuffer); // Method in parent class to import the image\r\n\r\n if (repaint) {\r\n repaint();\r\n }\r\n }", "title": "" }, { "docid": "ec742012cde2c9c2c38841cbf88f8b0c", "score": "0.46711168", "text": "public void norm() {\n\t\t\n\t}", "title": "" }, { "docid": "dc57eb38a4c0d3f9cbf3646b7fe28681", "score": "0.46681035", "text": "public void getColorHistogram() {\n\t\tint colorCodeNo = 0;\n\t\ttry {\n\t\t\tfor (int img = 1; img <= 100; img++) {\n\t\t\t\tBufferedImage image = ImageIO.read(new File(\"images/\" + img + \".jpg\"));\n\t\t\t\tfor (int i = 0; i < image.getWidth(); i++) {\n\t\t\t\t\tfor (int j = 0; j < image.getHeight(); j++) {\n\t\t\t\t\t\tColor myColor = new Color(image.getRGB(i, j));\n\t\t\t\t\t\t// Retrieving first two bits from RGB and Concatenating\n\t\t\t\t\t\t// with \"|\"\n\t\t\t\t\t\tint colorCode = ((myColor.getRed() >> 6) << 4)\n\t\t\t\t\t\t\t\t| (((myColor.getGreen() >> 6) << 2) | (myColor.getBlue() >> 6));\n\t\t\t\t\t\tcolorHistogram[img][0] = image.getWidth() * image.getHeight();\n\t\t\t\t\t\tfor (int his = 1; his <= 64; his++) {\n\t\t\t\t\t\t\tif (colorCode == his - 1) {\n\t\t\t\t\t\t\t\tcolorHistogram[img][his] = colorHistogram[img][his] + 1;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}\n\t}", "title": "" }, { "docid": "9c79b20d2ced7a0b510769db6a3dfb28", "score": "0.4663631", "text": "public static String imNormalize(String in)\n {\n StringBuffer out = new StringBuffer(in);\n int space;\n while (((space = out.toString().indexOf(SPACE)) >= 0) && out.length() > 0)\n {\n out.delete(space, space + 1);\n } \n return out.toString();\n }", "title": "" }, { "docid": "9c5a1505c3b0dc929c873a6b1db86e29", "score": "0.46591932", "text": "public interface Normalization\n { \n\n /** \n * calcIntensityScaleExtrema() - compute scaled Intensity upper\n * and lower limits of raw data for each sample. It is called\n * to get extrema for use in scaling displays and other computations\n * where the limits must be known.\n * @param maxRI maximum raw ratio intensity\n * @param minRI minimum raw ratio intensity\n * @param maxRaw maximum raw intensity max(rawF1,rawF2)\n * @param minRaw minimum raw intensity min(rawF1,rawF2)\n * @param sampleNbr for the sample sample number in the range [1:maxSamples]\n * @return an array with the following scaled data:\n *<PRE>\n * element 0 = maxDataS\n * element 1 = minDataS\n * element 2 = maxRawS\n * element 3 = minRawS\n *</PRE>\n */\n public float[] calcIntensityScaleExtrema(float maxRI, float minRI,\n float maxRaw, float minRaw,\n int sampleNbr); \n \n \n \n /**\n * resetPipeline() - reset filter at start of data Normalization.\n * We will test for ALL GENES (if required) using the midOK[] boolean\n * created here to later determine if we actually perform the test.\n * This sets up the state that may be used during the pipeline operation.\n * @param optArg - optional argument\n * @return true if succeed\n */\n public boolean resetPipeline(int optArg);\n \n \n /**\n * finishPipeline() - finish filter at end of normalization of all genes (if required).\n * This may be used to clean up the state after the pipeline operation.\n * @param optArg - optional argument\n * @return true if succeed\n */\n public boolean finishPipeline(int optArg);\n \n \n /**\n * scaleIntensityData() - scale raw intensity data as fct of normalization\n * mode. This method is called on a per-spot basis.\n * @param rawData is unnormalized data of spot\n * @return normalized spot data\n */\n public float scaleIntensityData(float rawData);\n \n \n /**\n * scaleIntensityData() - scale raw intensity data as fct of normalization mode.\n * This method passes the (gid,sampleNbr) in case it is needed.\n * This method is called on a per-spot basis.\n * @param rawData is unnormalized data of spot\n * @param mid is MID of the spot\n * @param gid is GID of the spot\n * @param sampleNbr for the sample array\n * @return normalized spot data\n */\n public float scaleIntensityData(float rawData, int mid, int gid, int sampleNbr);\n \n \n /**\n * scaleIntensityData() - the gene normalization operating on gene mid\n * for sampleIdx where the data is ether extracted here or from the resetPipeline\n * pre-analysis.\n * If the normalization is inoperative, then just return 0.0.\n * The mid must be >=0 since -1 indicates an illegal gene.\n * The midOK[mid] must be true, else it indicates an illegal gene.\n *\n * [NOTE] The plugin writer should try to avoid doing special analyses here that \n * need to be computed DURING the processing and instead do the computations \n * during the resetPipeline() operation if possible. That may be able to \n * optimized and the data cached to avoid constant recomputation.\n * @param rawIntensity is intensity value to be normalized\n * @param rawBkgrd is background intensity to be used in normalization\n * if the use Background flag is set.\n * @param mid is the Master Gene ID to test if not -1 and the gene exists\n * @param gid is the spot Geometry Gene Index to test if not -1 and the spot exists\n * @param sampleIdx is the HybridSample index number for single sample HP-X or HP-Y.\n * For Cy3 vs Cy5 mode, it is 0 for Cy3 (F1), and 1 for Cy5 (F2).\n * For HP-X 'set' vs HP-Y 'set' mode, \n * it is 0 for HP-X 'set', and 1 for HP-Y 'set'\n * @return scaled data if normalization is active, else 0.0F\n */\n public float scaleIntensityData(float rawIntensity, float rawBkgrd,\n int mid, int gid, int sampleIdx);\n \n /**\n * getState() - get the state of the checkbox\n */\n public boolean getState();\n \n \n /**\n * setState() - set the state of the checkbox\n */\n public void setState(boolean flag);\n \n \n /**\n * recalcNormalizationExtrema() - set the extreama for all samples for this plugin\n */\n public void recalcNormalizationExtrema();\n \n \n /**\n * setSample() - set the sample object\n */\n public void setSample(Object o);\n \n \n /**\n * getSample() - get the sample object\n */\n public Object getSample();\n \n \n}", "title": "" }, { "docid": "2d7878b594aabe8b7c09c30380c3a918", "score": "0.46558574", "text": "private float[] calculateHistogram(int position) {\n return calculateHistogram(position, 0);\n }", "title": "" }, { "docid": "cb9a4f52245066cd543cb330f47e01bf", "score": "0.46379122", "text": "public NormalizedSensorState Normalize(SensorState sensorState)\n {\n Instant sTime = sensorState.getTime();\n List<SensorValue> values = sensorState.getValues();\n Date normalizedTime = NormalizeTime(sTime);\n int nValue = 0;\n int temp;\n int oValue = 0;\n boolean isEmulatable = true;\n NormalizedSensorState normalizedSensorState = new NormalizedSensorState(normalizedTime);\n NormalizedValue normalizedValue;\n int max;\n int min;\n\n //Find the MAX and MIN values\n min = FindMin(values);\n max = FindMax(values);\n\n //Normalize the data\n // Retrieve data from the list and use the local variables isEmulatable and nvalue\n // nvalue = (oldvalue - max)/(max - min)\n for (int i = 0; i < values.size(); i++)\n {\n oValue = values.get(i).getValue();\n isEmulatable = values.get(i).isEmulatable();\n temp = (oValue - max) / (max - min);\n nValue = DetermineRange(temp);\n normalizedValue = new NormalizedValue(nValue, isEmulatable);\n normalizedSensorState.AddNormalizedValue(normalizedValue);\n }\n\n return normalizedSensorState;\n }", "title": "" }, { "docid": "c3141e650d39b14babf7cf9d6696dc42", "score": "0.4634302", "text": "public int[] getRedHistograma(){\r\n\t\treturn this.histograma.getHistogram(Histograma.REDHISTOGRAMA);\r\n\t}", "title": "" }, { "docid": "cf6347690dd1e5180d232040ff2d939e", "score": "0.46133652", "text": "public ViewJComponentHistoRGB(HistoLUTParent _histoFrame, ModelHistogram _histo, ModelRGB RGBTable,\r\n ModelImage _image) {\r\n super(_histoFrame, _histo, _image, new Dimension(377, 336));\r\n\r\n RGBT = RGBTable;\r\n\r\n addMouseMotionListener(this);\r\n addMouseListener(this);\r\n }", "title": "" }, { "docid": "fef2dcab71be42ce3ee12af8c04e8ca4", "score": "0.46092275", "text": "public double getNormalizationFactor();", "title": "" }, { "docid": "a1edcdec8f754a5d45f159e3f8c4048a", "score": "0.4606555", "text": "public vec2 normalizedCopy() {\r\n\t\treturn scaledCopy(1 / length());\r\n\t}", "title": "" }, { "docid": "29ce063dd3dc9e11022018894bef98f7", "score": "0.45998484", "text": "public Vector normalize() {\n\t\tdouble length = magnitude();\n\t\tif (length == 0) {\n\t\t\treturn this;\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\tdata[i] /= length;\n\t\t}\n\t\t\n\t\treturn this;\n\t}", "title": "" }, { "docid": "d60dbe01b3fca53c961afc351dc26c21", "score": "0.45956758", "text": "public void normalize()\n {\n set(getNormalized());\n }", "title": "" }, { "docid": "8a650de34655f617bf78c22df672577f", "score": "0.45937398", "text": "private static double[] rgb2hsv (int R, int G,int B) {\r\n\r\n\t\tdouble[] hsv = new double[3];\r\n\t\t// R,G,B in [0,255]\r\n\t\tfloat H = 0, S = 0, V = 0;\r\n\t\tfloat cMax = 255.0f;\r\n\t\tint cHi = Math.max(R,Math.max(G,B));\t// highest color value\r\n\t\tint cLo = Math.min(R,Math.min(G,B));\t// lowest color value\r\n\t\tint cRng = cHi - cLo;\t\t\t\t // color range\r\n\r\n\t\t// compute value V\r\n\t\tV = cHi / cMax;\r\n\r\n\t\t// compute saturation S\r\n\t\tif (cHi > 0)\r\n\t\t\tS = (float) cRng / cHi;\r\n\r\n\t\t// compute hue H\r\n\t\tif (cRng > 0) {\t// hue is defined only for color pixels\r\n\t\t\tfloat rr = (float)(cHi - R) / cRng;\r\n\t\t\tfloat gg = (float)(cHi - G) / cRng;\r\n\t\t\tfloat bb = (float)(cHi - B) / cRng;\r\n\t\t\tfloat hh;\r\n\t\t\tif (R == cHi) // r is highest color value\r\n\t\t\t\thh = bb - gg;\r\n\t\t\telse if (G == cHi) // g is highest color value\r\n\t\t\t\thh = rr - bb + 2.0f;\r\n\t\t\telse // b is highest color value\r\n\t\t\t\thh = gg - rr + 4.0f;\r\n\t\t\tif (hh < 0)\r\n\t\t\t\thh= hh + 6;\r\n\t\t\tH = hh / 6;\r\n\t\t}\r\n\r\n\r\n\t\thsv[0] = H; \r\n\t\thsv[1] = S; \r\n\t\thsv[2] = V;\r\n\t\treturn hsv;\r\n\r\n\r\n\r\n\t}", "title": "" }, { "docid": "2e61dce45179c000716b87ed4c41acb3", "score": "0.45819145", "text": "public Vector3d normalize() {\r\n return scale(1 / length());\r\n }", "title": "" }, { "docid": "d67e6b6617fc8502b48848220b91753d", "score": "0.45819083", "text": "private double[] rgb2hsv(double red, double grn, double blu) {\n\t\tdouble hue, sat, val;\n\t\tdouble x, f, i;\n\t\tdouble result[] = new double[3];\n\t\t \n\t\tx = Math.min(Math.min(red, grn), blu);\n\t\tval = Math.max(Math.max(red, grn), blu);\n\t\tif (x == val){\n\t\thue = 0;\n\t\tsat = 0;\n\t\t}\n\t\telse {\n\t\tf = (red == x) ? grn-blu : ((grn == x) ? blu-red : red-grn);\n\t\ti = (red == x) ? 3 : ((grn == x) ? 5 : 1);\n\t\thue = ((i-f/(val-x))*60)%360;\n\t\tsat = ((val-x)/val);\n\t\t}\n\n\t\tresult[0] = hue;\n\t\tresult[1] = sat;\n\t\tresult[2] = val;\n\t\treturn result;\n\t}", "title": "" }, { "docid": "8eddf5c600cfb090d736e1ec1b5778c2", "score": "0.458152", "text": "public void NormFactor() {\r\n\t\tfloat lambda = 0;\r\n\t\tfor(Float f : this.rows.values()) {\r\n\t\t\tlambda+=f;\r\n\t\t}\r\n\t\tfor(List<String>key : this.rows.keySet()) {\r\n\t\t\tthis.rows.put(key, this.rows.get(key)/lambda);\r\n\t\t}\r\n\t\tAlgorithms.sumOps+=rows.size()-1;\r\n\t}", "title": "" }, { "docid": "d2790253a389a4849ea0f426b12d6d9d", "score": "0.45779666", "text": "public void fixSingleValue() {\n if (this.action == NormalizationAction.Normalize) {\n if (Math.abs(this.actualHigh - this.actualLow) <\n Encog.DEFAULT_DOUBLE_EQUAL) {\n this.actualHigh += 1;\n this.actualLow -= 1;\n }\n }\n }", "title": "" }, { "docid": "919163d5d0199aa5c54661fd09ba57ed", "score": "0.4576604", "text": "public final MpirBigNum norm() {\n\n MpirBigNum reSqr = re.square();\n MpirBigNum imSqr = im.square();\n\n reSqr.add(imSqr, reSqr);\n reSqr.sqrt(reSqr);\n\n return reSqr;\n\n }", "title": "" }, { "docid": "1626481705ffbfb5f5505c458321a3b8", "score": "0.45761546", "text": "@Override\n public void normalize(float queryNorm, float topLevelBoost) {\n this.topLevelBoost = topLevelBoost;\n this.weight = idf.getValue() * queryBoost * topLevelBoost;\n }", "title": "" }, { "docid": "51bce34160498a21bb01e7c298931911", "score": "0.45750877", "text": "public float scaleIntensityData(float rawIntensity, float rawBkgrd,\n int mid, int gid, int sampleIdx);", "title": "" }, { "docid": "95496868fac97a0dc88861c2018abfdb", "score": "0.4572161", "text": "private double[] hsv2rgb(double hue, double sat, double val) {\n\t\tdouble red = 0, grn = 0, blu = 0;\n\t\tdouble i, f, p, q, t;\n\t\tdouble result[] = new double[3];\n\t\t \n\t\tif(val==0) {\n\t\tred = 0;\n\t\tgrn = 0;\n\t\tblu = 0;\n\t\t} else {\n\t\thue/=60;\n\t\ti = Math.floor(hue);\n\t\tf = hue-i;\n\t\tp = val*(1-sat);\n\t\tq = val*(1-(sat*f));\n\t\tt = val*(1-(sat*(1-f)));\n\t\tif (i==0) {red=val; grn=t; blu=p;}\n\t\telse if (i==1) {red=q; grn=val; blu=p;}\n\t\telse if (i==2) {red=p; grn=val; blu=t;}\n\t\telse if (i==3) {red=p; grn=q; blu=val;}\n\t\telse if (i==4) {red=t; grn=p; blu=val;}\n\t\telse if (i==5) {red=val; grn=p; blu=q;}\n\t\t}\n\t\n\t\tresult[0] = red;\n\t\tresult[1] = grn;\n\t\tresult[2] = blu;\n\t\treturn result;\n\t}", "title": "" }, { "docid": "22435a09abd70d939229e8f4a6cbf0dc", "score": "0.45672703", "text": "public double deNormalize(final double value) {\n final double result = ((this.actualLow - this.actualHigh) * value -\n this.normalizedHigh * this.actualLow + this.actualHigh *\n this.normalizedLow) /\n (this.normalizedLow - this.normalizedHigh);\n\n // typically caused by a number that should not have been normalized\n // (i.e. normalization or actual range is infinitely small.\n if (Double.isNaN(result)) {\n return ((this.normalizedHigh - this.normalizedLow) / 2) +\n this.normalizedLow;\n }\n return result;\n }", "title": "" }, { "docid": "a4881881239440a3122ffdb8144a8314", "score": "0.45653257", "text": "public final int getColorInt(double val) {\n if (Double.isNaN(val)) {\n return this.NAN_COLOR.getRGB();\n } else {\n double value = Math.max(0.0, Math.min(val,1.0));\n \n if (this.twoColorScheme) {\n //System.out.println(\"Val:\" + value + \" min:\" + min + \" black:\" + black);\n if (value <= this.min) {\n return this.minColor.getRGB();\n } else if (value >= this.max){\n return this.maxColor.getRGB();\n } else if (value <= black) {\n double relVal = black - value;\n double leftWidth = black - min;\n double factor = Math.min(1.0,relVal/leftWidth);\n int red = (int) ( factor * minColor.getRed());\n int green = (int) ( factor * minColor.getGreen());\n int blue = (int) ( factor * minColor.getBlue());\n //System.out.println(\"Val:\" + value + \" min:\" + min + \" RV:\" + relVal + \" LW:\" + leftWidth + \" F:\" + factor + \" R:\" + red + \" G:\" + green + \" B:\" + blue);\n return ( 0xFF000000 | (red<<16) | (green<<8) | (blue) );\n } else { // value > black\n double relVal = value - black;\n double rightWidth = max - black;\n double factor = Math.min(1.0,relVal/rightWidth);\n int red = (int) ( factor * maxColor.getRed());\n int green = (int) ( factor * maxColor.getGreen());\n int blue = (int) ( factor * maxColor.getBlue());\n return ( 0xFF000000 | (red<<16) | (green<<8) | (blue) );\n }\n } else { //rainbow\n if (value <= this.minRainbow) {\n return this.minColor.getRGB();\n } else if (value >= this.maxRainbow){\n return this.maxColor.getRGB();\n } else { // in rainbow zone\n float newVal = (float)(hueMin + ((value-this.minRainbow)/(this.maxRainbow-this.minRainbow) * (hueMax-hueMin)));\n return Color.HSBtoRGB(newVal, 1.0f, 1.0f);\n }\n }\n }\n }", "title": "" }, { "docid": "a41003a003b343f47b8a670c10140133", "score": "0.45454273", "text": "public Color getRawRGB() {\n\t\trgb.fetchSample(samples, 0);\n\t\treturn new Color((int)(samples[0]*255), \n\t\t\t\t\t\t (int)(samples[1]*255), \n\t\t\t\t\t\t (int)(samples[2]*255));\n\t}", "title": "" }, { "docid": "88e33d5c3abb4c5611b09ce620a58ee4", "score": "0.45276552", "text": "@Override\n\tpublic void normalise(double power) {\n\t\t// Compute the original power\n\t\tdouble originalPower = getPower();\n\t\t\n\t\t// Return if 0 (any scaling leads to of 0 is 0)\n\t\tif (originalPower == 0.0) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// Scale values\n\t\t// We recompute the new power because of rounding issues\n\t\tdouble ratio = power / originalPower;\n\t\tdouble newPower = 0.0;\n\t\tfor (int i = 0; i < vector.size(); i++) {\n\t\t\tdouble val = vector.get(i);\n\t\t\tvector.set(i, val * ratio);\n\t\t\tnewPower += val * val;\n\t\t}\n\t\t\n\t\t// Set the new power\n\t\tthis.power = newPower;\n\t}", "title": "" }, { "docid": "5afa73530c8058ef32b4f17bba00e621", "score": "0.4524467", "text": "protected void computeScale(){\n\t \txmin = Float.NaN;\n\t \txmax = Float.NaN;\n\t \tymin = Float.NaN;\n\t \tymax = Float.NaN;\n\t \tfor(Trace t : traces){\n\t \t\tfor(Point p : t.trace){\n\t \t\t\tif(xmin != xmin){\n\t \t\t\t\txmin = xmax = p.x;\n\t \t\t\t\tymin = ymax = p.y;\n\t \t\t\t}\n\t \t\t\tif(p.x < xmin)\n\t \t\t\t\txmin = p.x;\n\t \t\t\tif(p.x > xmax)\n\t \t\t\t\txmax =p.x;\n\t \t\t\t\t\n\t \t\t\tif(p.y < ymin)\n\t \t\t\t\tymin = p.y;\n\t \t\t\tif(p.y > ymax)\n\t \t\t\t\tymax =p.y;\n\t \t\t}\n\t \t}\n\t \t\n\t \txs = w/(xmax-xmin);\n\t\t ys = h/(ymax-ymin);\n\t\t xo = -xmin*xs;\n\t\t yo = -ymin*ys;\n\t\t \n\t }", "title": "" }, { "docid": "b17091828e1c3eddfe9eae498312a081", "score": "0.4523201", "text": "private static int calculateOtsu(Mat imgInput, int [] histData){\n\n //Process input image\n byte imgData[] = new byte[imgInput.rows() * imgInput.cols()];\n imgInput.get(0, 0, imgData); //Get all pixels\n\n //Calculate the histogram\n int ptr =0;\n while(ptr < imgData.length){\n int h = 0xff & imgData[ptr];\n histData[h] ++;\n ptr ++;\n }\n\n //Total number of pixels\n int total = imgData.length;\n float sum = 0;\n for (int t =0; t < 256; t++){\n sum += t * histData[t];\n }\n\n float sumB =0;\n int wB = 0;\n int wF;\n\n float varMax = 0;\n int threshold = 0;\n\n for(int t = 0; t < 256; t++){\n wB += histData[t]; //Weight of background\n if(wB == 0) continue;\n\n wF = total - wB; //Weight of foreground\n if(wF == 0) break;\n\n sumB += (float) (t * histData[t]);\n\n float mB = sumB / wB; //Mean of background\n float mF = (sum - sumB) / wF; //Mean of foreground\n\n //Calculate between class variance\n float varBetween = (float)wB * (float)wF * (mB - mF) * (mB - mF);\n\n //Check if new maximum found\n if(varBetween > varMax){\n varMax = varBetween;\n threshold = t;\n }\n }\n\n return threshold - 50;\n }", "title": "" }, { "docid": "e353faa892b1a32f8471735e0e6af8f9", "score": "0.45175016", "text": "private void rescale() {\n\tint[] freqs = new int[_count.length];\n\tfor (int i = 1; i < freqs.length; ++i)\n\t freqs[i] = (_count[i] - _count[i-1] + 1) / 2; // compute from cumulative; round up\n\tfor (int i = 1; i < _count.length; ++i) // compute cumulative;\n\t _count[i] = _count[i-1] + freqs[i]; // _count[0] = 0 is implicit\n }", "title": "" }, { "docid": "4911be79b0224a38723c7bece61020a6", "score": "0.45121783", "text": "public void histogram(ImageGray input , int minValue , int histogram[], ImageStatistics IS) {\n\t\tif( GrayU8.class == input.getClass() ) {\n\t\t\tIS.histogram((GrayU8)input,histogram);\n\t\t} else if( GrayS8.class == input.getClass() ) {\n\t\t\tIS.histogram((GrayS8)input,minValue,histogram);\n\t\t} else if( GrayU16.class == input.getClass() ) {\n\t\t\tIS.histogram((GrayU16)input,histogram);\n\t\t} else if( GrayS16.class == input.getClass() ) {\n\t\t\tIS.histogram((GrayS16)input,minValue,histogram);\n\t\t} else if( GrayS32.class == input.getClass() ) {\n\t\t\tIS.histogram((GrayS32)input,minValue,histogram);\n\t\t} else if( GrayS64.class == input.getClass() ) {\n\t\t\tIS.histogram((GrayS64)input,minValue,histogram);\n\t\t} else if( GrayF32.class == input.getClass() ) {\n\t\t\tIS.histogram((GrayF32)input,minValue,histogram);\n\t\t} else if( GrayF64.class == input.getClass() ) {\n\t\t\tIS.histogram((GrayF64)input,minValue,histogram);\n\t\t} else {\n\t\t\tthrow new IllegalArgumentException(\"Unknown image Type\");\n\t\t}\n\t}", "title": "" }, { "docid": "6680a369d580a091ecd99776d7f54a45", "score": "0.45099062", "text": "private void meanCalc(){\t\t\n\t\tListIterator li = this.store.listIterator();\n\t\tfloat dim = (float) this.store.size();\n\t\tint x, y;\n\t\tCoord2D next;\t\t\n\t\tif (ip instanceof ColorProcessor) {\n\t\t\tfloat sumR = 0, sumG = 0, sumB = 0;\n\t\t\twhile (li.hasNext()) {\n\t\t\t\tnext = (Coord2D) li.next();\n\t\t\t\tx = (int) next.X();\n\t\t\t\ty = (int) next.Y();\n\t\t\t\tsumR += colProc.getColor(x, y).getRed();\n\t\t\t\tsumG += colProc.getColor(x, y).getGreen();\n\t\t\t\tsumB += colProc.getColor(x, y).getBlue();\n\t\t\t}\n\t\t\tthis.meanRGB[0] = (sumR/dim);\n\t\t\tthis.meanRGB[1] = (sumG/dim);\n\t\t\tthis.meanRGB[2] = (sumB/dim);\n\t\t}\n\t\t\n\t\t\n\t\telse {\n\t\t\tint offset, l;\n\t\t\tfloat sum = 0;\n\t\t\twhile (li.hasNext()) {\n\t\t\t\tnext = (Coord2D) li.next();\n\t\t\t\tx = (int) next.X();\n\t\t\t\ty = (int) next.Y();\n\t\t\t\toffset = y*w;\n\t\t\t\tl = x+offset;\n\t\t\t\tsum += pixValues[l];\t\t\t\n\t\t\t}\n\t\t\tthis.mean = (sum/dim);\n\t\t}\t\t\t\t\n\t}", "title": "" }, { "docid": "5e808c1a13e2204c570e517245999d5f", "score": "0.45074397", "text": "public void recomputeColors() {\r\n\t\trecomputeSpectralColors();\r\n\t\tcomputeColors();\r\n\t}", "title": "" }, { "docid": "68f13e958b60b9836c2d40d979c2665c", "score": "0.45065734", "text": "public float[] calcIntensityScaleExtrema(float maxRI, float minRI,\n float maxRaw, float minRaw,\n int sampleNbr);", "title": "" }, { "docid": "28adf086bec5ce20569c427e5e69dd47", "score": "0.45046413", "text": "public static int IsoData(int[] histogram) {\n \n int level;\n int maxValue = histogram.length - 1;\n double result, sum1, sum2, sum3, sum4;\n\n // locate the range of the histogram \n int min = 0;\n while ((histogram[min] == 0) && (min < maxValue)) {\n min++;\n }\n int max = maxValue;\n while ((histogram[max] == 0) && (max > 0)) {\n max--;\n }\n\n\n if (min >= max) {\n level = histogram.length / 2;\n return level;\n\n }\n\n int movingIndex = min;\n\n // approximation of the means\n // the mean of an image can be calculated from the histogram as:\n // sum i*hisogram(i) / sum histogram(i)\n\n do {\n sum1 = sum2 = sum3 = sum4 = 0.0;\n for (int i = min; i <= movingIndex; i++) {\n sum1 += i * histogram[i];\n sum2 += histogram[i];\n }\n for (int i = (movingIndex + 1); i <= max; i++) {\n sum3 += i * histogram[i];\n sum4 += histogram[i];\n }\n result = (sum1 / sum2 + sum3 / sum4) / 2.0;\n movingIndex++;\n } while ((movingIndex + 1) <= result && movingIndex < max - 1);\n \n level = (int) Math.round(result);\n return level;\n\n }", "title": "" }, { "docid": "684c988a8d55c911b5c5da044ae7caa4", "score": "0.45027083", "text": "public Histogram(int[] histogram, Range originalRange) {\n this.histogram = histogram;\n this.originalRange = originalRange;\n }", "title": "" }, { "docid": "b37da4937013804a958ed1d824024718", "score": "0.44993073", "text": "private void getHistograms() {\n histogramLabel.setText(\"\");\n\n try {\n hist = new ImageIcon(images.get(IMAGES.STANDARD).getHistogram(false));\n histFloored = new ImageIcon(images.get(IMAGES.STANDARD).getHistogram(true));\n }\n catch (Exception e) {\n\n }\n if (hist == null || histFloored == null) histogramLabel.setText(histogramError);\n\n showHistogram();\n }", "title": "" }, { "docid": "7f37207748a5d36c3c3a5e08829eb270", "score": "0.44936317", "text": "protected MetricMDNUNMEntropyOriginalNormalized() {\n super();\n }", "title": "" }, { "docid": "3693ce91da0a0bf2959b60d6362db824", "score": "0.44935316", "text": "public double normalize(double[] vector) {\n if(vector.length != 2) {\n return -1;\n }\n\n double scale0 = vector[0] * vector[0];\n double scale1 = vector[1] * vector[1];\n\n double magnitude = Math.sqrt(scale0 + scale1);\n\n return vector[1] / magnitude;\n }", "title": "" }, { "docid": "22fda24f1dafaca5c2bd7411caa34b8b", "score": "0.44918665", "text": "private int normalizedIndex(int keyHash) {\n\t\treturn (keyHash & 0x7FFFFFFF) % capacity;\n\t}", "title": "" }, { "docid": "538cc2233a62e9f62779e4ce4bd644c8", "score": "0.44820082", "text": "public void createHistogram() {\n\t\ttry {\n\t\t\tfor (int img = 1; img <= 100; img++) {\n\t\t\t\tBufferedImage image = ImageIO.read(new File(\"images/\" + img + \".jpg\"));\n\t\t\t\tint intensity = 0;\n\t\t\t\tfor (int i = 0; i < image.getWidth(); i++) {\n\t\t\t\t\tfor (int j = 0; j < image.getHeight(); j++) {\n\t\t\t\t\t\tint color = image.getRGB(i, j);\n\t\t\t\t\t\tint red = (color & 0x00ff0000) >> 16;\n\t\t\t\t\t\tint green = (color & 0x0000ff00) >> 8;\n\t\t\t\t\t\tint blue = color & 0x000000ff;\n\t\t\t\t\t\tintensity = (int) ((0.299 * red) + (0.587 * green) + (0.114 * blue));\n\t\t\t\t\t\thistogram[img][0] = image.getWidth() * image.getHeight();\n\t\t\t\t\t\tfor (int his = 1; his <= 25; his++) {\n\t\t\t\t\t\t\tif (intensity / 10 == his - 1) {\n\t\t\t\t\t\t\t\thistogram[img][his] = histogram[img][his] + 1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}\n\n\t}", "title": "" }, { "docid": "4b4e6c926e75068205df542747c2faf8", "score": "0.44793874", "text": "protected abstract float scaleFilter(float value, float min, float max);", "title": "" }, { "docid": "f413525d250adbeaeec7fe675a98464b", "score": "0.4473855", "text": "public double redMean()\n {\n double mean = 0.f;\n\n for (int v = 0; v < getHeight(); v++)\n {\n for (int u = 0; u < getWidth(); u++)\n {\n mean += red(u, v);\n }\n }\n mean /= getWidth() * getHeight();\n return mean;\n }", "title": "" }, { "docid": "098ac219abd59c340de572748cc6de65", "score": "0.44716328", "text": "private static void colorThresh(Mat src, int threshold) {\n Size srcSize = src.size();\n int size = (int) (srcSize.height * srcSize.width) * 3;\n byte[] d = new byte[size];\n src.get(0, 0, d);\n\n for (int i = 0; i < size; i += 3) {\n\n // the \"& 0xff\" operations are needed to convert the signed byte to double\n\n // avoid unneeded work\n if ((double) (d[i] & 0xff) == 255) {\n continue;\n }\n\n double max = Math.max(Math.max((double) (d[i] & 0xff), (double) (d[i + 1] & 0xff)), (double) (d[i + 2] & 0xff));\n double mean = ((double) (d[i] & 0xff) + (double) (d[i + 1] & 0xff) + (double) (d[i + 2] & 0xff)) / 3;\n\n if (max > threshold && mean < max * 0.8) {\n d[i] = (byte) ((double) (d[i] & 0xff) * 255 / max);\n d[i + 1] = (byte) ((double) (d[i + 1] & 0xff) * 255 / max);\n d[i + 2] = (byte) ((double) (d[i + 2] & 0xff) * 255 / max);\n } else {\n d[i] = d[i + 1] = d[i + 2] = 0;\n }\n }\n src.put(0, 0, d);\n }", "title": "" }, { "docid": "805cb57c8252b3ae8c695575cf059989", "score": "0.44664967", "text": "@Override\n\tpublic Color apply(Double value) {\n\t\treturn Color.getHSBColor(hue, saturation, 1 - intensityScale.apply(value).floatValue());\n\t}", "title": "" } ]
9e4494469315e0488e6c95d7d23a1162
Will play a note based on the input
[ { "docid": "b47d745449be5374b6d02cb54824796e", "score": "0.596167", "text": "@Override\n public void playNote(int index){\n for (int a = 0; a <3; a++){\n pStrings[index][a].pluck();\n }\n }", "title": "" } ]
[ { "docid": "c375e83f6acf4ea08a5ee6bf847a9a1e", "score": "0.72176963", "text": "public void playSong() {\n\t\t// Initialize\n\t\tint num = 1;\n\n\t\t// Get the notes to be played from the entryBox\n\t\tString notesString = \"V0 \" + instrumentType + \" \" + entryBox.getText();\n\n\t\t// Create a new rhythm object\n\t\tRhythm rhythm = new Rhythm();\n\n\t\t// Get the rhythm strings from the rhythm entry boxes\n\t\tString rhythmLayer1 = \"V1 \" + rhythm1.getText();\n\t\tString rhythmLayer2 = \"V2 \" + rhythm2.getText();\n\n\t\t// Set the strings to layers\n\t\trhythm.setLayer(1, rhythmLayer1);\n\t\trhythm.setLayer(2, rhythmLayer2);\n\n\t\t// Add the appropriate substitutions\n\t\trhythm.addSubstitution('O', \"[BASS_DRUM]i\");\n\t\trhythm.addSubstitution('o', \"Rs [BASS_DRUM]s\");\n\t\trhythm.addSubstitution('*', \"[ACOUSTIC_SNARE]i\");\n\t\trhythm.addSubstitution('^', \"[PEDAL_HI_HAT]s Rs\");\n\t\trhythm.addSubstitution('!', \"[CRASH_CYMBAL_1]s Rs\");\n\t\trhythm.addSubstitution('.', \"Ri\");\n\n\t\t// Get the rhythm pattern\n\t\tPattern rhythmPattern = rhythm.getPattern();\n\n\t\t// Get how many times the song should repeat\n\t\tString repeatNum = repeatNumber.getText();\n\t\tnum = Integer.parseInt(repeatNum);\n\n\t\t// Get the playback tempo\n\t\tString playTempo = \"T[\" + tempo.getText() + \"] \";\n\n\t\t// Create the song\n\t\tPattern song = new Pattern();\n\t\tsong.add(rhythmPattern);\n\t\tsong.add(notesString);\n\t\tsong.repeat(num);\n\n\t\t// Play the song\n\t\tplayer.play(playTempo + song);\n\n\t}", "title": "" }, { "docid": "761fe39eafa4128cfd0f3fd1d81de350", "score": "0.7166644", "text": "public void playNote ( Location loc , byte instrument , byte note ) {\n\t\texecute ( handle -> handle.playNote ( loc , instrument , note ) );\n\t}", "title": "" }, { "docid": "8073d6b292d58cb662bd4e53e76f0e78", "score": "0.7147445", "text": "public void playNote ( Location loc , Instrument instrument , Note note ) {\n\t\texecute ( handle -> handle.playNote ( loc , instrument , note ) );\n\t}", "title": "" }, { "docid": "b00558d6a0949cc21699701e23da402b", "score": "0.70717585", "text": "void note(float start, float duration, float freq){\n\t out.playNote(start,duration,freq); \n\t }", "title": "" }, { "docid": "afe436d533de52c5d7a471e5191d3fd6", "score": "0.69755685", "text": "public void playNote(int pitch) {\n\t\tsynthChannel.noteOn(pitch, MusicManager.SYNTH_NOTE_VELOCITY);\n\t}", "title": "" }, { "docid": "526439d3835a51f86affacc20c411056", "score": "0.6786068", "text": "private void playNotes()\n\t{\n\t\t//Update tracks when we can shift chords.\n\t\tChord curChord = ClearComposer.cc.getChord();\n\t\tif (index % ClearComposer.cc.getChordInterval() == 0 && (prevChord == null || prevChord != curChord))\n\t\t{\n\t\t\tprevChord = curChord;\n\t\t\ttracks.forEach(GraphicTrack::updateChord);\n\t\t\tClearComposer.cc.updateChordOutlines();\n\t\t}\n\n\t\tfor (GraphicTrack track : tracks)\n\t\t{\n\t\t\tint temp = track.playNote(index);\n\t\t\tif (temp != -1)\n\t\t\t\tMusicPlayer.playNote(temp);\n\t\t}\n\n\t\tindex++;\n\t\twhile (index >= ClearComposer.cc.getNumNotes())\n\t\t\tindex -= ClearComposer.cc.getNumNotes();\n\t}", "title": "" }, { "docid": "76fb422dc570bd3ee6db9652dcc41a53", "score": "0.6783606", "text": "protected void playPatch(Patch p) {\n if (AppConfig.getSequencerEnable())\n playSequence();\n else\n playNote();\n }", "title": "" }, { "docid": "b3242c8b5221aec103ce6e7e88637327", "score": "0.6651676", "text": "public void play() { \r\n if (midi) \r\n sequencer.start(); \r\n else \r\n clip.start(); \r\n timer.start(); \r\n play.setText(\"Stop\"); \r\n playing = true; \r\n }", "title": "" }, { "docid": "f62ccf0c6d37ac82c51e80d231bf9577", "score": "0.655133", "text": "public void play() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b1bb438432a683d798ab0ec61f6f2993", "score": "0.6534221", "text": "public void playPiece() {\n \t\n System.out.println(\"Title: \" + this.title);\n System.out.println(\"Composer: \" + this.composer);\n System.out.println(\"Played in \" + this.meterNumerator + \"/\" + this.meterDenominator + \" time @ \" + this.tempoSpeed + \" BPM.\");\n SequencePlayer player;\n try {\n \t\n \t// Create an instance of LyricListener and add a processLyricEvent to print out lyrics\n LyricListener listener = new LyricListener() {\n public void processLyricEvent(String text) {\n System.out.println(text);\n }\n };\n \n // Iterates through each MusicalPhrase and queues the notes to be played by the SequencePlayer\n player = new SequencePlayer(this.getTempo(), this.getTicksPerBeat(), listener);\n for (MusicalPhrase phrase : this.phrases) {\n int tickCount = 0;\n for (Bar bar : phrase.getBars()) {\n for (Note note : bar.getNotes()) {\n int ticksPerNote = this.getTicksPerBeat() * this.tempoDenominator * note.getNumerator() / this.tempoNumerator / note.getDenominator();\n if (note instanceof PitchNote) {\n for(int i=0; i<note.getNote().length; i++) { \n // getTicksPerBeat gives you the default amount for a note = tempoNum/tempoDen\n // We want ticks for a note that is noteNum / noteDen\n \tplayer.addNote(note.getNote()[i], tickCount, ticksPerNote);\n }\n if (!(note.getLyric().equals(\"\"))) {\n player.addLyricEvent(note.getLyric(), tickCount);\n }\n }\n tickCount += ticksPerNote;\n }\n }\n }\n player.play();\n }\n catch (Exception e) {\n e.printStackTrace();\n } \n }", "title": "" }, { "docid": "aa1f5cde358d5b04dc6a70d7f0ba9038", "score": "0.6449173", "text": "public void play(){\n\t\t\n\t}", "title": "" }, { "docid": "4d0fa4dac47198aced8c6675b07a2a5f", "score": "0.64238876", "text": "void play();", "title": "" }, { "docid": "7ff990f10e422600afe32482d9420d58", "score": "0.6416875", "text": "private void play() {\n\t\tlog.finest(\"Playing sound\");\n\t\ttone.trigger();\n\t}", "title": "" }, { "docid": "4254b7255541fdf8545f43b35d5f156f", "score": "0.6388887", "text": "public String interact() {\n return sound;\n }", "title": "" }, { "docid": "426e2f17ea179f56da631ce4b69e609b", "score": "0.6373322", "text": "public void play() { \r\n\t System.out.printf(\"Playing Song: artist=%-20s title=%s\\n\", artist, title);\r\n\t}", "title": "" }, { "docid": "cfb8e636d7bf8bfd8086abc4a20a34a4", "score": "0.6361646", "text": "@Override\n\tpublic void play() {\n\t\tGuitar.super.play();\n\t\tPiano.super.play();\n\t}", "title": "" }, { "docid": "be6489bb4e3cbb92bfb643ae1d8def2a", "score": "0.63524497", "text": "@Override\n\tpublic void play() {\n\n\t}", "title": "" }, { "docid": "2a8c43c742d0b403561d1b4c7dca43e3", "score": "0.6326366", "text": "@Override\n\tpublic void play() {\n\t\t\n\t}", "title": "" }, { "docid": "8e92ac2c049877f7994a077f94371499", "score": "0.6298243", "text": "@Override\n\tpublic void play(String position, int number) {\n\t\t\n\t}", "title": "" }, { "docid": "bc8809a08200d4bcf5116e28a5e736e5", "score": "0.62703085", "text": "private void playSound(int index, float pitch) {\n try {\n metaObject.playSound(index, pitch, 1f);\n } catch (NullPointerException | IndexOutOfBoundsException ex) {\n System.out.println(\"Could not play sound with index \" + index + \" for \" + this.toString() + \".\");\n }\n }", "title": "" }, { "docid": "a8b2e44dae7857ca7ca5f65b30caa2d5", "score": "0.62684906", "text": "public void Play();", "title": "" }, { "docid": "60f7c9a061e013edb51b99960e83d5b3", "score": "0.6268127", "text": "public void play() {\n\t\tSystem.out.println(\"playing \"+title);\r\n\t}", "title": "" }, { "docid": "9425977f64d74cd9651976357718047f", "score": "0.62525916", "text": "public void playSoundAt(IPos pos, String sound, float volume, float pitch);", "title": "" }, { "docid": "a9ea6e2cad1729842a1dacff44f6a6ab", "score": "0.6252185", "text": "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tif (!myRec.get(index).isBeat()) {\n\n\t\t\t\t\t\tLog.i(\"recstart\",\n\t\t\t\t\t\t\t\t\"about to play note: \"\n\t\t\t\t\t\t\t\t\t\t+ myRec.get(index).getNoteToPlay());\n\t\t\t\t\t\tsp.playNote(myRec.get(index).getNoteToPlay(), 1);\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// is beat\n\t\t\t\t\t\tplayBeat(myRec.get(index).getBeat());\n\t\t\t\t\t\tLog.i(\"recstart\", \"is a beat! playing beat: \"\n\t\t\t\t\t\t\t\t+ myRec.get(index).getBeat());\n\t\t\t\t\t}\n\t\t\t\t}", "title": "" }, { "docid": "95db7271993dcaf63c9839d25520fb90", "score": "0.62372786", "text": "void play ();", "title": "" }, { "docid": "35be11917a93d1e738e52f3b1bde353d", "score": "0.6224782", "text": "public void play() {\n\t\tplay(true, true);\n\t}", "title": "" }, { "docid": "69082d40ac4128772c985e0cc61d27dd", "score": "0.62194854", "text": "@Override\n\tpublic void play() {\n\t\tSystem.out.println(\"We played Snokker today\");\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "3ebc8ff2ef58c72621f640979e8133ed", "score": "0.620764", "text": "public void play() {\n\t\tSystem.out.println(\"playing \"+title+\" by \" +artist);\n\t}", "title": "" }, { "docid": "ff6f1756309a1d5f1a0b51864f1c76b5", "score": "0.6200674", "text": "public abstract void play();", "title": "" }, { "docid": "ff6f1756309a1d5f1a0b51864f1c76b5", "score": "0.6200674", "text": "public abstract void play();", "title": "" }, { "docid": "3dddc5561657eccbf8e767dd33b7518c", "score": "0.6197439", "text": "public static play() {\n\t\t\n\t}", "title": "" }, { "docid": "40c3ab96d2ae514cf82140da4408ec05", "score": "0.61901826", "text": "public static void main(String[] args) {\n ___ NUM_NOTES = ___;\n\n // input root note\n int root = Integer.parseInt(args[0]);\n\n // choose a random MIDI note within an octave above the root\n int rand = _____________;\n System.out.println(rand);\n\n // Plays the note\n StdAudio.play(note(midiToFreq(rand), 1, 1));\n }", "title": "" }, { "docid": "02e261064b925d216dc0717c999229a7", "score": "0.6171669", "text": "public static void main(String args[]) throws Exception\r\n {\n File f=new File(\"song.mp3\");\r\n\r\n\r\n // Create a Player object that realizes the audio\r\n final Player p=Manager.createRealizedPlayer(f.toURI().toURL());\r\n\r\n\r\n // Start the music\r\n p.start();\r\n\r\n\r\n // Create a Scanner object for taking input from cmd\r\n Scanner s=new Scanner(System.in);\r\n\r\n\r\n // Read a line and store it in st\r\n String st=s.nextLine();\r\n\r\n\r\n // If user types 's', stop the audio\r\n if(st.equals(\"s\"))\r\n {\r\n p.stop();\r\n }\r\n }", "title": "" }, { "docid": "7e2ba3c3cc9f209a0d940235cc5a95d1", "score": "0.61708564", "text": "public void startPlayback() {\n Scanner userInput = new Scanner(System.in);\n while(true) {\n System.out.println(\"Please press the \\\"p\\\" key when you are ready to begin playback\");\n String input = userInput.next();\n if (input.equals(\"p\")) {\n new Thread(() -> {\n try {\n \n SequencePlayer musicPlayer = new MidiSequencePlayer(DEFAULT_BPM, DEFAULT_TPB);\n try {\n music.play(musicPlayer, 0, new ByteArrayOutputStream(), \"\");\n } catch (InterruptedException e1) {\n throw new RuntimeException(\"error\");\n }\n synchronized(this.music) {\n music.notifyAll();\n }\n Object lock = new Object();\n musicPlayer.addEvent(music.duration(), (Double beat) -> {\n synchronized (lock) {\n lock.notify();\n }\n });\n musicPlayer.play();\n synchronized (lock) {\n try {\n lock.wait();\n } catch (InterruptedException e) {\n return;\n }\n } \n } catch (MidiUnavailableException e) {\n throw new RuntimeException(\"MidiSequencePlayer could not be created\");\n } catch (InvalidMidiDataException e) {\n throw new RuntimeException(\"MidiSequencePlayer could not be created\");\n }\n \n }).start();\n } else {\n System.out.println(\"Invalid Input.\");\n }\n System.out.println(\"If you would like to play the music again, please type \\\"r\\\" followed by the Enter key. \\n Otherwise type \\\"q\\\" followed by the Enter key.\");\n input = userInput.nextLine();\n if (input.equals(\"q\")) {\n System.out.println(\"Goodbye\");\n break;\n } else if (!input.equals(\"r\")) {\n System.out.println(\"Invalid Input\");\n break;\n }\n }\n userInput.close();\n }", "title": "" }, { "docid": "157dbb2c1280fc09af1fbc2c6e5222bb", "score": "0.6163348", "text": "public void play() {\n\t\ttry {\n\t\t\taudioInput = AudioSystem.getAudioInputStream(this.music);\n\t\t\tclip.open(audioInput);\n\t\t\tclip.start();\n\t\t} catch (UnsupportedAudioFileException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (LineUnavailableException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "77d9f3b56664c9e044e5543b08983a85", "score": "0.6146509", "text": "boolean play();", "title": "" }, { "docid": "c243548e1397ad6c80b07a9386075388", "score": "0.61372316", "text": "public abstract String play(SoundLibrary library, String... sound);", "title": "" }, { "docid": "7283c82fda8de85dd436ebbcb073fb59", "score": "0.6136271", "text": "@Override\n\tpublic void playSequenceFromString(String noteString, int instrument) {\n\t\ttry {\n\t\t\tstopCurrentSound();\n\t\t\tcurrentSoundType = SOUNDTYPE_MIDI;\n\t\t\tgetMidiSound().playSequenceFromJFugueString(noteString, instrument);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "293244cbc512aa8b446f90a84fa08304", "score": "0.61333114", "text": "@Override\n\tpublic void playSequenceNote(final int note, final double duration,\n\t\t\tfinal int instrument, final int velocity) {\n\t\ttry {\n\t\t\tstopCurrentSound();\n\t\t\tcurrentSoundType = SOUNDTYPE_MIDI;\n\t\t\tgetMidiSound().playSequenceNote(note, duration, instrument);\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "626bc7e91373a2bd4852729659a59df3", "score": "0.6119866", "text": "@Override\n public void onClick(View view)\n {\n /**\n * get the id of the button clicked\n * use the map to figure out what note to play\n * play the note\n * **/\n int id = view.getId();\n int note = noteMap.get(id);\n playNote(note);\n }", "title": "" }, { "docid": "31a9948b83e980ecaaffd7c55c58f4e9", "score": "0.6108268", "text": "public void ChangeMusic(int musicnum, boolean looping);", "title": "" }, { "docid": "f939ff3c8a071a9040d2c7a0a8c17cab", "score": "0.60865617", "text": "public static void playLazySong(){\n\n\t\tint channel = 0; // 0 is a piano, 9 is percussion, other channels are for other instruments\n\n\t\ttry {\n\t\t\tSynthesizer synth = MidiSystem.getSynthesizer();\n\t\t\tsynth.open();\n\t\t\tchannels = synth.getChannels();\n\t\t\t\n\t\t\tplayChorus();\n\t\t\t\n\t\t\tchannels[channel].allNotesOff();\n\t\t\tThread.sleep( 500 );\n\n\t\t\tsynth.close();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "091ada776473861b28c3784fbe98059f", "score": "0.60855615", "text": "@Override\r\n\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\t\tNoteInJson[] pattern=gpt.getPattern();\r\n\t\t\t\t\t\t\t\t\t\t\tgotoLiveView(pattern,sound_cache);\r\n\t\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "4709695443bc2ccc26d14d7a21a75e25", "score": "0.60804415", "text": "@Override\n public void beHelpful() {\n this.playPiano();\n this.takeABow();\n }", "title": "" }, { "docid": "a8afecb56c56810e7d7f9953ba8e8295", "score": "0.6068272", "text": "@Override\n\t\tpublic void run() {\n\t\t\tgenTone();\n\t\t\tplaySound();\n\t\t}", "title": "" }, { "docid": "daec6179205e83ec4589b7effe84b721", "score": "0.6052868", "text": "public void play() {\r\n\t\tSystem.out.println(\"Playing Cricket with ball and bat\");\r\n\t}", "title": "" }, { "docid": "b54af8a88739443b15b60c25fa9214e9", "score": "0.6037083", "text": "public void foodSound(){\n if (enableSound){\r\n\t clip.play();\r\n }\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2603686b6a1117dca527530e8072d6db", "score": "0.6028022", "text": "public void play() {\n\t\tline.start();\n\t\tloop = false;\n\t\tnumLoops = 0;\n\t\tplay = true;\n\t\t// will wake up our data processing thread.\n\t\t// iothread.interrupt();\n\t}", "title": "" }, { "docid": "e1bf037871442199ab1d68717c81d124", "score": "0.60187846", "text": "public void playFromNotification() {\n play(mRadioUrl);\n }", "title": "" }, { "docid": "ad495f318d301f81b0b9f2aae98364af", "score": "0.6011739", "text": "void addNote(int duration, int octave, int beatNum, String pitch)\n throws IllegalArgumentException;", "title": "" }, { "docid": "91f8f78dbf4933fd6f996e245d07cf9a", "score": "0.6010973", "text": "public void play() \n{\n s = !s; \n if (s == false)\n {\n //pausets = millis()/4;\n controlP5.getController(\"play\").setLabel(\"Play\");\n } else if (s == true)\n {\n //origint = origint + millis()/4 - pausets;\n controlP5.getController(\"play\").setLabel(\"Pause\");\n }\n}", "title": "" }, { "docid": "7c0c544f36a95b687612daee1382f711", "score": "0.6010971", "text": "private static void playAudio(String musicFile) {\n }", "title": "" }, { "docid": "a78717c016bbe14fb61a063379f65f2f", "score": "0.60028", "text": "public void play() {\n //Set up the timer if needed\n if (!dataGame.isTrainingMode()) {\n timer = new Timer();\n secondsPassed = 65;\n TimerTask task = new TimerTask() {\n public void run() {\n secondsPassed--;\n //Before the game starts, countdown:\t\t\t\t\t\n if (secondsPassed > 63) {\n dataGame.notifyObserverTime(\"Be ready !\");\n } else if (secondsPassed == 63) {\n dataGame.notifyObserverTime(Integer.toString(3));\n } else if (secondsPassed == 62) {\n dataGame.notifyObserverTime(Integer.toString(2));\n } else if (secondsPassed == 61) {\n dataGame.notifyObserverTime(Integer.toString(1));\n } else if (secondsPassed == 60) {\n dataGame.notifyObserverTime(\"GO !\");\n pickNewWord();\n } else if (secondsPassed == 0) {\n dataGame.notifyObserverTime(\"STOP\");\n stop(false);\n } else {\n dataGame.notifyObserverTime(Integer.toString(secondsPassed));\n }\n }\n };\n timer.scheduleAtFixedRate(task, 100, 1000); //After 100ms, the timer starts, it decreases every seconds\n } else {\n pickNewWord();\n }\n }", "title": "" }, { "docid": "3f203a4d38ef83ef375c7f07ea8e9bc7", "score": "0.59936965", "text": "@Override\n\tpublic void play() {\n\t\tSystem.out.println(\"打击乐器奏乐~~!\");\n\t}", "title": "" }, { "docid": "3faae7af36c0ac80fd543191c0b51acd", "score": "0.5960491", "text": "public abstract void makeSound();", "title": "" }, { "docid": "0a8abc0aff58512a1da7f2e412a9ee07", "score": "0.59474206", "text": "public void playAudio() {\n\n }", "title": "" }, { "docid": "a6d0e59aa0b77fbd37c915b91ce7b41d", "score": "0.59409356", "text": "void addNote(int duration, int octave, int beatNum, int instrument, int volume, String pitch)\n throws IllegalArgumentException;", "title": "" }, { "docid": "39f0993d43a9ee655c8a68ca0851e6f3", "score": "0.5936251", "text": "public void ReproduceAudio() { \r\n\t\ttry {\r\n\t\t\t//en caso de que como nombre pongas \"undertale\" la musica sera diferente.\r\n\t\t\tif (Menu.jugador.equals(\"undertale\") || Menu.jugador.equals(\"Undertale\")) {\r\n\t\t\t\trepro.AbrirFichero(\"C:\\\\Temp\\\\Sonidos\\\\undertale.wav\");\r\n\t\t\t\t//emppieza la musica\r\n\t\t\t\trepro.Play();\r\n\t\t\t//musica por defecto\r\n\t\t\t} else {\r\n\t\t\t\trepro.AbrirFichero(\"C:\\\\Temp\\\\Sonidos\\\\tetris.mp3\");\r\n\t\t\t\trepro.Play();\r\n\t\t\t}\t\r\n\t\t} catch (Exception ex) {\r\n\t\t\tSystem.out.println(\"Error: \" + ex.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b13e6d79a84d250ef9059577a74a2a4e", "score": "0.59361005", "text": "public void play() {\n\t\tSystem.out.println(\"ting.. ting...\");\n\t}", "title": "" }, { "docid": "651f0b4a11fcffae01103414994bc358", "score": "0.5935011", "text": "@Override\n public void makeSound() {\n\n }", "title": "" }, { "docid": "651f0b4a11fcffae01103414994bc358", "score": "0.5935011", "text": "@Override\n public void makeSound() {\n\n }", "title": "" }, { "docid": "d6a16405ed8dd820b27b6a46b3548879", "score": "0.59150225", "text": "void openNote(Note note, int position);", "title": "" }, { "docid": "afa9cf0c9d6e3b66d9be651e58b5b529", "score": "0.59072274", "text": "@Override\r\n public void play()\r\n {\n\r\n }", "title": "" }, { "docid": "ab8a03d7d54b9cfc69c8e34f54688a5c", "score": "0.59051704", "text": "public void sendMessage(final int note) {\n final ShortMessage myMsg = new ShortMessage();\n final long timeStamp = -1;\n\n // hard-coded a moderate velocity of 93 because there is no way of tracking speed of finger movement\n try {\n myMsg.setMessage(ShortMessage.NOTE_ON, 0, note, 93);\n } catch (final InvalidMidiDataException e) {\n System.err.println(\"Could not send midi message! \");\n System.err.println(e.getMessage());\n }\n this.midiReceiver.send(myMsg, timeStamp);\n\n// turn the note off after one second of playing\n final ExecutorService service = Executors.newFixedThreadPool(1);\n service.submit(() -> {\n try {\n Thread.sleep(1000);\n //stop old note from playing\n myMsg.setMessage(ShortMessage.NOTE_OFF, 0, note, 0);\n this.midiReceiver.send(myMsg, timeStamp);\n } catch (final InterruptedException | InvalidMidiDataException e) {\n e.printStackTrace();\n }\n });\n }", "title": "" }, { "docid": "fea09e93725779b1700b1d6733c74149", "score": "0.5894485", "text": "@Override\n\tpublic void nowPlaying() {\n\t}", "title": "" }, { "docid": "b642f68e0ff643efc749ce304ff34738", "score": "0.5890916", "text": "public void RepeatWithVoiceSwitchTest(){\n testMaterialConstructor();\n ArrayList<String> voiceNames = new ArrayList<String>();\n voiceNames.add(\"Aziz\");\n voiceNames.add(\"Muneeza\");\n \n ArrayList<BarLineObject> objs = new ArrayList<BarLineObject>();\n objs.add(toAziz);\n objs.add(C);\n objs.add(E);\n objs.add(toMuneeza);\n objs.add(MC1);\n objs.add(toAziz);\n objs.add(C);\n objs.add(toMuneeza);\n objs.add(plainBar);\n objs.add(MC2);\n objs.add(endBar);\n objs.add(toAziz);\n objs.add(G);\n objs.add(repeatBar);\n \n Parser2 myParser2 = new Parser2(voiceNames,1,1);\n myParser2.parse(objs);\n ArrayList<Voice> voices = myParser2.getVoices();\n Song lalala = new Song(voices);\n SequencePlayer sqPlayer;\n try {\n sqPlayer = new SequencePlayer(140, lalala.getMinTicksPerQuarter());\n myPlayer MrAhmed = new myPlayer(\"C\", sqPlayer);\n lalala.addToPlayer(MrAhmed);\n sqPlayer.play(); \n } catch (MidiUnavailableException e) {\n e.printStackTrace();\n } catch (InvalidMidiDataException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "f77f64fb2b3d88b52d9853afc1771b2c", "score": "0.5887075", "text": "public void ChangeSoundInput(String input) {\n shellExec(\"osascript \" + Parse(dataPath(\"ChangeAudioInput.scpt\")) + \" \\\"\" + input + \"\\\"\");\n println(\"Audio input set to \" + input);\n //Connect/Reconnect STT Library to default input\n ReconfigureSTT();\n}", "title": "" }, { "docid": "e8b5dd249b612e6b507c54f6a6186ea4", "score": "0.588323", "text": "@Override\n public void playSound(int soundId) {\n\n }", "title": "" }, { "docid": "5f2f06131ea64d4dc0ac986ccf21b888", "score": "0.5883127", "text": "public void howToPlay() {\r\n // An item has been added to the ticket. Fire an event and let everyone know.\r\n System.out.println(\"Step 1: Have no life. \\nStep 2: Deal cards\\nStep 3: Cry yourself to sleep.\");\r\n }", "title": "" }, { "docid": "200064185140f99bf7e4c1997d3ff1f2", "score": "0.58758944", "text": "void play(boolean fromUser);", "title": "" }, { "docid": "5bca1b1abeb985076dc0c6d05794fd3d", "score": "0.5871032", "text": "@Override\r\n public String speak() {\r\n String word = \"\";\r\n Time.getInstance().time += 1;\r\n if (Time.getInstance().time == 1) {\r\n word = \"One day Neznaika decided to become an artist.\";\r\n }\r\n if (Time.getInstance().time == 101) {\r\n word = \"This story happened once day with Neznaika.\";\r\n }\r\n if (Time.getInstance().time == 201) {\r\n word = \"One day Neznaika wanted to become a musician.\";\r\n }\r\n if (Time.getInstance().time == 401) {\r\n word = \"One day Neznaika wanted to become a poet.\";\r\n }\r\n System.out.println(word);\r\n return word;\r\n }", "title": "" }, { "docid": "4441672c8633f601cba0630f62b9c149", "score": "0.58684814", "text": "protected void playStepSound(int par1, int par2, int par3, int par4)\n {\n this.playSound(\"mob.spider.step\", 0.15F, 1.0F);\n }", "title": "" }, { "docid": "287ebfb0d7c9608ec21e3aa78873c297", "score": "0.5855934", "text": "public void game(){\n gameMusic.loop(pitch, volume);\n }", "title": "" }, { "docid": "565d397f3fbc44db55e1252a3d47ede3", "score": "0.58447534", "text": "PlaySound getSound();", "title": "" }, { "docid": "42470df30175423f8dbccc4132028220", "score": "0.5832322", "text": "void playSpeech(String rawText);", "title": "" }, { "docid": "3f1160c4100f7e2e194e5ba32199412b", "score": "0.58223313", "text": "public void playRecording() {\n\t\tString command = \"aplay foo.wav\";\n\t\t\n\t\tProcessBuilder pb = new ProcessBuilder(\"bash\" , \"-c\" , command );\n\t\ttry {\n\t\t\t\n\t\t\tProcess playProcess = pb.start();\n\t\t\t\n\t\t\tplayProcess.waitFor();\n\t\t\t\n\t\t\tplayProcess.destroy();\n\t\t\t\n\t\t\t\n\t\t}catch (IOException ioe) {\n\t\t\tioe.printStackTrace();\n\t\t\t\n\t\t}catch (InterruptedException ie) {\n\t\t\tie.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "231bf8005b8d9481b15fecba5699a7e0", "score": "0.5816741", "text": "protected abstract void internalPlay();", "title": "" }, { "docid": "5abfe6282cf9fd698f75aa66303573eb", "score": "0.5816482", "text": "private void playMusic(File filepath) {\r\n\t\ttry {\r\n\t\t AudioInputStream song = AudioSystem.getAudioInputStream(filepath);\r\n\t\t\tAudioFormat format = song.getFormat();\r\n\t\t DataLine.Info info = new DataLine.Info(Clip.class, format);\r\n\t\t Clip clip = (Clip) AudioSystem.getLine(info);\r\n\t\t clip.open(song);\r\n\t\t clip.start();\r\n\t\t}\r\n\t\tcatch (Exception ex) {\r\n\t\t\tthrow new ErrorException(ex);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "05d1db4d600900ad60631f8c1346f072", "score": "0.5810013", "text": "abstract String getSound();", "title": "" }, { "docid": "ea3cfdbdf6b5b8e3d9f0a3797cce5ac3", "score": "0.5800742", "text": "@Override\n protected String produceSound(){\n return \"BauBau\";\n\n }", "title": "" }, { "docid": "d9c5277a759dfa4d5647c91dc114155c", "score": "0.5799878", "text": "public void playBeep() {\n // Cách 1: Sử dụng audio có sẵn của android\n// ToneGenerator toneGenerator = new ToneGenerator(AudioManager.STREAM_NOTIFICATION, 500);\n// toneGenerator.startTone(ToneGenerator.TONE_PROP_PROMPT);\n\n // Cách 2: Sử dụng audio của mình\n Uri beepSound = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + File.pathSeparator\n + File.separator + getPackageName() + \"/raw/notifications.mp3\");\n Ringtone ringtone = RingtoneManager.getRingtone(this, beepSound);\n ringtone.play();\n }", "title": "" }, { "docid": "2a224b326ed7984e18b2a84028fc0b05", "score": "0.5796675", "text": "void playTone(){\n t = new Thread() {\n public void run(){\n isRunning = true;\n setPriority(Thread.MAX_PRIORITY);\n\n\n\n audioTrack.play();\n\n for (int i = 0; i < message.length(); i++) {\n\n ASCIIBreaker breaker = new ASCIIBreaker((int)message.charAt(i));\n\n int frequencies[] = breaker.ASCIIToFrequency();\n\n //Generate waves for all different frequencies\n for(int fre : frequencies) {\n audioTrack.write(generateSineInTimeDomain(fre),0,sample_size);\n }\n\n audioTrack.write(generateSineInTimeDomain(7000),0,sample_size);\n }\n\n audioTrack.stop();\n audioTrack.release();\n }\n };\n t.start();\n }", "title": "" }, { "docid": "e950a4701532613d275d7e19bdb36b02", "score": "0.5791686", "text": "public void play() {\n\t\tSystem.out.println(\"TCL 电视机播放中...\");\r\n\t}", "title": "" }, { "docid": "f37aa8e347cf13e26f5cc9f303fe406b", "score": "0.5791215", "text": "@Override\n public void playStart() {\n }", "title": "" }, { "docid": "82ea1b04a2b8c2942dac0b4388b5529f", "score": "0.57885057", "text": "public static int pressNote(Map<String, Sound> instrument,\tString key) {\r\n\t\ttry{\r\n\t\tSound s = instrument.get(key);\t\t\r\n\t\tif(s!=null){\r\n\t\t\tif(s.isBuffering()) {\r\n\t\t\t\treturn 1;\r\n\t\t\t}\r\n\t\t\tif(s.getPlayState()!=1 ){\r\n\t\t\t\ts.play();\r\n\t\t\t\treturn 0;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse \r\n\t\t\treturn -1;\r\n\t\t}catch (Exception e) {\r\n\t\t\treturn -1;\r\n\t\t}\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "093e219123f35f9eeb6058301701c832", "score": "0.57868844", "text": "public void playSound(InputStream access)\n {\n if(!mute)\n {\n try{\n InputStream bufferedIn = new BufferedInputStream(access);\n AudioInputStream audioIn = AudioSystem.getAudioInputStream(bufferedIn);\n Clip clip = AudioSystem.getClip();\n clip.open(audioIn);\n clip.start();\n }\n catch(UnsupportedAudioFileException | IOException | LineUnavailableException e1){\n System.out.println(\"Selected Audio File is not compatible/available.\");};\n }\n }", "title": "" }, { "docid": "f4bcd738f5ac8813f526d5ee2d1656a1", "score": "0.5776063", "text": "@Override\r\npublic void Play() {\n\t\r\n}", "title": "" }, { "docid": "dc66b097e9816fd27ee1982cfffa55f1", "score": "0.5768518", "text": "public void speak(String text);", "title": "" }, { "docid": "152ce06636eb0a65775c1c4b618ae2d8", "score": "0.5765699", "text": "public static void sound(String sound){\n System.out.println(\"The dog \"+sound);\n }", "title": "" }, { "docid": "f001dcde515ffe10c08bf112810c5d6b", "score": "0.57651037", "text": "public static void playScream()\n {\n scream.play();\n }", "title": "" }, { "docid": "998e271b6ddacd59554eac174f781937", "score": "0.5760321", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tString aString = TestUtils.getStreamVoice(\"ToneTest\");\n\t\t\t\tint i = Integer.valueOf(aString).intValue();\n\t\t\t\tDswLog.e(TAG, \"i = \" + i);\n\t\t\t\tif (null != mAudioManager) {\n\t\t\t\t\tint maxVol = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC);\n\t\t\t\t\tDswLog.e(TAG, \" set stream = music \");\n\t\t\t\t\tmAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, maxVol - i, 0);\n\t\t\t\t\tDswLog.e(TAG, \"maxVol = \" + maxVol + \" setStreamVolume = \" + (maxVol - i));\n\t\t\t\t}\n\t\t\t\t//Gionee <GN_BSP_AutoMMI> <chengq> <20170505> modify for ID 129027 end\n\t\t\t\tgenTone();\n\t\t\t\tplaySound();\n\t\t\t}", "title": "" }, { "docid": "b66bd71bdfa3af8d211068f11921a6d5", "score": "0.57580334", "text": "public static void main(String[] args) throws IOException, \r\n UnsupportedAudioFileException, LineUnavailableException, \r\n MidiUnavailableException, InvalidMidiDataException { \r\n SoundPlayer player; \r\n \r\n File file = new File(\"c:\\\\Audio.wav\"); // This is the file we'll be playing \r\n // Determine whether it is midi or sampled audio \r\n boolean ismidi; \r\n try { \r\n // We discard the return value of this method; we just need to know \r\n // whether it returns successfully or throws an exception \r\n MidiSystem.getMidiFileFormat(file); \r\n ismidi = true; \r\n } catch (InvalidMidiDataException e) { \r\n ismidi = false; \r\n } \r\n \r\n // Create a SoundPlayer object to play the sound. \r\n player = new SoundPlayer(file, ismidi); \r\n \r\n // Put it in a window and play it \r\n JFrame f = new JFrame(\"SoundPlayer\"); \r\n f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); \r\n f.getContentPane().add(player, \"Center\"); \r\n f.pack(); \r\n f.setVisible(true); \r\n }", "title": "" }, { "docid": "50431af4a97f2fda0c93f2799ca8fde2", "score": "0.5756427", "text": "public void play() {\n Selection selection;\n if ((selection = master.getWindowManager().getMain().getSelection()) == null) {\n startPlay();\n playShow(nextStartTime, -1 / 1000.0);\n } else {\n playSelection(selection);\n playShow(selection.start, selection.duration);\n }\n }", "title": "" }, { "docid": "d2c4d282d2a61d8f42b61fd3ff53ec38", "score": "0.5754005", "text": "public void notePressed(int note) {\n seq.stop();\n seq.addNote(note, 200, 110);\n\n sequence = sequence.withNote(note, cursor);\n controller.setMidiSequence(sequence);\n\n if (cursor < 4) {\n cursor++;\n controller.setSelected(cursor);\n }\n }", "title": "" }, { "docid": "450dd3ae44097c179843f33e0b263b3e", "score": "0.5747232", "text": "public void play() {\n\t\tmusic.play();\n\t\tsyncPosition();\n\t}", "title": "" }, { "docid": "e4d3e6fab6bfbcbd278f6dc73cf513e7", "score": "0.5744913", "text": "public void run() {\r\n\t\tboolean doorgaan = true;\r\n\t\twhile (doorgaan) {\r\n\t\t\tplay();\r\n\t\t\tdoorgaan = readBoolean(\"\\n> Play another time? (y/n)?\", \"y\", \"n\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7f3606886e996e160107e29df35923c3", "score": "0.5744092", "text": "public void specialSong()\n {\n if(!mute)\n {\n try {\n \n bclip.stop();\n \n // Open an audio input stream.\n //URL url = this.getClass().getClassLoader().getResource(\"Glitzville.wav\"); \n //if(lastpowerUp.equals(\"RAINBOW\"))\n URL url = this.getClass().getClassLoader().getResource(\"Mario Kart Starman.wav\");\n \n \n \n \n \n AudioInputStream audioIn = AudioSystem.getAudioInputStream(url);\n // Get a sound clip resource.\n sclip = AudioSystem.getClip();\n // Open audio clip and load samples from the audio input stream.\n sclip.open(audioIn); \n \n sclip.start();\n \n \n } catch (UnsupportedAudioFileException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (LineUnavailableException e) {\n e.printStackTrace();\n } \n }\n }", "title": "" }, { "docid": "5c1f01398d10b75b3afe5c0472645cf8", "score": "0.573997", "text": "public final void play(int times) {\n\t\tScore score = getScore();\n\t\tMod.repeat(score, times);\n\t\tPlay.midi(score);\n\t}", "title": "" }, { "docid": "7590afbd7786bef2f01457f130e4faf0", "score": "0.5738346", "text": "public void playSound ( Location location , String sound , float volume , float pitch ) {\n\t\texecute ( handle -> handle.playSound ( location , sound , volume , pitch ) );\n\t}", "title": "" }, { "docid": "5c7e76b10db22e53548bc6b0f6301280", "score": "0.5736508", "text": "public void play()\n\t{\n\t\tif (canPlay)\n\t\t{\n\t\t\tsong.play();\n\t\t\tsong.rewind();\n\t\t\tif (theSong == \"SG1\" || theSong == \"SG2\")\n\t\t\t\tcanPlay = false;\n\t\t}\n\t}", "title": "" } ]
d54d87aeb573009d8f05254d9a63e6bd
Processes requests for both HTTP GET and POST methods.
[ { "docid": "0cc74118f4fa5f4ce84fcfecd449f23a", "score": "0.0", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"application/vnd.ms-excel\");\n response.setHeader(\"Content-Disposition\", \"attachment;filename=\\\"Listado_empresas.xls\\\"\");\n try (PrintWriter out = response.getWriter()) {\n /* TODO output your page here. You may use following sample code. */\n out.println(\"<!DOCTYPE html>\");\n out.println(\"<html>\");\n out.println(\"<head>\");\n out.println(\"<title>Listado_empresas</title>\"); \n out.println(\"</head>\");\n Administrar_Empresa emp = new Administrar_Empresa();\n List< Empresa> empresas= emp.consulta_empresa(\"\");\n out.println(\"<body>\");\n out.println(\"<h3>Listado de Empresas</h3><br>\");\n out.println(\"<table>\");\n out.println(\"<th>Nombre de la empresa</th>\");\n out.println(\"<th>Direccion</th>\");\n out.println(\"<th>Telefono</th>\");\n out.println(\"<th>Actividad Principal</th>\");\n out.println(\"<th>Representante legal</th>\");\n out.println(\"<th>Cargo del representante</th>\");\n out.println(\"<th>Telefono del representante</th>\");\n \n for (Iterator<Empresa> it = empresas.iterator(); it.hasNext();) {\n Empresa opciones = it.next();\n out.println(\"<tr>\");\n out.println(\"<td>\"+opciones.getNombre_empresa()+\"</td>\");\n out.println(\"<td>\"+opciones.getDireccion()+\"</td>\");\n out.println(\"<td>\"+opciones.getTelefono()+\"</td>\");\n out.println(\"<td>\"+opciones.getActividad()+\"</td>\");\n out.println(\"<td>\"+opciones.getNombre_repre()+\" \"+opciones.getApellido_repre()+\"</td>\");\n out.println(\"<td>\"+opciones.getCargo_repre()+\"</td>\");\n out.println(\"<td>\"+opciones.getTelefono_repre()+\"</td>\");\n out.println(\"</tr>\");\n }\n \n out.println(\"</table>\");\n out.println(\"</body>\");\n out.println(\"</html>\");\n }\n }", "title": "" } ]
[ { "docid": "c109743f26648060497cd36c04521d11", "score": "0.7218248", "text": "private void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n String method = request.getMethod();\n String pathInfo = request.getPathInfo();\n\n // accept HTTP GET requests at /getWork\n if (GET_WORK_PATH.equals(pathInfo)) {\n if (\"GET\".equals(method)) {\n processGetWork(request, response);\n } else {\n response.setHeader(\"Allow\", \"GET\");\n response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED,\n request.getRequestURI());\n }\n } // accept HTTP POST requests at /submitResult\n else if (SUBMIT_RESULT_PATH.equals(pathInfo)) {\n if (\"POST\".equals(method)) {\n processSubmitResult(request, response);\n } else {\n response.setHeader(\"Allow\", \"POST\");\n response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED,\n request.getRequestURI());\n }\n } // anything else is \"404 Not Found\"\n else {\n response.sendError(HttpServletResponse.SC_NOT_FOUND,\n request.getRequestURI());\n }\n\n }", "title": "" }, { "docid": "5b3af467cee944681214f06079afafd7", "score": "0.7135684", "text": "@Override\n\tprotected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tString method = req.getMethod();\n\t\tif(method==\"GET\") {\n\t\t\tdoGet(req, resp);\n\t\t} else if(method==\"POST\") {\n\t\t\tdoPost(req, resp);\n\t\t}\n\t}", "title": "" }, { "docid": "2459fd35ca7044bbd8fbf2e11f32e5f1", "score": "0.699411", "text": "private void handleHttpRequest() {\n HttpRequestMsg request = instance;\n String verb = getItem(\"$httpVerb\").getStrval();\n request.setVerb(verb);\n\n getItems().entrySet().stream()\n .filter(entry -> entry.getKey().startsWith(\"$header.\"))\n .forEach(entry -> request.addHeader(entry.getKey().replace(\"$header.\", \"\"), entry.getValue().getStrval()));\n\n request.setUrl(getAsString(\"$httpEndpoint\"));\n\n Cdr payloadCdr = new Cdr(msgType);\n getItems().entrySet().stream()\n .filter(entry -> !entry.getKey().startsWith(\"$\"))\n .forEach(entry -> payloadCdr.setItem(entry.getKey(), entry.getValue()));\n\n String payload = JsonUtils.cdrToJson(payloadCdr);\n if (!\"GET\".equals(verb) && !StringUtils.isNullOrEmpty(payload) && !\"{}\".equals(payload)) {\n request.setPayload(payload);\n }\n }", "title": "" }, { "docid": "d590a48cef4764de5cc27dec2db3bbea", "score": "0.6731364", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tprocessRequest(req, resp);\n\t}", "title": "" }, { "docid": "8e61f279e78813155a89b649b082baf7", "score": "0.66466486", "text": "@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse resp)\n\t\t\tthrows IOException {\n\t\tString pathInfo = request.getPathInfo();\n\t\t@SuppressWarnings(\"unchecked\")\n\t\tMap<String,String[]> parameterMap = request.getParameterMap();\n\t\tObject data = dispatchGet(pathInfo, parameterMap);\n\t\t//serializeAndAddToRequest(request, pathInfo, data);\n\t\trequest.setAttribute(\"payload\", data);\n\t}", "title": "" }, { "docid": "779f9984e48712b0c425d88ec93f1c97", "score": "0.6638525", "text": "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\n throws ServletException, IOException {\n log(\"GET\");\n doPost(req, resp);\n }", "title": "" }, { "docid": "0f77a7f9e452e7495b55f5857d5853f8", "score": "0.6578208", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doGet(request, response);\n }", "title": "" }, { "docid": "3e7a1cd6bc2195afda1c16113b534893", "score": "0.6531252", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tprocessRequest(req, resp);\n\t}", "title": "" }, { "docid": "b08009057c2a77eb6ea0fdd242a3f19f", "score": "0.6495494", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "0d8d6c274bee82aa18e6ef423093a76f", "score": "0.6490392", "text": "@Override\r\n\t\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\tdoPost(req, resp);\r\n\t\t}", "title": "" }, { "docid": "0091e5f1dd952f434d2b1a9a56d85d5a", "score": "0.64836437", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n String action = request.getParameter(\"action\");\n switch (action) {\n case \"consultar\":\n consultar(request, response);\n break;\n case \"consultarById\":\n consultarById(request, response);\n break;\n case \"guardar\":\n guardar(request, response);\n break;\n case \"actualizar\":\n actualizar(request, response);\n break;\n case \"eliminar\":\n eliminar(request, response);\n break;\n }\n }", "title": "" }, { "docid": "58c4400419c53bdea2f827b54264ae82", "score": "0.64831716", "text": "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n String params = getRequestPostStr(request);\r\n processRequest(request, response, params);\r\n }", "title": "" }, { "docid": "1aef74e61a6f6fa6138c1590aee137d5", "score": "0.64821285", "text": "public abstract void handleHttpRequest(HttpRequest req) throws IOException;", "title": "" }, { "docid": "2b97d72d8cc3c53b0034ed3b29c194a3", "score": "0.64644873", "text": "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doGet(req, resp);\n }", "title": "" }, { "docid": "8db68fc8013ba4bf479b9265d94588ca", "score": "0.6461672", "text": "@Override\r\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doGet(req, resp);\r\n }", "title": "" }, { "docid": "26c3140fef304d2c52ebeda606ba00dc", "score": "0.6460604", "text": "@Override\n public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {\n\n processRequest(req, res, HttpMethod.GET);\n }", "title": "" }, { "docid": "945770d2a1f351cbf1b71e9e2c0286fd", "score": "0.644668", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tprocess(req, resp);\n\t}", "title": "" }, { "docid": "6bb4647ee7ebce76f9707ccc956d5aa7", "score": "0.64441913", "text": "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {\n doGet(req, resp);\n }", "title": "" }, { "docid": "18012dd238a73c64a27da487323a45ad", "score": "0.64420825", "text": "public void processRequest(Request request);", "title": "" }, { "docid": "3efd534b439defc88a03583ebb4dcf31", "score": "0.6440749", "text": "@Override\r\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n throws ServletException, IOException {\n doPost(req, resp);\r\n }", "title": "" }, { "docid": "ab8175af0dacd59d5c11453af07d4d2b", "score": "0.64381164", "text": "@Override\n\t\t\t\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\t\tdoGet(req, resp);\n\t\t\t\t}", "title": "" }, { "docid": "d9bc592a088c7e63d580211d698d6c49", "score": "0.6434453", "text": "@Override\r\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doPost(req, resp);\r\n }", "title": "" }, { "docid": "6282e62311a4801a4d3d95b6993434c6", "score": "0.64329976", "text": "@Override\r\n\t\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\t\tthrows ServletException, IOException {\n\t\t\tdoGet(req, resp);\r\n\t\t}", "title": "" }, { "docid": "8c1468f58f3b489f3620134c1f21fe7c", "score": "0.64319384", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "8c1468f58f3b489f3620134c1f21fe7c", "score": "0.64319384", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "52b828c36895e7072dd2762dc5fd560a", "score": "0.6428014", "text": "@Override\r\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\r\n doPost(req, resp);\r\n }", "title": "" }, { "docid": "a97ee9260c4f1cfc4a68b57c53b9997e", "score": "0.6422698", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "a97ee9260c4f1cfc4a68b57c53b9997e", "score": "0.6422698", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "a97ee9260c4f1cfc4a68b57c53b9997e", "score": "0.6422698", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.64178133", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.64178133", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "00af5bd8c36d6041265e7c1c6b44f45d", "score": "0.64118695", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "title": "" }, { "docid": "e0a5179faab431e534f95ea30e86dad7", "score": "0.63943946", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "e0a5179faab431e534f95ea30e86dad7", "score": "0.63943946", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "e0a5179faab431e534f95ea30e86dad7", "score": "0.63943946", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "e0a5179faab431e534f95ea30e86dad7", "score": "0.63943946", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "e0a5179faab431e534f95ea30e86dad7", "score": "0.63943946", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "37d94bd813f2de8b11d34303dd49de66", "score": "0.6390664", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "37d94bd813f2de8b11d34303dd49de66", "score": "0.6390664", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "d8bbdb19094288234b359704549b780e", "score": "0.63886076", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "title": "" }, { "docid": "d8bbdb19094288234b359704549b780e", "score": "0.63886076", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "title": "" }, { "docid": "3d779669b56a477c02dc5eecad8f7d32", "score": "0.6385657", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "d38788f286c94e8981079abc8476358c", "score": "0.63833493", "text": "private void processRequest(HttpServletRequest request, HttpServletResponse response, HTTPMethod httpMethod) throws IOException {\n if (log.isDebugEnabled()) {\n //for debugging\n final String requestUrl = request.getRequestURL().toString();\n final String userAgent = request.getHeader(\"User-Agent\");\n log.debug(request.getMethod()+\" \"+requestUrl+\" from \"+userAgent);\n\n final String scheme = request.getScheme();\n final String serverName = request.getServerName();\n final int serverPort = request.getServerPort();\n final String contextPath = request.getContextPath();\n final String servletPath = request.getServletPath();\n final String pathInfo = request.getPathInfo();\n final String queryString = request.getQueryString();\n\n String u = scheme + \"://\" + serverName;\n if (serverPort > 0) {\n u += (\":\" +serverPort);\n }\n u += contextPath + servletPath + \"/\";\n if (pathInfo != null) {\n u+= pathInfo;\n }\n if (queryString != null) {\n u+= (\"?\" + queryString);\n }\n\n log.debug(request.getMethod()+\" \"+u);\n }\n\n if (isUserUploadRequest(request)) {\n processUserUploadRequest(request, response, httpMethod);\n return;\n }\n\n //1) require an authenticated GP user account\n String gpUserId = null;\n try {\n gpUserId = AuthenticationUtil.getAuthenticatedUserId(request, response);\n }\n catch (AuthenticationException e) {\n AuthenticationUtil.requestBasicAuth(response, e.getLocalizedMessage());\n return;\n }\n if (gpUserId == null) {\n log.error(\"Unexpected null gpUserId, AuthenticationException should have been thrown.\");\n AuthenticationUtil.requestBasicAuth(request, response);\n return;\n }\n\n //2) require a valid server file\n File fileObj = getRequestedFile(request);\n if (fileObj == null || fileObj.isDirectory()) {\n log.debug(\"Directory listings are forbidden: \"+fileObj);\n //not implementing directory browser \n ((HttpServletResponse) response).sendError(HttpServletResponse.SC_FORBIDDEN, \"Invalid request: \"+fileObj);\n return;\n }\n if (!fileObj.exists()) {\n log.debug(\"File does not exist: \"+fileObj.getPath());\n response.sendError(HttpServletResponse.SC_NOT_FOUND, \"File not found: \"+fileObj.getPath());\n return;\n }\n if (!fileObj.canRead()) {\n log.debug(\"Server can't read file: \"+fileObj.getPath());\n response.sendError(HttpServletResponse.SC_NOT_FOUND, \"File not found: \"+fileObj.getPath());\n return;\n }\n \n //3) require the GP user account is authorized to read the file\n boolean gpUserCanRead = gpUserCanRead(gpUserId, fileObj);\n if (!gpUserCanRead) {\n String message = \"The user '\"+gpUserId+\"' does not have permission to read the file '\"+fileObj.getPath()+\"'\";\n log.debug(message);\n AuthenticationUtil.requestBasicAuth(response, message);\n return;\n }\n\n // Accept ranges header\n response.setHeader(\"Accept-Ranges\", \"bytes\");\n serveFile(request, response, httpMethod, fileObj);\n }", "title": "" }, { "docid": "0fbea92e20fbe05b35c44bdafde6af31", "score": "0.63806933", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\t\tprocessRequest(request, response);\r\n\t}", "title": "" }, { "docid": "d3b6a08fe7a6dc0a7a5231caa6a82a55", "score": "0.63751215", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}", "title": "" }, { "docid": "5165e6a3527c75eef7569c1a90d45b2f", "score": "0.63720953", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "5165e6a3527c75eef7569c1a90d45b2f", "score": "0.63720953", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "f5eeb636e865aa294c121d52f207bdbc", "score": "0.63684165", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n processRequest(request, response);\n }", "title": "" }, { "docid": "ee79d6c9589fba58f3f60f9fdc64e09b", "score": "0.636619", "text": "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp)\n throws ServletException, IOException {\n this.doGet(req, resp);\n }", "title": "" }, { "docid": "4ecb8d8c46b55a8a2160be51a4be9ca1", "score": "0.63628715", "text": "@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tprocessRequest(request, response);\n\t}", "title": "" }, { "docid": "f55c0c2f94aee39617b2ddf88eaa25a7", "score": "0.6358426", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n \r\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.6352826", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" } ]
fd7cbbd03681c66556c365f8a9e912ab
Tests rollback() of Register Participant using the ServiceInvocationStrategy class for success case
[ { "docid": "5b01b916bc7d0f84f91aaed6eb41ef02", "score": "0.8106575", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void rollbackRegisterParticipantSuccess() throws IntegrationException, SOAPFaultException,\n MalformedURLException, JAXBException {\n final Date stTime = new Date(new java.util.Date().getTime()); \n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse caaersServiceResponse = getDeleteParticipantResponse(SUCCESS);\n EasyMock.expect(wsClient.deleteParticipant((String) EasyMock.anyObject())).andReturn(caaersServiceResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSRegistrationServiceInvocationStrategy\n .rollback(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" } ]
[ { "docid": "e4843140cb38c2f7e34ffa62191d9529", "score": "0.8041822", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void rollbackRegisterParticipantFailure() throws IntegrationException, SOAPFaultException,\n MalformedURLException, JAXBException {\n final Date stTime = new Date(new java.util.Date().getTime()); \n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse caaersServiceResponse = getDeleteParticipantResponse(FAILURE);\n EasyMock.expect(wsClient.deleteParticipant((String) EasyMock.anyObject())).andReturn(caaersServiceResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSRegistrationServiceInvocationStrategy\n .rollback(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "4fde92ceda917512be8668c9592962f5", "score": "0.7763077", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void rollbackUpdateRegisterParticipantSuccess() throws IntegrationException, SOAPFaultException,\n MalformedURLException, JAXBException {\n final Date stTime = new Date(new java.util.Date().getTime()); \n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse caaersServiceResponse = getUpdateParticipantResponse(SUCCESS);\n EasyMock.expect(wsClient.updateParticipant((String) EasyMock.anyObject())).andReturn(caaersServiceResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSUpdateRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSUpdateRegistrationServiceInvocationStrategy\n .rollback(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "b30223c959d7c1c20c1dfa6e7e73169b", "score": "0.7655453", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void rollbackUpdateRegisterParticipantFailure() throws IntegrationException, SOAPFaultException,\n MalformedURLException, JAXBException {\n final Date stTime = new Date(new java.util.Date().getTime()); \n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse caaersServiceResponse = getUpdateParticipantResponse(FAILURE);\n EasyMock.expect(wsClient.updateParticipant((String) EasyMock.anyObject())).andReturn(caaersServiceResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSUpdateRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSUpdateRegistrationServiceInvocationStrategy\n .rollback(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "cfdfaccfa7726d31b1b4b6996016fd4a", "score": "0.69352674", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void registerParticipantFailure() throws IntegrationException, SOAPFaultException, MalformedURLException,\n JAXBException {\n final Date stTime = new Date(new java.util.Date().getTime()); \n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse caaersServiceResponse = getRegisterParticipantResponse(FAILURE);\n EasyMock.expect(wsClient.createParticipant((String) EasyMock.anyObject())).andReturn(caaersServiceResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSRegistrationServiceInvocationStrategy\n .invoke(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "0cd2c575c8bef34a7439e07d3a3dd40d", "score": "0.67254466", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void registerParticipantSuccess() throws IntegrationException, SOAPFaultException, MalformedURLException,\n JAXBException {\n final Date stTime = new Date(new java.util.Date().getTime());\n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n // return the value to be returned by the method (null for void)\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse caaersServiceResponse = getRegisterParticipantResponse(SUCCESS);\n EasyMock.expect(wsClient.createParticipant((String) EasyMock.anyObject())).andReturn(caaersServiceResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSRegistrationServiceInvocationStrategy\n .invoke(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "46ea6ddbbdc77b87f32b3d18472c15a6", "score": "0.65814745", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void updateParticipantRegistrationFailure() throws IntegrationException, SOAPFaultException,\n MalformedURLException, JAXBException, DatatypeConfigurationException {\n final Date stTime = new Date(new java.util.Date().getTime()); \n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse updateParticipantResponse = getUpdateParticipantResponse(FAILURE);\n final CaaersServiceResponse getParticipantResponse = getParticipantResponse(SUCCESS);\n EasyMock.expect(wsClient.updateParticipant((String) EasyMock.anyObject())).andReturn(updateParticipantResponse)\n .anyTimes();\n EasyMock.expect(wsClient.getParticipant((String) EasyMock.anyObject())).andReturn(getParticipantResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSUpdateRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSUpdateRegistrationServiceInvocationStrategy\n .invoke(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "fab23556274274c9bd571cc84c6d29ba", "score": "0.6476934", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void updateParticipantRegistrationGetParticipantFailure() throws IntegrationException, SOAPFaultException,\n MalformedURLException, JAXBException, DatatypeConfigurationException {\n final Date stTime = new Date(new java.util.Date().getTime()); \n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse updateResponse = getUpdateParticipantResponse(SUCCESS);\n final CaaersServiceResponse getResponse = getParticipantResponse(FAILURE);\n EasyMock.expect(wsClient.updateParticipant((String) EasyMock.anyObject())).andReturn(updateResponse).anyTimes();\n EasyMock.expect(wsClient.getParticipant((String) EasyMock.anyObject())).andReturn(getResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSUpdateRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSUpdateRegistrationServiceInvocationStrategy\n .invoke(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "764aee934f42e1cc824a19aeeb688c8e", "score": "0.6346414", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n @Test\n public void updateParticipantRegistrationSuccess() throws IntegrationException, SOAPFaultException,\n MalformedURLException, JAXBException, DatatypeConfigurationException {\n final Date stTime = new Date(new java.util.Date().getTime()); \n\n xsltTransformer.transform(null, null, null);\n EasyMock.expectLastCall().andAnswer(new IAnswer() {\n\n public Object answer() {\n return getParticipantXMLString();\n }\n }).anyTimes();\n\n final CaaersServiceResponse updateParticipantResponse = getUpdateParticipantResponse(SUCCESS);\n final CaaersServiceResponse getParticipantResponse = getParticipantResponse(SUCCESS);\n EasyMock.expect(wsClient.updateParticipant((String) EasyMock.anyObject())).andReturn(updateParticipantResponse)\n .anyTimes();\n EasyMock.expect(wsClient.getParticipant((String) EasyMock.anyObject())).andReturn(getParticipantResponse);\n EasyMock.replay(wsClient);\n\n final ServiceInvocationMessage serviceInvocationMessage = prepareServiceInvocationMessage(REFMSGID,\n getParticipantInterimMessage(), stTime,\n caAERSUpdateRegistrationServiceInvocationStrategy.getStrategyIdentifier());\n\n final ServiceInvocationResult result = caAERSUpdateRegistrationServiceInvocationStrategy\n .invoke(serviceInvocationMessage);\n\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "9540c1d87f307cd435dd841e9e273568", "score": "0.6166754", "text": "@Test\n @InSequence(2)\n public void testInvalidRegister() {\n //find a existed customer\n List<Customer> customers = customerService.findAllCustomers();\n Customer customer = customers.get(0);\n //find a existed taxi\n List<Taxi> taxis = taxiService.findAllTaxis();\n Taxi taxi = taxis.get(0);\n GuestBooking guestBooking = createGuestBookingInstance(customer, taxi.getId(), futureDate1);\n\n try {\n guestBookingRestService.createBooking(guestBooking);\n fail(\"Expected a RestServiceException to be thrown\");\n } catch(RestServiceException e) {\n // the status should be same with the one in class BookingRestService\n assertEquals(\"Unexpected response status\",\n Response.Status.CONFLICT, e.getStatus());\n assertTrue(\"Unexpected error. Should be UniqueEmailException\",\n e.getCause() instanceof UniqueEmailException);\n assertEquals(\"Unexpected response body\", 1,\n e.getReasons().size());\n log.info(\"Invalid booking register attempt failed with return code \" + e.getStatus());\n }\n }", "title": "" }, { "docid": "6a6302078eeadcdcadbd6dcb239c43c4", "score": "0.58459365", "text": "private void testRollback001() {\n\t\tDmtSession session = null;\n\t\ttry {\n\t\t\tDefaultTestBundleControl.log(\"#testRollback001\");\n\t\t\tsession = tbc.getDmtAdmin().getSession(\".\", DmtSession.LOCK_TYPE_EXCLUSIVE);\n\t\t\tsession.rollback();\n\t\t\tDefaultTestBundleControl.failException(\"#\",DmtIllegalStateException.class);\n\t\t} catch (DmtIllegalStateException e) {\n\t\t\tDefaultTestBundleControl.pass(\"DmtIllegalStateException correctly thrown\");\n\t\t} catch (Exception e) {\n tbc.failExpectedOtherException(DmtIllegalStateException.class, e);\n\t\t} finally {\n\t\t\ttbc.closeSession(session);\n\t\t}\n\t}", "title": "" }, { "docid": "959281d3082c229378f150d7bce8dbcc", "score": "0.57827353", "text": "@Test\n @InSequence(1)\n public void testRegister(){\n Customer customer = createCustomerInstance(\"Jane Doe\", \"[email protected]\", \"07744754955\");\n //Customer customer = storeCustomer(customer0);\n Taxi taxi0 = createTaxiInstance(\"JK66AKB\",6);\n Taxi taxi = storeTaxi(taxi0);\n //create a GuestBooking with a future date.\n GuestBooking guestBooking = createGuestBookingInstance(customer, taxi.getId(), futureDate1);\n Response response = guestBookingRestService.createBooking(guestBooking);\n\n assertEquals(\"Unexpected response status\", 201, response.getStatus());\n log.info(\" New booking via GuestBookingService.createBooking was persisted and returned status \" + response.getStatus());\n }", "title": "" }, { "docid": "cab66903009700af352e441fcbeb631f", "score": "0.57076156", "text": "@Test\n public void reactivateAlreadyActivated() throws BusinessException {\n final ProductService productService = new ProductService();\n\n final Long pProductId = 1L;\n\n new Expectations() {\n\n {\n\n Deencapsulation.setField(productService, \"productDAO\", mockProductDAO);\n\n ProductBO productBO = new ProductBO();\n productBO.setStatus(Status.CREATED);\n mockProductDAO.get(1L);\n times = 1;\n returns(productBO);\n }\n };\n\n productService.reactivate(pProductId);\n }", "title": "" }, { "docid": "d8ec8b1dfafde14a2b525ec80bd0ca67", "score": "0.5707519", "text": "protected abstract void rollbackIndividualTrx();", "title": "" }, { "docid": "917e8a002e60753e27f87e819aa5f5ba", "score": "0.5688369", "text": "public abstract void rollback() throws DetailException;", "title": "" }, { "docid": "a67f805c7c03011a947a53feafb3b603", "score": "0.56141293", "text": "@AfterThrowing(\"execution(* com.revature.services.UserService.register(..))\")\n\tpublic void failedUserRegister(JoinPoint jp) {\n\t\tlog.error(\"Register failed, username already exists\");\n\t}", "title": "" }, { "docid": "cd496f80225e757cf76a3cf0f2e1505b", "score": "0.5552405", "text": "public void rollback();", "title": "" }, { "docid": "6e8f4eede9002854ce74f27a086c425a", "score": "0.55405545", "text": "@Test(expected = BusinessException.class)\n public void reactivateNo() throws BusinessException {\n final ProductService productService = new ProductService();\n\n final Long pProductId = 1L;\n\n new Expectations() {\n\n {\n\n Deencapsulation.setField(productService, \"productDAO\", mockProductDAO);\n\n mockProductDAO.get(1L);\n times = 1;\n returns(null);\n }\n };\n\n productService.reactivate(pProductId);\n }", "title": "" }, { "docid": "8459fd3053d2c67fcb28619654a32e45", "score": "0.5529636", "text": "@Test(groups ={Slingshot,Regression,CsaAgent})\t\n\t\tpublic void verifyPartnerServiceAgentRegisterUser() throws Exception {\n\t\t\tReport.createTestLogHeader(\"PSA Journey\", \"To verify whether the Partner service agent is able to register a Broker through Partner service agent journey\");\n\t\t\tUserProfile userProfile = new TestDataHelper().getUserProfile(\"PSABroker\");\n\t\t\tCrmUserProfile crmuserProfile = new TestDataHelper().getCrmUserProfile(\"SlingshotCrmDetails\"); \n\t\t\tnew PartnerServiceAgentAction()\n\t\t\t.navigateToPSARegistration()\n\t\t\t.clickRegisteraUser(userProfile);\n\t\t\t/*new SapCrmAction()\n\t\t\t .loginDetails(crmuserProfile)\n\t\t\t .searchByAccountId(crmuserProfile, userProfile);*/\n\t\t\tnew RegistrationAction()\n\t\t\t.openEncryptURL(userProfile)\n\t\t\t.fillRegistrationDetails(userProfile)\n\t\t\t.verifyThankYouPage()\n\t\t\t.clickLoginLink()\n\t\t\t.verifyAuditEntry(userProfile)\n\t\t\t.verifyEmailIdInDb(userProfile);\n\t\t\t}", "title": "" }, { "docid": "536321152d7cda8d16fff2fe118dfdf1", "score": "0.55276626", "text": "@Override\n public void setUp() throws Exception\n {\n transactionService = (TransactionService) ctx.getBean(\"TransactionService\");\n subscriptionService = (SubscriptionService) ctx.getBean(\"SubscriptionService\");\n personService = (PersonService) ctx.getBean(\"PersonService\");\n\n AuthenticationUtil.setFullyAuthenticatedUser(AuthenticationUtil.getSystemUserName());\n\n txn = transactionService.getNonPropagatingUserTransaction(false);\n txn.begin();\n\n createPerson(USER_BOB);\n createPerson(USER_TOM);\n createPerson(USER_LISA);\n }", "title": "" }, { "docid": "76e1d285079e874893e9b469a10f22d0", "score": "0.5525886", "text": "@Test\n public void registerDeviance(){\n userDAO.createUser(new User(\"dummy3\", \"dummy3\", 1));\n shiftListResource.createShiftlist(new ShiftList(\"dummy3\", 1, false, new Date(2017-01-01), 0, true));\n\n assertTrue(shiftListResource.registerDeviance(new ShiftList(\"dummy3\", 1, true, new Date(2015-01-02), 50, false)));\n\n //clean up\n shiftListResource.removeShiftlist(new Date(2017-01-01), 1, \"dummy3\");\n userDAO.removeUser((\"dummy3\"));\n }", "title": "" }, { "docid": "0ea45ee4cd4837ef33990bc2e9ee238c", "score": "0.5518853", "text": "void rollback();", "title": "" }, { "docid": "0fa83964564aee9a139b6b38f8b5a801", "score": "0.54708326", "text": "@Then(\"^user is successfully registered$\")\r\n public void user_is_successfully_registered() throws Throwable {\n throw new PendingException();\r\n }", "title": "" }, { "docid": "8c1a344c7cd414e14f0b6e8c74de4adb", "score": "0.5422796", "text": "private void testRollback002() {\n\t\tDmtSession session = null;\n\t\ttry {\n\t\t\tDefaultTestBundleControl.log(\"#testRollback002\");\n\t\t\tsession = tbc.getDmtAdmin().getSession(\".\", DmtSession.LOCK_TYPE_SHARED);\n\t\t\tsession.rollback();\n\t\t\tDefaultTestBundleControl.failException(\"#\",DmtIllegalStateException.class);\n\t\t} catch (DmtIllegalStateException e) {\n\t\t\tDefaultTestBundleControl.pass(\"DmtIllegalStateException correctly thrown\");\n\t\t} catch (Exception e) {\n tbc.failExpectedOtherException(DmtIllegalStateException.class, e);\n\t\t} finally {\n\t\t\ttbc.closeSession(session);\n\t\t}\n\t}", "title": "" }, { "docid": "fa0d985d5282c58e6ec0b735d5385f81", "score": "0.54085803", "text": "private LoanProtocol processRollback(LoanProtocol protocol)\n\t{\n\t\ttransferLock.countDown();\n\t\tshouldRollback = true;\n\t\treturn null;\n\t}", "title": "" }, { "docid": "03aae7ab679aba8b5ec8c105cf98d91f", "score": "0.53950924", "text": "@Test\n void unauthorized() {\n // Arrange\n final String sessionId = \"A session-id\";\n authorizationResponseCode = AmqpResponseCode.UNAUTHORIZED;\n\n // Act & Assert\n StepVerifier.create(managementChannel.getSessionState(sessionId, LINK_NAME))\n .expectErrorSatisfies(error -> {\n assertTrue(error instanceof ServiceBusException);\n assertEquals(ServiceBusErrorSource.MANAGEMENT, ServiceBusExceptionTestHelper.getInternalErrorSource((ServiceBusException) error));\n assertEquals(ServiceBusFailureReason.UNAUTHORIZED, ((ServiceBusException) error).getReason());\n assertFalse(((ServiceBusException) error).isTransient());\n })\n .verify();\n\n StepVerifier.create(managementChannel.renewMessageLock(sessionId, LINK_NAME))\n .expectErrorSatisfies(error -> {\n assertTrue(error instanceof ServiceBusException);\n assertEquals(ServiceBusErrorSource.MANAGEMENT, ServiceBusExceptionTestHelper.getInternalErrorSource((ServiceBusException) error));\n assertEquals(ServiceBusFailureReason.UNAUTHORIZED, ((ServiceBusException) error).getReason());\n assertFalse(((ServiceBusException) error).isTransient());\n })\n .verify();\n\n StepVerifier.create(managementChannel.renewMessageLock(sessionId, LINK_NAME))\n .expectErrorSatisfies(error -> {\n assertTrue(error instanceof ServiceBusException);\n assertEquals(ServiceBusErrorSource.MANAGEMENT, ServiceBusExceptionTestHelper.getInternalErrorSource((ServiceBusException) error));\n assertEquals(ServiceBusFailureReason.UNAUTHORIZED, ((ServiceBusException) error).getReason());\n assertFalse(((ServiceBusException) error).isTransient());\n })\n .verify();\n\n StepVerifier.create(managementChannel.renewSessionLock(sessionId, LINK_NAME))\n .expectErrorSatisfies(error -> {\n assertTrue(error instanceof ServiceBusException);\n assertEquals(ServiceBusErrorSource.MANAGEMENT, ServiceBusExceptionTestHelper.getInternalErrorSource((ServiceBusException) error));\n assertEquals(ServiceBusFailureReason.UNAUTHORIZED, ((ServiceBusException) error).getReason());\n assertFalse(((ServiceBusException) error).isTransient());\n })\n .verify();\n\n StepVerifier.create(managementChannel.setSessionState(sessionId, new byte[0], LINK_NAME))\n .expectErrorSatisfies(error -> {\n assertTrue(error instanceof ServiceBusException);\n assertEquals(ServiceBusErrorSource.MANAGEMENT, ServiceBusExceptionTestHelper.getInternalErrorSource((ServiceBusException) error));\n assertEquals(ServiceBusFailureReason.UNAUTHORIZED, ((ServiceBusException) error).getReason());\n assertFalse(((ServiceBusException) error).isTransient());\n })\n .verify();\n\n StepVerifier.create(managementChannel.schedule(new ArrayList<>(), OffsetDateTime.now(), 1, LINK_NAME, null))\n .expectErrorSatisfies(error -> {\n assertTrue(error instanceof ServiceBusException);\n assertEquals(ServiceBusErrorSource.MANAGEMENT, ServiceBusExceptionTestHelper.getInternalErrorSource((ServiceBusException) error));\n assertEquals(ServiceBusFailureReason.UNAUTHORIZED, ((ServiceBusException) error).getReason());\n assertFalse(((ServiceBusException) error).isTransient());\n })\n .verify();\n\n StepVerifier.create(managementChannel.updateDisposition(UUID.randomUUID().toString(),\n DispositionStatus.ABANDONED, \"\", \"\",\n null, sessionId, LINK_NAME, null))\n .expectErrorSatisfies(error -> {\n assertTrue(error instanceof ServiceBusException);\n assertEquals(ServiceBusErrorSource.MANAGEMENT, ServiceBusExceptionTestHelper.getInternalErrorSource((ServiceBusException) error));\n assertEquals(ServiceBusFailureReason.UNAUTHORIZED, ((ServiceBusException) error).getReason());\n assertFalse(((ServiceBusException) error).isTransient());\n })\n .verify();\n }", "title": "" }, { "docid": "7c68e540cd18bd72d5ee96e640e7007c", "score": "0.53758633", "text": "@Test\n public void testRevertSuccessCommitFailed() throws Exception {\n Mockito.when(delegateCli.executeAndSwitchPrompt(Mockito.any(Command.class), Mockito.any(Predicate.class)))\n .thenReturn(CompletableFuture.completedFuture(\"\"));\n thrown.expect(WriterRegistry.Reverter.RevertSuccessException.class);\n this.unit.getPostFailedHook(this.context)\n .run(null);\n }", "title": "" }, { "docid": "c2ea7f4109994ea2b06333f2e68b2add", "score": "0.53542984", "text": "protected CompletableFuture<Void> rollback(Set<TransactionParticipant> transactionParticipants) {\n log.trace(\"Rolling back transaction {} via {}\", transactionId, transactionParticipants);\n return CompletableFuture.allOf(transactionParticipants.stream()\n .map(TransactionParticipant::rollback)\n .toArray(CompletableFuture[]::new));\n }", "title": "" }, { "docid": "1c223e0994c62274fd96237a36eacd74", "score": "0.53211635", "text": "@Test\n public void testRegisterSuccessfully() {\n SignUpRequest request = new SignUpRequest(UNIQUE, \"Secret\");\n\n dao.register(request);\n\n verify(controller).registered();\n }", "title": "" }, { "docid": "47e86408fdeda6bf9a8fd8ab81743aae", "score": "0.52902806", "text": "@Test\n public void reactivate() throws BusinessException {\n final ProductService productService = new ProductService();\n\n final Long pProductId = 1L;\n\n new Expectations() {\n\n {\n\n Deencapsulation.setField(productService, \"productDAO\", mockProductDAO);\n\n PartialUserBO writer = new PartialUserBO();\n writer.setId(1L);\n ProductBO product = new ProductBO();\n product.setId(1L);\n\n Date now = new Date();\n\n ProductBO productBO = new ProductBO();\n productBO.setId(1L);\n productBO.setStatus(Status.DELETED);\n\n mockProductDAO.get(1L);\n times = 1;\n returns(productBO);\n\n ProductBO productBOExpected = new ProductBO();\n productBOExpected.setId(1L);\n productBOExpected.setStatus(Status.CREATED);\n\n mockProductDAO.update(with(productBOExpected, new ProductBOMatcher(productBOExpected)));\n }\n };\n\n productService.reactivate(pProductId);\n }", "title": "" }, { "docid": "f514e47601228b9053e8f6ae5c5f3114", "score": "0.527347", "text": "@Test( dependsOnMethods = \"testPrintTicket_NotPaid\" )\n public void testPrintTicket() throws Exception {\n Reservation reservation = service.find( reservationId, PASSWORD );\n reservation.setPaid( reservation.getCost() );\n transaction.begin();\n em.merge( reservation );\n transaction.commit();\n\n // perform and verify\n assertNotNull( service.printETicket( reservationId, PASSWORD ) );\n }", "title": "" }, { "docid": "1165591aa8c3cea3a7f6dfa83eb9c03a", "score": "0.52347034", "text": "@Test(expected = BusinessException.class)\n public void reactivateArchived() throws BusinessException {\n final ProductService productService = new ProductService();\n\n final Long pProductId = 1L;\n\n new Expectations() {\n\n {\n\n Deencapsulation.setField(productService, \"productDAO\", mockProductDAO);\n\n ProductBO productBO = new ProductBO();\n productBO.setStatus(Status.ARCHIVED);\n mockProductDAO.get(1L);\n times = 1;\n returns(productBO);\n }\n };\n\n productService.reactivate(pProductId);\n }", "title": "" }, { "docid": "338ff38fd5aa61ed01112001e07a6f1a", "score": "0.5226783", "text": "public void testBundleRerun2() throws Exception {\n BundleJobBean job = this.addRecordToBundleJobTable(Job.Status.SUCCEEDED, false);\n this.addRecordToBundleActionTable(job.getId(), \"action1\", 0, Job.Status.SUCCEEDED);\n this.addRecordToBundleActionTable(job.getId(), \"action2\", 0, Job.Status.SUCCEEDED);\n addRecordToCoordJobTable(\"action1\", CoordinatorJob.Status.SUCCEEDED, false);\n addRecordToCoordJobTable(\"action2\", CoordinatorJob.Status.SUCCEEDED, false);\n\n JPAService jpaService = Services.get().get(JPAService.class);\n assertNotNull(jpaService);\n BundleJobGetJPAExecutor bundleJobGetExecutor = new BundleJobGetJPAExecutor(job.getId());\n job = jpaService.execute(bundleJobGetExecutor);\n assertEquals(Job.Status.SUCCEEDED, job.getStatus());\n\n new BundleRerunXCommand(job.getId(), \"action1\", null, false, true).call();\n\n job = jpaService.execute(bundleJobGetExecutor);\n assertEquals(Job.Status.RUNNING, job.getStatus());\n }", "title": "" }, { "docid": "40f4dd91e0cb0f52772d8d21fdac8573", "score": "0.5218768", "text": "public void verifyActivate() {\n // TODO - How to test the EJB passivate?\n throw new RuntimeException(\"Test not implemented yet.\");\n }", "title": "" }, { "docid": "acf64ed3b694f24d36542622cdb956f1", "score": "0.52092046", "text": "public void rollbackTx()\n\n{\n\n}", "title": "" }, { "docid": "8a553410cdf492e0855c5562d55b5b17", "score": "0.52068216", "text": "@Then(\"^registration should be successful$\")\npublic void registration_should_be_successful() throws Throwable {\n\tSystem.out.println(\"Successfuly completed the regitration process\");\n}", "title": "" }, { "docid": "0fed8197215cf9da0a5bb6a616dc742e", "score": "0.5204271", "text": "@Test\n public void testRegisterDuplicateUsername() {\n SignUpRequest request = new SignUpRequest(DUPLICATE, \"Secret\");\n\n dao.register(request);\n\n verify(controller).duplicateUsername();\n\n try {\n verify(connection, never()).register(request);\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n }", "title": "" }, { "docid": "8519170f764c7f01ddca24eeeac24cd3", "score": "0.5203592", "text": "@Override\n\tpublic void takeATurn() {\n\n\t}", "title": "" }, { "docid": "4e4440b6ca3d0ab811c54fd496d723a6", "score": "0.5202806", "text": "@Override\n @Test(groups = {\"UserTransaction access\"}, expectedExceptions = CustomException00.class)\n @SuppressWarnings(\"unused\")\n public void testUserTransaction00() throws Exception {\n ItfAccessUserTransaction bean = getBeanRemoteInstance(SLSBAccessUserTxInterceptor00.class,\n ItfAccessUserTransaction.class);\n bean.accessUserTransaction(null);\n }", "title": "" }, { "docid": "ea8d727bbf09b13b86f29869e093375b", "score": "0.5170668", "text": "public interface RegisterInteractor {\n\n void register(String username,String email,String password,String repeatPassoword,OnRegisterFinishedListener listener);\n\n}", "title": "" }, { "docid": "955c9361e114f0710af28f2850bd00f5", "score": "0.5168034", "text": "public void test_CreateContest_Failure2_EntityAlreadyExistsException()\r\n throws Exception {\r\n try {\r\n initContext();\r\n\r\n Contest contest = createContestForTest();\r\n\r\n beanUnderTest.createContest(contest);\r\n\r\n // Persist it again.\r\n beanUnderTest.createContest(contest);\r\n\r\n fail(\"EntityAlreadyExistsException is expected.\");\r\n } catch (EntityAlreadyExistsException e) {\r\n // success\r\n }\r\n }", "title": "" }, { "docid": "701e985ef28786eb2c8f343453d5aab9", "score": "0.5165396", "text": "@Test\n public void testcancelwithoutrefund()\n {\n\n BusinessManager businessManager = new BusinessManager();\n\n //how do i test void\n //how to i move back to current\n //assertEquals(businessManager.cancelConfirm(\"yes\"), );\n\n\n }", "title": "" }, { "docid": "9b3945ade92072d63a519d96d8d75c17", "score": "0.51637757", "text": "@Override\n public void rollback() throws IllegalStateException, SecurityException, SystemException {\n assertActiveTransaction();\n try {\n getTransaction().rollback();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n txns.set(null);\n }\n }", "title": "" }, { "docid": "70c18cce962cfcace875906db646ea6a", "score": "0.51527554", "text": "@Override\n public void afterBegin() throws EJBException, RemoteException {\n \tSystem.out.println(\"taskerBean transaction began\");\n }", "title": "" }, { "docid": "08284cbc9029c30ca35e3e90352c24ae", "score": "0.51507777", "text": "@Test\n public void testUndo(){\n //TODO\n }", "title": "" }, { "docid": "4b1a2b67e72b9aac4d72277bdbbf1471", "score": "0.5150456", "text": "public void onRollbackLastReInitialization(ContainerId containerId) {}", "title": "" }, { "docid": "e6da9ada550249511c31283f01d0b9ed", "score": "0.51431197", "text": "@Override\r\n\tpublic void rollback() throws IllegalStateException, SecurityException, SystemException {\r\n\r\n\t\trequireTransaction(\"rollback\");\r\n\t\tif (getStatus()==Status.STATUS_COMMITTING) {\r\n\t\t\tthrow new IllegalStateException(\"Cannot rollback transaction while it's committing\");\r\n\t\t}\r\n\t\tgetTransaction().rollback();\r\n\t\tremoveTransaction();\r\n\r\n\t}", "title": "" }, { "docid": "465e8abcbc582b18f3c779a64b65a386", "score": "0.51352704", "text": "@Test\n public void initiatePayloadSuccess() throws Exception {\n // Arrange\n TestSubscriber<Void> subscriber = new TestSubscriber<>();\n doAnswer(invocation -> {\n ((PayloadManager.InitiatePayloadListener) invocation.getArguments()[3]).onInitSuccess();\n return null;\n }).when(mPayloadManager).initiatePayload(\n anyString(), anyString(), any(CharSequenceX.class), any(PayloadManager.InitiatePayloadListener.class));\n // Act\n mSubject.updatePayload(\"1234567890\", \"1234567890\", new CharSequenceX(\"1234567890\")).toBlocking().subscribe(subscriber);\n // Assert\n verify(mPayloadManager).setTempPassword(any(CharSequenceX.class));\n subscriber.assertCompleted();\n subscriber.assertNoErrors();\n }", "title": "" }, { "docid": "198b6c377868ef429153d0b9d0013545", "score": "0.5131682", "text": "@Ignore\n @Test (expected = InvalidRequestException.class)\n public void test_if_isSessionActive_returnsFalse_throw_InvalidRequestException(){\n\n //Arrange\n List accountList = new LinkedList();\n AppUser validUser = new AppUser(\"id\", \"valid\", \"valid\", \"valid\", \"valid\", \"valid\");\n Account dummyAccount = new Account();\n when(mockUserService.isSessionActive()).thenReturn(true);\n when(mockUserService.getSessionUser()).thenReturn(validUser);\n\n\n //Act\n try{\n sut.createNewAccount(dummyAccount);\n }finally{\n verify(mockAccountDAO, times(0)).save(dummyAccount);\n }\n\n }", "title": "" }, { "docid": "41f43dd5f2eb6848679a2edf4c22a39d", "score": "0.5127729", "text": "@Test\n\tpublic void registerUserFailingTest() throws RemoteException, NoSuchAlgorithmException, InvalidKeySpecException, IOException, InvalidKeyException, SignatureException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, UnrecoverableKeyException, KeyStoreException, CertificateException {\n\t\tPasswordManager pm = new PasswordManager(8080);\n\n\t\t// Register with a malformed message\n\t\tString response = pm.registerUser(DatatypeConverter.printBase64Binary(cliPubKey.getEncoded()), \n\t\t\t\tDigitalSignature.getSignature(cliPubKey.getEncoded(),servPrivKey));\n\t\t\n\t\t// Analyse the correctness of the answer\n\t\tAssert.assertEquals(response, \"Error-Error-Error-Error-Error\");\n\t}", "title": "" }, { "docid": "8b532986b7dd5f0d99517de98d999aa0", "score": "0.5126646", "text": "void rollbackTransaction();", "title": "" }, { "docid": "cc6a744dadb1ef2c5e7db99c14a55e1f", "score": "0.51245266", "text": "public void testBundleRerun1() throws Exception {\n BundleJobBean job = this.addRecordToBundleJobTable(Job.Status.SUCCEEDED, false);\n this.addRecordToBundleActionTable(job.getId(), \"action1\", 0, Job.Status.SUCCEEDED);\n this.addRecordToBundleActionTable(job.getId(), \"action2\", 0, Job.Status.SUCCEEDED);\n addRecordToCoordJobTable(\"action1\", CoordinatorJob.Status.SUCCEEDED, false);\n addRecordToCoordJobTable(\"action2\", CoordinatorJob.Status.SUCCEEDED, false);\n\n JPAService jpaService = Services.get().get(JPAService.class);\n assertNotNull(jpaService);\n BundleJobGetJPAExecutor bundleJobGetExecutor = new BundleJobGetJPAExecutor(job.getId());\n job = jpaService.execute(bundleJobGetExecutor);\n assertEquals(Job.Status.SUCCEEDED, job.getStatus());\n\n new BundleRerunXCommand(job.getId(), null, \"2009-02-01T00:00Z\", false, true).call();\n\n job = jpaService.execute(bundleJobGetExecutor);\n assertEquals(Job.Status.RUNNING, job.getStatus());\n }", "title": "" }, { "docid": "c5309fdca91af6fb2eb27e4960742996", "score": "0.5122008", "text": "@Test\n public void testSecondaryFailureInUNRegisterInterest() throws Exception {\n createClientPoolCache(getName(), NetworkUtils.getServerHostName(server1.getHost()));\n createEntriesK1andK2();\n server1.invoke(HAInterestTestCase::createEntriesK1andK2);\n server2.invoke(HAInterestTestCase::createEntriesK1andK2);\n server3.invoke(HAInterestTestCase::createEntriesK1andK2);\n registerK1AndK2();\n VM stoppedBackup = stopSecondaryAndUNregisterK1();\n verifyDeadAndLiveServers(1, 2);\n // still primary\n getPrimaryVM().invoke(HAInterestTestCase::verifyDispatcherIsAlive);\n // primary\n getPrimaryVM().invoke(HAInterestTestCase::verifyInterestUNRegistration);\n // secondary\n getBackupVM(stoppedBackup).invoke(HAInterestTestCase::verifyInterestUNRegistration);\n }", "title": "" }, { "docid": "c2f8d9078486dd4296bb05aa1a60003d", "score": "0.5121321", "text": "int updateParticipant(TccTransaction tccTransaction);", "title": "" }, { "docid": "940c98047fb0afac945789ca666fdd96", "score": "0.5121037", "text": "public IgniteInternalFuture<IgniteInternalTx> rollbackAsync();", "title": "" }, { "docid": "3dc510395aec81364e71b6220e1c918b", "score": "0.5117167", "text": "@Test\n\tpublic void testUpdatePoStatusErrorListenerSuccesTest() {\n\t\ttry{\n\t\t\t//Is used in soap request preparation because value is used in reply soap header.\n\t\t\t final String callbackRefMockUri = mockOsbBusinessService(\n\t\t\t //\"SalesOrderErrorListener/operations/receiveSalesOrderLineErrorMessage/business-service/SalesOrderServiceCallback\",\n\t\t\t PATH_UPDATE_STATUS_CALLBACK,\n\t\t\t updatePoStatusCallbackPortMock);\t\n\t\t\t \n\t\t\t mockOsbBusinessService(\n\t\t\t PATH_RESPONSE_RETRY_WRAPPER,\n\t\t\t responseRetryWrapperMock);\n\t\n\t\t\tfinal String requestString = new ParameterReplacer(readClasspathFile(\"Request_UpdatePOStatusErrorListener.xml\"))\n\t\t\t\t\t.replace(REPLACE_PARAM_CORRELATION_ID, randomCorrelationId)\n\t\t\t\t\t.replace(REPLACE_PARAM_PURCHASE_ORDER_NUMBER, randomPoNumber)\n\t\t\t\t\t.replace(REPLACE_PARAM_COMBOX_ID, randomCoboxId)\n\t\t\t\t\t.replace(REPLY_TO, callbackRefMockUri)\n\t\t\t\t\t.replace(MESSAGE_ID, randomMessageId).build();\n\t\t\t\t\t\n\t\n\t\t\tLOGGER.info(\"+++ request \" + requestString);\n\t\n\t\t\tinvokeOsbProxyService(PATH_SERVICE, requestString);\n\t\n\t\t\t// P1002-ORDER-SENT-ERR must be written once to BAL\n\t\t\tassertThat(\"BAL not written for P1002-ORDER-SENT-ERR\",\n\t\t\t\t\t\t\tgetOtmDao().query(createBALQuery(\"P1002-ORDER-SENT-ERR\",randomCorrelationId)).size() == 1);\n\t\t\t// P1002-ORDER-SENT-ERR must be written once to OTM PO\n\t\t\tassertThat(\"OTM PO not written for P1002-ORDER-SENT-ERR\",\n\t\t\t\t\tgetOtmDao().query(createOSMPOQuery(\"P1002-ORDER-SENT-ERR\",randomCorrelationId)).size() == 1);\n\t\n\t\n\t\t\t\n\t\t\tassertThat(\"updatePoStatusCallbackPortMock is not invocked!\",updatePoStatusCallbackPortMock.hasBeenInvoked());\n\t\t\t//This should not be invoked\n\t\t\tassertThat(\"responseRetryWrapperMock should not be invocked!\",!responseRetryWrapperMock.hasBeenInvoked());\n\t\n\t\t\t\n\t\t\t//Get message from process as it is\n\t\t\tString updatePoStatusCallbackPortMockMsg = updatePoStatusCallbackPortMock.getLastReceivedRequest();\n\t\t\t\n\t\t\t//Get example message and change dynamic used values.\n\t\t\tString updatePoStatusCallbackPortMockMsgExpected = new ParameterReplacer(readClasspathFile(\"Callback_UpdatePOStatusErrorListener.xml\")).replace(REPLACE_PARAM_CORRELATION_ID, randomCorrelationId)\n\t\t\t\t\t.replace(REPLACE_PARAM_PURCHASE_ORDER_NUMBER, randomPoNumber)\n\t\t\t\t\t.replace(REPLACE_PARAM_COMBOX_ID, randomCoboxId)\n\t\t\t\t\t.replace(REPLY_TO, callbackRefMockUri)\n\t\t\t\t\t.replace(MESSAGE_ID, randomMessageId).build();\n\t\t\t\t\t\n\t\t\t\n\t\t\tassertXmlEquals(updatePoStatusCallbackPortMockMsgExpected,\tupdatePoStatusCallbackPortMockMsg);\n\t\t}catch(ServiceException e) {\n\t\t\tfail();\n\t\t}\n\n\t}", "title": "" }, { "docid": "092bc5d9a266698949efeebb030cb1c2", "score": "0.51166743", "text": "@Test\n public void testNoServicesQuiesce() throws Exception {\n\t \n System.out.println(\"In testNoServicesQuiesce\");\n\tObject obj = context().getService(TestBean.class);\n\t\n\tif (obj != null)\n\t{ \n\t\tQuiesceParticipant participant = getParticipant(\"org.apache.aries.blueprint.core\");\n\t\t\n\t\tif (participant != null)\n\t\t{\n\t\t\tTestQuiesceCallback callbackA = new TestQuiesceCallback();\n\t\t\tTestQuiesceCallback callbackB = new TestQuiesceCallback();\n\t\t \n\t\t\t//bundlea provides the ns handlers, bean processors, interceptors etc for this test.\n\t Bundle bundlea = getBundle(\"org.apache.aries.blueprint.testbundlea\");\n\t assertNotNull(bundlea);\n\t bundlea.start();\n\t \n\t //bundleb has no services and makes use of the extensions provided by bundlea\n\t Bundle bundleb = getBundle(\"org.apache.aries.blueprint.testbundleb\");\n\t assertNotNull(bundleb);\n\t bundleb.start();\n\t \n\t Helper.getBlueprintContainerForBundle(context(), \"org.apache.aries.blueprint.testbundleb\");\n\t \n\t\t\tparticipant.quiesce(callbackB, Collections.singletonList(getBundle(\n\t\t\t\t\"org.apache.aries.blueprint.testbundleb\")));\n\t\t\t\n\t\t System.out.println(\"Called Quiesce\");\n\t\t \n\t\t Thread.sleep(200);\n\t\t \n\t\t Assert.assertTrue(\"Quiesce callback B should have occurred; calls should be 1, but it is \"+callbackB.getCalls(), callbackB.getCalls()==1);\n\t\t Assert.assertTrue(\"Quiesce callback A should not have occurred yet; calls should be 0, but it is \"+callbackA.getCalls(), callbackA.getCalls()==0);\n\t\t \n\t\t bundleb.stop();\n\t\t \n\t\t participant.quiesce(callbackA, Collections.singletonList(getBundle(\n\t\t\t\"org.apache.aries.blueprint.testbundlea\")));\n\t\t\t\t \n\t\t Thread.sleep(1000);\n\t\t \n\t\t System.out.println(\"After second sleep\");\n\t\t \n\t\t Assert.assertTrue(\"Quiesce callback A should have occurred once; calls should be 1, but it is \"+callbackA.getCalls(), callbackA.getCalls()==1);\n\t\t Assert.assertTrue(\"Quiesce callback B should have occurred once; calls should be 1, but it is \"+callbackB.getCalls(), callbackB.getCalls()==1);\n\t\t \n\t\t}else{\n\t\t\tthrow new Exception(\"No Quiesce Participant found for the blueprint service\");\n\t\t}\n\t}else{\n\t\tthrow new Exception(\"No Service returned for \" + TestBean.class);\n\t}\n }", "title": "" }, { "docid": "56e2d47ae35b9e09eb6384a67ff38026", "score": "0.51152366", "text": "@Test\n public void testStartInactive() throws Exception {\n // make an inactive manager by deserializing it\n RealManager mgr2 = Serializer.roundTrip(new RealManager(services, params, REQ_ID, workMem));\n mgr = mgr2;\n\n // cannot re-start\n assertThatCode(() -> mgr.start()).isInstanceOf(IllegalStateException.class)\n .hasMessage(\"manager is no longer active\");\n }", "title": "" }, { "docid": "ea9780fa5c49e31df4983724fbaf544d", "score": "0.51150376", "text": "public void ejbActivate() {\n testAllowedOperations(\"ejbActivate\");\n }", "title": "" }, { "docid": "3fe2865cb387356a4333092283ba8a48", "score": "0.511326", "text": "public void rollback() throws ResourceException;", "title": "" }, { "docid": "697958bdb7b398ebb4e0d787c80563ea", "score": "0.5105359", "text": "public void testRollback() throws Exception {\n Properties props = new Properties();\n props.setProperty(LockssRepositoryImpl.PARAM_CACHE_LOCATION, tempDirPath);\n props\n\t.setProperty(ConfigManager.PARAM_PLATFORM_DISK_SPACE_LIST, tempDirPath);\n ConfigurationUtil.setCurrentConfigFromProps(props);\n\n startService();\n Connection conn = sqlDbManager.getConnection();\n assertNotNull(conn);\n assertFalse(sqlDbManager.tableExists(conn, \"testtable\"));\n assertTrue(sqlDbManager.createTableIfMissing(conn, \"testtable\",\n\t\t\t\t\t TABLE_CREATE_SQL));\n assertTrue(sqlDbManager.tableExists(conn, \"testtable\"));\n\n SqlDbManager.safeRollbackAndClose(conn);\n conn = sqlDbManager.getConnection();\n assertNotNull(conn);\n assertFalse(sqlDbManager.tableExists(conn, \"testtable\"));\n }", "title": "" }, { "docid": "6bca740b0dc599145eba69c0ff4d9a73", "score": "0.510251", "text": "public void test1_CheckUniqueParticipant() {\n if (!ParticipantController.checkUniqueParticipant(\"ControllerTest\")) {\n assertTrue(true);\n } else {\n assertTrue(\"Fail\", false);\n }\n\n // should not find participant else fail\n if (ParticipantController.checkUniqueParticipant(\"ControllerTestDummy\")) {\n assertTrue(true);\n } else {\n assertTrue(\"Fail\", false);\n }\n }", "title": "" }, { "docid": "3d34694996da5a91077873229ece81e6", "score": "0.5098034", "text": "@Override\n public void beforeCompletion() throws EJBException, RemoteException {\n \tSystem.out.println(\"taskerBean transaction almost done\");\n }", "title": "" }, { "docid": "7a0acbbe87458a8ed4d7d05a05338a3d", "score": "0.5096702", "text": "@Test\n public void testPrimaryFailureInUNregisterInterest() throws Exception {\n createClientPoolCache(getName(), NetworkUtils.getServerHostName(server1.getHost()));\n createEntriesK1andK2();\n server1.invoke(HAInterestTestCase::createEntriesK1andK2);\n server2.invoke(HAInterestTestCase::createEntriesK1andK2);\n server3.invoke(HAInterestTestCase::createEntriesK1andK2);\n\n registerK1AndK2();\n\n VM oldPrimary = getPrimaryVM();\n stopPrimaryAndUnregisterRegisterK1();\n\n verifyDeadAndLiveServers(1, 2);\n\n VM newPrimary = getPrimaryVM(oldPrimary);\n newPrimary.invoke(HAInterestTestCase::verifyDispatcherIsAlive);\n // primary\n newPrimary.invoke(HAInterestTestCase::verifyInterestUNRegistration);\n // secondary\n getBackupVM().invoke(HAInterestTestCase::verifyInterestUNRegistration);\n }", "title": "" }, { "docid": "154463a5dd61ce6c01dd20d8748efd1b", "score": "0.5095995", "text": "@Test\n public void testManageRollbacksPermission() throws Exception {\n // We shouldn't be allowed to call any of the RollbackManager APIs\n // without the MANAGE_ROLLBACKS permission.\n RollbackManager rm = RollbackTestUtils.getRollbackManager();\n\n try {\n rm.getAvailableRollbacks();\n fail(\"expected SecurityException\");\n } catch (SecurityException e) {\n // Expected.\n }\n\n try {\n rm.getRecentlyCommittedRollbacks();\n fail(\"expected SecurityException\");\n } catch (SecurityException e) {\n // Expected.\n }\n\n try {\n // TODO: What if the implementation checks arguments for non-null\n // first? Then this test isn't valid.\n rm.commitRollback(0, Collections.emptyList(), null);\n fail(\"expected SecurityException\");\n } catch (SecurityException e) {\n // Expected.\n }\n\n try {\n rm.reloadPersistedData();\n fail(\"expected SecurityException\");\n } catch (SecurityException e) {\n // Expected.\n }\n\n try {\n rm.expireRollbackForPackage(TEST_APP_A);\n fail(\"expected SecurityException\");\n } catch (SecurityException e) {\n // Expected.\n }\n }", "title": "" }, { "docid": "3e862a2262529aa32da23ceac142890e", "score": "0.5085703", "text": "protected abstract void rollback(WorkFlowChainContext chainContext) throws WorkFlowException;", "title": "" }, { "docid": "88342301cbb1aeebb46c661ec5eed354", "score": "0.50825655", "text": "@Test\n public void supervisorCanCloseACashRegister() {\n this.supervisor.canClose();\n }", "title": "" }, { "docid": "3f92d4d23545bb3457a36b59562899a1", "score": "0.5080314", "text": "public void testCheckAndRestoreIfNeeded_failure()\n {\n // SETUP\n String host = \"localhost\";\n int port = 1234;\n String service = \"doesn'texist\";\n MockCacheEventLogger cacheEventLogger = new MockCacheEventLogger();\n\n RegistryKeepAliveRunner runner = new RegistryKeepAliveRunner( host, port, service );\n runner.setCacheEventLogger( cacheEventLogger );\n\n // DO WORK\n runner.checkAndRestoreIfNeeded();\n\n // VERIFY\n // 1 for the lookup, one for the rebind since the server isn't created yet\n assertEquals( \"error tally\", 2, cacheEventLogger.errorEventCalls );\n //System.out.println( cacheEventLogger.errorMessages );\n }", "title": "" }, { "docid": "38b66ddf003ba3dccf4d6e63146bfa94", "score": "0.50794065", "text": "private void testRollback003() {\n DmtSession session = null;\n try {\n DefaultTestBundleControl.log(\"#testRollback003\");\n session = tbc.getDmtAdmin().getSession(\".\",DmtSession.LOCK_TYPE_ATOMIC);\n session.rollback();\n TestCase.assertEquals(\"Asserting that after a rollback(), the session is not closed.\", session.getState(), DmtSession.STATE_OPEN);\n } catch (Exception e) {\n \ttbc.failUnexpectedException(e);\n } finally {\n tbc.closeSession(session);\n }\n }", "title": "" }, { "docid": "704d078d717079406ed87237ff2fc2e5", "score": "0.5078887", "text": "public void afterBegin() throws EJBException, RemoteException;", "title": "" }, { "docid": "c8cfeccc6484e0a6bfe7f9e2023f317d", "score": "0.5074433", "text": "@Test\n public void SameTokenNameCloseAccountIsNotCreator() {\n dbManager.getDynamicPropertiesStore().saveAllowSameTokenName(0);\n InitExchangeBeforeSameTokenNameActive();\n long exchangeId = 1;\n String firstTokenId = \"abc\";\n long firstTokenQuant = 200000000L;\n String secondTokenId = \"def\";\n long secondTokenQuant = 400000000L;\n\n byte[] ownerAddress = ByteArray.fromHexString(OWNER_ADDRESS_SECOND);\n AccountCapsule accountCapsule = dbManager.getAccountStore().get(ownerAddress);\n accountCapsule.addAssetAmount(firstTokenId.getBytes(), firstTokenQuant);\n accountCapsule.addAssetAmount(secondTokenId.getBytes(), secondTokenQuant);\n accountCapsule.setBalance(10000_000000L);\n dbManager.getAccountStore().put(ownerAddress, accountCapsule);\n\n ExchangeWithdrawActuator actuator = new ExchangeWithdrawActuator(getContract(\n OWNER_ADDRESS_SECOND, exchangeId, firstTokenId, firstTokenQuant),\n dbManager);\n TransactionResultCapsule ret = new TransactionResultCapsule();\n\n try {\n actuator.validate();\n actuator.execute(ret);\n fail();\n } catch (ContractValidateException e) {\n Assert.assertTrue(e instanceof ContractValidateException);\n Assert.assertEquals(\"account[a0548794500882809695a8a687866e76d4271a1abc]\"\n + \" is not creator\",\n e.getMessage());\n } catch (ContractExeException e) {\n Assert.assertFalse(e instanceof ContractExeException);\n } finally {\n dbManager.getExchangeStore().delete(ByteArray.fromLong(1L));\n dbManager.getExchangeStore().delete(ByteArray.fromLong(2L));\n dbManager.getExchangeV2Store().delete(ByteArray.fromLong(1L));\n dbManager.getExchangeV2Store().delete(ByteArray.fromLong(2L));\n }\n }", "title": "" }, { "docid": "c4f346588438e32264fa1743614f3738", "score": "0.50685525", "text": "@Test\r\n\tpublic void testRegisterWithoutLoggingIn() throws Exception {\r\n\t\t//Unsuccessful login\r\n\t\tcompany.employeeLogin(\"LAND\", \"wrongPassword\");\r\n\t\ttry {\r\n\t\t\temployee.registerSpentTime(project.getID()+\"-Designing\", 100);\r\n\t\t\tfail(\"OperationNotAllowedException exception should have been thrown\");\r\n\t\t} catch (OperationNotAllowedException e) {\r\n\t\t\tassertEquals(\"Employee is not logged in\", e.getMessage());\r\n\t\t\tassertEquals(\"Register spent time\", e.getOperation());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ee72eeef7d5d3eaa52f225d00fd36cf2", "score": "0.5065018", "text": "public void insertReservation(TestDto testDto) throws Exception;", "title": "" }, { "docid": "f31280db9b0a66b1cb08c21b5ea60c4c", "score": "0.504713", "text": "@Test\n public void createNewUserAndCheckIt() {\n UserLogin userLogin = new UserLogin();\n userLogin.setUserLogin(\"068-068-68-68\");\n userLogin.setUserPassword(\"12345\");\n boolean isThrow = false;\n try {\n UserResponse userResponse = loginsService.checkLoginSignInSignUp(userLogin, \"SignUp\");\n } catch (ApplicationException e) {\n isThrow = true;\n }\n assertThat(isThrow);\n\n //Successful registration\n userLogin.setUserPasswordNew(\"12345\");\n UserResponse userResponse = loginsService.checkLoginSignInSignUp(userLogin, \"SignUp\");\n\n assertThat(userResponse.getUserPhone().equals(usersService.normalizeAndCheckPhoneFormat(userLogin.getUserLogin())));\n assertThat(userResponse.getUserPoints()).size().isEqualTo(5);\n }", "title": "" }, { "docid": "78a5f06453b423e557f43686f821f5ba", "score": "0.50408125", "text": "@AfterThrowing(\"execution(* com.revature.services.YawpService.register(..))\")\n\tpublic void faildYawpRegister(JoinPoint jp) {\n\t\tlog.error(\"Failed yawp creation: sql exception: \" + jp.getSignature());\n\t}", "title": "" }, { "docid": "242e969434b68207f6c5cab4f7004e6c", "score": "0.5039543", "text": "public interface RegisterService {\n\n /**\n * 获取验证码\n * @param para\n * @return\n */\n RegisterResult getPictureCode(RegisterEnter para);\n /**\n * 注册用户\n * @param para\n * @return\n */\n RegisterResult registerUser(RegisterEnter para);\n\n\n /**\n * 个人用户注册设置密码\n * @param para\n * @return\n */\n @Role\n RegisterResult register_person(RegisterEnter para);\n\n /**\n * 插入注册推荐人公司信息\n * @param dept\n */\n void insertReferrerDept(String dept,String mobileNo);\n}", "title": "" }, { "docid": "fafeaca2140fb9bff0a09ff60e86b748", "score": "0.5032084", "text": "public void testDefaultFinishSessiontWithStartAddAccountSessionImpl()\n throws OperationCanceledException, AuthenticatorException, IOException {\n String accountName = Fixtures.PREFIX_NAME_SUCCESS + \"@\" + Fixtures.SUFFIX_NAME_FIXTURE;\n // Creates session bundle to be returned by custom implementation of\n // startAddAccountSession of authenticator.\n Bundle sessionBundle = new Bundle();\n sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName);\n sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE,\n Fixtures.TYPE_STANDARD_UNAFFILIATED);\n Bundle options = new Bundle();\n options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName);\n options.putBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle);\n\n // First get an encrypted session bundle from custom startAddAccountSession implementation.\n AccountManagerFuture<Bundle> future = mAccountManager.startAddAccountSession(\n Fixtures.TYPE_STANDARD_UNAFFILIATED,\n null /* authTokenType */,\n null /* requiredFeatures */,\n options,\n null /* activity */,\n null /* callback */,\n null /* handler */);\n\n Bundle result = future.getResult();\n assertTrue(future.isDone());\n assertNotNull(result);\n\n Bundle decryptedBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);\n assertNotNull(decryptedBundle);\n\n try {\n // Call default implementation of finishSession of authenticator\n // with encrypted session bundle.\n future = mAccountManager.finishSession(\n decryptedBundle,\n null /* activity */,\n null /* callback */,\n null /* handler */);\n future.getResult();\n\n fail(\"Should have thrown AuthenticatorException if finishSession is not overridden.\");\n } catch (AuthenticatorException e) {\n }\n }", "title": "" }, { "docid": "c0255074f47beaccd7838934f408863f", "score": "0.502932", "text": "private void doRollback() throws TransactionInfrastructureException {\n\t\t// DO WE WANT TO ROLL\n\t\t//\t\tif (isTransactionalMethod(m))\n\t\tObject txObject = getTransactionObject();\n\t\tif (txObject == null)\n\t\t\tthrow new TransactionInfrastructureException(\"Cannot rollback transaction: don't have a transaction\");\n\t\trollback(txObject);\n\t}", "title": "" }, { "docid": "d81a8487a2b4d6d3b11bd5a160f0902f", "score": "0.5027118", "text": "@Override\n\tpublic void rollback() throws Throwable {\n\t\tthrow new Warning(\"please use rollback(context)\");\n\t}", "title": "" }, { "docid": "2df494e0f091c504faedc0dea201ea1a", "score": "0.50225365", "text": "@Test\n void saveAndExpectServiceException() {\n DomainUser expected = DomainUser.builder()\n .userName(\"someone\")\n .password(\"short\")\n .build();\n when(ldaptiveTemplate.exists(any(), any())).thenReturn(false);\n assertThrows(\n ServiceException.class,\n () -> userRepository.save(expected, true));\n }", "title": "" }, { "docid": "479802a4947943484c387f0840e22bac", "score": "0.5021358", "text": "public interface RegisterInteractor {\n\n interface OnFinishedRegisterListener {\n void onNameError();\n\n void onUsernameError();\n\n void onPasswordError();\n\n void onSuccess();\n }\n\n void register(String name, String username, String password, OnFinishedRegisterListener listener);\n}", "title": "" }, { "docid": "0bc8e8a99d2bac289d340be13312852c", "score": "0.5010198", "text": "@Test\n public void testRollbackBroadcastRestrictions() throws Exception {\n RollbackBroadcastReceiver broadcastReceiver = new RollbackBroadcastReceiver();\n Intent broadcast = new Intent(Intent.ACTION_ROLLBACK_COMMITTED);\n try {\n InstrumentationRegistry.getContext().sendBroadcast(broadcast);\n fail(\"Succeeded in sending restricted broadcast from app context.\");\n } catch (SecurityException se) {\n // Expected behavior.\n }\n\n // Confirm that we really haven't received the broadcast.\n // TODO: How long to wait for the expected timeout?\n assertNull(broadcastReceiver.poll(5, TimeUnit.SECONDS));\n\n // TODO: Do we need to do this? Do we need to ensure this is always\n // called, even when the test fails?\n broadcastReceiver.unregister();\n }", "title": "" }, { "docid": "bd6525282403efee4f93645b69dd5a43", "score": "0.5007868", "text": "@Test\n public void SameTokenNameCloseNoAccount() {\n dbManager.getDynamicPropertiesStore().saveAllowSameTokenName(0);\n InitExchangeBeforeSameTokenNameActive();\n long exchangeId = 1;\n String firstTokenId = \"abc\";\n long firstTokenQuant = 100000000L;\n String secondTokenId = \"def\";\n long secondTokenQuant = 200000000L;\n\n byte[] ownerAddress = ByteArray.fromHexString(OWNER_ADDRESS_FIRST);\n AccountCapsule accountCapsule = dbManager.getAccountStore().get(ownerAddress);\n Map<String, Long> assetMap = accountCapsule.getAssetMap();\n Assert.assertEquals(10000_000000L, accountCapsule.getBalance());\n Assert.assertEquals(null, assetMap.get(firstTokenId));\n Assert.assertEquals(null, assetMap.get(secondTokenId));\n\n ExchangeWithdrawActuator actuator = new ExchangeWithdrawActuator(getContract(\n OWNER_ADDRESS_NOACCOUNT, exchangeId, firstTokenId, firstTokenQuant),\n dbManager);\n TransactionResultCapsule ret = new TransactionResultCapsule();\n\n try {\n actuator.validate();\n actuator.execute(ret);\n fail(\"account[+OWNER_ADDRESS_NOACCOUNT+] not exists\");\n } catch (ContractValidateException e) {\n Assert.assertTrue(e instanceof ContractValidateException);\n Assert.assertEquals(\"account[\" + OWNER_ADDRESS_NOACCOUNT + \"] not exists\",\n e.getMessage());\n } catch (ContractExeException e) {\n Assert.assertFalse(e instanceof ContractExeException);\n } finally {\n dbManager.getExchangeStore().delete(ByteArray.fromLong(1L));\n dbManager.getExchangeStore().delete(ByteArray.fromLong(2L));\n dbManager.getExchangeV2Store().delete(ByteArray.fromLong(1L));\n dbManager.getExchangeV2Store().delete(ByteArray.fromLong(2L));\n }\n }", "title": "" }, { "docid": "a78ee11da877e730324566d6bb391d5f", "score": "0.4998304", "text": "@Test\n public void processTestB()\n {\n acc_db.addAccount(acc);\n acc_db.addAccount(acc2);\n\n //failed transaction\n trans = new Transaction(acc_db,acc.get_Account_Number(),acc2.get_Account_Number(),2000);\n\n Assert.assertEquals(false,trans.process());\n }", "title": "" }, { "docid": "43e44181fa00e023e5ed221238f2237c", "score": "0.49948606", "text": "@Override\n public void rollbackTx() {\n \n }", "title": "" }, { "docid": "7fdaac37cb64a34b80b37c2096e6287a", "score": "0.49929985", "text": "@Then(\"^Validar registro de usuario$\")\n\tpublic void validar_registro_de_usuario() throws Exception {\n\t throw new PendingException();\n\t}", "title": "" }, { "docid": "42697caddecac94bf86f28d69c8a0616", "score": "0.49920434", "text": "public interface TestService {\n\n void test();\n\n void testTransactions();\n\n}", "title": "" }, { "docid": "414a8f276da32f65f5c4d6b5775edfc3", "score": "0.49835598", "text": "void rollback(Transaction transaction);", "title": "" }, { "docid": "2d3c1f5a03cc20d4b10dd13acbc29bdf", "score": "0.49819905", "text": "void failure(ServiceExecutionEvent e) {\n\n }", "title": "" }, { "docid": "7029e55a8d93e651cd22360d9077d699", "score": "0.4981116", "text": "protected abstract String persistSucceededMessage();", "title": "" }, { "docid": "8e82ae05399a4a660c11daf7229f3309", "score": "0.49753866", "text": "@Test\n public void testUserNotifiedOnRegistrationSubmission() throws Exception {\n ResponseEntity<String> response = registerUser(username, password);\n assertNotNull(userService.getUser(username));\n assertEquals(successUrl, response.getHeaders().get(\"Location\").get(0));\n }", "title": "" }, { "docid": "2d86c881483df7c0ef5da917adb66f9a", "score": "0.49657834", "text": "public void integrationHZshutdownTest() {\n\t\t\n\t\tretryManager.registerCallback(new LatchCallback(new CountDownLatch(1), false), TYPE);\n\t\t\n\t\tretryManager.getHzInst().getLifecycleService().shutdown();\n\t\t\n\t\tRetryHolder retry = new RetryHolder(\"id-local-to-fail\", TYPE,new Exception(),\"Object\");\n\t\t\n\t\tretryManager.addRetry(retry);\n\t\t\n\t\t\t\t\n\t\t\n\t}", "title": "" }, { "docid": "acb3944b2a2a48e8411a3106bb9b9095", "score": "0.4962762", "text": "@Test\n public void SameTokenNameOpenAccountIsNotCreator() {\n dbManager.getDynamicPropertiesStore().saveAllowSameTokenName(1);\n InitExchangeSameTokenNameActive();\n long exchangeId = 1;\n String firstTokenId = \"123\";\n long firstTokenQuant = 200000000L;\n String secondTokenId = \"456\";\n long secondTokenQuant = 400000000L;\n\n byte[] ownerAddress = ByteArray.fromHexString(OWNER_ADDRESS_SECOND);\n AccountCapsule accountCapsule = dbManager.getAccountStore().get(ownerAddress);\n accountCapsule.addAssetAmountV2(firstTokenId.getBytes(), firstTokenQuant, dbManager);\n accountCapsule.addAssetAmountV2(secondTokenId.getBytes(), secondTokenQuant, dbManager);\n accountCapsule.setBalance(10000_000000L);\n dbManager.getAccountStore().put(ownerAddress, accountCapsule);\n\n ExchangeWithdrawActuator actuator = new ExchangeWithdrawActuator(getContract(\n OWNER_ADDRESS_SECOND, exchangeId, firstTokenId, firstTokenQuant),\n dbManager);\n TransactionResultCapsule ret = new TransactionResultCapsule();\n\n try {\n actuator.validate();\n actuator.execute(ret);\n fail();\n } catch (ContractValidateException e) {\n Assert.assertTrue(e instanceof ContractValidateException);\n Assert.assertEquals(\"account[a0548794500882809695a8a687866e76d4271a1abc]\"\n + \" is not creator\",\n e.getMessage());\n } catch (ContractExeException e) {\n Assert.assertFalse(e instanceof ContractExeException);\n } finally {\n dbManager.getExchangeStore().delete(ByteArray.fromLong(1L));\n dbManager.getExchangeStore().delete(ByteArray.fromLong(2L));\n dbManager.getExchangeV2Store().delete(ByteArray.fromLong(1L));\n dbManager.getExchangeV2Store().delete(ByteArray.fromLong(2L));\n }\n }", "title": "" }, { "docid": "8a7c9a6236fe806423b8996ec4d5f4aa", "score": "0.49542746", "text": "@Test\n public void SameTokenNameOpenNoAccount() {\n dbManager.getDynamicPropertiesStore().saveAllowSameTokenName(1);\n InitExchangeSameTokenNameActive();\n long exchangeId = 1;\n String firstTokenId = \"123\";\n long firstTokenQuant = 100000000L;\n String secondTokenId = \"456\";\n long secondTokenQuant = 200000000L;\n\n byte[] ownerAddress = ByteArray.fromHexString(OWNER_ADDRESS_FIRST);\n AccountCapsule accountCapsule = dbManager.getAccountStore().get(ownerAddress);\n Map<String, Long> assetV2Map = accountCapsule.getAssetMapV2();\n Assert.assertEquals(10000_000000L, accountCapsule.getBalance());\n Assert.assertEquals(null, assetV2Map.get(firstTokenId));\n Assert.assertEquals(null, assetV2Map.get(secondTokenId));\n\n ExchangeWithdrawActuator actuator = new ExchangeWithdrawActuator(getContract(\n OWNER_ADDRESS_NOACCOUNT, exchangeId, firstTokenId, firstTokenQuant),\n dbManager);\n TransactionResultCapsule ret = new TransactionResultCapsule();\n\n try {\n actuator.validate();\n actuator.execute(ret);\n fail(\"account[+OWNER_ADDRESS_NOACCOUNT+] not exists\");\n } catch (ContractValidateException e) {\n Assert.assertTrue(e instanceof ContractValidateException);\n Assert.assertEquals(\"account[\" + OWNER_ADDRESS_NOACCOUNT + \"] not exists\",\n e.getMessage());\n } catch (ContractExeException e) {\n Assert.assertFalse(e instanceof ContractExeException);\n } finally {\n dbManager.getExchangeStore().delete(ByteArray.fromLong(1L));\n dbManager.getExchangeStore().delete(ByteArray.fromLong(2L));\n dbManager.getExchangeV2Store().delete(ByteArray.fromLong(1L));\n dbManager.getExchangeV2Store().delete(ByteArray.fromLong(2L));\n }\n }", "title": "" }, { "docid": "ef81409d9a7d97d2c5b05524239267ff", "score": "0.49484184", "text": "public void rollback(String tabletName, String txId, \n InetSocketAddress[] addresses, String errorMessage) {\n }", "title": "" }, { "docid": "f0f463814ba3fdfb2a527c7692bce00a", "score": "0.4944303", "text": "@Test\n\tpublic void testUndo()\n\t{\n\t}", "title": "" }, { "docid": "5e8a8077f11c7619327628745ab14836", "score": "0.493999", "text": "@Test \nvoid testFillPrescripNoRefills() {\n\tprescrip.setRefills(0);\n\t testPharm.receivePrescription(prescrip);\n\tBoolean success = testPharm.fillPrescription(prescrip.getId()); //doesn't exist\n assertFalse(success);\n}", "title": "" }, { "docid": "12b8b79b9c3df9a221eb6d6122a74511", "score": "0.4937765", "text": "@Test\n\tpublic void testUpdatePoStatusErrorListenerFaultTest() {\n\t\ttry{\n\t\t\t //Is used in soap request preparation because value is used in reply soap header.\n\t\t\t final String callbackRefMockUri = mockOsbBusinessService(\n\t\t\t\t\t PATH_UPDATE_STATUS_CALLBACK,\n\t\t\t\t\t updatePoStatusCallbackPortMock);\t\n\t\t\t \n\t\t\t mockOsbBusinessService(\n\t\t\t\t\t PATH_ORDER_TRANSACTION_MONITORING,\n\t\t\t\t\t orderTransactionServiceFaultMock);\n\t\t\t \n\t\t\t mockOsbBusinessService(\n\t\t\t\t\t PATH_RESPONSE_RETRY_WRAPPER,\n\t\t\t\t\t responseRetryWrapperMock);\n\t\n\t\t\tfinal String requestString = new ParameterReplacer(readClasspathFile(\"Request_UpdatePOStatusErrorListener.xml\"))\n\t\t\t\t\t.replace(REPLACE_PARAM_CORRELATION_ID, randomCorrelationId)\n\t\t\t\t\t.replace(REPLACE_PARAM_PURCHASE_ORDER_NUMBER, randomPoNumber)\n\t\t\t\t\t.replace(REPLACE_PARAM_COMBOX_ID, randomCoboxId)\n\t\t\t\t\t.replace(REPLY_TO, callbackRefMockUri)\n\t\t\t\t\t.replace(MESSAGE_ID, randomMessageId).build();\n\t\t\t\t\t\n\t\t\tLOGGER.info(\"+++ request \" + requestString);\n\t\n\t\t\tinvokeOsbProxyService(PATH_SERVICE, requestString);\n\n\t\t\tassertThat(\"updatePoStatusCallbackPortMock is not invocked!\",!updatePoStatusCallbackPortMock.hasBeenInvoked());\n\t\t\t//This should be invoked\n\t\t\tassertThat(\"responseRetryWrapperMock is invocked!\",responseRetryWrapperMock.hasBeenInvoked());\n\t\t\t\n\t\t\t//Get message from process as it is\n\t\t\tString responseRetryWrapperMockMsg = responseRetryWrapperMock.getLastReceivedRequest();\n\t\t\tLOGGER.info(\"+++ responseRetryWrapperMockMsg \" + responseRetryWrapperMockMsg);\n\t\t\t\n\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:requestHeader/mht:CorrelationID/text()\",\n\t\t\t\t\trandomCorrelationId,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:transactionId/text()\",\n\t\t\t\t\trandomCorrelationId,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:category/text()\",\n\t\t\t\t\t\"TechnicalFault\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:exception/exc:context/exc:payload/\"\n\t\t\t\t\t+ \"exc:exception/exc:context/exc:payload/navpom:updatePurchaseOrderStatus/navpom:header/mht:CorrelationID/text()\",\n\t\t\t\t\trandomCorrelationId,\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:jmsDestination/text()\",\n\t\t\t\t\t\"h24jms.ERR_UpdatePOStatus_Q\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t\tassertXpathEvaluatesTo(\"/soapenv:Envelope/soapenv:Body/rrmess:onErrorInResponseQueueRequest/rrmess:jmsFactory/text()\",\n\t\t\t\t\t\"h24jms.PurchaseOrder\",\n\t\t\t\t\tresponseRetryWrapperMockMsg);\n\t\t\t\n\t\t} catch(ServiceException e) {\n\t\t\tfail();\t\t\t\n\t\t}\n\n\t}", "title": "" }, { "docid": "1d97a45d0f39bc59c4f621c49b347b08", "score": "0.49342102", "text": "private void joinJtaTransaction() {\n\t\tif ( synchronizationRegistered ) {\n\t\t\tthrow new TransactionException( \"Hibernate RegisteredSynchronization is already registered for this coordinator\" );\n\t\t}\n\n\t\tjtaPlatform.registerSynchronization( new RegisteredSynchronization( getSynchronizationCallbackCoordinator() ) );\n\t\tgetSynchronizationCallbackCoordinator().synchronizationRegistered();\n\t\tsynchronizationRegistered = true;\n\t\tlog.debug( \"Hibernate RegisteredSynchronization successfully registered with JTA platform\" );\n\t}", "title": "" }, { "docid": "186d5c3639999261fc5dc15a6ce54cfa", "score": "0.49290866", "text": "@Test\r\n public void UserServiceTest_Create()\r\n {\r\n User user = new User();\r\n user.setId(\"1234\");\r\n user.setName(\"ABCDEFG\");\r\n ArrayList<Role> roles = new ArrayList<>();\r\n roles.add(new Role(\"Presenter\"));\r\n user.setRoles(roles);\r\n user.setPassword(\"12345678\");\r\n \r\n UserService service = new UserService();\r\n \r\n try {\r\n service.createAUser(user);\r\n } catch (SQLException e) {\r\n fail();\r\n System.out.println(e);\r\n }\r\n UserServiceTest_Edit();\r\n UserServiceTest_Delete();\r\n }", "title": "" }, { "docid": "08f5bbf105070e70b897bd38c4764bb1", "score": "0.4925526", "text": "boolean registrarUsuario(Usuario usuario) throws Exception;", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a933bd3aae72dcb9df58d6883000ebb6", "score": "0.0", "text": "@Override\n\tpublic void onClick(View v) {\n\t\tswitch(v.getId())\n\t\t{\n\t\tcase R.id.search:\n\t\t\tif(keyword.getText().toString().equals(\"炒饭\"))\n\t\t\t\tstartActivity(new Intent(Search.this,ResultSearchActivity.class));\n\t\t\t\telse\n\t\t\t\t\tnew AlertDialog.Builder(this)\n\t\t\t\t.setTitle(\"搜索提示\")\n\t\t\t\t.setMessage(\"目前系统只能搜索炒饭\")\n\t\t\t\t.setPositiveButton(\"确定\",null)\n\t\t\t\t.show();\n\t\t\tbreak;\n\t\tcase R.id.back:\n\t\t\tstartActivity(new Intent(Search.this,Main.class));\n\t\t\tfinish();\n\t\t\tbreak;\n\t\t}\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": "" } ]
fb99f13cd4a79feaeb5ca11ffd30ad80
Sets sleeping time FOR TEST PURPOSE ONLY
[ { "docid": "bca0991ceb2579b1a8286313f471d1c0", "score": "0.72806096", "text": "public void setSleepTime(long sleepTime) {\n client.setSleepTime(sleepTime);\n }", "title": "" } ]
[ { "docid": "2ef587ed1e65ae88d0b76a6ebfb13ee8", "score": "0.71573037", "text": "public void setSleeping(int sleeping) {\n\t\tthis.sleeping = sleeping;\n\t}", "title": "" }, { "docid": "8865c04919b23896c287a3b43cc15483", "score": "0.71465707", "text": "@Test\n public void testSetRetrySleepMillis() {\n }", "title": "" }, { "docid": "7f997c8888b00b54952757c2b3616b3e", "score": "0.7114028", "text": "private void sleep(long nextSleep) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "6f2d440a16c439bb5be56ffa9915589f", "score": "0.7102408", "text": "private void sleep()\n\t{\n\t\ttry\n\t\t{\n\t\t\tThread.sleep(SLEEP_TIME);\n\t\t} catch (InterruptedException e)\n\t\t{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "5e1adbed7fcebe9eaa15d3395e2751f8", "score": "0.7080424", "text": "void sleep(long dt, TimeUnit timeUnit) throws InterruptedException;", "title": "" }, { "docid": "d6d460c635d5effd3715b275ec614070", "score": "0.70765775", "text": "public Builder setSleepTime(long value) {\n bitField0_ |= 0x00000001;\n sleepTime_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "117e7c61b16fb90549beb200f811dad2", "score": "0.70748544", "text": "void setSleepMode(boolean sleep);", "title": "" }, { "docid": "c1beb58ec6c4458f9f137ad4b9088fdb", "score": "0.70399153", "text": "private void sleep()\n {\n try { Thread.sleep(2500); }\n catch (Exception e) { e.printStackTrace(); }\n }", "title": "" }, { "docid": "975a189a52ce7580f3c83df5b8052db2", "score": "0.6994742", "text": "public void sleep(long ms);", "title": "" }, { "docid": "f4ee5f23293efa36923803494f242131", "score": "0.6982928", "text": "public void sleep() {\n\t\tisSleeping = true;\n\t}", "title": "" }, { "docid": "5882c7e1c4908625b7a43c88d783f492", "score": "0.69732434", "text": "public void sleep() {\n\t\t\n\t}", "title": "" }, { "docid": "1964896502abd4d029a7ab634166b512", "score": "0.69714665", "text": "public void sleeps();", "title": "" }, { "docid": "af81dfcf06b08aa8bfa52a3447e6fad7", "score": "0.6966245", "text": "private void sleep() {\r\n try {\r\n Thread.sleep(500);\r\n } catch (Exception e) {\r\n }\r\n }", "title": "" }, { "docid": "1aeb033135c46a1023e928fadacf44bc", "score": "0.6947711", "text": "public static void sleep() {\n\t\ttry {\n\t\t\tThread.sleep(1000);\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}", "title": "" }, { "docid": "8ce3e7fb149554b543377d215c53dbce", "score": "0.69131374", "text": "SleepAction.Builder sleep(long milliseconds);", "title": "" }, { "docid": "658f217ab9e51f1311f7cbf3f7625807", "score": "0.69022244", "text": "public void setSleepTime(long millis) {\n\t\ttry {\n\t\t\tThread.sleep(millis);\n\t\t} catch (InterruptedException e) {\n\t\t\treturn;\n\t\t}\n\t}", "title": "" }, { "docid": "caf09c9baf5cec6abcd87ac90cd2a6bc", "score": "0.6887651", "text": "public static void sleep() {\n\t\ttry {\n\t\t\tThread.sleep(200);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t};\n\t}", "title": "" }, { "docid": "bb1244952be0b4460e02e561c6e0f16c", "score": "0.6869986", "text": "public void setSelectorSleepTime(int sleepTime)\n\t{\n\t\tSLEEP_TIME = sleepTime;\n\t}", "title": "" }, { "docid": "439cb96a56056ec95122fb77e9fb4b26", "score": "0.6864375", "text": "@BeforeClass\n public static void waitASecond() {\n Timer.delay(1.0);\n }", "title": "" }, { "docid": "ffa473aef8dfc3cb519431cacf620a2b", "score": "0.6791382", "text": "private void sleepForSomeTime()\n {\n try {\n Thread.sleep(msTime);\n }\n catch (InterruptedException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "1ad9358ac76660fd918cd311c605999c", "score": "0.6738328", "text": "@Override\n public void sleep(int milliseconds) throws InterruptedException {\n\n }", "title": "" }, { "docid": "a6aef9a6c1808f9a20555ecebabbff0c", "score": "0.6717886", "text": "SleepAction.Builder sleep(double seconds);", "title": "" }, { "docid": "1e207f3719421f936643e3db4e70ecce", "score": "0.67159384", "text": "@Test(timeout = 11)\n public void testSleepySuccess(){\n Assert.assertTrue(inspectedObject.sleepySample(10));\n }", "title": "" }, { "docid": "5fc86cefcd49dfdaf871801ede271c60", "score": "0.6702567", "text": "public void sleep() {\n\t\tlogger.trace(\"Inside sleep()\");\n\t\t//TODO:Implement me\n\t}", "title": "" }, { "docid": "906a41b78f8be0f1f2c9d97998976d6c", "score": "0.6688041", "text": "public void sleep() throws Exception {\n\t\tsleeper.sleep();\n\t}", "title": "" }, { "docid": "5d84dd89698a67f96cc2a90e67b9949e", "score": "0.6677241", "text": "long getSleepTimeMs();", "title": "" }, { "docid": "d58d074e85889ebdc390074db235ab99", "score": "0.6670144", "text": "@Override\n public void sleep() {\n\n }", "title": "" }, { "docid": "b6ce98436139ed68455f96f1234d33bb", "score": "0.663641", "text": "private void sleep(long ms) throws InterruptedException {\n\t\tThread.sleep(ms);\n\t}", "title": "" }, { "docid": "4b367a8ad38cb65f583fbfb85ba1cbc6", "score": "0.66296464", "text": "long getSleepTime();", "title": "" }, { "docid": "099f1e94cab2a1c7fab87281e9e2fd4d", "score": "0.66253895", "text": "public void setDelay(){\n try\n {\n Thread.sleep(3000);\n }\n catch(InterruptedException ex)\n {\n Thread.currentThread().interrupt();\n }\n\n }", "title": "" }, { "docid": "643267a5d7fb56f2716dc5f9061b480f", "score": "0.6624505", "text": "long getSleepMs();", "title": "" }, { "docid": "f5b81aa13ddb4525f70aaa8741872c8e", "score": "0.6601197", "text": "public void sleep(int time) {\n try {\n Thread.sleep(time);\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n }", "title": "" }, { "docid": "7bd84ddb22c688c9f5275d0d6c75abe2", "score": "0.6559116", "text": "public static void shortDelay() throws DriverTestsuiteException {\n delay(23);\n }", "title": "" }, { "docid": "f875c807bf0684c400e557cf62e7fdba", "score": "0.6553354", "text": "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tThread.sleep(300000L);\n\t\t\t\t\t\t\tChargerSetting.saveTimeup(mContext, false);\n\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "title": "" }, { "docid": "944f842e410330ff21553ada086aed78", "score": "0.6531967", "text": "@Override\n\t\t\tpublic void sleep() {\n\t\t\t\tSystem.out.println(\"睡睡睡\");\n\t\t\t}", "title": "" }, { "docid": "657a33e800a33ed485668f74abc56ed8", "score": "0.6518342", "text": "private void sleepAgent(int time) {\n try {\n Thread.sleep(time);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "77d5fba07c0a94a7c20f213311a5205c", "score": "0.6515959", "text": "private void delay() {\r\n\t\tint actualDelay;\r\n\t\ttry {\r\n\t\t\t// thread to sleep for random milliseconds\r\n\t\t\tactualDelay = randomWithRange(100, 300);\r\n\t\t\t// System.out.println(\"Actual delay is \"+actualDelay);\r\n\t\t\tThread.sleep(actualDelay);\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": "86991adff0b6ebc2211cc84243494f70", "score": "0.6515097", "text": "synchronized void sleep(int timeout)\n {\n sleep((long)timeout*60L);\n }", "title": "" }, { "docid": "512b38b65dc14d9d9dcd73205622fdbc", "score": "0.64887345", "text": "public void enterSleepMode() {\n sleeping = true;\n innerLoop = false;\n simulator.getMicrocontroller().sleep();\n }", "title": "" }, { "docid": "00c44696669ca672b3da5d0120352dbf", "score": "0.64613754", "text": "public void sleep() {\n this.active = false;\n }", "title": "" }, { "docid": "6f220be725a8c2708c92ddec85eb680f", "score": "0.6453911", "text": "public static void sleep(int i) {\n\t\t\n\t\n\t}", "title": "" }, { "docid": "85ca845bf2fd2143660bb404807580bf", "score": "0.64493155", "text": "private void sleepFor(long durationInMs) {\n try {\n Thread.sleep(durationInMs);\n } catch (Exception e) {\n }\n }", "title": "" }, { "docid": "e9c2ba1cd73c2c5f7ac8f87715a9c288", "score": "0.6449168", "text": "public void sleepInSecond(long time) {\n\t\ttry {\n\t\t\tThread.sleep(time*1000);\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}", "title": "" }, { "docid": "1417805f8eaf59aad9f9797863c79a15", "score": "0.64389753", "text": "private void setTime(){\n t.schedule(new TimerTask() {\n @Override\n public void run() {\n if(time>= DURATION){\n auctionActive = false;\n t.cancel();\n placeBid(new Bid(null,9,0),1,10);\n }\n else {\n time++;\n }\n }\n },0,1000);\n }", "title": "" }, { "docid": "8599e9c3118fd3307303822eb016087f", "score": "0.64255035", "text": "public void sleep(long seconds) {\n sleepFor(seconds);\n }", "title": "" }, { "docid": "40bd5323d421207e5882b9dfa70da774", "score": "0.64190185", "text": "SleepAction.Builder sleep();", "title": "" }, { "docid": "e564e86d7bcdf546e1188c7c4fcd8db9", "score": "0.64100176", "text": "public void sleep(int ms) {\n\t\ttry {\n\t\t\tThread.sleep(ms);\n\t\t} catch (InterruptedException ex) {\n\t\t\tlog.error(ex.getMessage(), ex);\n\t\t}\n\t}", "title": "" }, { "docid": "3532adbc69c89be5c297143c983308ff", "score": "0.6380938", "text": "@SuppressWarnings(\"ALL\") // Supresses the warnings\n void setSleepMode(boolean sleepMode)\n {\n this.sleepMode = sleepMode; // Sets the variable appropriately\n }", "title": "" }, { "docid": "43d66a7d3d3555b9863c908505ea779c", "score": "0.63752794", "text": "public void setSleep(String sleep) {\n this.sleep = sleep == null ? null : sleep.trim();\n }", "title": "" }, { "docid": "9be2ced74e384c10320773d9a44a71f8", "score": "0.63746434", "text": "@Override\n void sleep() {\n System.out.println(name+\" likes to sleep 12 hours\");\n }", "title": "" }, { "docid": "7b7298dda7aa09048ad8c25a7a42b03a", "score": "0.637118", "text": "public void SetWaitTime(int WaitTime)\n {\n m_WaitTime = WaitTime;\n }", "title": "" }, { "docid": "7a3e2ec6cb10d6c9575da29031317eae", "score": "0.63637453", "text": "@Override\n\tpublic void sleep() {\n\t\tSystem.out.println(\"sleeping\");\n\t}", "title": "" }, { "docid": "b0a3c8b79adb50714bdd85a655110c34", "score": "0.6362363", "text": "@Override\n\t\t\tpublic void sleep() {\n\t\t\t\tSystem.out.println(\"睡\");\n\t\t\t}", "title": "" }, { "docid": "976c20e868c906167ebe69e660eadd74", "score": "0.63544875", "text": "void setAttemptDelay(long delay);", "title": "" }, { "docid": "a741ed98594ff5dc3382a8e9a718381f", "score": "0.6354179", "text": "private void decideSleep()\n\t{\n\t\tRandom rng = new Random();\n\t\t\n\t\tif (randomInt(rng, SLEEP_ODDS) == 0) \n\t\t{\n\t\t\tasleep = true;\n\t\t\tsetCaracter(Game.SLEEPING);\n\t\t} \n\t\telse \n\t\t{\n\t\t\tasleep = false;\n\t\t\tsetCaracter(Game.GUARD);\n\t\t}\n\t}", "title": "" }, { "docid": "8aed276a8b7b6a7a2cc8cca270a07daf", "score": "0.63535416", "text": "public void sleep(int sec) throws Exception {\n Thread.sleep(sec * 1000); // Now don't need try-catch\n }", "title": "" }, { "docid": "da08a9a972c07f32b3b10010378d5ceb", "score": "0.6347244", "text": "private void waitSleep(int pTime)\n{\n\n try{\n Thread.sleep(pTime);\n }\n catch(InterruptedException e){}\n\n}", "title": "" }, { "docid": "4335099d504ab269782f8cf1e903e0b5", "score": "0.6333413", "text": "protected void safeSleep() {\n long ms = random.nextInt(5000);\n try {\n Thread.sleep(ms);\n }\n catch (InterruptedException ix) {\n // NOP\n }\n }", "title": "" }, { "docid": "a0050df7c0273097c3650d5465d4e327", "score": "0.632484", "text": "void sleep();", "title": "" }, { "docid": "9adefff2acf40f69d60ee3f6ebda821f", "score": "0.6319396", "text": "private void sleep() {\n try {\n Thread.sleep(17); //frame refrash every 17ms for 60 fps\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "8e3ab8c51771f2a43addc2d91fbeac65", "score": "0.63170516", "text": "public void sleep(int sec) {\n\n\t\ttry {\n\t\t\tThread.sleep(1000*sec);\n\t\t} catch (InterruptedException e) {\n\n\n\t\t\te.printStackTrace();\n\t\t\tSystem.out.println(\"System broke while sleeping\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "98bfab55430ac088e72786816f510b8d", "score": "0.6310241", "text": "@Test\n\tpublic void run() {\n\t\ttry {\n\t\t\tThread.sleep(10000);\n\t\t} catch (InterruptedException e) {\n\t\t\tLOGGER.error(\"Error occured while sleeping.\", e);\n\t\t}\n\t}", "title": "" }, { "docid": "5c10c0315a5ecac32739d65cdeab7f83", "score": "0.63096637", "text": "private void delay(int time) {\n\t\ttry {\n\t\t\tThread.sleep(time);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "f5c0206d3dcb7dbf342bb19836f55276", "score": "0.6305663", "text": "void setTimeToEat(int time);", "title": "" }, { "docid": "6096db0319bc83ee87bed79f87f84218", "score": "0.6272552", "text": "@Override\n public void sleep(){\n energy = energy + 5;\n }", "title": "" }, { "docid": "294a1cfe27d8d3a845de0d5fcf703723", "score": "0.6271885", "text": "@Override\n public synchronized void sleep(int secs) throws RemoteException\n {\n try\n {\n System.out.println(\" schlaf! =============> \" + secs);\n // 5 Sekunden-Schlaf\n Thread.sleep(1000 * secs);\n System.out.println(\" wach! ==================> \" + secs);\n }\n catch (InterruptedException e)\n {\n System.out.println(e);\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "324b9780723986b87b99734c600e19c4", "score": "0.62696564", "text": "public void setDelay(double delay)\r\n\t{\r\n\t\tthis.timeleft = delay;\r\n\t}", "title": "" }, { "docid": "df3eee0ca05508b35c36f7cb87500c51", "score": "0.62682533", "text": "public static void sleepFor(int ms) {\n\t\ttry {\n\t\t\tThread.sleep(ms);\n\t\t} catch (InterruptedException e) {\n\t\t\treport(e, \"sleep interrupted\");\n\t\t}\n\t}", "title": "" }, { "docid": "1d7fc24b55910f429d02f2b0e14fe9d6", "score": "0.6262974", "text": "public void sleep() throws InterruptedException {\n Thread.sleep(this.asMillis());\n }", "title": "" }, { "docid": "cacbe28db9fc5fd0aaa04b3d776ee2ff", "score": "0.6254327", "text": "public static void waitTime(int seconds) throws InterruptedException {\n\t\tswitch (seconds) {\n\t\tcase 1:\n\t\t\tThread.sleep(1000);\n\t\t\tbreak;\n\n\t\tcase 2:\n\t\t\tThread.sleep(2000);\n\t\t\tbreak;\n\n\t\tcase 3:\n\t\t\tThread.sleep(3000);\n\t\t\tbreak;\n\n\t\tcase 4:\n\t\t\tThread.sleep(4000);\n\t\t\tbreak;\n\n\t\tcase 5:\n\t\t\tThread.sleep(5000);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 6:\n\t\t\tThread.sleep(6000);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 7:\n\t\t\tThread.sleep(7000);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 8:\n\t\t\tThread.sleep(8000);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 9:\n\t\t\tThread.sleep(9000);\n\t\t\tbreak;\n\t\t\t\n\t\tcase 10:\n\t\t\tThread.sleep(10000);\n\t\t\tbreak;\n\t\t\t\n\t\tdefault:\n\t\t\tThread.sleep(1000);\n\t\t\tSystem.out.println(AutomationConstants.FRAMEWORK_LOGS\n\t\t\t\t\t+ \"Default set to 1 second\");\n\t\t}\n\t}", "title": "" }, { "docid": "c232f08eabb813abacebd0e8eff8145e", "score": "0.6251632", "text": "public void sleepFiveSeconds() {\n try {\n Thread.sleep(5000L);\n } catch (InterruptedException interruptedexception) {\n ;\n }\n }", "title": "" }, { "docid": "8cde5cfb785c2eac1a392e18ab212ab1", "score": "0.62496793", "text": "private void sleep(int value) {\n try { Thread.sleep(value); } catch (InterruptedException ie) { System.out.println(ie.getMessage()); }\n }", "title": "" }, { "docid": "8a64c37a4769954abce68cca2e2e8670", "score": "0.6236195", "text": "public static void delay()\r\n\t\t{\r\n\t\ttry\r\n\t\t\t{\r\n\t\t\tThread.sleep(2000);\r\n\t\t\t} \r\n\t\tcatch (InterruptedException e)\r\n\t\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "673b733838a21862d48dcdf688189cdc", "score": "0.62311745", "text": "public static void mySleep( int milliseconds)\n {\n try\n {\n Thread.sleep(milliseconds);\n }\n catch (InterruptedException ie)\n {\n }\n }", "title": "" }, { "docid": "eae6af1aa75711c34f5d1a336e638c65", "score": "0.6211236", "text": "private void delay() {\n long delayMillis = randomDelay.nextInt(MAX_DELAY);\n try {\n Thread.sleep(delayMillis);\n } catch (InterruptedException e) {\n // this shouldn't happen here as this simulation is a single threaded application.\n }\n }", "title": "" }, { "docid": "91d5e6e69dbd2f5f02e37b85bd39ed34", "score": "0.6210855", "text": "private void delay() {\n try {\n Thread.sleep(100);\n } catch (InterruptedException ignored) {\n }\n }", "title": "" }, { "docid": "2d52c864ec19f3956ef00125fbe10f49", "score": "0.62102085", "text": "private void schedulerSleep(int ms)\n\t{\n\t\ttry { Thread.sleep(ms); }\n\t\tcatch (InterruptedException ex) { }\n\t}", "title": "" }, { "docid": "f3170537013af570c8d6795988e5354d", "score": "0.6202949", "text": "private void sleepThread(long secs)\n throws Exception\n {\n Thread.sleep(1000 * secs);\n }", "title": "" }, { "docid": "fe73ef4c07a4ff2e0a84df532730710e", "score": "0.6198781", "text": "public int getSleepTime() {\n\t return sleepTime;\n\t }", "title": "" }, { "docid": "79be1b7c2f557d0bea0505d73285d255", "score": "0.6198522", "text": "public void sleep(Long delay) {\n try {\n Thread.sleep(delay);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "54e93cffb17da706574f39c9c4b3e60b", "score": "0.6198082", "text": "long getThreadSleepTime();", "title": "" }, { "docid": "c75ebfd887fcba4e068aacf95d5f9fa7", "score": "0.6197122", "text": "public void sleep(int seconds){\r\n try {\r\n TimeUnit.SECONDS.sleep(seconds);\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "efae8d95937e3a57d63c94977bd8acf2", "score": "0.61908555", "text": "private static void sleep(int ticks) throws InterruptedException {\n Thread.sleep( ticks );\n }", "title": "" }, { "docid": "cd686f8fe624a4c74f9fbf08266880f1", "score": "0.6190325", "text": "public long getSleepTime() {\n return sleepTime_;\n }", "title": "" }, { "docid": "c4e99bcdc8689ce7cd53730fad5e4d54", "score": "0.6183898", "text": "public static void sleep(double ms) {\n\t\ttry {\n\t\t\tThread.sleep((int)ms);\n\t\t} catch (InterruptedException e) {\n\t\t\t/* Eat the error.*/\n\t\t\treturn;\n\t\t}\n\t}", "title": "" }, { "docid": "fe908c463bec11e315220ffbd76e68ac", "score": "0.6182358", "text": "public void sleepUntil(long targetTime) {\n\t\twhile(targetTime - this.currentSimulationTime > 0){\n\t\t\ttry {\n\t\t\t\tfinal long sleepTime = 1000 / SCALE_FACTOR;\n\t\t\t\tThread.sleep(sleepTime);\n\t\t\t\tsynchronized(this) {\n\t\t\t\t\tthis.currentSimulationTime++;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} catch (InterruptedException e) {\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "fe3eb30d3220e45e554c248ebfe9f82d", "score": "0.6176284", "text": "private void sleepAbit(int seconds) {\n try {\n TimeUnit.SECONDS.sleep(seconds);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "1d1a175566e26d0830ce9ae557299f84", "score": "0.6172031", "text": "public long getSleepTime() {\n return sleepTime_;\n }", "title": "" }, { "docid": "4875f9043531f9d9a809055bbe68786e", "score": "0.6170983", "text": "@Test\n public void testTrigger() throws InterruptedException {\n Thread.sleep(5000);\n }", "title": "" }, { "docid": "d2ee05b23de36add0900ab3a889960b0", "score": "0.61570066", "text": "public void waitTime500ms() {\n waitTime(500);\n }", "title": "" }, { "docid": "4bac0366d6aa51bcf80b0bf9e74ebcfc", "score": "0.61566114", "text": "public static void delay(int time) {\n\t\ttry {\n\t\t\tThread.sleep(time);\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}", "title": "" }, { "docid": "3f902aa09bb2a7a6fc907bd14a444890", "score": "0.61561865", "text": "public void set_delay(long time) {\n if (time >= 0) {\n delay = time;\n } // if\n }", "title": "" }, { "docid": "21af3ea8d1e2b1fa8495af613182f655", "score": "0.6142382", "text": "@Override\n public void sleep() {\n System.out.println(name + \" sleeping\");\n }", "title": "" }, { "docid": "aab1887ee863941258ce26209f8ab1dd", "score": "0.61350906", "text": "private void sleep(int milliSecs) {\n try {\n Thread.sleep(milliSecs);\n } catch (Exception ex) {\n }\n }", "title": "" }, { "docid": "0d4bf103dadaa73f5a76a2f33c5a35c3", "score": "0.6127014", "text": "private void delay(int millisec) {\n try {\n Thread.sleep(millisec);\n } catch (InterruptedException ie) {\n // wake up\n }\n }", "title": "" }, { "docid": "0c219d854b346317813effa5aeae33e9", "score": "0.6126871", "text": "public void sleep() {\n running.set(false);\n }", "title": "" }, { "docid": "34e91bba127608facb59ae7a64660b66", "score": "0.61148494", "text": "public void sleep(int dur){\n\t\ttry{\n\t\t\tThread.sleep(dur);\n\t\t}catch(InterruptedException e){\n\t\t\tSystem.out.println(\"Room has been interrupted\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "f755c79b3fb5b69c4e4a737336d25eff", "score": "0.61093587", "text": "public void gtSleep( long delay) {\n\n Object o = new Object();\n WaitObject waitObj =\n WaitObject.getWaitObject(o, getTimeMillis() + delay);\n addToWaitingList(waitObj);\n\n // to save on memory remove these WaitObjects from the map\n WaitObject.discard(o);\n }", "title": "" }, { "docid": "ade8950eaf7d8066b8c825b70a4581b0", "score": "0.6104719", "text": "public void waitTime(float sec){\r\n\t\tif(UR){\r\n\t\t\tbuffer += \" sleep(\" + String.format(\"%.2f\",sec) + \")\\n\"; //wait a certain amount of time \r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7305286b4434bc2602e1b08848f7cd44", "score": "0.6099929", "text": "private void sleep(double seconds) {\n int timer = (int) (seconds * 1000);\n try {\n Thread.sleep(timer);\n } catch (InterruptedException ex) {\n //Thread.currentThread().interrupt();\n System.out.println(\"Error slept: \" + ex);\n }\n }", "title": "" } ]
e1fff0d08a533d3143be8ddcc8f3f451
Print user to client. If userName is not set, print current session user.
[ { "docid": "55d3c161153e88697ba145c7764504a4", "score": "0.7334436", "text": "private void printUser(HttpServletRequest req, HttpServletResponse resp, String userName) \n\t\t\tthrows InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {\n\t\t\n\t\tUser user = User.loadUser( userName, req );\n\t\tif( user == null ) writeJSONStatusResponse( resp, StatusMessage.notFound(\"user\") );\n\t\telse writeJSONResponse( resp, user );\n\t}", "title": "" } ]
[ { "docid": "04e5826d1bd8e4618beedc78380d006e", "score": "0.67113185", "text": "public static void clientPrint(String toPrint, String userName){\n String dots = new String(new char[userName.length()+1]).replace('\\0', '.');\n for (String l : toPrint.split(\"\\n\")) System.out.println(dots+ \" \" + l);\n }", "title": "" }, { "docid": "0ced89c68956aaaeacaade24a5200dbe", "score": "0.65530306", "text": "public String printUser(){ return \"Name: \" + getName() + \"\\tID: \" + getId() + \"\\tUsername: \" + getUserName() + \"\\tPassword: \" + getPassword() + \"\\tUserType: \" + getType(); }", "title": "" }, { "docid": "b69d8a11ece5ad4d2057081cfabec4a6", "score": "0.63496906", "text": "public void printUsers() {\n\t\tif (server.hasUsers()) {\n\t\t\twriter.println(\"Usuarios conectados: \" + server.getUserNames());\n\t\t} else {\n\t\t\twriter.println(\"No hay usuarios conectados todavia.\");\n\t\t}\n\t}", "title": "" }, { "docid": "8e442f5421654f97bf400fe745fd5074", "score": "0.6346529", "text": "public void setUsername(String userName) {\r\n this.userName = userName;\r\n }", "title": "" }, { "docid": "43401d5598e67f7926cf8635446f8a83", "score": "0.6330955", "text": "public void print(){\n\t\tif(isSessionValid()){\n\t\t\tUtils.logv(classname, username+\",\"+password+\",\"+name+\",\"+clsnm);\n\t\t}\n\t}", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.62640387", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "2d5103c75c3241966f81395b36cac767", "score": "0.6250282", "text": "public void setUserName(String userName) {\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "2d5103c75c3241966f81395b36cac767", "score": "0.6250282", "text": "public void setUserName(String userName) {\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "2d5103c75c3241966f81395b36cac767", "score": "0.6250282", "text": "public void setUserName(String userName) {\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "2d5103c75c3241966f81395b36cac767", "score": "0.6250282", "text": "public void setUserName(String userName) {\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "2d5103c75c3241966f81395b36cac767", "score": "0.6250282", "text": "public void setUserName(String userName) {\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "147ec41ef74971cb8c66ed5121d55d3c", "score": "0.6226331", "text": "private void printAllUsers(HttpServletRequest req, HttpServletResponse resp, String userName) \n\t\t\tthrows InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {\n\t\twriteJSONResponse( resp, User.loadAll(req, userName) );\n\t}", "title": "" }, { "docid": "dcc12de52dad32b55da429fdcbe0b965", "score": "0.62121964", "text": "public void setuserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "4ab6b9ac1d0cf093b94be140dd5af54e", "score": "0.6194108", "text": "public void setUsername(String name ) {\n\t\tthis.userName = name;\t\n\t}", "title": "" }, { "docid": "b6831083e818f4878475aa38e3135a38", "score": "0.6182007", "text": "public void setUserName(java.lang.String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "6d7af1845e3d29f4c6ae91cc13cfbfe8", "score": "0.61787623", "text": "public void setUserName(String userName)\n\t{\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "6d7af1845e3d29f4c6ae91cc13cfbfe8", "score": "0.61787623", "text": "public void setUserName(String userName)\n\t{\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "077ec264bfa8f4c61cefe35f70cf01f4", "score": "0.6163587", "text": "@Override\n\tpublic void run() {\n\t\tSystem.out.println(userName);\n\t}", "title": "" }, { "docid": "645a5c66dac829d4f91321ce030840f4", "score": "0.6160381", "text": "public void setUserName(final String userName)\n {\n this.userName = userName;\n }", "title": "" }, { "docid": "5261e405096905db15998990b7d1acc4", "score": "0.6155464", "text": "void printUsers(){\r\n if(server.hasUsers()){\r\n writer.println(\"Connected users: \" + server.getUserName());\r\n }else{\r\n writer.println(\"Need to wait..\");\r\n }\r\n }", "title": "" }, { "docid": "1291ed0af5e1748edea513ec4f6bb328", "score": "0.6132522", "text": "public void setUserName(final String userName) {\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "58414d2ece2c6af4796a83c23ea4cf29", "score": "0.6131637", "text": "public void setuserName(String userName){\n\t\tthis.userName = userName;\n\t}", "title": "" }, { "docid": "2da5e0f1e113b4bcec5aefc294f4ebdf", "score": "0.61201274", "text": "public void setUserName (String userName) {\n\n // Set value.\n this.userName = userName;\n }", "title": "" }, { "docid": "ffc45996ed0820883b154ac45b154b80", "score": "0.6118549", "text": "@Override\n\tpublic String getUsername() {\n\t\tSystem.out.println(\"++++++++++++++\"+this.userName);\n\t\treturn this.userName;\n\t}", "title": "" }, { "docid": "071a290a2fcd6b2051c115b398a86140", "score": "0.60942847", "text": "public void getUser() {\n\t\tString name = JOptionPane.showInputDialog(this, \"User Name\");\n\t\tSystem.out.println(\"user name is \" + name);\n\t\tmathGame.getUser().setName(name);\n\t}", "title": "" }, { "docid": "03b58d83d1d8d66ea55d95eee0a7c1e8", "score": "0.6054041", "text": "public void setUsername(User user) {\n txtWindow.setText(\"Hello, \" + user.getFullName());\n }", "title": "" }, { "docid": "4b8e8b2e4db3d60367d7f52ebbe3c204", "score": "0.604622", "text": "public String getuserName() {\n return userName;\n }", "title": "" }, { "docid": "f4c4e0b6961b766a618639bd8376509a", "score": "0.604199", "text": "public void setUserName(String userName){\n this.userName = userName;\n }", "title": "" }, { "docid": "f4c4e0b6961b766a618639bd8376509a", "score": "0.604199", "text": "public void setUserName(String userName){\n this.userName = userName;\n }", "title": "" }, { "docid": "bb042843f00abbdd0647dd0f1485c555", "score": "0.6033804", "text": "public void printUser(){\n\t\tString gender = isMale ? \"Male\" : \"Female\";\n\t\tSystem.out.println(age.toString() + '\\t' + gender + '\\t' + edu.toString());\n\t\tprintInterests();\n\t}", "title": "" }, { "docid": "57b4fe84403e88d2822d6bc25681e5e1", "score": "0.60280997", "text": "public void setUserName(String s) {\n userName = s;\n }", "title": "" }, { "docid": "69e40f9be4962233ffce8ea9dd30fd86", "score": "0.60231936", "text": "public void setUserName (String name)\n {\n userName = name;\n }", "title": "" }, { "docid": "013f909e8c247aaba1ae419ad167de21", "score": "0.59851277", "text": "public void printUsernames()\n {\n for(User current : users)\n {\n System.out.println(current.getUsername() + \" \" + current.getUserType());\n }\n }", "title": "" }, { "docid": "d007fec0ecbe6a5322d1acd894968be0", "score": "0.5949815", "text": "public void usernameprompt() {\n System.out.println(\"Please enter your username:\");\n }", "title": "" }, { "docid": "4b91dd9df499034a3fb98789669b5dec", "score": "0.59341264", "text": "public static void displayMenuUser() {\n\t\tSystem.out.println(\"\\n\");\n\t\tSystem.out.println(\"*******************************\");\n\t\tSystem.out.println(\"*** PRS Console Application ***\");\n\t\tSystem.out.println(\"*******************************\");\n\t\tSystem.out.println(\"1.) View my Account\");\n\t\tSystem.out.println(\"2.) Update My Account/Password\");\n\t\tSystem.out.println(\"3.) View Available Products\");\n\t\tSystem.out.println(\"4.) View my Open Purchase Requests\");\n\t\tSystem.out.println(\"5.) Create a New Purchase Request\");\n\t\tSystem.out.println(\"6.) Update My Purchase Requests\");\n\t\tif (loginUser.isReviewer()) {\n\t\t\tSystem.out.println(\"7.) Approve Purchase Requests\");\n\t\t\tSystem.out.println(\"8.) Exit\");\n\t\t} else {\n\t\t\tSystem.out.println(\"7.) Exit\");\t\n\t\t}\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "abff7c053d0d5820ae2d77c005058c91", "score": "0.5915622", "text": "public String getUserName() {\r\n\t\treturn userName;\r\n\t}", "title": "" }, { "docid": "7df900ebd29dc8b1d31ad6325d763545", "score": "0.5886845", "text": "public String getUserName() {\r\n return userName;\r\n }", "title": "" }, { "docid": "32141a3506459f6b22f955df522b8b21", "score": "0.58853173", "text": "public static void sendGreeting(String user) \r\n {\r\n System.out.printf(\"Hello %s\", user); \r\n }", "title": "" }, { "docid": "427b0e9071ec5e28a7b3cbd7d4e4e62d", "score": "0.5883858", "text": "public void setUsername(String name) {\n\t\tthis.username = name;\n\t}", "title": "" }, { "docid": "b4a32bc6ad30604db831a8b45cb197c3", "score": "0.58823586", "text": "@Override\n\tpublic String getUsername() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "a47f76e453910d2c9ea2f2bc4b135705", "score": "0.5865333", "text": "public String getUsername() {\r\n return userName;\r\n }", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "917cc50dbe92bd396a641c61f4919c92", "score": "0.58525944", "text": "public String getUserName() {\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.5849755", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "b1e8bdaab852378b0f4e6586f3fc1a19", "score": "0.5847275", "text": "public String getUserName()\n\t{\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "b1e8bdaab852378b0f4e6586f3fc1a19", "score": "0.5847275", "text": "public String getUserName()\n\t{\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "b1e8bdaab852378b0f4e6586f3fc1a19", "score": "0.5847275", "text": "public String getUserName()\n\t{\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "9288a049a8f7aeed71dd6b38c6d8089e", "score": "0.584503", "text": "public void setUserName(String userName) {\n this.userName = userName == null ? null : userName.trim();\n }", "title": "" }, { "docid": "9288a049a8f7aeed71dd6b38c6d8089e", "score": "0.584503", "text": "public void setUserName(String userName) {\n this.userName = userName == null ? null : userName.trim();\n }", "title": "" }, { "docid": "9288a049a8f7aeed71dd6b38c6d8089e", "score": "0.584503", "text": "public void setUserName(String userName) {\n this.userName = userName == null ? null : userName.trim();\n }", "title": "" }, { "docid": "9288a049a8f7aeed71dd6b38c6d8089e", "score": "0.584503", "text": "public void setUserName(String userName) {\n this.userName = userName == null ? null : userName.trim();\n }", "title": "" }, { "docid": "9288a049a8f7aeed71dd6b38c6d8089e", "score": "0.584503", "text": "public void setUserName(String userName) {\n this.userName = userName == null ? null : userName.trim();\n }", "title": "" }, { "docid": "9288a049a8f7aeed71dd6b38c6d8089e", "score": "0.584503", "text": "public void setUserName(String userName) {\n this.userName = userName == null ? null : userName.trim();\n }", "title": "" }, { "docid": "9288a049a8f7aeed71dd6b38c6d8089e", "score": "0.584503", "text": "public void setUserName(String userName) {\n this.userName = userName == null ? null : userName.trim();\n }", "title": "" } ]
b020d314616323ea4703b557aa49ce40
Help other workers to redirect to LoginWorker when appropriate.
[ { "docid": "059f5e7c211d413cb3eff05d1af91e9f", "score": "0.0", "text": "static boolean isAuthenticated(RestOperation op) {\n if (op.userId != null) {\n return true;\n }\n var location = WORKER_PATH + \"?\" + REDIRECT_KEY + \"=\" + op.path;\n op.status = Http.FOUND;\n op.addHeader(Http.LOCATION, location);\n op.setRawBody(null);\n return false;\n }", "title": "" } ]
[ { "docid": "1e1c02291ba8aad000c7bddbffa34ff4", "score": "0.66076094", "text": "@Override\n public void run() {\n gotoLogin();\n }", "title": "" }, { "docid": "d08f0130bfcb3f0672ba2a0f33f98ea2", "score": "0.6333664", "text": "private static void login() {\n\t\t\n\t}", "title": "" }, { "docid": "205305e9a596694efd077cf9dcb0d7ca", "score": "0.6307556", "text": "public do_login() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "48d0ed5510fd515108d0b9afe15090fa", "score": "0.6158765", "text": "private void attemptLogin() {\n\n\t\tif (isNetworkAvailable()) {\n\t\t\tloginTask();\n\t\t} else {\n\t\t\tpopdNoInternet();\n\t\t}\n\n\t}", "title": "" }, { "docid": "dc34d4afdb0f0ddb6a05f482d345f47f", "score": "0.611782", "text": "private void loginDefault() throws Exception {\r\n \tp.start();\r\n \tgetOutputStream();\r\n \tout.write(cred.getPassword().getBytes());\r\n \tout.write('\\n');\r\n \tout.flush();\r\n }", "title": "" }, { "docid": "5981df0970c8094eb43ea102216c8d58", "score": "0.6001906", "text": "private void startLogin() {\n LoginManager.store(userField.getText(), passwordField.getText());\n Runnable login = () -> runLogin(userField.getText(), passwordField.getText(), 0);\n\n Thread loginThread = new Thread(login);\n loginThread.setDaemon(true);\n loginThread.start();\n\n }", "title": "" }, { "docid": "daaacdf88fd2d995239b987facdfb7bf", "score": "0.59974164", "text": "public DoLogin() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "ca69e23dd3b8f8700f44f8390ccdeba3", "score": "0.5996063", "text": "public static void invokeLogin() {\n log = new logIn();\n log.setLocationRelativeTo(null);\n home.setVisible(false);\n log.setVisible(true);\n }", "title": "" }, { "docid": "dfdcf98d72fd344b5381c9834ec3a4ec", "score": "0.5983567", "text": "private void handleLogin() {\n startRotateRefresh();\n\n String username = SecurePrefManager.with(this)\n .get(\"login_username\")\n .defaultValue(\"\")\n .go();\n\n String password = SecurePrefManager.with(this)\n .get(\"password\")\n .defaultValue(\"\")\n .go();\n\n\n if (\"\".equals(username)) {\n // Show dialog when we dont have an username\n loginDialog();\n } else {\n // Fetch usage, when credentials are set\n ChoozzeApplication.bus.post(new FetchUsageEvent(username, password));\n }\n }", "title": "" }, { "docid": "d35fc0fc9c59f0a1a22edbe322ecf5d4", "score": "0.5942551", "text": "public void callLogin() {\n WSLoginTask loginTask = new WSLoginTask(_username, _password);\n loginTask.delegate = this;\n\n loginTask.execute();\n }", "title": "" }, { "docid": "fc2d01ae480803b12985e5e8afe0749f", "score": "0.59326875", "text": "@Override\n\tpublic void login() {\n\t\t\n\t}", "title": "" }, { "docid": "9dc8680c3dd52e7f7b1ba23fee75e59c", "score": "0.58749634", "text": "public void login() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e7a263f6b616f2e7d213f2964a9ab0eb", "score": "0.58663636", "text": "private void loginAction() {\n switchActivity(HomeActivity.class);\n }", "title": "" }, { "docid": "677b3b068e652e63d88bc2ff1fadb1eb", "score": "0.58651084", "text": "private void doLogin() {\n Intent loginIntent = new Intent(LoginActivity.this, MainActivity.class);\n startActivity(loginIntent);\n }", "title": "" }, { "docid": "d4eec1960e4a2b62ed416e20f4ae16d3", "score": "0.58549947", "text": "@Override\n\tpublic void Login() {\n\t\t\n\t}", "title": "" }, { "docid": "555191cdfe3e344e0938ad550fbbc87a", "score": "0.58523947", "text": "@Override\n public void navigateTo() {\n browser().get(context().getURL(\"nature.com/foxtrot/svc/login\"));\n }", "title": "" }, { "docid": "778ea88f4798150e44cdf14cec9e5068", "score": "0.5839572", "text": "@Override\n\tpublic String execute(HttpServletRequest request, HttpServletResponse response) throws Exception {\n\t\treturn \"login/join\";\n\t}", "title": "" }, { "docid": "6ef06b80aac3de1bdd9ff43a6f2a2e09", "score": "0.58272046", "text": "private void GotoLoginorMain() {\n\n Thread timer = new Thread()\n {\n public void run()\n {\n try {\n sleep(3000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n finally {\n if (loginpref.contains(\"User-id\"))\n {\n loginuserid = loginpref.getString(\"User-id\", null);\n if(loginuserid.equals(\"\")||loginuserid.equals(null))\n {\n startActivity(new Intent(SplashActivity.this, LoginActivity.class));\n }\n else\n {\n startActivity(new Intent(SplashActivity.this, MainActivity.class));\n }\n }\n else\n {\n startActivity(new Intent(SplashActivity.this,LoginActivity.class));\n }\n }\n }\n };\n timer.start();\n }", "title": "" }, { "docid": "5e1e2ca650751e379ff32b6438210557", "score": "0.5821306", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tIntent intent = null;\n\t\t\t\tif (sm.isRememberLogin()) {\n\t\t\t\t\tintent = new Intent(SplashActivity.this,HomeActivity.class);\n\t\t\t\t}else {\n\t\t\t\t\tintent = new Intent(SplashActivity.this,LogRegActivity.class);\n\t\t\t\t}\n\t\t\t\tstartActivity(intent);\n\t\t\t\tfinish();\n\t\t\t}", "title": "" }, { "docid": "b60593954fc15e630d56e5251ee33559", "score": "0.5814544", "text": "@Override\n public void run() {\n redirectToMain();\n }", "title": "" }, { "docid": "992e77d2d9832859026a084b753be7d4", "score": "0.580574", "text": "void doLogin(String name);", "title": "" }, { "docid": "54a73ef678f8289a3f1fa472587327bd", "score": "0.57801133", "text": "@Override\n\tpublic void goToLogin() {\n\t\tIntent intent = new Intent(this, LoginSignUpActivity.class);\n\t\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);\n\t\tstartActivity(intent);\n\t}", "title": "" }, { "docid": "819604b6889fe2c43b45e7e5e1ed2455", "score": "0.5778922", "text": "protected void goLogin() {\n\t\tIntent itnt = new Intent(LoginActivity.this,MainActivity.class);\r\n\t\tstartActivity(itnt);\r\n\t\tfinish();\r\n\t}", "title": "" }, { "docid": "563f184ff93cbe5d9e7a309f1b35584d", "score": "0.5774348", "text": "@Override\n\tpublic void loginSuccessful() {\n\t\tif (previousView != null) {\n\t\t\tnavigateTo(previousView, previousViewName, previousFragment);\n\t\t} else {\n\t\t\tnavigateTo(StandardPageKeys.secureHome);\n\t\t}\n\t}", "title": "" }, { "docid": "eed9880d4cfbefeea6cc91e8fcbd56b2", "score": "0.57718086", "text": "private void switchToLogin() {\r\n Intent tmp = new Intent(this, LoginActivity.class);\r\n startActivity(tmp);\r\n }", "title": "" }, { "docid": "1fb7c97ee993eb05ca8b695f3e30bfb5", "score": "0.5753403", "text": "public void run(){\n\t\tuserAuthentication();\n\t}", "title": "" }, { "docid": "7621e9af1cacbf7323cb89c554d024f5", "score": "0.57466453", "text": "private void redirectToLoginScreen() {\n logout();\n }", "title": "" }, { "docid": "028b4abdeed584ef9fdc32066f04a354", "score": "0.57457715", "text": "private void startLazyLogin() {\n Runnable login = () -> runLogin(\"leggy\", \"duck\", 0);\n\n Thread loginThread = new Thread(login);\n loginThread.setDaemon(true);\n loginThread.start();\n\n }", "title": "" }, { "docid": "c7192ec7ce4b3c266f7a89813cdbb3af", "score": "0.5742997", "text": "protected void attemptToLogin() {\n\n setStatusMessage(\"\");\n \n if (checkToShowAutoRegForm()) {\n return;\n }\n \n if (getLoginName() == null || getLoginName().length() < 1) {\n setStatusMessage(\"Please enter a login\");\n } else {\n\n if (getLoginName().toLowerCase().startsWith(\"log\")) {\n logWindow.setVisible(true);\n return;\n }\n \n synchronized (bAlreadyLoggingIn) {\n if (bAlreadyLoggingIn) {\n return;\n }\n bAlreadyLoggingIn = true;\n }\n \n try {\n setStatusMessage(\"Logging in...\");\n FrameUtilities.waitCursor(this);\n controller.login(getLoginName(), getPassword());\n } catch (Exception e) {\n // TODO: log handle exception\n setStatusMessage(e.getMessage());\n StaticLog.info(\"Login not successful: \" + e.getMessage());\n System.err.println(\"Login not successful: \" + e.getMessage());\n bAlreadyLoggingIn = false;\n }\n }\n }", "title": "" }, { "docid": "1c56f75f3d182324b49acb77cc1a3a01", "score": "0.57402545", "text": "@Override\n public void run() {\n\n String stringClassToGo = \"\";\n\n if(sharedPrefFileConnection.getUserName().equals(\"\")){\n // user has not logged in, therefore username is empty\n // go to login screen\n stringClassToGo = \"view.loginScreen.LoginScreen\";\n }\n else{\n // user has logged in, go to home screen\n stringClassToGo = \"view.homeScreen.HomeScreen\";\n\n }\n\n goToNewActivityController.goToNewActivity(getResources().getString(R.string.default_dir) + stringClassToGo,true);\n\n }", "title": "" }, { "docid": "237271c4207ed3562c9474163bad9e60", "score": "0.5716458", "text": "private void goToLoginFail(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n RequestDispatcher dispatcher = request.getRequestDispatcher(\"/signInFail.jsp\");\n dispatcher.forward(request, response);\n }", "title": "" }, { "docid": "14e05b6f21a03c88f7a25fd921c30f8d", "score": "0.56984127", "text": "public void login() {\n controller.login(userName.getText(), new String(password.getPassword()));\r\n\r\n }", "title": "" }, { "docid": "cef679fe30ce1c6eaa372589904b813a", "score": "0.5697514", "text": "@Action\n public void AdminLoginClicked() {\n String nameString = name_text.getText().toString();\n String pawordString = String.copyValueOf(password_text.getPassword());\n if (nameString.trim().equals(\"\") || pawordString.trim().equals(\"\")) {\n MessageDialog newMessageDialog = new MessageDialog(theMainFrame, rootPaneCheckingEnabled);\n newMessageDialog.setMessage(\"The name or password can't be empty!\");\n newMessageDialog.setVisible(true);\n } else {\n if (((Administrator) theMainFrame.theUser).login(nameString, pawordString)) {\n //success\n ((Administrator) theMainFrame.theUser).setAccount_number(nameString);\n ((Administrator) theMainFrame.theUser).setPassword(pawordString);\n MainControlD myMainControlD=new MainControlD(theMainFrame, rootPaneCheckingEnabled);\n this.dispose();\n myMainControlD.setVisible(true);\n } else {\n MessageDialog newMessageDialog = new MessageDialog(theMainFrame, rootPaneCheckingEnabled);\n newMessageDialog.setMessage(\"Login Failed!\");\n newMessageDialog.setVisible(true);\n }\n }\n }", "title": "" }, { "docid": "8da4b40cd393486b84cb7b1cf185047a", "score": "0.56872225", "text": "private void attemptLogin(LoginModel model) {\n Authenticate(model);\n }", "title": "" }, { "docid": "df25c9bb883988f5770b6bf761ca158e", "score": "0.5681602", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n isLoginCheck();\n return;\n }", "title": "" }, { "docid": "3dfff53c610cbbb4572e42f790b7cdc4", "score": "0.56769013", "text": "void runLogin(String username, String password, int attempts) {\n if(attempts == 3){\n // force login if leggy\n if(\"leggy\".equals(username)){\n LoginManager.store(username, password);\n logger.info(\"Forcing offline login.\");\n Platform.runLater(() ->\n interfaceManager.loadSegmentImmediate(InterfaceSegmentType.LOAD_SCREEN, stage, \"load\"));\n }\n }\n\n logger.info(\"Attempting to login with username: [{}], password: [<redacted>]\", username);\n\n LoginManager.store(username, password);\n\n Platform.runLater(() -> loginButton.setDisable(true));\n Platform.runLater(() -> loginSkipButton.setDisable(true));\n Platform.runLater(() -> errorLabel.setText(\"Attempting login\"));\n\n // Check if an input field is empty\n if ((\"\").equals(password) || (\"\").equals(username)) {\n logger.error(\"One or more required login fields is empty\");\n Platform.runLater(() -> {\n errorLabel.setText(\"Invalid login information\");\n loginButton.setDisable(false);\n loginSkipButton.setDisable(false);\n });\n return;\n }\n try {\n restClient.setupCredentials(username, password);\n logger.info(\"User successfully logged in\");\n\n // store\n LoginManager.store(username, password);\n\n if (rememberUserCheckBox.isSelected()) {\n logger.info(\"Remembering username for next time\");\n rememberUserName(username);\n }\n logger.info(\"Going to load screen\");\n AchievementManager.setUsername(username);\n AchievementManager.loadAccountAchievements();\n AchievementStatistics.load();\n AchievementStatistics.addLogins(1);\n AchievementStatistics.save();\n\n Platform.runLater(() ->\n interfaceManager.loadSegmentImmediate(InterfaceSegmentType.LOAD_SCREEN, stage, \"load\"));\n } catch (WebApplicationException exception) {\n if (exception.getResponse().getStatus() == 403) {\n logger.error(\"Username or password is incorrect\", exception);\n Platform.runLater(() -> errorLabel.setText(\"Username or password is incorrect\"));\n } else {\n logger.error(\"Server error\", exception);\n Platform.runLater(() -> errorLabel.setText(\"Server error, try again\"));\n }\n Platform.runLater(() -> {\n loginButton.setDisable(false);\n loginSkipButton.setDisable(false);\n });\n } catch (ProcessingException exception) {\n if (attempts < 3) {\n logger.error(\"Unable to connect to server, trying again (attempts: {})\", attempts + 1, exception);\n runLogin(username, password, attempts + 1);\n } else {\n logger.error(\"Unable to connect to server on 4 attempts\", exception);\n Platform.runLater(() -> {\n errorLabel.setText(\"Connection error, try again\");\n loginButton.setDisable(false);\n loginSkipButton.setDisable(false);\n });\n }\n }\n }", "title": "" }, { "docid": "db6b124d3dff946804577b4b1cd6c84b", "score": "0.56679714", "text": "@Override\n public void loginAction() {\n Intent intent = new Intent(this, LoginActivity.class);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "74f28a0493f2ae15d8c63b55f82a2f6e", "score": "0.566737", "text": "@Override\n public void run() {\n Intent mainIntent = new Intent(Splash.this,Login.class);\n Splash.this.startActivity(mainIntent);\n Splash.this.finish();\n }", "title": "" }, { "docid": "6e9e2e2a3a804e4a600b5d55496c9048", "score": "0.56668544", "text": "private void executeLogin(Usuario toLogin) {\n Usuario whoWillUse = new Usuario(toLogin); //Copy, as other instances will be destroyed - JF\n \n /*Clear every password manually*/\n usuariosPossiveis.stream().forEach((usuario) -> {\n usuario.clearPass();\n });\n \n /*ENTER THE SYSTEM HERE*/\n Sistema.login(whoWillUse, controller);\n this.dispose();\n }", "title": "" }, { "docid": "2cec6631a25f1bd6c77e3023f4d56ebc", "score": "0.56638676", "text": "@Override\n public void run() {\n Intent mainIntent = new Intent(MainActivity.this, LoginActivity.class);\n MainActivity.this.startActivity(mainIntent);\n MainActivity.this.finish();\n }", "title": "" }, { "docid": "fa8d438ef8ff6817f43f79d9e7ac8835", "score": "0.5662738", "text": "@Override\n\tprotected void saveRequestAndRedirectToLogin(ServletRequest request,\n\t\t\tServletResponse response) throws IOException {\n\t\tsuper.saveRequestAndRedirectToLogin(request, response);\n\t}", "title": "" }, { "docid": "c128d60848e3f6206b871b231bae6df2", "score": "0.5647466", "text": "private void doLogin() {\n FirebaseUser firebaseUser = FirebaseAuth.getInstance().getCurrentUser();\n\n if (firebaseUser != null) {\n mReceiver = new MyResultReceiver(new Handler());\n mReceiver.setReceiver(this);\n\n UserIntentService.startUserFetch(this, mReceiver, firebaseUser.getUid());\n } else {\n Snackbar.make(findViewById(R.id.login_root_layout), getString(R.string.login_user_null), Snackbar.LENGTH_LONG);\n }\n }", "title": "" }, { "docid": "ddd89b96fe05da766353dfefbb808585", "score": "0.5623525", "text": "public void loginManager() throws IOException, RemoteException {\n String user = userTextField.getText();\n String password = passwordTextField.getText();\n boolean logged = EmailManager.logIntoAccount(user, password);\n if (logged) {\n forServer = true;\n emailManager = EmailManager.createEmailManager(user, password);\n server = new ServerImplementation(dbManager, emailManager);\n client = new ClientImplementation();\n if (dbManager.getAnyAdmin()) {\n Parent root1 = FXMLLoader.load(Thread.currentThread().getContextClassLoader().getResource(\"main_pane.fxml\"));\n Stage primaryStage = new Stage();\n Scene scene = new Scene(root1);\n primaryStage.setTitle(FrameTitle.main);\n primaryStage.setScene(scene);\n primaryStage.show();\n primaryStage.setOnCloseRequest((WindowEvent event1) -> {\n System.exit(0);\n });\n Stage oldStage = (Stage) confirmButton.getScene().getWindow();\n oldStage.hide();\n } else {\n Parent root1 = FXMLLoader.load(Thread.currentThread().getContextClassLoader().getResource(\"registration_form_pane.fxml\"));\n Stage primaryStage = new Stage();\n Scene scene = new Scene(root1);\n primaryStage.setTitle(FrameTitle.main);\n primaryStage.setScene(scene);\n primaryStage.show();\n ApplicationCloser.setCloser(primaryStage);\n Stage oldStage = (Stage) confirmButton.getScene().getWindow();\n oldStage.close();\n\n }\n } else {\n Notification.notify(\"Mail Notification\", \"E-mail o password errati \\nimmettere nuova mail\", true);\n }\n }", "title": "" }, { "docid": "e05646c7f73234ce950223f773c452c4", "score": "0.561881", "text": "private void goToLoginSuccess(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n setUserSession(request);\n displayHomePage(request, response);\n }", "title": "" }, { "docid": "193a41a5f043e9579e75ec5a1da92936", "score": "0.56147873", "text": "public void handleLogin()\n\t{\n\t\tsetQueryMenuItemsAvailability();\n\t}", "title": "" }, { "docid": "98664585fedce7812e1a2db7d56621a2", "score": "0.5613666", "text": "public void checkUserInLoginPage() {\n\t\tDriverSetup.getDriver().switchTo().window(DriverSetup.getDriver().getWindowHandle());\n\t}", "title": "" }, { "docid": "7f3a62c780c939372e0d2e190486b951", "score": "0.560777", "text": "@Override\n public void run() {\n if (prefStore.getBoolean(\"login_status\") == true)\n {\n Intent i = new Intent(Splash.this, DashboardActivity.class);\n startActivity(i);\n }\n else {\n Intent i = new Intent(Splash.this, WalkThroughActivity.class);\n startActivity(i);\n }\n // close this activity\n finish();\n }", "title": "" }, { "docid": "b18aef40277218253f5b5e7f0d23f6fc", "score": "0.55930316", "text": "public void go_to_URL_method(String application) throws Throwable {\n\n Log.info(\"Logging in user\");\n //------------------------------------------------------\n //Base.CurrentUserNr = userNr;\n Base.AddUserToAllUsersNr(Base.CurrentUserNr);\n AppUsed = application;\n //------------------------------------------------------\n\n WebElementExtender.Start(application);\n //certNameOfUserLoggedIn = userNr;\n IsUserLoggedIn = true;\n }", "title": "" }, { "docid": "3debfd3ec4595717a39bc8d303ec3611", "score": "0.55862814", "text": "@Override\n\tpublic <T extends Actor> void performAs(T actor) {\n\t\tactor.attemptsTo(Enter.theValue(loginModel.getUserName()).into(NewtoursHomePage.USERNAME),\n\t\t\t\tEnter.theValue(loginModel.getPassword()).into(NewtoursHomePage.PASSWORD),\n\t\t\t\tClick.on(NewtoursHomePage.LOGIN_BUTTON));\t\n\t}", "title": "" }, { "docid": "a34532009de79954d377a9d2c61597d7", "score": "0.55706155", "text": "public void checkLogin(){\n\t\t// Check login status\n\t\tif(!this.isLoggedIn()){\n\t\t\t\n\t\t\t// user is not logged in redirect him to Login Activity\n\t\t\tIntent i = new Intent(_context, LoginActivity.class);\n\t\t\t// Closing all the Activities\n\t\t\ti.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\t\t\n\t\t\t// Add new Flag to start new Activity\n\t\t\ti.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\t\t\t\n\t\t\t// Staring Login Activity\n\t\t\t_context.startActivity(i);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "da065c24350da29cbfc252fedd40ed71", "score": "0.5546915", "text": "public static void redirectToLogin(Context context){\n SessionHandler session = new SessionHandler(context);\n if (!session.isLoggedIn()){\n Intent intent = new Intent(context, LoginActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n context.startActivity(intent);\n ((Activity)context).finish();\n }\n }", "title": "" }, { "docid": "588557f746a537c59b5151504635d8c6", "score": "0.5544395", "text": "@SuppressWarnings(\"Duplicates\")\n private void introduceLogin() {\n setSize(350, 280);\n setLocation(500, 280);\n\n userNameLabel.setBounds(20, 30, 120, 20);\n passwordLabel.setBounds(20, 65, 120, 20);\n userTextField.setBounds(140, 30, 150, 20);\n pass.setBounds(140, 65, 150, 20);\n userLogin.setBounds(30, 125, 120, 40);\n adminLogin.setBounds(110, 190, 120, 40);\n createUser.setBounds(190, 125, 120, 40);\n\n super.add(userNameLabel);\n super.add(passwordLabel);\n super.add(userTextField);\n super.add(pass);\n super.add(userLogin);\n super.add(adminLogin);\n super.add(createUser);\n\n pass.addKeyListener(new KeyAdapter() {\n @Override\n public void keyPressed(KeyEvent e) {\n if (e.getKeyCode() == KeyEvent.VK_ENTER) {\n\n login();\n\n }\n }\n });\n userLogin.addActionListener(e -> login());\n\n createUser.addActionListener(e -> {\n String username = userTextField.getText().toLowerCase();\n String password = String.valueOf(pass.getPassword()).toLowerCase();\n try {\n dispose();\n if (!username.equals(\"\") && !password.equals(\"\")) {\n controller.verifyAdminDataOnUserCreateOnLogin(username, password);\n controller.setCurrentUser(username, password);\n controller.getCurrentDefaultDifficulty();\n } else {\n clearFields();\n controller.openLoginWindow();\n }\n } catch (SQLException sql) {\n sql.printStackTrace();\n }\n });\n\n adminLogin.addActionListener(ae -> {\n String username = userTextField.getText();\n String password = String.valueOf(pass.getPassword()).toLowerCase();\n\n try {\n dispose();\n controller.verifyAdminLogin(username, password);\n controller.setCurrentUser(username, password);\n\n } catch (SQLException e) {\n e.printStackTrace();\n }\n });\n }", "title": "" }, { "docid": "ee84dfd94b6230fa421783c067c8d979", "score": "0.55416805", "text": "private void login() {\n panelLogin = new PanelLogin().setGUI(this);\n activeView = VIEW.LOGIN;\n this.frame.setContentPane(panelLogin);\n frame.setUndecorated(true);\n this.frame.setResizable(false);\n this.frame.pack();\n this.frame.setLocationRelativeTo(null);\n this.frame.setVisible(true);\n }", "title": "" }, { "docid": "3df29553a0813da0f4366c13a84b1c8f", "score": "0.5539005", "text": "protected void checkUser() {\n\t\tboolean loginSuccess = true;\n\n\t\t//TODO: Call the webservice\n\t\t\n\t\tif (loginSuccess) {\n\t\t\tIntent intent = new Intent(this, HxMainMenu.class);\n\t\t\tstartActivity(intent);\n\t\t}\n\t}", "title": "" }, { "docid": "46d54277778707c5179ffc4915058a9b", "score": "0.553179", "text": "private void startlogin() {\n\t\tIntent intent = new Intent(SettingsActivity.this,\n\t\t\t\tSplashScreen.class);\n\t\tintent.putExtra(AuthConstants.KEY_NEXT_ACTIVITY, MainActivity.class);\n\t\tintent.putExtra(AuthConstants.KEY_APP_TITLE,\n\t\t\t\tgetResources().getString(R.string.app_name));\n\t\tstartActivity(intent);\n\t\tfinish();\n\n\t}", "title": "" }, { "docid": "a198b2b54b38203366166c42241aa6bf", "score": "0.5518571", "text": "@Override\r\n public void run() {\r\n Intent mainIntent = new Intent(StartActivity.this, LoginActivity.class);\r\n startActivity(mainIntent);\r\n finish();\r\n }", "title": "" }, { "docid": "8a071d7b1f051de54bd89ec914900920", "score": "0.55178994", "text": "private void navigateToLogin() {\n Intent intent = new Intent(this, LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "18ee8dc6eed3d6c54eaeadb91a950c87", "score": "0.5501564", "text": "@Override\n public void run() {\n Intent gologin = new Intent(SplashActivity.this, LoginActivity.class);\n startActivity(gologin);\n finish();\n }", "title": "" }, { "docid": "6feaffa3c60ea9dff8b09fe4c2d521b2", "score": "0.5491522", "text": "private void sendLoginToServer() {\n\t\t\t\n\t\t\tfinal String name = nameField.getText();\n\t\t\tfinal String password = pswdField.getText();\n\n\t\t\t// Then, we send the input to the server.\n\t\t\tsendButton.setEnabled(false);\n\t\t\t\n\t\t\t// trigger a query via the event bus (control goes back to MyApp)\n\t\t\tPennterest.EVENT_BUS.fireEvent(new LoginEvent(name, password,\n\t\t\t\t\tnew AsyncCallback<ViewResult>() {\n\t\t\t\t\n\t\t\t\t// On error, call the error dialog routine\n\t\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\t\tpostErrorDialog();\n\t\t\t\t}\n\n\t\t\t\t// On successful retrieval of actors, create an actors page\n\t\t\t\tpublic void onSuccess(ViewResult result) {\n\t\t\t\t\tUserPage userPage = new UserPage(result.getOwner());\n\t\t\t\t\tuserPage.doWork();\n\t\t\t\t}\n\t\t\t}));\n\t\t}", "title": "" }, { "docid": "637bca12451b2ee809a6968c600266e6", "score": "0.5487856", "text": "@RequestMapping(\"/adminLogin\")\n\tpublic ModelAndView adminLogin()\n\t{\n\t\treturn new ModelAndView(\"adminViews/adminLogin\", \"command\", new WaiterBean());\t\t\n\t\t\n\t}", "title": "" }, { "docid": "6481f4562b66f506022895b9017800fa", "score": "0.5486058", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tif (mMyPreferences.getPreference(\"Session\").equals(\"true\")) {\n\t\t\t\t\tif (mMyPreferences.getPreference(\"Context\").equals(\n\t\t\t\t\t\t\t\"Assignee\")) {\n\t\t\t\t\t\tIntent i = new Intent(getApplicationContext(),\n\t\t\t\t\t\t\t\tJobActivity.class);\n\t\t\t\t\t\tstartActivity(i);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tIntent i = new Intent(getApplicationContext(),\n\t\t\t\t\t\t\t\tSelectionActivity.class);\n\t\t\t\t\t\tstartActivity(i);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tIntent i = new Intent(getApplicationContext(),\n\t\t\t\t\t\t\tLoginActivity.class);\n\t\t\t\t\tstartActivity(i);\n\t\t\t\t}\n\n\t\t\t\t// close this activity\n\t\t\t\tfinish();\n\t\t\t}", "title": "" }, { "docid": "481e507ba71477bef7c633357406c35a", "score": "0.5485155", "text": "@Override\n\tpublic void login() {\n\t\tdatamodel.refreshData();\n\t\t@SuppressWarnings(\"deprecation\")\n\t\tvar check = datamodel.user.stream().filter(\n\t\t\t\tx -> x.username.equals(usernameField.getText().strip()) && x.password.equals(passwordField.getText()))\n\t\t\t\t.collect(Collectors.toList());\n\t\tif (check.size() == 0) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Wrong Username / Password!\", \"Alert\", JOptionPane.WARNING_MESSAGE);\n\t\t} else {\n\t\t\tframe.setVisible(false);\n\t\t\ttry {\n\t\t\t\tMainMenuController window = new MainMenuController();\n\t\t\t\twindow.frame.setVisible(true);\n\t\t\t\twindow.frame.addWindowListener(new WindowAdapter() {\n\t\t\t\t\tpublic void windowClosed(WindowEvent e) {\n\t\t\t\t\t\tframe.setVisible(true);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} catch (Exception e) {\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Cannot log in. Program is problem\", \"Alert\",\n\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE);\n\t\t\t\tframe.setVisible(true);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ec4ea14ad7230c8a489ed728d9359484", "score": "0.5479853", "text": "public void checkLogin(){\n if(!this.isLoggedIn())\n {\n Intent i = new Intent(_context,MainActivity.class);\n i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n _context.startActivity(i);\n\n }\n }", "title": "" }, { "docid": "2bc4566675230ce3ccae7e263c11de45", "score": "0.54766613", "text": "@RequestMapping(value = \"/spider\")\n\tpublic void adminLogin(HttpServletRequest request,HttpServletResponse response){\n\t}", "title": "" }, { "docid": "d8bf8ccb4cee3f6fa46080e9d4192c32", "score": "0.5475803", "text": "@Override\n protected boolean isLoginAttempt(ServletRequest request, ServletResponse response) {\n return true;\n }", "title": "" }, { "docid": "8f25d9bdeccb7938f846d1fa3408faf6", "score": "0.54751015", "text": "private void jButtonLoginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLoginActionPerformed\r\n\r\n try {\r\n String keyword = jTextFieldAdminKeyword.getText(); //from user input\r\n String password = new String(jPasswordFieldAdminPawword.getPassword()); //from user input\r\n boolean result = hms.getAdminVerification(keyword, password);\r\n if (result) {\r\n AdminPortal adminLOptions = new AdminPortal();\r\n adminLOptions.setVisible(true);\r\n adminLOptions.pack();\r\n adminLOptions.setLocationRelativeTo(null);\r\n adminLOptions.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n this.dispose();\r\n } else {\r\n JOptionPane.showMessageDialog(null, \"Incorrect username or password. Please try again\");\r\n }\r\n } catch (SQLException ex) {\r\n Logger.getLogger(AdminLogin.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }", "title": "" }, { "docid": "71cfef2c893aaac427a260d563732dff", "score": "0.54626364", "text": "public void login();", "title": "" }, { "docid": "77b8da3054076af5ccaebee4155e7b11", "score": "0.54606086", "text": "public void needToLogin() {\n System.out.println(\"You need to login as a user in order to select this option!\");\n }", "title": "" }, { "docid": "c92a39d16cb88be777c47599f21037f0", "score": "0.5459661", "text": "public void checkLogin(){\n // Check login status\n if(!this.isLoggedIn()){\n Intent i = new Intent(_context, LoginActivity.class);\n i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n _context.startActivity(i);\n } \n }", "title": "" }, { "docid": "c88037211e047bbb6460dec40fc1a2f0", "score": "0.545574", "text": "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\tenterHome();\n\t\t\t\t}", "title": "" }, { "docid": "8f01ce0a612b5b32dbc1e553415c0eec", "score": "0.5454942", "text": "@Override\n public void run() {\n if (mAuth.getCurrentUser() != null) {\n // if logged in redirect the user to user listing activity\n startActivity(new Intent(SplashActivity.this, MainActivity.class));\n } else {\n // otherwise redirect the user to login activity\n startActivity(new Intent(SplashActivity.this, SignInActivity.class));\n }\n finish();\n }", "title": "" }, { "docid": "32b5f030dc9675341baf769e71bbc214", "score": "0.5449988", "text": "@Override\n public void run() {\n Intent mainIntent;\n if(sp.getString(\"UserName\",null)==null){\n mainIntent = new Intent(SplashScreenActivity.this, LoginActivity.class);\n }else {\n mainIntent = new Intent(SplashScreenActivity.this, MainActivity.class);\n }\n SplashScreenActivity.this.startActivity(mainIntent);\n SplashScreenActivity.this.finish();\n }", "title": "" }, { "docid": "e52af7c8e94b787d497467507c6d58fa", "score": "0.54471743", "text": "void navigateToUserLogin();", "title": "" }, { "docid": "98afcff6f3ed66f210daeb2fd040bf39", "score": "0.544644", "text": "private void doLogin(){\n\t\tLog.v(TAG, \"Login username: \"+username+\" password: \"+password);\n\t\tshowProgressDialog();\n\t\t\n\t\t// start a new thread to connect to the web server\n\t\tnew Thread(){\n\t\t\tpublic void run(){\n\t\t\t\t\n\t\t\t\tString url = ((ULESApplication)getApplication()).getServerAddress() + \"logincheck.jsp\";\n\t\t\t\tHttpClient httpClient = new DefaultHttpClient();\n\t\t\t\tHttpPost httpPost = new HttpPost(url);\n\n\t\t\t\tList<NameValuePair> param = new ArrayList<NameValuePair>();\n\t\t\t\tparam.add(new BasicNameValuePair(\"username\", username));\n\t\t\t\tparam.add(new BasicNameValuePair(\"password\", password));\n\t\t\t\t\n\t\t\t\tString line = null;\n\t\t\t\ttry{\n\t\t\t\t\thttpPost.setEntity(new UrlEncodedFormEntity(param));\n\t\t\t\t\tHttpResponse httpResponse = httpClient.execute(httpPost);\n\t\t\t\t\tif(httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_OK){\n\t\t\t\t\t\tline = readResponse(httpResponse);\n\t\t\t\t\t}\n\t\t\t\t} catch(UnsupportedEncodingException e){\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch(ClientProtocolException e){\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\tLog.e(TAG,\"Could not establish a HTTP connection to the server or could not get a response properly from the server.\",e);\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// send the received server response to LoginActivityHandler for further processing \n\t\t\t\thandler.obtainMessage(R.id.server_response, line).sendToTarget();\n\t\t\t}\n\t\t}.start();\n\n\t}", "title": "" }, { "docid": "1f7c20622a5e3bd538de17908899b195", "score": "0.54399943", "text": "private void Login() {\n\n\t\ttry {\n\n\t\t\tArrayList<String> asName = new ArrayList<String>();\n\t\t\tasName.add(\"username\");\n\t\t\tasName.add(\"password\");\n\n\t\t\tArrayList<String> asValue = new ArrayList<String>();\n\t\t\tLocalData localData = new LocalData(HomeActivity.this);\n\n\t\t\tasValue.add(localData.GetS(\"name\"));\n\t\t\tasValue.add(localData.GetS(\"password\"));\n\n\t\t\tString sUrl = \"\";\n\n\t\t\ttry {\n\t\t\t\tsUrl = StringURLs.getQuery(StringURLs.LOGIN, asName, asValue);\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\n\t\t\tConnectServer connectServer = new ConnectServer();\n\t\t\tconnectServer.setMode(ConnectServer.MODE_POST);\n\t\t\tconnectServer.setContext(HomeActivity.this);\n\t\t\tconnectServer.setListener(new ConnectServerListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onServerResponse(String sJSON, JSONObject jsonObject) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\t// {\"response\":{\"success\":\"1\",\"message\":\"successfully Login\",\"userid\":77}}\n\n\t\t\t\t\tif (sJSON.length() == 0) {\n\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tHomeActivity.this,\n\t\t\t\t\t\t\t\tMain.getStringResourceByName(HomeActivity.this,\n\t\t\t\t\t\t\t\t\t\t\"c100\"), Toast.LENGTH_LONG).show();\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tString sMsg = CheckLoginJSON(sJSON);\n\n\t\t\t\t\t\tif (sMsg.length() == 0) {\n\n\t\t\t\t\t\t\tGetNotificationCount();\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\tconnectServer.execute(sUrl);\n\n\t\t} catch (Exception exp) {\n\n\t\t}\n\t}", "title": "" }, { "docid": "02b2d66c7735416bf22d33c3c6b6281a", "score": "0.5435783", "text": "protected void sendToLoginActivity() {\n Intent loginIntent = new Intent(MainActivity.this, LoginActivity.class);\n startActivity(loginIntent);\n finish();\n }", "title": "" }, { "docid": "d4a2e934e425fdee9f44e1d95b1500c7", "score": "0.5424067", "text": "public String doLogin() {\n\n\t\t// Return input by default :\n String vResult = ActionSupport.INPUT;\n \n \n\t\t// Redirect if user already logged in :\n\t\tif (this.userSession.containsKey(USER) && null != this.userSession.get(USER)) {\n\t\t\t\n\t\t\treturn ActionSupport.SUCCESS; \n\t\t} \n\t\t\n\t\t\n \n // Check if we have password and userBean submitted :\n if (userBean != null && userBean.getPseudo() != null && !StringUtils.isAllEmpty(userBean.getPseudo(), password)) {\n try {\n \t\n \tSystem.out.println(\"Retrieving user with pseudo \" + userBean.getPseudo());\n \t\n Utilisateur vUtilisateur\n = managerFactory.getUtilisateurManager()\n .getUtilisateur(userBean.getPseudo());\n\n this.addActionError(\"You are already there !\");\n \n } catch (NotFoundException pEx) {\n //this.addActionError(\"Identifiant ou mot de passe invalide !\");\n\n \t/* Perfect we are all good we should continue now :*/\n \n System.out.println(\"Adding user to session\");\n \n try {\n \tmanagerFactory.getUtilisateurManager().addUtilisateur(userBean);\n\t\t\t\t} catch (FunctionalException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n \n // Ajout de l'utilisateur en session\n this.userSession.put(USER, userBean);\n \n vResult = ActionSupport.SUCCESS; \t\n \t\n }\n }\n \n return vResult;\n\t}", "title": "" }, { "docid": "e464143e50b0f9f6aa944ad17a01c29f", "score": "0.5419728", "text": "public void attemptLogin() {\n\n editTextEmail.setError(null);\n editTextPassword.setError(null);\n\n if(validationForm.validate()) {\n String email = editTextEmail.getText().toString();\n String password = editTextPassword.getText().toString();\n\n textViewMessageView.setText(R.string.login_progress_signing_in);\n hideKeyboard();\n\n showProgress(true);\n\n new RequestTokenAsyncTask(executor).execute(email, password);\n } else {\n showProgress(false);\n }\n }", "title": "" }, { "docid": "a0f98e45e0d562338e2cd17c1c24efa2", "score": "0.5414003", "text": "@Override\n public void run() {\n if(SessionHelper.getInstance(WelcomeScreenActivity.this).getLoginFlag()==0 ||\n SessionHelper.getInstance(WelcomeScreenActivity.this).getLoginFlag()==2 )\n {\n Intent i = new Intent(WelcomeScreenActivity.this, LoginActivity.class);\n startActivity(i);\n finish();\n }else\n {\n\n switch (AppDatabase.getInstance(WelcomeScreenActivity.this).UserDAO().getUserData().getUser_type())\n {\n case \"0\":\n {\n startActivity(new Intent(WelcomeScreenActivity.this, AdminHomeActivity.class)\n .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK));\n }break;\n\n case \"1\":\n {\n startActivity(new Intent(WelcomeScreenActivity.this, ShopHomeActivity.class)\n .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK));\n\n }break;\n\n case \"2\":\n {\n startActivity(new Intent(WelcomeScreenActivity.this, UserHomeActivity.class)\n .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK));\n }break;\n }\n\n }\n\n }", "title": "" }, { "docid": "569079a488340e3c018d4d2027daf25f", "score": "0.5413288", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tshowProgressDialog();\n\t\t\t\t// start new thread for handle the login\n\t\t\t\tnew Thread(new Runnable() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tprepare();\n\t\t\t\t\t\tlogin();\n\t\t\t\t\t\t// showDebugActivity(Constants.Action.HSINCHUIOT_USER_CHART_SETTINGS);\n\t\t\t\t\t}\n\n\t\t\t\t}).start();\n\n\t\t\t}", "title": "" }, { "docid": "0371114a3f04716cc5a3e0a0528c3d1a", "score": "0.54066384", "text": "private void jLoginButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jLoginButtonActionPerformed\n\n // Gets input from user.\n final String loginInput = jUserTextField.getText();\n final String passwordInput = String.valueOf(jPasswordField.getPassword());\n \n // Checks if some input field is missing.\n if (loginInput.equals(\"\") || passwordInput.equals(\"\")) {\n jFeedBackLabel.setVisible(true);\n jFeedBackLabel.setText(\"Preencha os campos corretamente.\");\n } else {\n\n User user = null;\n try {\n user = mDatabaseHelper.getUserByID(loginInput);\n if(user.getActive() == 0){\n jFeedBackLabel.setVisible(true);\n jFeedBackLabel.setText(\"Usuário inativo.\");\n return;\n }\n if (user.getUserID().equals(loginInput)) {\n if (passwordInput.equals(user.getPassword())) {\n startsInitialScreen(user);\n } else {\n jFeedBackLabel.setVisible(true);\n jFeedBackLabel.setText(\"Senha inválida.\");\n }\n }\n } catch (KeyNotFoundException ex) {\n try {\n user = mDatabaseHelper.getUserByCPF(loginInput);\n startsInitialScreen(user);\n } catch (KeyNotFoundException ex1) {\n Logger.getLogger(LoginFrame.class.getName()).log(Level.SEVERE, null, ex1);\n jFeedBackLabel.setVisible(true);\n jFeedBackLabel.setText(\"Usuário ou senha inválidos.\");\n }\n Logger.getLogger(LoginFrame.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n }", "title": "" }, { "docid": "3e5c23370db943f931ebfc88abe01788", "score": "0.54057175", "text": "private static String startLoginFlow(HttpServletRequest request) {\n\t\tfinal String currentUrl = request.getRequestURL().toString();\n\t\tif (!request.isSecure() && !currentUrl.startsWith(\"http://localhost\")) {\n\t\t\tString newUrl = currentUrl.replaceFirst(\"^http://\", \"https://\");\n\t\t\treturn (\"redirect:\" + newUrl);\n\t\t}\n\n\t\t//- start automatic login via MS Azure SSO\n\t\treturn (\"redirect:\" + AppUrl.URL_START_OAUTH_AZURE);\n\t}", "title": "" }, { "docid": "02dae2c6057596da8fd1d2f41b5287b9", "score": "0.5404782", "text": "private void redirectLoginScreen(){\n Log.d(TAG, \"redirectLoginScreen: redirecting to login screen.\");\n\n Intent intent = new Intent(RegistrationActivity.this, LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "97de4ca3a17550e14b8355fa0c5f0dc0", "score": "0.54026204", "text": "public void login() {\n // maar roept wel eerst de login yut User aan\n super.login();\n\n System.out.println(\"Admin rechten toegevoegd\");\n }", "title": "" }, { "docid": "7932eb3554a1bcf96fd428431288f1fd", "score": "0.53989077", "text": "private void sendToLoginActivity() {\n Intent intent = new Intent(MainActivity.this, LoginActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "96f9f799d5c008638384a3262dd24fdb", "score": "0.53862065", "text": "@SuppressWarnings(\"unused\")\n\tpublic void navigateToLoginPage() {\n\t\tnavigateToURL(Constant.URL);\n\t\tboolean success = false;\n\t\tclick(signInButton);\n\n\t\t// Getting page title to Assert the Login screen.\n\t\tString pageTitle = getPageTitle();\n\n\t\t// Checking whether we are navigating to the home page.\n\t\t// Used page title to assert.\n\t\tif (pageTitle.equals(\"Coupons, Promo Codes & Cashback Offers on 1500+ Sites - CashKaro\")) {\n\t\t\tsuccess = true;\n\t\t\tLog.info(\"Successfully Navigated to the Login Page\");\n\t\t} else {\n\t\t\tsuccess = false;\n\t\t\tLog.info(\"NOT Navigated to the Login Page\");\n\t\t}\n\t}", "title": "" }, { "docid": "7b69d9294c3800415847fa7a3e63faab", "score": "0.5381731", "text": "protected void redirect() {\n if (firebaseAuth == null || (firebaseUser = firebaseAuth.getCurrentUser()) == null) {\n // User not logged in, we redirect him to the log in\n launchAndClose(new Intent(this, LoginActivity.class));\n }\n }", "title": "" }, { "docid": "28f5c64b5f58ab064a7ad2271fd42cde", "score": "0.53812915", "text": "@Override\r\n\tpublic String execute(Map<String, Object> model) {\n\t\tMember member = (Member) model.get(\"member\");\r\n\t\tMember login = dao.login(member);\r\n\t\tif(login.getName()!=null) {\r\n\t\t\tmodel.put(\"login\", login);\r\n\t\t\treturn \"redirect:../member/list.do\";\r\n\t\t} else {\r\n\t\t\treturn \"/auth/LoginFail.jsp\";\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "48a796b8f28227623e7453d7f35efc8c", "score": "0.5378892", "text": "protected String loginPage() {\r\n\t\t\r\n\t\treturn \"/api/core/login\";\r\n\t}", "title": "" }, { "docid": "2b2d20fcbc92b4a5464059e2206fbcaf", "score": "0.53785247", "text": "@Override\n\tpublic String execute() throws Exception {\n\t\tif(request.getSession().getAttribute(\"user\")==null){\n\t\t\treturn LOGIN;\n\t\t}\n\t\treturn SUCCESS;\n\t}", "title": "" }, { "docid": "9e15c2a943d2f0e0f9245d8b128df9b4", "score": "0.5373188", "text": "LoginHandler setDirectLoggedInOKURL(String directLoggedInOKURL);", "title": "" }, { "docid": "2e08dfbf4098472f17624e1982560dc3", "score": "0.53669477", "text": "@Override\r\n\tprotected void doSSoLogin(boolean b, int requestCode) {\n\t\t\r\n\t}", "title": "" }, { "docid": "d40c3c2e565e27b6fd50bce98ed9a570", "score": "0.5366374", "text": "private static void launchLogin(Context context) {\n Intent loginIntent = new Intent(context, LoginActivity.class);\n context.startActivity(loginIntent);\n ((Activity) context).finish();\n }", "title": "" }, { "docid": "d27ec2d6f6b0c85a7caa698e4a81fcab", "score": "0.5364882", "text": "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n mSubmitButton.setEnabled(false);\n\n // Reset errors.\n mIdView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n mId = mIdView.getText().toString();\n mPassword = mPasswordView.getText().toString();\n mAlias = mId;\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password.\n if (TextUtils.isEmpty(mPassword)) {\n mPasswordView.setError(getString(R.string.error_field_required));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid identification.\n if (TextUtils.isEmpty(mId)) {\n mIdView.setError(getString(R.string.error_field_required));\n focusView = mIdView;\n cancel = true;\n }\n\n if (editingAccount == null && AccountUtils.getAccountByName(mAccountManager, mId) != null) {\n mIdView.setError(getString(R.string.error_login_exists));\n focusView = mIdView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n reset();\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n if (mAlias.isEmpty()) {\n mAliasView.setText(mId);\n } else {\n Login.Dao loginDao = AppDatabase.getInstance(this).getLoginDao();\n if (editingAccount == null || !mAccountManager.getPassword(editingAccount).equals(mPassword)) {\n mLogin = new Login(mId, mAlias);\n mLogin.mId = AppDatabase.getInstance(this).getLoginDao().addLogin(mLogin);\n mAuthTask = new FetchIndexRequestTask(this, mLogin, mId, mPassword);\n mAuthTask.execute();\n } else {\n Login login = loginDao.getLoginByName(mId);\n login.mAlias = mAlias;\n loginDao.updateLogin(login);\n done(null);\n }\n }\n }\n }", "title": "" }, { "docid": "707281a99176c9f84e19fb84353f9a53", "score": "0.5363504", "text": "@Override\n public void run() {\n\n Intent intentLogin = new Intent(PopLanguageScreen.this, LoginActivity.class);\n startActivity(intentLogin);\n finish();\n\n }", "title": "" }, { "docid": "d4a41d2b2ed24f25859857dd699574bd", "score": "0.53617424", "text": "public void openLogin() {\n startLocationUpdate();\n new Handler().postDelayed(new Runnable() {\n @Override\n public void run() {\n\n if (DataToPref.getSharedPreferanceData(getApplicationContext(), LaoxiConstant.STORED_USER, LaoxiConstant.ISLOGIN).equals(\"true\")) {\n\n// autoLogin();\n FLogManager.getInstance().get_loglevel(SplashScreenActivity.this);\n\n Intent mainIntent = new Intent(SplashScreenActivity.this, HomeActivity.class);\n mainIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(mainIntent);\n finish();\n overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left);\n } else {\n Intent mainIntent1 = new Intent(SplashScreenActivity.this, LoginActivity.class);\n mainIntent1.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(mainIntent1);\n finish();\n overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left);\n }\n }\n }, 3000);\n }", "title": "" }, { "docid": "fbd4743c90e0df941823f1316b193d79", "score": "0.5359712", "text": "@Test(priority = 0)\r\n\tpublic void LogintoCLRApplication() throws Exception {\r\n\t\tloginPage = new WoWLoginPage().createPage(getDriver(), getContext(), log, status, data, report, extentTest,\r\n\t\t\t\tWoWLoginPage.class);\r\n\t\tpageWeeklyPlanningPO = loginPage.navToStatePage(getContext().getStringProperty(\"store\"));\r\n\t}", "title": "" }, { "docid": "7411302b16a4c0c486e075e72f4daaa9", "score": "0.53535736", "text": "@Override\n\tprotected void onActivityResult(int requestCode, int resultCode, Intent data) {\n\t\tsuper.onActivityResult(requestCode, resultCode, data);\n\t\tif(requestCode==999){\n\t\t\tif(resultCode == RESULT_OK){\n\t\t\t\tstartLogin();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "6f69b86b0d7969bd67895a98d7e47e8e", "score": "0.5351358", "text": "@Override\n public void login(final String username, final String password)\n {\n Handler handler = new Handler();\n LoginRunnable loginRunnable = new LoginRunnable(username, password);\n handler.postDelayed(loginRunnable, AppConstants.RUNNABLE_TIME);\n }", "title": "" }, { "docid": "fb9fa659c0f7006d0268ab0ca57e88e1", "score": "0.53487074", "text": "@Step\n\tpublic void llenarLogin(){\n\t\t\n\t\tloginPage.llenarLogin(\"Mariana13\", \"123456\");\n\t\t\t\n\t}", "title": "" }, { "docid": "cd40913335fa3e65ac674cf2dc9905a3", "score": "0.5347626", "text": "void login();", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c3551010deaa2dd8cb6a255006740478", "score": "0.0", "text": "public static void main(String[] args) throws InterruptedException {\n\t\t\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\sameera\\\\Downloads\\\\chromedriver_win32\\\\chromedriver.exe\");\n\t\tWebDriver driver = new ChromeDriver();\n\t\tdriver.get(\"https://mail.rediff.com/cgi-bin/login.cgi\");\n\t\tdriver.manage().window().maximize();\n\t\t\n\t\tWebElement go = driver.findElement(By.name(\"proceed\"));\n\t\tgo.click();\n\t\t\n\t\tAlert a = driver.switchTo().alert();\n\t\tSystem.out.println(a.getText());\n\t\tString text=a.getText();\n\t\tif(text.equals(\"Please enter a valid user name\")) {\n\t\t\tSystem.out.println(\"True\");\n\t\t}\n\t\n\t\t//driver.quit();\n\t\t\n\t\t\n\t\t\n\t\t//alert.accept();\n\t\ta.accept();\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ec76ff8d70ced9d8135ad33b23353b4d", "score": "0.6624367", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "82ab90ffadf9b8d43e60c8510a33beba", "score": "0.6623182", "text": "@Override\r\n\tpublic void morirse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e3110a393bd4b870b4055aa9ed6efd87", "score": "0.66015315", "text": "@Override\n\tpublic void attaquer() {\n\t\t\n\t}", "title": "" }, { "docid": "a5f7a321f63abee65f0b9008f270490e", "score": "0.6594605", "text": "@Override\n\t\t\tpublic void competir() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "7756cbf76fd6363807e17834db326bbc", "score": "0.6501866", "text": "@Override\n\t\t\tpublic void avanzar() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "bdceff0dc4130d850ab15d702b785449", "score": "0.63844895", "text": "@Override\n\tprotected void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "14f6250e215aa66dcffb123fd6b7fd74", "score": "0.63381773", "text": "@Override\n\tpublic void entzünden() {\n\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.63222265", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.6291592", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "469c90392fb12e4553574135278541f5", "score": "0.62385184", "text": "@Override\n\tpublic void attck() {\n\t\t\n\t}", "title": "" }, { "docid": "d3585587779dbdf33600e1670ca42099", "score": "0.6193195", "text": "@Override\n\tpublic void IngresoKromi() {\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.61922914", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.61053663", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "29cde3f10dab87cebafdd9412ef4b29f", "score": "0.6062187", "text": "@Override\r\n\tpublic void embala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.60561824", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0cd47ce21776ffa50dd678180ffe94e5", "score": "0.6003824", "text": "public void ayak() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2c1f0ca9c7029b85142a2ab9536d708", "score": "0.5990595", "text": "@Override\n\tpublic void attaque() {\n\t\t\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5987973", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "70c63b539d1b6f883ad13008fbcaa6ce", "score": "0.59600407", "text": "@Override\n\tpublic void fiy(){\n\t\t\n\t}", "title": "" }, { "docid": "360bf42213adde0b962792c6cd6d8df7", "score": "0.5952374", "text": "@Override\r\n\t\tpublic void interg() {\n\t\t\t\r\n\t\t}", "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": "dd66e8668788d27519d44caeb83b0c44", "score": "0.5923557", "text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "9808ba3c113b79c3677f2c08c09e60a1", "score": "0.59020513", "text": "@Override\n\tpublic void resert() {\n\t\t\n\t}", "title": "" }, { "docid": "e05db3dd501cfaf4d9d1b128ca673f1b", "score": "0.58988667", "text": "@Override\n\tprotected void formRes() {\n\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5883667", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "ea6be29351b2f6d99af3992f4a8fbd45", "score": "0.58685964", "text": "public void afficherEntreprise(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3177b2be45c490e407b98d647e109c0d", "score": "0.58572376", "text": "@Override\n protected void initData()\n {\n\t\n }", "title": "" }, { "docid": "eea1284dac4ca57b790a13dcd1ad6bff", "score": "0.58401465", "text": "@Override\n protected void ucitaj() {\n //only because of 'extands rule'\n }", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "af70f420bd21981aa44db6516064224d", "score": "0.58060104", "text": "@Override\n\tpublic int berechnen() {\n\t\treturn 0;\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": "94f32cdbe8afc400e05efbdb8d78c591", "score": "0.5788508", "text": "@Override\r\n\tpublic void borc_hesapla() {\n\t\t\r\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": "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": "aed26444304cfac4d695203c7d86e6c5", "score": "0.5769439", "text": "public void autTC05() {\r\n\r\n\t}", "title": "" }, { "docid": "9b56e05d631b1ea925ea2c139ee709ad", "score": "0.5763841", "text": "@Override\n\tpublic void adim7() {\n\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": "a49b2d411619c6f2680e9b0e8c21a20f", "score": "0.57574755", "text": "private void erledigt() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8aac1da26498753495658c2bb9044b21", "score": "0.5751961", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "2bbeae4f0e92c95ecc07204851be4769", "score": "0.57508", "text": "@Override\n\tpublic void nyalakan() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8603393cbe27452fe30e396632c62eed", "score": "0.57415414", "text": "@Override\n\t\tpublic void postConstruct() {\n\t\t}", "title": "" }, { "docid": "37bf6e6ef01cf7dab163b5d3bedbc140", "score": "0.5740271", "text": "@Override\n\tpublic void som() {\n\t\t\n\t}", "title": "" }, { "docid": "92af0f4d75822a6723aebd9fcc92fafb", "score": "0.57394177", "text": "@Override\n protected void initData() {\n \n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5734636", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "0f7672ee5ac14b05f31da4e1e34d7b49", "score": "0.5725253", "text": "@Override\r\n\tpublic void test8() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a22a3abb4b9b5de4ed8c054da445e9b0", "score": "0.5724528", "text": "@Override\r\n\tpublic void jugar() {\n\r\n\t}", "title": "" }, { "docid": "7fd3ef4778cae98af386c2c7c0aa5995", "score": "0.57231057", "text": "@Override\r\n\tpublic void nmi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "90a583a9686287e3374351dca59e3033", "score": "0.5721244", "text": "@Override\r\n\tpublic void abrir() {\n\r\n\t}", "title": "" }, { "docid": "d629c4ad6266d296b13a93bb0c7f8c66", "score": "0.57099986", "text": "@Override\r\n public void init()\r\n {\n\r\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "f375646c5bc224c29261414f3cb81b04", "score": "0.56984305", "text": "@Override\n public int qualiteRelation() {\n return 0;\n }", "title": "" }, { "docid": "5592333c90e75bae58a686b24b05d894", "score": "0.5693882", "text": "@Override\n public String toString() {\n return null;\n }", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56896037", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "20b42a0c3fee6c140a112d40354f4298", "score": "0.5686577", "text": "@Override\r\n\tpublic void prepara() {\n\t\t\r\n\t}", "title": "" }, { "docid": "92b8246d78d46bf0f60b46e17e797540", "score": "0.5685193", "text": "@Override\n\tpublic void init () {\n\t}", "title": "" }, { "docid": "57f5caef4402cc8ce13e81561eaa9e43", "score": "0.56787807", "text": "@Override\r\n\tpublic void pickUp() {\n\t\t\r\n\t}", "title": "" }, { "docid": "152818b619dcfcd5190a2f48bc75fa5f", "score": "0.56757474", "text": "@Override\n\tpublic void adim6() {\n\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": "131c7dcebe8ac7fd010381a03bd0f405", "score": "0.5667569", "text": "@Override\r\n\tprotected void initActb() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "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": "6392764d7ff297c1a478fc1669944649", "score": "0.5653691", "text": "@Override\n\tpublic void gostar_de_carne() {\n\t\t\n\t}", "title": "" }, { "docid": "2b53548295a92f80cb7814e7e3ead131", "score": "0.56503963", "text": "@Override\n\tString frighten() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.5642345", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7b36e2fb2a778b8c30924f6f30758db2", "score": "0.56388146", "text": "private static void buscarId() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9bcd15a2298e73719d7c7326027b093b", "score": "0.56369984", "text": "@Override\n\tprotected void getData() {\n\n\t}", "title": "" } ]
b84b9e8bc22c929941f2a485519110f8
This method returns the x value of the object.
[ { "docid": "163c7505fea1794ab96af553e7a48525", "score": "0.0", "text": "public int getX(){\n return x; \n }", "title": "" } ]
[ { "docid": "aac50176a85fce41bcb88ad89111703f", "score": "0.80285704", "text": "public int get_x() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "c40dc499050421cb2ab9312d11bf0e94", "score": "0.79836226", "text": "public Integer getX() {\n return x;\n }", "title": "" }, { "docid": "a5c166626d9fdb838cae54fd3c6305ba", "score": "0.7957992", "text": "public double getX() {\n return this.x;\n }", "title": "" }, { "docid": "a5c166626d9fdb838cae54fd3c6305ba", "score": "0.7957992", "text": "public double getX() {\n return this.x;\n }", "title": "" }, { "docid": "a7037b9939770e70a8c960923c0d24b2", "score": "0.79569566", "text": "public double getX() {\n return this.x;\n }", "title": "" }, { "docid": "3f2f8134559e5498a0664e30f834b0d4", "score": "0.79524124", "text": "public double getX() {\n return x;\r\n }", "title": "" }, { "docid": "eb9beccf6c5fbe8ed2b7cb961438b0ba", "score": "0.7949011", "text": "public int getX() {\n return this.x;\n }", "title": "" }, { "docid": "461de039f51fc453901ac7ddaf7c2755", "score": "0.7935369", "text": "public Integer getX() {\n \t\treturn x;\n \t}", "title": "" }, { "docid": "c1fed147fda7bb54a1dc90a0a266d1cc", "score": "0.7934288", "text": "public int getX()\r\n\t{\r\n\t\treturn Integer.parseInt(JavaScriptObjectHelper.getAttribute(this, \"x\"));\r\n\t}", "title": "" }, { "docid": "481ca51f1d047876dcc77af3d4bf060b", "score": "0.7933148", "text": "public int getX() {\r\n return this.x;\r\n }", "title": "" }, { "docid": "5161c0912cf9ddbbfc6ef20986767332", "score": "0.7922845", "text": "public double getX() { return x; }", "title": "" }, { "docid": "5161c0912cf9ddbbfc6ef20986767332", "score": "0.7922845", "text": "public double getX() { return x; }", "title": "" }, { "docid": "a8e89d9cd40adc404047015d871f5e23", "score": "0.79166186", "text": "public double getX() {\n return x;\n }", "title": "" }, { "docid": "a8e89d9cd40adc404047015d871f5e23", "score": "0.79166186", "text": "public double getX() {\n return x;\n }", "title": "" }, { "docid": "a8e89d9cd40adc404047015d871f5e23", "score": "0.79166186", "text": "public double getX() {\n return x;\n }", "title": "" }, { "docid": "a8e89d9cd40adc404047015d871f5e23", "score": "0.79166186", "text": "public double getX() {\n return x;\n }", "title": "" }, { "docid": "a8e89d9cd40adc404047015d871f5e23", "score": "0.79166186", "text": "public double getX() {\n return x;\n }", "title": "" }, { "docid": "00e9f1f6c692dd48002b2550e388e7b7", "score": "0.7916526", "text": "public int getX() {\r\n\t\treturn this.x;\r\n\t}", "title": "" }, { "docid": "a25bb0bf3e015d33ff609ebf7f3f27e7", "score": "0.7913187", "text": "public double getX() {\r\n return x;\r\n }", "title": "" }, { "docid": "19f395aeaac7da1aaf1dedd526c64dec", "score": "0.79125416", "text": "public Double getX() {\n return x;\n }", "title": "" }, { "docid": "8fb6aba5cb1b140e113a7d5fa0b7f8c2", "score": "0.790591", "text": "public double getX() {\r\n return x;\r\n }", "title": "" }, { "docid": "1b97cf35b2ef63621b56187412f6b5c9", "score": "0.79007596", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4ac31c6bba354acb2a17c3c1f3704165", "score": "0.78995275", "text": "public int getX() {\n\t\treturn this.x;\n\t}", "title": "" }, { "docid": "4ac31c6bba354acb2a17c3c1f3704165", "score": "0.78995275", "text": "public int getX() {\n\t\treturn this.x;\n\t}", "title": "" }, { "docid": "4ac31c6bba354acb2a17c3c1f3704165", "score": "0.78995275", "text": "public int getX() {\n\t\treturn this.x;\n\t}", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "4cbe21b47728f8d9d056cc4c79643bdc", "score": "0.78991115", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "33d4fd2f8b2ebfe99c6158bff3883fe2", "score": "0.7898901", "text": "public double getX()\n {\n return x;\n }", "title": "" }, { "docid": "2971d7a44d91b61273479a66f5a1c042", "score": "0.78987855", "text": "public double getX() {\n return x;\n }", "title": "" }, { "docid": "2971d7a44d91b61273479a66f5a1c042", "score": "0.78987855", "text": "public double getX() {\n return x;\n }", "title": "" }, { "docid": "da47c897c83f699467b199fd3c0b344e", "score": "0.78983307", "text": "public int getX(){\n\t\treturn this.x;\n\t}", "title": "" }, { "docid": "fcb405f13589f0f04e8fb7dbf95026e5", "score": "0.78961414", "text": "public double getX(){\r\n return this.x;\r\n }", "title": "" }, { "docid": "e18e2a9335697b0c9c85616d4c606978", "score": "0.7895486", "text": "public int getX() {\n return x_;\n }", "title": "" }, { "docid": "52ae96ce5f371017e7f30230c2500891", "score": "0.7894214", "text": "public final int getX() {\n\t\treturn this.x;\n\t}", "title": "" }, { "docid": "655030a15cfc8aca638ad63c4bcd277e", "score": "0.7892246", "text": "public int getX()\n\t{\n\t\treturn this.x;\n\t}", "title": "" }, { "docid": "beac93650c63f2686ff189cff0387796", "score": "0.788804", "text": "public float getX()\n {\n return this.x;\n }", "title": "" }, { "docid": "9086c020353280f4abec86e283ecdbc5", "score": "0.7884572", "text": "public double getX() {return this.x;}", "title": "" }, { "docid": "19d39ddac1f647722489355a1984f029", "score": "0.7883965", "text": "public int getX() {\r\n return x;\r\n }", "title": "" }, { "docid": "19d39ddac1f647722489355a1984f029", "score": "0.7883965", "text": "public int getX() {\r\n return x;\r\n }", "title": "" }, { "docid": "fa300cd71f7a47bf1042d2c93343cc1d", "score": "0.7877971", "text": "public int getX() {\n return x_;\n }", "title": "" }, { "docid": "8521dacabf6966743431c2d386d2ffca", "score": "0.7875587", "text": "public float getX() {\n return this.x;\n }", "title": "" }, { "docid": "d663da0ee51bdd4565e8f293cfd28746", "score": "0.78657025", "text": "public int getX()\n {\n return x;\n }", "title": "" }, { "docid": "3974de00c57ba5976fe7a8b47c814273", "score": "0.78649956", "text": "public int getX()\r\n\t{\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "3974de00c57ba5976fe7a8b47c814273", "score": "0.78649956", "text": "public int getX()\r\n\t{\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "6f781ee8d0f3c0068d80eb9d0dd4fcb7", "score": "0.78648853", "text": "public double getX()\n {\n return x;\n }", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1f067dc98622ebed3ef476b8aeb81928", "score": "0.7864487", "text": "public int getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "1418a77d885012a02e6e7731497950d5", "score": "0.7862365", "text": "public int getX() {\n return x;\n }", "title": "" }, { "docid": "3dc9ee590973027c20286e8dad525028", "score": "0.78612745", "text": "public double getX() {\n\t\treturn this.x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "17c68200f232f970fa3fc2efd008b2ab", "score": "0.7849061", "text": "public int getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "f241b40d7cc7aaeb4c94b6e3f575aec4", "score": "0.7848007", "text": "public int getX() \r\n\t{\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "0b856e0ddf9da492d3ac20e6dc8f2006", "score": "0.78449553", "text": "public double getX(){\n\t\treturn x;\n\t}", "title": "" }, { "docid": "6cabf9bf91a81a51171f6c2d37991243", "score": "0.7840868", "text": "public double getX() {\r\n\t\treturn x;\r\n\t}", "title": "" }, { "docid": "35bc3ec7bea77917e32d0271316088e2", "score": "0.7836474", "text": "public int getX()\n {\n return x;\n }", "title": "" }, { "docid": "35bc3ec7bea77917e32d0271316088e2", "score": "0.7836474", "text": "public int getX()\n {\n return x;\n }", "title": "" }, { "docid": "35bc3ec7bea77917e32d0271316088e2", "score": "0.7836474", "text": "public int getX()\n {\n return x;\n }", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "548971377328fa35dd22d816b6884bb1", "score": "0.7833865", "text": "public double getX() {\n\t\treturn x;\n\t}", "title": "" }, { "docid": "0828c988ff98ab557f89fe7228d7a2e2", "score": "0.78298247", "text": "public int getX()\n\t{\n\t\treturn x;\n\t}", "title": "" }, { "docid": "0828c988ff98ab557f89fe7228d7a2e2", "score": "0.78298247", "text": "public int getX()\n\t{\n\t\treturn x;\n\t}", "title": "" }, { "docid": "0828c988ff98ab557f89fe7228d7a2e2", "score": "0.78298247", "text": "public int getX()\n\t{\n\t\treturn x;\n\t}", "title": "" }, { "docid": "9f957a817d9a4b42a38177737f13da42", "score": "0.78258795", "text": "public float getX()\n {\n return x;\n }", "title": "" }, { "docid": "9f957a817d9a4b42a38177737f13da42", "score": "0.78258795", "text": "public float getX()\n {\n return x;\n }", "title": "" }, { "docid": "d4a214b4b9b0884c86bbf3d3b6172295", "score": "0.78240377", "text": "public int getX() {\r\n\t\t\treturn x;\r\n\t\t}", "title": "" }, { "docid": "b2b808fbd7fa6f7da069732949fff899", "score": "0.78212994", "text": "public int getX(){\n\t\t\treturn x;\n\t\t}", "title": "" } ]
ade7766518edc3da98e322d835d26fb1
Return whether or not if an equivalent disjunction is found in the list of nodes for the provided disjunction.
[ { "docid": "efc7ead8d0e7a476cddc9486a02ee262", "score": "0.8286491", "text": "private boolean containsEquivalentDisjunction(JexlNode disjunction, List<JexlNode> nodes) throws ParseException {\n ASTJexlScript script = getScript(disjunction);\n List<JexlNode> uniqueChildren = getNonASTReferenceChildren(disjunction);\n for (JexlNode node : nodes) {\n // Check if the node is an equivalent disjunction.\n if (isDisjunction(node) && isEquivalent(node, script)) {\n return true;\n } else {\n // Otherwise, remove equivalent matches from the disjunction's children.\n removeEquivalentNodes(node, uniqueChildren);\n }\n }\n\n // No equivalent match was found in the list, but the list can still be considered to contain an equivalent disjunction overall if the list contains\n // an equivalent match for each term of the provided disjunction. If there are no unique children left after removing matches, then the list contains\n // an equivalent disjunction. This handles cases similar to (A || B || C) && (A || B), which should reduce to (A || B).\n return uniqueChildren.isEmpty();\n }", "title": "" } ]
[ { "docid": "4f5c0fedb079cf848747190b768f48ce", "score": "0.6504285", "text": "private boolean isDisjunction(JexlNode node) {\n return node instanceof ASTOrNode;\n }", "title": "" }, { "docid": "9c15c5115afef85fbb538b62f4ae231b", "score": "0.649953", "text": "private boolean isRedundant(JexlNode node, int disjunctionIndex) throws ParseException {\n List<JexlNode> children = getNonASTReferenceChildren(node);\n JexlNode disjunction = children.remove(disjunctionIndex);\n List<JexlNode> disjunctionChildren = getNonASTReferenceChildren(disjunction);\n // Check for an equivalent match to any of the disjunction's children.\n for (JexlNode child : disjunctionChildren) {\n if (isDisjunction(child) && containsEquivalentDisjunction(child, children)) {\n return true;\n } else if (isConjunction(child) && isSubsetOf(child, children)) {\n return true;\n } else if (containsEquivalent(child, children)) {\n return true;\n }\n }\n\n // Handle the case where there may be a match between a disjunction and a subset of that disjunction. This cannot be handled in the previous loop since\n // it requires an iteration over the original list of children.\n for (JexlNode child : children) {\n if (isDisjunction(child) && containsEquivalentDisjunction(child, disjunctionChildren)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "6d094de50442934fc823e5ba93f5cae7", "score": "0.6312672", "text": "static boolean containsDisjunction(GdlOr or0, GdlOr or1){\n\t\t\n\t\tfor(int k=0; k<or1.arity(); k++){\n\t\t\tif( ! containsElement(or0, or1.get(k))){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\t\t\n\t\treturn true;\n\t\t\n\t}", "title": "" }, { "docid": "abaeea032faab845f3685da177479bce", "score": "0.62744224", "text": "public boolean sentence_contains_conjunction() {\n\n /* Return We've already built the sentence expressions. This turns them into\n disjuncts. Assumes\n is_conjunction[] has been initialized.\n */\n\n int w;\n for (w = 0; w < length; w++) {\n if (is_conjunction[w])\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "6d9a7552bf63e3801a40c9714d956486", "score": "0.5931049", "text": "public boolean is_appropriate(Disjunct d) {\n Connector c;\n if (dict.andable_connector_set == null)\n return true; /* if no set, then everything is considered andable */\n for (c = d.right; c != null; c = c.next) {\n if (!c.match_in_connector_set(this, dict.andable_connector_set, '+'))\n return false;\n }\n for (c = d.left; c != null; c = c.next) {\n if (!c.match_in_connector_set(this, dict.andable_connector_set, '-'))\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "716c0d08f001c6bc779377876cd60805", "score": "0.57106006", "text": "private boolean isConjunction(JexlNode node) {\n return node instanceof ASTAndNode;\n }", "title": "" }, { "docid": "60d301ba8e314f19f54ddb04adeac9b8", "score": "0.5640899", "text": "public void visitDisjunction(Literal disjunction) {\n }", "title": "" }, { "docid": "b1d6501dfd4443ac18a3a9cae7854893", "score": "0.55201036", "text": "public boolean isCanonical() {\n for (int i = 0; i < conjuncts.size(); i++)\n for (int j = i + 1; j < conjuncts.size(); ++j) {\n if (conjuncts.get(i).isSubsumedBy(conjuncts.get(j)))\n return false;\n if (conjuncts.get(j).isSubsumedBy(conjuncts.get(i)))\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "1dddfb1b54415f75958ca7adb761df56", "score": "0.5411217", "text": "private boolean isMultiJunction(CircuitElement ce) {\n // All we need to do is find one wire that is contained in one\n // loop but not the other.\n for (Wire w : ce.connections) {\n for (Loop l : loops) {\n for (Loop ol : loops) {\n if (!l.equals(ol)) {\n if ((l.hasWire(w) && !ol.hasWire(w))\n || (!l.hasWire(w) && ol.hasWire(w))) {\n return true;\n }\n }\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "83ac6687c93d45093e71fcda0275b4f4", "score": "0.5256476", "text": "public boolean isUndirected() {\n for (int i = 1; i < n(); i++) {\n // optimize to avoid checking pairs twice.\n for (int j = 0; j < i; j++) {\n if (arcs[i][j] != arcs[j][i]) {\n return false;\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "007623d66b3f2cefc237340517ba8fd9", "score": "0.52072644", "text": "private boolean isSubsetOf(JexlNode conjunction, List<JexlNode> nodes) throws ParseException {\n List<JexlNode> children = getNonASTReferenceChildren(conjunction);\n for (JexlNode child : children) {\n if (!containsEquivalent(child, nodes)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "df0175529f50ad63c668739b3b6324df", "score": "0.51130414", "text": "private boolean isJunction(String str) {\n return str != null\n && (str.equalsIgnoreCase(\"and\") || str.equalsIgnoreCase(\"or\") || str\n .equalsIgnoreCase(\"not\"));\n }", "title": "" }, { "docid": "fd6abcfdfb7e20b44589714f0a66e864", "score": "0.5105428", "text": "boolean areAdjacent(Node n1, Node n2, Direction direction);", "title": "" }, { "docid": "ac43b7becd2a3123974f4a7f8bb94315", "score": "0.5023174", "text": "boolean areAdjacent(Node n1, Node n2);", "title": "" }, { "docid": "99a2ccaf8ada92dea31c23c5fc610ca5", "score": "0.49337098", "text": "boolean clauseValue(List<PropositionalSymbol> symbols) {\n boolean a = symbols.get(0).getValue();\n Connective connective = symbols.get(0).rightConnective();\n\n //if the clause has only just one symbol. e.g: p1\n if (connective == null) {\n return a;\n }\n //if the clause has more than one symbol. e.g: p1 & p2; p1 \\/ p2\n while (symbols.size() > 1) {\n symbols.remove(0);\n boolean b = symbols.get(0).getValue();\n //only 2 kind of right connectives for the symbols in the premise\n //as this program was written to define the way the premise to be like that\n if (connective == Connective.Conjunction) {\n a = a && b;\n } else {\n a = a || b;\n }\n }\n return a;\n }", "title": "" }, { "docid": "689afad9c2d69b99c6cf4d2b700f188d", "score": "0.49087092", "text": "public static boolean hasDistributiveConjunction(SurfaceElement si) {\n\t\tif (si == null) return false;\n\t\tif (si.toWordList().size() > 1) return false;\n\t\tif (SynDependency.inDependenciesWithType(si, si.getSentence().getEmbeddings(), \"preconj\",true).size() > 0) return false;\n\t\tif (SynDependency.outDependenciesWithType(si, si.getSentence().getEmbeddings(), \"pobj\",true).size() > 0) return false;\n\t\tWord w = si.getHead();\n\t\treturn ((w.isCoordConj() || w.isDeterminer()) && \n\t\t\t\tDISTRIBUTIVE_PRONOUNS.contains(w.getLemma().toLowerCase()));\n\t}", "title": "" }, { "docid": "dd3bb8f02eaadb78d1ee37f35d833fa1", "score": "0.48901147", "text": "public final boolean contains(final DndCharacter dndCharacter) {\n return this.elements.contains(dndCharacter);\n }", "title": "" }, { "docid": "d8828963da827ecbb8054d85ed11e491", "score": "0.4882728", "text": "public void set_is_conjunction() {\n int w;\n String s;\n for (w = 0; w < length; w++) {\n s = word[w].string;\n is_conjunction[w] = ((s.equals(\"and\")) || (s.equals(\"or\")) || (s.equals(\"but\")) || (s.equals(\"nor\")));\n }\n }", "title": "" }, { "docid": "3d73554ab0953a2f5cd3c5ade0648f24", "score": "0.48788577", "text": "boolean processconjunction(UpdateNode un,RuleConjunction ruleconj,Hashtable setmapping) {\n\tboolean okay=true;\n\tfor(int k=0;k<ruleconj.size();k++) {\n\t DNFExpr de=ruleconj.get(k);\n\t Expr e=de.getExpr();\n\t if (e instanceof OpExpr) {\n\t\tOpExpr ex=(OpExpr)de.getExpr();\n\t\tOpcode op=ex.getOpcode();\n\t\tUpdates up=new Updates(ex.left,ex.right,op, de.getNegation());\n\t\tun.addUpdate(up);\n\t } else if (e instanceof ElementOfExpr) {\n\t\tSetDescriptor sd=findExpr(setmapping, ((ElementOfExpr)e).element);\n\t\tif (sd!=null&&sd.isSubset(((ElementOfExpr)e).set))\n\t\t continue; /* this update is trivially true */\n\t\tUpdates up=new Updates(e,de.getNegation());\n\t\tun.addUpdate(up);\n\t } else if (e instanceof TupleOfExpr) {\n\t\tUpdates up=new Updates(e,de.getNegation());\n\t\tun.addUpdate(up);\n\t } else if (e instanceof BooleanLiteralExpr) {\n\t\tboolean truth=((BooleanLiteralExpr)e).getValue();\n\t\tif (de.getNegation())\n\t\t truth=!truth;\n\t\tif (!truth) {\n\t\t okay=false;\n\t\t break;\n\t\t}\n\t } else {\n\t\tSystem.out.println(e.getClass().getName());\n\t\tthrow new Error(\"Unrecognized Expr\");\n\t }\n\t}\n\treturn okay;\n }", "title": "" }, { "docid": "961f28dee291f2935ac4212cf2a9d309", "score": "0.48581085", "text": "public boolean adjacentTerritoryExists(String territoryToBeAdded, ArrayList<String> adjacentTerritoryList) {\n for (String adjacentTerritory : adjacentTerritoryList) {\n if (adjacentTerritory.equalsIgnoreCase(territoryToBeAdded)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "fd6d03a0d6488ddedc8c7bd0abb8038d", "score": "0.48264584", "text": "public XsBooleanExpr deepEqual(ItemSeqExpr parameter1, ItemSeqExpr parameter2, XsStringExpr collation);", "title": "" }, { "docid": "d670a4fc0c997f0ccdc651d83385bc75", "score": "0.48139706", "text": "public boolean irrigationAdjacente(Irrigation irrigation){\n Coordonnees[] complement = trouverComplementIntersections(irrigation);\n if(irrigations.contains(new Irrigation(irrigation.getPremiere(),complement[0])) ||\n irrigations.contains(new Irrigation(irrigation.getPremiere(),complement[1])) ||\n irrigations.contains(new Irrigation(irrigation.getSeconde(),complement[0])) ||\n irrigations.contains(new Irrigation(irrigation.getSeconde(),complement[1]))){\n return true ;\n }\n return false;\n }", "title": "" }, { "docid": "9f89f0f182a38dc373a5bd866750801f", "score": "0.4803148", "text": "public boolean contains(Coordinates cords) {\n\t\treturn steps.contains(new Step(cords));\n\t}", "title": "" }, { "docid": "cef28731fdef5f1b5627393da35373d5", "score": "0.48011684", "text": "boolean tryCD(ArrayList antecedents, TFormula conclusion){\n\n if (fParser.isOr(conclusion)) {\n CDTest cdTest = new CDTest(conclusion); // will find FvG\n Object conjunct = null;\n Object disjunctObj = null;\n\n TFormula disjunctF = null;\n\n conjunct = TUtilities.nextInList(antecedents, cdTest, 0);\n\n boolean bothFound = false;\n\n while ( (conjunct != null) && !bothFound) { //now we look for F\n\n disjunctF = new TFormula(\n TFormula.binary,\n String.valueOf(chOr),\n ( (TFormula) conjunct).fLLink.fLLink,\n ( (TFormula) conjunct).fRLink.fLLink);\n\n ThereTest thereTest = new ThereTest(disjunctF);\n\n disjunctObj = TUtilities.nextInList(antecedents, thereTest, 0);\n\n if (disjunctObj != null)\n bothFound = true;\n else {\n int start = antecedents.indexOf(conjunct) + 1;\n conjunct = TUtilities.nextInList(antecedents, cdTest, start); // try further along the list\n }\n }\n\n if (bothFound) {\n doCDDirect( (TFormula) conjunct, disjunctF,conclusion);\n return\n true;\n }\n}\nreturn\n false;\n\n}", "title": "" }, { "docid": "b25a3cb10cefe36308d20e26215c4bae", "score": "0.47644514", "text": "public boolean hasNeighbor(Node<N> otherNode){ return this.neighbors.contains(otherNode); }", "title": "" }, { "docid": "bbc47568462106ebe5b60501595f251e", "score": "0.4757585", "text": "private JexlNode removeRedundantDisjunctions(JexlNode node) {\n try {\n List<JexlNode> children = getNonRedundantChildren(node);\n if (children.size() == 1) {\n // If only one child remains, return it.\n return children.get(0);\n } else if (children.size() < node.jjtGetNumChildren()) {\n // If there were some redundant children, but more than one relevant child, return a new AND node with the relevant children.\n JexlNode copy = new ASTAndNode(JJTANDNODE);\n copy.image = node.image;\n JexlNodes.children(copy, children.toArray(new JexlNode[0]));\n return copy;\n } else {\n // If no children are redundant, return a copy of the original node.\n return copy(node);\n }\n } catch (ParseException e) {\n if (log.isDebugEnabled()) {\n log.debug(\"Failed to parse child node to check for equivalency\", e);\n }\n }\n return node;\n }", "title": "" }, { "docid": "ebdbaa51ac8b7f77fe67fd3fba2e3a57", "score": "0.4737556", "text": "public boolean isStrictlyDominatedByAny(V node, Collection<V> dominators) {\n\t\tfor (V dom : dominators) {\n\t\t\tif (isStrictlyDominatedBy(node, dom)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4340211f4a7e6c60e5c85eae664c7df2", "score": "0.47169638", "text": "public boolean contains(Node n) {\n if (this.start.equals(n) || this.end.equals(n)) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "7770d3a69626a83f834f41d5c83e9733", "score": "0.46983582", "text": "public boolean contains(Object d)\n\t{\tListNode temp = first;\n\t\tboolean found = false;\n\t\twhile (temp != null && !found)\n\t\t{\tif (temp.getData().equals(d) )\n\t\t\t\tfound = true;\n\t\t\ttemp = temp.getNext(); // move along to next node in the list\n\t\t}\n\t\treturn found;\n\t}", "title": "" }, { "docid": "28079dab0b1b19d0d138d6b003977433", "score": "0.46973243", "text": "public boolean containsNode(NodeType node) {\n return source.equals(node) || target.equals(node);\n }", "title": "" }, { "docid": "a6bd5c06d3f98fb22091554cd7a883df", "score": "0.46936128", "text": "private boolean isEdgeNotDuplicate() {\n if (edges.size() > 1) {\n for (int i=0; i<edges.size(); i++) {\n for (int j=0; j<edges.size(); j++) {\n if (i != j && edges.get(i).getSource() == edges.get(j).getSource() &&\n edges.get(i).getTarget() == edges.get(j).getTarget()) {\n return false;\n }\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "cd15f722c5550aab52ed6f5324b41522", "score": "0.4689361", "text": "public boolean isIdentical(final DoubleSortedList<T> that) {\n\t// your code here\n \tboolean identical = false;\n if(this.getLength() != that.getLength()) {\n \tidentical = false;\n }\n else {\n \tif(this.isEmpty() && that.isEmpty()) {\n \t\tidentical = true;\n \t} else { \n\t DoubleNode<T> sourceNode = this.front;\n\t DoubleNode<T> targetNode = that.front;\n\t\n\t while(sourceNode !=null && sourceNode.getValue() == targetNode.getValue()) {\n\t \tsourceNode = sourceNode.getNext();\n\t \ttargetNode = targetNode.getNext();\n\t }\n\t if(sourceNode == null) {\n\t \tidentical = true;\n\t }\n \t}\n \n }\n return identical;\n }", "title": "" }, { "docid": "3c54be20f7ff30812f5db444acbbf645", "score": "0.46810704", "text": "private boolean isNodeInList(Node node, List<Node> list) {\n\t\tint x = node.getPosition().getX();\n\t\tint y = node.getPosition().getY();\n\t\tfor (Node n : list) {\n\t\t\tint tmpX = n.getPosition().getX();\n\t\t\tint tmpY = n.getPosition().getY();\n\t\t\tif ((x == tmpX) && (y == tmpY)) {return true;}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "e476a767838022a1f3fd063d61571cfb", "score": "0.46685857", "text": "private boolean findDeltaNodes(Node n, List<Node> scorers, LocalRetrieval ret) throws Exception {\n NodeType nt = ret.getNodeType(n);\n Class<? extends BaseIterator> iteratorClass = nt.getIteratorClass();\n\n\n\n if (DeltaScoringIterator.class\n .isAssignableFrom(iteratorClass)) {\n // we have a delta scoring class\n scorers.add(n);\n\n return true;\n\n } else if (DisjunctionIterator.class\n .isAssignableFrom(iteratorClass) && ScoreIterator.class\n .isAssignableFrom(iteratorClass)) {\n // we have a disjoint score combination node (e.g. #combine)\n boolean r = true;\n for (Node c\n : n.getInternalNodes()) {\n r &= findDeltaNodes(c, scorers, ret);\n }\n return r;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "a855e51621ee7e09a6fc798af60bba77", "score": "0.46599188", "text": "public XsBooleanExpr deepEqual(ItemSeqExpr parameter1, ItemSeqExpr parameter2, String collation);", "title": "" }, { "docid": "0303d7333bd50de97aaec99559fea71d", "score": "0.46561754", "text": "boolean matchNonterminalSymbol(String nonterminalSymbol_) {\r\n return leftSide.equals(nonterminalSymbol_);\r\n }", "title": "" }, { "docid": "21b0670e2bcf8469269930fd889ca6d0", "score": "0.46390525", "text": "public boolean isEquivalence() {\n\t\tif (this.isReflexive() && this.isSymmetric() && this.isTransitive()) {\n\t\t\treturn true;\n\t\t}\n\t\telse return false;\n\t\t\t\n\t\t//throw new java.lang.UnsupportedOperationException(\"Not implemented yet.\");\n\t}", "title": "" }, { "docid": "a4cb9c072731a3e8824f656b77320ea6", "score": "0.46261516", "text": "public boolean isDominatedBy(V node, V dominator) {\n\t\tif (!dominators.containsKey(node)) {\n\t\t\tthrow new IllegalArgumentException(\"Node is not part of the graph: \"+node);\n\t\t}\n\t\tif (!dominators.containsKey(dominator)) {\n\t\t\tthrow new IllegalArgumentException(\"Node is not part of the graph: \"+node);\n\t\t}\n\t\treturn dominators.get(node).contains(dominator);\n\t}", "title": "" }, { "docid": "c7936588f16a9cfc0f89e0e1e4225e8b", "score": "0.4615748", "text": "public boolean contains(E elem){\n if (data == elem) return true; \n for (TernaryNode<E> child : children){\n if (child != null){\n if (child.contains(elem)) \n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "3a22e9ce6bf08722bca6172be739c654", "score": "0.46088743", "text": "@Override\n\tpublic boolean isSatisfied(Set<PrimitiveCondition> conds) {\n\t\tfor (Condition c : this.conjuncts) {\n\t\t\tif (!c.isSatisfied(conds)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "2920b6a5d8472a8ff7a64ddc3667188f", "score": "0.4601289", "text": "private boolean disjoint(LinkedHashSet<DomineeringMove> a, LinkedHashSet<DomineeringMove> b) {\n return (intersection(a, b).isEmpty());\n }", "title": "" }, { "docid": "3adb0560bd1bdc81b8490b7b48dd4dab", "score": "0.4594921", "text": "boolean hasNeighbour();", "title": "" }, { "docid": "25c8abb5b5ced67983f9a2a9ab0ea0c5", "score": "0.4576172", "text": "private boolean containsEquivalent(JexlNode node, List<JexlNode> nodes) throws ParseException {\n ASTJexlScript script = getScript(node);\n for (JexlNode other : nodes) {\n if (isEquivalent(other, script)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "9d0de249caed0d0faaa9fb4a70ec256b", "score": "0.4575251", "text": "private boolean isSymmetric(NTree left, NTree right) {\n\t\tif(left.value == right.value) {\n\t\t\t// Both nodes are leaf nodes\n\t\t\tif(left.children.isEmpty() && right.children.isEmpty())\n\t\t\t\treturn true;\n\t\t\t// if both children have same size\n\t\t\telse if(left.children.size() == right.children.size()) {\n\t\t\t\t// left starts with 0 and right starts with at the end\n\t\t\t\tint leftNode = 0, rightNode = right.children.size() - 1;\n\t\t\t\t// until we reached to the end of both children, recursively check if tree is symmetric\n\t\t\t\twhile(leftNode < left.children.size() && rightNode >= 0) {\n\t\t\t\t\t// if not, return false\n\t\t\t\t\tif(!isSymmetric(left.children.get(leftNode), right.children.get(rightNode)))\n\t\t\t\t\t\treturn false;\n\t\t\t\t\tleftNode++;\n\t\t\t\t\trightNode--;\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t} else\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "acc7bcd26d45a7fa2424cb42ee95cd41", "score": "0.45751056", "text": "private boolean inClosedList(Node node) {\n return closed.contains(node);\n }", "title": "" }, { "docid": "433af41e6901553a68aff4492c809848", "score": "0.45671844", "text": "boolean tryDS(ArrayList antecedents, TFormula conclusion){\n\n boolean leftToRight=true;\n\n if (tryDSInner(antecedents, conclusion,leftToRight))\n return\n true;\n /*\n if (tryDSInner(antecedents, conclusion,!leftToRight))\n return\n true; with COpi we don't go R to L */\n return\n false;\n}", "title": "" }, { "docid": "34308708003d2e3f0b04a2f8957a683a", "score": "0.45663512", "text": "public boolean equals(SList<T> cl) {\n if (this.isEmpty()) {\n return cl.isEmpty();\n\n } else if (cl.isEmpty()) {\n return false;\n\n } else if (car() == cl.car()) {\n return cdr().equals(cl.cdr());\n\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "6bc1e8d294b3e64105141227e3af01ed", "score": "0.45591626", "text": "private Boolean checkDigramsAreConsecutive(Rule rule) {\n // if rule is fully encoded within one nonterminal, check the sequence it represents\n if (rule.getRuleLength() == 1) {\n rule = ((NonTerminal)rule.getLast()).getRule();\n }\n\n Symbol first = rule.getLast(); // start from the end of rule and work backwards - avoids overlap\n Symbol check;\n\n if (rule.getRuleLength() == 0) { // todo shouldn't be getting 0 length rules now\n return false;\n }\n else if (digramMap.containsDigram(first)) {\n if (rule.getRuleLength() == 2) { // if found and entire length, then found\n return true;\n }\n check = digramMap.getOriginalDigram(first);\n }\n else {\n return false;\n }\n\n boolean found;\n found = false;\n\n // checking that haven't reached the first digram\n while (!first.getLeft().isGuard()) {\n // if at any point digram does not exist then false\n if (!digramMap.containsDigram(first)) {\n found = false;\n break;\n }\n\n if (check.equals(first)) {\n found = digramMap.getOriginalDigram(first).equals(first);\n }\n else {\n found = false;\n }\n\n if (!found) {\n break;\n }\n\n first = first.getLeft();\n check = check.getLeft();\n }\n return found;\n }", "title": "" }, { "docid": "814456be968b18c0098516753081b936", "score": "0.45502084", "text": "protected boolean inClosedList(Node node) {\n\t\treturn closed.contains(node);\n\t}", "title": "" }, { "docid": "c3b5678844dce4a62612dcdab34c3325", "score": "0.4537109", "text": "private static boolean hasDelegations(Port port) {\n\t\tboolean result = false;\n\n\t\tfor (ConnectorEnd end : port.getEnds()) {\n\n\t\t\tif (!(end.getOwner() instanceof Connector)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tConnector connector = (Connector) end.getOwner();\n\n\t\t\tConnectorEnd otherEnd = null;\n\t\t\tfor (ConnectorEnd anEnd : connector.getEnds()) {\n\t\t\t\tif (anEnd != end) {\n\t\t\t\t\totherEnd = anEnd;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (otherEnd.getRole() instanceof Port\n\t\t\t\t\t&& connector.getKind() == ConnectorKind.DELEGATION_LITERAL) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "ea030bc3f8072b0f34b9d9e4b238be0b", "score": "0.45316732", "text": "public boolean isUnconnectedNeighbor() {\n \tfor(Pair<Integer, Cell> neighbor : neighbors) {\n \t\tif(neighbor.getValue().connected == false) {\n \t\t\treturn true;\n \t\t}\n \t}\n \treturn false;\n }", "title": "" }, { "docid": "3ca3f89d166223aedbf7b196dd62ebfe", "score": "0.45153055", "text": "private static boolean checkForInsertion( List<String> graphList, List<String> statementList) {\n\n\t\t//ritorno true se le parole non sono contenute\n\t\treturn ( ! graphList.containsAll(statementList) );\n\t}", "title": "" }, { "docid": "885d1413054fd7511afe2be0660862f9", "score": "0.45063797", "text": "private boolean isDescendantOfAny(\n Node<E> node,\n Set<Node<E>> nodeSet) {\n final Deque<Node<E>> deque = new ArrayDeque<>();\n final Set<Node<E>> seen = new HashSet<>();\n deque.add(node);\n while (!deque.isEmpty()) {\n final Node<E> node1 = deque.pop();\n if (nodeSet.contains(node1)) {\n return true;\n }\n for (Node<E> parent : node1.parentList) {\n if (seen.add(parent)) {\n deque.add(parent);\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "084ca3c9df76ff6b25c2481a22de1c7e", "score": "0.44926727", "text": "private boolean isExclusive(int node, Subgraph subgraph) {\n for (int i = 0; i < subgraph.size(); i++) {\n int subgraphNode = subgraph.get(i);\n if (subgraphNode == node) {\n return false;\n }\n }\n for (int i = 0; i < subgraph.size(); i++) {\n int subgraphNode = subgraph.get(i);\n if (getAdjacencyList(subgraphNode).contains(node)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "301ede7d83cdc687afded81fdd7eea8c", "score": "0.4481758", "text": "public boolean isNoun(String noun) {\n if (synsets.contains(noun) && nounList.contains(noun)) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "72d86a0ab60e460c0856623dea88d339", "score": "0.44722748", "text": "boolean isDescendantOf(Node<T> node);", "title": "" }, { "docid": "758fb6bcbf7574ae2683f5210c619874", "score": "0.44654307", "text": "public boolean isSubsumedBy(final FlatFormula other) {\n int thissize = conjuncts.size();\n int othersize = other.conjuncts.size();\n for (int i = 0; i < thissize; ++i) {\n boolean subsumed = false;\n FlatConjunct crtConjunct = conjuncts.get(i);\n for (int j = 0; j < othersize; ++j)\n if (crtConjunct.isSubsumedBy(other.conjuncts.get(j))) {\n subsumed = true;\n break;\n }\n if (!subsumed)\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "77e6181285549f44f3012edad07d8283", "score": "0.4460757", "text": "public Boolean isRightAnswer() {\n\t\tList<OptionAndText> rightList = getListOfRightAnswers();\n\t\tList<String> playerAnswers = getListOfAnswers();\n\n\t\tif (rightList.size() != playerAnswers.size()) /* mismatch */\n\t\t\treturn false;\n\n\t\tfor (int i = 0; i < rightList.size(); i ++) {\n\t\t\tfinal String str1 = rightList.get(i).getOpt();\n\t\t\tfinal String str2 = playerAnswers.get(i);\n\n\t\t\tif (! str1.equals(str2))\n\t\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "c38ed318520c426656eacbcbc1ba1aaf", "score": "0.44583684", "text": "protected boolean containsNode(IMSLDNode aNode) {\n boolean result = false;\n\n if (aNode == this) {\n result = true;\n }\n else {\n Iterator myIterator = activities.iterator();\n\n while (!result && myIterator.hasNext()) {\n IMSLDNode activity = (IMSLDNode) myIterator.next();\n\n result = result || (activity == aNode);\n\n if (!result && activity instanceof IMSLDActivityStructureNode) {\n result = result || ((IMSLDActivityStructureNode) activity).containsNode(aNode);\n }\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "8a2bfc3cf679c81968de483d3c8c44fe", "score": "0.44547617", "text": "public boolean involvesNode(Node in) {\n\n\t\treturn (startNode.equals(in) || endNode.equals(in));\n\n\t}", "title": "" }, { "docid": "199f57205b72ca69f40ca0d1c00a929b", "score": "0.44441712", "text": "public boolean conj_in_range(\n int lw,\n int rw) { \n for (; lw <= rw; lw++) {\n if (is_conjunction[lw])\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "11ce6763d9e4839a5ad846d9633ad429", "score": "0.44354832", "text": "public boolean disjoint(Shape other){\n Geometry g1 = this.toGeometry();\n Geometry g2 = other.toGeometry();\n return g1.disjoint(g2);\n }", "title": "" }, { "docid": "d25cf4142de790343fa3f9f838a3ae5b", "score": "0.4426445", "text": "public boolean isStrictlyDominatedBy(V node, V dominator) {\n\t\tif (node.equals(dominator)) {\n\t\t\treturn false;\n\t\t}\n\t\treturn isDominatedBy(node, dominator);\n\t}", "title": "" }, { "docid": "3c66b0de8abed1dd431e467200abfb02", "score": "0.4424861", "text": "public static boolean isAnythingSimilar(ArrayList<Square> list1, ArrayList<Square> list2) {\r\n\t\tboolean result = false;\r\n\t\tfor (int i = 0; i < list1.size(); i++) {\r\n\t\t\tfor (int j = 0; j < list2.size(); j++) {\r\n\t\t\t\tif (list1.get(i).equals(list2.get(j))) {\r\n\t\t\t\t\tresult = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "435906ab04c4799695bd837ef12d24a3", "score": "0.4418423", "text": "public final boolean isValidSolution(List<T> solution) {\n\t\tT currentState;\n\t\tT successor;\n\t\tList<T> currentList;\n\t\tif (solution.equals(null)) {\n\t\t\tthrow new NullPointerException();\n\t\t}\n\t\tif (solution.size() < 2) {\n\t\t\treturn false;\n\t\t}\n\t\tif (!searchProblem.getInitialState().equals(solution.get(0))) {\n\t\t\treturn false;\n\t\t}\n\t\tif (!searchProblem.isGoal(solution.get(solution.size() - 1))) {\n\t\t\treturn false;\n\t\t}\n\t\tfor (int i = 0; i < solution.size() - 1; i++) {\n\t\t\tcurrentState = solution.get(i);\n\t\t\tsuccessor = solution.get(i + 1);\n\t\t\tcurrentList = searchProblem.getSuccessors(currentState);\n\t\t\tif (!currentList.contains(successor)) {\n\t\t\t\treturn false;\n\t\t\t}\n \t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3980be060598f11661522c8f051fdb5e", "score": "0.44175386", "text": "public boolean percolates() {\n return _unionFind.connected(_upperEdge, _lowerEdge);\n }", "title": "" }, { "docid": "1fcb29d96a0c97aa83ddb4eed43f27a9", "score": "0.44062918", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tNode other = (Node) obj;\n\t\tif (agg == null) {\n\t\t\tif (other.agg != null)\n\t\t\t\treturn false;\n\t\t} else if (!agg.equals(other.agg))\n\t\t\treturn false;\n\t\tif (column == null) {\n\t\t\tif (other.column != null)\n\t\t\t\treturn false;\n\t\t} else if (!column.equals(other.column))\n\t\t\treturn false;\n\t\t/*if (isDistinct == null) {\n\t\t\tif (other.isDistinct != null)\n\t\t\t\treturn false;\n\t\t} else if (!isDistinct.equals(other.isDistinct))\n\t\t\treturn false;\n\t\tif (joinType == null) {\n\t\t\tif (other.joinType != null)\n\t\t\t\treturn false;\n\t\t} else if (!joinType.equals(other.joinType))\n\t\t\treturn false;*/\n\t\tif (left == null) {\n\t\t\tif (other.left != null)\n\t\t\t\treturn false;\n\t\t} else if (!left.equals(other.left))\n\t\t\treturn false;\n\t\t/*if (lhsRhs == null) {\n\t\t\tif (other.lhsRhs != null)\n\t\t\t\treturn false;\n\t\t} else if (!lhsRhs.equals(other.lhsRhs))\n\t\t\treturn false;*/\n\t\tif (operator == null) {\n\t\t\tif (other.operator != null)\n\t\t\t\treturn false;\n\t\t} else if (!operator.equals(other.operator))\n\t\t\treturn false;\n\t\t/*if (queryIndex != other.queryIndex)\n\t\t\treturn false;\n\t\tif (queryType != other.queryType)\n\t\t\treturn false;*/\n\t\tif (right == null) {\n\t\t\tif (other.right != null)\n\t\t\t\treturn false;\n\t\t} else if (!right.equals(other.right))\n\t\t\treturn false;\n\t\t/*if (strConst == null) {\n\t\t\tif (other.strConst != null)\n\t\t\t\treturn false;\n\t\t} else if (!strConst.equals(other.strConst))\n\t\t\treturn false;\n\t\tif (subQueryConds == null) {\n\t\t\tif (other.subQueryConds != null)\n\t\t\t\treturn false;\n\t\t} else if (!subQueryConds.equals(other.subQueryConds))\n\t\t\treturn false;*/\n\t\tif (table == null) {\n\t\t\tif (other.table != null)\n\t\t\t\treturn false;\n\t\t} else if (!table.equals(other.table))\n\t\t\treturn false;\n\t\t/*if (tableAlias == null) {\n\t\t\tif (other.tableAlias != null)\n\t\t\t\treturn false;\n\t\t} else if (!tableAlias.equals(other.tableAlias))\n\t\t\treturn false;*/\n\t\tif (tableNameNo == null) {\n\t\t\tif (other.tableNameNo != null)\n\t\t\t\treturn false;\n\t\t} else if (!tableNameNo.equals(other.tableNameNo))\n\t\t\treturn false;\n\t\t/*if (type == null) {\n\t\t\tif (other.type != null)\n\t\t\t\treturn false;\n\t\t} else if (!type.equals(other.type))\n\t\t\treturn false;*/\n\t\treturn true;\n\t}", "title": "" }, { "docid": "84521f968929546148b471de928a5035", "score": "0.44033927", "text": "public static boolean isOrNode(CommonTree node)\r\n {\r\n return node.getText().equals(ASTConstants.OR_TOKEN);\r\n }", "title": "" }, { "docid": "946221a8fd8f033aded82c2941ae2e14", "score": "0.44017184", "text": "boolean isOnSameBranch(Node other) {\n return isAncestorOf(other) || other.isAncestorOf(this);\n }", "title": "" }, { "docid": "19f05891d9101982ba2512edb9284350", "score": "0.4397222", "text": "public boolean implies( RexNode first, RexNode second ) {\n // Validation\n if ( !validate( first, second ) ) {\n return false;\n }\n\n if ( log.isDebugEnabled() ) {\n log.debug( \"Checking if {} => {}\", first.toString(), second.toString() );\n }\n\n // Get DNF\n RexNode firstDnf = RexUtil.toDnf( builder, first );\n RexNode secondDnf = RexUtil.toDnf( builder, second );\n\n // Check Trivial Cases\n if ( firstDnf.isAlwaysFalse() || secondDnf.isAlwaysTrue() ) {\n return true;\n }\n\n // Decompose DNF into a list of conditions, each of which is a conjunction.\n // For example,\n // (x > 10 AND y > 30) OR (z > 90)\n // is converted to list of 2 conditions:\n // (x > 10 AND y > 30)\n // z > 90\n //\n // Similarly, decompose CNF into a list of conditions, each of which is a disjunction.\n List<RexNode> firsts = AlgOptUtil.disjunctions( firstDnf );\n List<RexNode> seconds = AlgOptUtil.disjunctions( secondDnf );\n\n for ( RexNode f : firsts ) {\n // Check if f implies at least one of the conjunctions in list secondDnfs.\n // If f could not imply even one conjunction in secondDnfs, then final implication may be false.\n if ( !impliesAny( f, seconds ) ) {\n if ( log.isDebugEnabled() ) {\n log.debug( \"{} does not imply {}\", first, second );\n }\n return false;\n }\n }\n\n if ( log.isDebugEnabled() ) {\n log.debug( \"{} implies {}\", first, second );\n }\n return true;\n }", "title": "" }, { "docid": "f5736f669fc90570db186cea22cd4ec4", "score": "0.43930674", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\n\t\tNode other = (Node) obj;\n\t\tif (animalList == null) {\n\t\t\tif (other.animalList != null)\n\t\t\t\treturn false;\n\t\t}\n\t\tif (animalList.size() != other.animalList.size())\n\t\t\treturn false;\n\n\t\tint numMatched = 0; // a variable to hold the number of animals that were matched in both arrayLists\n\n\t\t// compare the animals in both lists, if they have the same name but diff\n\t\t// positions return false\n\t\tfor (Piece p : animalList) {\n\t\t\tfor (Piece p2 : other.animalList) {\n\t\t\t\tif (p.toString().equals(p2.toString())) {\n\t\t\t\t\tif (!p.equals(p2)) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnumMatched++;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (numMatched != animalList.size())\n\t\t\treturn false; // if not the same in each\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "dc5a6e501eb14572f30d440e855e84b3", "score": "0.43813473", "text": "boolean nonDupStarDyad(Dyad dy, TreeMap bioDyads) {\n if (dy.pcString.indexOf(\"*\") == -1) {\n return false;\n }\n Integer altSerial = new Integer(dy.alter.serialNmbr);\n if (bioDyads.get(altSerial) == null\n || !((ArrayList<Object>) bioDyads.get(altSerial)).contains(dy.kinTerm)) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "4a126febd8da1151f9977ed396348bb3", "score": "0.4380669", "text": "public boolean isGraphlet() {\n\t\tSet<Integer> done = new HashSet<Integer>();\n\t\tSortedSet<Integer> todo = new TreeSet<Integer>();\n\t\ttodo.add(0);\n\t\twhile (!todo.isEmpty()) {\n\t\t\tint i = todo.first();\n\t\t\ttodo.remove(i);\n\t\t\tdone.add(i);\n\t\t\tfor (int j = 0; j < matrix.length; j++) {\n\t\t\t\tif (i == j)\n\t\t\t\t\tcontinue;\n\t\t\t\tif (matrix[i][j]) {\n\t\t\t\t\tif (!done.contains(j))\n\t\t\t\t\t\ttodo.add(j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn done.size() == matrix.length;\n\t}", "title": "" }, { "docid": "ca27df8752bc23230344720b80de7015", "score": "0.4363344", "text": "public static boolean equivalentRanges(List<GenomeRange> listOne,\n List<GenomeRange> listTwo) {\n if (listOne.size() != listTwo.size()) {\n return false;\n }\n Collections.sort(listOne);\n Collections.sort(listTwo);\n int index = 0;\n for (GenomeRange range : listOne) {\n if (!range.isSameInterval(listTwo.get(index++))) {\n return false;\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "c53f5cd7ea1c125016701408210562ae", "score": "0.4363301", "text": "private boolean evaluateConnection(DList list){\r\n\t\tDList list2 = new DList();\r\n\t\tDListNode node = list.front();\r\n\t\twhile(node.hasNext()){\r\n\t\t\tlist2.insertEnd(node.getChip());\r\n\t\t\tif (list2.getSize() >2){\r\n\t\t\t\tif(checkXCoordinate(list2)){\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}else if (checkYCoordinate(list2)){\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}else if (checkXYCoordinate(list2)){\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tlist2.removeFront();\r\n\t\t\t}\r\n\t\t\tnode = (DListNode) node.next();\r\n\t\t}\r\n\t\tlist2.insertEnd(node.getChip());\r\n\t\tif (list2.getSize() >2){\r\n\t\t\tif(checkXCoordinate(list2)){\r\n\t\t\t\treturn true;\r\n\t\t\t}else if (checkYCoordinate(list2)){\r\n\t\t\t\treturn true;\r\n\t\t\t}else if (checkXYCoordinate(list2)){\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\tlist2.removeFront();\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0829c019c89d8fa3419217734092a9f0", "score": "0.43522277", "text": "public boolean isOperator(long discordId) {\n\t\tfor (long id : config.getOperators()) {\n\t\t\tif (id == discordId) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "1235fee153adb0f69a2aeea5f6335a3f", "score": "0.43509683", "text": "boolean IsNinC(State n, ArrayList<State> C){\n for(State stateC: C) {\n if ((stateC.currentCity.equals(n.currentCity)) && (stateC.tasksToDeliver.equals(n.tasksToDeliver)) && (stateC.tasksAvailable.equals(n.tasksAvailable))) {\n //System.out.println(\"IsNInC : true\");\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "f45a66e7eec72a9c61b0fca20f921d39", "score": "0.4346486", "text": "public boolean areNeighbors(int node1, int node2) {\n\tif ((0 <= node1) && (node1 < numNodes) && (0 <= node2) && (node2 < numNodes)) {\n\t List neighs = adjList.get(node1);\n\t return neighs.contains(node2);\n\t}\n\treturn false;\n }", "title": "" }, { "docid": "f483a9c7f02b4baed85b690b83f5c83a", "score": "0.4344995", "text": "public static <E> boolean judge(Map<Vertex<E>, List<Vertex<E>>> graph){\n\t\tMap<Vertex<E>, Integer> neighborsHasCheckedIndex = new HashMap<Vertex<E>, Integer>();\t//record index of next neighbor to visit.\n\t\t//initialize neighborsHasChecked map\n\t\tfor (Vertex<E> ver: graph.keySet()) {\n\t\t\tver.reset();\n\t\t\tneighborsHasCheckedIndex.put(ver, 0);\n\t\t}\n\t\tStack<Vertex<E>> stack = new Stack<Vertex<E>>();\n\t\tfor (Vertex<E> u: graph.keySet()) {\n\t\t\tstack.clear();\n\t\t\tif(u.color == COLOR.WHITE){\n\t\t\t\tu.color = COLOR.GREY;\n\t\t\t\tstack.push(u);\n\t\t\t\twhile(!stack.isEmpty()){\n\t\t\t\t\tVertex<E> next = null;\n\t\t\t\t\t\n\t\t\t\t\tint neighborIndex = neighborsHasCheckedIndex.get(stack.peek());\n\t\t\t\t\twhile(neighborIndex < graph.get(stack.peek()).size()){\n\t\t\t\t\t\tVertex<E> neighbor = graph.get(stack.peek()).get(neighborIndex);\n\t\t\t\t\t\tif(neighbor.color == COLOR.WHITE){\n\t\t\t\t\t\t\tneighborsHasCheckedIndex.put(stack.peek(), ++ neighborIndex);\n\t\t\t\t\t\t\tnext = neighbor;\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\tif(stack.peek().equals(neighbor) //special case: when there is an edge point to self.\n\t\t\t\t\t\t\t\t\t|| ! stack.peek().π.equals(neighbor))\t//Not an edge connect descendant to ancestor\n\t\t\t\t\t\t\t\treturn true;\t//got a NEW neighbor which is grey, Graph is cyclic.\n\t\t\t\t\t\t\tneighborsHasCheckedIndex.put(stack.peek(), ++ neighborIndex);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(next != null){\t//keep on search Neighbor.\n\t\t\t\t\t\tnext.π = stack.peek();\n\t\t\t\t\t\tnext.color = COLOR.GREY;\n\t\t\t\t\t\tstack.push(next);\n\t\t\t\t\t}else{\t//no more Neighbor, go back.\n\t\t\t\t\t\tnext = stack.pop();\n\t\t\t\t\t\tnext.color = COLOR.BLACK;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3bd0bde6c4af1e986c815062d32da907", "score": "0.43290365", "text": "@Override\r\n\tpublic boolean isNeighbour(AbstractPolygon otherPolygon)\r\n\t{\r\n\t\tfor (Edge e : this.edges)\r\n\t\t\tfor (Edge eo : otherPolygon.getEdges())\r\n\t\t\t\tif (e == eo && e != null)\r\n\t\t\t\t\treturn true;\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "d7838a8850623befd12fd5e6bcc2c521", "score": "0.43279332", "text": "public boolean percolates() {\n \t\treturn weightedUnion.connected(first, last);\n }", "title": "" }, { "docid": "57f72af670ec843ac7c9900f23dc84ac", "score": "0.432634", "text": "void generateconjunctionnodes() {\n\tVector constraints=state.vConstraints;\n\t// Constructs conjunction nodes\n\tfor(int i=0;i<constraints.size();i++) {\n\t Constraint c=(Constraint)constraints.get(i);\n\t DNFConstraint dnf=c.dnfconstraint;\n\t for(int j=0;j<dnf.size();j++) {\n\t\tif (Compiler.removeconj.contains(new String(i+\",\"+j)))\n\t\t continue;\n\n\t\tTermNode tn=new TermNode(c,dnf.get(j));\n\t\tGraphNode gn=new GraphNode(\"Conj\"+i+\"A\"+j,\n\t\t\t\t\t \"Conj (\"+i+\",\"+j+\") \"+dnf.get(j).name()\n\t\t\t\t\t ,tn);\n\t\tgn.setOption(conjoption);\n\t\tconjunctions.add(gn);\n\t\tif (!conjunctionmap.containsKey(c))\n\t\t conjunctionmap.put(c,new HashSet());\n\t\t((Set)conjunctionmap.get(c)).add(gn);\n\t\tconjtonodemap.put(dnf.get(j),gn);\n\t }\n\t // Construct quantifier \"conjunction\" nodes\n\t for(int j=0;j<c.numQuantifiers();j++) {\n\t\tif (Compiler.removeconj.contains(new String(i+\",\"+(j+constraints.size()))))\n\t\t continue;\n\t\tQuantifier q=c.getQuantifier(j);\n\t\tif (q instanceof SetQuantifier) {\n\t\t SetQuantifier sq=(SetQuantifier)q;\n\t\t VarExpr ve=new VarExpr(sq.getVar());\n\t\t InclusionPredicate ip=new InclusionPredicate(ve,new SetExpr(sq.getSet()));\n\t\t DNFConstraint dconst=new DNFConstraint(ip);\n\t\t dconst=dconst.not();\n\t\t TermNode tn=new TermNode(c,dconst.get(0));\n\t\t tn.setquantifiernode();\n\t\t GraphNode gn=new GraphNode(\"Conj\"+i+\"AQ\"+(j+constraints.size()),\n\t\t\t\t\t \"Conj (\"+i+\",\"+(j+constraints.size())+\") \"+dconst.get(0).name()\n\t\t\t\t\t ,tn);\n\t\t gn.setOption(conjoption);\n\t\t conjunctions.add(gn);\n\t\t if (!conjunctionmap.containsKey(c))\n\t\t\tconjunctionmap.put(c,new HashSet());\n\t\t ((Set)conjunctionmap.get(c)).add(gn);\n\t\t conjtonodemap.put(dconst.get(0),gn);\n\n\t\t} else if (q instanceof RelationQuantifier) {\n\t\t RelationQuantifier rq=(RelationQuantifier)q;\n\t\t VarExpr ve=new VarExpr(rq.y);\n\t\t InclusionPredicate ip=new InclusionPredicate(ve,new ImageSetExpr(rq.x,rq.getRelation()));\n\t\t DNFConstraint dconst=new DNFConstraint(ip);\n\t\t dconst=dconst.not();\n\t\t TermNode tn=new TermNode(c,dconst.get(0));\n\t\t tn.setquantifiernode();\n\t\t GraphNode gn=new GraphNode(\"Conj\"+i+\"AQ\"+(j+constraints.size()),\n\t\t\t\t\t \"Conj (\"+i+\",\"+(j+constraints.size())+\") \"+dconst.get(0).name()\n\t\t\t\t\t ,tn);\n\t\t gn.setOption(conjoption);\n\t\t conjunctions.add(gn);\n\t\t if (!conjunctionmap.containsKey(c))\n\t\t\tconjunctionmap.put(c,new HashSet());\n\t\t ((Set)conjunctionmap.get(c)).add(gn);\n\t\t conjtonodemap.put(dconst.get(0),gn);\n\t\t}\n\t }\n\t}\n }", "title": "" }, { "docid": "e80f23a1ee1bd0165bb68bf21c787882", "score": "0.43254027", "text": "private boolean isDualFeasible() {\n\t\t// check that all edges have >= 0 reduced cost\n\t\tfor ( int i = 0; i < N; i++ ) {\n\t\t\tfor ( int j = 0; j < N; j++ ) {\n\t\t\t\tif ( reducedCost( i, j ) < 0 ) {\n\t\t\t\t\tStdOut.println( \"Dual variables are not feasible\" );\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "d1ae6ab73e96a3dea8de6e7ff707be20", "score": "0.43189412", "text": "private boolean isConnected(int p, int q)\n {\n return unionFind.find(p) == unionFind.find(q);\n }", "title": "" }, { "docid": "b33a6a9c08bdef7ddd2e0fbc3bad11de", "score": "0.43174374", "text": "public boolean contains(String town, String state) {\n boolean found = false; // assume such station not found\n if (head != null) {\n Station current = head;\n while (current != null && !found) {\n if (current.town.equals(town) && current.state.equals(state)) {\n found = true;\n }\n current = current.next;\n }\n }\n return found;\n }", "title": "" }, { "docid": "e085cb5e587eb06004a7283eeb858179", "score": "0.4317024", "text": "public static boolean listOfLanguageCodesEquals(List<String> list1, List<String> list2) {\n\n if (list1.size() != list2.size()) {\n return false;\n }\n\n for (String code : list1) {\n if (!list2.contains(code)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "bd16c66939969583ba1ba5285724cf11", "score": "0.4316936", "text": "public boolean bridged(Cell other) {\n\n ArrayList<Cell> seen = new ArrayList<Cell>();\n ArrayList<Cell> worklist = new ArrayList<Cell>();\n seen.add(this);\n worklist.add(this);\n\n while (worklist.size() > 0) {\n\n Cell current = worklist.get(0);\n if (current.equals(other)) {\n return true;\n }\n if (current.left != null\n && current.color.equals(current.left.getColor())\n && !seen.contains(current.left)) {\n seen.add(current.left);\n worklist.add(current.left);\n }\n if (current.top != null\n && current.color.equals(current.top.getColor())\n && !seen.contains(current.top)) {\n seen.add(current.top);\n worklist.add(current.top);\n }\n if (current.right != null\n && current.color.equals(current.right.getColor())\n && !seen.contains(current.right)) {\n seen.add(current.right);\n worklist.add(current.right);\n }\n if (current.bottom != null\n && current.color.equals(current.bottom.getColor())\n && !seen.contains(current.bottom)) {\n seen.add(current.bottom);\n worklist.add(current.bottom);\n }\n worklist.remove(0);\n }\n\n return false;\n\n }", "title": "" }, { "docid": "b5da657b08b3263a801ccf65df154186", "score": "0.43159148", "text": "public static boolean areSimilar(Node n1, Node n2) {\nboolean count = false;\nif(n1.children.size() != n2.children.size())\n{\nreturn false;\n}\nelse\n{\nfor(int i=0 ;i< n1.children.size();i++)\n{\ncount = areSimilar(n1.children.get(i),n2.children.get(i));\nif(count == false)\n{\nreturn false;\n}\n}\n}\nreturn true;\n\n}", "title": "" }, { "docid": "c356b4b16a8edaa9e7555c15e7921bd9", "score": "0.4306849", "text": "public boolean isDisconnected(ArrayList<Reaction> reactionlist, ArrayList<Agent> allAgents) {\r\n\t\tBoolean reactionParticipation = false;\r\n\t\tBoolean memberOfComplexAgent = false;\r\n\t\tfor (Reaction r : reactionlist){\r\n\t\t\tif (r.getReactants().contains(this) || r.getProducts().contains(this))\r\n\t\t\t\treactionParticipation = true;\r\n\t\t}\r\n\t\tfor(Agent otherAgent : allAgents){\r\n\t\t\tif (otherAgent.getHasMember().contains(this))\r\n\t\t\t\tmemberOfComplexAgent = true;\r\n\t\t}\r\n\t\treturn (getDecreasedByAbundance().size() < 1 &&\r\n\t\t\t\tgetDecreasedByBioProcess().size() < 1 &&\r\n\t\t\t\tgetDecreasesAbundance().size() < 1 &&\r\n\t\t\t\tgetDecreasesBioProcess().size() < 1 &&\r\n\t\t\t\tgetIncreasedByAbundance().size() < 1 &&\r\n\t\t\t\tgetIncreasedByBioProcess().size() < 1 &&\r\n\t\t\t\tgetIncreasesAbundance().size() < 1 &&\r\n\t\t\t\tgetIncreasesBioProcess().size() < 1 &&\r\n\t\t\t\tgetIsBiomarkerForProcess().size() < 1 &&\r\n\t\t\t\tgetComponents().size() < 1 &&\r\n\t\t\t\tgetHasMember().size() < 1 &&\r\n\t\t\t\tgetTranslocations().size() < 1 &&\r\n\t\t\t\tgetActivities().size() < 1 &&\r\n\t\t\t\tgetIncludedIn().size() < 1 &&\r\n\t\t\t\tgetIncludes().size() < 1 &&\r\n\t\t\t\t!reactionParticipation &&\r\n\t\t\t\t!memberOfComplexAgent &&\r\n\t\t\t\t!connectedViaOntology );\r\n\t}", "title": "" }, { "docid": "c30f7b2735ade377536c2e654673325e", "score": "0.4303904", "text": "private boolean isEquivalent(JexlNode node, ASTJexlScript script) throws ParseException {\n ASTJexlScript nodeScript = getScript(node);\n return TreeEqualityVisitor.isEqual(nodeScript, script);\n }", "title": "" }, { "docid": "d6c1465b6484341055ea28db9d91704d", "score": "0.43036887", "text": "public boolean isNeighbor(char first, char next, char[][] board) {\n\t\tfor (int row = 0; row < board.length; row++) {\n\t\t\tfor (int col = 0; col < board[0].length; col++) {\n\t\t\t\tfor (int i = row - 1; i < row + 2 && i < board.length; i++) {\n\t\t\t\t\tfor (int j = col - 1; j < col + 2 && j < board[0].length; j++) {\n\t\t\t\t\t\tif (i >= 0 && j >= 0) {\n\t\t\t\t\t\t\tif (board[i][j] == next && board[row][col] == first) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3acb12ac373e3e75f1bda9068fadb455", "score": "0.43025953", "text": "public boolean pairIsDragonPair(Pair pair){\n List<String> dragons = new ArrayList<>();\n dragons.add(\"Red\");\n dragons.add(\"White\");\n dragons.add(\"Green\");\n\n return dragons.contains(pair.getFirstMember().getSuit().getIdentifier());\n }", "title": "" }, { "docid": "aeab10f4050feaae63d3e7910482e277", "score": "0.42954382", "text": "public static boolean check(DoublyLinkedList list) {\n if (list.isEmpty())\n return false;\n else if (list.getLeft().isEmpty() && list.getRight().isEmpty())\n return true;\n else if (list.getLeft().isEmpty())\n return !list.getPerson().getGender().equals(list.getRight().getPerson().getGender());\n else if (list.getRight().isEmpty())\n return !list.getPerson().getGender().equals(list.getLeft().getPerson().getGender());\n else\n return (!list.getPerson().getGender().equals(list.getRight().getPerson().getGender()) && !list.getPerson().getGender().equals(list.getLeft().getPerson().getGender()) );\n }", "title": "" }, { "docid": "3c25f67956b53ab37e6b81ba55a28e6d", "score": "0.4295211", "text": "public boolean containsNode(GermanCity node){\r\n return this.nodes.get(node.getLabel()) != null;\r\n }", "title": "" }, { "docid": "4017cc54ca1b775a8590824505f3edd2", "score": "0.42949888", "text": "private static boolean isParentOf(SyntacticItem parent, Expr child) {\n\t\tif (parent.equals(child)) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tfor (int i = 0; i != parent.size(); ++i) {\n\t\t\t\tSyntacticItem pChild = parent.get(i);\n\t\t\t\tif (pChild != null && isParentOf(pChild, child)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "a6fb2cf164582843baae36bb2f0a06c1", "score": "0.42913148", "text": "public boolean isParentNestorOrEQ(ClassDef potential){\n\t\treturn this.equals(potential) || isParentNestor(potential);\n\t}", "title": "" }, { "docid": "ab2d014ce533e794a2bc51c70b2a93fe", "score": "0.42891", "text": "public static boolean processExpressionNode(List master, ExpressionNode node) {\r\n \r\n String e = node.expression;\r\n \r\n // Don't do anything if this node has already been processed\r\n if(e.equals(\"||\") || e.equals(\"&&\")) {\r\n return false;\r\n }\r\n\r\n // Convert the String expression into left-operator-right form\r\n ParseLeftRightOpInfo pi = CodeParser.parseLogicConnector(e); \r\n\r\n // Don't do anything if this node is a leaf \r\n if(pi.right==null) {\r\n return false;\r\n }\r\n \r\n ExpressionNode nLeft = new ExpressionNode();\r\n ExpressionNode nRight = new ExpressionNode();\r\n \r\n nLeft.expression = pi.left;\r\n nLeft.connectedToLeft = true;\r\n nLeft.parent = node;\r\n \r\n nRight.expression = pi.right;\r\n nRight.connectedToLeft = false;\r\n nRight.parent = node;\r\n \r\n node.left = nLeft;\r\n node.right = nRight;\r\n \r\n node.expression = pi.operator;\r\n \r\n master.add(nLeft);\r\n master.add(nRight);\r\n \r\n return true;\r\n \r\n }", "title": "" }, { "docid": "6097058f6441becab60882a99ef78397", "score": "0.42863008", "text": "public static boolean dominates(final Chromosome competitor1, final Chromosome competitor2) {\n \n /**\n * getting the list of configured objectives from Configuration.java\n */\n List<IObjectiveFunction> objectives = Configuration.getObjectives();\n \n /**\n * checks the negation of the predicate [none of the values of objective functions using competitor1\n * is less than values of objective functions using competitor2] meaning that at least one of the values\n * of the objective functions using competitor1 is less than the values of the objective functions using\n * competitor2, hence returning false as competitor1 does not dominate competitor2\n */\n if (!objectives.stream().noneMatch((objective) -> (objective.objectiveFunction(competitor1) < objective.objectiveFunction(competitor2)))) return false;\n \n /**\n * returns the value of the predicate [at least one of the values of the objective functions using\n * competitor1 is greater than the corresponding value of the objective function using competitor2]\n */\n return objectives.stream().anyMatch((objective) -> (objective.objectiveFunction(competitor1) > objective.objectiveFunction(competitor2)));\n }", "title": "" }, { "docid": "61f88e18953a1a78446e729c24d71d26", "score": "0.4278162", "text": "R visitOr(List<BooleanFormula> operands);", "title": "" }, { "docid": "b54f9b6afc1753ac71ed3c20789c86b8", "score": "0.42702273", "text": "private static boolean isDominatedChromosomesEmpty(List<Chromosome> front) {\n return front.stream().anyMatch((chromosome) -> (!chromosome.getDominatedChromosomes().isEmpty()));\n }", "title": "" } ]
f270cf2eaf31cd200f94044cacfc13dd
check if item exists and if it has enough stock
[ { "docid": "60d0c3a7418d57f33b8f22248323cb99", "score": "0.0", "text": "public ResponseEntity<HttpStatus> addItemsToCart(AddItemModelView itemModelView) {\n Optional<Item> optionalItem = itemRepository.findById(itemModelView.getIdItem());\n if (!optionalItem.isPresent()) {\n return new ResponseEntity<>(HttpStatus.NO_CONTENT);\n }\n Item item = optionalItem.get();\n int remainingQuantity = item.getQuantity() - itemModelView.getQuantity();\n\n if (remainingQuantity < 0) {\n return new ResponseEntity<>(HttpStatus.NOT_ACCEPTABLE);\n }\n\n // check if User has Order with isCheckedOut status set to false\n // if not create new Order for the User\n User user = userRepository.findByUsername(itemModelView.getUsername());\n double totalCost = itemModelView.getQuantity() * itemModelView.getPrice();\n\n if (userService.returnActiveOrder(user.getId()) == null) {\n OrdersDto ordersDto = new OrdersDto(user, totalCost, new Date(), false);\n Orders order = ordersMapper.toEntity(ordersDto);\n ordersRepository.save(order);\n\n item.setQuantity(item.getQuantity() - itemModelView.getQuantity());\n itemRepository.save(item);\n\n // create OrderDetails\n OrderDetailsDto orderDetailsDto = new OrderDetailsDto(order, item, itemModelView.getQuantity(),\n itemModelView.getPrice(), totalCost);\n orderDetailsRepository.save(orderDetailsMapper.toEntity(orderDetailsDto));\n\n return new ResponseEntity<>(HttpStatus.OK);\n }\n\n // if user has active order -> add Item to that order\n Orders order = userService.returnActiveOrder(user.getId());\n\n OrderDetailsDto orderDetailsDto = new OrderDetailsDto(order, item, itemModelView.getQuantity(),\n itemModelView.getPrice(), totalCost);\n orderDetailsRepository.save(orderDetailsMapper.toEntity(orderDetailsDto));\n\n order.setTotalCost(order.getTotalCost() + totalCost);\n ordersRepository.save(order);\n\n item.setQuantity(item.getQuantity() - itemModelView.getQuantity());\n itemRepository.save(item);\n\n return new ResponseEntity<>(HttpStatus.OK);\n }", "title": "" } ]
[ { "docid": "dece0c00dd5b368828fb5e66278c8917", "score": "0.78676647", "text": "public boolean hasSufficientStock(Item item) {\n\t\treturn true; //to keep it simple\n\t}", "title": "" }, { "docid": "7d26b205af6788b15d3e0e0c7aa08ab8", "score": "0.7705429", "text": "public boolean hasItemStock() {\n return cacheHasKey(CacheKey.itemStock);\n }", "title": "" }, { "docid": "122d3460bf0de030dc21d35047b530dc", "score": "0.7435076", "text": "public int reserveStock(String item, int quantity) {\n StockItem inStock = list.getOrDefault(item, null);\n if (inStock != null && quantity > 0) { // timbuchalka's code\n // if (inStock != null && inStock.availableStock() >= quantity && quantity > 0) { // DEBUG ERROR: not really debug error, but to align with unreserveStock() where we found an error before, ==> verdict: we are already checking for availableStock() here and also in the StockItem.reserveStock(), so redundant code, but i retained it like that, coz if u reserveStock() directly to StockItem, they still need to do the checking. unless the only way to reserveStock is to call the method using this StockList, then ok, good. but if not, u better allow StockItem to protect itself. and ALSO I THINK THE CHECKING SHUD BE THE PRIORITY OF STOCKITEM, NOT THE STOCKLIST, BEC STOCKITEM KNOWS WHAT SHOULD BE ITS AVAILABLE STOCK NOT SOTCKLIST. SO OK WE ARE GONNA CHANGE THE CODE TO PUT THE FUNCTIONALITY TO STOCKITEM ONLY. NO MATTER WHAT, THE ERROR WUD ALWAYS BE CAUGHT BY STOCKITEM SO ITS ALRIGHT\n return inStock.reserveStock(quantity);\n }\n return 0;\n\n\n }", "title": "" }, { "docid": "60eeff2cd482d827d5db7d49341a9551", "score": "0.7303408", "text": "private boolean isStocked(FoodItem item)\n\t{\n\t\tfor (Row[] column : machine.getCurrentLayout().getRows())\n\t\t{\n\t\t\tfor (Row row : column)\n\t\t\t{\n\t\t\t\tif (row != null && row.getRemainingQuantity() > 0 && row.getProduct().equals(item))\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a322d8a8d912aeb0e762d7c537243ed3", "score": "0.7241725", "text": "public boolean isNotNullItemStock() {\n return cacheValueIsNotNull(CacheKey.itemStock);\n }", "title": "" }, { "docid": "9c945422b7c47926292b97b140c8886e", "score": "0.7001856", "text": "boolean hasQty();", "title": "" }, { "docid": "0e694bbdd95d6eb08f83c8121f8f2c4d", "score": "0.69662035", "text": "boolean hasBoughtItem(Item item);", "title": "" }, { "docid": "8d841200e5db6c29c0b640783c6c89e9", "score": "0.6921205", "text": "private boolean shopHasItem(int itemId) {\n\t for (ShopItem aShopStock : shopStock) {\n\t\t if (aShopStock.id == itemId) {\n\t\t\t return true;\n\t\t }\n\t }\n return false;\n }", "title": "" }, { "docid": "f3833a253b7bcf2562201f7210a1fe18", "score": "0.6758078", "text": "private boolean checkIfStockGreaterThanZero(String upc) throws SQLException {\n\t\t// Create a SQL Statement object\n\t\tStatement stmt = con.createStatement();\n\t\tResultSet rs = stmt.executeQuery(\n\t\t\t\t\"SELECT * \"\n\t\t\t+\t\"FROM item i \"\n\t\t\t+ \t\"WHERE upc = '\" + upc + \"'\"\n\t\t\t);\n\t\t\n\t\tBoolean stockExists = false;\n\t\twhile(rs.next())\n\t\t{\n\t\t\t// Retrieve information from the query\n\t\t\tint stock = rs.getInt(\"stock\");\n\t\t\tif (stock > 0) {\n\t\t\t\tstockExists = true;\n\t\t\t}\n\t\t}\n\t\tstmt.close();\n\t\treturn stockExists;\n\t}", "title": "" }, { "docid": "c56d5bff7b23ef07d8ba8203ef31851d", "score": "0.67536247", "text": "public int unreserveStock(String item, int quantity) {\n StockItem inStock = list.getOrDefault(item, null);\n if (inStock != null && quantity > 0) { // timbuchalka's code\n // if (inStock != null && inStock.availableStock() >= quantity && quantity > 0) { // DEBUG ERROR: scenario carQuantity = 2; reserved = 2; available = 0; so its wrong to use availableStock for comparison. also since u already checked from ur basket that u r allowed to deduct this number, then there shudnt really be any more checking.\n return inStock.unreserveStock(quantity);\n }\n return 0;\n }", "title": "" }, { "docid": "cc2e5c844352e24d89db402173abd565", "score": "0.67263114", "text": "@Override\n\tpublic boolean isItemInStock(int itemId, int productId) throws DataAccessException {\n\t\treturn (handMadeMapper.getQuantity(itemId, productId) > 0);\n\t}", "title": "" }, { "docid": "c36af09eb21edec88528a2d967ea3d68", "score": "0.6663122", "text": "boolean hasStockYn();", "title": "" }, { "docid": "33dbd96821316cf8ed969bd1b25963a7", "score": "0.6592448", "text": "public boolean IsStockExist(String symbol);", "title": "" }, { "docid": "48dbcc076a4208dc721103c7321c219b", "score": "0.65701395", "text": "public void dispenseItem()\n {\n if (ItemInStock)\n {\n nTotalInventory = nTotalInventory - 1;\n if (nTotalInventory == 0) { ItemInStock = false; }\n } else { System.out.println(\"Item is out of stock\"); }\n }", "title": "" }, { "docid": "fb7b1a403b08d694984e71c1ee49ce9d", "score": "0.65259814", "text": "boolean checkMarketDone(){\n if(availSellerList.size() == 0 || availBuyerList.size() == 0){\n return true;\n }\n int lowestSellingPrice = availSellerList.get(0).desiredSellingPrice;\n int highestBuyingPrice = availBuyerList.get(availBuyerList.size() - 1).desiredBuyingPrice;\n\n if(lowestSellingPrice >= highestBuyingPrice){\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "caf348838541dacc143fafcae186d950", "score": "0.6490537", "text": "boolean hasWithdrawItems();", "title": "" }, { "docid": "0a6532dfd213caf8b8733bc7789d9acb", "score": "0.6478037", "text": "public boolean addTransactionItem(String p){\r\n TransactionItem nti = new TransactionItem();\r\n String productId = \"\";\r\n try{\r\n productId = itemHandler.showSearchItemMenu(p).getVal(Item.ID).toString();\r\n }catch(NullPointerException npe){\r\n System.out.println(\"Item tidak ditemukan!\");\r\n productId = \"\";\r\n return true;\r\n }\r\n if(!productId.equals(\"\")){\r\n nti.setProductId(productId);\r\n int qty;\r\n boolean valid = false;\r\n do{\r\n System.out.println(\"Masukan jumlah beli: \");\r\n s = new Scanner(System.in);\r\n qty = s.nextInt();\r\n valid = ((int)this.itemHandler.items.getItem(Item.ID, productId).firstElement().getVal(Item.STOCK)) - qty > 0;\r\n if(!valid){\r\n System.out.println(\"Stock kurang!\");\r\n }\r\n }while(!valid);\r\n nti.setQty(qty);\r\n currentTransaction.addItem(nti);\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "a8c37131508d922f1f0363634a0288d1", "score": "0.64506894", "text": "public boolean checkWithAvaiable()\n {\n // Cart newCart = new Cart();\n boolean flag = true;\n if(getCart().getList().size() > 0)\n {\n for (int i=0; i<getCart().getList().size(); i++)\n {\n if(getCart().getList().get(i).getQuantity() > \n getCart().getList().get(i).getProduct().getAmount())\n {\n showPopup(\"Order failed! You have chose items more than the available\");\n flag = false;\n break;\n }\n }\n if (flag)\n {\n showCheckout();\n }\n }\n else\n {\n showPopup(\"Sorry. No items in the cart!!!!!!!!\");\n flag = false;\n }\n return flag;\n }", "title": "" }, { "docid": "e76323e999f32237e5e79d4b9e32166a", "score": "0.6409084", "text": "private int isStockExists(String symbol){\r\n\t\tfor (int i=0 ; i<this.portfolioSize ; i++){\r\n\t\t\tif (this.stocksStatus[i].getSymbol().equalsIgnoreCase(symbol)){\r\n\t\t\t\treturn i;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn -1;\r\n\t}", "title": "" }, { "docid": "811be1607074aa5765f8e5fe951e2bd0", "score": "0.63897496", "text": "public int availableStock() {\n return quantity-reserved;\n }", "title": "" }, { "docid": "8e14615d8e8dc3d7a4555110f3fb3262", "score": "0.63878673", "text": "public double checkSold(){\n int lastIndex=this.bids.size()-ONEI;\n DateTime today= new DateTime();//get todays date\n //if if today is after the current bid and the bid amount is more than reserve +/- 5%\n if(today.isAfter(this.endDate) && bids.get(lastIndex).getBidAmount()>= (this.reserveAmount*.95)){\n this.qty-=bids.get(lastIndex).getBidQty();//reduce available quantity for bid\n this.qtySold+=bids.get(lastIndex).getBidQty(); //increase sold items \n }\n \n return this.calcCost(qtySold); //update fees\n }", "title": "" }, { "docid": "c64ed394fea1ee2600194c491f1345bd", "score": "0.6379385", "text": "public boolean hasItem()\n\t{\n\t\treturn !(getCurrentItem() == null);\n\t}", "title": "" }, { "docid": "4481bb73e944924a38bb708864a556d8", "score": "0.63306075", "text": "boolean hasFilledQty();", "title": "" }, { "docid": "deb1bfad9a1d514371c0017bdc9949c6", "score": "0.62841874", "text": "private boolean _is_inventory_low(){\n int empty_counter = 0;\n int low_inv_cntr = 0;\n\n for(Tray t : _tray_lists){\n switch (t.get_number_of_remaining_item()){\n case 0:\n empty_counter++;\n break;\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n low_inv_cntr++;\n break;\n default:\n } // END SWITCH\n } // END FOR\n\n return (empty_counter >= 3 || low_inv_cntr >= 6)? true: false;\n }", "title": "" }, { "docid": "92f132a16ff16038956dc2acfcc71aac", "score": "0.62542593", "text": "public boolean hasItem() {\n return hasAnItem;\n }", "title": "" }, { "docid": "8803ba8c870fd5edd9a68ef7fe3f1a6c", "score": "0.6226033", "text": "@Override\n public boolean isFullfilled(Entity entity ) {\n Inventory inv = entity.getInventory();\n if ( inv.containsItemByID( requiredID ) ) return true;\n else return false;\n }", "title": "" }, { "docid": "572cbcb7a9ef97641a34333d37378f1e", "score": "0.62096953", "text": "public boolean hasEmptyStock() {\n for (Stock stock : stocks) {\n if (stock.getQuantity() > 0) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "36460381029d7f17eb299923f1c81d13", "score": "0.6207349", "text": "public boolean addItem(Item item) {\n \n Item temp;\n for(int i = 0; i < inventory.length; i++) {\n temp = inventory[i];\n if(temp == null) {\n inventory[i] = item;\n return true;\n }\n else if(temp.itemID == item.itemID && temp.quantity < 100) {\n temp.quantity++;\n return true;\n }\n \n }\n return false;\n }", "title": "" }, { "docid": "b2f0d0278ebd4a08f87d11ae4c3cb4c3", "score": "0.6198569", "text": "private void checkIfItemExists(ZapposResult response, String productId, double originalPrice, String productUrl) {\n\n boolean checkWhetherDialogIsAlreadyCalled = false;\n List<Result> obtainedResults = response.getResults();\n\n\n for (int i = 0; i < obtainedResults.size(); i++) {\n\n\n //check whether the product exists and is cheaper on 6pm\n if (productId.equals(obtainedResults.get(i).getProductId())) {\n\n String price = obtainedResults.get(i).getPrice().substring(1);\n\n\n if (originalPrice > Double.parseDouble(price)) {\n\n showCompareDialog(true, Double.parseDouble(price), productUrl);\n checkWhetherDialogIsAlreadyCalled = true;\n break;\n }\n } else {\n\n }\n\n }\n //The product doesnt exist in 6pm\n if (checkWhetherDialogIsAlreadyCalled == false) {\n showCompareDialog(false, 0.0, productUrl);\n }\n\n }", "title": "" }, { "docid": "6ef231a6b1984042728f8404a718cbbb", "score": "0.61689615", "text": "public boolean itemExists(int index) {\n\t\tif(index < items.size()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "3b707fc5bbf5e0662c5d2b85201cb070", "score": "0.6161991", "text": "public boolean checkIfAddable(Resource resource, int quantity) {\n int x=0;\n int y=0;\n for (Map.Entry<Resource, Integer> iterator : shelves.entrySet()) {\n x+=iterator.getValue();\n if(iterator.getKey()==resource)y+=iterator.getValue();\n }\n if(quantity > 3)\n return false;\n if (shelves.size() == 3){\n if(!shelves.containsKey(resource)) return false;\n }\n if (shelves.containsKey(resource)) {\n // if key already present min value is 1, so max i could add is 2.\n //plus if quantity added is 2 but a resource with already value 2 exist return false anyway.\n if (quantity == 2 && (shelves.containsValue(3) || shelves.get(resource)+quantity > 3))\n return false;\n else if ((quantity == 1 && ((shelves.containsValue(2) && shelves.containsValue(3)))) ||(quantity == 1 && ((shelves.containsValue(2) && shelves.containsValue(1)))&& x==5 && y==1 ) || shelves.get(resource)+quantity > 3)\n return false;\n\n }\n if(quantity == 3 && shelves.containsValue(3)) return false;\n if(quantity == 2 && shelves.containsValue(2) && shelves.containsValue(3)) return false;\n if(quantity == 1 && shelves.containsValue(1) && shelves.containsValue(2) && shelves.containsValue(3)) return false;\n\n return true;\n\n\n }", "title": "" }, { "docid": "5d6bb0f7ae557d13bc108037cd66874e", "score": "0.61581105", "text": "public int tryToBuy(int itemId, int amount) {\n if(shopHasItem(itemId)) {\n for(int i = 0; i < shopStock.size();)\n if(shopStock.get(i).id == itemId) {\n if(shopStock.get(i).currentAmount > amount) {\n int temp = shopStock.get(i).currentAmount;\n shopStock.remove(i);\n return temp;\n } else {\n shopStock.set(i, new ShopItem(itemId, shopStock.get(i).currentAmount - amount));\n return amount;\n }\n } else {\n return 0;\n }\n }\n return 0;\n }", "title": "" }, { "docid": "e54b693138c7c63d7d371d9435c3672b", "score": "0.6154014", "text": "public boolean hasStockCount() {\n return cacheHasKey(CacheKey.stockCount);\n }", "title": "" }, { "docid": "6134a40df8d3907872efb3784b318f44", "score": "0.6127628", "text": "@Test\n void RemovedStockIsUnavailable() {\n String mockProductCode = this.mockProductCode + \"RemovedStockTest\";\n postStockIncrement(mockProductCode, new StockIncrement(mockStoreCode, 1));\n\n // When we retrieve the id of the stock item\n ResponseEntity<StockItems> stockEntity = getStockItems(mockProductCode);\n Collection<StockItem> stockItems = IterableUtil.toCollection(stockEntity.getBody().getStockItems());\n Long stockItemId = stockItems.stream().findFirst().get().getId();\n\n // And we remove that stock item by its id\n ResponseEntity<Void> removal = deleteStockItem(stockItemId);\n\n // Then the removal should have been successful\n assert removal.getStatusCode() == HttpStatus.OK;\n\n // And the product no longer available\n Collection<StockItem> newStockItems = getStockItemsCollection(mockProductCode);\n assert newStockItems.size() == 0;\n\n StockTotals stockTotals = getStockTotalsBody(mockProductCode);\n assert stockTotals.getAvailable() == 0;\n assert stockTotals.getReserved() == 0;\n }", "title": "" }, { "docid": "cf0909b11a462005e11744cbdbfd9e01", "score": "0.6116971", "text": "boolean hasItem(String name);", "title": "" }, { "docid": "7c676be8714896068e27a383f3779890", "score": "0.6116872", "text": "public int alreadyExists(FoodItem item) {\n\t\treturn binarySearch(item.getItemCode(), 0, inventory.size()-1);\n\t}", "title": "" }, { "docid": "998eff034f95efe1cf41b6a17ee29abf", "score": "0.60934556", "text": "public static boolean inventoryHasSpace(EntityPlayer player, ItemStack item) {\n\t\tfor (int x = 35; x >= 0; --x) {\n\t\t\tItemStack slot = player.inventory.getStackInSlot(x);\n\t\t\tif (slot != null) {\n\t\t\t\tif (slot.getItem().equals(item.getItem())) {\n\t\t\t\t\tint max = slot.getMaxStackSize();\n\t\t\t\t\tint slotSize = slot.stackSize;\n\t\t\t\t\tint itemSize = item.stackSize;\n\t\t\t\t\t\n\t\t\t\t\tif ((itemSize + slotSize) <= max) {\n\t\t\t\t\t\tSystem.out.println(\"Unfilled compatable stack found; adding to it.\");\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Emtpy slot found. How useful! ID: \" + x);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f0a695c9bd4dbac7a66339cb9e9f146f", "score": "0.60662276", "text": "public boolean CheckItemExist(Integer ItemID) {\r\n String searchQuery = \"SELECT * FROM ItemsCart WHERE ItemID = \" + ItemID;\r\n Cursor cursor = ourDatabase.rawQuery(searchQuery, null);\r\n if (cursor.getCount() <= 0) {\r\n cursor.close();\r\n return false;\r\n }\r\n cursor.close();\r\n return true;\r\n }", "title": "" }, { "docid": "a4370b622ee776aee8236040e541e30d", "score": "0.6061903", "text": "void checkEquippedItem(IEquipableItem item);", "title": "" }, { "docid": "a4370b622ee776aee8236040e541e30d", "score": "0.6061903", "text": "void checkEquippedItem(IEquipableItem item);", "title": "" }, { "docid": "c9842b3e6e3c53045666563b5a972dbc", "score": "0.60540026", "text": "@Test\n void inRange() throws Exception {\n shop.addNewItem(\"JBL Bluetooth Headphones 220\", 10, 4000);\n cart.clear();\n int quantity = random.nextInt(10) + 1;\n cart.put(\"JBL Bluetooth Headphones 220\", quantity);\n assertEquals(4000 * quantity, shop.buyItem(cart));\n }", "title": "" }, { "docid": "bd2cc0ef4f9d002ff6761eeb4a9c98c5", "score": "0.604342", "text": "protected void buyItem(String item) {\n int loc = MyInventory.itemLoc(item);//Check for item existance\n if(loc == -1 || MyInventory.emptyLocation(loc)) {\n System.out.println(\"Sorry, I don't have that item\");\n return;\n }\n //get price\n int price = MyInventory.getPrice(loc);\n int customermoney = Monies.getCustomerMoney();\n //Compare price\n if(price > customermoney) {\n System.out.println(\"You don't enter enough money!\");\n }else {\n MyInventory.buy(loc);\n Monies.buy(price);\n Monies.returnCustomerMoney();\n }\n }", "title": "" }, { "docid": "b57c3ce4d5f4e6e9267864b6a41c6451", "score": "0.60288316", "text": "@Test\n void ReservedStockIsEventuallyCleaned() {\n String mockProductCode = this.mockProductCode + \"PruneReservations\";\n postStockIncrement(mockProductCode, new StockIncrement(mockStoreCode, 1));\n\n // When we retrieve the id of the stock item\n ResponseEntity<StockItems> stockEntity = getStockItems(mockProductCode);\n Collection<StockItem> stockItems = IterableUtil.toCollection(stockEntity.getBody().getStockItems());\n Long stockItemId = stockItems.stream().findFirst().get().getId();\n\n // And we reserve that item\n StockItemPatch stockItemPatch = new StockItemPatch();\n stockItemPatch.setReserved(true);\n patchStockItem(stockItemId, stockItemPatch);\n\n // And we then wait a while (sufficient for the given cleanup frequency/validity in test scope)\n try {\n Thread.sleep(2000);\n } catch (InterruptedException ie) {\n fail(\"Thread interrupted\");\n }\n\n // Then the stock should be available again\n StockTotals stockTotals = getStockTotalsBody(mockProductCode);\n assert stockTotals.getAvailable() == 1;\n assert stockTotals.getReserved() == 0;\n }", "title": "" }, { "docid": "9571228e89b2d0c95a97fa9b116a8835", "score": "0.6005949", "text": "@Override\n\tpublic <S extends Stock> boolean exists(Example<S> example) {\n\t\treturn repo.exists(example);\n\t}", "title": "" }, { "docid": "bddba1bc8fde963be0a2a25bd8e7da9d", "score": "0.6000912", "text": "private boolean isPossible(Beverage beverage) {\r\n Map<String, Integer> recipe = beverage.getRecipe();\r\n Set<String> ingredients = recipe.keySet();\r\n for (String ingredient: ingredients) {\r\n if (storage.containsKey(ingredient)) {\r\n int stored_amount = storage.get(ingredient);\r\n if (stored_amount < recipe.get(ingredient)) {\r\n System.out.println(beverage.getName() + \" cannot be prepared because item \" + ingredient +\" is not sufficient\");\r\n return false;\r\n }\r\n }\r\n else {\r\n System.out.println(beverage.getName() + \" cannot be prepared because \"+ ingredient + \" is not available\");\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "e20acab7cfd01e704c2e03371b6dd260", "score": "0.5989421", "text": "private boolean shouldCheckInventory() {\n\t\treturn inventoryCheckTimer > inventoryCheckTime;\n\t}", "title": "" }, { "docid": "332921d97bc57e117f5c72117081bdb7", "score": "0.5954862", "text": "public static void Sellitem(Connection con) {\n //sells an item.\n String Part_ID = null;\n\n Scanner keyboard = new Scanner(System.in);\n System.out.println(\"Enter the model ID for the part you wish to sell.\");\n Part_ID = keyboard.next();\n if (Part_ID.contains(\"SYS-\")) {\n sellsystem(con, Part_ID);\n return;\n }\n try {\n Statement st = con.createStatement();\n ResultSet exsist = (st.executeQuery(\"SELECT COUNT(*) model From parts where model SIMILAR TO '%\" + Part_ID + \"%';\"));\n exsist.next();\n System.out.println(exsist.getInt(1));\n if (exsist.getInt(1) == 1) {\n\n String query = \"UPDATE parts SET Stock = Stock-1 WHERE model SIMILAR TO '%\" + Part_ID + \"%';\";\n// System.out.println(\"sold \" + Part_ID);\n st.executeUpdate(query);\n System.out.println(\"Sold 1 x \" + Part_ID);\n } else if (exsist.getInt(1) > 1) {\n System.out.println(\"Multiple containing that string found in database\");\n } else {\n System.out.println(\"Part does not exsist in Database\");\n }\n\n } catch (SQLException e) {\n System.out.println(\"Part \"+Part_ID+\" is sold out!\");\n //e.printStackTrace();\n }\n }", "title": "" }, { "docid": "8222bb362cf6ccc2c1c6a06a01f4cf05", "score": "0.5936369", "text": "protected abstract boolean attemptSelling();", "title": "" }, { "docid": "38fd9ffdb967174daa40464950a7bd93", "score": "0.5913466", "text": "boolean hasLowPrice();", "title": "" }, { "docid": "6056c7e53198a22f58708eecbec86ad7", "score": "0.5913403", "text": "public void fixInventory(){\n List<Product> products = checkInventary();\n for (int i=0; i<products.size(); i++){\n for (int j=0; j<market.products.size(); j++){\n if (products.get(i).getName().equals(market.products.get(j).getName())){\n market.products.get(j).getAvailableQuantity().addAmount(products.get(i).getAvailableQuantity().getAmount());\n break;\n }\n }\n }\n }", "title": "" }, { "docid": "75dbc8d346521b58a7120750bf780fe6", "score": "0.59084815", "text": "public boolean checkWeight(ToBeStored item) {\r\n \r\n double newWeight = item.weight() + this.weight();\r\n \r\n if ( newWeight < this.maxWeight ) {\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "4eb44a0188e6e338a2238fb18cd7b08a", "score": "0.59084314", "text": "public boolean getBookStock(int bookid)\n {\n for (Books books :booksArrayList ) {\n if (books.getId() == bookid) {\n return books.getCurrentStock() > 0;\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "bc8bab2216dee5744bfbd76d791beeed", "score": "0.590319", "text": "public boolean isNotNullStockCount() {\n return cacheValueIsNotNull(CacheKey.stockCount);\n }", "title": "" }, { "docid": "a7ff9852f6f0d4fd9089fd305190acd7", "score": "0.59013706", "text": "public boolean checkUnitsInStock() {\n\t\tboolean isValid = false;\n\t\tDecimalFormat formatter = new DecimalFormat(\"#,##0\");\n\t\tformatter.setMaximumFractionDigits(0);\n\t\t\n\t\tInteger unitsInStock = parseInteger(this.unitsInStock.getText());\n\t\tif(unitsInStock == null) {\n\t\t\tsetFieldStyle(this.unitsInStock, \"Units in stock must be 0 or more and a whole number.\", INVALID_INPUT);\n\t\t} else {\n\t\t\tthis.unitsInStock.setText(formatter.format(unitsInStock));\n\t\t\tsetFieldStyle(this.unitsInStock, null, Color.WHITE);\n\t\t\tisValid = true;\n\t\t}\n\t\t\n\t\treturn isValid;\n\t}", "title": "" }, { "docid": "8020e7a1c85fb8b08fcd50d381984d89", "score": "0.5899535", "text": "private boolean itemPurchaseExists(String upc) throws SQLException {\n\t\tStatement stmt = con.createStatement();\n\t\tResultSet rs = stmt.executeQuery(\n\t\t\t\t\"SELECT * \"\n\t\t\t+\t\"FROM itemPurchase ip \"\n\t\t\t+ \t\"WHERE upc = '\" + upc + \"'\"\n\t\t\t);\n\t\t\n\t\tBoolean exists = false;\n\t\twhile(rs.next())\n\t\t{\n\t\t\t// Retrieve information from the query\n\t\t\tString upcOfQuery = rs.getString(\"upc\");\n\t\t\texists = !rs.wasNull();\n\t\t}\n\t\tstmt.close();\n\t\treturn exists;\n\t}", "title": "" }, { "docid": "25ec74880a4136dc87b9d40a0abbb30b", "score": "0.589012", "text": "public synchronized boolean isItemExist(String itemCode) {\n return allPromotionItems.get(itemCode) != null;\n// for (PromotionPopulationItem promotionPopulationItem : promotionPopulationItems) {\n// isItemExist = promotionPopulationItem.isItemExist(itemCode);\n// if (isItemExist) {\n// break;\n// }\n// }\n// return isItemExist;\n }", "title": "" }, { "docid": "93bbdb70a9f29e826f30cc1383148bb2", "score": "0.5885678", "text": "boolean hasItemId();", "title": "" }, { "docid": "af5ce1e51abba2d4d6c2c7a2b7be8c0e", "score": "0.5878269", "text": "boolean addItem(int sackNum, Item item) {\r\n\r\n boolean canMix = true;\r\n for (int i = 0; i < sacks.get(sackNum).contents.size(); i++) {\r\n if (sacks.get(sackNum).contents.get(i).checkCompatible(item) == false) {\r\n canMix = false;\r\n break;\r\n }\r\n }\r\n\r\n if (canMix) {\r\n if (item.itemSize > sacks.get(sackNum).openSpace) {\r\n return false;\r\n } else {\r\n sacks.get(sackNum).addItem(item);\r\n unpackedItems.remove(item);\r\n return true;\r\n }\r\n } \r\n else return false;\r\n\t\t}", "title": "" }, { "docid": "b111726899b3927788a1e266e150f4ba", "score": "0.5870101", "text": "public int reserveStock(int quantity) {\n if (quantity <= this.availableStock()) {\n this.reserved += quantity;\n return quantity;\n }\n return 0;\n }", "title": "" }, { "docid": "9dc5416a85d13bd63c69f7318944ff9d", "score": "0.5869673", "text": "@Test\n void nameAboveMinimum() throws Exception {\n shop.addNewItem(\"Mobile Phone\", 100, 52000);\n cart.clear();\n cart.put(\"Mobile Phone\", 1);\n assertEquals(52000, shop.buyItem(cart));\n }", "title": "" }, { "docid": "808240b4b8e586c35fc432f74c9983eb", "score": "0.58668876", "text": "public void sellStock(String symbol, int quantity) throws BalanceException, StockNotExistException, IllegalQuantityException{\r\n\t\tint i=isStockExists(symbol);\r\n\t\tif (i < 0){ \t\r\n\t\t\tthrow new StockNotExistException(symbol);\r\n\t\t}\r\n\t\telse if (quantity > stocksStatus[i].getStockQuantity()){ //if quantity is more then what you have\r\n\t\t\tthis.sellStock(symbol,-1);\r\n\t\t}\r\n\t\telse if(quantity == -1){ //sell the whole quantity\r\n\t\t\tupdateBalance(stocksStatus[i].getStockQuantity() * stocksStatus[i].getBid());\r\n\t\t\tstocksStatus[i].setStockQuantity(0);\r\n\t\t}\r\n\t\telse if (quantity >= 0) { //Partial sale\r\n\t\t\tupdateBalance(stocksStatus[i].getStockQuantity() * stocksStatus[i].getBid());\r\n\t\t\tstocksStatus[i].setStockQuantity(stocksStatus[i].getStockQuantity() - quantity);\t\r\n\t\t}\r\n\t\telse{\r\n\t\t\t//stock exists and quantity less then -1 (Task7 6.4.b)\r\n\t\t\tthrow new IllegalQuantityException();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2025d2a0c091914f324f60bde4c85c5f", "score": "0.586457", "text": "public boolean pickupItem() {\n if(taken = true) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "d9cc1d210a2ae64ecbef802092db494e", "score": "0.58590233", "text": "@Test\n void quantityBelowMinimum() throws Exception {\n // quantity < 1\n shop.addNewItem(\"iPhone X\", 10, 52000);\n cart.clear();\n cart.put(\"iPhone X\", 0);\n exception = assertThrows(Exception.class, () -> shop.buyItem(cart));\n assertEquals(\"Invalid quantity for one/more cart items\", exception.getMessage());\n }", "title": "" }, { "docid": "a5ff69724b5c47fb50e05e0201d93423", "score": "0.58540285", "text": "public static boolean sellToStore(Player p, ItemStack[] iS) {\n if ( !Config.isEnableSelling() \n || !RealShopping.hasPInv(p) \n || !RealShopping.getPInv(p).getShop().hasPrices() \n || RealShopping.getPInv(p).getShop().getBuyFor() < 1) \n {\n return false;\n }\n boolean retval = false;\n RSPlayerInventory pinv = RealShopping.getPInv(p);\n Shop shop = pinv.getShop();\n float payment = 0.0f;\n List<ItemStack> sold = new ArrayList<>();\n List<ItemStack> returned = new ArrayList<>();\n for (int i=0;i<iS.length;i++) {\n ItemStack replacement = null;\n if(iS[i] != null && iS[i].getAmount() >= pinv.getAmount(iS[i])) {\n int exceed = iS[i].getAmount() - pinv.getAmount(iS[i]);\n replacement = new ItemStack(iS[i]);\n if(exceed > 0){\n replacement.setAmount(exceed);\n }\n iS[i].setAmount(pinv.getAmount(iS[i]));\n }\n \n float sellp = sellPrice(shop, iS[i]);\n if(sellp > 0.0f) {\n payment += sellp;\n sold.add(iS[i]);\n } else replacement = iS[i];\n if(replacement != null) returned.add(replacement);\n }\n if(!sold.isEmpty()) {\n String own = shop.getOwner();\n if (!own.equals(\"@admin\")) {\n if (RSEconomy.getBalance(own) >= payment) {\n RSEconomy.deposit(p.getName(), payment);\n RSEconomy.withdraw(own, payment);//If player owned store, withdraw from owner\n p.sendMessage(ChatColor.GREEN + LangPack.SOLD + sold.size() + LangPack.ITEMSFOR + payment + LangPack.UNIT);\n RealShopping.sendNotification(own, LangPack.YOURSTORE + shop.getName() \n + LangPack.BOUGHTSTUFFFOR \n + payment + LangPack.UNIT \n + LangPack.FROM + p.getName());\n //Adding stats and claim items for owner\n for (ItemStack key : sold) {\n if (Config.isEnableAI()) {\n shop.addStat(new Statistic(new Price(key), key.getAmount(), false));\n }\n shop.addToClaim(key);\n }\n } else {\n p.sendMessage(ChatColor.RED + LangPack.OWNER + own + LangPack.CANTAFFORDTOBUYITEMSFROMYOUFOR + payment + LangPack.UNIT);\n p.getInventory().addItem(sold.toArray(new ItemStack[0]));\n sold.clear();\n }\n } else {\n RSEconomy.deposit(p.getName(), payment);\n RSEconomy.withdraw(own, payment);\n p.sendMessage(ChatColor.GREEN + LangPack.SOLD + ChatColor.DARK_GREEN + sold.size() + ChatColor.GREEN + LangPack.ITEMSFOR\n + ChatColor.DARK_GREEN + payment + ChatColor.GREEN + LangPack.UNIT);\n if (RealShopping.getPlayerSettings(own).getBoughtNotifications(shop, (int) (payment)))\n RealShopping.sendNotification(own, LangPack.YOURSTORE\n + shop.getName() + LangPack.BOUGHTSTUFFFOR\n + payment + LangPack.UNIT\n + LangPack.FROM + p.getName());\n }\n for(ItemStack sold_item:sold) {\n pinv.removeItem(sold_item, sold_item.getAmount());\n retval = true;\n }\n }\n // Return unsold items to the player and remove sold ones from pinv.\n p.getInventory().addItem(returned.toArray(new ItemStack[0]));\n return retval;\n }", "title": "" }, { "docid": "6dcc71a7b43622dd3fb5504466b486ae", "score": "0.5833985", "text": "boolean hasChebangPrintItem();", "title": "" }, { "docid": "9f22290ebe78cca0fce4fa03a9dba034", "score": "0.5833417", "text": "@Test\r\n public void findByIndexShouldReturnCorrectIfFirstItemInStock() {\r\n Product product = createProduct();\r\n stock.add(product);\r\n Product foundByIndex = stock.find(0);\r\n assertNotNull(foundByIndex);\r\n assertEquals(product.getLabel(), foundByIndex.getLabel());\r\n }", "title": "" }, { "docid": "e1f3c781f61173e5b27c4f2972f68663", "score": "0.5831403", "text": "public boolean hasItem(String itemName)\r\n\t{\r\n\t\tfor (GameItem item : inventory)\r\n\t\t{\r\n\t\t\tif (item.name().equalsIgnoreCase(itemName))\r\n\t\t\t{\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "06fe520ea48fe1425f9b9036bce5f166", "score": "0.58282304", "text": "public abstract int calculateQuantityOfSharesForBuying(Stock stock, \n\t\t\tdouble buyingPrice, double availableValue);", "title": "" }, { "docid": "a9d6d36b294ea62d0f53e8ddbf56cb36", "score": "0.58187926", "text": "private void checkOwnedItems()\n\t{\n\t\tfor(int i = 0; i < 2; i++)for(int j = 0; j < 4; j++)\n\t\t\towned[i][j] =prefs.getBoolean(storeTabs[i]+itemsAvailable[j]);\n\t}", "title": "" }, { "docid": "a5dd85a552a54651634b4b2b98c30817", "score": "0.5812681", "text": "private void findMispricedStocks() {\r\n \tLOGGER.debug(\"Entering TradingSession.findMispricedStocks()\");\r\n \tIterator<Stock> stockIterator = stockList.iterator();\r\n \tStock stock;\r\n \tdouble currentPrice = 0.00;\r\n \twhile(stockIterator.hasNext()) {\r\n \t stock = stockIterator.next();\r\n \t LOGGER.debug(\"Retrieved stock with ticker {} from stockIterator\", stock.getTicker());\r\n \t try {\r\n \t\tcurrentPrice = stock.lastTick();\r\n \t\tLOGGER.debug(\"stock.lastTick() returns ${}\", currentPrice);\r\n \t\tif( (currentPrice == -1) ) {\r\n \t\t LOGGER.warn(\"Could not get valid price for ticker {}\", stock.getTicker());\r\n \t\t} else {\r\n \t\t PriceBasedAction actionToTake = priceActionable(stock);\r\n \t\t if(actionToTake.doSomething) {\r\n \t\t\tOption optionToSell = Option.getOption(stock.getTicker(), actionToTake.optionType, actionToTake.monthsOut, currentPrice);\r\n \t\t\tif(optionToSell == null) {\r\n \t\t\t LOGGER.info(\"Cannot find a valid option for {}\", stock.getTicker());\r\n \t\t\t LOGGER.info(\"Removing {} from list of tradable securities\", stock.getTicker());\r\n \t\t\t stockIterator.remove();\r\n \t\t\t} else {\r\n \t\t\t try {\r\n\t\t\t\tportfolio.addNewOrder(new Order(optionToSell, optionToSell.lastBid(), \"SELL\", actionToTake.monthsOut, \"GFD\"));\r\n \t\t\t } catch(InsufficientFundsException ife) {\r\n \t\t\t\tLOGGER.warn(\"Not enough free cash to initiate order for {} @ ${}\", optionToSell.getTicker(), optionToSell.lastBid(), ife);\r\n \t\t\t } catch(SecurityNotFoundException snfe) {\r\n \t\t\t\tLOGGER.warn(\"Missing securities needed to cover attempted order\", snfe);\r\n \t\t\t }\r\n \t\t\t}\r\n \t\t }\r\n \t\t}\r\n \t } catch(IOException ioe) {\r\n \t\tLOGGER.info(\"IO exception attempting to get information on ticker {}\", stock.getTicker());\r\n \t\tLOGGER.debug(\"Caught (IOException ioe)\", ioe); \r\n \t }\r\n \t}\r\n }", "title": "" }, { "docid": "76a98a7d498c5c000e40a70b0210dca4", "score": "0.57944226", "text": "public void buyStock(String symbol, int quantity) throws BalanceException, StockNotExistException{\t\t\r\n\t\tint i = isStockExists(symbol);\r\n\t\tif (i == -1){\r\n\t\t\tthrow new StockNotExistException(symbol);\r\n\t\t}\r\n\t\tif (quantity == -1){\r\n\t\t\tquantity = (int)(balance / stocksStatus[i].getAsk());\r\n\t\t}\r\n\t\tupdateBalance(quantity * stocksStatus[i].getAsk() * -1);\t\r\n\t\tstocksStatus[i].setStockQuantity(quantity + stocksStatus[i].getStockQuantity());\r\n\t}", "title": "" }, { "docid": "e70ea5a49fb23cadc9c42b8bb53ccbf6", "score": "0.5789536", "text": "@Test\n void ReservingProductsWorks() {\n String mockProductCode = this.mockProductCode + \"ReservingProducts\";\n postStockIncrement(mockProductCode, new StockIncrement(mockStoreCode, 1));\n\n // When we retrieve the id of the stock item\n ResponseEntity<StockItems> stockEntity = getStockItems(mockProductCode);\n Collection<StockItem> stockItems = IterableUtil.toCollection(stockEntity.getBody().getStockItems());\n Long stockItemId = stockItems.stream().findFirst().get().getId();\n\n // And we reserve that item\n StockItemPatch stockItemPatch = new StockItemPatch();\n stockItemPatch.setReserved(true);\n ResponseEntity<StockItem> stockItemEntity = patchStockItem(stockItemId, stockItemPatch);\n\n // Then the item should appear to be reserved\n assert stockItemEntity.getStatusCode() == HttpStatus.OK;\n assert stockItemEntity.getBody().isReserved();\n }", "title": "" }, { "docid": "a7e36f7abec377abc7d5f5390012551f", "score": "0.57891643", "text": "@Test\n void nameBelowMaximum() throws Exception {\n shop.addNewItem(\"A1 B2 C3 D4 E5 F6 G7 H8 I9\", 10, 300);\n cart.clear();\n cart.put(\"A1 B2 C3 D4 E5 F6 G7 H8 I9\", 7);\n assertEquals(2100, shop.buyItem(cart));\n }", "title": "" }, { "docid": "81bf38cd2c43e2dc10e8c1a78fd7b4bb", "score": "0.5784712", "text": "boolean hasHighPrice();", "title": "" }, { "docid": "ebb41c9034f9e11fd1bf6910dc462219", "score": "0.5777481", "text": "private boolean itemExists(String upc) throws SQLException {\n\t\t// Create a SQL Statement object\n\t\tStatement stmt = con.createStatement();\n\t\tResultSet rs = stmt.executeQuery(\n\t\t\t\t\"SELECT * \"\n\t\t\t+\t\"FROM item i \"\n\t\t\t+ \t\"WHERE upc = '\" + upc + \"'\"\n\t\t\t);\n\t\t\n\t\tBoolean exists = false;\n\t\twhile(rs.next())\n\t\t{\n\t\t\t// Retrieve information from the query\n\t\t\tString upcOfQuery = rs.getString(\"upc\");\n\t\t\texists = !rs.wasNull();\n\t\t}\n\t\tstmt.close();\n\t\treturn exists;\n\t}", "title": "" }, { "docid": "28ce342aa7c00ebb8a43cf1fc91dba13", "score": "0.5768793", "text": "public Item getItem(int UID)\n throws SoldOutException, ItemInexistentException {\n for (var currentItem : items.keySet()) {\n // if UID exists\n if (UID == currentItem.getUID()) {\n int count = items.get(currentItem);\n\n // if the item is still in stock\n if (count > 0) {\n return currentItem;\n }\n throw new SoldOutException(\n \"Item with ID \" + UID + \" sold out.\");\n }\n }\n\n throw new ItemInexistentException(\n \"Item with ID \" + UID + \" does not exist.\");\n }", "title": "" }, { "docid": "5719ca99255b275ce4b805d6d0ee47a2", "score": "0.57662076", "text": "public boolean buy(int amount)\n\t{\n\t\tint money = Shop.getMoney(p);\n\t\tif (money >= amount * sii.getBuyPrice())\n\t\t{\n\t\t\tShop.setMoney(p, money - (amount * sii.getBuyPrice()));\n\t\t\tHashMap<Integer, ItemStack> excess = p.getInventory().addItem(new ItemStack(sii.getMaterial(), amount));\n\t\t\tsii.setSellAmount(sii.getSellAmount() + amount);\n\t\t\tfor (Map.Entry<Integer, ItemStack> me : excess.entrySet())\n\t\t\t{\n\t\t\t\tp.getWorld().dropItem(p.getLocation(), me.getValue());\n\t\t\t}\n\t\t\treturn true;\n\t\t} else\n\t\t{\n\t\t\tp.sendMessage(\"Not enough money to buy this amount of items!\");\n\t\t\treturn false;\n\t\t}\n\n\t}", "title": "" }, { "docid": "cfef61b5ae067726cc4dce3e17efbe2e", "score": "0.57607234", "text": "@Test\n public void testGetExistingItem() {\n System.out.println(\"getExistingItem\");\n int itemID = 111;\n ItemRegistry instance = new ItemRegistry();\n Item expResult = new Item(111,new ItemDescription(\"This is a car\"),new AmountOfMoney(10000),\"Vehicle\");\n try{\n Item result = instance.getItem(itemID);\n assertEquals(expResult.getItemID(), result.getItemID());\n }catch(ItemNotFoundException e){\n System.err.println(e);\n }\n\n }", "title": "" }, { "docid": "ae301e14c713db026156714de78ab3a7", "score": "0.57562613", "text": "public boolean hasWithdrawItems() {\n return withdrawItems_ != null;\n }", "title": "" }, { "docid": "99df5d47e068bb4e58ca238ef42b7044", "score": "0.5752512", "text": "private boolean validFixed(Bid b){ \t \n\t \n\t//if the bidAmount is not greater than or equal to the reserve \n\tif(!(b.getBidAmount()>=this.reserveAmount)){\n\t System.out.println(\"Reserve not met. Invalid bid given: \"+b.getBidAmount()+this.reserveAmount);\n\t return false;\t \t \n\t} \n\t this.qty-=b.getBidQty();//because it is a valid item remove qty immediately\n\t this.qtySold+=b.getBidQty(); //add to sold itemsQty\n\t //Calculate cost collected if bid is valid item is sold immediately\n\t costCollected+= (.1*b.getBidAmount());\n\t customerReturn+= (b.getBidQty()*b.getBidAmount());//update customer revenue\n\t return true;\t \t \n }", "title": "" }, { "docid": "ce32d0aa48781542d9d5fcb5f1bf218a", "score": "0.57356906", "text": "public boolean isExisting() throws Exception\r\n\t\t{\r\n\t\tMediaRessourceGroupList myM = (MediaRessourceGroupList) myMRG.get();\r\n\t\tthis.UUID = myM.getUUID();\r\n\t\t\r\n\t\tVariables.getLogger().debug(\"Item \"+this.name+\" already exist in the CUCM\");\r\n\t\treturn true;\r\n\t\t}", "title": "" }, { "docid": "e27742981a9e91efc76d692a66fae4fe", "score": "0.57170093", "text": "public void checkDiscount(ArrayList<CartItem> stock) {\n for (int i = 0; i < cart.size(); i++) {\n\n if (cart.get(i).size() == itemAmount(cart.get(i).get(0), stock)) {\n applyDiscount(cart.get(i)); //Update total and show discount\n }\n\n if (numItems >= BULK_AMOUNT) {\n massDiscount(); //apply discount\n }\n }\n }", "title": "" }, { "docid": "6b10771f596304e0a2b8bfa435155034", "score": "0.57098", "text": "private boolean validAuction(Bid b){\n\t int lastIndex=this.bids.size()-ONEI;\n\t \n\t //if there are no bids\n\t //System.out.println(\"size==ZERO? \"+(bids.size()==ZEROI)+\" Size: \"+bids.size());\n\t if(bids.size()==ZEROI){\n\t\t //if the new bid amount is greater than or equal to minStart\n\t\t if(!(b.getAmount()>=minStart)){\n\t\t\t System.out.println(\"Bid does not meet minimum bid \");\n\t\t\t return false;\n\t\t }else{\n\t\t\t return true;\n\t\t }\n\t\t \n\t }else{//there is a current valid bid for item\n\t\t //check if current bid amount is greater than last bid\n\t\t if(!(b.getAmount()>=bids.get(lastIndex).getAmount())){\n\t\t\t System.out.println(\"Bid is not greater than previous bid\");\n\t\t\t return false;\n\t\t }else if(!(b.getBidDate().isAfter(this.bids.get(lastIndex).getBidDate()))){\n\t\t\t System.out.println(\"Bid date being added is before last valid bid\");\n\t\t\t return false;\n\t\t }else{\n\t\t\t return true;\n\t\t\t //calc to total cost is done later with time involved\n\t\t\t //does it meet reserve before time\n\t\t }\t\t \n\t }\n}", "title": "" }, { "docid": "a405cbbdf43f0f5560654fc31fed7b4c", "score": "0.57047343", "text": "public String tryPurchase(FoodItem item)\n\t{\n\t\ttry\n\t\t{\n\t\t\tRow[][] rows = machine.getCurrentLayout().getRows();\n\t\t\tfor (int i=0;i<rows.length;++i)\n\t\t\t{\n\t\t\t\tfor (int j=0;j<rows[i].length;++j)\n\t\t\t\t{\n\t\t\t\t\tRow row = rows[i][j];\n\t\t\t\t\tif (row != null && row.getRemainingQuantity() > 0 && row.getProduct().equals(item))\n\t\t\t\t\t\treturn tryPurchase(new Pair<Integer,Integer>(i,j));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch (Exception databaseProblem)\n\t\t{\n\n\t\t\tControllerExceptionHandler.registerConcern(ControllerExceptionHandler.Verbosity.INFO, databaseProblem);\n\t\t}\n\t\treturn \"Item not found\";\n\t}", "title": "" }, { "docid": "c71d68d731da644d43da6f07654c0a00", "score": "0.5703134", "text": "public boolean isItemRequired() {\n return isPersistPublishedItems() || isPayloadDelivered();\n }", "title": "" }, { "docid": "f87ccff45a7f06cb9dc8b4d3f4b3209b", "score": "0.57015127", "text": "public boolean takeItem(final String pItem){\n Item vItem=this.aCurrentRoom.getItem(pItem);\n if(this.aCurrentWeight+vItem.getWeight() <= aMaxWeight){\n this.aCurrentWeight+=vItem.getWeight();\n this.aItemList.addItem(vItem.getName(),vItem);\n this.aCurrentRoom.removeItem(vItem.getName());\n return true;\n }\n else{\n \n return false;\n }\n }", "title": "" }, { "docid": "9818ba710fbdeda620f956585c07ef2d", "score": "0.57008433", "text": "public Item loadItem(int shop,int idItem) throws CheapestPriceException;", "title": "" }, { "docid": "4a6101698ed95847d96ff01895da5d7f", "score": "0.569963", "text": "private boolean isItemAcquired(String itemName) {\r\n\t\treturn propConvert(saveData.getProperty(itemName));\r\n\t}", "title": "" }, { "docid": "c70ae0afc05ee6cf08ead921e76685cd", "score": "0.56961286", "text": "public void addStock (Stock stock) throws StockAlreadyExistsException, PortfolioFullException{\r\n\t\tint index = isStockExists(stock.getSymbol());\r\n\t\tif (index != -1){\r\n\t\t\tthrow new StockAlreadyExistsException(stock.getSymbol());\r\n\t\t}\r\n\t\telse if (this.portfolioSize < MAX_PORTFOLIO_SIZE){\r\n\t\t\tthis.stocksStatus[this.portfolioSize++] = new StockStatus(stock);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tthrow new PortfolioFullException();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d7a40e0a3037a93bd04c0e02e8fe0cc0", "score": "0.5687472", "text": "boolean hasPurchasePrice();", "title": "" }, { "docid": "d7a40e0a3037a93bd04c0e02e8fe0cc0", "score": "0.5687472", "text": "boolean hasPurchasePrice();", "title": "" }, { "docid": "ba6c7dbb53b514b1abb0c1435e82ee0f", "score": "0.5685073", "text": "@Override\n\tpublic int Stock() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "4a7be81f1be039a2210f004cef868a99", "score": "0.56826115", "text": "public boolean createStockInMarket(Stock stock) throws InvalidStockException {\r\n\t\tif(tradeService == null)\r\n\t\t\tthrow new UnsupportedOperationException(\"Trade Service is not configured\");\r\n\t\t\r\n\t\treturn tradeService.createStockInMarket(stock);\r\n\t}", "title": "" }, { "docid": "fd1cca63f25c06988ae75d081ce76c8b", "score": "0.5681676", "text": "public boolean checkAvailability() {\n return !slotsAvailable.isEmpty();\n }", "title": "" }, { "docid": "a790c1ae9f175b0ae32c191e560c558e", "score": "0.5676646", "text": "int noStocks(){\n\t\t\n\t\treturn stocks.size();\n\t}", "title": "" }, { "docid": "97c729bf05ba395754b93fc17949f9bc", "score": "0.5673192", "text": "public boolean pickUpItem(Item i)\n {\n if (items.size() >= 5) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\titems.add(i);\n\t\t\treturn true;\n\t\t}\n }", "title": "" }, { "docid": "a3f8ccec292521e0dbeddb21a5c3800b", "score": "0.5671625", "text": "public void checkValue(Player player, int slot, boolean sellingItem) {\r\n\t\tthis.setPlayer(player);\r\n\t\tItem shopItem = new Item(getItems()[slot].getId());\r\n\t\tif (!player.isShopping()) {\r\n\t\t\tplayer.getPacketSender().sendInterfaceRemoval();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tItem item = sellingItem ? player.getInventory().getItems()[slot] : getItems()[slot];\r\n\t\tif (item.getId() == 995)\r\n\t\t\treturn;\r\n\t\tif (sellingItem) {\r\n\t\t\tif (!shopBuysItem(id, item)) {\r\n\t\t\t\tplayer.getPacketSender().sendMessage(\"You cannot sell this item to this store.\");\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tint finalValue = 0;\r\n\t\tString finalString = sellingItem ? \"\" + ItemDefinition.forId(item.getId()).getName() + \": shop will buy for \"\r\n\t\t\t\t: \"\" + ItemDefinition.forId(shopItem.getId()).getName() + \" currently costs \";\r\n\t\tif (getCurrency().getId() != -1) {\r\n\t\t\tfinalValue = ItemDefinition.forId(item.getId()).getValue();\r\n\t\t\tString s = currency.getDefinition().getName().toLowerCase().endsWith(\"s\")\r\n\t\t\t\t\t? currency.getDefinition().getName().toLowerCase()\r\n\t\t\t\t\t: currency.getDefinition().getName().toLowerCase() + \"s\";\r\n\t\t\t/** CUSTOM CURRENCY, CUSTOM SHOP VALUES **/\r\n\t\t\tif (id == TOKKUL_EXCHANGE_STORE || id == ENERGY_FRAGMENT_STORE || id == STARDUST_STORE|| id == AGILITY_TICKET_STORE\r\n\t\t\t\t\t|| id == GRAVEYARD_STORE || id == HOLY_WATER_STORE) {\r\n\t\t\t\tObject[] obj = ShopManager.getCustomShopData(id, item.getId());\r\n\t\t\t\tif (obj == null)\r\n\t\t\t\t\treturn;\r\n\t\t\t\tfinalValue = (int) obj[0];\r\n\t\t\t\ts = (String) obj[1];\r\n\t\t\t}\r\n\t\t\tif (sellingItem) {\r\n\t\t\t\tif (finalValue != 1) {\r\n\t\t\t\t\tfinalValue = (int) (finalValue * 0.85);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfinalString += \"\" + (int) finalValue + \" \" + s + \"\" + shopPriceEx((int) finalValue) + \".\";\r\n\t\t} else {\r\n\t\t\tObject[] obj = ShopManager.getCustomShopData(id, item.getId());\r\n\t\t\tif (obj == null)\r\n\t\t\t\treturn;\r\n\t\t\tfinalValue = (int) obj[0];\r\n\t\t\tif (sellingItem) {\r\n\t\t\t\tif (finalValue != 1) {\r\n\t\t\t\t\tfinalValue = (int) (finalValue * 0.85);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfinalString += \"\" + finalValue + \" \" + (String) obj[1] + \".\";\r\n\t\t}\r\n\t\tif (player != null && finalValue > 0) {\r\n\t\t\tplayer.getPacketSender().sendMessage(finalString);\r\n\t\t\treturn;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "10269128f30b300adc0f444304809944", "score": "0.5669475", "text": "@Override\n\tpublic void excute() {\n\t\tstock.buy();\n\t}", "title": "" }, { "docid": "f4efe6bf845849a939b3bc0a3fbf3368", "score": "0.5667348", "text": "private void insertNonBookItem() {\n\t\tString upc;\n\t\tfloat sellingPrice;\n\t\tint stock;\n\t\tString\t\t\t taxable;\n\t\tPreparedStatement ps;\n\t\t \n\t\ttry\n\t\t{\n\t\t ps = con.prepareStatement(\"INSERT INTO item VALUES (?,?,?,?)\");\n\t\t\n\t\t System.out.print(\"\\nupc: \");\n\t\t upc = in.readLine();\n\t\t \n\t\t // If the item already exists, send an error msg back\n\t\t if(itemExists(upc)) {\n\t\t\t System.out.println(\"The item that you specified already exists!\");\n\t\t\t // Don't proceed through the rest of the code.\n\t\t\t return;\n\t\t }\n\t\t ps.setString(1, upc);\n\n\t\t System.out.print(\"\\nSelling Price: \");\n\t\t sellingPrice = Float.parseFloat(in.readLine());\n\t\t ps.setFloat(2, sellingPrice);\n\n\t\t System.out.print(\"\\nStock: \");\n\t\t stock = Integer.parseInt(in.readLine());\n\t\t ps.setInt(3, stock);\n\t\t \n\t\t System.out.print(\"\\nTaxable(y/n): \");\n\t\t taxable = in.readLine();\n\t\t ps.setString(4, taxable);\n\t\t \n\t\t ps.executeUpdate();\n\n\t\t // commit work \n\t\t con.commit();\n\n\t\t ps.close();\n\t\t System.out.println(\"Item \" + upc + \" was added to the item table!\");\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t System.out.println(\"IOException!\");\n\t\t}\n\t\tcatch (SQLException ex)\n\t\t{\n\t\t System.out.println(\"Message: \" + ex.getMessage());\n\t\t try \n\t\t {\n\t\t\t// undo the insert\n\t\t\tcon.rollback();\t\n\t\t }\n\t\t catch (SQLException ex2)\n\t\t {\n\t\t\tSystem.out.println(\"Message: \" + ex2.getMessage());\n\t\t\tSystem.exit(-1);\n\t\t }\n\t\t}\n\t}", "title": "" }, { "docid": "2f410abfd8364e28ef1d31714f0bd47f", "score": "0.56564474", "text": "private void bookIn()\n\t{\n\t\ttry\n\t\t{\n\t\t\tint id = getMenu(\"\\nStockID to book in\", item.getLastID());\n\t\t\titem.fetchItem(id);\n\t\t\tSystem.out.println(item.getDescription());\n\n\t\t\tif (item.getOrdered() > 0)\n\t\t\t{\n\t\t\t\tint am = getMenu(\"How many do you want to book in\", item.getOrdered());\n\t\t\t\tif (am > 0)\n\t\t\t\t\titem.addNewStock(am);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"You don't have any of this item on ordered\");\n\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.out.println(e.toString());\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "c6540f5a7f82712858ff3017215a75f1", "score": "0.56352997", "text": "public void searchItemByQuantity() {\r\n\r\n System.out.println(\"Please enter the quantity:\\n\");\r\n int quantity = CONSOLE_INPUT.nextInt();\r\n\r\n if (quantity < 0) {\r\n System.out.println(\"Quantity should be at least 0.\\n\");\r\n }\r\n\r\n String output = hardwareStore.getMatchingItemsByQuantity(quantity);\r\n if (output == null) {\r\n System.out.println(\"No items found below given quantity.\");\r\n } else {\r\n System.out.println(output);\r\n }\r\n }", "title": "" } ]
71e4adf529aa5ed0c98457183929ed17
Looks for the street that starts from the given place in the given direction.
[ { "docid": "0a9f86bd3ea4ddcb5b959a3da16aa4bc", "score": "0.6111899", "text": "public Street lookForStreet(Place currentPlace, Direction currentHeading) {\r\n\t\tif (this.cityMap == null)\r\n\t\t\treturn null;\r\n\t\t//recorremos el mapa buscando la calle adecuada\r\n\t\tfor (Street s: this.cityMap) {\r\n\t\t\tif (s.comeOutFrom(currentPlace,currentHeading)) { //??? s != null??\r\n\t\t\t\treturn s;\r\n\t\t\t}\t\r\n\t\t}\r\n\t\r\n\t\treturn null; \r\n\t}", "title": "" } ]
[ { "docid": "1239bbc6884d705112d369e55b4b9341", "score": "0.55828303", "text": "private void nextStreetElementFrom(int x, int y, int left, int ahead) {\n\t\tif (left <= 0 || x < 0 || y < 0 || x >= data.getFields() || y >= data.getFields())\n\t\t\treturn;\n\t\tif (!data.get(x, y).getArea().isStreet())\n\t\t\treturn;// Do nothing if a street is not allowed in this field\n\t\tdata.get(x, y).containsStreet = true;\n\t\tRandom r = new Random();\n\t\tint \t\tdir= r.nextInt(100)>75?r.nextInt(8):ahead;\n\t\t\n\t\tswitch (dir) {\n\t\tcase NORTH:\n\t\t\ty--;\n\t\t\tbreak;\n\t\tcase SOUTH:\n\t\t\ty++;\n\t\t\tbreak;\n\t\tcase EAST:\n\t\t\tx++;\n\t\t\tbreak;\n\t\tcase WEST:\n\t\t\tx--;\n\t\t\tbreak;\n\t\tcase NORTH_WEST:\n\t\t\ty--;\n\t\t\tx--;\n\t\t\tbreak;\n\t\tcase NORTH_EAST:\n\t\t\ty--;\n\t\t\tx++;\n\t\t\tbreak;\n\t\tcase SOUTH_EAST:\n\t\t\ty++;\n\t\t\tx++;\n\t\t\tbreak;\n\t\tcase SOUTH_WEST:\n\t\t\ty++;\n\t\t\tx--;\n\t\t\tbreak;\n\t\t}\n\t\tnextStreetElementFrom(x, y, left - 1,dir);\n\t}", "title": "" }, { "docid": "9fa8678f003bd90c0f2a4e1a9e161558", "score": "0.52927554", "text": "public static Location findFirstBlock(Location start, org.bukkit.util.Vector direction)\n {\n World world = start.getWorld();\n Location surface = start.clone();\n\n //see if there is a block already - then go back if necessary\n if (!start.getBlock().isEmpty())\n surface.subtract(direction);\n\n //are we now in air - if not, something is wrong\n if (!start.getBlock().isEmpty())\n return start;\n\n //int length = (int) (direction.length()*3);\n BlockIterator iter = new BlockIterator(world, start.toVector(), direction.clone().normalize(), 0, 10);\n\n //try to find a surface of the\n while (iter.hasNext())\n {\n Block next = iter.next();\n //if there is no block, go further until we hit the surface\n if (!next.isEmpty())\n return next.getLocation();\n }\n // no surface found\n return null;\n }", "title": "" }, { "docid": "fe0025ff42184911429d11b7cd9604b2", "score": "0.52539027", "text": "public Street getHeadingStreet() {\r\n\t\treturn cityMap.lookForStreet(actualPlace, lookingDirection);\r\n\r\n\t}", "title": "" }, { "docid": "c6e35e5b39e0241d8d410324a686963a", "score": "0.5213998", "text": "public Place firstPlace() {\n return this.from;\n }", "title": "" }, { "docid": "9b0a16b89c7f8bc673fbe84727134abe", "score": "0.521076", "text": "public void SearchRoute(){\n visited = new ArrayList<Integer>();\n String routing = \"\" + start_map_id;\n SearchRouteWidth(start_map_id,routing);\n }", "title": "" }, { "docid": "d0efde46390dcde06103e2845e5d18ef", "score": "0.5198813", "text": "public static Location findSurface(Location start, org.bukkit.util.Vector direction)\n {\n World world = start.getWorld();\n Location surface = start.clone();\n\n //see if there is a block already - then go back if necessary\n if (!start.getBlock().isEmpty())\n surface.subtract(direction);\n\n //are we now in air - if not, something is wrong\n if (!start.getBlock().isEmpty())\n return start;\n\n //int length = (int) (direction.length()*3);\n BlockIterator iter = new BlockIterator(world, start.toVector(), direction.clone().normalize(), 0, 10);\n\n //try to find a surface of the\n while (iter.hasNext())\n {\n Block next = iter.next();\n //if there is no block, go further until we hit the surface\n if (next.isEmpty())\n surface = next.getLocation();\n else\n return surface;\n }\n // no surface found\n return surface;\n }", "title": "" }, { "docid": "d6449cdbe65215966fb2146da1e4bbdd", "score": "0.5106606", "text": "public boolean isRouteStart(int rid) {\n int answer = -1;\n for (int dir = 0; dir < rd.length; dir++ ) {\n if (rd[dir][0] == (rid | forwardMask) || \n rd[dir][1] == (rid | forwardMask)) {\n answer = dir;\n }\n // if entering, then you know it's wrong already\n if (rd[dir][0] == rid || rd[dir][1] == rid) {\n return false;\n }\n }\n return (answer >= 0);\n }", "title": "" }, { "docid": "1cef3addf744d0ba0b0f95c6bd36fddc", "score": "0.5056902", "text": "public LatLng findLocation(final HouseData house, final boolean placeMarker) {\r\n \t\tfinal LatLngWrapper llWrap = new LatLngWrapper();\r\n \r\n \t\tLatLngCallback callback = new LatLngCallback() {\r\n \r\n \t\t\tpublic void onFailure() {\r\n \t\t\t\tWindow.alert(\"Location not found\");\r\n \t\t\t}\r\n \r\n \t\t\tpublic void onSuccess(LatLng point) {\r\n \t\t\t\t// add the location onto the map\r\n \t\t\t\t// check if it's on sale, true for third param if so.\r\n \t\t\t\tif (placeMarker) {\r\n \t\t\t\t\t// addSpecialMarker(point, house, house.getIsSelling());\r\n \t\t\t\t\taddSpecialMarker(point, house);\r\n \t\t\t\t\t// refreshStreetView(point);\r\n \t\t\t\t}\r\n \t\t\t\tllWrap.setResponse(point);\r\n \t\t\t}\r\n \t\t};\r\n \t\tgeocoder = new Geocoder();\r\n \t\tgeocoder.getLatLng(house.getAddress() + \" VANCOUVER, BC\", callback);\r\n \r\n \t\treturn llWrap.getLL();\r\n \t}", "title": "" }, { "docid": "e9f0c2ab408fe022aa6cf7e8c4001652", "score": "0.50554323", "text": "public int findIndexOfStart(String startPoint) {\n int city;\n for (city = 0; city < nVerts; city++) {\n if (vertexList[city].stad.equalsIgnoreCase(startPoint))\n return city;\n }\n return city;\n }", "title": "" }, { "docid": "d3a4e87a3b739e677aa87326fc163d81", "score": "0.503458", "text": "private Station getStart(Route route) {\n\t\tStation startStation = null;\n\t\tfor(RouteConnection r : route.getRouteConnections()) {\n\t\t\tif(r.isStartOfRoute()) {\n\t\t\t\tstartStation = r.getStation();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn startStation;\n\t}", "title": "" }, { "docid": "99a8f13541483e35cb007031f157e24f", "score": "0.50070304", "text": "public Place getStartPlace() {\n return startPlace;\n }", "title": "" }, { "docid": "4ced2d0e2d5baf384c9a1801b2feeb13", "score": "0.49962375", "text": "private void FindNearest( ){\n\n StringBuilder googlePlacesUrl = new StringBuilder(\"https://maps.googleapis.com/maps/api/place/nearbysearch/json?\");\n googlePlacesUrl.append(\"location=\" + latitude + \",\" + longitude);\n googlePlacesUrl.append(\"&radius=\" + 500);\n googlePlacesUrl.append(\"&types=\" + \"school\");\n googlePlacesUrl.append(\"&sensor=true\");\n googlePlacesUrl.append(\"&key=\" + getString(R.string.google_maps_key));\n\n GooglePlacesReadTask googlePlacesReadTask = new GooglePlacesReadTask();\n Object[] toPass = new Object[1];\n // toPass[0] = mMap;\n toPass[0] = googlePlacesUrl.toString();\n googlePlacesReadTask.execute(toPass);\n }", "title": "" }, { "docid": "15a01b059cb7b64bb82cf92dfb6b83a9", "score": "0.49784726", "text": "String getStreet();", "title": "" }, { "docid": "15a01b059cb7b64bb82cf92dfb6b83a9", "score": "0.49784726", "text": "String getStreet();", "title": "" }, { "docid": "bce3b027603f34359dccfe539da8a30b", "score": "0.4973856", "text": "public List<Address> getByStreet(String street) {\n validate(street.isEmpty(), \"error.address.streetIsNull\");\n List<Address> addresses = addressRepository.findByStreet(street);\n validate(addresses.isEmpty(), \"error.address.notFound\");\n return addresses;\n }", "title": "" }, { "docid": "1c5336c8813adef83c14f586dc7c90b4", "score": "0.49527937", "text": "public boolean isStartPlace() {\n //TODO...\n return false;\n }", "title": "" }, { "docid": "e7788c6754407039982088923239f550", "score": "0.49255133", "text": "Coordinate getStartingPosition();", "title": "" }, { "docid": "14127203590380c7f14e062c2436e2f9", "score": "0.4920076", "text": "public void placeFinder (){\n StringBuilder sbValue = new StringBuilder(stringBuildingMethod());\n PlacesTask placesTask = new PlacesTask();\n placesTask.execute(sbValue.toString());\n }", "title": "" }, { "docid": "be83951bd8b5c3bb27cd6509ed6565e8", "score": "0.49098122", "text": "boolean hasStartLatitude();", "title": "" }, { "docid": "5d8d0f4957bd85faf3c3a95872703b46", "score": "0.4862318", "text": "com.google.maps.routes.v1.Waypoint getOrigin();", "title": "" }, { "docid": "853711a1b2031e7fe83a9d60c050ab5b", "score": "0.4860151", "text": "private boolean isStartDirection(Track track, Point pointfrom, Point direction) {\n boolean dirTrack = (track.getStart().getY() + track.getStart().getX()) - (track.getEnd().getY()\n + track.getEnd().getX()) > 0;\n boolean dirPoint = (direction.getX() + direction.getY()) - (pointfrom.getX() + pointfrom.getY()) > 0;\n return dirTrack == dirPoint;\n }", "title": "" }, { "docid": "c1dea7330f91b6360b437e7919c889c6", "score": "0.48517427", "text": "public void setStartPlace(Place p)\n throws IllegalArgumentException {\n if (places.contains(p)) {\n startPlace = p;\n }\n else {\n throw new IllegalArgumentException();\n }\n }", "title": "" }, { "docid": "9f0c75064006d36d8621aec98d88e330", "score": "0.4810983", "text": "public static List<Place> getStartPlace(Petrinet net) {\n\t\tCollection<Place> places = net.getPlaces();\n\t\tPlace p = null;\n\t\tList<Place> startp = new ArrayList<>();\n\t\tCollection<PetrinetEdge<? extends PetrinetNode, ? extends PetrinetNode>> preset = null;\n\t\tIterator<Place> pIterator = places.iterator();\n\t\twhile (pIterator.hasNext()) {\n\t\t\tp = pIterator.next();\n\t\t\tpreset = net.getInEdges(p);\n\t\t\tif (preset.size() < 1) {\n\t\t\t\tstartp.add(p);\n\t\t\t}\n\t\t}\n\t\t// if there is no start position, then we create one\n\t\tif (startp.isEmpty()) {\n\t\t\tSystem.out.println(\"There is no Start Place and create start place\");\n\t\t\t// and also the Arc to it \n\t\t\t// Place pstart = net.addPlace(\"Start\");\n\t\t}\n\t\treturn startp;\n\t}", "title": "" }, { "docid": "b374e9ddf77a5f7eb13b41ad4dde1f52", "score": "0.4808655", "text": "public String locate(Vehicle v)\n {\n String idStreet=v.getLane().split(\"#\")[0];\n\n String value = street.get(idStreet);\n if(value!=null)\n return value;\n\n try {\n value=position.getAddressByGpsCoordinates(v.getY(),v.getX());\n } catch (IOException e) {\n e.printStackTrace();\n } catch (ParseException e) {\n e.printStackTrace();\n }\n\n if(value==\"\" || value==null)\n value=\"Location not known\";\n\n street.put(idStreet,value);\n return value;\n\n }", "title": "" }, { "docid": "6a6996443c321bde87367cec02d3b6a7", "score": "0.47968677", "text": "public String getStreet();", "title": "" }, { "docid": "855cfbcb775e461dc19b7737e03b8b77", "score": "0.47932512", "text": "String getPlace();", "title": "" }, { "docid": "d68fd6b216580cb6373421b20afb42a7", "score": "0.4772787", "text": "boolean hasStartLongitude();", "title": "" }, { "docid": "216bfdbb86ae9fdf2237e0233aaaa8c9", "score": "0.47693825", "text": "public Location move( String direction )\n\t{\n\t\t\t\n\t\tfor ( HashMap.Entry<String, Location> e : map.entrySet() ) {\n\t\t\tif ( direction.toLowerCase().equals( e.getKey().toLowerCase() ) )\n\t\t\t{\n\t\t\t\tLocation location = map.get( e.getKey() );\n\t\t\t\treturn location;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "da80b82e811c6b087b93c3d85a32e98f", "score": "0.47597954", "text": "private void addStreet(int dir, int sid, int paveType, boolean isForward) {\n int existingRoad = pavementAt(dir);\n short forwardBit = isForward ? forwardMask : 0;\n\n sd[dir] = (short) (sid + forwardBit);\n \n if (existingRoad < paveType)\n setPavement(dir, paveType);\n }", "title": "" }, { "docid": "a55dc63578826a2d977dce0d9b3abb3f", "score": "0.47547603", "text": "public Place getStart(){\r\n return Start;\r\n }", "title": "" }, { "docid": "46058853dcc54a49603c8f4751e7e001", "score": "0.47193006", "text": "public List<Place> searchPlace() {\n\t\t\tplaces = PlaceService.finalSearch(name, phoneNo);\n\t\t\tmsgAddPlaceNameNotUsed=false;\n\t\t\tname=null;\n\t\t\tphoneNo=null;\n\t\t\treturn places;\n\t}", "title": "" }, { "docid": "e66e58a2674fdaa3eed3ab454c279dd1", "score": "0.47159562", "text": "public int search(MachineInput in, int startPos, int endPos, boolean anchored, boolean wantEarliestMatch) {\n StartParams startParams = analyzeSearch(in, startPos, endPos, anchored);\n if (startParams.startState.isDead()) {\n return NO_MATCH;\n }\n\n return searchLoop(in, startPos, endPos, wantEarliestMatch, startParams);\n }", "title": "" }, { "docid": "d4d6259962111d4e7f7ade7ef1d23a46", "score": "0.46955207", "text": "void addStreetForward(int dir, int sid, int paveType) {\n addStreet(dir, sid, paveType, true);\n }", "title": "" }, { "docid": "d342f5ab959e536073484f5617ece439", "score": "0.4693687", "text": "private void findFurthest (){\n\n // test that the text field isn't blank\n String str = zip1.getText();\n if(str.length() == 0){\n results.setText(\"Make sure zip1 isn't blank\");\n return;\n }\n\n // Use checkValidInteger to confirm valid entry\n if(!this.checkValidInteger(this.zip1.getText(), \"this.zip1\")){\n return;\n }\n\n // search for the zipcode\n int z1 = Integer.parseInt(zip1.getText());\n ZipCode z = database.findFurthest(z1);\n // display the results\n results.setText(\"city / state furthest from \" + z1 + \"\\n\\n\");\n if(z == null){\n results.setText(\"The zipcode was not found\");\n } else{\n results.append(z + \"\");\n }\n\n }", "title": "" }, { "docid": "fb1af87010b217b69235681db694ccb0", "score": "0.4692241", "text": "public List<N> search(N start, N destination) {\n\n // Use A* search to find the shortest path through the navigation mesh\n Set<N> closedSet = new HashSet<>();\n Set<N> openSet = new HashSet<>();\n Map<N, Double> gScore = new HashMap<>();\n Map<N, Double> fScore = new HashMap<>();\n Map<N, N> cameFrom = new HashMap<>();\n gScore.put(start, 0.0);\n fScore.put(start, start.getHeuristicDistance(destination));\n openSet.add(start);\n\n while (!openSet.isEmpty()) {\n\n N current = getLowestFScore(openSet, fScore);\n if (current.equals(destination)) {\n return getPath(current, cameFrom);\n }\n openSet.remove(current);\n closedSet.add(current);\n for (N neighbor : current.getNeighbors()) {\n if (!closedSet.contains(neighbor)) {\n double tentativeGScore =\n gScore.get(current) + current.getHeuristicDistance(neighbor);\n if (!openSet.contains(neighbor) || tentativeGScore < gScore.get(neighbor)) {\n cameFrom.put(neighbor, current);\n gScore.put(neighbor, tentativeGScore);\n fScore.put(neighbor,\n gScore.get(neighbor) + neighbor.getHeuristicDistance(destination));\n // No check needed, .add is a noop if it contains it. Sets don't allow\n // duplicates\n openSet.add(neighbor);\n }\n }\n }\n }\n\n // If we get here, then no path was found\n return new ArrayList<>();\n }", "title": "" }, { "docid": "a560538069dbcddf81c506a86c6de64a", "score": "0.46887442", "text": "public void setStreet(String street) {\n this.street = street;\n }", "title": "" }, { "docid": "6c1f602df8a04c0471e914ca59ef64e7", "score": "0.4687781", "text": "public void setStart(Place start){\r\n this.Start = start;\r\n }", "title": "" }, { "docid": "2fd47313a31acb7950515b518f474caf", "score": "0.4686338", "text": "@Override\r\n \tpublic String guessSpawn(String place) {\n \t\tHashMap<Integer, String> locs = new HashMap<Integer, String>();\r\n \t\tint i = 0;\r\n \r\n \t\tdb.i(\"searching for team spawns: \" + place);\r\n \t\t\r\n \t\tHashMap<String, Object> coords = (HashMap<String, Object>) arena.getArenaConfig()\r\n \t\t\t\t.getYamlConfiguration().getConfigurationSection(\"spawns\")\r\n \t\t\t\t.getValues(false);\r\n \t\tfor (String name : coords.keySet()) {\r\n \t\t\tif (name.startsWith(place)) {\r\n \t\t\t\tlocs.put(i++, name);\r\n \t\t\t\tdb.i(\"found match: \" + name);\r\n \t\t\t}\r\n \t\t\tif (name.startsWith(\"flag\")) {\r\n \t\t\t\tlocs.put(i++, name);\r\n \t\t\t\tdb.i(\"found match: \" + name);\r\n \t\t\t}\r\n \t\t}\r\n \r\n \t\tif (locs.size() < 1) {\r\n \t\t\treturn null;\r\n \t\t}\r\n \t\tRandom r = new Random();\r\n \r\n \t\tplace = locs.get(r.nextInt(locs.size()));\r\n \r\n \t\treturn place;\r\n \t}", "title": "" }, { "docid": "0e3f73477b20049e029010cdbe7c30b0", "score": "0.4679645", "text": "boolean destinationSearch(String s, HashMap<String, BusRoute> routes) {\n\t\t\n\t\tString subStr;\n\t\tString destination;\n\t\tString destP = \"<h3>(\" + s + \".*?)</h3>(.*?)<hr id\";\n\t\tString routeP = \"<a href=\\\"/schedules(.*?)\\\"(>|\\\\sclass=&quot;text-success&quot;>)(.*?)</a>\";\n\t\tString routeID;\n\t\t\n\t\tboolean found = false;\n\t\t\n\t\tPattern pattern = Pattern.compile(destP, Pattern.DOTALL | Pattern.CASE_INSENSITIVE);\n\t\tPattern subPattern = Pattern.compile(routeP, Pattern.DOTALL | Pattern.MULTILINE);\n\t\t\n\t\tMatcher matcher = pattern.matcher(schedules);\n\t\t\n\t\twhile(matcher.find()) {\n\t\t\tdestination = matcher.group(1);\n\t\t\tBusRoute newRoute = new BusRoute(destination);\n\t\t\tsubStr = matcher.group(2);\n\t\t\t\n\t\t\tMatcher subMatcher = subPattern.matcher(subStr);\n\t\t\tfound = true;\n\t\t\t\n\t\t\twhile(subMatcher.find()) {\n\t\t\t\trouteID = subMatcher.group(3);\n\t\t\t\t//need to get rid of that pesky * after some routes\n\t\t\t\trouteID = routeID.split(\" \")[0];\n\t\t\t\tnewRoute.addRoute(routeID);\n\t\t\t}\n\t\t\troutes.put(destination, newRoute);\n\t\t}\n\t\treturn found;\n\t}", "title": "" }, { "docid": "61dbab1025905110cd4f3efae1ddf2a1", "score": "0.46732163", "text": "public String Getstreet()\n\t{\n\t\treturn m_street;\n\t}", "title": "" }, { "docid": "cbfa021985c29bccee0272a695556ff0", "score": "0.467296", "text": "public static Point startFinder(char [][] array){\n\t\tPoint start = new Point (0,0);\t\n\t\tfor(int i = 0; i < array.length; i++){\n\t\t\tfor(int j = 0; j < array[i].length; j++){\n\t\t\t\tif(array[i][j] == 's'){\n\t\t\t\t\tSystem.out.println(\"(\"+i+\",\"+j+\")\");\n\t\t\t\t\tstart.setLocation(i, j);\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn start;\n\t}", "title": "" }, { "docid": "10bbcc726ab823099eb86a00821105f0", "score": "0.46555042", "text": "void searchOnClick(int routeId, int direction);", "title": "" }, { "docid": "750d53949d17aa8689a24e9ad6f55565", "score": "0.4652458", "text": "@Test\n\tvoid binarySearchDestinationTest() {\n\t\tsetupScenery2();\n\t\tAirport a = new Airport();\n\t\ttry {\n\t\t\ta.generateFlights(11);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tFlight f1 = a.getFLights().get(10);\n\t\tFlight[] flights = a.getFLights().toArray(new Flight[a.getFLights().size()]);\n\t\tArrays.sort(flights, new Comparator<Flight>() {\n\t\t\t@Override\n\t\t\tpublic int compare(Flight a, Flight b) {\n\t\t\t\tint comparison = 0;\n\t\t\t\tif (!a.getDestination().equals(b.getDestination()))\n\t\t\t\t\tcomparison = a.getDestination().compareTo(b.getDestination());\n\t\t\t\treturn comparison;\n\t\t\t}\n\t\t});\n\t\tint pos = f.binarySearchDestination(flights, f1.getDestination(), 0, a.getFLights().size()-1);\n\t\tassertTrue(\"The search isn't right\", flights[pos].getDestination().equals(f1.getDestination()));\n\t}", "title": "" }, { "docid": "11342777b45e805ec0ed61f96282b248", "score": "0.4652306", "text": "public List<Flight> search(String name, String source, String destination);", "title": "" }, { "docid": "876ffecdfb032c4487662c5a1c85b2c4", "score": "0.46456268", "text": "public boolean isStreetaddress() {\r\n\t\treturn streetaddress;\r\n\t}", "title": "" }, { "docid": "2e587abc4a711d9e25d3304703ff6b5e", "score": "0.46449143", "text": "public List<Place> findConqueredPlaces();", "title": "" }, { "docid": "14e712fd012bef8d4733c405c15179c2", "score": "0.46422035", "text": "public Cursor getCursorForSpecificPlace(String place) {\n Cursor cursor = sqLliteDatabase.query(TABLE_TODO, new String[]{COLUMN_TODO_ID, COLUMN_TODO}, COLUMN_PLACE + \" LIKE '%\" + place + \"%'\", null, null, null, null, null);\n return cursor;\n }", "title": "" }, { "docid": "a81db069895636db6433987ecc632be4", "score": "0.46343273", "text": "private Location findFarthestLocation(Location location, final Direction direction) {\n Location farthest;\n\n do {\n farthest = location;\n location = farthest.offset(direction);\n } while (gridOperator.isValidLocation(location) && !optionalTile(location).isPresent());\n\n return farthest;\n }", "title": "" }, { "docid": "6349fc55f8ba7cf92a9c1c2124ba886c", "score": "0.462621", "text": "public boolean containsLocation(Location loc) {\r\n\t\t// Start by checking if loc is the starting point of the route\r\n\t\tboolean inRoute = (this.start < 0 ) ? (this.instLIRP.getSupplier() == loc) : (this.instLIRP.getDepot(0, start) == loc);\r\n\t\tIterator<Integer> stopsIter = this.stops.iterator();\r\n\t\t// Loop through the stops and update inRoute if one corresponds to loc\r\n\t\twhile(!inRoute && stopsIter.hasNext()) {\r\n\t\t\tif(start < 0)\r\n\t\t\t\tinRoute = (loc == this.instLIRP.getDepot(0, stopsIter.next()));\r\n\t\t\telse\r\n\t\t\t\tinRoute = (loc == this.instLIRP.getClient(stopsIter.next()));\r\n\t\t}\r\n\t\treturn inRoute;\r\n\t}", "title": "" }, { "docid": "97cd3672d2412ce7d322dd65f8771c27", "score": "0.4625309", "text": "public void setStreet(String street) {\r\n\t\tthis.street = street;\r\n\t}", "title": "" }, { "docid": "606579ed028241d0d30b70e7d903b6e3", "score": "0.46164343", "text": "public boolean isStartPlace() {\n\t\treturn start;\n\t}", "title": "" }, { "docid": "08db054b7e49ca3cf099151f27e76818", "score": "0.4613768", "text": "public Shop find(Double longitude, Double latitude);", "title": "" }, { "docid": "201f29780db35add62ff198b8c790fff", "score": "0.4606775", "text": "public boolean startsWith(String prefix, int toffset) {\n return str().startsWith(prefix, toffset);\n }", "title": "" }, { "docid": "509fecd9b09a7bce965b27c78549bf49", "score": "0.45939374", "text": "public void setStreet (java.lang.String street) {\n\t\tthis.street = street;\n\t}", "title": "" }, { "docid": "040034f97c7d46cbf61de3f98a0678c4", "score": "0.45905286", "text": "public String getStreet() {\n return street;\n }", "title": "" }, { "docid": "e21cbf5f7652ce5ef227b7cfdff21dea", "score": "0.45892277", "text": "public boolean isLandingRunwayName(String name) {\n int index = findRunway(name);\n if(index != -1 && runways.get(index).isLanding())\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "5642d9f6d4e948d956d9625d88eccb1c", "score": "0.4576274", "text": "public Place followDirection(String s) {\r\n\t\tint i = 0;\r\n\t\tint flag = 1;\r\n\t\tint counter = 0;\t\t//System.out.println(s);\t\t//System.out.print(\"in follow direction function- \");\t\t//System.out.println(direction_list.get(i).match(s));\t\t//System.out.print(\"flag is:\");\t\t//System.out.println(flag);\r\n\t\t\t\r\n\t\twhile(flag == 1 && counter < direction_list.size()) {\r\n\t\t\t//System.out.print(\"flag is:\");\r\n\t\t\t//System.out.println(flag);\r\n\t\t\tif(direction_list.get(i).match(s)) {\r\n\t\t\t\tflag = 2;\r\n\t\t\t\t//System.out.print(\"flag is:\");\r\n\t\t\t\t//System.out.println(flag);\r\n\t\t\t\treturn direction_list.get(i).follow();\r\n\t\t\t\t}\t\r\n\t\t\ti++;\r\n\t\t\tcounter++;\r\n\t\t}\r\n\t\tSystem.out.print(\"Can't go that way\");\r\n\t\t//System.out.println(direction_list.get(i).follow().get_room_id()); \r\n\t\treturn this;\r\n\t}", "title": "" }, { "docid": "bfa781719d2c9d8147af4c1ffc366aeb", "score": "0.45753035", "text": "Place getPlace(PlaceIdentity placeIdentity);", "title": "" }, { "docid": "81d279a2cde5be94c20b6e3735e96303", "score": "0.45702916", "text": "public void setStreet(String street)\n\t{\n\t\tthis.street = street;\n\t}", "title": "" }, { "docid": "5d79727d4c2b1ab97cdbc415cf5bade1", "score": "0.4558154", "text": "@Override\n public void detectRoadSegment(double latitude, double longitude, RoadSegment roadSegment) {\n if (roadSegment != null){\n Log.d(\"ROADSTEST\", roadSegment.getName());\n }else {\n Log.d(\"ROADSTEST\", \"Sin roadSegmetn\");\n }\n }", "title": "" }, { "docid": "bceb34e74391a2cb1968eaf5f1c87379", "score": "0.4558078", "text": "public void geoLocate(String query){\n SearchView sv = findViewById(R.id.place_search);\n String location = query;\n\n Geocoder gc = new Geocoder(this);\n List<Address> list;\n try {\n list = gc.getFromLocationName(location,1);\n if (list.size() == 0){\n Toast.makeText(this, \"No location match\", Toast.LENGTH_LONG).show();\n return;\n }\n Address address = list.get(0);\n\n double lat = address.getLatitude();\n double lng = address.getLongitude();\n setMarker(lat, lng);\n Toast.makeText(this, MarkerAddress, Toast.LENGTH_LONG).show();\n goToLocationZoom(lat, lng,16);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "a2aa0c9a4aef2b5d02d2ee1857a58198", "score": "0.45548177", "text": "boolean isRouteAvailable(String originCity, String destinationCity);", "title": "" }, { "docid": "81568b5f72b67c2cbf20e581e7084bc4", "score": "0.4547746", "text": "public String getStreet() {\n return street;\n }", "title": "" }, { "docid": "81568b5f72b67c2cbf20e581e7084bc4", "score": "0.4547746", "text": "public String getStreet() {\n return street;\n }", "title": "" }, { "docid": "a88a882ab27e85c9a23eecf43d4a5aad", "score": "0.4543516", "text": "static void pathTo(Direction direction) throws GameActionException{\n MapLocation location = myLocation.add(direction);\n pathTo(location);\n }", "title": "" }, { "docid": "554f32b3ff17b7e0ddc4c1a5554c2d12", "score": "0.45312318", "text": "public PointDirection get_car_start_point(int position) throws Exception\n\t{\n\t\tPointDirection point = null;\n\t\t\n\t\tint p = 1;\n\t\t\n\t\tfor (int i = m_point_list.size()-1; i >= 0 && point == null; i--)\n\t\t{\n\t\t\tPointDirection c = m_point_list.elementAt(i);\n\t\t\tif (c.is_car_start_point())\n\t\t\t{\n\t\t\t\tif (p == position)\n\t\t\t\t{\n\t\t\t\t\tpoint = new PointDirection(c);\n\t\t\t\t\tmap_point(point,true);\n\t\t\t\t}\n\t\t\t\tp++;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tif (point == null)\n\t {\n\t \tthrow new Exception(\"Car position \"+position+\" not found\");\n\t }\n\t\t\n\t\treturn point;\n\t}", "title": "" }, { "docid": "38bafd47353d7e1043de4a7d6fcfaac3", "score": "0.4529203", "text": "public String getStreet(String country) {\n\t\tlog.info(\"Getting address street for country \"+country);\n\t\treturn getAddressDetails(country).get(2);\n\t}", "title": "" }, { "docid": "78a7af473549535600aec6175ee71fa0", "score": "0.45259255", "text": "public void Setstreet(String street)\n\t{\n\t\tm_street = street;\n\t}", "title": "" }, { "docid": "b654b6ebc6336563aab31c515ceafc21", "score": "0.45138943", "text": "@Override\n @Transactional\n public List<Address> findAddress(String city, String region, String street) {\n return addressDAO.findAddress(city, region, street);\n }", "title": "" }, { "docid": "d9d745cbf496846e992f5b911e595afc", "score": "0.45135462", "text": "public static String prompt_Street(InputStream in) {\n Scanner input = new Scanner(in);\n System.out.println(\"Street:\");\n System.out.print(\"> \");\n return input.nextLine();\n }", "title": "" }, { "docid": "c05a89b786f60e649b9e53de1410a521", "score": "0.45028755", "text": "@Override\n @Transactional\n public List<Address> findAddress(String city, String region, String street, int buildingNumber) {\n return addressDAO.findAddress(city, region, street, buildingNumber);\n }", "title": "" }, { "docid": "05017fc5ba2f15d8a88b78b25d3c9a05", "score": "0.44974017", "text": "com.google.maps.routes.v1.Waypoint getDestination();", "title": "" }, { "docid": "c9e123eb9c1d6398e564bbb00283409b", "score": "0.44857615", "text": "public Coordinates findRandomMineralLocation(Coordinates startingLocation, double range);", "title": "" }, { "docid": "f4e4bfd4625c574ef1ab158ca4e50cbf", "score": "0.4484064", "text": "public Location getLocationByLL(String latitude, String longitude);", "title": "" }, { "docid": "fb7c3f2eab6794b5400ee37ceac64714", "score": "0.44837314", "text": "public String getStreet()\n\t{\n\t\treturn this.street;\n\t}", "title": "" }, { "docid": "362cbfb9e345dc49b2655d93df82fa65", "score": "0.44795358", "text": "private int searchLoop(MachineInput in, int startPos, int endPos, boolean wantEarliestMatch, StartParams startParams) {\n int lastMatchIndex = NO_MATCH;\n DFAState currentState = startParams.startState;\n\n int currentIndex;\n int endIndex;\n\n if (runForward) {\n currentIndex = startPos;\n endIndex = endPos;\n } else {\n currentIndex = endPos;\n endIndex = startPos;\n }\n\n while (currentIndex != endIndex) {\n if (currentState == startParams.startState) {\n currentIndex = findFirstByte(in, currentIndex, endIndex, startParams.firstByte);\n if (currentIndex == endIndex) {\n break;\n }\n }\n\n byte b;\n if (runForward) {\n b = in.getByteUnchecked(currentIndex++);\n } else {\n b = in.getByteUnchecked(--currentIndex);\n }\n\n currentState = getNextState(currentState, b);\n if (currentState.isDead()) {\n return lastMatchIndex;\n }\n\n if (currentState.isMatch()) {\n // The DFA notices the match one byte late, so adjust p before using it in the match.\n if (runForward) {\n lastMatchIndex = currentIndex - 1;\n } else {\n lastMatchIndex = currentIndex + 1;\n }\n if (wantEarliestMatch) {\n return lastMatchIndex;\n }\n }\n }\n\n byte lastByte;\n if (runForward) {\n if (endPos == in.endPos()) {\n lastByte = EOF;\n } else {\n lastByte = in.getByteUnchecked(endPos);\n }\n } else {\n if (startPos == 0) {\n lastByte = EOF;\n } else {\n lastByte = in.getByteUnchecked(startPos - 1);\n }\n }\n\n // Process one more byte to see if it triggers a match (Remember, matches are delayed one byte).\n currentState = getNextState(currentState, lastByte);\n if (currentState.isMatch()) {\n lastMatchIndex = currentIndex;\n }\n\n return lastMatchIndex;\n }", "title": "" }, { "docid": "905c547545e8ef944f83c96546cef52b", "score": "0.44768554", "text": "private void searchByGPS() {\n\t}", "title": "" }, { "docid": "880d976a2409f1f92833375fdc878a49", "score": "0.4469112", "text": "@Override\n\tpublic ArrayList<Station> findPath(Localization source, Localization destination,\n\t\t\tString bicycleType) {\n\t\tthis.bicycleType = bicycleType;\n\t\tArrayList<Station> startEnd = new ArrayList<Station>(2);\n\t\tstartEnd.add(source.getClosestStationWithBicycle(bicycleType));\n\t\tstartEnd.add(destination.getClosestAvailableStation(false));\n\t\treturn startEnd;\n\t\t\n\t}", "title": "" }, { "docid": "cde70ee1df60f30656014b9439e07725", "score": "0.44667625", "text": "public Place findPlace(String placeName) {\n for (Place i : this.places) {\n if (i.getName().equals(placeName))\n return i;\n }\n\n return null;\n }", "title": "" }, { "docid": "18be8e7be8c3bde3eee613e8e9d96cbb", "score": "0.44626585", "text": "public void findPlace(){\n PlaceAutocompleteFragment autocompleteFragment = (PlaceAutocompleteFragment)\n getFragmentManager().findFragmentById(R.id.place_autocomplete);\n\n autocompleteFragment.setOnPlaceSelectedListener(new PlaceSelectionListener() {\n @Override\n public void onPlaceSelected(Place place) {\n Log.i(TAG, \"Place: \" + place.getName());\n Log.i(TAG, \"Place: \" + place.getLatLng());\n\n moveCamera(place.getLatLng(), place.getName().toString());\n }\n @Override\n public void onError(Status status) {\n Log.i(TAG, \"An error occurred: \" + status);\n }\n });\n }", "title": "" }, { "docid": "c63b61998f8868d6ead28ca8f0650353", "score": "0.44583794", "text": "public String findLatLng(String placeId, String type) {\n\n HttpURLConnection conn = null;\n StringBuilder jsonResults = new StringBuilder();\n try {\n StringBuilder sb = new StringBuilder(PLACES_API_BASE + TYPE_DETAILS + OUT_JSON);\n sb.append(\"?key=\" + API_KEY);\n\n sb.append(\"&placeid=\" + placeId);\n\n URL url = new URL(sb.toString());\n Log.i(LOG_TAG, sb.toString());\n conn = (HttpURLConnection) url.openConnection();\n InputStreamReader in = new InputStreamReader(conn.getInputStream());\n\n // Load the results into a StringBuilder\n int read;\n char[] buff = new char[1024];\n while ((read = in.read(buff)) != -1) {\n jsonResults.append(buff, 0, read);\n }\n } catch (MalformedURLException e) {\n Log.e(LOG_TAG, \"Error processing Places API URL\", e);\n return null;\n } catch (IOException e) {\n Log.e(LOG_TAG, \"Error connecting to Places API\", e);\n return null;\n } finally {\n if (conn != null) {\n //conn.disconnect();\n }\n }\n\n try {\n // Create a JSON object hierarchy from the results\n JSONObject jsonObj = new JSONObject(jsonResults.toString());\n JSONObject jsonObject2 = ((JSONObject) ((JSONObject) ((JSONObject) jsonObj.get(\"result\")).get(\"geometry\")).get(\"location\"));\n double lat = Double.parseDouble(jsonObject2.get(\"lat\").toString());\n double lng = Double.parseDouble(jsonObject2.get(\"lng\").toString());\n LatLng latlng = new LatLng(lat, lng);\n if (Integer.parseInt(type) == 0)\n sourceLatLng = new LatLng(lat, lng);\n\n else if (Integer.parseInt(type) == 1)\n destinationLatLng = new LatLng(lat, lng);\n\n\n return latlng.toString() + \"type=\" + type;\n\n\n } catch (JSONException e) {\n Log.e(LOG_TAG, \"Cannot process JSON results\", e);\n }\n\n\n return null;\n }", "title": "" }, { "docid": "0f0b75044dc3966601e95ce2cabee23f", "score": "0.4454233", "text": "@Override\n\tpublic ArrayList<Station> findPath(Localization source, Localization destination) {\n\t\tArrayList<Station> startEnd = new ArrayList<Station>(2);\n\t\tstartEnd.add(source.getClosestStationWithBicycle());\n\t\tthis.bicycleType = startEnd.get(0).getOneBicycleType();\n\t\tstartEnd.add(destination.getClosestAvailableStation(false));\n\t\treturn startEnd;\n\t}", "title": "" }, { "docid": "0bf1abe1a6004a1dc90d364374880959", "score": "0.4448926", "text": "SearchPlaceIndexForPositionResult searchPlaceIndexForPosition(SearchPlaceIndexForPositionRequest searchPlaceIndexForPositionRequest);", "title": "" }, { "docid": "059c2662f4e413569c55fd9c2822f5a4", "score": "0.4436276", "text": "public void gotoSearch() {\n // initialize corners of search zone (do it inside method in order to ensure LL_search_x etc\n // were initialsied by wifi for sure)\n cornerZero_x = CaptureFlagMain.LL_search_x;\n cornerZero_y = CaptureFlagMain.LL_search_y;\n cornerOne_x = CaptureFlagMain.UR_search_x;\n cornerOne_y = CaptureFlagMain.LL_search_y;\n cornerTwo_x = CaptureFlagMain.UR_search_x;\n cornerTwo_y = CaptureFlagMain.UR_search_y;\n cornerThree_x = CaptureFlagMain.LL_search_x;\n cornerThree_y = CaptureFlagMain.UR_search_y;\n\n corners =\n new double[][] {\n {cornerZero_x, cornerZero_y},\n {cornerOne_x, cornerOne_y},\n {cornerTwo_x, cornerTwo_y},\n {cornerThree_x, cornerThree_y}\n };\n\n // find corner closest to robot's current position and travel to it(after dismounting zipline)\n double shortestDistance =\n distanceBetweenPoint(\n CaptureFlagMain.ziplineOther_red_x,\n CaptureFlagMain.ziplineOther_red_y,\n cornerZero_x,\n cornerZero_y);\n if (distanceBetweenPoint(\n CaptureFlagMain.ziplineOther_red_x,\n CaptureFlagMain.ziplineOther_red_y,\n cornerOne_x,\n cornerOne_y)\n < shortestDistance) {\n shortestDistance =\n distanceBetweenPoint(\n CaptureFlagMain.ziplineOther_red_x,\n CaptureFlagMain.ziplineOther_red_y,\n cornerOne_x,\n cornerOne_y);\n closestCorner = 1;\n }\n if ((distanceBetweenPoint(\n CaptureFlagMain.ziplineOther_red_x,\n CaptureFlagMain.ziplineOther_red_y,\n cornerTwo_x,\n cornerTwo_y)\n < shortestDistance)) {\n shortestDistance =\n distanceBetweenPoint(\n CaptureFlagMain.ziplineOther_red_x,\n CaptureFlagMain.ziplineOther_red_y,\n cornerTwo_x,\n cornerTwo_y);\n closestCorner = 2;\n }\n if ((distanceBetweenPoint(\n CaptureFlagMain.ziplineOther_red_x,\n CaptureFlagMain.ziplineOther_red_y,\n cornerThree_x,\n cornerThree_y)\n < shortestDistance)) {\n closestCorner = 3;\n }\n // below, travels to nearest block detection point.\n if (closestCorner == 0) {\n navigation.travelTo(this.cornerZero_x, this.cornerZero_y);\n } else if (closestCorner == 1) {\n navigation.travelTo(this.cornerOne_x, this.cornerOne_y);\n } else if (closestCorner == 2) {\n navigation.travelTo(this.cornerTwo_x, this.cornerTwo_y);\n } else {\n navigation.travelTo(this.cornerThree_x, this.cornerThree_y);\n }\n\n // localise to correct our angle and position\n lightLocalization.localizeOnTheMove = true;\n // turn to 45 to ensure we cross the correct lines during localization\n navigation.turnTo(Math.toRadians(45));\n lightLocalization.doLocalization();\n lightLocalization.localizeOnTheMove = false;\n }", "title": "" }, { "docid": "2e03ae2a8b1bf62b42154c1363e89dd0", "score": "0.44320813", "text": "public boolean startsWithSomething(String something, String sentence) throws Exception\n {\n boolean found=false;\n\n if(sentence==null)\n throw new Exception(\"nu-i voie ma null\");\n\n if(sentence.startsWith(something))\n found=true;\n return found;\n }", "title": "" }, { "docid": "44fcad5283f74fbb7d81dfc54a94cbb9", "score": "0.44272965", "text": "public void HTTP_SEARCH_PLACE_LIST(String placeString) {\n BufferedReader in;\n /* Query Setting */\n String queryString = \"query=\" + placeString + \"&key=\" + getString(R.string.google_maps_key) + \"&language=ko\" + \"&type=subway_station\" + \"&region=ko\";\n try {\n URL obj = new URL(\"https://maps.googleapis.com/maps/api/place/textsearch/json?\" + queryString);\n HttpURLConnection con = (HttpURLConnection) obj.openConnection();\n con.setRequestMethod(\"GET\");\n in = new BufferedReader(new InputStreamReader(con.getInputStream(), StandardCharsets.UTF_8));\n StringBuilder stringBuilder = new StringBuilder();\n String line;\n while ((line = in.readLine()) != null) {\n stringBuilder.append(line);\n }\n /* Get Results */\n String resultJson = stringBuilder.toString();\n PARSE_JSON(resultJson);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "f6ae3dbcbe9dc65f89300ef971626fd5", "score": "0.44250295", "text": "public java.lang.String getStreet () {\n\t\treturn street;\n\t}", "title": "" }, { "docid": "ed6ee4d54303cc9de5044157ec0ca791", "score": "0.44199604", "text": "@RequestMapping(value = \"/nearbyplace\", method = RequestMethod.GET)\n public AddressComponent getNearByPlace() throws InterruptedException, ApiException, IOException {\n return googleMapService.nearByPlaces();\n }", "title": "" }, { "docid": "4689374199d1caf254a6c52a32fab347", "score": "0.44181988", "text": "PositionInfo findPrecedingPositionToStartIterator(long ts) {\n lock();\n try {\n long length = raf.length();\n long pl = length - HEAD_SIZE;\n long entries = pl / entrySize;\n if (pl % entrySize != 0) {\n throw new RuntimeException(\"File is corrupt\");\n }\n if (entries == 0) {\n return null;\n }\n long firstTs = readTs(HEAD_SIZE);\n long firstVal = oneValBuff[0];\n if (firstTs == ts || (firstTs < ts && entries == 1)) {\n return new PositionInfo(oneTsBuff[0], oneValBuff[0], new Long(HEAD_SIZE));\n }\n if (firstTs > ts) {\n return new PositionInfo(oneTsBuff[0], oneValBuff[0], -1L);\n } else {\n long lastTs = readTs(length - entrySize);\n long lastVal = oneValBuff[0];\n if (lastTs == ts) {\n return new PositionInfo(oneTsBuff[0], oneValBuff[0], length - entrySize);\n } else if (lastTs < ts) {\n return null;\n }\n return binarySearchPrecedingPosition(ts, HEAD_SIZE, firstTs, firstVal, length - entrySize, lastTs, lastVal);\n }\n } catch (IOException e) {\n throw new RuntimeException(\"\" + e, e);\n } finally {\n unlock();\n }\n }", "title": "" }, { "docid": "c29c660d801349baa2f7142106463c38", "score": "0.4417852", "text": "GetPlaceResult getPlace(GetPlaceRequest getPlaceRequest);", "title": "" }, { "docid": "a5f1c973d1cb538bf9cb6020fd2ce08a", "score": "0.44083396", "text": "public static String lookupAddr(String establishment) throws ApiException, InterruptedException, IOException {\r\n\t\t\r\n\t\t//set up key\r\n\t\tGeoApiContext lookupDoodad = new GeoApiContext.Builder()\r\n\t\t\t .apiKey(API_KEY)\r\n\t\t\t .build();\r\n\t\t\tGeocodingResult[] results = GeocodingApi.geocode(lookupDoodad,\r\n\t\t\t establishment).await();\r\n\t\t\t\r\n\t\t\t//converts results into usable address\r\n\t\t\t\r\n\t\t\tString address = (results[0].formattedAddress);\r\n\t\t\r\n\t\treturn address;\r\n\t}", "title": "" }, { "docid": "18b7348bd1663d4c6f6d61c3604f2996", "score": "0.43995935", "text": "public void setStreetAddress(String address){\n\t\tthis.address = address;\n\t}", "title": "" }, { "docid": "3631133d0e506b2bb4ca550fd0b59cc7", "score": "0.43994534", "text": "private Point searchSpace(Rectangle bounds, int sides, int i, double p)\n \t{\n \t\tint str_X = bounds.width;\n \t\tint str_Y = bounds.height;\n \t\tstr_Y = bounds.height;\n \t\tint loop=1;\n \t\tint y=p_cen.y-loop;\t\n \t\tint x=(int)(p*width-loop);\n \t\t\n \t\t// The starting position of x and y\n \t\tint init_Y = y;\n \t\tint init_X = x;\n \t\t\n \t\t//search in the area of bound.\n \t\tint left_bound=0;\n \t\tint right_bound=0;\n \t\tint up_bound=0;\n \t\tint low_bound=0;\n \t\t\n \t\tdo\n \t\t{\t\n \t\t\tif (isEmpty(x-str_X/2, y-str_Y/2, str_X, str_Y, sides, i))\n \t\t\t{\n \t\t\t\treturn new Point(x-str_X/2, y-str_Y/2);\n \t\t\t}\n \t\t\tleft_bound=p_cen.x-loop;\n \t\t\tright_bound=p_cen.x+loop;\n \t\t\tlow_bound=p_cen.y-loop;\n \t\t\tup_bound=p_cen.y+loop;\n \t\t\t//low and up bound cannot out of rectangle area.\n \t\t\tif(low_bound<=str_Y/2)low_bound=1+str_Y/2;\n \t\t\tif(up_bound >= height - str_Y / 2) up_bound = height - str_Y / 2;\n \t\t\t\n \t\t\t//search in the form of circle\n \t\t\tif(x<=left_bound)\n \t\t\t{\n \t\t\t\tif(y>low_bound)y=y--;\n \t\t\t\telse x++;\n \t\t\t}\n \t\t\telse if(x>=right_bound)\n \t\t\t{ \n \t\t\t\tif(y<up_bound)y=y++;\n \t\t\t\telse x--;\n \t\t\t}\n \t\t\telse\n \t\t\t{\n \t\t\t\tif(y<=low_bound)\n \t\t\t\t{\n \t\t\t\t\tx++;\n \t\t\t\t}else if(y>=up_bound)\n \t\t\t\t{\n \t\t\t\t\tx--;\n \t\t\t\t}else{\n \t\t\t\t\tx++;\n \t\t\t\t}\n \t\t\t}\n \t\t\t\n \t\t\t//back to the staring point, add loop and search again\n \t\t\tif(x<=init_X&&y<=init_Y)\n \t\t\t{\n \t\t\t\tinit_X=left_bound-1;\n \t\t\t\tinit_Y=low_bound-1;\n \t\t\t\tif(init_Y<=str_Y/2)init_Y=1+str_Y/2;\n \t\t\t\tloop=loop+1;\n \t\t\t}\n \t\t\t\n \t\t}\twhile ((x < width - str_X / 2) || loop < 10);\t\n \t\treturn null;\n \t}", "title": "" }, { "docid": "b58b2fc42973f7c17a1a2bd84b6b93d0", "score": "0.43981555", "text": "void removeStreetForward(int dir) {\n removeStreet(dir);\n }", "title": "" }, { "docid": "ff09723d7a76f637d820ce5fc6f88b6f", "score": "0.43908146", "text": "protected int findRunway(String name) {\n /*\n * sequential search here\n */\n boolean found = false;\n int index = 0;\n while(!found && index < runways.size()) {\n if(runways.get(index).getName().equals(name))\n found = true;\n else\n index++;\n }\n if(found)\n return index;\n else\n return -1;\n }", "title": "" }, { "docid": "44338f37c77b0dd0533e16520d7151d3", "score": "0.43876353", "text": "void flyTo(String placeName) {\n Intent myIntent = new Intent();\n\n // send the intent directly to the google earth activity that can\n // handle search\n myIntent.setClassName(\"com.google.earth\",\n \"com.google.earth.EarthActivity\");\n\n // we are doing a search query\n myIntent.setAction(Intent.ACTION_SEARCH);\n\n // change this address to any address you want to fly to\n myIntent.putExtra(SearchManager.QUERY, placeName);\n\n // always trap for ActivityNotFound in case Google earth is not on the device\n\n try {\n // launch google earth and fly to location\n this.startActivity(myIntent);\n } catch (ActivityNotFoundException e) {\n Toast.makeText(\n MainActivity.this,\n \"Sorry, Google Earth is not available on this machine.\",\n Toast.LENGTH_SHORT\n ).show();\n }\n }", "title": "" }, { "docid": "7394581ab144f8b1e50503bc65b00378", "score": "0.43859008", "text": "@Test\n public void testSearchPositionSearchExactMatchGoodPrefix() throws Exception {\n String searchParamCode = \"near\";\n String queryValue = \"eq42.25475478|-83.6945691|0.0|km\";\n\n MultiResourceResult<Resource> result = runQueryTest(searchParamCode, queryValue);\n assertNotNull(result);\n assertFalse(result.getResource().size() == 0);\n assertNull(result.getOutcome());\n }", "title": "" }, { "docid": "a45b96b7f02317d819afe59aedec99dc", "score": "0.43829367", "text": "public static LinkedList<Integer> find(boolean[][] graph, int location, int destination, LinkedList<Integer> townsOnRoute) {\n\t\tLinkedList<Integer> placesToGo = new LinkedList<Integer>(); //Used to record every node we can go to from the current point.\n\t\t\n\t\ttownsOnRoute.add(location); //Add the current location to the list of nodes visited.\n\t\tif (location == destination) return townsOnRoute; //If we are at our destination, there's no need to continue searching for it!\n\t\t\n\t\tfor (int index = 0; index < graph[location].length; index++) { //For every node in the graph:\n\t\t\tif (graph[location][index] && !townsOnRoute.contains(index)) //If there is a connection from our current node AND if we have NOT been there before,\n\t\t\t\tplacesToGo.add(index); //Add the node to the places we can go.\n\t\t}\n\t\t\n\t\tif (placesToGo.isEmpty()) return new LinkedList<Integer>(); //An empty array denotes an invalid path.\n\t\t\n\t\tLinkedList<Integer> shortestPath = new LinkedList<Integer>(); //Used to record the shortest path.\n\t\tLinkedList<Integer> temp; //Used to store several LinkedLists.\n\t\tfor (int index = 0; index < placesToGo.size(); index++) { //For every place we can go:\n\t\t\t//We get the shortest path from that place.\n\t\t\ttemp = find(graph, placesToGo.get(index), destination, (LinkedList<Integer>)townsOnRoute.clone());\n\t\t\tif (!temp.isEmpty()) //We ignore invalid paths.\n\t\t\t\tif (temp.size() < shortestPath.size() || shortestPath.isEmpty()) //If the new path is the shortest so far (or if its our first time through the loop).\n\t\t\t\t\tshortestPath = temp; //Note the shortest path.\n\t\t}\n\t\t\n\t\treturn shortestPath; //Return the shortest path.\n\t}", "title": "" }, { "docid": "db451c596d9aad259ea686a06fe8d60f", "score": "0.4380784", "text": "MudPlace findPlaceContaining(MudUser user);", "title": "" }, { "docid": "07aca16684d46ee39f1421564587d4ad", "score": "0.4380356", "text": "public Location determineLocationNorthOf(Location location) throws NoLocationInDirectionException\r\n\t{\r\n\t\treturn(determineLocationFromMap(location, northMap, \"north\"));\r\n\t}", "title": "" } ]
7bef35434f600f4440fabbf8078617ff
Retorna la vida del personaje
[ { "docid": "cab68d984fd857f965acb00b1bd975f9", "score": "0.6438125", "text": "public abstract int getVida();", "title": "" } ]
[ { "docid": "31e76842f6b7f5a1e86cf2cbe2de45d4", "score": "0.73010427", "text": "public int getIdPersonaje() {\r\n return id;\r\n }", "title": "" }, { "docid": "a50de6c7c57decb6e3ff43d50524382b", "score": "0.69055927", "text": "public Long getPersonaId();", "title": "" }, { "docid": "e08207e1ce1928c04543d99f64271274", "score": "0.67908216", "text": "public int getVida()\n {\n return vida;\n }", "title": "" }, { "docid": "fc1d16b358fef3b581145bb6cf675881", "score": "0.6657698", "text": "public int getDni() {//este metodo devuelve un valor entero\n return dni;//retorna el dni de una persona\n }", "title": "" }, { "docid": "a0d48bca0aed086c5274e15adb05ec0f", "score": "0.65921634", "text": "public long getIdPregunta();", "title": "" }, { "docid": "f199ff5e22dd57effedb81835ff2ee3b", "score": "0.6552024", "text": "public int getPaciente() {\n return paciente;\n }", "title": "" }, { "docid": "3acdde9c4dceef577027426742f6277a", "score": "0.6518904", "text": "public int getVictorias(){ return victorias; }", "title": "" }, { "docid": "a292a02005f50b1afd16045d52cd57e3", "score": "0.6490959", "text": "private Personagem buscaPersonagemId(Personagem personagem) {\n //condicionamento perante o indice que aloca as informações\n for (Personagem p :\n personagens) {// aqui é feita a passagem do for Each pela lista\n if (p.getId() == personagem.getId()) {\n return p;// lugar onde fica alocado as informações\n }\n\n }\n return null;//retorna null caso a condição do if não seja correta\n }", "title": "" }, { "docid": "d1e50d82a61cfbe392f787ad5af44363", "score": "0.64694494", "text": "int getPorcentaje();", "title": "" }, { "docid": "8d54e1ba9079b082c10f6e1137686c67", "score": "0.6468402", "text": "public int getVeterinario() {\n return veterinario;\n }", "title": "" }, { "docid": "bc9141327803f4782a66d4008c6c0427", "score": "0.6463405", "text": "public int getPrazoEntrega(){\n return localPrazoEntrega;\n }", "title": "" }, { "docid": "f519f97c9d5506e63d6f1ac12a6396b2", "score": "0.64619625", "text": "public int getPuerto();", "title": "" }, { "docid": "c14b77fb6f4e202e84d75fd80f2be514", "score": "0.64479315", "text": "public int contadorVelocidad(int viento) {\n\t\t/*System.out.println(nombre);\n\t\tString nombre = \"Javier\";\n\t\tthis.nombre =\"Manuel \";\n\t\tSystem.out.println(this.nombre);*/\n\t\t//return batman.velocidad - 60\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\treturn this.velocidad - viento;\n\t}", "title": "" }, { "docid": "680a0ccd6c84729ecbb7d16e48118b5f", "score": "0.63229096", "text": "public Personaje(){\n this.nombre=generarNombre();\n this.edad=(int)(Math.random()*40+21);//Le asigna una edad al azar entre 20 y 60\n this.ciudadNacimiento=generarNombreCiudad();\n personajesCreados++;\n }", "title": "" }, { "docid": "4852fe9364ffd376d5032573ed5c0dfc", "score": "0.62931734", "text": "public long getIdRespuesta();", "title": "" }, { "docid": "669fb70d9f8d34691410f525ef54260b", "score": "0.62820756", "text": "@Override\n\tpublic int getVida() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "4b6a977fe27a588955d91b5ba4a083e9", "score": "0.62363213", "text": "public int getPuntaje() {\r\n return puntaje;\r\n }", "title": "" }, { "docid": "9728429a448583a0c6d77ef91a300937", "score": "0.6220462", "text": "public int getId(){\r\n return this.person_id;\r\n }", "title": "" }, { "docid": "b1aec8c07c7615567c7d91633721160e", "score": "0.62087744", "text": "public int darNombre(){\r\n return nombre;\r\n }", "title": "" }, { "docid": "b0feacc23517684a9106600dbcb7476a", "score": "0.62010336", "text": "public int getIdparada() {\n return idparada;\n }", "title": "" }, { "docid": "39e92e943daa2d60fa33e39ad71b3555", "score": "0.61930156", "text": "@Override\n\tpublic int getPensja() {\n\t\treturn pensja;\n\t}", "title": "" }, { "docid": "ef3262949151ff4a4822d7f328d116ec", "score": "0.6187498", "text": "@Override\n public long getPersonId() {\n return _person.getPersonId();\n }", "title": "" }, { "docid": "a39f93a8aef0c5d8c40baebb62471927", "score": "0.61828536", "text": "public int getIdentificador(){\n return identificador;\n }", "title": "" }, { "docid": "1d8258cd6d048e2ce66745cc03660ec4", "score": "0.61666864", "text": "@Override\r\n\tpublic long getGplienvanID() {\r\n\t\treturn _qlvtThongTinHoSoLienVan.getGplienvanID();\r\n\t}", "title": "" }, { "docid": "2ea70bd7fb555f2911c5f0df7a8fe479", "score": "0.61479676", "text": "public int getPunto() {\n\t\treturn punto;\n\t}", "title": "" }, { "docid": "c29f818329d498fd73994bd7ad7fdbe6", "score": "0.61427915", "text": "public Integer getAnnoProvvedimento() {\n\t\treturn annoProvvedimento;\n\t}", "title": "" }, { "docid": "24913fdd3f7cab603772b4286e73266e", "score": "0.61365104", "text": "public Integer getPerson() {\n return person;\n }", "title": "" }, { "docid": "13cdf0ec540694c4739092b910e04df1", "score": "0.6132202", "text": "public int getJugador1() {\n return Jugador1;\n }", "title": "" }, { "docid": "af5c68f8f83810707d7b9568e6f188a6", "score": "0.6122391", "text": "int getPuntaje(){\n return this.puntaje;\n }", "title": "" }, { "docid": "ee245364790bf06058d9b6b6d6112c86", "score": "0.6120633", "text": "public int getProyecto() {\n return proyecto;\n }", "title": "" }, { "docid": "1758ae9edd09b250ff8416c61daa0c90", "score": "0.61170244", "text": "@Override\r\n\tpublic int tiempoDeVida() {\n\t\treturn refri.tiempoDeGarantia();\r\n\t}", "title": "" }, { "docid": "276680b4dfa9ef8bca9f61d69477e416", "score": "0.61143476", "text": "public int getNumVocales(){\n return this.numVocales;\r\n }", "title": "" }, { "docid": "63ee2350007aa055045d834a3dd8fcf8", "score": "0.609096", "text": "private int demiperim(){\n\t\treturn m_longueur+m_hauteur-1;\n\t}", "title": "" }, { "docid": "d307504903af5aed6874222f161b0918", "score": "0.6079533", "text": "public int getPalo() {\n return palo;\n }", "title": "" }, { "docid": "838f13fcadd017266bd41e07b13eb68c", "score": "0.6074501", "text": "public long getPuntuacionObjetivo(){\n return this.puntuacionObjetivo;\n }", "title": "" }, { "docid": "ef9a780257c1d102c47d0a7afc3fbf10", "score": "0.60604197", "text": "public int getPuntuacion() {\n\t\treturn puntuacion;\n\t}", "title": "" }, { "docid": "16033d46f7cc2da768fce750414a2b23", "score": "0.6048918", "text": "int getting() { //recuperation et affichage des pv du joueur\n\t\t\treturn Pv;\n\t\t}", "title": "" }, { "docid": "f2ed2e1da9671f02fdaff55036c94376", "score": "0.6048481", "text": "public int getOrdenparada() {\n return ordenparada;\n }", "title": "" }, { "docid": "9466dd5c2d7a4524f00deef2bf9fbf3e", "score": "0.60482705", "text": "public Integer getAnnoProvvisorio() {\n\t\treturn annoProvvisorio;\n\t}", "title": "" }, { "docid": "f5dfdb8210787d34c61eeb00109d6ea6", "score": "0.6043372", "text": "public int decrementarVida()\n //ESTE METODO DISMINUYE LAS VIDAS\n {\n perdida--;\n //INICIALIZACION DE LA CONEXION CON EL ACTOR personajes HAYANDO SU INTERCEPTO\n Actor actor = getOneIntersectingObject(personajes.class);\n if(perdida==0)\n /**\n * CONDICION: \n * SI perdida LLEGA A 0 ES DECIR, SE QUEDA SIN VIDAS\n * ACCION:\n * VUELVE AL MENU DEL JUEGO\n */\n {\n Greenfoot.setWorld(new Menu());\n }\n //RETORNA LAS VIDAS\n return perdida;\n }", "title": "" }, { "docid": "6113834290519953d66e47ebe865bdc9", "score": "0.6041371", "text": "public String getLegalpersonIdcardVerso() {\r\n return legalpersonIdcardVerso;\r\n }", "title": "" }, { "docid": "e98e124dfb717ec64c0bd8447d23cf3d", "score": "0.60382897", "text": "public long getPersonId() {\n return personId;\n }", "title": "" }, { "docid": "eb33a82706ba036fa5a9258ce2aaf8c0", "score": "0.6030515", "text": "public int getJour()\n {\n return this.jour;\n }", "title": "" }, { "docid": "19cf94e612ea8439edce8acc87ece92b", "score": "0.5999173", "text": "public int getContacto() {\n return contacto;\n }", "title": "" }, { "docid": "1e0a83064a378226395f95b66b9304d0", "score": "0.5995116", "text": "public String getIDpersona() {\n\t\treturn IDpersona;\n\t}", "title": "" }, { "docid": "dc8c24c364d9a019113daa4ea7e70c39", "score": "0.59906197", "text": "String getRealizadorAnotacion();", "title": "" }, { "docid": "8ada0d5aca60fad3fb76a561be0df79f", "score": "0.5986045", "text": "public String trovaVincitore() {\n int max = 0;\n int idmax = -1;\n\n if (giocatori.size() > 0) {\n // Ciclo tutti i giocatori rimasti\n for (Giocatore giocatore : giocatori) {\n // Trovo il giocatore con i pv massimi\n if (giocatore.getPuntiVittoria() > max) {\n max = giocatore.getPuntiVittoria();\n idmax = giocatori.indexOf(giocatore);\n\n // Se ci sono due giocatori con gli stessi pv vince quello\n // con più soldi\n } else if (max == giocatore.getPuntiVittoria()\n && giocatore.getSoldi() > giocatori\n .get(idmax).getSoldi()) {\n max = giocatore.getPuntiVittoria();\n idmax = giocatori.indexOf(giocatore);\n }\n }\n\n }\n return giocatori.get(idmax).getNome();\n }", "title": "" }, { "docid": "f8e0bf35d7344d05a4dfb4cdc8188825", "score": "0.5983442", "text": "public PersonID getID();", "title": "" }, { "docid": "aa7bc85f7066fc548406202a8d723506", "score": "0.59722817", "text": "public int getGiocatoreTurnoIndice(){\n return giocTurno;\n }", "title": "" }, { "docid": "d0a8a055fce7c9780cfbed34313ffbe9", "score": "0.5964767", "text": "public Personaje getCima() {\n return cima;\n }", "title": "" }, { "docid": "6c7f9314be404bee32bd61489cfb71a3", "score": "0.59638834", "text": "public int getId()\r\n/* 119: */ {\r\n/* 120:156 */ return this.idLecturaMantenimiento;\r\n/* 121: */ }", "title": "" }, { "docid": "44cc635d4c5789151b5e91f701db9704", "score": "0.59577996", "text": "public int getNivelActual(){ return nivelActual; }", "title": "" }, { "docid": "051b6871c58184646979776efe538025", "score": "0.59345746", "text": "public int primeraCasilla(Jugador jugador){\t\t\n\t\treturn 17*jugador.getId() + 5;\n\t}", "title": "" }, { "docid": "147f0a704a9b2b5b6ed0e68b4b44982f", "score": "0.5924664", "text": "public String vytvorNoveIdSlova() {\r\n String cislo = \"\";\r\n int cislo1;\r\n String idSlova = this.getIdPoslednohoSlova();\r\n String slovnik = this.getTypSlovniku();\r\n int delkaSlovnik = slovnik.length();\r\n int delkaIdSlova = idSlova.length();\r\n char[] pole = idSlova.toCharArray();\r\n for (int i = delkaSlovnik--; i <= delkaIdSlova--; i++) {\r\n cislo = cislo + pole[i];\r\n }\r\n cislo1 = Integer.valueOf(cislo);\r\n cislo1++;\r\n this.setIdPoslednihoSlova(slovnik+cislo1);\r\n return slovnik + cislo1;\r\n }", "title": "" }, { "docid": "1d19a70e7ed61abaed929f8c5f8d308a", "score": "0.59195656", "text": "public int getPersonId()\n\t{\n\t\treturn personId;\n\t}", "title": "" }, { "docid": "89e5181e6aacac07eec039d1d82dba8e", "score": "0.5916558", "text": "public int getGiorno() { return this.giorno; }", "title": "" }, { "docid": "def80132c7d4738af39ed8f2956dffc0", "score": "0.5914946", "text": "public int getId()\r\n/* 157: */ {\r\n/* 158:297 */ return this.idOrdenServicioMantenimiento;\r\n/* 159: */ }", "title": "" }, { "docid": "9150feaa49e0fd4d5bf16a84d3f7e1b0", "score": "0.59147364", "text": "public int getIdProvincia()\r\n/* 80: */ {\r\n/* 81:118 */ return this.idProvincia;\r\n/* 82: */ }", "title": "" }, { "docid": "afce17bb6c26ee019e1e993104feadcb", "score": "0.5901624", "text": "public Persona getPersona() {\r\n\t\treturn persona;\r\n\t}", "title": "" }, { "docid": "1d2e10c9a6c46780ac0c6703c0ccad10", "score": "0.58959126", "text": "public int getPocetCerny() {\r\n return pocetCerny;\r\n }", "title": "" }, { "docid": "ee61770f3b15d9fcf4361749f0f161bc", "score": "0.5895681", "text": "public String getIdJugador() {\r\n return idJugador;\r\n }", "title": "" }, { "docid": "4df4be467473b68f79bf73ad00297610", "score": "0.5894837", "text": "public int getPrzebieg() {\n return przebieg;\n }", "title": "" }, { "docid": "98a198bdbed1d2e9763bfddb90e402f0", "score": "0.5891448", "text": "public int getPrestar(){\n return vecesPrestado;\n }", "title": "" }, { "docid": "5b15cd3f3fbc33a566fb80260dc84d1f", "score": "0.58866864", "text": "public Integer getIdEmpresa()\r\n/* 38: */ {\r\n/* 39:44 */ return this.idEmpresa;\r\n/* 40: */ }", "title": "" }, { "docid": "75ff8f96b58a98e89942528d6dfdc90f", "score": "0.5878274", "text": "public String ganador(){\r\n if(inicio.getCandidatoA()==inicio.getCandidatoB() && inicio.getCandidatoB()==inicio.getCandidatoC()){\r\n ganador=\"Ninguno, hubo empate\"; \r\n \r\n }else{\r\n if (inicio.getCandidatoA() > inicio.getCandidatoB() && inicio.getCandidatoA() > inicio.getCandidatoC()) {\r\n ganador = \"Juan Gonzalez\";\r\n } else if (inicio.getCandidatoB() > inicio.getCandidatoA() && inicio.getCandidatoB() > inicio.getCandidatoC()) {\r\n ganador = \"Alberto morales\";\r\n } else {\r\n ganador = \"Camilo Lopez\";\r\n }\r\n }\r\n return ganador;\r\n }", "title": "" }, { "docid": "538d290422958a06cd7366fbca7555c6", "score": "0.58731097", "text": "String getIdAnotada();", "title": "" }, { "docid": "d486ae5ee50e6e770dc1fc5f3946198a", "score": "0.58674204", "text": "public Idioma getIdioma(){ return idioma; }", "title": "" }, { "docid": "6665b40022161a2fe38a9df6185019ab", "score": "0.5864975", "text": "public int getEntidad() {\n return entidad;\n }", "title": "" }, { "docid": "4b468dfe97fdb50871d3742a70b386ad", "score": "0.58565485", "text": "public Integer selectNextIdAntecedentesPropiedad();", "title": "" }, { "docid": "cd0c4458239d8a4fae477928c987816c", "score": "0.5850934", "text": "@Override\r\n\tpublic int get_identificador() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "bbc56503d0a199448eb64cec284fd11d", "score": "0.5834959", "text": "int getCodigoReserva();", "title": "" }, { "docid": "5f400f78b33e8b095b5d260119dd4eea", "score": "0.58326167", "text": "java.lang.String getNombreComercial();", "title": "" }, { "docid": "f7bd778e2197c6854ae9a6c4d1ab4cf3", "score": "0.5831169", "text": "public int getIndiceJoueurEnCours() {\r\n\t\treturn indiceJoueurEnCours;\r\n\t}", "title": "" }, { "docid": "a07686869aa5aaa29407d1a20ad58e41", "score": "0.5826377", "text": "public int getResistencia(){\n return resistencia;\n }", "title": "" }, { "docid": "e3020fd180b2d495d9dd0f3d1d6aa374", "score": "0.5826259", "text": "public int obtenerIdRutaSeleccionada(){\n\t\t_dataAccess.openForReading();\n\t\tString sCodigoUsuario = UsuariosImplementor.getInstance().obtenerUsuarioLogueado()[0];\n\t\tint nRutaSeleccionada = _dataAccess.obtenerIdRutaSeleccionada(sCodigoUsuario);\n\t\t_dataAccess.close();\n\t\treturn nRutaSeleccionada;\n\t}", "title": "" }, { "docid": "82e950cb2f7a0b77082f1472f21296d3", "score": "0.5825637", "text": "public int getAnioInicial()\r\n/* 199: */ {\r\n/* 200:227 */ return this.anioInicial;\r\n/* 201: */ }", "title": "" }, { "docid": "0dbe580675c54c590618c3e0ad96282d", "score": "0.5823174", "text": "int getSiguiente();", "title": "" }, { "docid": "1c430574ebe0f872ca44160537044f0e", "score": "0.5811701", "text": "public long getCiudadId();", "title": "" }, { "docid": "2493e4140c2874461b362e7529d7b4e0", "score": "0.5811088", "text": "public int getIdProfe() {\n return idProfe;\n }", "title": "" }, { "docid": "a210b08db8549ac725f8f256d5fc393d", "score": "0.5803475", "text": "public Vehiculo obtenerVehiculo(){\n return v;\n }", "title": "" }, { "docid": "91c28c13311eacc446de2472485e7155", "score": "0.5802522", "text": "public static PuntoDeVenta getPuntoDeVenta()\r\n/* 172: */ {\r\n/* 173:219 */ PuntoDeVenta puntoDeVenta = (PuntoDeVenta)getAtributo(\"com.asinfo.as2.punto_de_venta\");\r\n/* 174:220 */ return puntoDeVenta;\r\n/* 175: */ }", "title": "" }, { "docid": "0e0a3b65843cb12ee78c06dd9fb29388", "score": "0.5800186", "text": "public int getId()\r\n/* 134: */ {\r\n/* 135:193 */ return this.idAnticipoCliente;\r\n/* 136: */ }", "title": "" }, { "docid": "8bfd7b6f8098d0c66c318e1c8a70f864", "score": "0.5799831", "text": "public java.lang.String getNroVuelo(){\n return localNroVuelo;\n }", "title": "" }, { "docid": "8bfd7b6f8098d0c66c318e1c8a70f864", "score": "0.5799831", "text": "public java.lang.String getNroVuelo(){\n return localNroVuelo;\n }", "title": "" }, { "docid": "8bfd7b6f8098d0c66c318e1c8a70f864", "score": "0.5799831", "text": "public java.lang.String getNroVuelo(){\n return localNroVuelo;\n }", "title": "" }, { "docid": "86513deb0149012528cd8819cfc805ac", "score": "0.57997334", "text": "public int getId()\r\n/* 75: */ {\r\n/* 76:114 */ return getIdProvincia();\r\n/* 77: */ }", "title": "" }, { "docid": "997ebcae229b5b146db09d2a39207b58", "score": "0.5796046", "text": "public String elegir() {\n\t\treturn primero.valor;\n\t}", "title": "" }, { "docid": "7895cd45f1945606f15ede952ae617b8", "score": "0.5793755", "text": "Ville getVilleA();", "title": "" }, { "docid": "9cfcc6017a4f2b6d7bfd99d01bba8d35", "score": "0.57904875", "text": "public Procedimiento getProcedimiento()\r\n/* 117: */ {\r\n/* 118:225 */ return this.procedimiento;\r\n/* 119: */ }", "title": "" }, { "docid": "87fb2314eac50cd7c68ffd47b1c0ab2a", "score": "0.57899183", "text": "public int getTelefono(){\n\t\treturn this.telefono;\n\t}", "title": "" }, { "docid": "1a30b4a855f0f31c7d6d75d791583044", "score": "0.5788204", "text": "public int getIdAnticipoCliente()\r\n/* 155: */ {\r\n/* 156:216 */ return this.idAnticipoCliente;\r\n/* 157: */ }", "title": "" }, { "docid": "e484add3d04e8c807a0f1fb0db2bde4d", "score": "0.5786044", "text": "public int getPuntuacionMaxima(){ return puntuacionMaxima;}", "title": "" }, { "docid": "895fc145ee98088cb89d4230f22b009b", "score": "0.57852024", "text": "public String obtNombrePaquete();", "title": "" }, { "docid": "2199a046e1bcfed29402991349ac447e", "score": "0.5784835", "text": "public int leer_ultimaVenta() {\r\n setError(null);\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n try {\r\n sesion = HibernateUtil.getSessionFactory().openSession();\r\n Query q = sesion.createQuery(\"from Ventas v order by v.codVentas desc\");\r\n return ((Ventas) q.list().get(0)).getCodVentas();\r\n } catch (Exception e) {\r\n setError(e.getMessage());\r\n }\r\n return 0;\r\n }", "title": "" }, { "docid": "9a40c10c886440a62598efee683ba62e", "score": "0.57839435", "text": "public int longitudRegistro()\r\n {\r\n \t return Registro.TAMANIO_REGISTRO;\r\n }", "title": "" }, { "docid": "a1554e97573efd7b937e199d1de8c2b8", "score": "0.57820004", "text": "public int getIdade() {\n return this.idade;\n }", "title": "" }, { "docid": "6bff5dca8fd686fa40330c82f6ea84dd", "score": "0.57795393", "text": "public int getIdPedido() {\n return idPedido;\n }", "title": "" }, { "docid": "576f0dfb93ae576bac566c0ecc5eab55", "score": "0.5778291", "text": "private static int proximoId() {\n //Aca se va a llamar a la base de datos para buscar el proximo ID disponible\n return 0;\n }", "title": "" }, { "docid": "04ea6e117d6ff4cdfecb6a2a02210e90", "score": "0.5776165", "text": "public ArrayList<Participante> ordenarPorNombre() {\n ArrayList<Participante> dataPorNombres = new ArrayList<>();\n dataPorNombres.addAll(informacion);\n Collections.sort(dataPorNombres,\n (o1, o2) -> o1.getNombres().compareTo(o2.getNombres())); \n return dataPorNombres; // Se devuelve la información a la Clase Principal\n }", "title": "" }, { "docid": "9b468aa46eb5d141f0b39f366debbb42", "score": "0.577417", "text": "public int getPeopleNum() {\n return peopleNum;\n }", "title": "" } ]
10a0d18eaec210249db690e545642c84
Updates the internal paging state after a remote invocation has been performed.
[ { "docid": "35adc619646f29ded773d7c90aec1e42", "score": "0.0", "text": "public boolean update(int time0, int time1, int count, int totalCount) {\n\t\tassert count >= 0;\n\n\t\tLogger.l(Logger.DEBUG, LOG_TAG, \"start:\"+start+\", nextstart:\"+nextStart+\", count:\"+count+\", total:\"+totalCount);\n\t\tboolean validBatch = false;\n\t\tboolean success = false;\n\t\t\n\t\tthis.count = count;\n\t\t\n\t\t// do a quick comparison of the last recorded ids to determine whether\n\t\t// the new batch is valid\n\t\tif ((time0 != RECORD_ID_UNKNOWN && lastStartRowId != time0)\n\t\t\t\t|| (time1 != RECORD_ID_UNKNOWN && lastEndRowId != time1)) {\n\t\t\tvalidBatch = true;\n\t\t}\n\n\t\t// always assume the batch is valid if pre-invocation total count differs than post-invocation total count\n\t\tif (this.totalCount != totalCount) {\n\t\t\tvalidBatch = true;\n\t\t}\n\n\t\tif (validBatch) {\n\t\t\t\n\t\t\tlastStartRowId = time0;\n\t\t\tlastEndRowId = time1;\n\t\t\t\n\t\t\tthis.totalCount = totalCount;\n\n\t\t\t// when previous requested starting index is greater than the totalCount - 1 that means\n\t\t\t// the reported totalCount post-invocation happens to be smaller\n\t\t\t// compared to the totalCount pre-invocation.\n\t\t\t// hence, we update and bound the current start and the next start indices.\n\t\t\tif (nextStart > totalCount - 1) {\n\t\t\t\tnextStart = totalCount - 1;\n\t\t\t}\n\t\t\tstart = nextStart;\n\t\t\t\n\t\t\t// make sure the start index is less than the totalCount and greater than 0\n\t\t\tassert start < totalCount;\n\t\t\tassert 0 <= start;\n\t\t\tsuccess = true;\n\t\t\t\n\t\t}\n\n\t\tcomputePaging();\n\t\treturn success;\n\t}", "title": "" } ]
[ { "docid": "a5cd271e4caa17122c872fece3ad0646", "score": "0.5789882", "text": "private void reloadPagingNavigator() {\n pagingNavigator = table.getRowsAjaxPagingNavigator(\"rowsPaging\");\n }", "title": "" }, { "docid": "0d7869025e78d7cb476fe06e501d1953", "score": "0.5712965", "text": "@Override\n public void onPageScrollStateChanged(int state) {\n\n if (state == ViewPager.SCROLL_STATE_IDLE) { // i.e., not scrolling at the moment\n\n pageLooper(arrangeList); // call page looper created method when state is idle so that it appears as if changed in continuation as page ends\n\n }\n\n }", "title": "" }, { "docid": "769a3eb27be296ccf43993459872da2c", "score": "0.55041623", "text": "void newer() {\n pageIndex -= PAGE_SIZE;\n if (pageIndex < 0) {\n pageIndex = 0;\n } else {\n// styleRow(selectedRow, false);\n// selectedRow = -1;\n this.eventBus.fireEvent(new PageChangedEvent(PageChangedEvent.PageChangeType.NEXT));\n }\n }", "title": "" }, { "docid": "788f21720a2d0be8c88c757f4bb7f893", "score": "0.5465275", "text": "public void handlePageIncremental(PageData pageData);", "title": "" }, { "docid": "575e07eda634ea196541deb1994720dc", "score": "0.5430965", "text": "public void setPaging(ListPagingDto paging) {\n this.paging = paging;\n }", "title": "" }, { "docid": "561701dab684ac0d90fa035575e34ca2", "score": "0.542999", "text": "public void setProcessState(int newState){ \t\n\t\t\tthis.currentState = newState;\t\t\n\t\t}", "title": "" }, { "docid": "1b4f5424e4d683f9ecab8f69ff602a2e", "score": "0.5253853", "text": "private void projectPaging() {\n\t\twau.waitVisibility(\"project.label.numberOfPagesAvailable\");\n\n\t\t//input last page count\n\t\tint maxPages = RamboUtil.getMaxPages(wau.getElementText(\"project.label.numberOfPagesAvailable\"));\n\n\t\twau.waitVisibility(\"project.field.pageNumber\");\n\t\tRamboUtil.pause(1000);\n\t\twau.clearAndWait(\"project.field.pageNumber\");\n\t\twau.sendInput(\"project.field.pageNumber\", maxPages + \"\");\n\t\twau.sendInput(\"project.field.pageNumber\", Keys.ENTER);\n\t\twau.waitVisibility(\"project.list.gridView\");\n\n\t\t//traverse through the pages backwards\n\t\tfor (int pageNum=maxPages; pageNum>1; pageNum--) {\n\n\t\t\twau.waitClickable(\"project.list.page.previousbutton\");\n\t\t\tRamboUtil.pause(1000);\n\t\t\twau.clickButtonByJS(\"project.list.page.previousbutton\");\n\t\t\tRamboUtil.pause(2000);\n\t\t\twau.waitVisibility(\"project.list.gridView\");\n\t\t}\n\t}", "title": "" }, { "docid": "40169669881807c753880cfd4f145aac", "score": "0.518164", "text": "protected Event doPageSize(RequestContext context, Object command, BindingResult errors) throws Exception{\n\t\tComponentCommand componentCommand = (ComponentCommand) command;\n\t\tScrollablePagedListHolder plh = (ScrollablePagedListHolder) componentCommand.getComponents().get(this.getDefaultObjectName());\n\t\t\n // the pageSizeHolder must be assigned to the pageSize now. this is so that the pageSize \n // value is not changed until after binding, because if binding editable list items that \n\t\t// are in pageList, binding could fail if the size of pageList changes \n\t\tplh.setPageSize(plh.getPageSizeHolder());\n\t\t// setPageSize could change page to 0, so need to set page to bound value\n\t\tplh.setPage(plh.getPageHolder());\n\t\t\n\t\t// restore the listHandler field due to web flow continuations deserialization, as the\n\t\t// jsp invokes getPageList which calls loadElements which needs listHandler\n\t\tEvent returnEvent = new Event(this,SUCCESS_FLOW_EVENT_ID);\n\t\t((BaseListSourceProvider)plh.getSourceProvider()).setListHandler(this);\n\t\ttry {\n\t\t\t// note that changing the pageSize may require changing page, if the new pageSize \n\t\t\t// results in fewer pages than the current value of page. this happens in initPageList.\n\t\t\tplh.initPageList();\n\t\t\t//need to rebuild the navigation because the page size has changes\n\t\t\tplh.getRecordNavigation(true);\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\taddObjectErrorForException(errors, e);\n\t\t\treturnEvent = new Event(this,ERROR_FLOW_EVENT_ID);\n\t\t}\n\n\t\t// setting the page size changes the number of pages, so if the current page would be\n\t\t// outside of this new number, initPageList will have updated the page, so update pageHolder\n\t\tplh.setPageHolder(plh.getPage());\n\t\t\n\t\t// nothing else needs to be done here, because the submit binds the page size on the\n\t\t// the ScrollablePagedListHolder (setPage) which determines the number of records returned by getPageList\n\t\t\n\t\treturn returnEvent;\n\t}", "title": "" }, { "docid": "847c32f8a237c6e1671b5927cc39393b", "score": "0.517411", "text": "void older() {\n pageIndex += PAGE_SIZE;\n if (pageIndex >= totalHits) {\n pageIndex -= PAGE_SIZE;\n } else {\n// styleRow(selectedRow, false);\n// selectedRow = -1;\n this.eventBus.fireEvent(new PageChangedEvent(PageChangedEvent.PageChangeType.PREVIOUS));\n }\n }", "title": "" }, { "docid": "46ddbab0f3a5c4dac8acbd7641af2c46", "score": "0.509158", "text": "protected void postNewPage()\n {\n String searchRetrieve;\n\n String sortKey = getRequestParameter(\"sortBy\");\n String baseUrl = getRequestParameter(\"url\");\n\n String resultSetId = (String) getSessionContext().get(\"resultSetId\");\n\t\tint startRecord\t= getSessionContext().getInt(\"startRecord\");\n\t\tint pageSize\t = getSessionContext().getInt(\"pageSize\");\n\n log.debug(\"New Page: starting record = \" + startRecord\n + \", page size = \" + pageSize);\n /*\n * Fix up the sort key\n */\n sortKey = normalizeSortKey(sortKey);\n /*\n * searchRetrieve parameters\n */\n sruPostVersion(CS_SRU_VERSION);\n\n sruPostSearchRetrieve();\n sruPostRecordSchema(CS_SCHEMA);\n\n sruPostMaximumRecords(pageSize);\n sruPostStartRecord(startRecord);\n /*\n * Observationally, using a sort key here will often cause the \"continue\"\n * to fail with a \"no such result set\" error from the server\n *\n * sruPostSort(sortKey);\n */\n sruPostQuery(\"cql.resultSetId=\" + resultSetId);\n xcsPostContinue();\n /*\n * Set the base URL and method.\n *\n * The sessionId parameter is required, even though we're POSTing this\n * request. See the XML API documentation for details.\n */\n\t\tsetUrl(baseUrl + \"?sessionId=\" + resultSetId);\n \tsetQueryMethod(METHOD_POST);\n }", "title": "" }, { "docid": "4f64859be4d683697da0502de2f5ec36", "score": "0.5048007", "text": "public void refresh() {\r\n // Set the status message\r\n ui.setStatus(InternationalisationUtils.getI18NString(PAYMENTVIEW_LOADED));\r\n \r\n // Check messages that have not been processed and push them through\r\n processPendingTransactions();\r\n \t\r\n // Populate the clients list and add the paging controls just below the list of clients\r\n Object clientList = getClientList();\t\t\r\n clientsPagingHandler = new ComponentPagingHandler(this.ui, this, clientList);\t\t\r\n Object pnClients = ui.find(this.paymentViewTab, COMPONENT_PN_CLIENTS);\r\n Object clientPageControls = clientsPagingHandler.getPanel();\r\n \r\n ui.setHAlign(clientPageControls, Thinlet.RIGHT);\r\n ui.add(pnClients, clientPageControls, 2);\r\n clientsPagingHandler.refresh();\t\r\n \r\n // Populate the repayments table and add the paging controls just below the list of repayments\r\n Object repaymentsTable = getRepaymentsTable();\t\t\r\n repaymentsPagingHandler = new ComponentPagingHandler(this.ui, this, repaymentsTable);\t\t\r\n Object pnRepayments = ui.find(this.paymentViewTab, COMPONENT_PN_REPAYMENTS);\r\n ui.add(pnRepayments, repaymentsPagingHandler.getPanel(), 1);\r\n repaymentsPagingHandler.refresh();\r\n \t\r\n // Populate the dispersals table and add the paging controls just below the list of dispersals \r\n Object dispersalsTable = getDispersalsTable();\t\t\r\n dispersalsPagingHandler = new ComponentPagingHandler(this.ui, this, dispersalsTable);\r\n Object pnDispersals = ui.find(this.paymentViewTab, COMPONENT_PN_DISPERSALS);\r\n ui.add(pnDispersals, dispersalsPagingHandler.getPanel(), 1);\r\n dispersalsPagingHandler.refresh();\r\n \r\n // Populate the exceptions table and add a paging handler for the exceptions\r\n Object exceptionsTable = getExceptionsTable();\r\n exceptionsPagingHandler = new ComponentPagingHandler(ui, this, exceptionsTable);\r\n \r\n Object pnExceptions = ui.find(this.paymentViewTab, COMPONENT_PN_EXCEPTIONS);\r\n ui.add(pnExceptions, exceptionsPagingHandler.getPanel(), 1);\r\n exceptionsPagingHandler.refresh();\r\n \r\n Object paymentViewTabbedPane = ui.find(this.paymentViewTab, COMPONENT_TB_PAYMENT_VIEW);\r\n SettingsTabHandler settingsTab = new SettingsTabHandler(controller, ui); \r\n settingsTab.init();\r\n \r\n ui.add(paymentViewTabbedPane, settingsTab.getTab());\r\n }", "title": "" }, { "docid": "be675e84ad91e4763c2d2517b2f790d1", "score": "0.50125", "text": "public void execute(){\n\t\tlog.debug(\"[{}] Starting execution of paged operation. max time: {}, max pages: {}\", getOperationName(), maxTime, maxPages);\n\n\t\tlong startTime = System.currentTimeMillis();\n\t\tlong executionTime = 0;\n\t\tint i = 0;\n\n\t\tint exceptionsSwallowedCount = 0;\n\t\tint operationsCompleted = 0;\n\t\tSet<String> exceptionsSwallowedClasses = new HashSet<>();\n\n\t\twhile (i < maxPages && executionTime < maxTime){\n\t\t\tCollection<T> page = fetchPage();\n\t\t\tif (page == null || page.size() == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tfor (T item : page) {\n\t\t\t\ttry {\n\t\t\t\t\tdoOperation(item);\n\t\t\t\t\toperationsCompleted++;\n\t\t\t\t} catch (Exception e){\n\t\t\t\t\tif(swallowExceptions){\n\t\t\t\t\t\texceptionsSwallowedCount++;\n\t\t\t\t\t\texceptionsSwallowedClasses.add(e.getClass().getName());\n\t\t\t\t\t\tlog.debug(\"Swallowing exception \" + e.getMessage(), e);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlog.debug(\"Rethrowing exception \" + e.getMessage());\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ti++;\n\t\t\texecutionTime = System.currentTimeMillis() - startTime;\n\t\t}\n\n\t\tfinalReport(operationsCompleted, exceptionsSwallowedCount, exceptionsSwallowedClasses);\n\t}", "title": "" }, { "docid": "3a719267310f8d55bda8236a34481be6", "score": "0.5012375", "text": "void presentFetchingNextPage(boolean fetchingNextPage);", "title": "" }, { "docid": "6c21152226e206bb700b349761be7d89", "score": "0.50030553", "text": "void onPaginate(int direction);", "title": "" }, { "docid": "f1564f8f1e86305c770a6c103b450c54", "score": "0.49910742", "text": "protected void pageUp() {\n\t\tif (this.getImages().size() >= ((this.getPageNumber() + 1) * 2) + 1) {\n\t\t\tunloadImages();\n\t\t\tpageNumber++;\n\t\t\tloadImages();\n\t\t}\n\t}", "title": "" }, { "docid": "3bf5e60cff173905a581b2f0783e159d", "score": "0.49806345", "text": "public void setPageCount(int newCount) {\n\t\tthis.pageCount = newCount;\n\t}", "title": "" }, { "docid": "84e4d9232bbfb463c3a09ee45cffacb4", "score": "0.49701986", "text": "protected Event doRefreshReturnToPage(RequestContext context, Object command, BindingResult errors) throws Exception {\n\t\tComponentCommand componentCommand = (ComponentCommand) command;\n\t\tScrollablePagedListHolder plh = (ScrollablePagedListHolder) componentCommand.getComponents().get(this.getDefaultObjectName());\n\t\tint currentPage = plh.getPage();\n\t\tif (currentPage > plh.getPageCount() && currentPage > 0) {\n\t\t\tcurrentPage--;\n\t\t}\n\t\tupdateFilterFromContext((LavaDaoFilter)plh.getFilter(), context, componentCommand.getComponents());\n\t\tEvent returnEvent = new Event(this,SUCCESS_FLOW_EVENT_ID);\n\t\ttry {\n\t\t\t((BaseListSourceProvider)plh.getSourceProvider()).setListHandler(this);\n\t\t\tplh.doRefresh();\n\t\t\tplh.setPage(currentPage);\n\t\t\tplh.initPageList();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\taddObjectErrorForException(errors, e);\n\t\t\t// return SUCCESS even if there is an error, because this event is handled after transitioning\n\t\t\t// from an entity subflow back to a list flow, so in case of error here on refreshing the list, do \n\t\t\t// not want to remain in the entity subflow; rather, want to return to the list flow and present\n\t\t\t// the error, which has been added to the command object for the list flow, not the entity subflow\n\t\t\treturnEvent = new Event(this,SUCCESS_FLOW_EVENT_ID);\n\t\t}\n\t\t\n\t\t// if this is a list with selected items, restore the items that were selected before the refresh. \n\t\t// this only applies when this is a refresh after returning from a group subflow, in which case\n\t\t// the group subflow supplies the group via an output mapper\n\t\t\n\t\tList<LavaEntity> group = (List<LavaEntity>) context.getFlowScope().get(BaseGroupComponentHandler.GROUP_MAPPING);\n\t\tif (group != null) {\n\t\t\tfor (LavaEntity entity : group) {\n\t\t\t\t// iterate thru the list of selected items, which has nothing selected at this point,\n\t\t\t\t// and select each entity that is in the group\n for (ScrollablePagedListHolder.ListItem listItem : (List<ScrollablePagedListHolder.ListItem>) plh.getSource()) {\n \tif ((listItem.getEntity() != null) && entity.getId().equals(((LavaEntity)listItem.getEntity()).getId())) {\n \t\tlistItem.setSelected(true);\n \t}\n }\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn returnEvent;\n\t}", "title": "" }, { "docid": "0f380eef82df75b2328b3014e461e715", "score": "0.49317098", "text": "public void restoreState() {\r\n Machine.processor().setPageTable(pageTable);\r\n }", "title": "" }, { "docid": "818ed8df34b782be4bd4e1666ecc7af3", "score": "0.49299657", "text": "protected void updateState() {}", "title": "" }, { "docid": "a1ee4abe6fd0e480b3bc4129a24d3f3a", "score": "0.49177575", "text": "@Override\n public void syncPages() {\n int numPages = Math.max(1,\n (int) Math.ceil((float) mFilteredApps.size() / (mCellCountX * mCellCountY)));\n int curNumPages = getChildCount();\n // remove any extra pages after the \"last\" page\n int extraPageDiff = curNumPages - numPages;\n for (int i = 0; i < extraPageDiff; ++i) {\n removeViewAt(numPages);\n }\n // add any necessary pages\n for (int i = curNumPages; i < numPages; ++i) {\n PagedViewCellLayout layout = new PagedViewCellLayout(getContext());\n layout.setCellCount(mCellCountX, mCellCountY);\n layout.setPadding(mPageLayoutPaddingLeft, mPageLayoutPaddingTop,\n mPageLayoutPaddingRight, mPageLayoutPaddingBottom);\n layout.setGap(mPageLayoutWidthGap, mPageLayoutHeightGap);\n addView(layout);\n }\n \n // bound the current page\n setCurrentPage(Math.max(0, Math.min(numPages - 1, getCurrentPage())));\n }", "title": "" }, { "docid": "3669dfeb58ebc9661378b4f2d34fb663", "score": "0.49167326", "text": "void postInvoke(EjbInvocation inv);", "title": "" }, { "docid": "14f961712e555f7444806409f4563a6e", "score": "0.49136546", "text": "public void restoreState() {\r\n\tMachine.processor().setPageTable(pageTable);\r\n }", "title": "" }, { "docid": "37c7d9979b2452e94f0607ee9e66e57e", "score": "0.49091265", "text": "public void setProcessed() throws RemoteException{\n\t\tisProcessed = true;\n\t}", "title": "" }, { "docid": "e7380c4f90d42375064862d258df0c52", "score": "0.49075633", "text": "public void updatePage(IPage page);", "title": "" }, { "docid": "cdb7f7122c8ddaab88873e2dd28d7767", "score": "0.4896734", "text": "public PagingState getPagingState()\n {\n return options.state;\n }", "title": "" }, { "docid": "2d18da56f3917a7be8d6efeeb3fe38ba", "score": "0.48885375", "text": "public void e391J2( )\n {\n S202 ();\n if (returnInSub) return;\n /* Execute user subroutine: S212 */\n S212 ();\n if (returnInSub) return;\n if ( AV30H_A_PAGING_SDT.getgxTv_SdtA_PAGING_SDT_Page_no() > 1 )\n {\n AV30H_A_PAGING_SDT.setgxTv_SdtA_PAGING_SDT_Page_no( (short)(AV30H_A_PAGING_SDT.getgxTv_SdtA_PAGING_SDT_Page_no()-1) );\n httpContext.ajax_rsp_assign_sdt_attri(\"\", false, \"AV30H_A_PAGING_SDT\", AV30H_A_PAGING_SDT);\n }\n httpContext.doAjaxRefresh();\n }", "title": "" }, { "docid": "9fbea54f6ebc067117f16b72aee35c6f", "score": "0.48820662", "text": "private void doPagination() {\n isMoreLoading = true;\n pageCount++;\n String accessToken = preferenceEndPoint.getStringPreference(\"access_token\");\n yoService.getFindPeopleAPI(accessToken, pageCount, 30).enqueue(new Callback<List<FindPeople>>() {\n @Override\n public void onResponse(Call<List<FindPeople>> call, @Nonnull Response<List<FindPeople>> response) {\n try {\n dismissProgressDialog();\n if (response.body() != null && response.body().size() > 0) {\n List<FindPeople> findPeopleList = response.body();\n findPeopleAdapter.addItemsAll(findPeopleList);\n originalList.addAll(findPeopleList);\n }\n isMoreLoading = false;\n } finally {\n if (response != null && response.body() != null) {\n try {\n response.body().clear();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }\n }\n\n @Override\n public void onFailure(Call<List<FindPeople>> call, Throwable t) {\n dismissProgressDialog();\n isMoreLoading = false;\n }\n });\n }", "title": "" }, { "docid": "9ce101d074cb3310077e9b61ceeba765", "score": "0.48793384", "text": "@Override\r\n\tpublic int modifyPage(Page p) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "c0189dfdb8d0181aa08d0d029aab3827", "score": "0.48770922", "text": "public void myInvokePageHandler(WebPageDescriptor p_pageDescriptor,\n HttpServletRequest p_request, HttpServletResponse p_response,\n ServletContext p_context) throws ServletException, IOException,\n RemoteException, EnvoyServletException\n {\n \tHttpSession session = p_request.getSession(false);\n \tSessionManager sessionMgr = (SessionManager) session\n \t\t.getAttribute(SESSION_MANAGER);\n \tboolean stateMarch = false;\n\t\tif(Job.ARCHIVED.equals((String)sessionMgr.getMyjobsAttribute(\"lastState\")))\n\t\t\t\tstateMarch = true;\n\t\tsetJobSearchFilters(sessionMgr, p_request, stateMarch);\n \t\n p_request.setAttribute(\"action\", p_request.getParameter(\"action\"));\n HashMap beanMap = invokeJobControlPage(p_pageDescriptor, p_request,\n BASE_BEAN);\n p_request.setAttribute(\"searchType\", p_request\n .getParameter(\"searchType\"));\n\n m_exportBean = new NavigationBean(EXPORT_BEAN, p_pageDescriptor\n .getPageName());\n performAppropriateOperation(p_request);\n\n sessionMgr.setMyjobsAttribute(\"lastState\", Job.ARCHIVED);\n JobVoArchivedSearcher searcher = new JobVoArchivedSearcher();\n searcher.setJobVos(p_request);\n \n p_request.setAttribute(BASE_BEAN, ((NavigationBean) beanMap\n .get(BASE_BEAN)));\n p_request.setAttribute(EXPORT_URL_PARAM, m_exportBean.getPageURL());\n p_request.setAttribute(JOB_ID, JOB_ID);\n p_request.setAttribute(JOB_LIST_START_PARAM, p_request\n .getParameter(JOB_LIST_START_PARAM));\n p_request.setAttribute(PAGING_SCRIPTLET, getPagingText(p_request,\n ((NavigationBean) beanMap.get(BASE_BEAN)).getPageURL(),\n Job.ARCHIVED));\n\n // Set the EXPORT_INIT_PARAM in the sessionMgr so we can bring\n // the user back here after they Export\n sessionMgr.setAttribute(JobManagementHandler.EXPORT_INIT_PARAM,\n BASE_BEAN);\n\n sessionMgr.setAttribute(\"destinationPage\", \"archived\");\n setJobProjectsLocales(sessionMgr, session);\n // turn on cache. do both. \"pragma\" for the older browsers.\n p_response.setHeader(\"Pragma\", \"yes-cache\"); // HTTP 1.0\n p_response.setHeader(\"Cache-Control\", \"yes-cache\"); // HTTP 1.1\n p_response.addHeader(\"Cache-Control\", \"yes-store\"); // tell proxy not to\n // cache\n // forward to the jsp page.\n RequestDispatcher dispatcher = p_context\n .getRequestDispatcher(p_pageDescriptor.getJspURL());\n dispatcher.forward(p_request, p_response);\n\n }", "title": "" }, { "docid": "70a474ea037cf15e7413a4baf8523130", "score": "0.48720014", "text": "public void updateLightningPaymentHistory() {\n // Set payment update flags to false. This way we can determine later, when update is finished.\n\n if (!mUpdatingHistory) {\n mUpdatingHistory = true;\n mPaymentsUpdated = false;\n\n fetchPaymentsFromLND();\n }\n }", "title": "" }, { "docid": "2d66fa7899932d841f3276917ded6f3b", "score": "0.48719376", "text": "private synchronized final void setState(final RPCState newState)\r\n\t{\n\t\tthis.state = newState;\r\n\t\tnotify();\r\n\t}", "title": "" }, { "docid": "e4369c7284d687b0335a474245bf42d0", "score": "0.4870021", "text": "public void restoreState() {\n\t\tMachine.processor().setPageTable(pageTable);\n\t}", "title": "" }, { "docid": "53370ce8e0bf229efb9eb271cc597544", "score": "0.48642623", "text": "public void changeProviderAvailabilityAndFillOnCallData(String state, String smsNumber, String pagerEmail) {\r\n log.info(this.getClass().getSimpleName(), \"changeProviderAvailability -> \"+ state);\r\n try {\r\n selectElementByValue(scheduleAppointmentBtnCached, state);\r\n initOnCallElementsAndFillData(smsNumber,pagerEmail);\r\n click(saveBtnCached);\r\n }\r\n catch (Exception e) {\r\n log.warn(\"Exception occurred at '\"+ this.getClass().getSimpleName() +\"' caused by: \"+ e.getMessage());\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "a5f2243adb7203e2012d0fe598e5f977", "score": "0.4863683", "text": "public T withPagingState(PagingState pagingState) {\n getOptions().setPagingState(Optional.of(pagingState));\n return getThis();\n }", "title": "" }, { "docid": "5858c78594ccffc6b2466de55dcbc62f", "score": "0.48416954", "text": "private void pagingModeSelectionChanged() {\r\n\t\tString selectionText = ControlHandler.getControlText(pagingModeViewer.getControl());\r\n\t\tFormEditorEditingContext context = new FormEditorEditingContext(editorContext.editor, pagingModeViewer.getControl());\r\n\t\tif (selectionText == null || selectionText.equals(PAGING_MODE_VALUES[PAGING_NOT_SPECIFIED])) {\r\n\t\t\tChangeFlagSettingOperation op1 = new ChangeFlagSettingOperation(editorContext.mmpView, \r\n\t\t\t\t\tcontext, pagingModeViewer.getControl(), EMMPStatement.PAGED, false);\r\n\t\t\tChangeFlagSettingOperation op2 = new ChangeFlagSettingOperation(editorContext.mmpView, \r\n\t\t\t\t\tcontext, pagingModeViewer.getControl(), EMMPStatement.UNPAGED, false);\r\n\t\t\tCompositeOperation op3 = new CompositeOperation(\"\", context, editorContext.operationHistory, false);\r\n\t\t\top3.add(op1);\r\n\t\t\top3.add(op2);\r\n\t\t\teditorContext.executeOperation(op3);\r\n\t\t}\r\n\t\telse if (selectionText.equals(PAGING_MODE_VALUES[PAGING_ENABLED])) {\r\n\t\t\tChangeFlagSettingOperation op1 = new ChangeFlagSettingOperation(editorContext.mmpView, \r\n\t\t\t\t\tcontext, pagingModeViewer.getControl(), EMMPStatement.PAGED, true);\r\n\t\t\tChangeFlagSettingOperation op2 = new ChangeFlagSettingOperation(editorContext.mmpView, \r\n\t\t\t\t\tcontext, pagingModeViewer.getControl(), EMMPStatement.UNPAGED, false);\r\n\t\t\tCompositeOperation op3 = new CompositeOperation(\"\", context, editorContext.operationHistory, false);\r\n\t\t\top3.add(op1);\r\n\t\t\top3.add(op2);\r\n\t\t\teditorContext.executeOperation(op3);\r\n\t\t}\r\n\t\telse if (selectionText.equals(PAGING_MODE_VALUES[PAGING_DISABLED])) {\r\n\t\t\tChangeFlagSettingOperation op1 = new ChangeFlagSettingOperation(editorContext.mmpView, \r\n\t\t\t\t\tcontext, pagingModeViewer.getControl(), EMMPStatement.PAGED, false);\r\n\t\t\tChangeFlagSettingOperation op2 = new ChangeFlagSettingOperation(editorContext.mmpView, \r\n\t\t\t\t\tcontext, pagingModeViewer.getControl(), EMMPStatement.UNPAGED, true);\r\n\t\t\tCompositeOperation op3 = new CompositeOperation(\"\", context, editorContext.operationHistory, false);\r\n\t\t\top3.add(op1);\r\n\t\t\top3.add(op2);\r\n\t\t\teditorContext.executeOperation(op3);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4eb28c46739faf1eb420d787de5a7015", "score": "0.48402795", "text": "public void restoreState() {\n\tMachine.processor().setPageTable(pageTable);\n }", "title": "" }, { "docid": "86557fc8ef923601249d8de522bf1787", "score": "0.483795", "text": "public void pagerefresh() {\n\t\tSystem.out.println(\"In page refresh\");\n\t\tdriver.navigate().refresh();\n\t}", "title": "" }, { "docid": "98767d7f3cc5330dcd3653bc73944255", "score": "0.4823082", "text": "@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\t\t\tmViewPager.setCurrentItem(index);\n\t\t\t\t\t\t\t\tdoChangeProfilePager();\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "1b4353cc0c09a5db98174c035275de55", "score": "0.4816601", "text": "public void simulate()\n {\n PagingProcess proc = new PagingProcess(this);\n int pageNum;\n while (pageRefs < maxRefs)\n {\n System.out.println();\n // print memory contents every time a reference is made\n System.out.format(\"Ref %-4d| Memory: \", pageRefs + 1);\n for (Page p : memory)\n System.out.format(\"%d \", p.number);\n\n pageNum = proc.getNextPageNumber();\n System.out.format(\" | Referencing Page %d.\", pageNum);\n\n // update the status of a page if in memory\n if (proc.pages[pageNum].inMemory)\n {\n \t++hits;\n \tproc.pages[pageNum].previousRef = pageRefs;\n }\n else\n { // get the page from disk and evict a page if needed\n for (int i = 0; i < disk.size(); ++i)\n {\n Page p = disk.get(i);\n if (pageNum == p.number) // desired page found\n swapPageIntoMemory(p);\n }\n }\n ++pageRefs;\n if (this instanceof MFU || this instanceof LFU)\n {\n for (Page p : memory)\n {\n p.useCount++;\n }\n }\n }\n }", "title": "" }, { "docid": "437804b220ef58d62c42f671d8e862d4", "score": "0.48153496", "text": "private void postMarkedAsModified() {\n assert Thread.holdsLock(changeStateLock) : \"must be called under changeStateLock\";\n tsRef.clear();\n if (parsingState == ParsingState.BEING_PARSED) {\n parsingState = ParsingState.MODIFIED_WHILE_BEING_PARSED;\n }\n }", "title": "" }, { "docid": "4771af6b066e208365886308414900f5", "score": "0.47954938", "text": "public abstract void setPageSize(int pageSize);", "title": "" }, { "docid": "6082e4ddd1682efb5fff344a3d42c0c7", "score": "0.4793538", "text": "public void e371J2( )\n {\n S202 ();\n if (returnInSub) return;\n /* Execute user subroutine: S212 */\n S212 ();\n if (returnInSub) return;\n AV30H_A_PAGING_SDT.setgxTv_SdtA_PAGING_SDT_Page_no( (short)(1) );\n httpContext.ajax_rsp_assign_sdt_attri(\"\", false, \"AV30H_A_PAGING_SDT\", AV30H_A_PAGING_SDT);\n httpContext.doAjaxRefresh();\n }", "title": "" }, { "docid": "c26a56f66450dbc2d59f1370f98c2357", "score": "0.4786774", "text": "protected void pageChange(int newPageIndex) \n\t{\n\t\tsuper.pageChange(newPageIndex);\n\t}", "title": "" }, { "docid": "eb3bad40ea49301e7ec17f0f4d87d77f", "score": "0.47779068", "text": "public void resetPagingLinks() {\n\t\tpagingLinks.setLength(0);\n\t}", "title": "" }, { "docid": "5b33da14caa6edc3521cf909bd00246d", "score": "0.47699565", "text": "public void e401J2( )\n {\n S202 ();\n if (returnInSub) return;\n /* Execute user subroutine: S212 */\n S212 ();\n if (returnInSub) return;\n if ( AV30H_A_PAGING_SDT.getgxTv_SdtA_PAGING_SDT_Page_no() < AV30H_A_PAGING_SDT.getgxTv_SdtA_PAGING_SDT_Max_page() )\n {\n AV30H_A_PAGING_SDT.setgxTv_SdtA_PAGING_SDT_Page_no( (short)(AV30H_A_PAGING_SDT.getgxTv_SdtA_PAGING_SDT_Page_no()+1) );\n httpContext.ajax_rsp_assign_sdt_attri(\"\", false, \"AV30H_A_PAGING_SDT\", AV30H_A_PAGING_SDT);\n }\n httpContext.doAjaxRefresh();\n }", "title": "" }, { "docid": "225e9a17b6c9e6499601468e425c76e1", "score": "0.4762205", "text": "@Override\n\t\t public void onLoadMore(int page, int totalItemsCount) {\n\t\t loadImages(page); \n\t\t }", "title": "" }, { "docid": "7cf13735b3dc9715e98098f28c9801e8", "score": "0.47490075", "text": "@Override\n public void onLastItemVisible() {\n super.onLastItemVisible();\n if (hasMore)\n return;\n if (getLoaderManager().hasRunningLoaders())\n return;\n requestPage++;\n forceRefresh();\n }", "title": "" }, { "docid": "40bf0a7941d2d054a018b7489e7f7a92", "score": "0.47472182", "text": "public void addPageReturned(Integer pageReturned)\r\n {\r\n resultsReturnedInPage.add(pageReturned);\r\n }", "title": "" }, { "docid": "2999bc7c5519363f373df3c85afcd9f9", "score": "0.47472158", "text": "@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\tindex = 1;\n\t\t\t\t\t\t\t\tmViewPager.setCurrentItem(index);\n\t\t\t\t\t\t\t\tdoChangeProfilePager();\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "683d215c3a8d9ab85374a43039707271", "score": "0.47358477", "text": "void setNilPagingCookie();", "title": "" }, { "docid": "71cb9b564538dd9a43842a32cab466be", "score": "0.4725688", "text": "protected Event doNextPage(RequestContext context, Object command, BindingResult errors) throws Exception{\n\t\tComponentCommand componentCommand = (ComponentCommand) command;\n\t\tScrollablePagedListHolder plh = (ScrollablePagedListHolder) componentCommand.getComponents().get(this.getDefaultObjectName());\n\t\t\n\t\tplh.nextPage();\n\t\tplh.setPageHolder(plh.getPage()); // keep the holder in sync \n\t\t\n\t\tEvent returnEvent = new Event(this,SUCCESS_FLOW_EVENT_ID);\n\t\t// restore the listHandler field due to web flow continuations deserialization, as the\n\t\t// jsp invokes getPageList which calls loadElements which needs listHandler\n\t\t((BaseListSourceProvider)plh.getSourceProvider()).setListHandler(this);\n\t\ttry {\n\t\t\tplh.initPageList();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\taddObjectErrorForException(errors, e);\n\t\t\treturnEvent = new Event(this,ERROR_FLOW_EVENT_ID);\n\t\t}\n\t\treturn returnEvent;\n\t}", "title": "" }, { "docid": "042f6a5c982c649dd16056493b1b2275", "score": "0.4701066", "text": "private void setPaging(HttpServletRequest request, ProjectFormAsHead pForm, int countRows, int page, int view) {\n\t\tPaginationUtility pageUtil = new PaginationUtility();\r\n\t\tpageUtil.setCountRows(countRows);\r\n\t\tpageUtil.setView(view);\r\n\t\t\r\n\t\trequest.setAttribute(\"totalData\", countRows);\r\n\t\trequest.setAttribute(\"listPage\", pageUtil.getListPaging(page));\r\n\t\trequest.setAttribute(\"pageNow\", pageUtil.getPage());\r\n\t\trequest.setAttribute(\"pageFirst\", 1);\r\n\t\trequest.setAttribute(\"pageLast\", pageUtil.getSumOfPage());\r\n\t\trequest.setAttribute(\"pagePrev\", pageUtil.getPagePrev());\r\n\t\trequest.setAttribute(\"pageNext\", pageUtil.getPageNext());\r\n\r\n\t\tpForm.setGoToPage(pageUtil.getPage());\r\n\t}", "title": "" }, { "docid": "4a6db27892e43822d683c4d2e4a567c5", "score": "0.46834922", "text": "public interface IAeInvokeInternal extends IAeInvoke\r\n{\r\n /**\r\n * Returns true if the underlying BPEL invoke activity is current. That is,\r\n * it has not moved onto a next iteration (for example in a While loop).\r\n * \r\n * The backed invoke activity is considered current if its transmission id\r\n * (use as execution iteration reference id) has not changed.\r\n */\r\n public boolean isCurrent();\r\n\r\n /**\r\n * Clean up code to dereference the underlying invoke activity.\r\n */\r\n public void dereferenceInvokeActivity();\r\n}", "title": "" }, { "docid": "3f63da02b32dddecb2118673fe44e2fb", "score": "0.46811363", "text": "protected void doNewPage()\n {\n String searchRetrieve;\n\n String sortKey = getRequestParameter(\"sortBy\");\n String baseUrl = getRequestParameter(\"url\");\n\n String resultSetId = (String) getSessionContext().get(\"resultSetId\");\n\t\tint startRecord\t= getSessionContext().getInt(\"startRecord\");\n\t\tint pageSize\t = getSessionContext().getInt(\"pageSize\");\n\n log.debug(\"New Page: starting record = \" + startRecord\n + \", page size = \" + pageSize);\n /*\n * Fix up the sort key\n */\n\t sortKey = normalizeSortKey(sortKey);\n /*\n * searchRetrieve parameters\n */\n searchRetrieve = addFirstParameter(sruVersion(CS_SRU_VERSION));\n\n searchRetrieve = addParameter(searchRetrieve, sruSearchRetrieve());\n searchRetrieve = addParameter(searchRetrieve, sruRecordSchema(CS_SCHEMA));\n\n searchRetrieve = addParameter(searchRetrieve, sruMaximumRecords(pageSize));\n searchRetrieve = addParameter(searchRetrieve, sruStartRecord(startRecord));\n\n searchRetrieve = addParameter(searchRetrieve, sruSort(sortKey));\n\n searchRetrieve = addParameter(searchRetrieve, sruQuery(\"cql.resultSetId=\"\n + resultSetId));\n searchRetrieve = addParameter(searchRetrieve, xcsContinue());\n /*\n * Set the URL and method\n */\n\t\tsetUrl(baseUrl + searchRetrieve);\n \tsetQueryMethod(METHOD_GET);\n }", "title": "" }, { "docid": "433bc421bb4a02e593489a04555e660a", "score": "0.4680376", "text": "Object process(MethodInvocation invocation, NewSpan newSpan, ContinueSpan continueSpan) throws Throwable;", "title": "" }, { "docid": "173c9550577ff5edf770900db96887cf", "score": "0.46752545", "text": "public interface PaginationAdapterCallback {\n\n void retryPageLoad();\n}", "title": "" }, { "docid": "62e11552ab940f5fc95dbeb55139d22c", "score": "0.4672016", "text": "private void setPage(final int i) {\n if (SwingUtilities.isEventDispatchThread()) {\n new Thread(() -> {\n setPage(i);\n }).start();\n return;\n }\n // try to exit the current page\n if (i > 0) {\n if (!pages_[curPage_].exitPage(curPage_ < i ? true : false)) {\n return;\n }\n }\n\n int newPage = Math.max(0, Math.min(pages_.length - 1, i));\n\n // try to enter the new page\n if (!pages_[newPage].enterPage(curPage_ > newPage ? true : false)) {\n return;\n }\n\n // everything OK so we can proceed with swapping pages\n pagePanel_.removeAll();\n curPage_ = newPage;\n\n pagePanel_.add(pages_[curPage_], \"grow\");\n pack();\n getContentPane().repaint();\n pages_[curPage_].refresh();\n\n if (curPage_ == 0) {\n backButton_.setEnabled(false);\n } else {\n backButton_.setEnabled(true);\n }\n\n if (curPage_ == pages_.length - 1) {\n nextButton_.setText(\"Finish\");\n } else {\n nextButton_.setText(\"Next >\");\n }\n\n titleLabel_.setText(pages_[curPage_].getTitle());\n }", "title": "" }, { "docid": "2d666758077e50693922910f483ad201", "score": "0.46662554", "text": "protected Event doPrevPage(RequestContext context, Object command, BindingResult errors) throws Exception{\n\t\tComponentCommand componentCommand = (ComponentCommand) command;\n\t\tScrollablePagedListHolder plh = (ScrollablePagedListHolder) componentCommand.getComponents().get(this.getDefaultObjectName());\n\n\t\tplh.previousPage();\n\t\tplh.setPageHolder(plh.getPage()); // keep the holder in sync \n\t\t\n\t\tEvent returnEvent = new Event(this,SUCCESS_FLOW_EVENT_ID);\n\t\t// restore the listHandler field due to web flow continuations deserialization, as the\n\t\t// jsp invokes getPageList which calls loadElements which needs listHandler\n\t\t((BaseListSourceProvider)plh.getSourceProvider()).setListHandler(this);\n\t\ttry {\n\t\t\t// this must be called now while sourceProvider's transient listHandler field has a value,\n\t\t\t// rather than by the jsp, because the jsp is processed in a separate request due to POST-REDIRECT-GET \n\t\t\t// and uses a deserialized command object with null listHandler field (because of web flow\n\t\t\t// continuations which serializes state for each request)\n\t\t\tplh.initPageList();\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\taddObjectErrorForException(errors, e);\n\t\t\treturnEvent = new Event(this,ERROR_FLOW_EVENT_ID);\n\t\t}\n\t\treturn returnEvent;\n\t}", "title": "" }, { "docid": "97fa66e7aa3c4fbecd208694fb88a71f", "score": "0.4662127", "text": "public Object invoke(MethodInvocation invocation) throws Throwable {\n\t\tbalanceStrategy.increment(serviceProxyList);\r\n\t\t\r\n\t\tif (stateful){\r\n\t\t\tIterator iter = serviceProxyList.iterator();\r\n\t\t\t\r\n\t\t\twhile(iter.hasNext()){\r\n\t\t\t\tObject current = iter.next();\t\r\n\t\t\t\t\r\n\t\t\t\tif (current == balanceStrategy.getCurrent()){\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tMethod methodToCall = serviceInterface.getMethod(invocation.getMethod().getName(), invocation.getMethod().getParameterTypes());\r\n\t\t\t\tmethodToCall.invoke(current, invocation.getArguments());\t\t\r\n\t\t\t}\t\t\t\t\r\n\t\t\t\r\n\t\t}\t\t\r\n\t\tObject current = balanceStrategy.getCurrent();\r\n\t\t\t\r\n\t\tMethod methodToCall = serviceInterface.getMethod(invocation.getMethod().getName(), invocation.getMethod().getParameterTypes());\r\n\t\t\t\t\t\r\n\t\treturn methodToCall.invoke(current, invocation.getArguments());\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "009fda66ade4d1ce4f4cddd50b9634b7", "score": "0.46612263", "text": "void setNoMorePages();", "title": "" }, { "docid": "ddb5c4f8e0de7d020cd5971ff09ec5b9", "score": "0.46552727", "text": "private void runPinSetup() {\n\n LOG.entering(PageFlowView.class.getName(), \"runPinSetup\");\n\n PageFlowScene scene = (PageFlowScene) getScene();\n Object objPage = scene.findObject(this);\n if (objPage instanceof Page) {\n// final WeakReference<Page> pageRef = new WeakReference<Page>((Page) objPage);\n final Page page = (Page)objPage;\n\n// runnables.add(new Runnable() {\n // XXX Revise\n EventQueue.invokeLater(new Runnable() {\n\n public void run() {\n /* This is called in redrawPins and edges setupPinsInNode(pageNode);*/\n /* Need to do updateNodeWidgetActions after setupPinInNode because this is when the model is set. */\n LOG.finest(\" PFE: Inside Thread: \" + java.util.Calendar.getInstance().getTime());\n //Page page = pageRef.get();\n// if (pageRef.get() == null) {\n// LOG.finest(\" PFE: runPinSetup will not completed because the page is now null. It may have been removed to reset graph.\");\n// return;\n// }\n if (!page.isDataNode()) {\n//// // XXX Revise\n//// EventQueue.invokeLater(new Runnable() {\n//\n// public void run() {\n if (getScene() != null) {\n removeLoadingWidget();\n }\n// }\n// });\n return;\n }\n final java.util.Collection<Pin> newPinNodes = page.getPinNodes();\n\n LOG.finest(\" PFE: Completed Nodes Setup: \" + java.util.Calendar.getInstance().getTime());\n\n// try {\n// // XXX Revise\n// EventQueue.invokeLater(new java.lang.Runnable() {\n//\n// public void run() {\n LOG.finest(\" PFE: Starting Redraw: \" + java.util.Calendar.getInstance().getTime());\n \n removeLoadingWidget();\n PageFlowScene scene = (PageFlowScene) getScene();\n Collection<NavigationCaseEdge> redrawCaseNodes = new ArrayList<NavigationCaseEdge>();\n Collection<Pin> pinNodes = new ArrayList<Pin>(scene.getPins());\n\n for (Pin pin : pinNodes) {\n if (pin.getPage() == page) {\n// assert pin.getPage().getDisplayName().equals(page.getDisplayName());\n java.util.Collection<NavigationCaseEdge> caseNodes = scene.findPinEdges(pin, true, false);\n redrawCaseNodes.addAll(caseNodes);\n if (!pin.isDefault()) {\n scene.removePin(pin);\n }\n }\n }\n if (newPinNodes.size() > 0) {\n for (org.netbeans.modules.web.jsf.navigation.Pin pinNode : newPinNodes) {\n scene.addPin(page, pinNode);\n }\n }\n for (org.netbeans.modules.web.jsf.navigation.NavigationCaseEdge caseNode : redrawCaseNodes) {\n scene.getPageFlowView().setEdgeSourcePin(caseNode, page);\n }\n scene.updateNodeWidgetActions(page);\n scene.validate();\n LOG.finest(\" PFE: Ending Redraw: \" + java.util.Calendar.getInstance().getTime());\n// }\n// });\n//// } catch (InterruptedException ex) {\n//// Exceptions.printStackTrace(ex);\n//// } catch (InvocationTargetException ex) {\n//// if (getScene() == null) {\n//// /* It is okay suppress this exception because it is expected if the scene is deleted (closed)\n//// * before the page has finished loading.\n//// */\n//// LOG.finer(\"Scene is has been closed before page has finished loading.:\" + ex);\n//// } else {\n//// Exceptions.printStackTrace(ex);\n//// }\n//// }\n }\n });\n }\n LOG.exiting(PageFlowView.class.getName(), \"runPinSetup\");\n }", "title": "" }, { "docid": "b27e715b7b2d09cf107bed5397e0f2b8", "score": "0.46424153", "text": "protected void onPostExecute(Void result) {\n mPagerAdapter.notifyDataSetChanged();\n }", "title": "" }, { "docid": "1dc1eec53dbb2a183793027575b13e9f", "score": "0.4642345", "text": "private void applyProxyChanges() {\n controller.applyChanges();\n controller.update();\n hideUnwantedItems();\n }", "title": "" }, { "docid": "0a455deef086f44afc1cc0381f421b25", "score": "0.46419787", "text": "@Override\n\tpublic void getOldPagination(OrderInfoQuery query) {\n\t\torderinfoDAO.getOldPagination(query);\n\t}", "title": "" }, { "docid": "f8bb4893be2bff42f55da7067c6b7f51", "score": "0.46325466", "text": "@Override\n\tpublic void onRefresh() {\n\t\tPageIndex = 1;\n\t\tisLoadMore = false;\n\t\tnew Thread(new getMembers(PageIndex)).start();\n\t}", "title": "" }, { "docid": "08c46328a980319cc2976d2862b5a53b", "score": "0.46301866", "text": "public static void handlePaging(){\n while (totalFinished < processes.size()){ //iterate until all the processes are finished\n\n for (int i = 0; i < processes.size(); i++){\n if (!processes.get(i).isFinished()){ //process not finished\n\n for (int j = 0; j < quantum; j++){ //acount for the quantum\n\n //If this is the first time referenced\n if (processes.get(i).isFirstTimeReference()){\n\n int freeFrame = findFreeFrame(); //find the highest numbered free frame\n\n //If there exists a free frame\n if (freeFrame != -1){\n\n frameTable[freeFrame] = new Frame(cycle, i, (int)Math.floor((double)((111 * (i+1)) % processes.get(i).getSize())/(double)pageSize));\n\n if (DEBUG){\n System.out.printf(\"%d references word %d (page %d) at time %d: Fault, using frame %d.\\n\", i+1, (111 * (i+1)) % processes.get(i).getSize(),\n (int)Math.floor((double)((111 * (i+1)) % processes.get(i).getSize())/(double)pageSize), cycle, freeFrame);\n }\n\n processes.get(i).incrementFaults();\n LIFO.add(freeFrame);\n LRU.add(freeFrame);\n\n //If there aren't any free frames\n } else {\n\n if(DEBUG){\n System.out.printf(\"%d references word %d (page %d) at time %d: \", i + 1, (111 * (i+1))%processes.get(i).getSize(),\n (int) Math.floor((double)((111 * (i+1)) % processes.get(i).getSize()) / (double)pageSize), cycle);\n }\n\n processes.get(i).incrementFaults();\n\n if (replacementAlgorithm.equals(\"lifo\")){\n\n int topIndex = LIFO.size() - 1;\n\n if(DEBUG){\n System.out.printf(\"Fault, evicting page %d of %d from frame %d.\\n\", frameTable[LIFO.get(topIndex)].getValue(),\n frameTable[LIFO.get(topIndex)].getProcess() + 1, LIFO.get(topIndex));\n }\n\n processes.get(frameTable[LIFO.get(topIndex)].getProcess()).setResidency(cycle - frameTable[LIFO.get(topIndex)].getCycle());\n processes.get(frameTable[LIFO.get(topIndex)].getProcess()).incrementEvictions();\n frameTable[LIFO.get(topIndex)] = new Frame(cycle, i, (int) Math.floor((double)((111 * (i+1)) % processes.get(i).getSize()) / (double)pageSize));\n // int temp = LIFO.get(topIndex);\n // LIFO.remove(topIndex);\n // LIFO.add(temp);\n\n } else if (replacementAlgorithm.equals(\"lru\")){\n\n if(DEBUG){\n System.out.printf(\"Fault, evicting page %d of %d from frame %d.\\n\", frameTable[LRU.get(0)].getValue(),\n frameTable[LRU.get(0)].getProcess() + 1, LRU.get(0));\n }\n\n processes.get(frameTable[LRU.get(0)].getProcess()).setResidency(cycle - frameTable[LRU.get(0)].getCycle());\n processes.get(frameTable[LRU.get(0)].getProcess()).incrementEvictions();\n frameTable[LRU.get(0)] = new Frame(cycle, i, (int) Math.floor((double)((111 * (i+1)) % processes.get(i).getSize()) / (double)pageSize));\n LRU.add(LRU.remove(0));\n\n } else if (replacementAlgorithm.equals(\"random\")){\n int randFrame = scanner.nextInt()%frameTable.length;\n\n if(DEBUG){\n System.out.printf(\"Fault, evicting page %d of %d from frame %d.\\n\", frameTable[randFrame].getValue(),\n frameTable[randFrame].getProcess() + 1, randFrame);\n }\n\n processes.get(frameTable[randFrame].getProcess()).setResidency(cycle - frameTable[randFrame].getCycle());\n processes.get(frameTable[randFrame].getProcess()).incrementEvictions();\n frameTable[randFrame] = new Frame(cycle, i, (int) Math.floor((double)((111 * (i+1)) % processes.get(i).getSize()) / (double)pageSize));\n\n } else {\n System.out.println(\"Error: Replacement Algorithm unrecognizable\");\n System.exit(0);\n }\n }\n\n processes.get(i).setFirstTimeReferencedFalse();\n processes.get(i).setPreviousRef(111 * (i+1) % processes.get(i).getSize());\n\n //If this is not the first time referenced\n } else {\n int frame = checkInTable(i , (int) Math.floor((double)processes.get(i).getCurrentRef() / (double)pageSize));\n if(DEBUG){\n System.out.printf(\"%d references word %d (page %d) at time %d: \", i + 1, processes.get(i).getCurrentRef(),\n (int)Math.floor((double)processes.get(i).getCurrentRef()/(double)pageSize), cycle);\n }\n\n //If frame not in the table\n if (frame == -1){\n processes.get(i).incrementFaults();\n int freeFrame = findFreeFrame();\n\n //If there is a free frame put the page in the frame\n if (freeFrame != -1){\n frameTable[freeFrame] = new Frame(cycle, i, (int)Math.floor((double)processes.get(i).getCurrentRef()/(double)pageSize));\n\n if(DEBUG){ System.out.printf(\"Fault, using free frame %d.\\n\", freeFrame); }\n\n LRU.add(freeFrame);\n LIFO.add(freeFrame);\n\n //If there's no free frame, evict a page depeneding on the specified algorithm from the command line\n } else {\n\n if (replacementAlgorithm.equals(\"lifo\")){\n int topIndex = LIFO.size() - 1;\n\n if(DEBUG){\n\t\t\t\t\t System.out.printf(\"Fault, evicting page %d of %d from frame %d.\\n\", frameTable[LIFO.get(topIndex)].getValue(),\n\t\t\t\t\t\t\t frameTable[LIFO.get(topIndex)].getProcess() + 1, LIFO.get(topIndex));\n\t\t\t\t\t }\n\n\t\t\t\t\t processes.get(frameTable[LIFO.get(topIndex)].getProcess()).setResidency(cycle - frameTable[LIFO.get(topIndex)].getCycle());\n\t\t\t\t\t processes.get(frameTable[LIFO.get(topIndex)].getProcess()).incrementEvictions();\n\n\t\t\t\t\t frameTable[LIFO.get(topIndex)] = new Frame(cycle, i, (int)Math.floor((double)processes.get(i).getCurrentRef()/(double)pageSize));\n\t\t\t\t\t // int temp = LIFO.get(topIndex);\n\t\t\t\t\t // LIFO.remove(topIndex);\n\t\t\t\t\t // LIFO.add(temp);\n\n } else if (replacementAlgorithm.equals(\"lru\")){\n\n if(DEBUG){\n System.out.printf(\"Fault, evicting page %d of %d from frame %d.\\n\", frameTable[LRU.get(0)].getValue(),\n frameTable[LRU.get(0)].getProcess() + 1, LRU.get(0));\n }\n processes.get(frameTable[LRU.get(0)].getProcess()).setResidency(cycle - frameTable[LRU.get(0)].getCycle());\n processes.get(frameTable[LRU.get(0)].getProcess()).incrementEvictions();\n\n frameTable[LRU.get(0)] = new Frame(cycle, i, (int)Math.floor((double)processes.get(i).getCurrentRef()/(double)pageSize));\n LRU.add(LRU.remove(0));\n\n } else if (replacementAlgorithm.equals(\"random\")){\n\n int randomFrame = scanner.nextInt() % frameTable.length;\n if (DEBUG){\n System.out.printf(\"Fault, evicting page %d of %d from frame %d.\\n\", frameTable[randomFrame].getValue(),\n\t\t\t\t\t\t\t frameTable[randomFrame].getProcess() + 1, randomFrame);\n }\n\n processes.get(frameTable[randomFrame].getProcess()).setResidency(cycle - frameTable[randomFrame].getCycle());\n processes.get(frameTable[randomFrame].getProcess()).incrementEvictions();\n frameTable[randomFrame] = new Frame(cycle, i, (int)Math.floor((double)processes.get(i).getCurrentRef()/(double)pageSize));\n\n } else {\n System.out.println(\"Error: Algorithm unrecognizable\");\n System.exit(0);\n }\n }\n\n //Update the LRU references for the resident pages\n } else {\n\n if (DEBUG){\n System.out.printf(\"Hit in frame %d.\\n\", frame);\n }\n\n for (int k = 0; k < LRU.size(); k++){\n if (frame == LRU.get(k)){\n LRU.remove(k);\n LRU.add(frame);\n break;\n }\n }\n }\n //Set previous word referenced to the current word referenced\n processes.get(i).setPreviousRef(processes.get(i).getCurrentRef());\n }\n\n //Calculate the next reference\n int random = scanner.nextInt();\n if(SHOW_RANDOM){\n System.out.printf(\"%d uses random number: %d\\n\", i + 1, random);\n }\n\n double probability = random/(Integer.MAX_VALUE + 1d);\n\n //Find the next word as described in the lab through the job mix input\n if (probability < processes.get(i).getA()) {\n processes.get(i).setCurrentRef((processes.get(i).getPreviousRef()+1)%processes.get(i).getSize());\n\n } else if(probability < processes.get(i).getA() + processes.get(i).getB()) {\n\t\t\t processes.get(i).setCurrentRef((processes.get(i).getPreviousRef()-5+processes.get(i).getSize()) % processes.get(i).getSize());\n\n\t\t\t } else if(probability < processes.get(i).getA() + processes.get(i).getB() + processes.get(i).getC()) {\n\t\t\t processes.get(i).setCurrentRef((processes.get(i).getPreviousRef()+4)%processes.get(i).getSize());\n\n //fully random\n\t\t\t } else {\n\t\t\t int tempRandom = scanner.nextInt();\n\t\t\t if(SHOW_RANDOM){\n System.out.printf(\"%d uses random number: %d\\n\", i + 1, tempRandom);\n }\n\t\t\t processes.get(i).setCurrentRef(tempRandom % processes.get(i).getSize());\n\n\t\t\t }\n\n if (processes.get(i).decrementRef()){\n totalFinished++;\n j = quantum; //skip the quantum loop if process is finished\n }\n cycle++;\n }\n }\n }\n }\n }", "title": "" }, { "docid": "1809a10dfc4331b4d411fa9ec969f454", "score": "0.4629261", "text": "public void e381J2( )\n {\n S202 ();\n if (returnInSub) return;\n /* Execute user subroutine: S212 */\n S212 ();\n if (returnInSub) return;\n AV30H_A_PAGING_SDT.setgxTv_SdtA_PAGING_SDT_Page_no( AV30H_A_PAGING_SDT.getgxTv_SdtA_PAGING_SDT_Max_page() );\n httpContext.ajax_rsp_assign_sdt_attri(\"\", false, \"AV30H_A_PAGING_SDT\", AV30H_A_PAGING_SDT);\n httpContext.doAjaxRefresh();\n }", "title": "" }, { "docid": "2151c9b0785be9a8f90fe4904e6da633", "score": "0.46287864", "text": "void modifyPaymentListAfterPaymentService() throws StateException;", "title": "" }, { "docid": "846906b39838701f780aa4e4d2c1eea8", "score": "0.46280047", "text": "public void updateOnChainTransactionHistory() {\n // Set payment update flags to false. This way we can determine later, when update is finished.\n\n if (!mUpdatingHistory) {\n mUpdatingHistory = true;\n mTransactionUpdated = false;\n\n fetchTransactionsFromLND();\n }\n }", "title": "" }, { "docid": "dbc9d5ab5efb0cd71c572b7fbe355620", "score": "0.4627358", "text": "@Override\n protected void onProgressUpdate(Integer... values) {\n progress.setMessage(\"Fetching data from page \" + values[0] + \" out of \" + maxpages + \".\");\n progress.setProgress(values[0]);\n }", "title": "" }, { "docid": "9359966e5733179173d01e555f9dabb1", "score": "0.46209946", "text": "public void setPageNumber(byte value) {\n this.pageNumber = value;\n }", "title": "" }, { "docid": "ec4497cbf74faa2ff65ab94d4a7d0d40", "score": "0.46191585", "text": "private void next(int newState) throws InterruptedException {\n state = newState;\n switch (state) {\n case PREPARE:\n // Only propose if timeToPropose is positive\n if (timeToPropose >= 0) {\n // Also randomize sleep times a little in order to reduce\n // likelihood of livelock\n Thread.sleep(timeToPropose);\n setUniqueProposal();\n promiseSet.clear();\n broadCastPrepare();\n }\n return;\n\n case PROPOSAL:\n broadCastProposal();\n acceptSet.clear();\n return;\n\n case DONE:\n System.out.println(\"PROPOSAL HAS BEEN CHOSEN: \" + Long.toString(proposalId));\n System.out.println(\"NEW PRESIDENT IS: \" + Integer.toString(proposalValue));\n synchronized (shutdown) {\n shutdown.set(true);\n shutdown.notifyAll();\n }\n parentThread.interrupt();\n return;\n\n default:\n throw new RuntimeException(\"Unknown Proposer new state: \" + Integer.toString(state)); \n }\n }", "title": "" }, { "docid": "553d06013eff4a998fdb79bae3b17dbf", "score": "0.46186647", "text": "synchronized void setBlockIncrement(int paramInt) {\n/* 727 */ this.page = paramInt;\n/* */ }", "title": "" }, { "docid": "3af9200ddd25fb0b275b253ae3de02da", "score": "0.46157345", "text": "@Override\n public void run() {\n\n\n activity.runOnUiThread(new Runnable() {\n public void run() {\n current_page = viewPager.getCurrentItem();\n page = (current_page + 1) % top_al_Article.size();//viewPagerAdapter.image_resource_id.length;\n viewPager.setCurrentItem(page,true);\n }\n });\n\n }", "title": "" }, { "docid": "6465b1f8853eaf3df47120973841991b", "score": "0.4609303", "text": "public void setProcessedResults(AuthenticationResult result)\n\t{\n\t\t_broker.setAttribute(_ac.getAttributeResults(), result);\n\t}", "title": "" }, { "docid": "001bc87fba4522cdc665935dfc0a2d4d", "score": "0.46088362", "text": "public void setPageNum(String newNum) {\n this.pageNum = newNum;\n updateResp();\n }", "title": "" }, { "docid": "d4090c516173ea44f7f57ed0aef8d776", "score": "0.4606418", "text": "@Command\n\t@NotifyChange(\"*\")\n\tpublic void paginarLista() {\n\t\tint page = pagComprasProveedor.getActivePage();\n\t\tcambiarCompras(page, null, null);\n\t}", "title": "" }, { "docid": "65a092a34bb09653cfa3cb891b58315a", "score": "0.46054476", "text": "public void e501J2( )\n {\n S202 ();\n if (returnInSub) return;\n /* Execute user subroutine: S212 */\n S212 ();\n if (returnInSub) return;\n AV30H_A_PAGING_SDT.setgxTv_SdtA_PAGING_SDT_Page_no( AV30H_A_PAGING_SDT.getgxTv_SdtA_PAGING_SDT_Page10() );\n httpContext.ajax_rsp_assign_sdt_attri(\"\", false, \"AV30H_A_PAGING_SDT\", AV30H_A_PAGING_SDT);\n httpContext.doAjaxRefresh();\n }", "title": "" }, { "docid": "8998b18ab83820ec311b594b28405063", "score": "0.46007103", "text": "@Override\n\tpublic void switchToNextPage() {\n\n\t}", "title": "" }, { "docid": "359b34abefc6954b1d9b7bf545bcbf6b", "score": "0.4599014", "text": "@Override\n\t\tpublic void run() {\n\t\t\tsynchronized (mViewPager) {\n currentItem = (currentItem+1)%images.size();\n handler.obtainMessage().sendToTarget();\n }\n\t\t}", "title": "" }, { "docid": "4c640cdf7add995739e38c901cc08778", "score": "0.458261", "text": "public void setProcessed()\r\n\t{\r\n\t\tthis.processed = true;\r\n\t}", "title": "" }, { "docid": "7b8dd1c992cebc0f22125458e50055fb", "score": "0.458135", "text": "public void e421J2( )\n {\n S202 ();\n if (returnInSub) return;\n /* Execute user subroutine: S212 */\n S212 ();\n if (returnInSub) return;\n AV30H_A_PAGING_SDT.setgxTv_SdtA_PAGING_SDT_Page_no( AV30H_A_PAGING_SDT.getgxTv_SdtA_PAGING_SDT_Page02() );\n httpContext.ajax_rsp_assign_sdt_attri(\"\", false, \"AV30H_A_PAGING_SDT\", AV30H_A_PAGING_SDT);\n httpContext.doAjaxRefresh();\n }", "title": "" }, { "docid": "74fc6bfd67f1d08963e98b41f48456f9", "score": "0.4570803", "text": "public void setPageNumber(Long pageNumber) {\r\n\t\tthis.pageNumber = pageNumber;\r\n\t}", "title": "" }, { "docid": "f78a38a6f55a4d317d173f6d0936ebab", "score": "0.4569615", "text": "@Override\r\n\tpublic void onLoadMore() {\n\t\tint newPageId = 0;\r\n\t\tif (hasNextPage)\r\n\t\t{\r\n\t\t\tnewPageId = mPageId + 1;\r\n\t\t\tgetData(newPageId, mLastId, false);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tonLoad();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1794ae9b11257c33309b597b9ed6fcad", "score": "0.45638874", "text": "private void setPagination() {\n\n mRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() {\n @Override\n public void onScrollStateChanged(RecyclerView recyclerView, int newState) {\n super.onScrollStateChanged(recyclerView, newState);\n\n int visibleItemCount = mLayoutManager.getChildCount();\n int totalItemCount = mLayoutManager.getItemCount();\n int firstVisibleItemPosition = mLayoutManager.findFirstVisibleItemPosition();\n\n if ((visibleItemCount + firstVisibleItemPosition) >= totalItemCount && firstVisibleItemPosition >= 0) {\n pageNo = pageNo + 1;\n if (mGalleryList.size() < totalRecords) {\n requestForGallery();\n }\n// else {\n // Toast.makeText(getActivity(), \"You reached bottom of page\", Toast.LENGTH_SHORT).show();\n// }\n }\n }\n });\n }", "title": "" }, { "docid": "5a1278f7751bc791d69f22157010c624", "score": "0.45613787", "text": "public void triggerNextPage () {\n clickByXPath(\"//div[@data-role='pager']//a[3]\");\n waitForLoad();\n }", "title": "" }, { "docid": "373917e1165830486f4a44c7f1272561", "score": "0.45571986", "text": "@Test\n\tpublic void testObtainNextPage() {\n\t\tfinal Collection<Foo> foos = new ArrayList<Foo>();\n\n\t\tfoos.add(new Foo());\n\n\t\tManagedPagingParallelAgent<Foo> executor = new ManagedPagingParallelAgent<Foo>(contextService,\n\t\t\t\tprocessor) {\n\t\t\t@Override\n\t\t\tprotected Collection<Foo> obtainNextPage(int number) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn foos;\n\t\t\t}\n\t\t};\n\n\t\tCollection<Foo> result = executor.obtainNextPage();\n\n\t\tassertEquals(foos, result);\n\t}", "title": "" }, { "docid": "1cc2b58fe952d54a7530ecb91660c97f", "score": "0.45533368", "text": "public void updateState()\n {\n if (this.status == PBFTState.NULL)\n {\n this.status = PBFTState.PREPARE;\n }\n final int msgViewId = currentPrePrepare.getFirst();\n\n // Check if we have univerified prepares.\n if (!this.unverifiedPrepareSet.getOrDefault(msgViewId, new ArrayList<>()).isEmpty())\n {\n this.prepareSet.addAll(this.unverifiedPrepareSet.getOrDefault(msgViewId, new ArrayList<>()).stream().filter(this::validatePrepare).collect(Collectors.toList()));\n this.unverifiedPrepareSet.remove(msgViewId);\n }\n\n // Check if we have enough verified prepares to advance state.\n if (this.prepareSet.size() >= this.view.getQuorumSize() && this.status == PBFTState.PREPARE)\n {\n //Log.getLogger().warn(\"Broadcasting commit on: \" + this.getServerData().getId() + \" at view: \" + this.view.getId());\n this.outputQueue.add(new BroadcastOperation(CommitWrapper.createCommitWrapper(this, this.prepareSet.toArray(new PrepareWrapper[0]))));\n this.status = PBFTState.COMMIT;\n }\n\n // Check if we have unverified commits.\n if (!this.unverifiedcommitMap.getOrDefault(msgViewId, new ArrayList<>()).isEmpty())\n {\n final List<CommitWrapper> list = this.unverifiedcommitMap.remove(msgViewId);\n list.removeIf(item -> !validateCommit(item));\n\n this.commitMap.put(msgViewId, list);\n }\n\n // Check if we have enough verified commits to advance state.\n if (this.commitMap.getOrDefault(msgViewId, new ArrayList<>()).size() >= this.view.getQuorumSize())\n {\n this.getView().updateView(this.currentPrePrepare.getSecond().getMessage().getPrePrepare().getView(), this);\n this.pastPrePrepare.put(currentPrePrepare.getFirst(), currentPrePrepare.getSecond());\n final Pair<Integer, PrePrepareWrapper> prep = this.currentPrePrepare;\n this.persistConsensusResult(prep.getSecond());\n this.currentPrePrepare = null;\n this.prepareSet.clear();\n this.status = PBFTState.NULL;\n }\n }", "title": "" }, { "docid": "5f8d53821a4a762eb1014627c60ec1ec", "score": "0.45482513", "text": "@Override\n\tpublic void onMore() {\n\t\tindex++;\n\t\tgetPageList(index);\n\t}", "title": "" }, { "docid": "8026c2dbfc39175f708f7945644a73a1", "score": "0.45475006", "text": "public void onPageSelected(int arg0) {\n currIndex = arg0;\n }", "title": "" }, { "docid": "7c31ec1e04b6f69ee06a2b02b163741e", "score": "0.45473364", "text": "@Override\n public void syncPageItems(int page) {\n final int cellsPerPage = mCellCountX * mCellCountY;\n final int startIndex = page * cellsPerPage;\n final int endIndex = Math.min(startIndex + cellsPerPage, mFilteredApps.size());\n PagedViewCellLayout layout = (PagedViewCellLayout) getChildAt(page);\n \n if (!mFilteredApps.isEmpty()) {\n int curNumPageItems = layout.getChildCount();\n int numPageItems = endIndex - startIndex;\n \n // If we were previously an empty page, then restart anew\n boolean wasEmptyPage = false;\n if (curNumPageItems == 1) {\n View icon = layout.getChildAt(0);\n if (icon.getTag() == null) {\n wasEmptyPage = true;\n }\n }\n \n if (wasEmptyPage) {\n // Remove all the previous items\n curNumPageItems = 0;\n layout.removeAllViews();\n } else {\n // Remove any extra items\n int extraPageItemsDiff = curNumPageItems - numPageItems;\n for (int i = 0; i < extraPageItemsDiff; ++i) {\n layout.removeViewAt(numPageItems);\n }\n }\n \n // Add any necessary items\n for (int i = curNumPageItems; i < numPageItems; ++i) {\n TextView text = (TextView) mInflater.inflate(\n R.layout.all_apps_paged_view_application, layout, false);\n text.setOnClickListener(this);\n text.setOnLongClickListener(this);\n text.setOnTouchListener(this);\n \n layout.addViewToCellLayout(text, -1, i,\n new PagedViewCellLayout.LayoutParams(0, 0, 1, 1));\n }\n \n // Actually reapply to the existing text views\n final int numPages = getPageCount();\n for (int i = startIndex; i < endIndex; ++i) {\n final int index = i - startIndex;\n final ApplicationInfo info = mFilteredApps.get(i);\n PagedViewIcon icon = (PagedViewIcon) layout.getChildAt(index);\n icon.applyFromApplicationInfo(info, mPageViewIconCache, true, (numPages > 1));\n \n PagedViewCellLayout.LayoutParams params =\n (PagedViewCellLayout.LayoutParams) icon.getLayoutParams();\n params.cellX = index % mCellCountX;\n params.cellY = index / mCellCountX;\n }\n \n // Default to left-aligned icons\n layout.enableCenteredContent(false);\n } else {\n // There are no items, so show the user a small message\n TextView icon = (TextView) mInflater.inflate(\n R.layout.all_apps_no_items_placeholder, layout, false);\n switch (mAppFilter) {\n case ApplicationInfo.DOWNLOADED_FLAG:\n icon.setText(mContext.getString(R.string.all_apps_no_downloads));\n break;\n default: break;\n }\n \n // Center-align the message\n layout.enableCenteredContent(true);\n layout.removeAllViews();\n layout.addViewToCellLayout(icon, -1, 0,\n new PagedViewCellLayout.LayoutParams(0, 0, 4, 1));\n }\n }", "title": "" }, { "docid": "001972e2bb3c4a95ad3fb1efea6ba6fa", "score": "0.45467758", "text": "private void setPageSize(int value) {\n \n pageSize_ = value;\n }", "title": "" }, { "docid": "a0d96a75fcd04902bc2e50d026073ea6", "score": "0.45444727", "text": "public void setItemsPerPage(int itemsPerPage);", "title": "" }, { "docid": "eb4a1c0c0f1a32ea590b492d8935c950", "score": "0.45443246", "text": "void webServicePostInvoke(EjbInvocation inv);", "title": "" }, { "docid": "047e83287c96a9d7f1319dc951a020ed", "score": "0.45440042", "text": "private\n void\n advanceInvocations( List< Invocable > invs,\n TestPhase phase )\n throws InterruptedException\n {\n waitCount.addAndGet( invs.size() );\n\n for ( Invocable inv : invs ) \n {\n pool.submit( new Invoke( inv, phase ) );\n }\n\n invs.clear();\n }", "title": "" }, { "docid": "662d67e8a4365128eb37bcddb18c70a0", "score": "0.4543684", "text": "@Override\r\n\t\tpublic void onPageScrollStateChanged(int state) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "ffe5bb21ac80257a97892960d07c2c59", "score": "0.45333576", "text": "public void pageDown() {\n\t\tif (pageOffset < getPageCount() - 1) {\n\t\t\tpageOffset++;\n\t\t\tfireTableDataChanged();\n\t\t}\n\t}", "title": "" }, { "docid": "467ae38975848b111daab9bdfd06b689", "score": "0.45311454", "text": "private void updateView() {\t\n\t\t\n\t\tswitch(PAGE){\n\t\tcase 1:\n\t\t\tprevButton.setEnabled(false);\n\t\t\tnextButton.setEnabled(true);\n\t\t\tpage1.updatePage();\n\t\t\tRootPanel.get().add(page1);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tprevButton.setEnabled(true);\n\t\t\tnextButton.setEnabled(true);\n\t\t\tpage2.updatePage();\n\t\t\tRootPanel.get().add(page2);\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tprevButton.setEnabled(true);\n\t\t\tnextButton.setEnabled(true);\n\t\t\tpage3.updatePage();\n\t\t\tRootPanel.get().add(page3);\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\tprevButton.setEnabled(true);\n\t\t\tnextButton.setEnabled(false);\n\t\t\tpage4.updatePage();\n\t\t\tRootPanel.get().add(page4);\n\t\t\tbreak;\t\t\n\t\t}\t\n\t\t\n\t\tshowNavigation();\n\t}", "title": "" }, { "docid": "cd18bea54edb69decc6a6fe367cd453c", "score": "0.45291808", "text": "public void setProcessed (boolean Processed);", "title": "" }, { "docid": "cd18bea54edb69decc6a6fe367cd453c", "score": "0.45291808", "text": "public void setProcessed (boolean Processed);", "title": "" }, { "docid": "c69aa808b7fc5b0a24068cac4de0dd8a", "score": "0.45123005", "text": "private void finishedState() {\n\t\trecordsProcessed = 0;\n//\t\ttotal = 0;\n\t\tprogress = 0d;\n\n\t\tcancelFlag = false;\n\n\t\tstartButton.setEnabled(true);\n\t\tprogressBar.setVisible(true);\n\t\tcancelButton.setVisible(false);\n\t}", "title": "" } ]
7bd0b2ef4e8c86d2b33a5afebf229cd7
launch the screen single post activity on clicking a particular cardview item create this activity using the empty activity template
[ { "docid": "ae6641b890424789acc89396828c94b2", "score": "0.72564083", "text": "@Override\n public void onClick(View view) {\n Intent singleActivity = new Intent(BlogDisplayActivity.this, SinglePostActivity.class);\n singleActivity.putExtra(\"PostID\", post_key);\n startActivity(singleActivity);\n ;\n }", "title": "" } ]
[ { "docid": "35757519ff71e24893d9a869ae3168b6", "score": "0.76168376", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(getBaseContext(), NewPostActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "e210669d2830b067ca1a733d43ad22e4", "score": "0.74572855", "text": "@Override\r\n public void onClick(View view) {\r\n newpostIntent();\r\n }", "title": "" }, { "docid": "4658c20101520d022ce4ab1e1f50714d", "score": "0.7258107", "text": "public void onPostItemClicked(View view, Post post){\n\n Intent intent = new Intent(view.getContext(), PostsDetailsActivity.class);\n\n intent.putExtra(PostsDetailsActivity.POST_ID,post.getId());\n intent.putExtra(PostsDetailsActivity.POST_DETAILS_OBJ,post);\n\n view.getContext().startActivity(intent);\n }", "title": "" }, { "docid": "270b46b8f27c7e4687002cb20f56ae16", "score": "0.72349256", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(context, CommentsActivity.class);\n intent.putExtra(\"postId\", homeFeedItems.getPostId());\n context.startActivity(intent);\n }", "title": "" }, { "docid": "e14f2d86af14898dc7ab2c13f8a1d5e7", "score": "0.6868075", "text": "@Override\n public void onClick(View view) {\n\n Intent i = new Intent(FavouriteList.this , ThePost.class);\n i.putExtra(\"ThePlanet\" , \"ThePlanet\");\n i.putExtra(\"postKey\" , model.getTheMainPlanetKeyPost());\n startActivity(i);\n }", "title": "" }, { "docid": "ed9ee5dcece65994b1885c291c253875", "score": "0.68402517", "text": "@Override\n public void onClick(View view) {\n startActivity(getCreateItemIntent(viewPager.getCurrentItem()));\n }", "title": "" }, { "docid": "807b9f65b79c15627e018817f3a00238", "score": "0.6776738", "text": "@Override\n public void onClick(View v) {\n final Intent gotoAddPost = new Intent(HomeActivity.this, AddPostActivity.class);\n gotoAddPost.putExtra(\"KEY_INDUSTRY\", industryName);\n gotoAddPost.putExtra(\"KEY_USERNAME\", userName);\n gotoAddPost.putExtra(\"KEY_USER_AVATAR\", postUserAvatar);\n startActivity(gotoAddPost);\n }", "title": "" }, { "docid": "0908320b0a7b86ec6d209b9ab770635c", "score": "0.67655134", "text": "@Override\n public void onClick(View v) {\n Intent i = new Intent(getApplicationContext(), PostProfile.class);\n i.putExtra(\"currentPost\", currentPost);\n startActivity(i);\n\n }", "title": "" }, { "docid": "085d965ae233d775a9da0d261f33fc9c", "score": "0.67228985", "text": "@Override\n public void onClick(View view) {\n startposting();\n\n\n }", "title": "" }, { "docid": "b118d41040440e6d5c54cb429db9488d", "score": "0.6676012", "text": "public void newPost() throws ClassNotFoundException {\r\n \tString title = getIntent().getStringExtra(\"post_title\");\r\n \tString url = getIntent().getStringExtra(\"post_url\");\r\n \tString id = getIntent().getStringExtra(\"post_id\");\r\n \tString author = getIntent().getStringExtra(\"post_author\");\r\n \t\r\n \tIntent intent = new Intent(FcmIntentHandle.this, Class.forName(prefs.getString(\"class\", null)));\r\n \t\tintent.putExtra(\"post_title\", title);\r\n \t\tintent.putExtra(\"post_url\", url);\r\n \t\tintent.putExtra(\"post_id\", id);\r\n \t\tintent.putExtra(\"post_author\", author);\r\n \t\tstartActivity(intent);\r\n \t\tfinish();\r\n }", "title": "" }, { "docid": "d6eb2a043cee559cb01e41d687382635", "score": "0.66483724", "text": "@Override\n public void onClick(View v) {\n startPosting();\n\n }", "title": "" }, { "docid": "da05288f847788988a0eb82372cb855a", "score": "0.6641517", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(view.getContext(), PostActivity.class);\n intent.putExtra(\"id\", String.valueOf(id));\n intent.putExtra(\"name\", name.getText());\n intent.putExtra(\"phone\", phone.getText());\n intent.putExtra(\"email\", email.getText());\n view.getContext().startActivity(intent);\n }", "title": "" }, { "docid": "29f4b8ed224f19890c2d02c8881a14c2", "score": "0.658026", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tpostad_Intent = new Intent(PostAd.this,BrowseAdsPlacedtoday.class);\n\t\t\t\tstartActivity(postad_Intent);\n\t\t\t}", "title": "" }, { "docid": "b4a059a4cf3330c04963b7eb99b1477e", "score": "0.6547188", "text": "@Override\n public void onClick(View view) {\n\n Intent it = new Intent(HomeActivity.this, MessagePostActivity.class);\n it.putExtra(\"uid\",uid);\n startActivity(it);\n\n }", "title": "" }, { "docid": "847260cc8937fd0c174706f1cb8f610a", "score": "0.6484369", "text": "@Override\n public void onClick(View view) {\n\n Intent intent = new Intent(context, description_page.class);\n intent.putExtra(\"image\", TourHelperClass.getImage());\n intent.putExtra(\"title\", TourHelperClass.getTitle());\n intent.putExtra(\"description\", TourHelperClass.getDescription());\n intent.putExtra(\"price\", TourHelperClass.getPrice());\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n context.startActivity(intent);\n }", "title": "" }, { "docid": "8c84c7aca7896670adb4606a1783baa7", "score": "0.646151", "text": "@Override\n\t\t\t\tpublic void onClick(View v) {\n\n\t\t\t\t\tIntent intent = new Intent(mContext, CommentActivity.class);\n\t\t\t\t\tintent.putExtra(\"entry_id\", arrEntryPojos.get(position).getID());\n\t\t\t\t\tgetActivity().startActivity(intent);\n\t\t\t\t\tgetActivity().overridePendingTransition(R.anim.fade_in, R.anim.fade_out);\n\t\t\t\t}", "title": "" }, { "docid": "79057d501437480d05cf3d332de7d978", "score": "0.64351034", "text": "@Override\n public void onClick(View v)\n {\n Intent intent = new Intent(context, BlogDetailActivity.class);\n intent.putExtra(\"title\", title);\n intent.putExtra(\"body\", body);\n intent.putExtra(\"author\", author);\n intent.putExtra(\"imgurl\", imgBlogstring);\n context.startActivity(intent);\n }", "title": "" }, { "docid": "626efe7b7987abe37e2bc04777573978", "score": "0.6401349", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tpostad_Intent = new Intent(PostAd.this,ManageListingsTab.class);\n\t\t\t\tstartActivity(postad_Intent);\n\t\t\t}", "title": "" }, { "docid": "f711dc07829cacf7c91bda8c1cfda5d4", "score": "0.63912153", "text": "@Override\n\t\t\t\tpublic void onClick(View v) {\n\n\t\t\t\t\tIntent intent = new Intent(mContext, ShareActivity.class);\n\t\t\t\t\tintent.putExtra(\"entry\", arrEntryPojos.get(position));\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t\tgetActivity().overridePendingTransition(R.anim.fade_in, R.anim.fade_out);\n\n\t\t\t\t\t// if\n\t\t\t\t\t// (arrEntryPojos.get(position).getType().equals(\"image\")) {\n\t\t\t\t\t// Utility.ShareLink(mContext,\n\t\t\t\t\t// arrEntryPojos.get(position).getImageLink());\n\t\t\t\t\t// } else if\n\t\t\t\t\t// (arrEntryPojos.get(position).getType().equals(\"audio\")) {\n\t\t\t\t\t// Utility.ShareLink(mContext,\n\t\t\t\t\t// arrEntryPojos.get(position).getAudioLink());\n\t\t\t\t\t// } else if\n\t\t\t\t\t// (arrEntryPojos.get(position).getType().equals(\"video\")) {\n\t\t\t\t\t// Utility.ShareLink(mContext,\n\t\t\t\t\t// arrEntryPojos.get(position).getVideoLink());\n\t\t\t\t\t// }\n\n\t\t\t\t}", "title": "" }, { "docid": "50b5fa4efacd258b51c3a72ef5fbfbce", "score": "0.6384046", "text": "@Override\n public void onClick(View view) {\n Uri newsWebUrl = Uri.parse( getItem(mPosition).getWebUrl());\n\n // Create a new intent to view the news item URI\n Intent websiteIntent = new Intent(Intent.ACTION_VIEW, newsWebUrl);\n\n // Send the intent to launch a new activity\n mContext.startActivity(websiteIntent);\n }", "title": "" }, { "docid": "1902ae3dc9da89b15e9bc8549248a601", "score": "0.63728344", "text": "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(getActivity(), PublishListActivity.class);\r\n\t\t\t\tstartActivity(i);\r\n\t\t\t}", "title": "" }, { "docid": "5d86104501993da4e7403335e7ee4a1a", "score": "0.635244", "text": "@Override\n public void onClick(View v) {\n\n String newPost = \"info?username=\"+GlobalData.loggedInUser.getUsername()+\"&name=\"+GlobalData.loggedInUser.getName()+\"&title=\"+ titel.getText().toString()+\n \"&description=\"+description.getText().toString()+\"&reward=\"+reward.getText().toString();\n\n try {\n\n\n PostOverviewModel temp = new CreatePostAsyncTask().execute(newPost).get();\n\n\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n Intent intent = new Intent(createPost.this, myPostOverview.class);\n\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "61f333a6365e6ab2797fbb6cb12b642a", "score": "0.63118595", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(ProductDetailsActivity.this, Comments.class);\n intent.putExtra(\"postid\", productID);\n intent.putExtra(\"publisherid\", sellerID);\n intent.putExtra(\"id\",postid);\n startActivity(intent);\n }", "title": "" }, { "docid": "611b2574a121e2500f6c070d7364fc64", "score": "0.63105285", "text": "@Override\n\t\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1,\n\t\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\t\tPost post = (Post) arg1.getTag();\n\n\t\t\t\t\tIntent intent = new Intent( getActivity(), TaxiPostDetailActivity.class);\n\t\t\t\t\tintent.putExtra(\"postID\", post.getPostID() );\n\t\t\t\t\t\n\t\t\t\t\tif ( departure != null )\n\t\t\t\t\t{\n\t\t\t\t\t\tintent.putExtra(\"fromLatitude\", String.valueOf(departure.latitude) );\n\t\t\t\t\t\tintent.putExtra(\"fromLongitude\", String.valueOf(departure.longitude) );\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif ( destination != null )\n\t\t\t\t\t{\n\t\t\t\t\t\tintent.putExtra(\"toLatitude\", String.valueOf(destination.latitude) );\n\t\t\t\t\t\tintent.putExtra(\"toLongitude\", String.valueOf(destination.longitude) );\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tstartActivityForResult(intent, REQUEST_POST_DETAIL );\n\t\t\t\t\tgetActivity().overridePendingTransition(R.anim.slide_in_from_right, R.anim.slide_out_to_left);\n\t\t\t\t}", "title": "" }, { "docid": "c1efcc4a1a9e425a8cfbe35c10474f21", "score": "0.62870383", "text": "@Override\n public void onClick(View view) {\n send_post();\n }", "title": "" }, { "docid": "baf641ed71b5b0dcd85ca37d14637d9e", "score": "0.62614053", "text": "@Override\r\n public void onClick(View arg0) {\n Intent intent = new Intent(context, SingleItemView.class);\r\n // Pass all data rank\r\n intent.putExtra(\"name\",\r\n (flowerList.get(position).getName()));\r\n // Pass all data country\r\n intent.putExtra(\"address\",\r\n (flowerList.get(position).getAddress()));\r\n // Pass all data population\r\n\r\n intent.putExtra(\"image\",flowerList.get(position).getImage());\r\n // Pass all data flag\r\n // Start SingleItemView Class\r\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n context.startActivity(intent);\r\n }", "title": "" }, { "docid": "65acc0ff8be21a8f16a8f81882959426", "score": "0.6255197", "text": "@Override\n\t\tpublic void onClick(View v) {\n\t\t\tIntent intent=new Intent(context,DefaultDetailActivity.class);\n\t\t\tintent.putExtra(\"title\", ad.getBrand());\n\t\t\tintent.putExtra(\"content\", ad.getDesc());\n\t\t\tintent.putExtra(\"imageurl\", ad.getImageurl());\n\t\t\tintent.putExtra(\"linkurl\", ad.getLinkurl());\n\t\t\tcontext.startActivity(intent);\n\t\t}", "title": "" }, { "docid": "f183f41816f0b2747397ca7a9e393140", "score": "0.62440616", "text": "@Override\n public void onArticleClicked(ItemArticleBinding binding, Article mItem) {\n TimelineDetailActivity.start(this, mItem);\n }", "title": "" }, { "docid": "f48eca6f9252b183dff4d801754a6125", "score": "0.62437767", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent intent=new Intent(YourInterestActivity.this, NewsFeedActivity.class);\r\n\t\t\t\tstartActivity(intent);\r\n\t\t\t}", "title": "" }, { "docid": "619f6ba2afd8f90f72fc08252899bc57", "score": "0.62323856", "text": "@Override\n public void onClick(View view) {\n int position = getAdapterPosition();\n if (position != RecyclerView.NO_POSITION){\n Post selectedPost = mPosts.get(position);\n ArrayList<Post> arrayList = new ArrayList<>();\n arrayList.addAll(mPosts);\n if (viewHolderListener != null) viewHolderListener.onViewHolderClicked(selectedPost, ivPostImageView, \"transition\"+position, position, arrayList, tvItemTitle, \"titleTransition\"+position, cardView, \"cardTransition\"+position);\n\n }\n }", "title": "" }, { "docid": "335e155d43e5565f12df474822e2228f", "score": "0.62216073", "text": "@Override\n public void onClick(View view) {\n\n Intent i=new Intent(getActivity(), LatestNews.class);\n startActivity(i);\n }", "title": "" }, { "docid": "f678ea913194f5a698ef3cbce11eea3b", "score": "0.6197744", "text": "@Override\n public void onClick(View view) {\n\n Intent intent = new Intent(holder.getContext(), LessonView.class);\n// intent.putExtra(\"weekxtra\", week);\n// intent.putExtra(\"titlextra\", title);\n intent.putExtra(\"content\", content);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "e0100f26be27c506d1281f01d44973a6", "score": "0.61972654", "text": "@Override\n public void onItemClick(AdapterView<?> parent, View v,\n int position, long id) {\n Post item = items.get(position);\n item.getArtist();\n Intent intent = new Intent(getApplicationContext(), DetailActivity.class);\n intent.putExtra(\"titulo\", item.getTitle());\n intent.putExtra(\"image\", item.getIm_image2());\n intent.putExtra(\"descrip\", item.getSummary());\n intent.putExtra(\"artist\", item.getArtist());\n intent.putExtra(\"category\", item.getCategory());\n intent.putExtra(\"link\", item.getLink());\n startActivity(intent);\n\n\n\n }", "title": "" }, { "docid": "5220b77eae24912781e2306b63067c45", "score": "0.6193454", "text": "@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) {\n Posts currentPost = adapter.getItem(position);\n\n if( !currentPost.getUrl().equals(\"error\")) {\n // Convert the String URL into a URI object (to pass into the Intent constructor)\n Uri postURI = Uri.parse(currentPost.getUrl());\n\n // Create a new intent to view the post URI\n Intent websiteIntent = new Intent(Intent.ACTION_VIEW, postURI);\n\n // Send the intent to launch a new activity\n startActivity(websiteIntent);\n }\n }", "title": "" }, { "docid": "540b18a896b897163a4d5b207a74da8f", "score": "0.6177072", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(), CreateEvent.class);\n PublishEvent.this.startActivity(intent);\n }", "title": "" }, { "docid": "42bee442b4c03324db5b976d9be7446a", "score": "0.6101846", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tdeltetPost();\n\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e6abab9c1385cd72a944f89e18310916", "score": "0.6086521", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(MainActivity.this, AddNewItem.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "06afcfc01fd4c2b052ace18b5b80be30", "score": "0.6074543", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(mContext, TicketViewActivity.class);\n intent.setFlags( Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.putExtra(\"ticket_id\", tag);\n mContext.startActivity(intent);\n }", "title": "" }, { "docid": "3df6b4babb9d0a0d4c69d2a87b7babd6", "score": "0.60709536", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n setContentView(R.layout.activity_post_collection_banner);\n super.onCreate(savedInstanceState);\n Bundle b = getIntent().getExtras();\n Uri data = getIntent().getData();\n if (b == null || ( b != null && b.getString(SHOPICK_POST_COLLECTION_ID, null) == null )) {\n collection_id = data.getLastPathSegment();\n collection_title = getIntent().getStringExtra(\"collection_title\");\n\n } else {\n collection_id = b.getString(SHOPICK_POST_COLLECTION_ID, \"\");\n collection_title = b.getString(SHOPICK_POST_COLLECTION_TITLE, \"Offers\");\n }\n\n mContext = getApplicationContext();\n mFeedAdapters = new FeedRecyclerAdapter(this);\n\n //Set Navigational Items\n Toolbar toolbar = getActionBarToolbar();\n toolbar.setNavigationIcon(R.drawable.ic_arrow_back_grey_300_18dp);\n toolbar.setNavigationOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n AnalyticsManager.sendEvent(TAG, \"Discarded item\", \"category\", 0L);\n supportFinishAfterTransition();\n }\n });\n\n if (!TextUtils.isEmpty(collection_title)) {\n setTitle(collection_title);\n }\n\n\n recyclerView_feed.setLayoutManager(new LinearLayoutManager(getApplicationContext()));\n recyclerView_feed.addItemDecoration(new SimpleDividerItemDecoration(getApplicationContext(), 10, false));\n recyclerView_feed.setItemAnimator(new DefaultItemAnimator());\n\n sendPostCollectionEvent();\n\n AnalyticsManager.sendScreenView(SCREEN_NAME);\n\n }", "title": "" }, { "docid": "551b96a1191a2036b35b060ec2bfb23c", "score": "0.60693747", "text": "@Override\n public void onClick(View view) {\n int position = getLayoutPosition(); // gets item position\n Intent intent = new Intent(itemView.getContext(), ArticleBrowserActivity.class);\n intent.putExtra(\"url\", mArticles.get(position).getArticleUrl());\n itemView.getContext().startActivity(intent);\n }", "title": "" }, { "docid": "551b96a1191a2036b35b060ec2bfb23c", "score": "0.60693747", "text": "@Override\n public void onClick(View view) {\n int position = getLayoutPosition(); // gets item position\n Intent intent = new Intent(itemView.getContext(), ArticleBrowserActivity.class);\n intent.putExtra(\"url\", mArticles.get(position).getArticleUrl());\n itemView.getContext().startActivity(intent);\n }", "title": "" }, { "docid": "bd96e8c1755ef9b6dae7da5d18ee1710", "score": "0.6051512", "text": "@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tIntent intent = new Intent();\n\t\t\t\t\t\tintent.setClass(mContext, GoodsArticleActivity.class);\n\t\t\t\t\t\tintent.putExtra(\"item\", p);\n\t\t\t\t\t\tmContext.startActivity(intent);\n\t\t\t\t\t}", "title": "" }, { "docid": "bd96e8c1755ef9b6dae7da5d18ee1710", "score": "0.6051512", "text": "@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tIntent intent = new Intent();\n\t\t\t\t\t\tintent.setClass(mContext, GoodsArticleActivity.class);\n\t\t\t\t\t\tintent.putExtra(\"item\", p);\n\t\t\t\t\t\tmContext.startActivity(intent);\n\t\t\t\t\t}", "title": "" }, { "docid": "cae325b50d1e88bbdf1830eee426a45f", "score": "0.60506076", "text": "@Override\n public void onClick(View view) {\n Intent intent = PetPagerActivity.newIntent(getActivity(), mPet.getId());\n startActivity(intent);\n }", "title": "" }, { "docid": "55bd458d97806737255992c476ba3a67", "score": "0.6047796", "text": "@Override\n public void onClick(View v) {\n Intent in = new Intent(ShareActivity.this, ListContact.class);\n startActivity(in);\n }", "title": "" }, { "docid": "6b36c064f5f6449baaf89801ae573739", "score": "0.6037055", "text": "@Override\n public void onClick(View v) {\n\n Intent intent = new Intent(view.getContext(), EndpageActivity.class);\n\n // values to pass to endpage activity\n intent.putExtra(\"_id\", sectionsCardviewItems._id);\n intent.putExtra(\"title\", sectionsCardviewItems.title);\n intent.putExtra(\"description\", sectionsCardviewItems.description);\n intent.putExtra(\"article\", sectionsCardviewItems.article);\n intent.putExtra(\"image_id\", sectionsCardviewItems.image_id);\n intent.putExtra(\"image\", sectionsCardviewItems.image);\n\n // start Endpage Activity with values passed\n view.getContext().startActivity(intent);\n }", "title": "" }, { "docid": "ddbc4b6ba9f7f570582c1a7a6e604ea7", "score": "0.602379", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(MainActivity.this,AddJournalEntry.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "b4e66fcfdad104e7339f0e20d9200f5d", "score": "0.6018906", "text": "public void onClickPostNow() {\n String postText = _binding.etPost.getText().toString(); // Gets the info\n if (postText.isEmpty()) { // Validates the information\n Toast.makeText(this, getResources().getString(R.string.text_required), Toast.LENGTH_SHORT).show();\n return;\n }\n _binding.btnPost.setEnabled(false); // Disables the button to avoid some post with the same information while the process happens\n savePostInBackground(createNewPost()); // Saves the Post if possible\n }", "title": "" }, { "docid": "73d47cd590b2e85605a1ef27f1817482", "score": "0.6018379", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(getApplicationContext(), CreateNewProviderActivity.class);\n Bundle b = new Bundle();\n b.putString(Constants.ARG_PARAM_RSS_PROVIDER_ID, null);\n intent.putExtras(b);\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(intent);\n }", "title": "" }, { "docid": "01178c2c683d2f2817922b3dfa561299", "score": "0.6018343", "text": "@Override\n public void onClick(View view) {\n performPostApi();\n }", "title": "" }, { "docid": "531a00fa89e20c7d4f82f6b28e35ad70", "score": "0.60181224", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(MainActivity.this, FbCommentsActivity.class);\n\n // passing the article url\n intent.putExtra(\"url\", \"http://www.androidhive.info/2016/06/android-firebase-integrate-analytics/\");\n startActivity(intent);\n }", "title": "" }, { "docid": "409295534a2fca804fcfa37b040da397", "score": "0.599764", "text": "@Override\n public void onClick(View v) {\n Utility.mAsyncRunner.request(postId, new WallPostRequestListener());\n }", "title": "" }, { "docid": "ac2010c082c5fb42ace9b3a5a212fa60", "score": "0.5977625", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(DashboardGridFab.this, Recyclerview.class);\n intent.putExtra(\"userID\", userID);\n intent.putExtra(\"token\", token);\n intent.putExtra(\"instance\", instanceStr);\n intent.putExtra(\"lg\", lg);\n intent.putExtra(\"bg\", bg);\n startActivity(intent);\n }", "title": "" }, { "docid": "ee6545fdeb4e847e4a60146b30ae9e23", "score": "0.59710217", "text": "@Override\n public void onClick(View v) {\n Intent buttonNewTask= new Intent(getApplicationContext(), NewTask.class);\n startActivity(buttonNewTask);\n\n }", "title": "" }, { "docid": "45b9699ba2f8c23648ac4a02af1c2409", "score": "0.5970341", "text": "@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tIntent intent=new Intent(mContext,LikesActivity.class);\n\t\t\t\t\t\tintent.putExtra(\"EntryId\",arrEntryPojos.get(position).getID());\n\t\t\t\t\t\tmContext.startActivity(intent);\n\t\t\t\t\t}", "title": "" }, { "docid": "d11923ecc07f0187dfad755c1c621110", "score": "0.596215", "text": "@Override\n public void onClick(Card card, View view) {\n Intent i=new Intent(CategoryActivity.this, ProductsActivity.class);\n i.putExtra(AppConstants.KEY_CATEGORY, ((CategoryCard) card).getCategory().getName());\n startActivity(i);\n }", "title": "" }, { "docid": "964cdac6801636645e4c392647975de8", "score": "0.59590274", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(Intent.ACTION_VIEW,\n Uri.parse(\"http://cbsnews.com\"));\n // Start the activity\n startActivity(intent);\n }", "title": "" }, { "docid": "8412505ed659bbbf84032f48e05946a0", "score": "0.5947999", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(Intent.ACTION_VIEW,\n Uri.parse(\"http://nbcnews.com\"));\n // Start the activity\n startActivity(intent);\n }", "title": "" }, { "docid": "53be7f479bca12eb71e56fee85e71fd2", "score": "0.5942595", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(Intent.ACTION_VIEW,\n Uri.parse(\"http://abcnews.com\"));\n // Start the activity\n startActivity(intent);\n }", "title": "" }, { "docid": "1baad3988deba3924451d8f84c6615da", "score": "0.59355325", "text": "@Override\n public void onItemClicked(int position) {\n Log.d(\"MainActivity\", \"Single click on poster at position \" + position);\n // Create new activity using an intent\n Intent i = new Intent(MainActivity.this, DetailsActivity.class);\n // Pass relevant data being viewed\n i.putExtra(KEY_ITEM_TITLE, movies.get(position).getTitle());\n i.putExtra(KEY_ITEM_SUMMARY, movies.get(position).getOverview());\n i.putExtra(KEY_ITEM_POSITION, position);\n i.putExtra(KEY_ITEM_RATING, movies.get(position).getRating());\n i.putExtra(KEY_ITEM_POSTER, movies.get(position).getPosterPath());\n i.putExtra(KEY_TRAILER_ID, movies.get(position).getId());\n i.putExtra(KEY_TRAILER_PATH, movies.get(position).getTrailerPath());\n i.putExtra(KEY_BACKGROUND_PATH, movies.get(position).getBackdropPath());\n // Display activity\n startActivity(i);\n }", "title": "" }, { "docid": "7f89b7f890629f967c551a6c81707a83", "score": "0.59310836", "text": "@Override\n public void onClick(View v) {\n Intent intent=new Intent(mContext, ProductDetail.class);\n intent.putExtra(\"pid\",String.valueOf(item.getPid()));\n intent.putExtra(\"uid\",String.valueOf(item.getUid()));\n mContext.startActivity(intent);\n }", "title": "" }, { "docid": "64f04f88c60edcd1e91e232be52fbc06", "score": "0.59148663", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\teditPost();\n\t\t\t}", "title": "" }, { "docid": "b3cff2fe7c035f397f2712ef87a08fe2", "score": "0.59107137", "text": "public void onClick(View v) {\n Log.v(\"CLICKED\", \"Add Medications\");\n Intent myIntent = new Intent(MainActivity.this, AddMeds.class);\n MainActivity.this.startActivity(myIntent);\n }", "title": "" }, { "docid": "7ff78607a5dc9e62911262ec28220630", "score": "0.5905969", "text": "@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position,\n\t\t\tlong id) {\n\t\tMovie localMovie1 = (Movie)this.rowItems.get(position);\n\t\t\n\t String str1 = localMovie1.getTitle();\n\t String str2 = localMovie1.getDetails();\n\t String str3 = localMovie1.getThumbnailUrl();\n\t String str4 = localMovie1.getCategory();\n\t String str5 = localMovie1.getContact_name();\n\t String str6 = localMovie1.getPrice();\n\t String str7 = localMovie1.getEmail();\n\t String str8 = localMovie1.getLocation();\n\t String Str9 = localMovie1.getPhone_contact();\n\t \n\t Intent postdetails = new Intent(HomeActivity.this,PostDetailActivity.class);\n\t \n\t postdetails.putExtra(\"title\", str1);\n\t postdetails.putExtra(\"details\", str2);\n\t postdetails.putExtra(\"thumbnailUrl\", str3);\n\t postdetails.putExtra(\"category\", str4);\n\t postdetails.putExtra(\"contact_name\",str5);\n\t postdetails.putExtra(\"price\", str6);\n\t postdetails.putExtra(\"email\", str7);\n\t postdetails.putExtra(\"location\", str8);\n\t postdetails.putExtra(\"phone_contact\", Str9);\n\n\t startActivity(postdetails);\n\t\t\n\t}", "title": "" }, { "docid": "c51565f67b35940470902edd7f44b74c", "score": "0.589684", "text": "public void btnCardListDemoClick(View v)\n {\n Intent intent = new Intent(this, CardListActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "5f0e52ef3e3b62209239537bc39f2f11", "score": "0.58940375", "text": "public void onClick(View v) {\n Log.v(\"CLICKED\", \"Add Contact\");\n Intent myIntent = new Intent(MainActivity.this, MedTaken.class);\n MainActivity.this.startActivity(myIntent);\n }", "title": "" }, { "docid": "f0ab76c8610f1c1986d95898518ca1dc", "score": "0.58887047", "text": "@Override\n public void onPosterClick() {\n Intent intent = new Intent(Intent.ACTION_GET_CONTENT);\n intent.setType(\"image/*\");\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n if (intent.resolveActivity(getActivity().getPackageManager()) != null) {\n startActivityForResult(intent, RC_POSTER_PIC);\n }\n }", "title": "" }, { "docid": "436b3eb680197202694b7b9a0c682790", "score": "0.5882023", "text": "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n News news = (News) adapter.getItem(position);\n Intent i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(news.getUrl()));\n startActivity(i);\n }", "title": "" }, { "docid": "8390670f2939edb21f4698b5a67c595b", "score": "0.5866038", "text": "@Override\r\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tLayoutParams params = new LayoutParams(\r\n\t\t\t\t\t\t\tLayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);\r\n\t\t\t\t\tinflater = TabNewsActivity.this.getLayoutInflater();\r\n\t\t\t\t\t// page = inflater.inflate(R.layout.layout_news_top, null);\r\n\t\t\t\t\tIntent intent = new Intent();\r\n\t\t\t\t\tintent.setClass(TabNewsActivity.this,\r\n\t\t\t\t\t\t\tTabNewsTopActivity.class);\r\n\t\t\t\t\t// intent.putExtra(\"title\", HttpRequestUrl.URL_NEWS_TOP);\r\n\t\t\t\t\tintent.putExtra(\"news.newsTitle\", id);\r\n\t\t\t\t\tpage = TabNewsActivity.this.getLocalActivityManager()\r\n\t\t\t\t\t\t\t.startActivity(\"activity1\" + id, intent)\r\n\t\t\t\t\t\t\t.getDecorView();\r\n\t\t\t\t\tlayout_news_main.removeAllViews();\r\n\t\t\t\t\tlayout_news_main.addView(page, params);\r\n\t\t\t\t\t// layout_news_main.invalidate();\r\n\t\t\t\t}", "title": "" }, { "docid": "6d33fe0aaf11beb2505308fdf61fc4d2", "score": "0.58640933", "text": "private void openFeedPage() {\n Intent i = new Intent(getApplicationContext(), FeedPage.class);\n startActivity(i);\n }", "title": "" }, { "docid": "2f41de5b11fb45e8d14f01d34d7fbc47", "score": "0.58448863", "text": "public void onClick(View v) {\n Log.v(\"CLICKED\", \"View Medications\");\n Intent myIntent = new Intent(MainActivity.this, MedList.class);\n MainActivity.this.startActivity(myIntent);\n }", "title": "" }, { "docid": "63ae39973085c0cf258f76a88085c9db", "score": "0.58443034", "text": "@Override\r\n\tpublic void onClick(View v) {\n\t\tint id = v.getId();\r\n\t\tLayoutParams params = new LayoutParams(LayoutParams.FILL_PARENT,\r\n\t\t\t\tLayoutParams.FILL_PARENT);\r\n\t\tinflater = getLayoutInflater();\r\n\t\t// page = inflater.inflate(R.layout.layout_news_top, null);\r\n\t\tIntent intent = new Intent();\r\n\t\tintent.setClass(TabNewsActivity.this, TabNewsTopActivity.class);\r\n\t\t// intent.putExtra(\"title\", HttpRequestUrl.URL_NEWS_TOP);\r\n\t\tintent.putExtra(\"news.newsTitle\", id);\r\n\t\tpage = getLocalActivityManager().startActivity(\"activity1\", intent)\r\n\t\t\t\t.getDecorView();\r\n\t\tlayout_news_main.removeAllViews();\r\n\t\tlayout_news_main.addView(page, params);\r\n\r\n\t}", "title": "" }, { "docid": "0868736837a1b8c660b41cbe73386ccc", "score": "0.5841316", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t\n\t\t\t\tmContext.startActivity(new Intent(mContext, DetailActivity.class));\n\t\t\t}", "title": "" }, { "docid": "8318c8a54a5de5f9cdab6eb9386e870c", "score": "0.5830263", "text": "@Override\n public void onClick(View v) {\n int position = getAdapterPosition();\n adInfo item = listitems.get(position);\n\n /**\n *\n * get the info for the clicked ad to show it in the next {@link DetailsScreen}\n */\n adInfo clickedAd = new adInfo(item.getTitle(),item.getUrl(),item.getPicture(),item.getOrder());\n\n\n Intent intent = new Intent(context, com.assem.ibrahem.adtask.DetailsScreen.class);\n intent.putExtra(\"MyTitle\", clickedAd.getTitle());\n intent.putExtra(\"MyPicture\", clickedAd.getPicture());\n intent.putExtra(\"MyUrl\", clickedAd.getUrl());\n context.startActivity(intent);\n\n }", "title": "" }, { "docid": "9d7c1cf62da4971d95485690371bc574", "score": "0.58282465", "text": "@Override\n public void onClick(View v) {\n Intent i = new Intent(context.getApplicationContext(), prview.class);\n i.putExtra(\"id\",ids[position]);\n context.startActivity(i);\n\n }", "title": "" }, { "docid": "cad26039b493ca0a388c98c426215b05", "score": "0.58271694", "text": "@Override\n\t\t\t\tpublic void onClick(View v) {\n\n\t\t\t\t\tif (isDataLoaded) {\n\n\t\t\t\t\t}\n\t\t\t\t\tIntent intent = new Intent(mContext, InformationReportActivity.class);\n\t\t\t\t\tintent.putExtra(\"entry\", arrEntryPojos.get(position));\n\t\t\t\t\tgetActivity().startActivity(intent);\n\t\t\t\t\tgetActivity().overridePendingTransition(R.anim.fade_in, R.anim.fade_out);\n\t\t\t\t}", "title": "" }, { "docid": "7d9f2d9c6128a5847921d38eb3b56d19", "score": "0.58200806", "text": "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent i = new Intent(getActivity(), MyCollectionActivity.class);\r\n\t\t\t\tstartActivity(i);\r\n\t\t\t}", "title": "" }, { "docid": "9200536ec69ec985d9222d2b114c5d6e", "score": "0.5817766", "text": "@Override\n public void onBindViewHolder(ViewHolder holder, int position) {\n final Article article = articleList.get(position);\n\n holder.mFeaturedView.setText((article.getTags() != null ? article.getTags().get(0) : ctx.getString(R.string.app_name)));\n holder.mTitleText.setText(article.getTitle());\n Uri image = article.getImage();\n String url = image.toString().replace(\"-150x150\", \"\");\n\n if(url.isEmpty()){\n Picasso.with(ctx).load(R.drawable.feed_default).fit().into(holder.mMainImage);\n }else{\n Picasso.with(ctx).load(url).error(R.drawable.feed_default).fit().into(holder.mMainImage);\n }\n\n holder.mMainImage.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Context ctx = v.getContext();\n Intent intent = new Intent(ctx, PostActivity.class);\n intent.putExtra(\"article\", article);\n ctx.startActivity(intent);\n }\n });\n\n holder.mCommentText.setText(String.format(ctx.getString(R.string.posted_by), article.getAuthor()));\n\n DateTime articleTime = new DateTime(article.getDate());\n DateTime now = new DateTime();\n Period period = new Period(articleTime, now);\n\n holder.mCreatedDate.setText(MessageFormat.format(ctx.getString(R.string.day_number), period.getDays()));\n \n }", "title": "" }, { "docid": "73524fd2fd3ee0661cd68bcc1aa9b959", "score": "0.5816432", "text": "@Override\n public void onClick(View arg0) {\n Intent intent = new Intent(mContext, SingleItemView.class);\n System.out.println(worksList.get(position).getPrice().toString());\n // Pass all data price\n intent.putExtra(\"price\", worksList.get(position).getPrice().toString());\n // Pass all data title\n intent.putExtra(\"title\", (worksList.get(position).getTitle()));\n // Pass all data details\n intent.putExtra(\"details\", (worksList.get(position).getDetails()));\n // Pass all data flag\n // Start SingleItemView Class\n mContext.startActivity(intent);\n }", "title": "" }, { "docid": "cbe7743c212bd4f644335be3669d554a", "score": "0.58151793", "text": "@Override\n public void onClick(View v) {\n\n int position = getAdapterPosition();\n ComplainModel c = this.listitem.get(position);\n Intent i = new Intent(this.ctx,RComplain.class);\n\n // i.putExtra(\"img\",bitmap);\n\n i.putExtra(\"topic\",c.getCtop());\n i.putExtra(\"id\",c.getCid());\n i.putExtra(\"location\",c.getCloc());\n i.putExtra(\"name\",c.getCname());\n i.putExtra(\"contact\",c.getContact());\n i.putExtra(\"griv\",c.getCgriv());\n // images pass garna\n\n this.ctx.startActivity(i);\n\n\n\n }", "title": "" }, { "docid": "81721c1e7c756c50e9d46d9a0b428674", "score": "0.5812538", "text": "public void onNewPostButtonClick(View view) {\n\n // Set up popup\n LayoutInflater inflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);\n View popupView = inflater.inflate(R.layout.post_popup_window, null);\n int width = LinearLayout.LayoutParams.WRAP_CONTENT;\n int height = LinearLayout.LayoutParams.WRAP_CONTENT;\n popup = new PopupWindow(popupView, width, height, true);\n\n // Launch popup and define content\n popup.showAtLocation(view, Gravity.CENTER, 0, 0);\n View popupContent = popup.getContentView();\n\n // Defining spinners\n Spinner categorySpinner = popupContent.findViewById(R.id.popup_category);\n Spinner typeSpinner = popupContent.findViewById(R.id.popup_type);\n\n // Setting up spinner listeners + adapters\n setUpSimpleSpinner(categorySpinner, R.array.category_array, \"post-category\");\n setUpSimpleSpinner(typeSpinner, R.array.type_array, \"post-type\");\n\n }", "title": "" }, { "docid": "85aa3624637b828ab5b2d8773dc72d75", "score": "0.5812052", "text": "@Override\n public void onClick(View arg0) {\n try {\n Intent intent = new Intent(context.getApplicationContext(), UserDetailNewActivity.class);\n intent.putExtra(\"uid\", listData.get(position).getUid());\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n context.startActivity(intent);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "cd3520b5a236d6d6a5f9eb11d6c3f0f7", "score": "0.5810127", "text": "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\r\n\t\t\t\tintent.putExtra(Constant.INTNET_URL, mEntity.getUrl());\r\n\t\t\t\tintent.putExtra(Constant.INTNET_TITLE, \"新闻动态\");\r\n\t\t\t\tintent.setClass(HomeSuyuanAdapter.this.mActivityFragmentSupport, CommonWebActivity.class);\r\n\t\t\t\tHomeSuyuanAdapter.this.mActivityFragmentSupport.startActivity(intent);\r\n\t\t\t}", "title": "" }, { "docid": "10e8e359bea19149f2934a9543b3e38f", "score": "0.58061165", "text": "@Override\n public void onClick(View v) {\n Intent intent1 = new Intent(ItemDetails.this, AddReviewsActivity.class);\n intent1.putExtra(AddReviewsActivity.INCOMING_ITEM_ID, itemId);\n intent1.putExtra(AddReviewsActivity.INCOMING_CHEF_ID, chefId);\n intent1.putExtra(AddReviewsActivity.INCOMING_ITEM_NAME, item_name);\n startActivity(intent1);\n Toast.makeText(ItemDetails.this, \"writeReview\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "b21089984851f9c70b7023c9b3d3b449", "score": "0.5805906", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent intent = new Intent(context, UpDetailActivity.class);\n\t\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); \n\t\t\t\tintent.putExtra(\"up\", up);\n\t\t\t\tcontext.startActivity(intent);\n\t\t\t}", "title": "" }, { "docid": "76782d386a86ff69161f6a8cb7779eda", "score": "0.5804661", "text": "@Override\r\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\r\n\t\t\t\t\tlong arg3) {\n\t\t\t\tIntent msgcmt = new Intent(getActivity(), list_comment.class);\r\n\t\t\t\tstartActivity(msgcmt);\r\n\t\t\t}", "title": "" }, { "docid": "95fa5ba8daab8f80235955530b88bb4b", "score": "0.57985055", "text": "@Override\n public void onClick(View view) {\n Log.d(\"position\", \"\"+position);\n Intent intent = new Intent(getApplicationContext(), ItemViewActivity.class);\n //pass necessary information to populate activity layout\n intent.putExtra(\"title\", model.getTitle());\n intent.putExtra(\"type\", model.getType());\n intent.putExtra(\"place\", model.getPlace());\n intent.putExtra(\"contact\", model.getContactInfo());\n intent.putExtra(\"desc\", model.getDescription());\n intent.putExtra(\"image\", model.getImage());\n intent.putExtra(\"date\", model.getDate());\n intent.putExtra(\"status\", model.getIsLost());\n Log.d(\"image\", \"putting image string: \" + model.getImage());\n startActivity(intent);\n\n }", "title": "" }, { "docid": "474510b19ee2969392ec66ee07b1ccdd", "score": "0.5797758", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent intent=new Intent(context,ZixunActivity.class);\n\t\t\t\tintent.putExtra(\"name\", doc.getName());\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\t\t\t\tcontext.startActivity(intent);\n\t\t\t}", "title": "" }, { "docid": "1ccb65b96b7a490939c74a9927d3efa6", "score": "0.5791712", "text": "@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tlaunchAnotherActivity();\n\t\t\t\t\t}", "title": "" }, { "docid": "eebdfab255ed964e3c16e153190ec6cc", "score": "0.5785028", "text": "@Override\n public void onClick(View view) {\n startActivity(intent);\n }", "title": "" }, { "docid": "e0ea6c0668c198031d46b080d491342c", "score": "0.5784369", "text": "@Override\n\tpublic void onClick(View v) {\n\t\tif(v.getId() == R.id.btCPPost){\n\t\t\tif(postTags.getText().toString().length() == 0 ){\n\t\t\t\t// notify user\n\t\t\t\tToast toast = Toast.makeText(this, \"fill required fields\",Toast.LENGTH_LONG);\n\t\t\t\ttoast.show();\n\t\t\t} else{\n\t\t\t\tboolean status = true;\n\t\t\t\ttry{\n\t\t\t\tGFDBHelper gfDB = new GFDBHelper(CreatePost.this);\n\t\t gfDB.openConnection();\n\t\t String place = \"\", problem = \"\";\n\t\t if(postCheck.isChecked()){\n\t\t \tproblem = \"Problem\";\n\t\t }else{\n\t\t \tplace = \"Place\";\n\t\t }\n\t\t gfDB.registerPost(\"\", currentUser, \"100\", \"text\", place, problem, \"\", \"\", \"\", \"1\");\n\t\t gfDB.closeConnection();\n\t\t\t\t} catch(Exception e){\n\t\t\t\t\tstatus = false;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if(v.getId() == R.id.btCPHashTag){\n\t\t\tpostTags.setText(postTags.getText().toString() + \"#Accident\");\n\t\t} else if(v.getId() == R.id.btCPCamera){\n\t\t\t\n\t\t} else if(v.getId() == R.id.btCPPost){\n\t\t\t\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "40ce684cd76dba592ed09b76a3d6f336", "score": "0.57823795", "text": "@Override\n public void onClick(View view) {\n startActivity(new Intent(MainActivity.this, BidsActivity.class));\n }", "title": "" }, { "docid": "28e50653094e99191d270f4b13d2a5f9", "score": "0.57810897", "text": "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\tint pos = arg2;\n\t\t\t\t// on envois le feed à l'activity detail news pour afficher en\n\t\t\t\t// detail la news\n\t\t\t\tBundle bundle = new Bundle();\n\t\t\t\tbundle.putSerializable(\"feed\", feed);\n\t\t\t\tIntent intent = new Intent(activity, DetailNewsActivity.class);\n\t\t\t\tintent.putExtras(bundle);\n\t\t\t\tintent.putExtra(\"pos\", pos);\n\t\t\t\tstartActivity(intent);\n\t\t\t}", "title": "" }, { "docid": "44020e4b12c1b087fa7021273a538251", "score": "0.57802564", "text": "public void onClick(View v) {\n launchActivity();\n }", "title": "" }, { "docid": "bfbbc1375f40644de1580278fe01a1a4", "score": "0.57769376", "text": "@Override\n\t\tpublic void onClick(View v) {\n\t\tShowActivity(CardTransferActivity.this, DreamsActivity.class);\t\n\t\t}", "title": "" }, { "docid": "b120bea1c5ce4f2a1f11f5022b24e22f", "score": "0.5775839", "text": "@Override\n\t\tpublic void onClick(View v) {\n\t\t\tswitch (v.getId()) {\n\t\t\tcase R.id.mine_image:\n\t\t\tcase R.id.mine_text:\n\t\t\t\tIntent int0=new Intent(context,MineActivity.class);\n\t\t\t\tcontext.startActivity(int0);\n\t\t\t\tbreak;\n\t\t\tcase R.id.new_image:\n\t\t\tcase R.id.new_text:\n\t\t\t\tIntent int1=new Intent(context,NewsActivity.class);\n\t\t\t\tcontext.startActivity(int1);\n\t\t\t\tbreak;\n\t\t\tcase R.id.start_run:\n\t\t\t\t//跳转到跑步活动\n\t\t\t\tIntent intent=new Intent(context,RunActivity.class);\n\t\t\t\tcontext.startActivity(intent);\n\t\t\t\tbreak;\n\t\t\tcase R.id.moment_image:\n\t\t\tcase R.id.moment_text:\n\t\t\t\tIntent intent3=new Intent(context,CommunityActivity.class);\n\t\t\t\tcontext.startActivity(intent3);\n\t\t\t\tbreak;\n\t\t\tcase R.id.more_image:\n\t\t\tcase R.id.more_text:\n\t\t\t\tIntent intent4=new Intent(context,MoreActivity.class);\n\t\t\t\tcontext.startActivity(intent4);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "cdd9e42d3524860451a7682ee0ecbb99", "score": "0.5772229", "text": "@RequiresApi(api = Build.VERSION_CODES.M)\n public void onPostButtonClick(View v) {\n storeUserInput();\n photoDatabase.uploadPost(new Post(username, imageLink, caption, location,\n internalDate, displayDate, userPhotoUri));\n goToFeedActivity();\n }", "title": "" }, { "docid": "c1df5b564d3d2cc2b438c1f5a896c796", "score": "0.57697946", "text": "@Override\n public void onClick(View view) {\n Intent detailIntent = new Intent(MainActivity.this, SongDetailActivity.class);\n\n // Start the new activity\n startActivity(detailIntent);\n }", "title": "" }, { "docid": "37d3efe2dad83130f59faf1b0e337ddf", "score": "0.5764264", "text": "@Override\n\tpublic void onClick(View v) {\n\n\t\tif(v==blog){\n\t\t\tshowNotification();\n\t\t\tIntent intent=new Intent(this,MainActivity.class);\n\t\t\tstartActivity(intent);\n// log out\n\t\t}\n\n\t}", "title": "" }, { "docid": "a52998596d26cb350b3ae9bb70f08568", "score": "0.57592666", "text": "@Override\n public void onClick(View arg0) {\n Intent intent = new Intent(mContext, single_item_search.class);\n // Pass all data name\n intent.putExtra(\"name\",\n (profile_nodelist.get(position).getName()));\n // Pass all data contact\n intent.putExtra(\"contact\",\n (profile_nodelist.get(position).getContact()));\n intent.putExtra(\"email\",\n (profile_nodelist.get(position).getEmail()));\n // Pass all data address\n intent.putExtra(\"address\",\n (profile_nodelist.get(position).getAddress()));\n // Pass all data img\n intent.putExtra(\"img\",\n (profile_nodelist.get(position).getImg()));\n // Start SingleItemView Class\n mContext.startActivity(intent);\n }", "title": "" } ]
1645176ddb7181dd3b00f9b62a713b32
Sets how much the gambler will bet on his next wager.
[ { "docid": "3f1c902d4925fc89b62059b558e46560", "score": "0.62561023", "text": "public void setBetAmount(double betAmount) {\n this.betAmount = betAmount;\n }", "title": "" } ]
[ { "docid": "4fe191e5a9d01963753792487cce9c9c", "score": "0.76705736", "text": "public void setWager(long wager) {\n\t\tthis.availableGold -= wager;\n\t\tthis.wageredGold += wager;\n\t\t\n\t\tthisEntity.setProperty(\"availableGold\", availableGold);\n\t\tthisEntity.setProperty(\"wageredGold\", wageredGold);\n\t\t//note that sending a negative value reverses this.\n\t\tif (logEnabled){log.info(\"wager set: \" + wager);}\n\t\t\n\t}", "title": "" }, { "docid": "caf8d7ab082d17e662eebdd84b97b862", "score": "0.732318", "text": "public void setGoldWorth(int g){goldWorth = g;}", "title": "" }, { "docid": "1fe90c2be277ef8388df21abf7b303b1", "score": "0.7094935", "text": "public void updateWageredGold(long wager) {\n\t\twageredGold += wager;\n\t\tthisEntity.setProperty(\"wageredGold\", wageredGold);\t\t\n\t}", "title": "" }, { "docid": "4c8f549dce0624158b5005743bd600e0", "score": "0.68305403", "text": "public void bets(double amt){\n bet = amt;\n bankroll -= amt;\n }", "title": "" }, { "docid": "c47d2f24e566651dc2604344347a3313", "score": "0.67711115", "text": "void setSteer(double steer);", "title": "" }, { "docid": "4660d0b1ea5f44052126910adb3ae0b1", "score": "0.67393595", "text": "public void setBet(double bet) {\n\t\tplayersHand.setBet(bet);\n\t}", "title": "" }, { "docid": "3e5608f35514c4ca0657d6e65458e469", "score": "0.6721035", "text": "public void setWebrate(int newVal) {\n setWebrate(new Integer(newVal));\n }", "title": "" }, { "docid": "93a6df9335f7703b8941cde1fdb6bc55", "score": "0.6683029", "text": "public void makeBet(double bet) {\n\t\tif (this.balance >= bet) {\n\t\t\tsetBalance(getBalance() - bet);\n\t\t\tsetBet(bet);\n\t\t} \n\t\telse {\n\t\t\t// Bet whatever balance we have remaining\n\t\t\tConsoleView.insufficientBalance(this.balance);\n\t\t\tsetBet(getBalance());\n\t\t\tsetBalance(0.00);\n\t\t}\n\t}", "title": "" }, { "docid": "3055f12dd6011a8226cdfdd2719ccd97", "score": "0.65648305", "text": "public void setGoldWorth(int g){\n Random rand = new Random();\n int gMin = (int)(g*.7);\n int gMax = (int)(g*1.2);\n goldWorth = rand.nextInt(gMax - gMin +1) + gMin; //generates a number from g*.7 - g*1.2 (70% - 120% of g)\n }", "title": "" }, { "docid": "4253f34cc4ff616b86d6b5313cd25586", "score": "0.64089864", "text": "public void givePlayerMoney() {\n switch (amountWon) {\n case 0:\n amountWon = 500;\n break;\n case 500:\n amountWon = 1000;\n break;\n case 1000:\n amountWon = 2000;\n break;\n case 2000:\n amountWon = 5000;\n break;\n case 5000:\n amountWon = 10000;\n break;\n case 10000:\n amountWon = 20000;\n break;\n case 20000:\n amountWon = 50000;\n break;\n case 50000:\n amountWon = 75000;\n break;\n case 75000:\n amountWon = 150000;\n break;\n case 150000:\n amountWon = 250000;\n break;\n case 250000:\n amountWon = 500000;\n break;\n case 500000:\n amountWon = 1000000;\n break;\n\n }\n\n }", "title": "" }, { "docid": "5b660c44a8bbf91efe498f332020370b", "score": "0.6400249", "text": "public void pickUp() {\n\t\tcurrentRate = perMileRate;\n\t\thasPassenger = true;\n\t\tmeter = baseFare;}", "title": "" }, { "docid": "51393b5522f4304319344a28a5931b08", "score": "0.6383878", "text": "public void setBalance ( double bal)\r\n {\r\n \tbalance = bal;\r\n }", "title": "" }, { "docid": "ecb8511a1212b6651673543e82dfe467", "score": "0.6380747", "text": "private void Loyalty()\r\n\t{\r\n\t\tloyalty = Math.max(fun, 100 - super.hunger);\r\n\t}", "title": "" }, { "docid": "2e0867cfcb5ba3ee9a3173e87e803a83", "score": "0.6373306", "text": "public void setVote() {\r\n vota = vota+1; }", "title": "" }, { "docid": "b8a184739635fdc79654bb1f4f49d3b5", "score": "0.6338188", "text": "public void setWithdraw (double wd) {\n\n\n wdValue = wd;\n }", "title": "" }, { "docid": "6a33ad3b9759d6e244cd0b190e4e0854", "score": "0.6284705", "text": "public void setCurrentHandWorth(){\n CardHandEnum myHand = bestHand;\r\n //hand: // payoff:\r\n \t//SLOP, // -10 x bet (\"bet\" really means \"bet multiplier\")\r\n \t//JACKSORBETTER, // 10 x bet\r\n \t//TWOPAIR, // 20 x bet\r\n \t//THREEOFAKIND, // 30 x bet\r\n \t//STRAIGHT, // 40 x bet\r\n \t//FLUSH, // 60 x bet\r\n \t//FULLHOUSE, // 90 x bet\r\n \t//FOUROFAKIND, // 250 x bet\r\n \t//STRAIGHTFLUSH, // 500 x bet\r\n \t//ROYALFLUSH, // 2500 x bet\r\n\t\tswitch (myHand) {\r\n\t\tcase SLOP:\r\n\t\t\tcurrentHandWorth = -10;\r\n\t\t\tbreak;\r\n\t\tcase JACKSORBETTER:\r\n\t\t\tcurrentHandWorth = 10;\r\n\t\t\tbreak;\r\n\t\tcase TWOPAIR:\r\n\t\t\tcurrentHandWorth = 20;\r\n\t\t\tbreak;\r\n\t\tcase THREEOFAKIND:\r\n\t\t\tcurrentHandWorth = 30;\r\n\t\t\tbreak;\r\n\t\tcase STRAIGHT:\r\n\t\t\tcurrentHandWorth = 40;\r\n\t\t\tbreak;\r\n\t\tcase FLUSH:\r\n\t\t\tcurrentHandWorth = 60;\r\n\t\t\tbreak;\r\n\t\tcase FULLHOUSE:\r\n\t\t\tcurrentHandWorth = 90;\r\n\t\t\tbreak;\r\n\t\tcase FOUROFAKIND:\r\n\t\t\tcurrentHandWorth = 250;\r\n\t\t\tbreak;\r\n\t\tcase STRAIGHTFLUSH:\r\n\t\t\tcurrentHandWorth = 500;\r\n\t\t\tbreak;\r\n\t\tcase ROYALFLUSH:\r\n\t\t\tcurrentHandWorth = 2500;\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tcurrentHandWorth = 0;\r\n\t\t\tbreak;\r\n\t\t}\r\n }", "title": "" }, { "docid": "204ba5e8e61aba6385a362a4cf6c8243", "score": "0.62833685", "text": "void setMiterLimit(double miterLimit);", "title": "" }, { "docid": "f7e9d8e46e733276f835cee378a6d9b3", "score": "0.6280483", "text": "public void changeGold(int amount)\n\t{\n\t\tgold = gold + amount;\n\t}", "title": "" }, { "docid": "78d070f41a2f4344db2ea98fa34fb508", "score": "0.6278139", "text": "public void setWage( double w ) \r\n { \r\n wagePerPiece = ( w > 0 ? w : 0 );\r\n }", "title": "" }, { "docid": "26fb86e5fa476a60c36bf388979600f8", "score": "0.6247723", "text": "public void setBalance(long bal){ \r\n\t\t\t/**\r\n\t\t\t * Set input number to balance variable\r\n\t\t\t */\r\n\t\t\tbalance = bal; \r\n\t\t}", "title": "" }, { "docid": "af94824247b07c26ac3e6fbecf95ca4c", "score": "0.6216437", "text": "@Override\n public void upgrade() {\n this.goldAmount += 2;\n \n if (this.chanceToGetGold >= 100) {\n return;\n }\n \n this.chanceToGetGold++;\n }", "title": "" }, { "docid": "a59e3fc3603bcdd8433f92904c1b1738", "score": "0.61927146", "text": "public void setBalance(double newBalance ) \r\n { \r\n \t balance = newBalance; \r\n }", "title": "" }, { "docid": "9e1058c1a3a262af3e9810d532c7a0c7", "score": "0.6190152", "text": "@Override\n public void setWage(BigDecimal wage) {\n this.wage = wage;\n }", "title": "" }, { "docid": "17c83a193e3ae0ec8fbcf0ac740e4337", "score": "0.6188167", "text": "public void adjustTareValue(boolean up) {\n int currentWeight = beerKeg.weightProperty().intValue();\n List <Double> updatedCoord;\n\n if (up) {\n if (returnTaredWeight(currentWeight) < maxKegWeight) {\n taredValue--;\n }\n }\n else {\n if (returnTaredWeight(currentWeight) > 0) {\n taredValue++;\n }\n }\n adjustTare.setText(returnTaredWeight(currentWeight) + \"L\");\n updatedCoord = calculateCoordinates(returnTaredWeight(currentWeight));\n for (int i=0; i<4; i++) {\n weightMeter.getPoints().set(i,updatedCoord.get(i));\n }\n }", "title": "" }, { "docid": "531151e2971553db85428d20b9d75855", "score": "0.6183087", "text": "private void setAmountToAttackEasy() {\n this.troopsToAttack = this.source.getTroops() - 1;\n }", "title": "" }, { "docid": "80cd7678d13559a7f783186b4993b3b1", "score": "0.61769795", "text": "public void calcGrossWaste()\n {\n grossWaste = numPeople * 1018;\n }", "title": "" }, { "docid": "81562bf79a1793323125a3f6de375503", "score": "0.61713076", "text": "public void setWinMoney(double money) {\r\n this.winMoney = money;\r\n }", "title": "" }, { "docid": "f7bbaee3692e65f92ed76aae4ac1bcac", "score": "0.6154805", "text": "public void setWage(double newWage){\r\n\t\twage = newWage;\r\n\t}", "title": "" }, { "docid": "ef70a95891a0161be01fa47dc7074776", "score": "0.61418146", "text": "public void newWeight() {\n setWeightJump(baseWeight, 0.25);\n }", "title": "" }, { "docid": "10a0bb3ea14d4cade57c4222853e96df", "score": "0.6129472", "text": "public int getBet() {\n\t\treturn 5;\r\n\t}", "title": "" }, { "docid": "a23efe0cae6113616aa13eea8c04611c", "score": "0.6123335", "text": "public void setWebrate(Integer newVal) {\n if ((newVal != null && this.webrate != null && (newVal.compareTo(this.webrate) == 0)) || \n (newVal == null && this.webrate == null && webrate_is_initialized)) {\n return; \n } \n this.webrate = newVal; \n webrate_is_modified = true; \n webrate_is_initialized = true; \n }", "title": "" }, { "docid": "d38fcb502d62e62e410a3efe538da60f", "score": "0.611333", "text": "public void setPassenger(Passenger passenger) {\n\t\tthis.passenger = passenger;\n\t\tcredit+=3;\n\t}", "title": "" }, { "docid": "44052df814f5d5536eadf89a241e8636", "score": "0.6070557", "text": "private void setAmountToAttackMedium() {\n this.troopsToAttack = this.source.getTroops() - 1;\n }", "title": "" }, { "docid": "19b490bc0e64a62ae595c52fddd402eb", "score": "0.6069202", "text": "public void addWon() {\n games++;\n won++;\n ratio = Float.toString((float)won/games);\n }", "title": "" }, { "docid": "9cea27326c15ba6627ed97f7b6c54d09", "score": "0.6060323", "text": "public void setBalance(double bal) {\n this.balance = bal;\n }", "title": "" }, { "docid": "1a5414b1c417de3a0785b140947f0de8", "score": "0.6059938", "text": "public void setBetUnitStake(double unitStake) {\n this.betUnitStake = unitStake;\n\n }", "title": "" }, { "docid": "b628538304e410508a36602fdac5a45f", "score": "0.6057373", "text": "public void win()\n\t{\n\t\tmoney += (bet*2);\n\t}", "title": "" }, { "docid": "5689cb9cb4ee1af4e4d9f6c935593f49", "score": "0.6045798", "text": "public void increaseThings() {\n\t\tthis.hunger += 2;\n\t\tthis.age++;\n\t}", "title": "" }, { "docid": "6786f3286d5facc60ab7087f03fed29c", "score": "0.6037817", "text": "public void increaseWeight() {\n weight++;\n }", "title": "" }, { "docid": "9e6317714b55e10c1fb1556ca2b69ac0", "score": "0.6035688", "text": "public double wager(double min){\n\n\t\tif ( balance < min) {\n\t\t\treturn -1.0;\n\t\t}\n\t\tSystem.out.println(\"AI would like to wager \");\n\t\tdouble wagerAmount = (int)Math.random()*balance;\n\t\twhile(wagerAmount < min) {\n\t\t\tSystem.out.println(\"The minimum AI can bet is \" + min);\n\t\t\tSystem.out.println(\"AI would like to wager \");\n\t\t\twagerAmount = (int)Math.random()*balance;\n\t\t}\n\t\tbalance -= wagerAmount; \n\t\treturn wagerAmount;\n\t}", "title": "" }, { "docid": "8a45b6e1902abee118272eca1f0c45bd", "score": "0.6019634", "text": "public void setStok(int stok){\r\n this.stok+=stok;\r\n}", "title": "" }, { "docid": "6e1abfc21f9605f363f8d42c8e42efec", "score": "0.6012727", "text": "public void eat()\n {\n sugarMaxSpeed = 0.75f;\n sugarNew = sugarMaxSpeed;\n }", "title": "" }, { "docid": "9334a18908c56be64b67b297be6ef4e5", "score": "0.6011606", "text": "public void increasePheromone(double amount){\n pheromone += amount;\n\t\t\n\t\tif (pheromone > PHEROMONE_MAX){\n\t\t\tpheromone = PHEROMONE_MAX;\n\t\t}\n }", "title": "" }, { "docid": "05e7fc2918984fd19d84afb42c2f5be1", "score": "0.600572", "text": "public void raisehp(){\n\t\thpMax +=2;\n\t\tif(hpMax >20){\n\t\t\thpMax = 20;\n\t\t}\n\t}", "title": "" }, { "docid": "9af943f01d2f7a82eefc2955dbe64102", "score": "0.59890485", "text": "public void increaseMoney() {\n\n\n\t}", "title": "" }, { "docid": "de584b2809c241f2618516223c67f725", "score": "0.5985716", "text": "public void setWeight (double newWeight) { weight = newWeight; }", "title": "" }, { "docid": "8bef31e246fc38e0a4c57f5db4d4c5d2", "score": "0.5984905", "text": "@Override\n\tpublic int GoldNeeded() {\n\t\treturn super.GoldNeeded()+1000;\n\t}", "title": "" }, { "docid": "4f5593c25a0bbdcd6239ad25667b22d5", "score": "0.59738195", "text": "void setBw(float value);", "title": "" }, { "docid": "313626d7a0297e97f3aac75a9862cd12", "score": "0.597099", "text": "private void addBet(Player player) {\n this.pot += player.getBet();\n }", "title": "" }, { "docid": "9c89fb1d98275583c92ba451a35089f3", "score": "0.5960906", "text": "public void addGold(int amount) {\n\tgold = gold + amount;\n }", "title": "" }, { "docid": "3cdfca13d5c92a8b6b4fc1313f650db7", "score": "0.59605396", "text": "public void addWealth(float benessereRicevuto) {\r\n\t\tthis.wealth += benessereRicevuto;\r\n\t\t\r\n\t\tif (this.wealth <= Parameters.MIN_WEALTH) {\r\n\t\t\tthis.die();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tif (this.wealth >= Parameters.MAX_WEALTH) { \t\t\t// tenta di replicare il giocatore\r\n\t\t\tif (numberOfReproduce > 0 && this.reproduce(!Parameters.RANDOM_REPRODUCE)) { // se si replica resetta il benessere\r\n\t\t\t\tthis.resetWealth();\r\n\t\t\t\tthis.numberOfReproduce--;\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t\telse\r\n\t\t\t\tthis.wealth = Parameters.MAX_WEALTH; \t\t\t//altrimenti il benesssere rimane al massimo\r\n\t\t}\r\n\t\t\r\n\t\tthis.updateColore(); // Aggiornamento del colore della cella del giocatore nella GUI\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "85e8aa7fa32db36ae70f33001a34a801", "score": "0.59531426", "text": "public void setUpgradedCount(int value) {\n this.upgradedCount = value;\n }", "title": "" }, { "docid": "eccc14ec6ddddcebc5f8a687e633fa08", "score": "0.59443283", "text": "public void setGiftGold(Integer giftGold) {\r\n this.giftGold = giftGold;\r\n }", "title": "" }, { "docid": "1a9acd69d1e0d624525f0901c7327f80", "score": "0.5938188", "text": "public void setMaxWaives(int value) {\r\n this.maxWaives = value;\r\n }", "title": "" }, { "docid": "587d767ca5784f6de0ac9224d75f214e", "score": "0.5936464", "text": "protected void setWeight(int w){\n weight = w;\n }", "title": "" }, { "docid": "aada7135944340c3030f77790063827c", "score": "0.5935965", "text": "public void setCurrentBid(double currentBid){\n this.currentBid = currentBid;\n }", "title": "" }, { "docid": "f0c095204156fcfcdaf0bc5d4d6c6218", "score": "0.5927306", "text": "public void changeBetType(int newType){\r\n betType=newType; \r\n }", "title": "" }, { "docid": "05454b72a7ad81307a624b4f187a4527", "score": "0.59258544", "text": "public void withdraw(double amt) {\r\n\t\tbalance -= amt;\r\n\t}", "title": "" }, { "docid": "029ab24b04fd14d202b0234e047feb36", "score": "0.59215873", "text": "public void setSettleMoney(Integer settleMoney) {\n this.settleMoney = settleMoney;\n }", "title": "" }, { "docid": "7ad58837d32ad4356bd8f112cad3ddd8", "score": "0.5916614", "text": "public void setTransaction(double money) {\n this.wallet += money;\n }", "title": "" }, { "docid": "47898888cfcd55bd2443db0e8bf1545f", "score": "0.591038", "text": "@Override\n \tpublic void setPlayerMoney(Integer player, int current) {\n \n \t}", "title": "" }, { "docid": "41faecdc424a4f76f8f2a089c21582c9", "score": "0.590952", "text": "public void incrementBotScore() {\n\t\tbotScore++;\n\t}", "title": "" }, { "docid": "7d1a59a15826f312d4109eb019df7f14", "score": "0.5900594", "text": "public void drive(double miles)\n{\ndouble gallonsBurned=miles/this.fuelEfficiency;\nthis.fuelInTank-=gallonsBurned;\n}", "title": "" }, { "docid": "fee0943459deeb853844874501a296e0", "score": "0.58979046", "text": "private void setOffer() {\n\t\t\n\t\tint average = 0; \n\t\tfor(Briefcase curr: briefcases) {\n\t\t\tif(curr.isInPlay()) {\n\t\t\t\taverage += curr.getValue();\n\t\t\t}\n\t\t}\n\n\t\taverage = average / briefcases.size(); \n\t\toffer = (int)(average * (round / 10.0));\n\t}", "title": "" }, { "docid": "b93469cba08d2f5662aba34541fc3b3d", "score": "0.5890224", "text": "public void givePay(int m){\n money+=m;\n }", "title": "" }, { "docid": "3ae810b68c9f2571d36f50e7702ede0e", "score": "0.5887039", "text": "public void setHourelyRate();", "title": "" }, { "docid": "352116f12afee3879e5903fb658eeece", "score": "0.587617", "text": "public void pickUp() \n\t{\n\t\tpassengers = Math.min(passengers + 1, MAX_PASSENGERS);\n\t}", "title": "" }, { "docid": "49fac59256e0c4aa543562dd609caea5", "score": "0.5875369", "text": "public void tareToMaxWeight() {\n List <Double> updatedCoord;\n int weightFromSensor = beerKeg.weightProperty().intValue();\n taredValue = beerKeg.weightProperty().intValue();\n\n // Update GUI\n weightLabel.setText(returnTaredWeight(weightFromSensor) + \"L\");\n adjustTare.setText(returnTaredWeight(weightFromSensor) + \"L\");\n updatedCoord = calculateCoordinates(returnTaredWeight(weightFromSensor));\n for (int i=0; i<4; i++) {\n weightMeter.getPoints().set(i,updatedCoord.get(i));\n }\n }", "title": "" }, { "docid": "aed76687abcb3d235c29c8c5fe2d9225", "score": "0.58672", "text": "@Test\n public void testSetCurrentLoadWeight() {\n System.out.println(\"setCurrentLoadWeight\");\n double amount = 300.0;\n\n try {\n testTruckImp.setCurrentLoadWeight(amount);\n } catch (Exception ex) {\n fail(ex.toString());\n }\n assertEquals(amount, testTruckImp.getCurrentLoadWeight(), 0.0);\n\n testTruckImp.setCurrentLoadWeight(0);\n amount = 0.0;\n\n try {\n testTruckImp.setCurrentLoadWeight(amount);\n } catch (Exception ex) {\n fail(ex.toString());;\n }\n assertEquals(amount, testTruckImp.getCurrentLoadWeight(), 0.0);\n testTruckImp.setCurrentLoadWeight(0);\n amount = -50.0;\n\n try {\n testTruckImp.setCurrentLoadWeight(amount);\n } catch (Exception ex) {\n assertEquals(\"Negative unLoad amount: \" + amount, ex.getMessage());\n }\n testTruckImp.setCurrentLoadWeight(0);\n amount = 500.0;\n\n try {\n testTruckImp.setCurrentLoadWeight(amount);\n } catch (Exception ex) {\n assertEquals(\"Additional load of \" + amount + \" will make the load weight \"\n + (testTruckImp.getCurrentLoadWeight() + amount) + \" which exceeds the max load weight of \" + testTruckImp.getMaxLoadWeight(), ex.getMessage());\n }\n }", "title": "" }, { "docid": "432a770f00820255e04d2fd83fb2d974", "score": "0.5866268", "text": "void giveMoney(double money) {\n this.money = this.getMoney() + (int) money;\n }", "title": "" }, { "docid": "1a91d338fc300c1e528b22c256a2c06f", "score": "0.5865398", "text": "public void setAttackbonus(int attackbonus)\r\n/* 212: */ {\r\n/* 213:186 */ this.attackbonus = attackbonus;\r\n/* 214: */ }", "title": "" }, { "docid": "1340ea090c6397a6c4721bd0ff6301ca", "score": "0.5862297", "text": "public void setPopularidad(double popularidad){\r\n this.popularidad=popularidad+popularidadBase;\r\n }", "title": "" }, { "docid": "4a34e64dc0a03be1e61aab5f921042ab", "score": "0.5857552", "text": "public void incFighter() {\n this.fighter++;\n }", "title": "" }, { "docid": "b55054c0ddfee873dc5bc60188827531", "score": "0.5856955", "text": "public void buyDamage()\n\t{\n\t\tif (money >= 75)\n\t\t{\n\t\t\tstrength += 1;\n\t\t\tmoney -= 75;\n\t\t}\n\t}", "title": "" }, { "docid": "07772f90d0d4fa66e05ab336723b9ee2", "score": "0.5854232", "text": "void setPenaltyCharge(double value);", "title": "" }, { "docid": "98c27eb7966598f71b5644d0b3c6ba39", "score": "0.5839918", "text": "public void blackjack()\n\t{\n\t\tmoney += bet;\n\t\tmoney += bet*1.25;\n\t\tbust = true; /*So he will not be compared to the dealer twice*/\n\t}", "title": "" }, { "docid": "5c9312d5150964a67ea658b48703b156", "score": "0.5832137", "text": "public void ride(){\n\t\tflying += 2;\r\n\t\tstrength -=2;\r\n\t\thunger +=2;\r\n\t\thappiness +=2;\r\n\t\tcheck();\r\n\t}", "title": "" }, { "docid": "c50d57ed0f75cc289824eac56bbd78d2", "score": "0.5824228", "text": "@Override\n public void buySomething(int punti) {\n super.buySomething(punti);\n this.puntiPremio += 10;\n }", "title": "" }, { "docid": "00667beeae6cefa9e7dc17bb23b2ef28", "score": "0.5822463", "text": "public void incrementSharesBought() {\n\t\tthis.totalNumberOfSharesBought++;\n\t}", "title": "" }, { "docid": "c39f8ccbd7b2ee1b21c103dd18f7dc0b", "score": "0.58196276", "text": "public void WithdrawBelowMinBalance() {\n\t\t\n\t}", "title": "" }, { "docid": "a25b1778fee58308675f5a20cc504e6c", "score": "0.58182013", "text": "public void gaveWounds()\n\t{\n\t\tgaveWoundsThisRound = true;\n\t\twoundsGiven++;\n\n\t\tswitch( name )\n\t\t{\n\t\t\tcase Dindin: \n\t\t\t\t// gains +1 STR for each of the first two wounds.\n\t\t\t\tif( woundsGiven <= 2 )\n\t\t\t\t{\n\t\t\t\t\tstrength += 1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\n\t}", "title": "" }, { "docid": "70ab934e695e90aaf83de9366997af75", "score": "0.5812482", "text": "private int loyalty() {\n\tif (fun > hunger) {\r\n\t\tloyalty = fun;\r\n\t}\r\n\telse \r\n\t\tloyalty = 100 - hunger;\r\n\t\r\n\treturn loyalty;\r\n}", "title": "" }, { "docid": "a13cefbeb51e949ff84b98d3d8f63927", "score": "0.5811723", "text": "public static void bet() {\r\n\t\tint attempts = 4;\r\n\t\twhile (--attempts != 0) {\r\n\t\t\t//try catch to check number are in range\r\n\t\t\ttry {\r\n\t\t\t\tint betAmount = 0;\r\n\r\n\t\t\t\tbetAmount = Integer.parseInt(JOptionPane.showInputDialog(\"How much would you like to bet (0-3)?\"));\r\n\t\t\t\tboolean bet= poker.see(betAmount);\r\n\t\t\t\tif (bet == false|| bet == true) {\r\n\t\t\t\t\t\r\n\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t} catch (IllegalArgumentException ex) {\r\n\t\t\t\tSystem.out.println(ex);\r\n\t\t\t} \r\n\r\n\t\t} \r\n\t\t\r\n\t}", "title": "" }, { "docid": "dd7f3b21cb51ecb81f4685cd2e9172e8", "score": "0.58102304", "text": "public void incrementWins()\n {\n wins = wins + 1;\n }", "title": "" }, { "docid": "19f8a4fdc98bd77ec2605f5f74b3b636", "score": "0.58091193", "text": "public void setWeight(double newWeight);", "title": "" }, { "docid": "a273a34db94f769e0556375e11fdb649", "score": "0.5797589", "text": "public void toPot(int bet) throws InsufficientFundsException {\n if(chips<bet){\n throw new InsufficientFundsException();\n }\n chips -= bet;\n }", "title": "" }, { "docid": "092ddbf778a0713be3a93d800f0c0b10", "score": "0.57960385", "text": "public void setAmount(int amount);", "title": "" }, { "docid": "7c37bd0248ea221099e86c2827d98ca4", "score": "0.57944816", "text": "public void incrementWins() {\r\n this.numberOfWins++;\r\n }", "title": "" }, { "docid": "50d4680f5e0d6f22f40ae57af331d41a", "score": "0.57943887", "text": "public void putGWGoals(int x){\n\t\tgwGoals = x;\n\t}", "title": "" }, { "docid": "edd6ac2e6b79401761d5053d8156091b", "score": "0.57874167", "text": "public void setWinAmount(int win){\n\t\tthis.toWin = win;\n\t}", "title": "" }, { "docid": "facaa141c225380014d985a48c41c8eb", "score": "0.57870376", "text": "public void updateMoreValue()\n\t{\n\t\tphsHitRate = (double)forceDefense / 10000;\n\t\tsptHitRate = (double)IFDefense / 10000;\n\t}", "title": "" }, { "docid": "c4c639a2c14974cab34e2bb98266ee0f", "score": "0.5786634", "text": "public void setWithdraw(double withdraw){\n double balance1 = super.getBalance();\n boolean b = true;\n if(overDraftLimit <= balance1 - withdraw) {\n super.setWithdraw(withdraw);\n }\n else {\n b = false;\n }\n if(b == false) {\n \tSystem.out.print(\"\\nCannot overdraw anymore than $\" + overDraftLimit + \".\");\n }\n }", "title": "" }, { "docid": "c732befe9669e541bbe54d0324b43c09", "score": "0.57852906", "text": "@Override\r\n\tpublic int withdrowMoney() {\n\t\treturn 2000;\r\n\t}", "title": "" }, { "docid": "db7a44197721bfe929f558e47a47bbed", "score": "0.57807064", "text": "public void earn(int earnings) {\r\n\t\tthis.coins += earnings;\r\n\t}", "title": "" }, { "docid": "9ca58056c5114e948078e3b7362aa0bf", "score": "0.57777995", "text": "protected int incrementGold() {\r\n\t \tgoldOwned += 1;\r\n\t return goldOwned;\r\n\t }", "title": "" }, { "docid": "bf7574c26cb78479708d243790881065", "score": "0.5775507", "text": "public void setMileage(int mileage){\nthis.mileage=mileage;\n}", "title": "" }, { "docid": "47e22579a82b31228d71080300f02953", "score": "0.5770574", "text": "public void mutate() {\n\t\tbrain.mutate(GeneticEngine.motationRate);\n\t}", "title": "" }, { "docid": "5ea3d7068db9bbb9653f94215b6afeed", "score": "0.57670563", "text": "public void setWinnder(final int winer) {\n\t this.winner = winer;\n }", "title": "" }, { "docid": "c57a9ba2a35aff000a1152c4062fa29e", "score": "0.5763568", "text": "public Builder setGold(int value) {\n bitField0_ |= 0x00000010;\n gold_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "c3818c1e117bcec732f665e9c5a9f2c7", "score": "0.57604855", "text": "public void setBalance(){\n balValue.setText(balance+\"\");\n }", "title": "" } ]
48d8c61a51b77320186e61169cc44056
Get model object of the rememberMe checkbox
[ { "docid": "a6e96fad748f8ec372f8f4adb2812db9", "score": "0.63157195", "text": "public boolean getRememberMe()\n \t{\n \t\treturn rememberMe;\n \t}", "title": "" } ]
[ { "docid": "e8115570ae1bedbafdeb0d89265536e4", "score": "0.63281465", "text": "public void rememberMe(View v){\n // Istanza sharedPreferences per permettere all'utente di effettuare il login automatico\n SharedPreferences sharedPreferences = getSharedPreferences(\"checkbox\", MODE_PRIVATE);\n\n // Creo un editor\n SharedPreferences.Editor editor = sharedPreferences.edit();\n\n // Controllo se il checkBox è checkato\n // Se è checkato, il valore all'interno dell'editor è true\n // Se no, è false\n if(checkBox.isChecked()){\n editor.putString(\"remember\", \"true\");\n editor.apply();\n } else {\n editor.putString(\"remember\", \"false\");\n editor.apply();\n }\n }", "title": "" }, { "docid": "6359dc3f5ed2769a6cdc6f78e214c60e", "score": "0.58434343", "text": "private void setRememberMe(Boolean rememberMe) {\r\n\t\tif (!rememberMe) {\r\n\t\t\ttry {\r\n\t\t\t\tif (s.find(REMEMBER_ME_CHECKED_PATTERN.exact()) != null) {\r\n\t\t\t\t\ts.click(REMEMBER_ME_CHECKED_PATTERN.exact().targetOffset(130, 0));\r\n\t\t\t\t}\r\n\t\t\t} catch (FindFailed e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\ttry {\r\n\t\t\t\tif (s.find(REMEMBER_ME_UNCHECKED_PATTERN.exact()) != null) {\r\n\t\t\t\t\ts.click(REMEMBER_ME_UNCHECKED_PATTERN.exact().targetOffset(130, 0));\r\n\t\t\t\t}\r\n\t\t\t} catch (FindFailed e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "459c2f80345110918a001fd453ceac79", "score": "0.57052845", "text": "@Override\n public void onClick(View v) {\n AccountPreference.getInstance(Login_Activity.this).putRememberUser(cb_rememberUser.isChecked());\n }", "title": "" }, { "docid": "f5936ef1574b73ab98abb1e0b126d643", "score": "0.54958606", "text": "@Override\n\t\t\tpublic void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\n\t\t\t\tif(isChecked)\n\t\t\t\t{\n\t\t\t\t\trememberDetails();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tEditor edt =appSharedPrefs.edit();\n\t\t\t\t\tedt.putString(\"EmailID\", \"\");\n\t\t\t\t\tedt.putString(\"Password\",\"\");\n\t\t\t\t\tedt.putBoolean(\"checkRemember\", false);\n\t\t\t\t\tedt.putInt(\"UserTypeID\",R.id.radioProvider);\n\t\t\t\t\tedt.commit();\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "5ae6c78c84cd35efbef3b062fa48824c", "score": "0.540108", "text": "public CheckboxInput getStoreEmpfaenger() throws RemoteException\n {\n if (storeEmpfaenger != null)\n return storeEmpfaenger;\n\n // Nur bei neuen Transfers aktivieren\n HibiscusTransfer t = getTransfer();\n // Checkbox nur setzen, wenn es eine neue Ueberweisung ist und\n // noch kein Gegenkonto definiert ist.\n boolean enabled = t.isNewObject() && t.getGegenkontoNummer() == null;\n \n // Per Hidden-Parameter kann die Checkbox komplett ausgeschaltet werden\n de.willuhn.jameica.system.Settings settings = Application.getPluginLoader().getPlugin(HBCI.class).getResources().getSettings();\n enabled &= settings.getBoolean(\"transfer.addressbook.autoadd\",true);\n storeEmpfaenger = new CheckboxInput(enabled);\n\n return storeEmpfaenger;\n }", "title": "" }, { "docid": "303860b7c8fa6da8b58019ba0618b916", "score": "0.5251713", "text": "public interface UserModel {\n\n public boolean check();\n public String back_name();\n}", "title": "" }, { "docid": "dd6a9c997957fa066d88decdf6e2b347", "score": "0.51965266", "text": "public WebElement getCheckBox()\n {\n return checkBox;\n }", "title": "" }, { "docid": "eaa1645c96adf291fe246ec9b72ef78b", "score": "0.5098627", "text": "public CheckBox getCheckBox() {\n\t\treturn checkBox;\n\t}", "title": "" }, { "docid": "b2ac93d89f7773182ee58931b3cd58f4", "score": "0.50798804", "text": "public LoginViewModel getViewModel() {\n \treturn this.viewModel;\n }", "title": "" }, { "docid": "e9548d065ad39ecb9b9e37c9f4977f3b", "score": "0.5048624", "text": "@Override\n\tpublic CheckBox getCheckBox() {\n\t\treturn new MacOSCheckBox();\n\t}", "title": "" }, { "docid": "f2c11c6a332f3392df783aa44c7275af", "score": "0.50319046", "text": "@ModelAttribute(\"loggedinuser\")\n public User globalUserObject(Model model) {\n Authentication authentication = SecurityContextHolder.getContext().getAuthentication();\n model.addAttribute(\"loggedinuser\", authentication.getName());\n model.addAttribute(\"roles\", authentication.getAuthorities());\n // Create User pojo class\n User user = new User(authentication.getName(), Arrays.asList(authentication.getAuthorities()));\n return user;\n }", "title": "" }, { "docid": "3c4ef4197d5373af554f5c437f520d2d", "score": "0.50269777", "text": "@Override\r\n\tpublic User getModel() {\n\t\treturn user;\r\n\t}", "title": "" }, { "docid": "4e4d967645dd733e3ab8f1e30cb58e5a", "score": "0.4980459", "text": "@Override\n\tpublic User getModel() {\n\t\treturn user;\n\t}", "title": "" }, { "docid": "4e4d967645dd733e3ab8f1e30cb58e5a", "score": "0.4980459", "text": "@Override\n\tpublic User getModel() {\n\t\treturn user;\n\t}", "title": "" }, { "docid": "4e4d967645dd733e3ab8f1e30cb58e5a", "score": "0.4980459", "text": "@Override\n\tpublic User getModel() {\n\t\treturn user;\n\t}", "title": "" }, { "docid": "985abfc98497ca2983bac11321a25dc4", "score": "0.4939531", "text": "private JCheckBox getChkUseCookies() {\n\t\tif (useCookies == null) {\n\t\t\tuseCookies = new JCheckBox();\n\t\t\tuseCookies.setText(Constant.messages.getString(\"spider.options.label.cookies\"));\n\t\t}\n\t\treturn useCookies;\n\t}", "title": "" }, { "docid": "95e97406fef761224d2f54964d600799", "score": "0.4934991", "text": "public User getMe() {\n return this.me;\n }", "title": "" }, { "docid": "3e239535c22a270e010857540b13fe0c", "score": "0.490814", "text": "private javax.swing.JCheckBox getBooleanCheckBox() {\r\n\t\tif (ivjBooleanCheckBox == null) {\r\n\t\t\ttry {\r\n\t\t\t\tivjBooleanCheckBox = new javax.swing.JCheckBox();\r\n\t\t\t\tivjBooleanCheckBox.setName(\"BooleanCheckBox\");\r\n\t\t\t\tivjBooleanCheckBox.setText(\"BooleanCheckBox\");\r\n\t\t\t\t// user code begin {1}\r\n\t\t\t\t// user code end\r\n\t\t\t} catch (java.lang.Throwable ivjExc) {\r\n\t\t\t\t// user code begin {2}\r\n\t\t\t\t// user code end\r\n\t\t\t\thandleException(ivjExc);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn ivjBooleanCheckBox;\r\n\t}", "title": "" }, { "docid": "cc120da4a709077d596f111c9d0902d0", "score": "0.48872337", "text": "public static FacebookUserModel getFacebookUserSingletonModel(Activity activity) {\n if(facebookUserModel==null){\n PrefFbUtils prefFbUtils=new PrefFbUtils(activity);\n facebookUserModel=prefFbUtils.getFacebookUserModelPrefs();\n }\n return facebookUserModel;\n }", "title": "" }, { "docid": "507f82eba8e2fa9f15b71ae89f5dc9fe", "score": "0.48838288", "text": "private JCheckBox getChkProxyChainAuth() {\n\t\tif (chkProxyChainAuth == null) {\n\t\t\tchkProxyChainAuth = new JCheckBox();\n\t\t\tchkProxyChainAuth.setText(Constant.messages.getString(\"conn.options.proxy.auth.required\"));\n\t\t\tchkProxyChainAuth.addActionListener(new java.awt.event.ActionListener() { \n\n\t\t\t\t@Override\n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) { \n\n\t\t\t\t\tsetProxyChainAuthEnabled(chkProxyChainAuth.isSelected());\n\t\t\t\t}\n\t\t\t});\n\n\t\t}\n\t\treturn chkProxyChainAuth;\n\t}", "title": "" }, { "docid": "83cd4c99af6387b520544bc31ff67e75", "score": "0.48584643", "text": "JCheckBox pass() {\r\n\t\tif (pass == null) {\r\n\t\t\tpass = new JCheckBox();\r\n\t\t}\r\n\t\treturn pass;\r\n\t}", "title": "" }, { "docid": "76dcf92073a5d218d611d7e989b91de7", "score": "0.48569992", "text": "private MemberModel model() {\n\t\treturn (MemberModel) getModel();\n\t}", "title": "" }, { "docid": "680a387c2938003f1403fa0ec4e11f9f", "score": "0.4853362", "text": "public user getModel() {\n\treturn s;\n}", "title": "" }, { "docid": "dd2d598adfe3c6e8c2880d3c6f59b147", "score": "0.48410144", "text": "public Object getCurrentViewObject() {\n return mCurrentViewCookie;\n }", "title": "" }, { "docid": "1b4ee91840e0da0317dccfe8603a9c66", "score": "0.48306093", "text": "@Override\n\tprotected Class getModelClass() {\n\t\treturn SessionManage.class;\n\t}", "title": "" }, { "docid": "700437d4a3f69255baa30570e82ea24c", "score": "0.48211396", "text": "public static LoginModel getInstance() {\n if (instance == null) {\n instance = new LoginModel();\n }\n return instance;\n\n }", "title": "" }, { "docid": "1e171ee3403702ad9854e2ce39b15ee1", "score": "0.48011777", "text": "T getSelectedModel();", "title": "" }, { "docid": "e70cb5d92b80868920738f525671e33b", "score": "0.47976083", "text": "public void setRememberMe(final boolean rememberMe)\n \t{\n \t\tthis.rememberMe = rememberMe;\n \t\tthis.setPersistent(rememberMe);\n \t}", "title": "" }, { "docid": "076dae1da04df1c339777a972596087a", "score": "0.477502", "text": "@Override //obvious\n public void onCheckedChanged(CompoundButton buttonView, boolean isChecked){\n Model element = (Model) viewHolder.checkbox.getTag();\n element.setSelected(buttonView.isChecked()); //ticks boolean variable in Model\n //Model el = (Model) viewHolder.text.getTag();\n //Log.i(\"Info \",\"InteractiveArrayAdapter: getView: if: \"+el.getName());\n }", "title": "" }, { "docid": "325cfb062952f42dbb800f973aba7484", "score": "0.4758494", "text": "void onCheckedChanged(SensitiveCheckBox view, boolean isChecked, boolean fromUser);", "title": "" }, { "docid": "51c0a5123da34683e469035fe80e8631", "score": "0.47538453", "text": "public LiveData<LiveEvent<UserModel>> getSignedInUserNotifier(){\n return signedInUserNotifier;\n }", "title": "" }, { "docid": "e84f8be6fabfe657add7392133f8e4a9", "score": "0.4735024", "text": "@JSProperty(\"showCheckbox\")\n boolean getShowCheckbox();", "title": "" }, { "docid": "5f53f8ed4c222841f4e3dbe80cff9d8a", "score": "0.47294748", "text": "private JCheckBox getChkPostForm() {\n\t\tif (chkPostForm == null) {\n\t\t\tchkPostForm = new JCheckBox();\n\t\t\tchkPostForm.setText(Constant.messages.getString(\"spider.options.label.post\"));\n\n\t\t\tif (!getChkProcessForm().isSelected())\n\t\t\t\tchkPostForm.setEnabled(false);\n\t\t}\n\t\treturn chkPostForm;\n\t}", "title": "" }, { "docid": "d534241a005cf6946ee56b92816bdb52", "score": "0.47188658", "text": "public void ShowAgainCheckbox(View view){\n boolean checked = ((CheckBox) view).isChecked();\n SharedPreferences sharedpreferences = getSharedPreferences(Saved_Data, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedpreferences.edit();\n\n // Check which checkbox was clicked\n switch(view.getId()) {\n case R.id.Donotshow_quiz:\n if(checked){\n editor.putBoolean(\"QuizDoNotShowAgain\", true);\n editor.apply();\n }\n else{\n editor.putBoolean(\"QuizDoNotShowAgain\", false);\n editor.apply();\n }\n break;\n }\n }", "title": "" }, { "docid": "ea0d2e199987e35693990906e30301ce", "score": "0.4713053", "text": "private QBUser getUserFromSession(){\n QBUser user = SharedPrefsHelper.getInstance().getQbUser();\n user.setId(QBSessionManager.getInstance().getSessionParameters().getUserId());\n\n Log.e(\"saved user name\",user.getLogin()+\" \"+user.getPassword());\n\n return user;\n }", "title": "" }, { "docid": "fcda713c8e89fbab48880203bc273787", "score": "0.46891502", "text": "public ManageSignInForm getForm() {\n\t\treturn form;\n\t}", "title": "" }, { "docid": "730a403cb5d8f4e3918226ca98376d8f", "score": "0.46528563", "text": "LoginViewModel create(Bundle savedInstanceState);", "title": "" }, { "docid": "58e2603c1be3bf0c969f10ae532226fc", "score": "0.46490917", "text": "private boolean proveraPrefsPodesavanjaZaNotifikacije(){\n\n SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);\n boolean checkBox = prefs.getBoolean(\"notifications\", true);\n return checkBox;\n }", "title": "" }, { "docid": "d0b0857e51697b164c42083f1ce0d673", "score": "0.46357623", "text": "private void initViews() {\r\n etUserName = findViewById(R.id.et_user_name);\r\n etPsw = findViewById(R.id.et_psw);\r\n cbRemember = findViewById(R.id.cb_remember);\r\n //Listen the checkbox status. If it is checked, store the account\r\n cbRemember.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {\r\n public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\r\n if (isChecked) {\r\n isAutoStore = true;\r\n } else {\r\n isAutoStore = false;\r\n }\r\n }\r\n });\r\n }", "title": "" }, { "docid": "a9c70450ca2c6e4d1c35805c81db91fe", "score": "0.46257034", "text": "boolean hasPermissionModel();", "title": "" }, { "docid": "7bab567fbf6f96d6dc2548851d38fae1", "score": "0.46195593", "text": "@POST\n\t@Path(\"/rememberDevice/\")\n\tpublic RememberDeviceResponse rememberDevice_service(RememberDeviceRequest rememberDeviceRequest);", "title": "" }, { "docid": "c8bd58c1b8e44348b206135bef1824d7", "score": "0.46080986", "text": "public Object getModel();", "title": "" }, { "docid": "f38bd2169785c825ed7b3c31cc3dd175", "score": "0.46076992", "text": "public Object getHomeModel() {\n return homeModel;\n }", "title": "" }, { "docid": "5a295fa147fb6f4f9a151ab572da7f58", "score": "0.46015927", "text": "public Boolean getChecked() {\n return isChecked;\n }", "title": "" }, { "docid": "a71e01c12922eb613af3136d7680c259", "score": "0.45827532", "text": "public Object getModel() {\n\t\treturn lm;\r\n\t}", "title": "" }, { "docid": "b7c2d1644ef5b1114bfc2c59eb6ba978", "score": "0.4578535", "text": "public String getOneTimePassword()\r\n\t{\r\n\t\treturn oneTimePassword.getModelObjectAsString();\r\n\t}", "title": "" }, { "docid": "edf7208324bbf8f4da9a7c3a083a29e3", "score": "0.45775104", "text": "public Object getModel() {\n\t\treturn frmFinal;\r\n\t}", "title": "" }, { "docid": "ff3de0e3cf1944f8a8d8c657258a76c0", "score": "0.45769262", "text": "private void rememberUser(){\n if (AccountKit.getCurrentAccessToken() != null) {\n\n //Show waiting dialog\n final AlertDialog waitingDialog = new SpotsDialog(this);\n waitingDialog.show();\n waitingDialog.setMessage(\"Please Wait\");\n waitingDialog.setCancelable(false);\n\n\n\n AccountKit.getCurrentAccount(new AccountKitCallback<Account>() {\n @Override\n public void onSuccess(Account account) {\n\n //Login\n usersRef.child(account.getPhoneNumber().toString())\n .addListenerForSingleValueEvent(new ValueEventListener() {\n\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n\n\n User localUser = dataSnapshot.getValue(User.class);\n\n Intent intent = new Intent(MainActivity.this, HomeActivity.class);\n Common.cuurentUser = localUser;\n startActivity(intent);\n\n waitingDialog.dismiss();\n finish();\n\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n\n }\n\n @Override\n public void onError(AccountKitError accountKitError) {\n\n }\n });\n }\n }", "title": "" }, { "docid": "6907d7b9a8945ffdd923cd18e304c5d1", "score": "0.45729712", "text": "public Object getUserObject() {\n return _userObj;\n }", "title": "" }, { "docid": "47193927e8b4b65ad2c71f2efcd96320", "score": "0.45223284", "text": "public User getLoggedInUser(){\n SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(getActivity().getApplicationContext());\n\n int id = sharedPref.getInt(LoginActivity.USER_ID, 0);\n String email = sharedPref.getString(LoginActivity.USER_EMAIL, \"\");\n String fname = sharedPref.getString(LoginActivity.USER_FNAME, \"\");\n String lname = sharedPref.getString(LoginActivity.USER_LNAME, \"\");\n String password = sharedPref.getString(LoginActivity.USER_PASSWORD, \"\");\n String emailRecovery = sharedPref.getString(LoginActivity.USER_RECOVERY_EMAIL, \"\");\n String phone = sharedPref.getString(LoginActivity.USER_PHONE, \"\");\n\n //create the user\n User isUser = new User(id, fname, lname, email, password, emailRecovery, phone);\n\n return isUser;\n }", "title": "" }, { "docid": "de8f36501e06854227f13b20fd785ec7", "score": "0.4517754", "text": "@Override\n public void onCheckedChanged(CompoundButton button,\n boolean isChecked) {\n if (isChecked) {\n\n show_hide_password.setText(R.string.hide_pwd);// change\n // checkbox\n // text\n\n password.setInputType(InputType.TYPE_CLASS_TEXT);\n password.setTransformationMethod(HideReturnsTransformationMethod\n .getInstance());// show password\n } else {\n show_hide_password.setText(R.string.show_pwd);// change\n // checkbox\n // text\n\n password.setInputType(InputType.TYPE_CLASS_TEXT\n | InputType.TYPE_TEXT_VARIATION_PASSWORD);\n password.setTransformationMethod(PasswordTransformationMethod\n .getInstance());// hide password\n\n }\n\n }", "title": "" }, { "docid": "47de142dc30dc92b05c5db5f4e8505ff", "score": "0.45164233", "text": "public void onCheckboxClicked(View view) {\n if (getContext() != null) {\n SharedPreferences.Editor mSharedPrefEditor = getContext().getSharedPreferences(\"SAVED_NOTIFICATION\", Context.MODE_PRIVATE).edit();\n mSwitch.setChecked(false);\n CheckBox checkBox = (CheckBox) view;\n String checkboxName = checkBox.getText().toString();\n if (checkBox.isChecked()) {\n mCheckboxCounter++;\n mSharedPrefEditor.putBoolean(checkboxName, true);\n } else {\n mCheckboxCounter--;\n mSharedPrefEditor.putBoolean(checkboxName, false);\n }\n enableSearchIfConditionMet();\n mSharedPrefEditor.apply();\n }\n }", "title": "" }, { "docid": "786b47cdca57e9c3ecb731bb83b8568e", "score": "0.45050752", "text": "@Override\r\n public IModelControl get() {\n return new FavoritesModelControl();\r\n }", "title": "" }, { "docid": "c2b12ca1f54eac52401e6e04d71ca316", "score": "0.4495881", "text": "Model getModel();", "title": "" }, { "docid": "c2b12ca1f54eac52401e6e04d71ca316", "score": "0.4495881", "text": "Model getModel();", "title": "" }, { "docid": "44c4b4e37331f678baa612fc6b9fc2d7", "score": "0.4494074", "text": "public void itemClicked(View v) {\n CheckBox checkBox = (CheckBox)v;\n if(checkBox.isChecked()){\n gender = checkBox.getText().toString();\n switch(checkBox.getId()) {\n\n case R.id.Male:\n\n checkBoxOther.setChecked(false);\n checkBoxFemale.setChecked(false);\n gender = checkBox.getText().toString();\n\n break;\n\n case R.id.Female:\n\n checkBoxMale.setChecked(false);\n checkBoxOther.setChecked(false);\n gender = checkBox.getText().toString();\n break;\n\n case R.id.Other:\n\n checkBoxFemale.setChecked(false);\n checkBoxMale.setChecked(false);\n gender = checkBox.getText().toString();\n break;\n }\n }\n }", "title": "" }, { "docid": "4cb4b2fb77201d7cfc9075112d4c6708", "score": "0.44925183", "text": "public WebElement getMiamiCheckBox() {\n return locateWebElement(\"SelectEditionsMiami\");\n }", "title": "" }, { "docid": "8d5beeb49810d2ce3a758476f236c37f", "score": "0.44905573", "text": "public String getModel(){ return model; }", "title": "" }, { "docid": "43dc7b5693e4786d4b8d470d45116050", "score": "0.44900706", "text": "protected CheckBox getChkPeriodoFinal() {\n\t\tif (chkPeriodoFinal == null) {\n\t\t\tchkPeriodoFinal = (CheckBox) findViewById(R.id.chkPeriodoFinal);\n\t\t}\n\t\treturn chkPeriodoFinal;\n\t}", "title": "" }, { "docid": "f1345d87e8d97a489fe701a848bb7574", "score": "0.4487616", "text": "public JCheckBox getDecodeCheckBox() {\n\t\treturn decodeCheckBox;\n\t}", "title": "" }, { "docid": "55e94361670e22f955533154d4283ef6", "score": "0.4475194", "text": "protected CheckBox getChkPeriodoInicial() {\n\t\tif (chkPeriodoInicial == null) {\n\t\t\tchkPeriodoInicial = (CheckBox) findViewById(R.id.chkPeriodoInicial);\n\t\t}\n\t\treturn chkPeriodoInicial;\n\t}", "title": "" }, { "docid": "3bd9437debebe24f4e2023befdd1aa0a", "score": "0.4471077", "text": "protected Editable getModel() {\r\n return model;\r\n }", "title": "" }, { "docid": "72bd768451035c286808723f458704d5", "score": "0.4464631", "text": "public CCheckBox ()\n\t{\n\t\tsuper ();\n\t\tinit();\n/*\t\tButtonModel bm=this.getModel();\n\t\tint d;\n\t\td=3;\n\t\tthis.setModel(new MybuttonModel());\n*/\t}", "title": "" }, { "docid": "3d345e6e39ad55685539386a35a83a9c", "score": "0.44607866", "text": "public Object getModel() {\n\t\tif (role.equals(\"1\") && student == null){\n\t\t\tstudent = new Student();\n\t\t}else if(role.equals(\"1\") && student != null){\n\t\t\treturn student;\n\t\t}else if(role.equals(\"2\") && teacher == null){\n\t\t\tteacher = new Teacher();\n\t\t} else if(role.equals(\"2\") && teacher != null){\n\t\t\treturn teacher;\n\t\t}\n\t\treturn student;\n\t}", "title": "" }, { "docid": "06a09d80aa69ff3133b99dd16b039c87", "score": "0.44597873", "text": "boolean hasModel();", "title": "" }, { "docid": "06a09d80aa69ff3133b99dd16b039c87", "score": "0.44597873", "text": "boolean hasModel();", "title": "" }, { "docid": "b1c05e61c5f7e39a5835e68bdf6de3d1", "score": "0.44579503", "text": "@Override\n\tpublic LoginDTO getModel() {\n\t\treturn loginDTO;\n\t}", "title": "" }, { "docid": "db8f9fe00cdb13f4aeff74973dbd7c69", "score": "0.4456459", "text": "public User getLoggedInUser(){\n FacesContext context = FacesContext.getCurrentInstance();\n HttpServletRequest request = (HttpServletRequest) context.getExternalContext().getRequest();\n logInUser = (User) request.getSession().getAttribute(\"user\");\n return logInUser;\n }", "title": "" }, { "docid": "048c53e1a39ba2485014fcef2e33fe18", "score": "0.44535", "text": "@Override\n public void onCheckedChanged(CompoundButton button,\n boolean isChecked) {\n if (isChecked) {\n\n showPassword.setText(R.string.hide_pwd);// change\n // checkbox\n // text\n\n password.setInputType(InputType.TYPE_CLASS_TEXT);\n password.setTransformationMethod(HideReturnsTransformationMethod\n .getInstance());// show password\n password.setSelection(password.getText().length());\n } else {\n showPassword.setText(R.string.show_pwd);// change\n // checkbox\n // text\n\n password.setInputType(InputType.TYPE_CLASS_TEXT\n | InputType.TYPE_TEXT_VARIATION_PASSWORD);\n password.setTransformationMethod(PasswordTransformationMethod\n .getInstance());// hide password\n password.setSelection(password.getText().length());\n\n }\n\n }", "title": "" }, { "docid": "2fcfcedc2f2788ce394ca7d9cda18eca", "score": "0.44518438", "text": "public WizardModel getModel()\n {\n return wizardModel;\n }", "title": "" }, { "docid": "16ae19fd78c0e35b69a9cf380384f679", "score": "0.44377738", "text": "@Override\r\n public void onCheckedChanged(CompoundButton button,\r\n boolean isChecked) {\n if (isChecked) {\r\n show_hide_password.setText(R.string.hide_pwd);// change\r\n // checkbox\r\n // text\r\n ps.setInputType(InputType.TYPE_CLASS_TEXT);\r\n ps.setTransformationMethod(HideReturnsTransformationMethod\r\n .getInstance());// show password\r\n } else {\r\n show_hide_password.setText(R.string.show_pwd);// change\r\n // checkbox\r\n // text\r\n\r\n ps.setInputType(InputType.TYPE_CLASS_TEXT\r\n | InputType.TYPE_TEXT_VARIATION_PASSWORD);\r\n ps.setTransformationMethod(PasswordTransformationMethod\r\n .getInstance());// hide password\r\n\r\n }\r\n\r\n }", "title": "" }, { "docid": "a7540a0243a1639f436f6aef242f9009", "score": "0.44361228", "text": "private User getCurrentUser() {\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\tHttpSession session = (HttpSession) facesContext.getExternalContext().getSession(false);\n\t\tUser user = (User) session.getAttribute(\"currentUser\");\n\t\treturn user;\n\t}", "title": "" }, { "docid": "a9f27b89a0ff0384fa1340de9cb4c621", "score": "0.44295993", "text": "public T getModel() {\n\t\treturn model;\r\n\t}", "title": "" }, { "docid": "eb1bbe15a8c8695c3535b4f9ac0d4a9e", "score": "0.44278747", "text": "private int getCheckedViewId() {\n\n int checkedViewId;\n\n switch (userChoice) {\n case 1:\n checkedViewId = R.id.sofbus24_home_screen_standard;\n break;\n case 2:\n checkedViewId = R.id.sofbus24_home_screen_map;\n break;\n case 3:\n checkedViewId = R.id.sofbus24_home_screen_droidtrans;\n break;\n default:\n checkedViewId = -1;\n break;\n }\n\n return checkedViewId;\n }", "title": "" }, { "docid": "fcbfb57bf5ff26be78f84d00fe04ccd6", "score": "0.44275185", "text": "public interface SignInModelWrapper {\n void findBookFromDB();\n void setSignInActivityPresenterCallback(SignInActivityPresenterCallback signInActivityPresenterCallback);\n}", "title": "" }, { "docid": "07f1dd10fb11cab16ac2bbf79e3fab2c", "score": "0.44191197", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tboolean on = ((ToggleButton) v).isChecked();\n\n\t\t\t\tif (on) {\n\t\t\t\t\tLocalStorage.saveStringData(getSherlockActivity(), Keys.EMAIL, LoginPage.getEmailValue());\n\t\t\t\t\tLocalStorage.saveStringData(getSherlockActivity(), Keys.PASSWORD, LoginPage.getPasswordValue());\n\t\t\t\t\tLocalStorage.saveBooleanData(getSherlockActivity(), Keys.SAVING_STATE, true);\n\t\t\t\t} else {\n\t\t\t\t\tLocalStorage.removeStringData(getSherlockActivity(), Keys.EMAIL, Keys.PASSWORD);\n\t\t\t\t\tLocalStorage.saveBooleanData(getSherlockActivity(), Keys.SAVING_STATE, false);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "6e14f5f8261db7a86f2e98a3da103f02", "score": "0.44166452", "text": "private JCheckBox getIdealBox() {\r\n if (idealBox == null) {\r\n idealBox = new JCheckBox();\r\n idealBox.setBounds(new Rectangle(16, 206, 170, 21));\r\n idealBox.setText(\"Betalen via Ideal\");\r\n }\r\n return idealBox;\r\n }", "title": "" }, { "docid": "16ba36ec5a4d321468e76992514e32c3", "score": "0.44002017", "text": "public com.github.yeriomin.playstoreapi.AndroidCheckinProto getCheckin() {\n return checkin_;\n }", "title": "" }, { "docid": "97e818e761f3827867bfedf689f790d4", "score": "0.43886542", "text": "public interface LoginView {\n\n void ShowAccount();\n void ShowCheckBox(boolean b);\n String geteditaccount();\n String geteditpassword();\n String geteditCodes();\n}", "title": "" }, { "docid": "76fd611d83f4b8270a7329f826bd0f61", "score": "0.4386676", "text": "public MenuItem getFindMenuItem()\n {\n CheckboxMenuItem retval = null;\n final String value =\n getDjVuBean().properties.getProperty(\"addOn.finder\");\n\n if(value != null)\n {\n retval = (CheckboxMenuItem)findMenuItem;\n\n if(retval == null)\n {\n retval = new CheckboxMenuItem(\"Find\");\n retval.addItemListener(findListener);\n findMenuItem = retval;\n }\n\n retval.setState(DjVuBean.stringToBoolean(value, false));\n }\n\n return retval;\n }", "title": "" }, { "docid": "61638ba0960c40ec83a49004c26c908e", "score": "0.437673", "text": "private JRadioButton getChk_id() {\r\n\t\tif (chk_id == null) {\r\n\t\t\tchk_id = new JRadioButton();\r\n\t\t\tchk_id.setBounds(new Rectangle(49, 55, 86, 21));\r\n\t\t\tchk_id.setSelected(true);\r\n\t\t\tchk_id.setText(\"Cédula\");\r\n\t\t\tchk_id.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\tchk_nombre.setSelected(false);\r\n\t\t\t\t\tchk_id.setSelected(true);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn chk_id;\r\n\t}", "title": "" }, { "docid": "62625b919962f1cee024b71e2262cb7c", "score": "0.43660983", "text": "public ElementObject signInButton(){\n\t\tElementObject button = null;\n\t\tif(isIOS()){\n\t\t\tbutton = new ElementObject(client, \"NATIVE\", \"xpath=//*[@accessibilityLabel='SIGN IN']\", 0);\n\t\t}\n\t\telse if (isAndroid()) {\n\t\t\tbutton = new ElementObject(client, \"NATIVE\", \"text=LOG IN\", 0);\n\t\t}\t\n\t\treturn button;\n\t}", "title": "" }, { "docid": "d73dca05486cc0c6222196cb51962d86", "score": "0.43650413", "text": "public WizardModel getModel() {\n\t\treturn model;\n\t}", "title": "" }, { "docid": "2fdae9cc23dd0b68765cec5a09573060", "score": "0.43595296", "text": "@Transient\n\tpublic abstract boolean isUser();", "title": "" }, { "docid": "caf79936e28e96e074ce4569fe0310b1", "score": "0.435946", "text": "public HtmlPage selectItemCheckBox()\n {\n checkBox.click();\n return factoryPage.getPage(this.driver);\n }", "title": "" }, { "docid": "1b2120448fff9c7116a360408ff895fb", "score": "0.4358926", "text": "public User getCurrentUser();", "title": "" }, { "docid": "3d5c8f80c874ebb2026bed36ce02b832", "score": "0.4355195", "text": "@Override\r\n\tpublic Users getModel() {\n\t\treturn use;\r\n\t}", "title": "" }, { "docid": "d84de01e3b39c0bc7f04959fa1c767d7", "score": "0.43491188", "text": "private void rememberMeDelete() {\n getSharedPreferences(Login.PREFS_NAME, MODE_PRIVATE).edit().putString(Login.PREF_USERNAME, null)\n .putString(Login.PREF_PASSWORD, null).commit();\n }", "title": "" }, { "docid": "63c4042a97f33bc4fa8fab8d4c094e3f", "score": "0.4345526", "text": "@Override\n public void onCheckedChanged(CompoundButton buttonView,\n boolean isChecked) {\n if (isChecked) {\n if (male.isChecked()) {\n male.setChecked(false);\n }\n Log.d(\"RegisterActivity\", buttonView.getText() + \"选中\");\n } else {\n Log.d(\"RegisterActivity\", buttonView.getText() + \"取消选中\");\n }\n }", "title": "" }, { "docid": "46ea194df4fa14ea96f542ac31fc2e9f", "score": "0.43424088", "text": "public EditableObject getCurrentObject() {\n return getCurrentObject(true);\n }", "title": "" }, { "docid": "1635f13baae2c3330ca01ab8f418ef0f", "score": "0.4340546", "text": "private javax.swing.JCheckBox getChbEnlaceVivo() {\r\n\t\tif (chbEnlaceVivo == null) {\r\n\t\t\tchbEnlaceVivo = new javax.swing.JCheckBox();\r\n\t\t\tchbEnlaceVivo.setSize(88, 24);\r\n\t\t\tchbEnlaceVivo.setText(PluginServices.getText(this, \"enlace_vivo\"));\r\n\t\t\tchbEnlaceVivo.setSelected(fframeview.getLinked());\r\n\t\t\tchbEnlaceVivo.setLocation(10, 75);\r\n\t\t\tchbEnlaceVivo.setEnabled(true);\r\n\t\t\tchbEnlaceVivo.addActionListener(new java.awt.event.ActionListener() {\r\n\t\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\r\n\t\t\t\t\t\tSystem.out.println(\"actionPerformed()\"); // TODO Auto-generated Event stub actionPerformed()\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t}\r\n\r\n\t\treturn chbEnlaceVivo;\r\n\t}", "title": "" }, { "docid": "2be3684c627bcec824eed632dddda16a", "score": "0.43397936", "text": "public Label getSaveBtn() {\r\n return saveBtn;\r\n }", "title": "" }, { "docid": "549e787ed7b954c832931c59fa6d2274", "score": "0.43311092", "text": "public Object getUser() {\n return user;\n }", "title": "" }, { "docid": "4c4181786ec7381ff22828497df83b9b", "score": "0.4329571", "text": "public boolean isSelected_txt_Register_Password_TickIcon(){\r\n\t\tif(txt_Register_Password_TickIcon.isSelected()) { return true; } else { return false;} \r\n\t}", "title": "" }, { "docid": "c160e6a40371519946c9820ddb32ebcc", "score": "0.43271962", "text": "public WizardModel getModel() {\n return wizardModel;\n }", "title": "" }, { "docid": "7efb86e3ca9539439fa3390372a0c6af", "score": "0.4325429", "text": "public void action(AppCheckbox check) {\n }", "title": "" }, { "docid": "133bc882c675e7d58db8a8f37b58e0ef", "score": "0.4324853", "text": "@RequestMapping( value = {\"/login\"}, method = RequestMethod.GET)\n //we dont write a method for post it manage by spring security\n public String loadLoginForm(ModelMap model){\n model.addAttribute(\"user\", new User());\n\n\n return \"Login\";\n }", "title": "" }, { "docid": "e9a6a69323f80cc5632cb7a19dcdf7fd", "score": "0.43232584", "text": "public User getUser() {\n SharedPreferences sharedPreferences = ctx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\n return new User(\n sharedPreferences.getString(TOKEN,null)\n\n );\n }", "title": "" }, { "docid": "e6624124e63832d5b84aa9f2a0ad6a3b", "score": "0.43220377", "text": "private ButceKalemiBean getButceKalemiBean() {\n\t\tif (butceKalemiBean == null) {\n\t\t\tbutceKalemiBean = new ButceKalemiBean();\n\t\t}\n\t\treturn butceKalemiBean;\n\t}", "title": "" }, { "docid": "eb1654332c05dde1d2039c440bb6c0c9", "score": "0.4321832", "text": "public org.apache.xmlbeans.XmlBoolean xgetChecked()\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(CHECKED$2);\n return target;\n }\n }", "title": "" } ]
9cd5c4f97b7e21e548671205e86baee6
Test of getCustomerAddressJDBC method, of class CustomerAddressORMImpl.
[ { "docid": "093347f5680892b51e9fb92b9275f87c", "score": "0.85199386", "text": "@Test\n public void testGetCustomerAddressJDBC() throws Exception {\n System.out.println(\"getCustomerAddressJDBC\");\n int addressId = 0;\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n CustomerAddress expResult = null;\n CustomerAddress result = instance.getCustomerAddressJDBC(addressId);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" } ]
[ { "docid": "32897a83f0b4b5f50e80e384df6e8c4a", "score": "0.82234985", "text": "@Test\n public void testGetAllCustomerAddressesJDBC() throws Exception {\n System.out.println(\"getAllCustomerAddressesJDBC\");\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n List<CustomerAddress> expResult = null;\n List<CustomerAddress> result = instance.getAllCustomerAddressesJDBC();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "576722f67934efb65363507479132f2b", "score": "0.77735025", "text": "@Test\n public void testGetCustomerAddress() throws Exception {\n System.out.println(\"getCustomerAddress\");\n int addressId = 0;\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n CustomerAddress expResult = null;\n CustomerAddress result = instance.getCustomerAddress(addressId);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "c65b3b3ced14b6f18954f4a0c023e916", "score": "0.7646257", "text": "@Test\n public void testUpdateCustomerAddressJDBC() throws Exception {\n System.out.println(\"updateCustomerAddressJDBC\");\n CustomerAddress customerAddress = null;\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n instance.updateCustomerAddressJDBC(customerAddress);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "2224a54fc0b88d4599f3edc3b56caa5c", "score": "0.75759286", "text": "@Test\n public void testAddCustomerAddressJDBC() throws Exception {\n System.out.println(\"addCustomerAddressJDBC\");\n CustomerAddress customerAddress = null;\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n instance.addCustomerAddressJDBC(customerAddress);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "454e72b2b249f0ed62b3712def87a942", "score": "0.75277823", "text": "@Test\n public void testGetAllCustomerAddresses() throws Exception {\n System.out.println(\"getAllCustomerAddresses\");\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n List<CustomerAddress> expResult = null;\n List<CustomerAddress> result = instance.getAllCustomerAddresses();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "c4a854f5045e5cc775979bace53badae", "score": "0.6955071", "text": "@Test\n public void testUpdateCustomerAddress() throws Exception {\n System.out.println(\"updateCustomerAddress\");\n CustomerAddress customerAddress = null;\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n instance.updateCustomerAddress(customerAddress);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "d2628ae474c2e066093fc588c76a9cb0", "score": "0.68322283", "text": "@Test\n public void testDeleteCustomerAddressJDBC() throws Exception {\n System.out.println(\"deleteCustomerAddressJDBC\");\n int addressId = 0;\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n instance.deleteCustomerAddressJDBC(addressId);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "6ebfd4172a4e40c8c5c729f3d144e518", "score": "0.6759809", "text": "@Test\n public void testAddCustomerAddress() throws Exception {\n System.out.println(\"addCustomerAddress\");\n CustomerAddress customerAddress = null;\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n instance.addCustomerAddress(customerAddress);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "26645e475242da1a7155a0f7f57f1664", "score": "0.6589542", "text": "@Test\r\n public void testGetCustomerAddress() {\r\n System.out.println(\"getCustomerAddress\");\r\n Customer instance = new Customer(\"C52\", \"Abby\", \"123 Taman Aman\", \"Female\", \"0103456789\", 10, \"M1\");\r\n String expResult = \"123 Taman Aman\";\r\n String result = instance.getCustomerAddress();\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n \r\n }", "title": "" }, { "docid": "083add7f8484e2c7296b10c007020922", "score": "0.6512454", "text": "@Test\n public void testAddGetAddress() throws Exception {\n Address address = new Address(\"16 Molly Pticher Drive\");\n address.setFirstName(\"Joe\");\n address.setLastName(\"Restua\");\n \n dao.addAddress(address.getStreetAddress(), address);\n \n Address fromDao = dao.getAddress(address.getStreetAddress());\n \n assertEquals(address, fromDao);\n \n }", "title": "" }, { "docid": "9b94185ac036cbaa4abd31fea2caaf1a", "score": "0.6403477", "text": "@Test\n public void testDeleteCustomerAddress() throws Exception {\n System.out.println(\"deleteCustomerAddress\");\n Class CustomerAddress = null;\n int addressId = 0;\n CustomerAddressORMImpl instance = new CustomerAddressORMImpl();\n instance.deleteCustomerAddress(CustomerAddress, addressId);\n // TODO review the generated test code and remove the default call to fail.\n //fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "0dee70d386f0029d9b12671c021931be", "score": "0.63969374", "text": "@Test\n public void testGetAddress() throws Exception {\n System.out.println(\"getAddress\"); \n UserSession instance = getUserSession();\n User user = instance.getUserById(idOfUser);\n assertNotNull(user);\n List<Address> addrs = instance.getAddressssOfUser(user);\n int idAddress = addrs.get(0).getId();\n Address result = instance.getAddress(idAddress);\n assertEquals(addrs.get(0), result);\n }", "title": "" }, { "docid": "1444daf1f01dd2fa42e090a607ae36a9", "score": "0.6230334", "text": "@Basic\n @Column(name = \"customer_address\", nullable = true, length = 200)\n public String getCustomerAddress() {\n return customerAddress;\n }", "title": "" }, { "docid": "005b2489221b6f7787470115bd34ba11", "score": "0.6155381", "text": "@Test\n public void test() throws SQLException, ParseException {\n Customer testCustomer = new Customer(\n \"Brenda\",\n \"Rhodes\",\n \"CS015\",\n \"12346\",\n \"654789\",\n \"10501 FGCU BLVD South\",\n \"05/01/2021\",\n \"female\",\n \"1234567890\");\n //Establishes database connection stub\n DBConnection customerStub = mock(DBConnection.class);\n //The the stub finds this customer, it will return the expected customer\n when(customerStub.findCust()).thenReturn(testCustomer);\n System.out.println(\"Tests if the object returned from the DB was the expected Customer\");\n System.out.print(\"Expected result: Brenda\" + \"\\n\" + \"Obtained result: \" + testCustomer.getFirstName() + \"\\n\");\n System.out.println(\"Test result: \" + testCustomer.getFirstName().equalsIgnoreCase(\"Brenda\"));\n Assert.assertEquals(\"Brenda\", testCustomer.getFirstName());\n\n searchCustomer.jButton4.doClick();\n }", "title": "" }, { "docid": "c410748df541224c29bf84fa0feaf159", "score": "0.6123794", "text": "AddressModel getAddressForCode(CustomerModel customerModel, String code);", "title": "" }, { "docid": "80410542f8896aeabb09385663bd4348", "score": "0.6106683", "text": "@Test\n\tpublic void testGetCustomerById() {\n\n\t\tCustomer customer = customerDao.getCustomerById(\"JL\");\n\n\t\tassertNotNull(customer);\n\t\tassertEquals(customer.getLocationId(), \"LNDN\");\n\n\t}", "title": "" }, { "docid": "374af47133971c9658a8396faf1edc12", "score": "0.60742414", "text": "public VendorsAddressDAO () {}", "title": "" }, { "docid": "d305bd7895129afdd1aacad67cb985b2", "score": "0.6063623", "text": "public void setCustomerAddress(String customerAddress) {\n this.customerAddress = customerAddress;\n }", "title": "" }, { "docid": "32ba4235c58f134bb95f38b9230ab2ee", "score": "0.60493696", "text": "public static boolean saveCustomer(String name, String address, int cityId, String zip, String phone) {\r\n try {\r\n Statement statement = Database.getConnection().createStatement();\r\n String queryOne = \"INSERT INTO address SET address2= 'NULL', createDate= NOW(), createdBy= 'NULL', lastUpdate= NOW(), lastUpdateBy= 'NULL', address='\" + address + \"', phone='\" + phone + \"', postalCode='\" + zip + \"', cityId=\" + cityId;\r\n int updateOne = statement.executeUpdate(queryOne);\r\n if(updateOne == 1) {\r\n int addressId = allCustomers.size() + 1;\r\n String queryTwo = \"INSERT INTO customer SET active = 1, createDate = NOW(), createdBy = 'NULL', lastUpdate = NOW(), lastUpdateBy = 'NULL', customerName='\" + name + \"', addressId=\" + addressId;\r\n int updateTwo = statement.executeUpdate(queryTwo);\r\n if(updateTwo == 1) {\r\n return true;\r\n }\r\n }\r\n } catch (SQLException e) {\r\n System.out.println(\"SQLException: \" + e.getMessage());\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "f7fa5f6b755b7b3eddc1a367501347a5", "score": "0.6048333", "text": "@Test\n public void TestCustomer() throws Exception {\n Customer customer1 = BusinessObjectDAO.getInstance().create(\"Customer\", \"cust7\");\n customer1.setFirst_name(\"Charlie\");\n customer1.setLast_name(\"Buckets\");\n customer1.setPhone(\"801-774-3564\");\n customer1.setEmail(\"[email protected]\");\n customer1.setAddress(\"16 N 987 E\");\n customer1.setState(\"Maryland\");\n customer1.setCity(\"New Hampshire\");\n customer1.setZip(\"48872\");\n customer1.save();\n \n\n Cache.getInstance().clear();\n \n //Tests reading from the database\n Customer customer2 = BusinessObjectDAO.getInstance().read(\"cust7\");\n assertEquals(customer1.getId().trim(), customer2.getId().trim());\n assertEquals(customer1.getFirst_name(), customer2.getFirst_name());\n assertEquals(customer1.getLast_name(), customer2.getLast_name());\n assertEquals(customer1.getPhone(), customer2.getPhone());\n assertEquals(customer1.getEmail(), customer2.getEmail());\n assertEquals(customer1.getAddress(), customer2.getAddress());\n assertEquals(customer1.getState(), customer2.getState());\n assertEquals(customer1.getCity(), customer2.getCity());\n assertEquals(customer1.getZip(), customer2.getZip());\n \n\n customer2.setFirst_name(\"Melony\");\n customer2.setLast_name(\"Sheets\");\n customer2.setPhone(\"801-321-2222\");\n customer2.setEmail(\"[email protected]\");\n customer2.setAddress(\"160 N 74 E\");\n customer2.setState(\"New York\");\n customer2.setCity(\"New York\");\n customer2.setZip(\"33248\");\n customer2.save();\n \n Cache.getInstance().clear();\n \n Customer customer3 = BusinessObjectDAO.getInstance().read(\"cust7\");\n //Tests reading from the database\n assertEquals(customer3.getId().trim(), customer2.getId().trim());\n assertEquals(customer3.getFirst_name(), customer2.getFirst_name());\n assertEquals(customer3.getLast_name(), customer2.getLast_name());\n assertEquals(customer3.getPhone(), customer2.getPhone());\n assertEquals(customer3.getEmail(), customer2.getEmail());\n assertEquals(customer3.getAddress(), customer2.getAddress());\n assertEquals(customer3.getState(), customer2.getState());\n assertEquals(customer3.getCity(), customer2.getCity());\n assertEquals(customer3.getZip(), customer2.getZip());\n \n // customer4 should now have been read from the Cache and be the same object\n Customer customer4 = BusinessObjectDAO.getInstance().read(\"cust7\");\n assertEquals(customer3, customer4);\n\n // test deleting\n BusinessObjectDAO.getInstance().delete(customer2);\n // Employee tests the search methods, so no need to test them again -Albrecht\n }", "title": "" }, { "docid": "611e76cac14dfc03b8ff0aaae278cf55", "score": "0.60112387", "text": "@Test\n public void testGetAddressssOfUser() throws Exception {\n System.out.println(\"getAddressssOfUser\"); \n UserSession instance = getUserSession();\n User user = instance.getUserById(idOfUser);\n assertNotNull(user);\n List<Address> addr = instance.getAddressssOfUser(user);\n assertNotNull(user);\n assertTrue(addr.size() == 1);\n assertEquals(addr.get(0).getAddress(), \"Rua Cotinga\");\n }", "title": "" }, { "docid": "941efdb110697f971be915268cb9c114", "score": "0.5945701", "text": "@Test\r\n public void testGetCustomerName() {\r\n //Delete in the database information which can hinder the test\r\n ConnectionDB.requestInsert(\"delete from customer where Customer_Name = 'Machin' or Customer_Name = 'Truc' or Customer_Name = 'Bidule'\");\r\n //Insert in the database information needed for the test\r\n ConnectionDB.requestInsert(\"insert into customer (Customer_Login,Customer_Name,Customer_Town,Customer_Password) values('MachinTown','Machin','Town','0000')\");\r\n ConnectionDB.requestInsert(\"insert into customer (Customer_Login,Customer_Name,Customer_Town,Customer_Password) values('TrucTown','Truc','Town','0000')\");\r\n ConnectionDB.requestInsert(\"insert into customer (Customer_Login,Customer_Name,Customer_Town,Customer_Password) values('BiduleNope','Bidule','Nope','0000')\");\r\n //Try the tested method and collect results\r\n String[] listCustomer = CustomerDB.getCustomerName(\"Town\");\r\n //Delete in the database inforamtion used for the test\r\n ConnectionDB.requestInsert(\"delete from customer where Customer_Name = 'Machin' or Customer_Name = 'Truc' or Customer_Name = 'Bidule'\");\r\n //Test the results\r\n if (listCustomer.length != 2) {\r\n fail(\"The function getCustomerTown() doesn't return the good results!\");\r\n }\r\n }", "title": "" }, { "docid": "c538fcfd385aa74be0ecd5bd406f9483", "score": "0.58689404", "text": "public interface IAddressDAO extends IBaseDAO {\n void insertAddress(Addressv1 addressv1);\n Addressv1 find(String addr);\n Studentv1 findStudentLiveIn(String addr);\n List<Addressv1> findAll();\n}", "title": "" }, { "docid": "0a103efcd1f20113da398190a300e3dd", "score": "0.58295685", "text": "List<AddressModel> getAllAddressEntries(CustomerModel customerModel);", "title": "" }, { "docid": "b621d930307be98caceffdaf6ced5047", "score": "0.58182657", "text": "@Test\r\n public void testGetCustomerTown() {\r\n //Delete in the database information which can hinder the test\r\n ConnectionDB.requestInsert(\"delete from customer where Customer_Name = 'Machin' or Customer_Name = 'Truc' or Customer_Name = 'Bidule' or Customer_Name = 'What'\");\r\n //Insert in the database information needed for the test\r\n ConnectionDB.requestInsert(\"insert into customer (Customer_Login,Customer_Name,Customer_Town,Customer_Password) values('MachinWhat','Machin','What','0000')\");\r\n ConnectionDB.requestInsert(\"insert into customer (Customer_Login,Customer_Name,Customer_Town,Customer_Password) values('MachinTown','Machin','Town','0000')\");\r\n ConnectionDB.requestInsert(\"insert into customer (Customer_Login,Customer_Name,Customer_Town,Customer_Password) values('TrucTown','Truc','Town','0000')\");\r\n ConnectionDB.requestInsert(\"insert into customer (Customer_Login,Customer_Name,Customer_Town,Customer_Password) values('BiduleNope','Bidule','Nope','0000')\");\r\n //Try the tested method and collect results\r\n String[] listCustomerTown = CustomerDB.getCustomerTown();\r\n //Delete in the database inforamtion used for the test\r\n ConnectionDB.requestInsert(\"delete from customer where Customer_Name = 'Machin' or Customer_Name = 'Truc' or Customer_Name = 'Bidule' or Customer_Name = 'What'\");\r\n //Test the results\r\n if (listCustomerTown.length != 3) {\r\n fail(\"The function getCustomerTown() doesn't return the good results!\");\r\n }\r\n }", "title": "" }, { "docid": "9eb4cc75cdd190150f61dafe6bb1c963", "score": "0.5779975", "text": "@Test\n public void testUpdateCustomer() {\n System.out.println(\"updateCustomer\");\n \n // Prepare a customer to add to the database \n Integer testId = 3;\n String testFirstName = \"Jan\";\n String testLastName = \"Jansen\";\n String testLastNamePrefix = null;\n Integer testAccountId = 3;\n Customer testCustomer = new Customer(testId, testFirstName, testLastName, testLastNamePrefix, testAccountId);\n \n // Set new firstname, lastname and lastname prefix\n String newFirstName = \"Willem\";\n String newLastName = \"Willemsen\";\n String newLastNamePrefix = \"van\";\n \n testCustomer.setFirstName(newFirstName);\n testCustomer.setLastName(newLastName);\n testCustomer.setLastNamePrefix(newLastNamePrefix);\n \n // Perform the update in the databse\n CustomerDao customerDao = DaoFactory.getDaoFactory().createCustomerDao();\n customerDao.updateCustomer(testCustomer);\n \n // Validate the update\n final String beforeCustomerUpdateQuery;\n if(testLastNamePrefix == null){\n beforeCustomerUpdateQuery = \"SELECT * FROM `customer` WHERE `id`=? AND `first_name`=? AND `last_name`=? AND `account_id`=? AND `ln_prefix` is null\";\n }\n else {\n beforeCustomerUpdateQuery = \"SELECT * FROM `customer` WHERE `id`=? AND `first_name`=? AND `last_name`=? AND `account_id`=? AND `ln_prefix`=?\";\n }\n try (Connection connection = DatabaseConnection.getInstance().getMySqlConnection();) {\n // Try to find the customer with the old values in the database. This should fail\n PreparedStatement stat = connection.prepareStatement(beforeCustomerUpdateQuery);\n stat.setInt(1,testId);\n stat.setString(2,testFirstName);\n stat.setString(3,testLastName);\n stat.setInt(4,testAccountId);\n if(testLastNamePrefix != null) {\n stat.setString(5,testLastNamePrefix);\n }\n try (ResultSet resultSet = stat.executeQuery()) {\n // Assert we have no matching result\n assertFalse(resultSet.next()); \n } catch (SQLException ex) {\n System.out.println(\"SQL Exception: \" + ex.getMessage());\n }\n // Then try to find the customer with the new values in the database. This should succeed\n final String afterCustomerUpdateQuery;\n if(newLastNamePrefix == null){\n afterCustomerUpdateQuery = \"SELECT * FROM `customer` WHERE `id`=? AND `first_name`=? AND `last_name`=? AND `account_id`=? AND `ln_prefix` is null\";\n }\n else {\n afterCustomerUpdateQuery = \"SELECT * FROM `customer` WHERE `id`=? AND `first_name`=? AND `last_name`=? AND `account_id`=? AND `ln_prefix`=?\";\n }\n \n stat = connection.prepareStatement(afterCustomerUpdateQuery);\n stat.setInt(1,testId);\n stat.setString(2,newFirstName);\n stat.setString(3,newLastName);\n stat.setInt(4,testAccountId);\n if(newLastNamePrefix != null) {\n stat.setString(5,newLastNamePrefix);\n }\n try (ResultSet resultSet = stat.executeQuery()) {\n // Assert we have at least one matching result\n assertTrue(resultSet.next()); \n \n // Assert we have at most one matching result\n resultSet.last(); // advance cursor to last row\n assertEquals(1, resultSet.getRow()); // check if it is row number 1\n } catch (SQLException ex) {\n System.out.println(\"SQL Exception: \" + ex.getMessage());\n }\n } catch (SQLException ex) {\n System.out.println(\"SQL Exception: \" + ex.getMessage());\n } \n }", "title": "" }, { "docid": "8e2672bf85943cba37cac8f930fe65c5", "score": "0.5777423", "text": "@Test\n public void testGetAll() {\n \n Address addr = new Address();\n addr.setFirst(\"Alex\");\n addr.setLast(\"Kaidan\");\n addr.setStreet(\"1446 Annandale Ct\");\n addr.setCity(\"Ann Arbor\");\n addr.setState(\"MI\");\n addr.setZip(\"48108\");\n\n dao.add(addr);\n \n //there should only be one value in the database\n assertEquals(dao.getAll().length, 1);\n\n }", "title": "" }, { "docid": "ed817542d2cd331573ec4d7a8d4033a9", "score": "0.5775755", "text": "@Test\n public void testInsertCustomer() {\n \n System.out.println(\"insertCustomer\");\n \n //Prepare an customer to add to the database\n String testFirstName = \"dinges\";\n String testLastName = \"haas\";\n String testLastNamePrefix = \"van\";\n Integer testAccountId = 6;\n Customer testCustomer = new Customer(testFirstName, testLastName, testLastNamePrefix, testAccountId);\n\n // Count the records before the insert\n int countBefore = getTableCount(\"customer\");\n log.debug(\"count before is \" + countBefore);\n\n // Add a test customer to the database\n //DaoFactory daoFactory = DaoFactory.getDAOFactory(DaoFactory.MYSQL);\n CustomerDao customerDao = DaoFactory.getDaoFactory().createCustomerDao(); \n customerDao.insertCustomer(testCustomer);\n \n log.debug(\"count after inserting is \" + getTableCount(\"customer\"));\n \n // Count the records after the insert and compare with before\n assertEquals(\"Number of customers should be increased by one.\", countBefore + 1, getTableCount(\"customer\"));\n\n // Try to fetch the customer from the database. If it exists and ID is not the same as allready present in database, we have succesfully created a new customer\n final String query = \"SELECT * FROM `customer` WHERE `id` NOT BETWEEN 1 and \" + initialNumberOfCustomers + \" AND `first_name`=? AND `last_name`=? AND `ln_prefix`=? AND `account_id`=?\";\n try (Connection connection = DatabaseConnection.getInstance().getMySqlConnection();) {\n PreparedStatement stat = connection.prepareStatement(query);\n stat.setString(1,testFirstName);\n stat.setString(2,testLastName);\n stat.setString(3,testLastNamePrefix);\n stat.setInt(4,testAccountId);\n try (ResultSet resultSet = stat.executeQuery()) {\n // Assert we have at least one matching result\n assertTrue(resultSet.next()); \n \n // Assert we have at most one matching result\n resultSet.last(); // advance cursor to last row\n assertEquals(1, resultSet.getRow()); // check if it is row number 1\n } catch (SQLException ex) {\n System.out.println(\"SQL Exception: \" + ex.getMessage());\n }\n } catch (SQLException ex) {\n System.out.println(\"SQL Exception: \" + ex.getMessage());\n } \n }", "title": "" }, { "docid": "e6258f62cc3d47c428287b812c039f92", "score": "0.5767102", "text": "public CustomerAddressExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "2c4cecda9094734dd487b25d67b15ebf", "score": "0.5749507", "text": "@Test\r\n public void testCheckCustomerConnection() {\r\n\r\n //ConnectionDB.requestInsert(\"insert into customer (Customer_Login,Customer_Name,Customer_Town,Customer_Password) values ('BouleCreuse','Boule','Creuse','0000')\");\r\n CustomerDB.addCustomer(new Customer(\"Boule\", \"Creuse\"));\r\n\r\n boolean c = CustomerDB.checkCustomerConnection(\"BouleCreuse\", \"0000\");\r\n\r\n if (c == false) {\r\n fail(\"The connection works.\");\r\n }\r\n }", "title": "" }, { "docid": "8331cd97d13e0fc2456d8a4c25602ca6", "score": "0.57415533", "text": "public Customer fetchCustomer(String customerId) throws DataAccessException {\n\t\tList list = null;\n\t\tlist = jdbcTemplate.queryForList(\n\t\t\t\t\"select c.code, c.isCustomer, c.id, c.name, c.addPostal, c.telephone, c.fax, c.billAddress1, c.billPostal\"\n\t\t\t\t+ \", c.contactPerson, c.address1, c.contactPersonEmail, c.arTerm, c.billTelephone, c.billFax\"\n\t\t\t\t+ \", c.billContactPerson\"\n\t\t\t\t+ \" from m03company c where c.isCustomer = 'true'\");\n\t\tCustomer customer = new Customer();\n\t\tRowMapper<Customer> rowMapper = new RowMapper<Customer>() {\n\t\t\tpublic Customer mapRow(ResultSet rs, int sowNum) throws SQLException {\n\t\t\t\tCustomer customer = new Customer();\n\t\t\t\tcustomer.setId(rs.getString(\"id\"));\n\t\t\t\tcustomer.setName(rs.getString(\"name\"));\n\t\t\t\tcustomer.setAddPostal(rs.getString(\"addPostal\"));\n\t\t\t\tcustomer.setTelephone(rs.getString(\"telephone\"));\n\t\t\t\tcustomer.setFax(rs.getString(\"fax\"));\n\t\t\t\tcustomer.setBillAddress1(rs.getString(\"billAddress1\"));\n\t\t\t\tcustomer.setBillPostal(rs.getString(\"billPostal\"));\n\t\t\t\tcustomer.setContactPerson(rs.getString(\"contactPerson\"));\n\t\t\t\tcustomer.setAddress1(rs.getString(\"address1\"));\n\t\t\t\tcustomer.setContactPersonEmail(rs.getString(\"contactPersonEmail\"));\n\t\t\t\tcustomer.setArTerm(rs.getString(\"arTerm\"));\n\t\t\t\tcustomer.setBillTelephone(rs.getString(\"billTelephone\"));\n\t\t\t\tcustomer.setBillFax(rs.getString(\"billFax\"));\n\t\t\t\tcustomer.setBillContactPerson(rs.getString(\"billContactPerson\"));\n\t\t\t\treturn customer;\n\t\t\t}\n\t\t};\n\t\tString sql = \"select c.code, c.isCustomer, c.id, c.name, c.addPostal, c.telephone, c.fax, c.billAddress1, c.billPostal\"\n\t\t\t\t+ \", c.contactPerson, c.address1, c.contactPersonEmail, c.arTerm, c.billTelephone, c.billFax\"\n\t\t\t\t+ \", c.billContactPerson\"\n\t\t\t\t+ \" from m03company c where c.isCustomer = 'true' and c.id = ?\";\n\t\tcustomer = jdbcTemplate.queryForObject(sql, rowMapper, customerId);\n\t\treturn customer;\n\t}", "title": "" }, { "docid": "b6b403bce9518ef98bb090e9f7234ab1", "score": "0.5739988", "text": "@Test\n public void testGetAllCustomersBills() throws DaoException\n {\n System.out.println(\"testGetAllCustomersBills\");\n CustomerDaoInterface dao = new MySqlDaoCustomers();\n boolean expResult = true;\n Map<Integer, Customer> result;\n result = dao.getAllCustomersBills();\n assertEquals(expResult, result.size() > 0);\n }", "title": "" }, { "docid": "16d785e51cec89dcc3024a7f1cd8cfe0", "score": "0.57295394", "text": "@Test\n public void testGetAllAddresses() throws Exception {\n Address address1 = new Address(\"24 Bryant Street\");\n address1.setFirstName(\"Mike\");\n address1.setLastName(\"Jones\");\n \n dao.addAddress(address1.getStreetAddress(), address1);\n \n Address address2 = new Address(\"23 Jordan Ave\");\n address2.setFirstName(\"LeBron\");\n address2.setLastName(\"James\");\n \n dao.addAddress(address2.getStreetAddress(), address2);\n \n assertEquals(3, dao.getAllAddresses().size());\n }", "title": "" }, { "docid": "d9ac6c2fd6e1821ae019efe38891760e", "score": "0.57209486", "text": "@Test\r\n public void testSetCustomerAddress() {\r\n System.out.println(\"setCustomerAddress\");\r\n String customerAddress = \"\";\r\n Customer instance = new Customer();\r\n instance.setCustomerAddress(customerAddress);\r\n // TODO review the generated test code and remove the default call to fail.\r\n\r\n }", "title": "" }, { "docid": "da050d90fcac6e00788d5650d1b78782", "score": "0.57008266", "text": "public String getEmpAddressDetails(int empId) throws ServiceLocatorException {\n\n Connection connection = null;\n Statement statement = null;\n ResultSet resultSet = null;\n String queryString = \"\";\n\n System.out.println(\"********************UserAjaxHandlerServiceImpl :: getEmpAddressDetails Method Start*********************\");\n queryString = \"\";\n String resultString = \"\", aflag = \"\";\n UserAddress userAddress = new UserAddress();\n try {\n queryString = \" SELECT address_flag, address, address2, city, state, zip, country,phone \"\n + \" FROM usr_address \"\n + \"WHERE usr_id ='\" + empId + \"' and status='Active'\";\n System.out.println(\"getEmpAddressDetails :: query string ------>\" + queryString);\n connection = ConnectionProvider.getInstance().getConnection();\n statement = connection.createStatement();\n resultSet = statement.executeQuery(queryString);\n while (resultSet.next()) {\n if (resultSet.getString(\"address_flag\").equalsIgnoreCase(\"pc\")) {\n resultString = resultSet.getString(\"address_flag\") + '#' + resultSet.getString(\"address\") + '&' + resultSet.getString(\"address2\") + '&' + resultSet.getString(\"city\") + '&' + resultSet.getString(\"state\") + '&' + resultSet.getString(\"zip\") + '&' + resultSet.getString(\"country\") + '&' + resultSet.getString(\"phone\");\n return resultString;\n }\n if (resultSet.getString(\"address_flag\").equalsIgnoreCase(\"p\")) {\n resultString = \"false\" + '#' + resultSet.getString(\"address\") + '&' + resultSet.getString(\"address2\") + '&' + resultSet.getString(\"city\") + '&' + resultSet.getString(\"state\") + '&' + resultSet.getString(\"zip\") + '&' + resultSet.getString(\"country\") + '&' + resultSet.getString(\"phone\");\n }\n if (resultSet.getString(\"address_flag\").equalsIgnoreCase(\"c\")) {\n resultString += '#' + resultSet.getString(\"address\") + '&' + resultSet.getString(\"address2\") + '&' + resultSet.getString(\"city\") + '&' + resultSet.getString(\"state\") + '&' + resultSet.getString(\"zip\") + '&' + resultSet.getString(\"country\") + '&' + resultSet.getString(\"phone\");\n }\n }\n } catch (Exception sqe) {\n sqe.printStackTrace();\n } finally {\n try {\n if (resultSet != null) {\n resultSet.close();\n resultSet = null;\n }\n if (statement != null) {\n statement.close();\n statement = null;\n }\n if (connection != null) {\n connection.close();\n connection = null;\n }\n } catch (SQLException sqle) {\n sqle.printStackTrace();\n }\n }\n System.out.println(\"********************UserAjaxHandlerServiceImpl :: getEmpAddressDetails Method End*********************\");\n return resultString;\n }", "title": "" }, { "docid": "eeee2c50b541b7ba32d4df129c7bc8aa", "score": "0.5690747", "text": "public Address getAddressBO(){\n\ttry {\n\t AdressDO data = this.getAdress();\n\t if (data == null) {\n\t\tdata = AdressDO.createVirgin();\n\t\tdata.commit();\n\t\tthis.setAdress(data);\n\t\tthis.commit();\n\t }\n\t return new Address(data);\n\t} catch (Exception err){\n\t throw new RuntimeException(err.toString());\n\t}\n }", "title": "" }, { "docid": "54d020ce2b1a2343ff3a9607971e3231", "score": "0.56601524", "text": "@Test(expectedExceptions = { RuntimeException.class })\n\tpublic void testCustomerNotFoundInDatabase() {\n\t\tcustomerDao.getCustomerById(\"ZZZP\");\n\t}", "title": "" }, { "docid": "8ff9ba277eafab64de5a1c3cebf2886f", "score": "0.5653715", "text": "public Customer findCustomer(String input)\r\n {\r\n //Customer instance//\r\n Customer cust = new Customer();\r\n try \r\n {\r\n //Db Driver//\r\n Class.forName(\"org.apache.derby.jdbc.ClientDriver\");\r\n //vreate connection\r\n Connection conn = DriverManager.getConnection(\"jdbc:derby://localhost:1527/CITYSHOPPINGDB\",\"Jordan\", \"1111\");\r\n //create statement//\r\n Statement stmt = conn.createStatement();\r\n //sql statement//\r\n String sql = \"Select * From CUSTOMERSTABLE Where USERNAME = '\" + input.trim() + \"'\";\r\n //rsdult set tst//\r\n ResultSet rst;\r\n //Execute statement//\r\n rst = stmt.executeQuery(sql);\r\n \r\n if(rst.next())\r\n {\r\n cust.setUserID(rst.getInt(\"USERID\"));\r\n cust.setUserName(rst.getString(\"USERNAME\"));\r\n cust.setPassword(rst.getString(\"PASSWORD\"));\r\n cust.setFirstName(rst.getString(\"FIRSTNAME\"));\r\n cust.setLastName(rst.getString(\"LASTNAME\"));\r\n cust.setAddressLine1(rst.getString(\"ADDRESSLINE1\"));\r\n cust.setAddressLine2(rst.getString(\"ADDRESSLINE2\"));\r\n cust.setTown(rst.getString(\"TOWN\"));\r\n cust.setPostcode(rst.getString(\"POSTCODE\"));\r\n cust.setIsRegistered(rst.getBoolean(\"ISREGISTERED\"));\r\n \r\n \r\n }\r\n else\r\n {\r\n cust = null;\r\n }\r\n //catch any errors// \r\n } catch (ClassNotFoundException | SQLException ex) {\r\n String message = ex.getMessage();\r\n System.out.println(message);\r\n }\r\n //return customer variable//\r\n return cust;\r\n }", "title": "" }, { "docid": "688eadaf8caab7d820ed5c030b8fcd9b", "score": "0.565108", "text": "private List<Account_Id> retrieveAcctsCusInfo(String customerName) {\n \n StringBuilder queryString = new StringBuilder();\n queryString.append(\"from AccountPerson ACCTPER \");\n queryString.append(\"where EXISTS (select PERNAME.id.person.id from PersonName PERNAME \");\n queryString.append(\"where PERNAME.id.person.id = ACCTPER.id.person.id \");\n queryString.append(\"and PERNAME.isPrimaryName = :true \");\n queryString.append(\"and trim(PERNAME.uppercaseEntityName) = trim(:customerName)) \");\n queryString.append(\"and (exists (select PERADOVR.address1 \");\n queryString.append(\"FROM PersonAddressOverride PERADOVR \");\n queryString.append(\"where PERADOVR.id.accountPerson.id.person.id = ACCTPER.id.person.id \");\n queryString.append(\"and PERADOVR.id.accountPerson.id.account.id = ACCTPER.id.account.id \");\n queryString.append(\"and PERADOVR.address1 = :address1 \");\n if (!isBlankOrNull(address2)) {\n queryString.append(\"and PERADOVR.address2 = :address2 \");\n }\n if (!isBlankOrNull(address3)) {\n queryString.append(\"and PERADOVR.address3 = :address3 \");\n }\n\n if (!isBlankOrNull(address4)) {\n queryString.append(\"and PERADOVR.address4 = :address4 \");\n }\n queryString.append(\"and trim(PERADOVR.city) = trim(:city) \");\n queryString.append(\"and trim(PERADOVR.postal) = trim(:postal) \");\n queryString.append(\"and trim(PERADOVR.state) = trim(:states) \");\n if (!isBlankOrNull(county)) {\n queryString.append(\"and PERADOVR.county = :county \");\n }\n queryString.append(\"and trim(PERADOVR.country) = trim(:country)) \");\n queryString.append(\"OR exists (select PERS.address1 \");\n queryString.append(\"FROM Person PERS \");\n queryString.append(\"where PERS.id = ACCTPER.id.person.id \");\n queryString.append(\"and trim(PERS.address1) = trim(:address1) \");\n if (!isBlankOrNull(address2)) {\n queryString.append(\"and PERS.address2 = :address2 \");\n }\n\n if (!isBlankOrNull(address3)) {\n queryString.append(\"and PERS.address3 = :address3 \");\n }\n\n if (!isBlankOrNull(address4)) {\n queryString.append(\"and PERS.address4 = :address4 \");\n }\n queryString.append(\"and trim(PERS.city) = trim(:city) \");\n queryString.append(\"and trim(PERS.postal) = trim(:postal) \");\n queryString.append(\"and trim(PERS.state) = trim(:states) \");\n if (!isBlankOrNull(county)) {\n queryString.append(\"and PERS.county = :county \");\n }\n queryString.append(\"and trim(PERS.country) = trim(:country))) \");\n Query<Account_Id> query = createQuery(queryString.toString(), \"retrieveAcctsCusInfo\");\n query.bindBoolean(\"true\", Bool.TRUE);\n query.bindStringProperty(\"customerName\", PersonName.properties.uppercaseEntityName, customerName.toUpperCase());\n query.bindStringProperty(\"address1\", Person.properties.address1, address1);\n query.bindStringProperty(\"city\", Person.properties.city, city);\n query.bindStringProperty(\"postal\", Person.properties.postal, postal);\n query.bindStringProperty(\"states\", Person.properties.state, state);\n logger.info(customerName.toUpperCase()+\" \"+address1+\" \"+city+\" \"+postal+\" \"+state);\n if (!isBlankOrNull(address2)) {\n query.bindStringProperty(\"address2\", Person.properties.address2, address2);\n }\n\n if (!isBlankOrNull(address3)) {\n query.bindStringProperty(\"address3\", Person.properties.address3, address3);\n }\n\n if (!isBlankOrNull(address4)) {\n query.bindStringProperty(\"address4\", Person.properties.address4, address4);\n }\n\n if (!isBlankOrNull(county)) {\n query.bindStringProperty(\"county\", Person.properties.address2, county);\n }\n query.bindStringProperty(\"country\", Person.properties.country, (isBlankOrNull(country) ? defaultCountry.getId()\n .getIdValue() : country));\n logger.info(\"Country \"+defaultCountry.getId().getIdValue());\n query.addResult(\"ACCTPER.id.account.id\", \"ACCTPER.id.account.id\");\n logger.info(queryString);\n logger.info(query.list());\n return query.list();\n }", "title": "" }, { "docid": "46e1eb935b9fb8a8d3dd4571b42be047", "score": "0.5644438", "text": "public Customer findCustomer(int input)\r\n {\r\n //instance of the customer class\r\n Customer customer = new Customer();\r\n try \r\n {\r\n //Use Driver//\r\n Class.forName(\"org.apache.derby.jdbc.ClientDriver\");\r\n //Create connection//\r\n Connection conn = DriverManager.getConnection(\"jdbc:derby://localhost:1527/CITYSHOPPINGDB\",\"Jordan\", \"1111\");\r\n //creates a statment //\r\n Statement stmt = conn.createStatement();\r\n //sql stirng//\r\n String sql = \"Select * From CUSTOMERSTABLE Where USERID = \" + input + \"\";\r\n //instantiating our result set\r\n ResultSet rst;\r\n //execute query//\r\n rst = stmt.executeQuery(sql);\r\n \r\n //if result has values//\r\n if(rst.next())\r\n {\r\n customer.setUserID(rst.getInt(\"USERID\"));\r\n customer.setUserName(rst.getString(\"USERNAME\"));\r\n customer.setPassword(rst.getString(\"PASSWORD\"));\r\n customer.setFirstName(rst.getString(\"FIRSTNAME\"));\r\n customer.setLastName(rst.getString(\"LASTNAME\"));\r\n customer.setAddressLine1(rst.getString(\"ADDRESSLINE1\"));\r\n customer.setAddressLine2(rst.getString(\"ADDRESSLINE2\"));\r\n customer.setTown(rst.getString(\"TOWN\"));\r\n customer.setPostcode(rst.getString(\"POSTCODE\"));\r\n customer.setIsRegistered(rst.getBoolean(\"ISREGISTERED\"));\r\n \r\n }\r\n else\r\n {\r\n customer = null;\r\n }\r\n //catch exceptions//\r\n } catch (ClassNotFoundException | SQLException ex) {\r\n String message = ex.getMessage();\r\n System.out.println(message);\r\n }\r\n //returning customer\r\n return customer;\r\n }", "title": "" }, { "docid": "ccf1499e0d0962c89c31e898b6a899b5", "score": "0.56389886", "text": "@Test\n\tpublic void testgetCustomer()\n\t{\n\t\tSystem.out.println(customer);\n\t}", "title": "" }, { "docid": "8e196ef0a2989d360f333137a0c65c05", "score": "0.5630489", "text": "@Test\n public void addAddress() {\n\n Address address = AddressFactory.addAddress(\"492094\",23423, PersonFactory.createPerson(\"Marcell\",\"1998/08/21\"));\n System.out.println(address);\n Assert.assertNotNull(address);\n }", "title": "" }, { "docid": "9b7899ef3acbeca3f9dccb74d0fa0576", "score": "0.5628209", "text": "public void testQueryForObjectOnCobarSqlMapClientTemplate() {\n \n }", "title": "" }, { "docid": "01773cdd84e478595bff476c3e2321e9", "score": "0.5625568", "text": "@Test\n public void testGetFromAddress() throws AddressException {\n System.out.println(\"getFromAddress\");\n InternetAddress expResult = new InternetAddress(\"[email protected]\");\n InternetAddress result = instance.getFromAddress();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "6f0e8632c66fbf41cf78b1ef3b0f4920", "score": "0.561371", "text": "@Test\n\t@Transactional\n\tpublic void getAllCandidatesByStreetAddressIsEqualToSomething() throws Exception {\n\t\t// Initialize the database\n\t\tcandidateRepository.saveAndFlush(candidate);\n\n\t\t// Get all the candidateList where streetAddress equals to\n\t\t// DEFAULT_STREET_ADDRESS\n\t\tdefaultCandidateShouldBeFound(\"streetAddress.equals=\" + DEFAULT_STREET_ADDRESS);\n\n\t\t// Get all the candidateList where streetAddress equals to\n\t\t// UPDATED_STREET_ADDRESS\n\t\tdefaultCandidateShouldNotBeFound(\"streetAddress.equals=\" + UPDATED_STREET_ADDRESS);\n\t}", "title": "" }, { "docid": "abc513ed7572ff2ab582f2e49d34430a", "score": "0.55747443", "text": "@Test\n\tpublic void findCustomerByPhoneTest() {\n\t\ttry {\n\t\t\tassertNotNull(personCtrl.findCustomerByPhone(\"11223344\"));\n\t\t\tassertNull(personCtrl.findCustomerByPhone(\"88888888\"));\n\t\t\tassertTrue(personCtrl.findCustomerByPhone(\"11223344\").getName().equals(\"Palle Bodilsen\"));\n\t\t} catch (Exception e) {\n\t\t\te.getMessage();\n\t\t}\n\t}", "title": "" }, { "docid": "e034e15c77a30cfbb51f7a6b073c9dcd", "score": "0.55746853", "text": "public Map<Integer, Address> retrieveAddresses() throws SQLException, ApplicationException, MalformedURLException {\n Statement statement = dbConnection.createStatement();\n statement.closeOnCompletion();\n\n // it's OK to preserve order for now\n Map<Integer, Address> addresses = new LinkedHashMap<>();\n try (ResultSet rs = statement.executeQuery(\"SELECT ID, ADDRESS, IMPORT_TIMESTAMP, COMPANY_ID, ORDINAL FROM ADDRESSES\")) {\n while (rs.next()) {\n int id = rs.getInt(\"ID\");\n String address = rs.getString(\"ADDRESS\");\n LocalDateTime dateTime = rs.getTimestamp(\"IMPORT_TIMESTAMP\").toLocalDateTime();\n int companyId = rs.getInt(\"COMPANY_ID\");\n int ordinal = rs.getInt(\"ORDINAL\");\n Optional<Company> company = retrieveCompany(companyId);\n // extra validation step which normally shouldn't be required\n if (company.isPresent()) {\n if (ordinal > company.get().getAddressCount()) {\n String errorMsg = \"Can't possibly define an address ordinal with a value bigger than it's company's address_count\";\n log.error(errorMsg);\n throw new ApplicationException(errorMsg);\n }\n addresses.put(id, new Address(address, dateTime, company.get(), ordinal));\n }\n }\n }\n return addresses;\n }", "title": "" }, { "docid": "2912a33417423a7bd5ca8eacbbb7551a", "score": "0.55742013", "text": "public UserAdress getUserAdressByUser(User user) throws DAOException;", "title": "" }, { "docid": "9feb3192ebfd5da35434b3a9684c79bc", "score": "0.5573479", "text": "@Test\r\n public void testGetCustomer() {\r\n System.out.println(\"getCustomer\");\r\n CheckoutRecord instance = null;\r\n Customer expResult = null;\r\n Customer result = instance.getCustomer();\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "92d42251639492e5cd528cfbddc368e4", "score": "0.5567547", "text": "AddressModel getDefaultAddress(CustomerModel customerModel);", "title": "" }, { "docid": "d56a6eecef5b64fb940a9c48a4a0a94e", "score": "0.5554649", "text": "@Test\n public void test5(){\n List<Customer> allCustomer = customerMapper.findAllCustomer();\n System.out.println(allCustomer);\n }", "title": "" }, { "docid": "e416734741f8c372caaca397b4e70c44", "score": "0.5548915", "text": "@Bean\r\n public UserAddressDAO getUserAddressDAO() {\r\n \treturn new UserAddressDAOImpl(getDataSource());\r\n }", "title": "" }, { "docid": "5cf7d871e23005c0cf9312fdcc3c521f", "score": "0.554401", "text": "@Test\r\n public void getAddressTest() {\r\n assertEquals(\"address\", sessionData.getAddress());\r\n }", "title": "" }, { "docid": "0fd487f4f6f2837c0c31069643cf8d89", "score": "0.55415744", "text": "public static Customer getCustomer(int customerId) {\n \n Customer customer = null;\n String sql = \"SELECT customer.customerId, customer.customerName, customer.addressId, customer.Active, \"\n + \"address.address, address.address2, address.cityId, address.postalCode, address.phone, \"\n + \"city.city, city.countryId, country.country FROM customer \"\n + \"INNER JOIN address ON customer.addressId=address.addressId \"\n + \"INNER JOIN city ON address.cityId=city.cityId \"\n + \"INNER JOIN country ON city.countryId=country.countryId \"\n + \"WHERE customerId=?\";\n \n try (Connection conn = DBConnection.getConnection();\n PreparedStatement stmt = conn.prepareStatement(sql)) {\n \n // Bind parameters to the statement.\n stmt.setInt(1, customerId);\n \n // Execute the query.\n try (ResultSet rs = stmt.executeQuery()) {\n \n // If rows were returned, create a Customer Object and return it.\n if (rs.next()) {\n String customerName = rs.getString(\"customerName\");\n int addressId = rs.getInt(\"addressId\");\n int active = rs.getInt(\"active\");\n String address = rs.getString(\"address\");\n String address2 = rs.getString(\"address2\");\n int cityId = rs.getInt(\"cityId\");\n String postalCode = rs.getString(\"postalCode\");\n String phone = rs.getString(\"phone\");\n String city = rs.getString(\"city\");\n int countryId = rs.getInt(\"countryId\");\n String country = rs.getString(\"country\");\n\n customer = new Customer(customerId, customerName, active, addressId,\n address, address2, cityId, postalCode, phone, city, countryId, country);\n }\n }\n \n \n } catch (Exception e) {\n \n }\n \n // If the customer wasn't found or an exception occurred, return null.\n return customer;\n }", "title": "" }, { "docid": "e0a72efad49a32f6e80a9574d72580c9", "score": "0.5530492", "text": "public org.jooq.Result<org.jooq.examples.mysql.sakila.tables.records.AddressRecord> fetchAddressList() {\n\t\treturn create()\n\t\t\t.selectFrom(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS)\n\t\t\t.where(org.jooq.examples.mysql.sakila.tables.Address.ADDRESS.CITY_ID.equal(getValue(org.jooq.examples.mysql.sakila.tables.City.CITY.CITY_ID)))\n\t\t\t.fetch();\n\t}", "title": "" }, { "docid": "c8d958419dea81687f90637d49cf2ac9", "score": "0.55267817", "text": "@Test\n\t@DatabaseSetup(\"/sampleData.xml\")\n\tpublic void testAccountFound() {\n\t\taccount = accountService.findByPinCode(345);\n\t\tassertEquals(\"123PCD\", account.getCountNumer());\n\t}", "title": "" }, { "docid": "388e19aa938de3841147c40d7ebf622e", "score": "0.5524196", "text": "@Test\n public void testFind() {\n Customer customer = entityManager.find(Customer.class, 1);\n System.out.println(\">>>>>>>>>>>>>>>>>>>>>>>>>>>>>\");\n System.out.println(customer);\n }", "title": "" }, { "docid": "d0688c5b6d7b1232085c00c4ea91fa6e", "score": "0.55126804", "text": "Customer getById(int id) throws DAOException;", "title": "" }, { "docid": "f48536c7552c98a3b9c3d74d06c1d4a8", "score": "0.5511855", "text": "@Test\n\tpublic void testGetCustomerByEmailAddress() throws IOException,\n\t\t\tJSONException {\n\t\tString email = rand.nextInt(200) + \"@sap.com\";\n\t\tString customerXml = StreamHelper.readFromFile(FILENAME);\n\t\tcustomerXml = customerXml.replace(\n\t\t\t\t\"<d:EmailAddress>email</d:EmailAddress>\", \"<d:EmailAddress>\"\n\t\t\t\t\t\t+ email + \"</d:EmailAddress>\");\n\t\tString id = RequestExecutionHelper.createEntityViaREST(ENTITY_NAME,\n\t\t\t\tcustomerXml, true);\n\t\tHttpResponse resp = RequestExecutionHelper.executeGetRequest(\n\t\t\t\tENTITY_NAME + \"?$format=json&$filter=CustomerId%20eq%20'\" + id\n\t\t\t\t\t\t+ \"'\", true);\n\t\tassertEquals(\"Customer not persisted\", HttpURLConnection.HTTP_OK,\n\t\t\t\tresp.getResponseCode());\n\n\t\tresp = RequestExecutionHelper.executeGetRequest(\n\t\t\t\t\"GetCustomerByEmailAddress?EmailAddress='\" + email\n\t\t\t\t\t\t+ \"'&$format=json\", false);\n\n\t\tassertEquals(\"Sales Order not confirmed\", HttpURLConnection.HTTP_OK,\n\t\t\t\tresp.getResponseCode());\n\t\tJSONArray ja = RequestExecutionHelper.getJSONArrayofResults(resp\n\t\t\t\t.getBody());\n\n\t\tJSONObject jo = (JSONObject) ja.get(0);\n\t\tassertEquals(\n\t\t\t\t\"Unable to retreive by function import GetCustomerByEmailAddress\",\n\t\t\t\temail, jo.getString(\"EmailAddress\"));\n\t\tresp = RequestExecutionHelper.executeDeleteRequest(ENTITY_NAME + \"('\"\n\t\t\t\t+ id + \"')\", true);\n\t\tassertEquals(\n\t\t\t\t\"Unable to delete Customer via REST or incorrect HTTP Response Code:\"\n\t\t\t\t\t\t+ resp.getResponseMessage(),\n\t\t\t\tHttpURLConnection.HTTP_NO_CONTENT, resp.getResponseCode());\n\t}", "title": "" }, { "docid": "989eccf2d6bc4b505c8dd4ca1d2fe9c3", "score": "0.55117583", "text": "public CustomerDaoMysqlTest() {\n }", "title": "" }, { "docid": "3585a1f81f76c99f7e720a5eb03f2d88", "score": "0.5506022", "text": "@Test\n public void testUpdate() {\n System.out.println(\"update\");\n\n Address addr = new Address();\n addr.setFirst(\"Alex\");\n addr.setLast(\"Kaidan\");\n addr.setStreet(\"1446 Annandale Ct\");\n addr.setCity(\"Ann Arbor\");\n addr.setState(\"MI\");\n addr.setZip(\"48108\");\n\n dao.add(addr);\n //change a few values of the address\n addr.setFirst(\"Al\");\n addr.setLast(\"Kai\");\n addr.setStreet(\"1337 st\");\n addr.setCity(\"Query Town\");\n addr.setState(\"LS\");\n addr.setZip(\"90210\");\n //update the database\n dao.update(addr);\n //get the address from the database\n Address addr2 = dao.get(addr.getAddressId());\n //check if update worked\n assertEquals(addr.getFirst(), addr2.getFirst());\n assertEquals(addr.getLast(), addr2.getLast());\n assertEquals(addr.getState(), addr2.getState());\n assertEquals(addr.getStreet(), addr2.getStreet());\n assertEquals(addr.getZip(), addr2.getZip());\n assertEquals(addr.getCity(), addr2.getCity());\n\n }", "title": "" }, { "docid": "e1e74a9c0f03e78bbfb5e183038ff069", "score": "0.5505747", "text": "public AddressHibernateDao() {\n\tsuper(Address.class);\n }", "title": "" }, { "docid": "156daefaa8fb4785bd19728a08ca0b57", "score": "0.55055714", "text": "private void readEmailAddresses(ArrayList<Customer> customers) {\n if (customers.isEmpty()) {\n return;\n }\n try (Connection conn = getConnection();\n PreparedStatement stmt = conn.prepareStatement(EMAIL_SQL)) {\n for (Customer cust : customers) {\n stmt.setInt(1, cust.getId());\n ResultSet rs = stmt.executeQuery();\n while (rs.next()) {\n cust.addEmailAddress(rs.getString(\"EMailAddress\"));\n }\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "cf4b8879c0e1b93b487c2f877e152440", "score": "0.5499226", "text": "@Test\n public void testFindExistingCustomerByLastName() {\n System.out.println(\"findExistingCustomerByLastName\");\n \n // Define the customer to be searched\n Customer expectedCustomer = new Customer(3, \"Jan\", \"Jansen\", null, 3);\n String searchString = expectedCustomer.getLastName();\n \n CustomerDao customerDao = DaoFactory.getDaoFactory().createCustomerDao();\n Optional<Customer> optionalCustomer = customerDao.findCustomerByLastName(searchString);\n \n // Assert we found the customer and it is the customer we expected\n assertTrue(\"Existing Customer should be found\", optionalCustomer.isPresent());\n assertEquals(\"Existing Customer should be as expected\", expectedCustomer, optionalCustomer.get());\n }", "title": "" }, { "docid": "13ee6fc34f9dbb5b89b53f788ed2347b", "score": "0.5487595", "text": "private void retrieveAdministratorResidentialAddress(Administrator admin_model, org.greenpole.hibernate.entity.Administrator admin_hib) {\n Set res_set = new HashSet();\r\n if (admin_model.getResidentialAddress() != null) {\r\n Address admin_res_model = admin_model.getResidentialAddress();\r\n \r\n AdministratorResidentialAddress admin_res_hib = new AdministratorResidentialAddress();\r\n AdministratorResidentialAddressId admin_res_id_hib = new AdministratorResidentialAddressId();\r\n \r\n admin_res_id_hib.setAddressLine1(admin_res_model.getAddressLine1());\r\n admin_res_id_hib.setState(admin_res_model.getState());\r\n admin_res_id_hib.setCountry(admin_res_model.getCountry());\r\n \r\n admin_res_hib.setAddressLine2(admin_res_model.getAddressLine2());\r\n admin_res_hib.setAddressLine3(admin_res_model.getAddressLine3());\r\n admin_res_hib.setAddressLine4(admin_res_model.getAddressLine4());\r\n admin_res_hib.setCity(admin_res_model.getCity());\r\n admin_res_hib.setPostCode(admin_res_model.getPostCode());\r\n admin_res_hib.setIsPrimary(admin_res_model.isPrimaryAddress());\r\n \r\n admin_res_hib.setId(admin_res_id_hib);\r\n \r\n //create set\r\n res_set.add(admin_res_hib); //add residential address to set\r\n }\r\n admin_hib.setAdministratorResidentialAddresses(res_set); //add set to administrator hibernate entity\r\n }", "title": "" }, { "docid": "103521e576c0d2f547dd856bb5fa5d3c", "score": "0.5486941", "text": "public interface AddressInfoDao {\n\n AddressInfoEntity saveAddress(AddressInfoEntity entity);\n\n AddressInfoEntity findById(int id);\n\n List<AddressInfoEntity> findAllCustomer();\n\n void updateAddress(AddressInfoEntity entity);\n}", "title": "" }, { "docid": "8ebb39e4db748cf76f39e2fb5f294dfa", "score": "0.5473444", "text": "public Address getAddressById(Long id);", "title": "" }, { "docid": "508829538a45d42b5c9dde06a388aa2e", "score": "0.54709023", "text": "public Customer findCustomer(String email);", "title": "" }, { "docid": "a29711552298d52d56ac1e476101f213", "score": "0.54501474", "text": "public void setCustomerAddress1(String customerAddress1) {\n this.customerAddress1 = customerAddress1;\n }", "title": "" }, { "docid": "a8ff84c5634093ae5ba8d766c273e047", "score": "0.5438633", "text": "Address selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "ee664cd0cfdcca417bc64692b1af09fb", "score": "0.54264206", "text": "private static CustomerDAO dao() {\n DbConnection db = new DbConnection();\n return db.getConnect().onDemand(CustomerDAO.class);\n }", "title": "" }, { "docid": "ee664cd0cfdcca417bc64692b1af09fb", "score": "0.54264206", "text": "private static CustomerDAO dao() {\n DbConnection db = new DbConnection();\n return db.getConnect().onDemand(CustomerDAO.class);\n }", "title": "" }, { "docid": "96179974e8c804e65dab12fac334adc2", "score": "0.54264104", "text": "@Override\n public Customer findById(int customerId) throws DataAccessException {\n Customer customer = this.jdbcTemplate.query(\n \"SELECT * \" \n + \"FROM customers AS c, locations AS l \" \n + \"WHERE c.id = \" + customerId + \" AND c.location_id = l.id\",\n new OneCustomerExtractor());\n \n return customer;\n }", "title": "" }, { "docid": "43e8fa59b56c03ad6a7f36757dc97dd5", "score": "0.5422878", "text": "@Test\n public void testGetToAddress() throws AddressException {\n System.out.println(\"getToAddress\");\n InternetAddress expResult = new InternetAddress(\"[email protected]\");\n InternetAddress result = instance.getToAddress();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "aff8430dc5c75f46ebe9509de9bfaca1", "score": "0.54188424", "text": "@Test\n\tpublic void test_028_adminGetCustomer() \n\t\t\tthrows WrongPasswordException, UserNotFoundException\t{\n\n\t\tAdminFacade adminFacade = (AdminFacade) couponsystem.login(\"admin\", \"1234\", ClientType.ADMIN);\n\t\tCustomer cust= adminFacade.getCustomer(1);\n\t\tSystem.out.println(\"Customer id 1: \"+ cust);\n\n\t\tAssert.assertNotNull(cust);\n\t\tAssert.assertEquals(1, cust.getId());\n\t}", "title": "" }, { "docid": "96ecca22227c54516641ab8ca15d4a48", "score": "0.5411598", "text": "public static int createCustomer(String name, String address, int phone, String email) throws UniversalException {\n try {\n int id;\n Connection con = Connector.connection();\n String SQL = \"SELECT id FROM customer WHERE email = ?\";\n PreparedStatement ps = con.prepareStatement(SQL);\n ps.setString(1, email);\n ResultSet rs = ps.executeQuery();\n if (rs.next()) {\n id = rs.getInt(\"id\");\n SQL = \"UPDATE customer name = ?, adress = ?, phone = ? WHERE email = ?\";\n ps = con.prepareStatement(SQL);\n ps.setString(1, name);\n ps.setString(2, address);\n ps.setInt(3, phone);\n ps.setString(4, email);\n } else {\n SQL = \"INSERT INTO customer (name, address, phone, email) VALUES (?, ?, ?, ?)\";\n ps = con.prepareStatement(SQL, Statement.RETURN_GENERATED_KEYS);\n ps.setString(1, name);\n ps.setString(2, address);\n ps.setInt(3, phone);\n ps.setString(4, email);\n ps.executeUpdate();\n ResultSet ids = ps.getGeneratedKeys();\n ids.next();\n id = ids.getInt(1);\n }\n return id;\n } catch (SQLException | ClassNotFoundException ex) {\n throw new UniversalException(ex.getMessage());\n }\n }", "title": "" }, { "docid": "a8bca5ec4da20226630fb522887e3458", "score": "0.5411067", "text": "public void addCustomers() throws SQLException {\n\t\tScanner sc = new Scanner(System.in);\r\n\t\t//System.out.println(\"enter id\");\r\n\t\t//int id = sc.nextInt();\r\n\t\tSystem.out.println(\"Enter name\");\r\n\t\tString name = sc.nextLine();\r\n\t\tSystem.out.println(\"Enter first line address\");\r\n\t\tString add = sc.nextLine();\r\n\t\tSystem.out.println(\"enter town\");\r\n\t\tString town = sc.nextLine();\r\n\t\tSystem.out.println(\"enter postcode\");\r\n\t\tString pcode = sc.nextLine();\r\n\t\tSystem.out.println(\"enter number\");\r\n\t\tString number = sc.nextLine();\r\n\r\n\t\t// create a bean\r\n\t\tCustomer bean = new Customer();\r\n\t\tbean.setCID(getID());\r\n\t\t//System.out.println(getID());\r\n\t\tbean.setName(name);\r\n\t\tbean.setOneLineAddress(add);\r\n\t\tbean.town(town);\r\n\t\tbean.setPostcode(pcode);\r\n\t\tbean.setNumber(number);\r\n\t\t\r\n\t\t\r\n\t\t// invoke the DAO method\r\n\t\tCustomerDAO cust = new CustomerDAO();\r\n\t\tif (cust.insertEmp(bean))\r\n\t\t\tSystem.out.println(\"Record Inserted\");\r\n\t\telse\r\n\t\t\tSystem.out.println(\"Record not Inserted\");\r\n\r\n\t}", "title": "" }, { "docid": "115e84fe56c4a741eedfefdc1ee9b937", "score": "0.5410628", "text": "@Test\n public void testGetCurrentAddress() {\n System.out.println(\"getCurrentAddress\");\n staffModel instance = new staffModel();\n String expResult = \"\";\n String result = instance.getCurrentAddress();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "d9a42691d877b8ee93ac6a3ecdf5a306", "score": "0.54087067", "text": "public List<Address> getAddressByCusId(int customerId) {\n\t\treturn simpleDao.getForList(\"Address_NS.getAddressByCusId\", customerId);\n\t}", "title": "" }, { "docid": "8b97f5311ffdb19191fd1d5af40330a3", "score": "0.54079", "text": "@Override\r\n\tpublic Address fetchAddress(int addressID) {\n\t\ttry {\r\n\r\n\t\t\tSession session = sessionFactory.getCurrentSession();\r\n\r\n\t\t\tAddress address = (Address) session.get(Address.class, addressID);\r\n\r\n\t\t\treturn address;\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "a93b74b2e6bf1b66fcf18dd094636135", "score": "0.5398893", "text": "@Test\n public void testFindExistingCustomerById() {\n System.out.println(\"findExistingCustomerById\");\n \n // Define the customer to be searched\n Customer expectedCustomer = new Customer(3, \"Jan\", \"Jansen\", null, 3);\n int searchId = expectedCustomer.getId();\n \n CustomerDao customerDao = DaoFactory.getDaoFactory().createCustomerDao();\n Optional<Customer> optionalCustomer = customerDao.findCustomerById(searchId);\n \n // Assert we found the customer and it is the customer we expected\n assertTrue(\"Existing Customer should be present\", optionalCustomer.isPresent());\n assertEquals(\"Existing Customer should be as expected\", expectedCustomer, optionalCustomer.get());\n }", "title": "" }, { "docid": "37ee2c32fca916d4b29e1187dc68fbd1", "score": "0.53942937", "text": "void saveAddressEntry(CustomerModel customerModel, AddressModel addressModel);", "title": "" }, { "docid": "b18444402fb3467507856f8600b3ab48", "score": "0.5388269", "text": "public static ArrayList<Customer> getCustomers() {\n \n ArrayList<Customer> customers = new ArrayList<>();\n String sql = \"SELECT customer.customerId, customer.customerName, customer.addressId, customer.Active, \"\n + \"address.address, address.address2, address.cityId, address.postalCode, address.phone, \"\n + \"city.city, city.countryId, country.country FROM customer \"\n + \"INNER JOIN address ON customer.addressId=address.addressId \"\n + \"INNER JOIN city ON address.cityId=city.cityId \"\n + \"INNER JOIN country ON city.countryId=country.countryId \"\n + \"WHERE customer.active=1 \";\n \n \n try (Connection conn = DBConnection.getConnection();\n PreparedStatement stmt = conn.prepareStatement(sql)) {\n \n // Execute the query.\n try (ResultSet rs = stmt.executeQuery()) {\n \n // If rows were returned.\n while (rs.next()) {\n\n // Create a Customer object and add it to the ArrayList.\n int customerId = rs.getInt(\"customerId\");\n String customerName = rs.getString(\"customerName\");\n int addressId = rs.getInt(\"addressId\");\n int active = rs.getInt(\"active\");\n String address = rs.getString(\"address\");\n String address2 = rs.getString(\"address2\");\n int cityId = rs.getInt(\"cityId\");\n String postalCode = rs.getString(\"postalCode\");\n String phone = rs.getString(\"phone\");\n String city = rs.getString(\"city\");\n int countryId = rs.getInt(\"countryId\");\n String country = rs.getString(\"country\");\n\n Customer newCustomer = new Customer(customerId, customerName, active, addressId,\n address, address2, cityId, postalCode, phone, city, countryId, country);\n\n customers.add(newCustomer);\n }\n }\n } catch (Exception e) {\n \n }\n \n return customers;\n }", "title": "" }, { "docid": "a05b85071f13f41ddf11269d3e271a27", "score": "0.53871006", "text": "@Override\n\tpublic void createCustomer(String userid, String username, String password, String address) {\n\t\t\n\t\tJDBC c=new JDBC();\n\t\tConnection conn= c.getConnection();\n\t\tStatement stat=null;\n\t\t\n\t\t\ttry {\n\t\t\t\tstat = conn.createStatement();\n\t String sql = \"INSERT INTO hq_customers10 (userid,username,password,address) values(\"+\"'\"+userid+\"',\"+\n\t\t\"'\"+username+\"',\"+\"'\"+password+\"',\"+\"'\"+address+\"'\"+\")\";\n\t \n\t\tstat.executeUpdate(sql);\n\t\tstat.close();\n\t\tconn.close();\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}", "title": "" }, { "docid": "391e67fc5b5f487c65f71f58e0f0c8b6", "score": "0.53701305", "text": "@Test\n // <-- (5) JUnit calls this test method\n void getCustomer_found() throws BusinessException {\n\n // GIVEN a valid customer ID and a customer with that ID is in the system\n Customer expectedCustomer = podamFactory.manufacturePojo(Customer.class);\n Integer customerId = expectedCustomer.getCustomerId();\n\n // Mock dependencies\n doReturn(Optional.of(expectedCustomer)).when(customerRepository_mock).findById(customerId);\n\n // WHEN the customer is requested\n Customer actualCustomer = customerService_spy.getCustomer(customerId);\n\n // THEN the Customer with the given ID should be returned.\n assertEquals(expectedCustomer, actualCustomer);\n\n // Verify dependency mocks\n verify(customerRepository_mock).findById(customerId);\n }", "title": "" }, { "docid": "d7b35c3409da747d38599c2a7c647ad8", "score": "0.53622603", "text": "public interface AddressDAO extends BaseDAO{\n\t//************************\n\t// PUBLIC METHODS - START\n\t//************************\n\t\n\tpublic Address findById(Integer argId);\n\t\n\t//**********************\n\t// PUBLIC METHODS - END\n\t//**********************\n}", "title": "" }, { "docid": "8457085730c462d0aaecfd0ceedde395", "score": "0.5352187", "text": "@Test\n public void findCustomer() {\n when(customerRepository.findById(TestConstants.CUSTOMER_ID_FOUND)).thenReturn(Optional.of(new Customer()));\n Optional<Customer> customerOptional = customerService.findOne(TestConstants.CUSTOMER_ID_FOUND);\n Assert.assertTrue(customerOptional.isPresent());\n }", "title": "" }, { "docid": "a0d8f6e867de30c1ae2931975f9aaa39", "score": "0.53429306", "text": "@Override\r\n\tpublic String add(AddressBean addressBean) {\n\t\tif (addressBean == null) {\r\n\t\t\tSystem.out.println(\"NULL addressBean Obj\");\r\n\t\t}\r\n\r\n\t\tAddress address = new Address();\r\n\r\n\t\tif (addressBean.getAddressID() != 0) {\r\n\t\t\taddress.setAddressID(addressBean.getAddressID());\r\n\t\t}\r\n\t\tif (addressBean.getEmailID() != null) {\r\n\t\t\taddress.setEmailID(addressBean.getEmailID());\r\n\t\t}\r\n\t\tif (addressBean.getStreetName() != null) {\r\n\t\t\taddress.setStreetName(addressBean.getStreetName());\r\n\t\t}\r\n\t\tSystem.out.println(addressBean.getCity());\r\n\t\tif (addressBean.getCity() != null) {\r\n\t\t\taddress.setCity(addressBean.getCity());\r\n\t\t}\r\n\t\tif (addressBean.getState() != null) {\r\n\t\t\taddress.setState(addressBean.getState());\r\n\t\t}\r\n\t\tif (addressBean.getStateCode() != null) {\r\n\t\t\taddress.setStateCode(addressBean.getStateCode());\r\n\t\t}\r\n\t\tif (addressBean.getCountry() != null) {\r\n\t\t\taddress.setCountry(addressBean.getCountry());\r\n\t\t}\r\n\t\tif (addressBean.getCountryCode() != null) {\r\n\t\t\taddress.setCountryCode(addressBean.getCountryCode());\r\n\t\t}\r\n\t\tif (addressBean.getZip() != null) {\r\n\t\t\taddress.setZIP(addressBean.getZip());\r\n\t\t}\r\n\t\tif (addressBean.getIsd() != 0) {\r\n\t\t\taddress.setISD(addressBean.getIsd());\r\n\t\t}\r\n\t\tif (addressBean.getPhoneNumber() != 0) {\r\n\t\t\taddress.setPhoneNumber(addressBean.getPhoneNumber());\r\n\t\t}\r\n\t\tif (addressBean.getLatitude() != null) {\r\n\t\t\taddress.setLatitude(addressBean.getLatitude());\r\n\t\t}\r\n\t\tif (addressBean.getLongitude() != null) {\r\n\t\t\taddress.setLongitude(addressBean.getLongitude());\r\n\t\t}\r\n\r\n\t\taddress.setCreatedDate(new Date());\r\n\t\taddress.setUpdatedDate(new Date());\r\n\t\taddress.setIsActive(true);\r\n\t\ttry {\r\n\r\n\t\t\tSession session = sessionFactory.getCurrentSession();\r\n\r\n\t\t\tsession.saveOrUpdate(address);\r\n\t\t\tSystem.out.println(\"address id:\" + address.getAddressID());\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tSystem.out.println(\"Sucessfully Added\");\r\n\t\tJSONObject jsonObject = new JSONObject();\r\n\t\ttry {\r\n\t\t\tjsonObject.put(PgApplicationsUtil.STATUS, PgApplicationsUtil.SUCCESS);\r\n\t\t\tjsonObject.put(PgApplicationsUtil.ADDRESS_ID, address.getAddressID());\r\n\t\t} catch (JSONException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn jsonObject.toString();\r\n\t}", "title": "" }, { "docid": "8f8fddd5b171bb53901e76ce718bb89a", "score": "0.5339446", "text": "public void userFetchCustomerData()\r\n\t{\r\n\t\ttry {\r\n\t\t\t//Assert.fail(\"No customer data found\");\r\n\t\t\tAssert.assertEquals(false, true);\r\n\t\t\t}catch(Exception e)\r\n\t\t\t{\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t}", "title": "" }, { "docid": "a8078e62b3bb4c18ad019314f3854071", "score": "0.53332293", "text": "Businessaddress findById(Integer businessaddressId);", "title": "" }, { "docid": "69b198cc19a092a699161b228e7c669e", "score": "0.5326323", "text": "@Override\r\n\tpublic Customer getCustomer() {\n\r\n\t\tString sql = \"SELECT * FROM customer WHERE name LIKE 'shashank'\";\r\n\t\treturn mysqlTemplate.query(sql, new ResultSetExtractor<Customer>() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic Customer extractData(ResultSet rs) throws SQLException, DataAccessException {\r\n\t\t\t\tif (rs.next()) {\r\n\t\t\t\t\tCustomer customer = new Customer();\r\n\t\t\t\t\tcustomer.setName(rs.getString(\"name\"));\r\n\t\t\t\t\tcustomer.setPhoneNo(rs.getString(\"phoneNo\"));\r\n\t\t\t\t\tcustomer.setZipCode(rs.getString(\"zipCode\"));\r\n\t\t\t\t\tcustomer.setState(rs.getString(\"state\"));\r\n\r\n\t\t\t\t\treturn customer;\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\r\n\t\t});\r\n\t\t/*\r\n\t\t * customer.setName(\"shashank\"); customer.setPhoneNo(\"919019239\");\r\n\t\t * customer.setState(\"BIHAR\"); customer.setZipCode(\"813221\"); return\r\n\t\t * customer;\r\n\t\t */\r\n\t}", "title": "" }, { "docid": "c14a150d6b8e19e13d2efdeffff6ab2c", "score": "0.5322107", "text": "public Customer getById(String customerId) throws RecordNotFoundException;", "title": "" }, { "docid": "b3810ff71c915658ffda705076c7f361", "score": "0.5321403", "text": "public Address getCustomeraddrkey () {\n\t\treturn customeraddrkey;\n\t}", "title": "" }, { "docid": "0a0a16920737430dabaae15744e63e8c", "score": "0.5308321", "text": "public Customer(Long id, String username, String password, String email, String fullname, String phonenumber, String city, String county, String address, Integer role){\n super(id, username, password, email, fullname, phonenumber, city, county, 2);\n this.address = address;\n }", "title": "" }, { "docid": "8ae053c63b456aeff4fdc4bcc3f6ffb5", "score": "0.5307564", "text": "@Test\n\tpublic void testGetAllCustomers() {\n\n\t\tList<Customer> allCustomers = customerDao.getAllCustomers();\n\n\t\tassertEquals(allCustomers.size(), 2);\n\n\t}", "title": "" }, { "docid": "f6580e7ff001b1593a81fc46c95617bc", "score": "0.52960676", "text": "@Test\n public void testGetPostalCode() {\n System.out.println(\"getPostalCode\");\n Address instance = new Address(\"rua\", \"2222\", \"Porto\");\n String expResult = \"2222\";\n String result = instance.getPostalCode();\n assertEquals(expResult, result);\n\n }", "title": "" }, { "docid": "717f55de72c3f628562ea94559178219", "score": "0.5295713", "text": "List<AddressModel> getAddressBookEntries(CustomerModel customerModel);", "title": "" }, { "docid": "9bd6142a3fda60d414e88b815fa451e8", "score": "0.52956945", "text": "@Test\n public void testGetAddress() {\n System.out.println(\"getAddress\");\n Student instance = new Student();\n instance.setAddress(\"111 Norway street\");\n String expResult = \"111 Norway street\";\n String result = instance.getAddress();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "074ec8862c7d848986ed92104aac29b6", "score": "0.52950424", "text": "public boolean changeCustomerAddress(String customerId,String country, E_Cities city,String street\n\t\t\t,int houseNumber,String[] phonenumbers);", "title": "" }, { "docid": "ac782d065863f75a603f0d16a4f29031", "score": "0.5290313", "text": "Customer getCustomerById(String id);", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9c03ca03b761ffb8ec18a08f9f946b31", "score": "0.0", "text": "public Object searchauthor(String bookafname, String bookalname) {\n\t\treturn bookDetailsDAO.getBookbyauthorname(bookafname,bookalname);\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "11d67a80d2cd31685776b15ccccc59f0", "score": "0.65296996", "text": "@Override\n\t\t\tpublic void PridenieNaBielu() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "f9e89d9677a2c32741b998a15248d5eb", "score": "0.6487723", "text": "@Override\r\n\tpublic void Lyf() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481321", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "603f0a18e57250d8f455d8cee02b8630", "score": "0.64378566", "text": "@Override\r\n public void Refuel() {\n \r\n }", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "efda110dae3567ecb4380b4b672c3e8d", "score": "0.635662", "text": "public void anzeigen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "74e8290546e9191e1ae5373cdf611067", "score": "0.632985", "text": "@Override\r\n\tpublic void Petrol() {\n\t\t\r\n\t}", "title": "" }, { "docid": "777efb33041da4779c6ec15b9d85097c", "score": "0.63003165", "text": "@Override\r\n\tpublic void attaque() {\n\t\t\r\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.62754047", "text": "@Override\n\tpublic void nadar() {\n\t\t\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": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "95ffa256b098e9b494cb96d4874e063f", "score": "0.6219628", "text": "@Override\n\tvoid refuel() {\n\n\t}", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.61936283", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "556495e35d508ac961dae051dd40b377", "score": "0.61844474", "text": "@Override\n\tpublic void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "2a5b1784967271fc8f331ece95bee2d7", "score": "0.6173247", "text": "@Override\r\n\t\tpublic void Sudentcf() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "88ecb62c7a1a93131fb72fdf892b6e96", "score": "0.6163209", "text": "public void mo18969b() {\n }", "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": "af1d7a03c29969bf292760b5053e6876", "score": "0.61020076", "text": "@Override\r\n\tpublic void avanzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c841421384f44238db014cb90fda536", "score": "0.609516", "text": "@Override\n\tpublic void foocall() {\n\t}", "title": "" }, { "docid": "0535d453c6fc64b6eaca5802d4fcc90b", "score": "0.6038407", "text": "@Override\r\n public void atacar() {\n }", "title": "" }, { "docid": "60b0611b3c431fd71ef675a97986d8ce", "score": "0.60336334", "text": "@Override\n\tpublic void bouger() {\n\t\t\n\t}", "title": "" }, { "docid": "93def8741e9801c804ccf94cc0a8c010", "score": "0.60311055", "text": "@Override\r\n\tpublic void comenzar() {\n\r\n\t}", "title": "" }, { "docid": "1eb850cd140029c3284631b6ea4a3a92", "score": "0.6027037", "text": "public void mo7036d() {\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": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124886", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124886", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "068782d4ca6b549d5b38c417ad4e7fbc", "score": "0.6000438", "text": "@Override\n\tpublic void embauche() {\n\t\t\n\t}", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.59513867", "text": "public void mo5201a() {\n }", "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": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "59fd0ccdce9a8709416c7bdb0b2740f7", "score": "0.59167963", "text": "@Override\n public void solidaria() {\n \n \n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "5bb37ed5e0a08c04cb9e970f3e334584", "score": "0.5900665", "text": "@Override\n\tpublic void accion() {\n\n\t}", "title": "" }, { "docid": "f5d4f15bcecfb5439000bf8ce3463314", "score": "0.58953464", "text": "@Override\r\n protected void init() {\n \r\n }", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.58881694", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "40577cf33330bd70c08bc8e310b4436d", "score": "0.58730215", "text": "@Override\n\tpublic void falar() {\n\n\t}", "title": "" }, { "docid": "faf38c70a5abc38e6e6819931e05fdbb", "score": "0.5862488", "text": "@Override\n protected void initialize() { \n }", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "d735c08559b9ccd2b05318e486d52050", "score": "0.585777", "text": "@Override\n public void generate() {\n\n }", "title": "" }, { "docid": "c27a216ac709a1e3b9e7156e1c8104e5", "score": "0.5851762", "text": "public void initailize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7a47ca8b3a55006f92a271bd71da43b7", "score": "0.583262", "text": "@Override\n\tprotected void Sessioprovide() {\n\t\t\n\t}", "title": "" }, { "docid": "ea53a5ca5e3b174f6cc9c79515550cf9", "score": "0.58291394", "text": "@Override\n\tpublic void Faild() {\n\t}", "title": "" }, { "docid": "d8211552b23c886f56d98e4efc7a55fa", "score": "0.58270997", "text": "private void OI() {\n\t\t\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.58069414", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a92ef4f07b07ea7007bb9f92475a6a97", "score": "0.580496", "text": "private void UDPM() {\n\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d4dcf8d1b9c1a18d89084161416469f7", "score": "0.5784581", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "329dcd36a53fe338909407efceaa048a", "score": "0.57815796", "text": "@Override\n\tpublic void ovr() {\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": "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": "17cb0676e79dae45623dcbdd6cf2af58", "score": "0.5772904", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "1c10afc999966d89d84d1fb549910281", "score": "0.5767454", "text": "@Override \n\t\tprotected void parse() {\t\t\t\n\t\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": "ec8745d1f613de3522e52b19973434de", "score": "0.5756245", "text": "@Override\n protected void initialize()\n {\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": "6e516d7c552dcd925edbe971705ed31a", "score": "0.5742983", "text": "public void mo41019a() {\n }", "title": "" }, { "docid": "b07fa371b39d89d85ee2b46058153640", "score": "0.5741075", "text": "private void set() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f523d2f53f60a1ff3244e79927814898", "score": "0.5737052", "text": "public void mo46998a() {\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": "c5279e0c512854cbd0006208a1abf1e4", "score": "0.57304084", "text": "public void sprzedaj() {\n\t\t\n\t}", "title": "" }, { "docid": "4791f18ffa1db9cf9896372a4bb400cd", "score": "0.5712386", "text": "@Override\n\t\t\t\tpublic void update() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "b329688e04bd48d0184ad83234db5580", "score": "0.5702716", "text": "@Override\r\n public int describeContents() {\n return 0;\r\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.5696396", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "94016f621198b25fa3341ef2382c6876", "score": "0.5689651", "text": "@Override\n\tpublic void grandir() {\n\t\t\n\t}", "title": "" }, { "docid": "7a5ce2d278c2d189c1b8ef8c5af5d416", "score": "0.5686818", "text": "@Override\n\tprotected void initValue() {\n\n\t}", "title": "" }, { "docid": "9d551589ec00d7b16a77df7a4d54caae", "score": "0.5685303", "text": "@Override\n public void init()\n {\n\n }", "title": "" }, { "docid": "be566411d6ed8758a024d201a025c102", "score": "0.5682171", "text": "@Override\r\n\tprotected void update() {\n\t}", "title": "" }, { "docid": "264b73ede67394b8d57db8f3623673db", "score": "0.56804705", "text": "@Override\r\n\tpublic void afterConstruct() {\n\t\t\r\n\t}", "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": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a055db97fb04dc3ace542d55ba4eb731", "score": "0.5659786", "text": "public void wypozycz() {\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": "704e96abbfbd46ebb60411493a1aaa91", "score": "0.5653795", "text": "@Override\r\n\tpublic void magic() {\n\r\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a27e39df543aa3ffb8199bd78f8882c4", "score": "0.0", "text": "@Override\r\n\tpublic void visit(InstrumentBlock instrumentBlock) {\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "ea8460c7314de45803a19bf7c984d4bf", "score": "0.6523024", "text": "@Override\n public void perish() {\n \n }", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "97d296a7afb7dc4215dea52c44825799", "score": "0.6477082", "text": "@Override\n\tpublic void anular() {\n\n\t}", "title": "" }, { "docid": "2dcda7054abb2ac593302e39a2284f12", "score": "0.64591026", "text": "@Override\n\tprotected void getExras() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "5a2cf6475b24af1408d07534790462c3", "score": "0.6254286", "text": "@Override\r\n\tpublic void tires() {\n\t\t\r\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": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.6223679", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "73463480918eeb854ee253f0b90b8f6a", "score": "0.6201336", "text": "@Override\n\tpublic void emprestimo() {\n\n\t}", "title": "" }, { "docid": "abcadad5e0834117553d2b9f67dbe5da", "score": "0.61950207", "text": "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "abcadad5e0834117553d2b9f67dbe5da", "score": "0.61950207", "text": "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.61922914", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "61358eff9372995c8157b02d47a44a6a", "score": "0.6186996", "text": "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "title": "" }, { "docid": "24836dd83ff94f056e1fcc3c7d1bd342", "score": "0.6173591", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "title": "" }, { "docid": "a89a6a1e5b118a43de52e5ffd006970b", "score": "0.61327106", "text": "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50eb8922149b6987def0b49575615f5e", "score": "0.61285484", "text": "@Override\n protected void getExras() {\n }", "title": "" }, { "docid": "1c8a7915e39d52e26f69fe54c7cab366", "score": "0.6080161", "text": "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b910b894fe7ad3828da2a23b46f46c91", "score": "0.6077022", "text": "@Override\n\tpublic void nefesAl() {\n\n\t}", "title": "" }, { "docid": "c95af00aee2fa41e8a03e3640ca30750", "score": "0.6041561", "text": "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "title": "" }, { "docid": "680ac9d1bc1773741a758290a71e990c", "score": "0.6024072", "text": "@Override\n public void func_104112_b() {\n \n }", "title": "" }, { "docid": "5fda61f75e47491fe0badbfe139070a9", "score": "0.6020252", "text": "@Override\n\tprotected void initdata() {\n\n\t}", "title": "" }, { "docid": "c682095c2b4f1946676c35a1deda3c6f", "score": "0.59984857", "text": "@Override\n\tpublic void nghe() {\n\n\t}", "title": "" }, { "docid": "d96634e617617b62a9a214992c3282f5", "score": "0.59672105", "text": "@Override\n public void function()\n {\n }", "title": "" }, { "docid": "d96634e617617b62a9a214992c3282f5", "score": "0.59672105", "text": "@Override\n public void function()\n {\n }", "title": "" }, { "docid": "2f8bc325cbd58e19eae4acec86ffe12c", "score": "0.5965777", "text": "public final void mo51373a() {\n }", "title": "" }, { "docid": "49a9123d9e9db8177a76f606f354e668", "score": "0.59485507", "text": "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "title": "" }, { "docid": "100a24d43d831707c172dbf3ee5fc24c", "score": "0.5940904", "text": "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "d61bad95071bf9780632fa87c434bab9", "score": "0.5910017", "text": "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "96b7c88f13f659e23bf631d2d5053b40", "score": "0.58946234", "text": "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "53a77fe02ff8601b7f3a53009ccfd05c", "score": "0.5886006", "text": "public void designBasement() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a515456a9e11b20998e2bfdd6c3dce67", "score": "0.58839184", "text": "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4da8e9683b65c2cb7a22ee151d8c65e1", "score": "0.58691067", "text": "public void gored() {\n\t\t\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "b77eac7bccbd213b5d32d3e935c81ffe", "score": "0.58503544", "text": "@Override\n\tpublic void einkaufen() {\n\t}", "title": "" }, { "docid": "d06828119af4f719fc9db2eac57f2601", "score": "0.5847024", "text": "@Override\n protected void initialize() {\n\n \n }", "title": "" }, { "docid": "8c4be9114abb8cb7b57dc3c5d34882a8", "score": "0.58239377", "text": "public void mo38117a() {\n }", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "2fda59f727914730e1ccc0c0b05e57bd", "score": "0.5810089", "text": "Constructor() {\r\n\t\t \r\n\t }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cc32bfffe770f8a5c5cf88e6af231ff8", "score": "0.5800025", "text": "@Override\n\tpublic void one() {\n\t\t\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1260bf70decb91faff8466bae6765ba2", "score": "0.5790187", "text": "private stendhal() {\n\t}", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "f397b517b3f3532ba47ff3ee806bc420", "score": "0.5787092", "text": "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\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": "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": "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": "4a5b709a6553621aa4226737a20ba120", "score": "0.5747959", "text": "@Override\n\tpublic void debite() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "7f454c1ee07328138017395e69b0420e", "score": "0.5721452", "text": "public contrustor(){\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "2911d3f6b10d531f37ba6cbbb1e4e44a", "score": "0.57142824", "text": "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "8862e414d1049ff417c2327b444db61e", "score": "0.5711723", "text": "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "title": "" }, { "docid": "29251cbd61f58d1440af2e558c6a19bc", "score": "0.57041645", "text": "@Override\n\tprotected void logic() {\n\n\t}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "86232e6a9aaa22e4403270ce10de01d3", "score": "0.5696783", "text": "public void mo4359a() {\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.56774884", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "c0ca0277e879a2b84cd3748b428dc4fa", "score": "0.56734604", "text": "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "dca752ff24c887a367479fb49a14a486", "score": "0.56728", "text": "private RepositorioAtendimentoPublicoHBM() {\r\t}", "title": "" }, { "docid": "137850fe8be37a8fdff9b5f1d19f9338", "score": "0.56696945", "text": "@Override\n protected void initialize() \n {\n \n }", "title": "" }, { "docid": "51fb4cf832bd3bdab07f36fa0655aed2", "score": "0.5661323", "text": "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "title": "" }, { "docid": "fb842ef1f250aaba4286c185df305a9b", "score": "0.5657007", "text": "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "cc19c0c7ab1bdc568508b0381e170621", "score": "0.56549734", "text": "@Override\n protected void prot() {\n }", "title": "" }, { "docid": "92ff2215e2946927efe966014fa1b664", "score": "0.5654792", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "title": "" }, { "docid": "289e1db116de136c64eef3293ece7f16", "score": "0.5652974", "text": "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "title": "" }, { "docid": "502b1954008fce4ba895ad7a32b37b97", "score": "0.5650185", "text": "public void mo55254a() {\n }", "title": "" } ]
8f41fa79d9313214b154e543d58f57cc
activated after user selects valid operator. sets variable function value.
[ { "docid": "b590b8b704f152b4f465d29df4190335", "score": "0.6336798", "text": "public void setFunction(View sender){\n \t//checks to see if function has already been entered.\n \t//if already entered, does nothing.\n \tif (function != -1){\n \t\treturn;\n \t}\n \t//open toast if operator used out of order\n \telse if(output.getText().toString().equals(\"\") || output.getText().toString().indexOf(\"=\")!= -1){ \n \t\ttoastMessage(sender);\n \t\tonLongClick(sender);\n \t\treturn;\n \t}\n \t\n \tButton bt = (Button)sender;\n \t//determine what number to set function to\n \tif(bt.getText().toString().equals(\"+\")){\n \t\tfunction = 0;\n \t}\n \telse if (bt.getText().toString().equals(\"-\")){\n \t\tfunction = 1;\n \t}\n \telse if(bt.getText().toString().equals(\"*\")){\n \t\tfunction = 2;\n \t}\n \telse if(bt.getText().toString().equals(\"/\")){\n \t\tfunction = 3;\n \t}\n \t\n \t//get value of number in display and set to firstNum\n \tfirstNum = Double.parseDouble(output.getText().toString());\n \t\n \t//add operand to function\n \tfunctionSym = bt.getText().toString();\n \toutput.append(\" \" + bt.getText());\n \tisEmpty=false;\n \t\n }", "title": "" } ]
[ { "docid": "b84a6e2ca5486900bce2de0ba6624426", "score": "0.6092802", "text": "@FXML\n public void procssOperators(ActionEvent event) {\n try {\n String value = ((Button) event.getSource()).getText(); //this action gets the String value from a button\n if (!value.equals(\"=\")) { //checks if the operator is =\n if (!operator.isEmpty()) { //checks if the the operator is empty or not\n return;\n }\n operator = value; //assigns the operator\n number1 = Double.parseDouble(screenLabel.getText()); //stores the first number in memory\n screenLabel.setText(\"\"); //resets the label\n\n } else {\n if (operator.isEmpty()) { //checks if the operator is empty or not, if it's empty it does nothing\n return;\n }\n number2 = Double.parseDouble(screenLabel.getText()); //sets the second number\n double output = model.Calculate(number1, number2, operator); //method for calculation\n screenLabel.setText(String.valueOf(output)); // puts the combined value\n operator = \"\"; //defaults the operator\n start = true; // readds the check so one can do newer calculations\n\n }\n } catch (Exception e) {\n e.printStackTrace();\n screenLabel.setText(\"Error in the operation\"); //In the events of an error in when calculating\n }\n }", "title": "" }, { "docid": "f1fcb58b6fcff077819934b38c84d911", "score": "0.59074897", "text": "public OperatorStrategy() {\n\t\t\tthis.expression = callSuccessor();\n\t\t}", "title": "" }, { "docid": "b1c1525ecdddecd62448d99463ab18f9", "score": "0.58904535", "text": "private void setOperation(){\n char[] mathOps = {'+', '-', '*', '/'};\n\n if(operationMenu == 5)\n operation = mathOps[randomGenerator.nextInt(4)];\n else\n operation = mathOps[operationMenu - 1];\n\n // prevent divide by zero errors\n // have to reset the values to prevent circular problem\n // of operation being '/'\n if((values[0] == 0 || values[1] == 0) && operation == '/')\n setQuestion();\n }", "title": "" }, { "docid": "78edeab2fb3b2928a9c155995777bc12", "score": "0.5836967", "text": "@FXML private void handleOperatorButtonClick(ActionEvent event) {\n \tButton operatorButton = (Button) event.getSource();\r\n \tchar operatorChar = operatorButton.getText().charAt(0);\r\n \t\r\n \tcalc.performOperator(operatorChar);\r\n \t\r\n \tupdate();\r\n }", "title": "" }, { "docid": "8c8ab739a1dea832c1b06dc16adef594", "score": "0.5769747", "text": "public void setOperator(String op) {\n if (!(this.result.equals(\"\") && this.operator.equals(\"\") && this.operand\n .equals(\"\"))) {\n this.berechne();\n if (!this.getError().equals(\"\")) {\n return;\n }\n // Wenn Fehler aufgetreten, Methode verlassen\n }\n // Es wurde bereits ein Operand eingegeben => diesen zum Resultat machen\n if (!this.operand.equals(\"\")) {\n this.result = this.operand;\n this.operand = \"\";\n }\n // Es liegt kein Resultat vor => Resultat auf Null setzen\n if (this.result.equals(\"\")) {\n this.result = \"0\";\n }\n this.operator = op;\n this.error = \"\";\n }", "title": "" }, { "docid": "3022840402fd10074180dd2aa7e4f496", "score": "0.57524", "text": "void setOp(boolean isOp);", "title": "" }, { "docid": "790c0e243978fc11d7566f780a5a4937", "score": "0.56338507", "text": "public void operator( char op )\r\n\t{\r\n\t\tint n1 = Integer.parseInt( num1Field.getText().trim() );\r\n\t\tint n2 = Integer.parseInt( num2Field.getText().trim() );\r\n\t\tint result = 0;\r\n\t\t\r\n\t\tswitch( op )\r\n\t\t{\r\n\t\t\tcase '+':\r\n\t\t\t\tresult = n1+n2; break;\r\n\t\t\tcase '*':\r\n\t\t\t\tresult = n1*n2; break;\r\n\t\t\tcase '/':\r\n\t\t\t\tresult = n1/n2; break;\r\n\t\t\tcase '-':\r\n\t\t\t\tresult = n1-n2; break;\r\n\t\t}//end of switch\r\n\t\t\r\n\t\tresultField.setText( String.valueOf(result ));\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1bbe714f4f837d1ebf3a5d61445adcb8", "score": "0.5633144", "text": "public void operatorControl()\n {\n this.drive.isAuton=false;\n while(this.isOperatorControl())\n {\n ControlSignal command = this.driveStation.getControlState();\n String da = this.drive.act(command);\n String pa = this.pickup.act(command);\n String sa = this.shooter.act(command);\n \n String ta;\n double dist = this.targeterTelop.act();\n if(0.00000001 > Math.abs(dist + 1))\n ta = \"Target not found\";\n else\n {\n if(dist > 176 && dist < 181)\n ta = \"TARGET IN RANGE: SHOOT \" + dist;\n else\n ta = \"Target not in range \" + dist;\n }\n \n this.driveStation.display(da, pa, sa, ta);\n \n \n edu.wpi.first.wpilibj.Timer.delay(0.01);\n }\n }", "title": "" }, { "docid": "64f262ab91ca78f4c5550c7045fbaaff", "score": "0.56231105", "text": "public native static void setFSMVariable(float oper1, java.util.List oper2);", "title": "" }, { "docid": "79772f352503619827d14340439b198c", "score": "0.55781054", "text": "public void setOperator(String operator)\n {\n this.operator = operator;\n }", "title": "" }, { "docid": "e5c6add34983971f472034d7c516e7d5", "score": "0.55711514", "text": "public void setOperator(String operator) {\n this.operator = operator;\n }", "title": "" }, { "docid": "7f84e09b635e1b64f353d178d1d9a9d8", "score": "0.55676043", "text": "private WorkingMode() {\n void var3_1;\n void var2_-1;\n void var1_-1;\n this.code = var3_1;\n }", "title": "" }, { "docid": "cb737b38d1fcc40bcc383662c4d0b927", "score": "0.5564833", "text": "public String onOperatorClicked(String operator) {\n if (!calculatorModel.getTempOperand().isEmpty()) {\n calculatorModel.appendExpression(operator);\n calculatorModel.pushOperand(Double.valueOf(calculatorModel.getTempOperand()));\n calculatorModel.pushOperator(operator);\n calculatorModel.setTempOperand(\"\");\n }\n return calculatorModel.getExpression();\n }", "title": "" }, { "docid": "af40f680d1b0336f875a96e7dd843a0f", "score": "0.5558129", "text": "public void operation(String op){\n String s = input.getText().toString();\n String current = s;\n Log.i(\"operation: \", op);\n current += op;\n Log.i(\"current input: \", current);\n // update the input field with the new symbol (\"+\", \"-\", etc.)\n input.setText(current);\n\n // check if we should compute something or not\n if(operation.length() > 0) {\n // there has already been a previous operation entered, compute it first\n numTwo = Float.parseFloat(s);\n argTwoSet = true;\n Log.i(\"previous op detected: \", String.valueOf(numTwo));\n compute();\n } else {\n // this is the first operation on a number\n numOne = Float.parseFloat(s);\n argOneSet = true;\n input.setText(\"\");\n }\n operation = op;\n }", "title": "" }, { "docid": "72e28e884d6e108a67efb1abfefb4243", "score": "0.55327636", "text": "public void add_pressed(ActionEvent actionEvent) {\n variable_two = Double.parseDouble(variable);\n selected_operation = \"add\";\n variable = \"\";\n }", "title": "" }, { "docid": "253d0eef9632a75184e9b8828f93aeac", "score": "0.551813", "text": "@Override\n public void actionPerformed(ActionEvent arg0) {\n opSimptoma.setText(paOp);\n }", "title": "" }, { "docid": "e104f83d86e091c9133b37b04f371fbb", "score": "0.55049896", "text": "private boolean assignStat() {\n\t\tif (!skipErrors(NonTerminal.assignStat)) return false;\n\t\tif (firstSetContains(NonTerminal.variable)) {\n\t\t\twrite(\"assignStat -> variable assignOp expr\");\n\t\t\tif (variable() & assignOp() & expr()) {\n\t\t\t\tmakeFamily(\"assignStat\", 2);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "170799a202d527afd33a68af57c8f7f3", "score": "0.5502743", "text": "int getOperatorValue();", "title": "" }, { "docid": "170799a202d527afd33a68af57c8f7f3", "score": "0.5502743", "text": "int getOperatorValue();", "title": "" }, { "docid": "d7680739f9cc733dcb0d47a3ccbc0890", "score": "0.5486039", "text": "@Override\r\n\t\tpublic void actionPerformed(ActionEvent e) {\n\r\n\t\t\tString operacion = e.getActionCommand(); // Texto del botón\r\n\t\t\t// System.out.println(operacion);\r\n\t\t\tcalcular(Double.parseDouble(pantalla.getText()));\r\n\t\t\tultimaOperacion = operacion;\r\n\t\t\tprincipio = true;\r\n\r\n\t\t}", "title": "" }, { "docid": "6b8e577cdde3aa9e1165a431246bbbea", "score": "0.54419535", "text": "public void setOperator(String operator) {\n\t\tthis.operator = operator;\n\t}", "title": "" }, { "docid": "482c7956443088d579f59c8504b9d6b9", "score": "0.5404457", "text": "public void variableStatusChanged( CoreParameter parameter, boolean isVariable );", "title": "" }, { "docid": "25f9ce4913b791474c9402fbc29ccb61", "score": "0.5402691", "text": "public Builder setOperatorValue(int value) {\n operator_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "57ac2ba480d2ce3c16851263787b806e", "score": "0.5376581", "text": "@Override\n public void actionPerformed(ActionEvent arg0) {\n opSimptoma.setText(doOp);\n }", "title": "" }, { "docid": "7cd3927d8bdae6741c98cf94113317bf", "score": "0.5372903", "text": "private void expr(){\n \tterm();\n \twhile(is(TK.PLUS) || is(TK.MINUS)){\n \t scan();\n \t\tterm();\n \t}\n }", "title": "" }, { "docid": "1de76bc7f9b28bcfc45e70629247e375", "score": "0.537251", "text": "private Operator(String newValue)\r\n\t{\r\n\t\tthis.value = newValue;\r\n\t}", "title": "" }, { "docid": "99610379bc593c106c7d42bf6e70c308", "score": "0.5344098", "text": "public void actionPerformed(ActionEvent e) {\r\n\r\n CalStans.outcome = \"\";\r\n\r\n //Clear the last input operand\r\n if ((e.getSource()) == CalStans.CE) {\r\n int pos = posOfLastOperator(CalStans.exp);\r\n if (pos >= 0)\r\n CalStans.exp = CalStans.exp.substring(0, pos + 1);\r\n else //Only one operand is directly cleared\r\n CalStans.exp = \"0\";\r\n CalStans.show.setText(CalStans.exp);\r\n }\r\n //Empty expression\r\n else if ((e.getSource()) == CalStans.C) {\r\n CalStans.exp = \"0\";\r\n CalStans.show.setText(CalStans.exp);\r\n }\r\n //Clear the last character\r\n else if ((e.getSource()) == CalStans.del) {\r\n CalStans.exp = CalStans.exp.substring(0, CalStans.exp.length() - 1);\r\n if (CalStans.exp.length() == 0) //After deleting all the input, set to display 0\r\n CalStans.exp = \"0\";\r\n CalStans.show.setText(CalStans.exp);\r\n }\r\n //Receive operator\r\n else if ((e.getSource()) == CalStans.plus || (e.getSource()) == CalStans.minus || (e.getSource()) == CalStans.mul || (e.getSource()) == CalStans.div) {\r\n if (CalStans.exp.length() != 0 && (!isOperator(CalStans.exp.charAt(CalStans.exp.length() - 1)))) //You must have a number to enter an operator\r\n CalStans.exp += e.getActionCommand();\r\n CalStans.show.setText(CalStans.exp);\r\n }\r\n //Infix expression is evaluated and output\r\n else if ((e.getSource()) == CalStans.eql) {\r\n CalStans.exp+='#';\r\n //Split the numbers from the expression\r\n String[] nums = CalStans.exp.split(\"[^.0-9]\");\r\n System.out.println(nums);\r\n List<Double> numList = new ArrayList<>();\r\n for (int i = 0; i < nums.length; i++) { //Convert each string of numbers to DOUBLE type\r\n if (!\"\".equals(nums[i]))\r\n numList.add(Double.parseDouble(nums[i]));\r\n }\r\n double out = getValueOfMid(CalStans.exp, numList); //Evaluation using infix\r\n CalStans.outcome = \"\" + out; //Convert the obtained result into a string\r\n CalStans.exp = CalStans.exp.substring(0,CalStans.exp.length()-1);\r\n CalStans.showexp.setText(CalStans.exp);\r\n CalStans.show.setText(CalStans.outcome);\r\n CalStans.exp = \"\";\r\n }\r\n //Get the label value corresponding to the button\r\n else {\r\n if (CalStans.exp == \"0\")\r\n CalStans.exp = \"\";\r\n CalStans.exp += e.getActionCommand();\r\n CalStans.show.setText(CalStans.exp);\r\n }\r\n\r\n }", "title": "" }, { "docid": "6d0ca75558706424473677c7a45a28f4", "score": "0.5320841", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(spOp);\n }", "title": "" }, { "docid": "ac2fdc29b26b05b997947b19684aef22", "score": "0.5314913", "text": "public void initialValueChanged( CoreParameter parameter, double value );", "title": "" }, { "docid": "2bba78ed57d85297ee0603c5bd27ff7d", "score": "0.5309055", "text": "public void setOperator(String operator) {\n this.operator = operator == null ? null : operator.trim();\n }", "title": "" }, { "docid": "2bba78ed57d85297ee0603c5bd27ff7d", "score": "0.5309055", "text": "public void setOperator(String operator) {\n this.operator = operator == null ? null : operator.trim();\n }", "title": "" }, { "docid": "2bba78ed57d85297ee0603c5bd27ff7d", "score": "0.5309055", "text": "public void setOperator(String operator) {\n this.operator = operator == null ? null : operator.trim();\n }", "title": "" }, { "docid": "2bba78ed57d85297ee0603c5bd27ff7d", "score": "0.5309055", "text": "public void setOperator(String operator) {\n this.operator = operator == null ? null : operator.trim();\n }", "title": "" }, { "docid": "3ad6d98f8ae3e447f71e08126c70e095", "score": "0.53085613", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tmode = PRIORITY;\n\t\t\t\tSystem.out.println(\"你选择了优先级优先调度算法!\");\n\t\t\t}", "title": "" }, { "docid": "1932bd87cf7a53b13e48584c4862c955", "score": "0.53041685", "text": "public void setOperatorState(final byte aState) {\r\n operatorState = aState;\r\n }", "title": "" }, { "docid": "0c8dc95abd0fa2d7ed440be522a21428", "score": "0.5295836", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tmode = FCFS;\n\t\t\t\tSystem.out.println(\"你选择了先来先服务调度算法!\");\n\t\t\t}", "title": "" }, { "docid": "6d2e9746b380cbf26cb936e49cfa97fd", "score": "0.5285727", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(swOp);\n }", "title": "" }, { "docid": "d782946e1210826f2fe9ddd5e4aa71fd", "score": "0.52845436", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(whOp);\n }", "title": "" }, { "docid": "7790b08ea126c1a705a218e16de4ab2d", "score": "0.5283003", "text": "void registerOperation(Operator operator, OperatorTermSupplier<T> operatorTermSupplier);", "title": "" }, { "docid": "8f4958f1f20ea2fd2739e28b96f684ec", "score": "0.52795494", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(foOp);\n }", "title": "" }, { "docid": "f558b1dcf20267a03f12deca0a664107", "score": "0.52791375", "text": "void setVar ( int var, Formula f, boolean tf) {\n\t\t// Stub\n\t\t\n\t}", "title": "" }, { "docid": "a5661cc4173af63154cbf7b50f085da5", "score": "0.52761644", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(blOp);\n }", "title": "" }, { "docid": "03ccdf9c13ff8a8933c898526a117289", "score": "0.5274398", "text": "public void operatorControl() {\n Launcher.startCompressor();\n DriveTrain.setSafety(true);\n Claws.setSafety(true);\n double claws = 0;\n boolean holdClaws = false;\n while (isOperatorControl() && isEnabled()){\n DriveTrain.drive(DStation.getAxisDriver(1), -(DStation.getAxisDriver(2)));\n \n boolean[] coDriverButtons = DStation.getButtonsCoDriver();\n \n if(coDriverButtons[1]){\n Launcher.launchLauncher();\n }else if(coDriverButtons[3]){\n Launcher.retractLauncher();\n }\n \n boolean[] driverButtons = DStation.getButtonsDriver();\n \n if(driverButtons[2]){\n Claws.setOpenClose(1);\n }else if(driverButtons[3]){\n Claws.setOpenClose(-1);\n }\n \n if(!holdClaws) claws = DStation.getAxisDriver(3);\n if(driverButtons[1]){\n holdClaws = !holdClaws;\n }\n System.out.println(claws);\n Claws.setRaiseLower(claws);\n \n /**\n * Used for the drive train movement.\n */\n motor power = driverjoystick^2;\n\n \n }\n }", "title": "" }, { "docid": "926a9aae637e026f74a60376c940bc6d", "score": "0.5274157", "text": "public static void boolPrimary()\n {\n\t\tState op;\n\t\tE();\n\t\tif (state == State.Gt||state == State.Ge||\n\t\t\tstate == State.Le||state == State.Lt||\n\t\t\tstate == State.Eq||state == State.Neq)\n\t\t{\n\t\t\top = state;\n\t\t\tgetToken();\n\t\t\tE();\n\t\t\temitOperator(op);\n\t\t}\n\t}", "title": "" }, { "docid": "e8fab0379bd02a3ce0d370a598b407a7", "score": "0.52630466", "text": "@Override\n\tpublic void setActiveOperand(double activeOperand) {\n\t\tthis.activeOperand = Double.valueOf(activeOperand);\n\t}", "title": "" }, { "docid": "fbc521ee3dbd7db5f0a6429e854fbf52", "score": "0.52627546", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n if(oprButs.indexOf(lastOpr)!=-1 || lastOpr==butEqual){\n disp.setText(\"\");\n }\n if(valButs.indexOf(e.getSource())!=-1){\n if(e.getActionCommand().equals(\".\")){\n if(disp.getText().indexOf(\".\")!=-1)\n return;\n }\n disp.setText(disp.getText()+e.getActionCommand());\n }\n else if(oprButs.indexOf(e.getSource())!=-1){\n if(e.getActionCommand().equals(\"C\")){\n opr = null;\n accumulator = 0;\n result = 0;\n disp.setText(\"\");\n }\n if(opr==null){\n accumulator = (disp.getText().length()==0)?result:Double.parseDouble(disp.getText());\n opr = e.getActionCommand();\n }else{\n doOperation();\n disp.setText(result+\"\");\n opr = e.getActionCommand();\n }\n }\n else{\n if(oprButs.indexOf(lastOpr)!=-1){ \n JOptionPane.showMessageDialog(null,\"Please Choose a Number\");\n return;\n }\n doOperation();\n disp.setText(result+\"\");\n opr = null;\n }\n lastOpr = (JButton) e.getSource();\n }", "title": "" }, { "docid": "14deadf856348621bb1d5d19a106f24e", "score": "0.5251792", "text": "public void onOperatorClick(View view) {\r\n if (!mInputValue1TextView.getText().toString().equals(\"\")) {\r\n switch (view.getId()) {\r\n case R.id.button_plus:\r\n operation_string = operator.ADD.name();\r\n mOperatorTextView.setText(\"+\");\r\n break;\r\n case R.id.button_minus:\r\n operation_string = operator.SUB.name();\r\n mOperatorTextView.setText(\"-\");\r\n break;\r\n case R.id.button_multiply:\r\n operation_string = operator.MUL.name();\r\n mOperatorTextView.setText(\"x\");\r\n break;\r\n case R.id.button_divide:\r\n operation_string = operator.DIV.name();\r\n mOperatorTextView.setText(\"/\");\r\n break;\r\n case R.id.button_mod:\r\n operation_string = operator.MOD.name();\r\n mOperatorTextView.setText(\"%\");\r\n break;\r\n case R.id.button_pow:\r\n operation_string = operator.POW.name();\r\n mOperatorTextView.setText(\"^\");\r\n break;\r\n case R.id.button_root:\r\n operation_string = operator.ROOT.name();\r\n mOperatorTextView.setText(\"√\");\r\n break;\r\n default:\r\n operation_string = operator.NULL.name();\r\n break;\r\n }\r\n\r\n }\r\n else if (view.getId() == R.id.button_root) {\r\n mInputValue1TextView.setText(\"1\");\r\n operation_string = operator.ROOT.name();\r\n mOperatorTextView.setText(\"√\");\r\n }\r\n else {\r\n Toast.makeText(this, \"Enter first number before operation\", Toast.LENGTH_LONG).show();\r\n }\r\n }", "title": "" }, { "docid": "700195a64de5ea1bcf56dc573f134c5b", "score": "0.5244566", "text": "public Builder setOperator(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n operator_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "700195a64de5ea1bcf56dc573f134c5b", "score": "0.5244566", "text": "public Builder setOperator(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n operator_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ebd157ea94a1ad3d0db158624395132e", "score": "0.5243786", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(itOp);\n }", "title": "" }, { "docid": "f06aae6841901dd18e0a7d890ca8840d", "score": "0.52389145", "text": "private void addop()\r\n {\r\n curToken = getToken();\r\n\r\n // Implement the \"+\" production.\r\n if(curToken.getToken().equals(\"+\"))\r\n {\r\n \t\r\n removeToken();\r\n }\r\n // Implement the \"-\" production.\r\n else if(curToken.getToken().equals(\"-\"))\r\n {\r\n removeToken();\r\n }\r\n // Invalid program detected.\r\n else\r\n {\r\n isValid = false;\r\n }\r\n }", "title": "" }, { "docid": "6446e46dc3647d7382768cfda8c1ddb0", "score": "0.5231021", "text": "IFProMutableOperator setCode(String code);", "title": "" }, { "docid": "5057695bfdaa67119ea7c823500ec0e3", "score": "0.5228816", "text": "boolean enter(FpowerExpr visitable);", "title": "" }, { "docid": "439af12b96ce990cde83466d31022d53", "score": "0.5219681", "text": "public static void setOperator(MenigaTermsOperations operator) {\n\t\tMenigaTerms.apiOperator = operator;\n\t}", "title": "" }, { "docid": "998abd28e8f54ff9dfbe6d6f31e8fc8d", "score": "0.5213319", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n if(!isOperator(button))\n {\n if(isOprClick)// if an opration is clicked\n {\n num1 = Float.valueOf(jTextField1.getText());\n jTextField1.setText(\"\");\n }\n \n if(!jTextField1.getText().contains(\".\")){ //if the text dont contain '.'\n\n if(jTextField1.getText().equals(\"0\") && !button.getText().equals(\".\")){\n // if jtext contain only 0 clear text\n // and the button pressed is not '.'\n jTextField1.setText(button.getText());\n isOprClick = false;\n }\n else\n {\n jTextField1.setText(jTextField1.getText()+button.getText());\n isOprClick = false;\n }\n }\n else if(!button.getText().equals(\".\")){\n jTextField1.setText(jTextField1.getText()+button.getText());\n isOprClick = false;\n }\n }\n else{// if the button is an operation [+ - * / =]\n \n if(oprClickCount == 0)// if an operation is clicked for the first time\n {\n oprClickCount++;\n // convert the textField to float and set it into num1\n num1 = Float.valueOf(jTextField1.getText());\n opr = button.getText();\n isOprClick = true;\n }else{\n \n if(!button.getText().equals(\"=\"))// if the operation is not '='\n {\n if(!isEqualClick)\n {\n num2 = Float.valueOf(jTextField1.getText());\n jTextField1.setText(Float.toString(calculate(opr, num1, num2)));\n opr = button.getText();\n num2 = Float.valueOf(jTextField1.getText());\n isOprClick = true;\n isEqualClick = false;\n }else{\n isEqualClick = false;\n opr = button.getText();\n }\n }\n else{\n num2 = Float.valueOf(jTextField1.getText());\n jTextField1.setText(Float.toString(calculate(opr, num1, num2)));\n num1 = Float.valueOf(jTextField1.getText());\n isOprClick = true;\n isEqualClick = true;\n }\n \n } \n \n }\n \n }", "title": "" }, { "docid": "6594245beae81bf11c8e1b3f6cd4ad99", "score": "0.5211898", "text": "public void isAnOperator(String oper) {\n\t\tif (oper.equals(\"+\") ||\n\t\t\toper.equals(\"-\") ||\n\t\t\toper.equals(\"*\") ||\n\t\t\toper.equals(\"/\") ||\n\t\t\toper.equals(\"sqrt\")||\n\t\t\toper.equals(\"log\") ||\n\t\t\toper.equals(\"ln\") ||\n\t\t\toper.equals(\"%\") ||\n\t\t\toper.equals(\"^\") ||\n\t\t\toper.equals(\"mod\")||\n\t\t\toper.equals(\"!\")){\n\t\t\tthis.model.setOperator(oper);\n\t\t}\n\n\t}", "title": "" }, { "docid": "11d9a4c3e394c39b4396752520592b68", "score": "0.52047205", "text": "public void setFunction(Function function)\n {\n this.function = function;\n }", "title": "" }, { "docid": "e99995b62e80b812f499c8cfbb53f0d5", "score": "0.5201682", "text": "private void setOperation(String addition2) {\n\t\t\n\t}", "title": "" }, { "docid": "44829e91ca0d5b4393f7f7b81d376c10", "score": "0.5198758", "text": "@Override\n\tpublic void setPendingBinaryOperation(DoubleBinaryOperator op) {\n\t\tObjects.requireNonNull(op);\n\t\t\n\t\tthis.pendingOperation = op;\n\t}", "title": "" }, { "docid": "385a34ac5a72444acefc5dcfc8d6b307", "score": "0.5197936", "text": "public ActionListener createAction(JButton button) {\n ActionListener acLis = new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n \n // if the button is not an operation (is number include '.')\n if(!isOperator(button))\n {\n if(isOprClick)// if an opration is clicked\n {\n num1 = Float.valueOf(jTextField1.getText());\n jTextField1.setText(\"\");\n }\n \n if(!jTextField1.getText().contains(\".\")){ //if the text dont contain '.'\n\n if(jTextField1.getText().equals(\"0\") && !button.getText().equals(\".\")){\n // if jtext contain only 0 clear text\n // and the button pressed is not '.'\n jTextField1.setText(button.getText());\n isOprClick = false;\n }\n else\n {\n jTextField1.setText(jTextField1.getText()+button.getText());\n isOprClick = false;\n }\n }\n else if(!button.getText().equals(\".\")){\n jTextField1.setText(jTextField1.getText()+button.getText());\n isOprClick = false;\n }\n }\n else{// if the button is an operation [+ - * / =]\n \n if(oprClickCount == 0)// if an operation is clicked for the first time\n {\n oprClickCount++;\n // convert the textField to float and set it into num1\n num1 = Float.valueOf(jTextField1.getText());\n opr = button.getText();\n isOprClick = true;\n }else{\n \n if(!button.getText().equals(\"=\"))// if the operation is not '='\n {\n if(!isEqualClick)\n {\n num2 = Float.valueOf(jTextField1.getText());\n jTextField1.setText(Float.toString(calculate(opr, num1, num2)));\n opr = button.getText();\n num2 = Float.valueOf(jTextField1.getText());\n isOprClick = true;\n isEqualClick = false;\n }else{\n isEqualClick = false;\n opr = button.getText();\n }\n }\n else{\n num2 = Float.valueOf(jTextField1.getText());\n jTextField1.setText(Float.toString(calculate(opr, num1, num2)));\n num1 = Float.valueOf(jTextField1.getText());\n isOprClick = true;\n isEqualClick = true;\n }\n \n } \n \n }\n \n }\n };\n return acLis; \n\n }", "title": "" }, { "docid": "e786c42b1cb2509b1e69445ef56235f3", "score": "0.5194775", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(clOp);\n }", "title": "" }, { "docid": "89f384e7ff078beda2922879d0426719", "score": "0.51942194", "text": "public static void setTempFlag(String flag, String operator, int value) {\n switch (operator) {\n case \"=\":\n tempFlags.put(flag, value);\n break;\n case \"+\":\n tempFlags.put(flag, tempFlags.get(flag) - value);\n break;\n case \"-\":\n tempFlags.put(flag, tempFlags.get(flag) + value);\n break;\n case \"*\":\n tempFlags.put(flag, tempFlags.get(flag) * value);\n break;\n case \"/\":\n tempFlags.put(flag, tempFlags.get(flag) / value);\n break;\n default:\n }\n }", "title": "" }, { "docid": "43b6bcf27c9e2dc5d54bf4eed78187a3", "score": "0.51795226", "text": "public void setValueAsFunction(String sqlfunction) {\n this.valueIsFunction = sqlfunction;\n }", "title": "" }, { "docid": "b4b54cecb1468ed637711568935179bc", "score": "0.5173862", "text": "public void setActivationFunction(@NotNull IActivationFunction func) {\n this.func = func;\n }", "title": "" }, { "docid": "7e713c0eb58e8a7696f55edfc5b93bda", "score": "0.5170295", "text": "private void RecuperarEqFuego(java.awt.event.ActionEvent evt) {\n var_eqF.setText(\"\"+(Integer.parseInt(var_eqF.getText())+100));\n }", "title": "" }, { "docid": "b566bd39c9e416befb08caad045d0145", "score": "0.51660824", "text": "public void operatorControl() {\r\n System.out.println(\"Teleop start\");\r\n // Reverse the motors due to the way the joyStick is setup to\r\n // make the robot behave correctly.\r\n drive.setInvertedMotor(RobotDrive.MotorType.kRearLeft, true);\r\n drive.setInvertedMotor(RobotDrive.MotorType.kRearRight, true);\r\n\r\n while (isOperatorControl() && isEnabled()) {\r\n // Only kick the ball if we've got enough pressure\r\n // and the button is pressed\r\n if (checkButton(joyStick) &&\r\n compressor.getPressureSwitchValue())\r\n kickTheBall();\r\n\r\n // Note, we increase sensitivity when we go slow...\r\n drive.arcadeDrive(joyStick, true);\r\n Timer.delay(0.005);\r\n\r\n // feed the user watchdog at every period when in autonomous\r\n Watchdog.getInstance().feed();\r\n }\r\n System.out.println(\"Teleop end\");\r\n }", "title": "" }, { "docid": "1ff24dd30105961cf685a1955d10713a", "score": "0.5166077", "text": "public void setFunctionType(char fType){\r\n this.functionType = fType;\r\n }", "title": "" }, { "docid": "771e1399b586ce3f935224899dc38020", "score": "0.5163841", "text": "private static void action(Stack<Double> values, char op, double a, double b) {\n if (op == '^')\n values.push(exp(a, b));\n else if (op == '!')\n values.push(fac(b));\n else if (op == '*')\n values.push(mul(a, b));\n else if (op == '/') {\n values.push(Double.valueOf(div(a, b)));\n } else if (op == '+')\n values.push(add(a, b));\n else if (op == '-')\n values.push(sub(a, b));\n }", "title": "" }, { "docid": "3d66030b44388f7168227d802fbc9770", "score": "0.5159662", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(diOp);\n }", "title": "" }, { "docid": "4db21d75cd33489bc6348d9b018d0171", "score": "0.5155164", "text": "public void div_pressed(ActionEvent actionEvent) {\n variable_two = Double.parseDouble(variable);\n selected_operation = \"div\";\n variable = \"\";\n }", "title": "" }, { "docid": "a91c64572b19ccc0ca6ca494457fb8ce", "score": "0.5150992", "text": "public interface IFProMutableOperator extends IFProOperator {\r\n\t/**\r\n\t * <p>Set operator code as string</p>\r\n\t * @param code operator code\r\n\t * @return self\r\n\t */\r\n\tIFProMutableOperator setCode(String code);\r\n\t\r\n\t/**\r\n\t * <p>Set operator code as char array</p>\r\n\t * @param code operator code\r\n\t * @return self\r\n\t */\r\n\tIFProMutableOperator setCodeAsChar(char[] code);\r\n\r\n\t/**\r\n\t * <p>Set operator code as char array</p>\r\n\t * @param code operator code\r\n\t * @param from form index in the array\r\n\t * @param to to index in the array\r\n\t * @return self\r\n\t */\r\n\tIFProMutableOperator setCodeAsChar(char[] code, int from, int to);\r\n\t\r\n\t/**\r\n\t * <p>Set operator type</p>\r\n\t * @param type operator type\r\n\t * @return self\r\n\t */\r\n\tIFProMutableOperator setType(OperatorType type);\r\n\t\r\n\t/**\r\n\t * <p>Set operator priority</p>\r\n\t * @param priority operator priority\r\n\t * @return self\r\n\t */\r\n\tIFProMutableOperator setPriority(int priority);\r\n}", "title": "" }, { "docid": "c7b70ccd80e65e380bfd290a46dd0c93", "score": "0.514083", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(reOp);\n }", "title": "" }, { "docid": "4fa7916e235e2a2eacbf79efb914c88d", "score": "0.5132553", "text": "private void EQ() {\r\n\t\tif (registerFile.getRegister(a) == imm12) {\r\n\t\t\tregisterFile.setRegister(b, 1);\r\n\t\t} else {\r\n\t\t\tregisterFile.setRegister(b, -1);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "912394f2e8b0a53ffb82aa64af95a1ff", "score": "0.51307505", "text": "public void operatorControl() {\n\t\twhile (isOperatorControl() && isEnabled()) {\n\t\t\t// Create a variable for the left motor output value\n\t\t\t// and set it equal to the left joystick input\n\t\t\tdouble leftOutput = leftStick.getY();\n\t\t\t\n\t\t\t// Set the left motor to the correct value\n\t\t\tleftMotor.set(leftOutput);\n\t\t\t\n\t\t\t// Wait for a little while - run this loop ~200 times a second\n\t\t\tTimer.delay(0.005);\n\t\t}\n\t}", "title": "" }, { "docid": "a662b9582919ac99613b07fc0b2897c9", "score": "0.5127255", "text": "public void operatorControl() {\r\n while (isOperatorControl() ){\r\n //Shooter objShooter = new Shooter();\r\n //objShooter.shootInit();\r\n objShooter.shooterPrint();\r\n //objShooter.Start();\r\n if (shootA) { //increases speed\r\n objShooter.speedIncrease();\r\n LCD.println(Line.kUser2, 1, \"Pressing A\");\r\n } else if (shootB) { //decreases speed\r\n objShooter.speedDecrease();\r\n LCD.println(Line.kUser2, 1, \"Pressing B\");\r\n } else if (shootX){\r\n objShooter.percentageAdd();\r\n LCD.println(Line.kUser2, 1, \"Pressing X\");\r\n } else if (shootY){\r\n objShooter.percentageSubtract();\r\n LCD.println(Line.kUser2, 1, \"Pressing Y\");\r\n }\r\n LCD.println(Line.kUser2, 1, \"Not pressing\");\r\n }\r\n }", "title": "" }, { "docid": "9c8d5a9c3004c8cffb86cc9027d2af7a", "score": "0.5126061", "text": "private static void performAnAction(char symbol, int position, double a, double b, ArrayList<String> equalize) {\n switch (symbol) {\n case '^':\n equalize.set(position, Double.toString(Math.pow(a, b)));\n break;\n case '+':\n equalize.set(position, Double.toString(a + b));\n break;\n case '-':\n equalize.set(position, Double.toString(a - b));\n break;\n case '*':\n equalize.set(position, Double.toString(a * b));\n break;\n case '/':\n if (b != 0) {\n equalize.set(position, Double.toString(a / b));\n break;\n }\n System.out.println(\"Division by zero!!!\");\n System.exit(0); // stop program\n }\n }", "title": "" }, { "docid": "9d17b4eefca82e705861ca7d3357393a", "score": "0.5123477", "text": "public native static void setVariable(GameControl oper1, java.util.List oper2);", "title": "" }, { "docid": "67afa2201d1325789050b3ec8b911af1", "score": "0.51170063", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(laOp);\n }", "title": "" }, { "docid": "14492353143cdd4e3ed9f12388ab3fd2", "score": "0.51161355", "text": "boolean isOperator();", "title": "" }, { "docid": "2b21978e375f1da3d85a0094a3c1e5a8", "score": "0.5113384", "text": "private void nextOp() {\n\t\t// expectingOperator = false;\n\t\tint old = pos;\n\t\tpos = old + 2;\n\t\tif (!done()) {\n\t\t\tString lexeme = program.substring(old, pos);\n\t\t\tif (operators.contains(lexeme)) {\n\t\t\t\ttoken = new Token(lexeme); // two-char operator\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tpos = old + 1;\n\t\tString lexeme = program.substring(old, pos);\n\t\ttoken = new Token(lexeme); // one-char operator\n\t}", "title": "" }, { "docid": "fbec6b207f15033756146ee58d34050b", "score": "0.51119304", "text": "public boolean parseAssignOp(Token token){\n String type = token.getType();\n if (type == \"ASSMT\"){\n return true;\n }\n else{\n return false;\n }\n }", "title": "" }, { "docid": "8e4b5826a39dcbcd603f2b1edd5ebdca", "score": "0.51081187", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n opSimptoma.setText(buOp);\n }", "title": "" }, { "docid": "a4c9303bbce568dd6f9aaa16ed021b7b", "score": "0.51000625", "text": "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t\n\t\t\tvarP.setText(\"True\"); // muestra el total en un lateral\n\t\t}", "title": "" }, { "docid": "4dc2b2a205bbe2cf3b6b96d6e4c2fda9", "score": "0.50930035", "text": "public RetrievalCompleteOperator()\n\t{\n\t}", "title": "" }, { "docid": "63d30bd0d8a5ac472dd7a6a50b7593bc", "score": "0.5087895", "text": "public void performFunction(View sender){\n \tif(!isValidEquation(sender)){ \n \t\ttoastMessage(sender);\n\n \t\treturn;\n \t}\n \t//get the second num\n \tsecondNum = Double.parseDouble(output.getText().toString());\n \t//iterate through to correct function\n \tif(function==0){\n \t\tresult = firstNum + secondNum;\n \t}\n \telse if (function==1){\n \t\tresult = firstNum - secondNum;\n \t}\n \telse if (function==2){\n \t\tresult = firstNum * secondNum;\n \t}\n \telse if (function==3){\n \t\tresult = firstNum / secondNum;\n \t}\n \t\n \toutput.setText(firstNum + \" \" + functionSym + \" \" + secondNum + \" = \" + result);\n \t\n \t//set tempResult=result before resetting result so that MC can store this value\n \ttempResult=result;\n \t\n \t//reset variables\n \tfirstNum = 0;\n \tsecondNum = 0;\n \tresult = 0;\n \tfunction=-1;\n \tfunctionSym=\"\";\n \tisEmpty=false;\n }", "title": "" }, { "docid": "6d267b27fef3626be069ee47ae7ade0a", "score": "0.5074247", "text": "private void setExpressionStatus() {\n // Check if the current state is already correct.\n if (parameter.hasExpression() && !control.isVisible()\n && expressionField.getText().equals(parameter.getExpression())) return;\n if (parameter.hasExpression()) {\n control.setVisible(false);\n expressionPanel.setVisible(true);\n expressionField.setText(parameter.getExpression());\n \n } else {\n control.setVisible(true);\n expressionPanel.setVisible(false);\n }\n expressionMenuItem.setState(parameter.hasExpression());\n }", "title": "" }, { "docid": "2029c1c8f24b239d1689bdda73225237", "score": "0.50742424", "text": "protected void execute() {\n\t\tRobotIO.setVoltageComp(enabled, value);\n\t}", "title": "" }, { "docid": "51ea868b990888424b5d3cf71dc8fee3", "score": "0.5069401", "text": "protected abstract void executeOpMode();", "title": "" }, { "docid": "ca8b43d4aaa6a1d19d3bcbaf86f420a4", "score": "0.5067648", "text": "@Override\n\tpublic _Sexpr eval() throws LispException {\n\t\treturn new Symbol(\"SET\");\n\t}", "title": "" }, { "docid": "f1f9fada03ff009092b453ada3176540", "score": "0.5067576", "text": "public void operatorControl() {\n chassis.setSafetyEnabled(true);\n servo.setAngle(0.0);\n while (isOperatorControl() && isEnabled()) {\n Timer.delay(0.01);\n if (leftStick.getRawButton(1)) {\n victor.set(0.5);\n servo.setAngle(0.5);\n } else {\n victor.set(0.0);\n }\n\n if (leftStick.getRawButton(2)) {\n\n servo.setAngle(-0.5);\n }\n }\n }", "title": "" }, { "docid": "9c33f68efdf9973d7b09826663d0aaa3", "score": "0.5066713", "text": "private void EX()\n\t{\n\t\t\n\t\tEX_LOCK = true;\n\t\tif (ID_EX.operator==1|ID_EX.operator==2| ID_EX.operator==3| ID_EX.operator==4| ID_EX.operator==5|ID_EX.operator==6| ID_EX.operator==7)\n\t\t{\n\n\t\t\tswitch(ID_EX.operator)\n\t\t\t{\n\t\t\tcase 1: \n\t\t\t\tID_EX.ALUOutput = ID_EX.A + ID_EX.B;\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tID_EX.ALUOutput = ID_EX.A - ID_EX.B;\n\t\t\t\tbreak;\n\t\t\tcase 3: \n\t\t\t\tID_EX.ALUOutput = ID_EX.A * ID_EX.B;\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tID_EX.ALUOutput = ID_EX.A/ID_EX.B;\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tID_EX.ALUOutput = ID_EX.A^ID_EX.B;\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tID_EX.ALUOutput = ID_EX.A & ID_EX.B;\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tID_EX.ALUOutput = ID_EX.A | ID_EX.B;\n\t\t\t\tbreak;\t\t\t\t \n\n\n\t\t\t}\n\n\t\t}\n\t\tif (ID_EX.operator== 8|| ID_EX.operator== 9)\n\t\t{\n\n\t\t\tswitch(ID_EX.operator)\n\t\t\t{\n\t\t\tcase 8: \n\t\t\t\tID_EX.ALUOutput = ID_EX.A + ID_EX.Imm;\n\t\t\t\tbreak;\n\t\t\tcase 9:\n\t\t\t\tID_EX.ALUOutput = ID_EX.A - ID_EX.Imm;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\tif (ID_EX.operator== 10|| ID_EX.operator== 11)\n\t\t{\n\t\t\tID_EX.ALUOutput = ID_EX.A + ID_EX.Imm;\n\t\t\t\n\t\t}\n\t\tif (ID_EX.operator== 12 || ID_EX.operator == 13)\n\t\t{\n\t\t\tcounterTotalStallCycles +=2;\n\t\t\tID_EX.condition = false;\n\t\t\t//System.out.print(\"B\");\n\t\t\t/*Stall other cycles*/\n\t\t\tID_LOCK = true;\n\t\t\tIF_LOCK = true;\n\t\t\tswitch(ID_EX.operator)\n\t\t\t{\n\t\t\tcase 12:\n\t\t\t\tif(ID_EX.A==Registers[0].value)\n\t\t\t\t\t{\n\t\t\t\t\tID_EX.condition = true;\n\t\t\t\t\tID_EX.ALUOutput = ID_EX.NPC + ID_EX.Imm;\n\t\t\t\t\t}\n\t\t\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tID_EX.condition = false;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\n\t\t\tcase 13:\n\t\t\t\t//System.out.println(\"case 13\");\n\t\t\t\tif(ID_EX.A!=Registers[0].value)\n\t\t\t\t{\n\t\t\t\n\t\t\t\tID_EX.condition = true;\n\t\t\t\tID_EX.ALUOutput = ID_EX.NPC + ID_EX.Imm;\n\t\t\t\t//System.out.println(ID_EX.condition+\" \"+ID_EX.A);\n\t\t\t\t}\n\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tID_EX.condition = false;\n\t\t\t\t\t//System.out.println(ID_EX.condition+\" ami nai \"+ID_EX.A);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t}\n\t\t\n\t\tEX_MEM.copy(ID_EX);\t\t\n\t\tEX_MEM.setEmpty(false);\n\t\tID_EX.setEmpty(true);\t\t\n\t\tEX_LOCK = false;\n\t\t\n\t\n\t}", "title": "" }, { "docid": "6eb984305b46669ef7307048ecf7f47f", "score": "0.5064423", "text": "final public void Expression() throws ParseException {\r\n if (jj_2_2(3)) {\r\n AssignExpression();\r\n } else if (jj_2_3(1)) {\r\n OrExpression();\r\n } else {\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n }", "title": "" }, { "docid": "bcf069740da53a4e3c8250b6535ff3b6", "score": "0.50643325", "text": "public void setOperator(BigDecimal operator) {\n this.operator = operator;\n }", "title": "" }, { "docid": "4c2dd422cea0bdd09b77375e0f243ff9", "score": "0.5058129", "text": "public void setVarField(ActionEvent event) {\n \n if(inHouseRBtn.isSelected()) {\n compNameLbl.setText(\"Machine ID\");\n modifyVarFieldTxt.setPromptText(\"Mach ID\");\n }\n if(outsourcedRBtn.isSelected()) {\n compNameLbl.setText(\"Company Name\");\n modifyVarFieldTxt.setPromptText(\"Comp Nm\");\n }\n }", "title": "" }, { "docid": "d5a108223545451f5e09cfd14cdd54d4", "score": "0.5053972", "text": "public void setOperator(Long operator) {\n this.operator = operator;\n }", "title": "" }, { "docid": "d5a108223545451f5e09cfd14cdd54d4", "score": "0.5053972", "text": "public void setOperator(Long operator) {\n this.operator = operator;\n }", "title": "" }, { "docid": "a3872eea3874ff948b03d1331f0e0b45", "score": "0.50513977", "text": "public void setInput(Operator<IN> input) {\n this.input = checkNotNull(input, \"The input may not be null.\");\n }", "title": "" }, { "docid": "142c450c8a45d86c4e47dbe62ea0f9bd", "score": "0.5050631", "text": "@Test\n public void testFeatureValidation_logicalAssignmentOp() {\n typeInfoValidationMode = TypeInfoValidation.NONE;\n disableTypeCheck();\n testFeatureValidation(\"x ||= y\", Feature.LOGICAL_ASSIGNMENT);\n testFeatureValidation(\"x &&= y\", Feature.LOGICAL_ASSIGNMENT);\n testFeatureValidation(\"x ??= y\", Feature.LOGICAL_ASSIGNMENT);\n }", "title": "" }, { "docid": "0638496968485788a090509e24206c32", "score": "0.5044579", "text": "protected Parser operator() {\r\n\tAlternation a = new Alternation(\"operator\");\r\n\ta.add(new Symbol('<'));\r\n\ta.add(new Symbol('>'));\r\n\ta.add(new Symbol('='));\r\n\ta.add(new Symbol(\"<=\"));\r\n\ta.add(new Symbol(\">=\"));\r\n\ta.add(new Symbol(\"!=\"));\r\n\treturn a;\r\n}", "title": "" }, { "docid": "65dda89a1ba41c014f3a5aaedda2e365", "score": "0.50387824", "text": "private static int pref(String op) {\r\n int prf = 99;\r\n if (op.equals(\"^\")) prf = 5;\r\n if (op.equals(\"*\") || op.equals(\"/\")) prf = 4;\r\n if (op.equals(\"+\") || op.equals(\"-\")) prf = 3;\r\n if (op.equals(\")\")) prf = 2;\r\n if (op.equals(\"(\")) prf = 1;\r\n return prf;\r\n }", "title": "" } ]
18803ff15f107d2c93b54030383509cd
Computes the specified quantile elements over the values previously added.
[ { "docid": "cab891d2ba24e0559694e4627dd91a42", "score": "0.6464681", "text": "public DoubleArrayList quantileElements(DoubleArrayList phis) {\n\tthis.sort();\n\treturn cern.jet.stat.Descriptive.quantiles(this.buffer, phis);\n\t/*\n\tint bufferSize = (int) this.size();\n\tdouble[] quantileElements = new double[phis.size()];\n\tfor (int i=phis.size(); --i >=0;) {\n\t\tint rank=(int)Utils.epsilonCeiling(phis.get(i)*bufferSize) -1;\n\t\tquantileElements[i]=buffer.get(rank);\n\t}\n\treturn new DoubleArrayList(quantileElements);\n\t*/\n}", "title": "" } ]
[ { "docid": "10838ad71e00de71f917d828f73c4d61", "score": "0.62831426", "text": "double calculateQuantile(final List<Double> values, final double p) {\n assert this.isSorted(values);\n\n double quantile = 0;\n\n /* here are small symbols better to read than long ones */\n final int s = values.size();\n\n if (s > 1) {\n\n /* Epsilon */\n final double e = 0.000001;\n final int k = (int) (p * (s));\n\n if ((((s * p) % 1) < e) && (((s * p) % 1) > (-e))) {\n\n /* s * p is element of N */\n quantile = (((double) values.get(k - 1)) + ((double) values.get(k))) / 2;\n } else {\n\n /* s * p is not an element of N */\n quantile = values.get(k);\n }\n } else if (s == 1) {\n quantile = values.get(0);\n }\n return quantile;\n }", "title": "" }, { "docid": "dae405a5d6bacca00e8c7ca372f9ebda", "score": "0.62014997", "text": "private double calculateLowerQuartile(final List<Double> values) {\n assert this.isSorted(values);\n\n return this.calculateQuantile(values, 0.25d);\n }", "title": "" }, { "docid": "2bba70714f8e0ab00c42824b82000d1d", "score": "0.56635636", "text": "public Quantiles quantiles() {\n return this.quantiles;\n }", "title": "" }, { "docid": "d4fd26fbc35884b0f1d8fadf71968640", "score": "0.566228", "text": "public E getQuantile(double quantile) {\n if(quantile >= 1 | quantile < 0) {\r\n throw new IndexOutOfBoundsException(\"Quantile is out of range\");\r\n }\r\n\r\n // typecasts the double into an int and returns the index of the node given the percentage\r\n int index = (int)(this.size() * quantile);\r\n\r\n // returns the value at the requested index\r\n return this.get(index);\r\n }", "title": "" }, { "docid": "69ffb50fa1c573f32199b1eba3bbc364", "score": "0.5522699", "text": "@Test\n public void testQuantile() {\n System.out.println(\"quantile\");\n GaussianDistribution instance = new GaussianDistribution(4.0, 3.0);\n instance.rand();\n Assert.assertEquals(1.475136, instance.quantile(0.2), 1.0E-6);\n Assert.assertEquals(2.426798, instance.quantile(0.3), 1.0E-6);\n Assert.assertEquals(3.239959, instance.quantile(0.4), 1.0E-6);\n Assert.assertEquals(4.0, instance.quantile(0.5), 1.0E-6);\n Assert.assertEquals(4.760041, instance.quantile(0.6), 1.0E-6);\n Assert.assertEquals(5.573202, instance.quantile(0.7), 1.0E-6);\n }", "title": "" }, { "docid": "5c7cf70a664fd9ea21ff439ad7f21b3b", "score": "0.5472982", "text": "@Override\n public CalculatedQuantileResult query(Long poolId, float percentile) throws InvalidPoolId {\n SortedArrayList values = poolHashTable.get(poolId);\n if (values != null) {\n int n = values.size();\n if (percentile == 0) {\n return new CalculatedQuantileResult(n, values.get(0));\n }\n boolean evenSized = n % 2 == 0;\n int i = (int) Math.ceil(n * (percentile / 100));\n if (evenSized && percentile == 50F) {\n return new CalculatedQuantileResult(n, (values.get(i-1) + values.get(i)) / 2 );\n } else {\n return new CalculatedQuantileResult(n, values.get(i-1));\n }\n }\n throw new InvalidPoolId();\n }", "title": "" }, { "docid": "f978eebc888b7c253943f28415b123ec", "score": "0.5402987", "text": "public AttributeDataProfile withQuantiles(Quantiles quantiles) {\n this.quantiles = quantiles;\n return this;\n }", "title": "" }, { "docid": "d2cc48865f08511d66b5f9d1ac72600e", "score": "0.5314308", "text": "@Test\n public void testQuantile() {\n System.out.println(\"quantile\");\n LogNormalDistribution instance = new LogNormalDistribution(1.0, 1.0);\n instance.rand();\n assertEquals(0.2654449, instance.quantile(0.01), 1E-7);\n assertEquals(0.754612, instance.quantile(0.1), 1E-6);\n assertEquals(1.171610, instance.quantile(0.2), 1E-6);\n assertEquals(1.608978, instance.quantile(0.3), 1E-6);\n assertEquals(9.791861, instance.quantile(0.9), 1E-6);\n assertEquals(27.83649, instance.quantile(0.99), 1E-5);\n }", "title": "" }, { "docid": "3bff9636cf4cb7df5be16d5ad2e4a80d", "score": "0.52748996", "text": "@Override\n public List<com.spotify.ffwd.Metric> apply(Summary summary) {\n final List<Summary.Snapshot.ValueAtPercentile> snapshot =\n summary.getSnapshot().getValueAtPercentiles();\n\n // TODO: Add stat: min/max/average/p75/p99\n return Collections.singletonList(\n new com.spotify.ffwd.Metric().value(snapshot.get(50).getValue())\n );\n }", "title": "" }, { "docid": "760bfba9f1f81bb3746eac388359d691", "score": "0.5273152", "text": "public double percentileValue(int pct) {\r\n //Make a new array so that original array remains unaltered\r\n double[] sortedObs3 = new double [observations.length];\r\n //Sort observations into ascending order\r\n sortedObs3= selectionSort(); \r\n //Only find percentile if 0<=pct<=100. Otherwise return error.\r\n if (pct >= 0 && pct <=100){\r\n \r\n double factor = pct/(double)100;\r\n double pos = sortedObs3.length*factor -1;\r\n if (pos >=1){\r\n return sortedObs3[(int)Math.round(pos)];\r\n }\r\n else {\r\n return sortedObs3[0]; \r\n }\r\n \r\n }\r\n else \r\n {\r\n String error1 = \"Error. Percentile must be between 0 and 100\";\r\n System.out.println(error1); \r\n return -1;\r\n }\r\n}", "title": "" }, { "docid": "a4e96621c41b6dd72e6a01e0ed9f00b8", "score": "0.5255041", "text": "public double getPercentileAtOrBelowValue(final long value) {\n long totalToCurrentIJ = 0;\n\n int targetBucketIndex = histogram.getBucketIndex(value);\n int targetSubBucketIndex = histogram.getSubBucketIndex(value, targetBucketIndex);\n\n if (targetBucketIndex >= bucketCount)\n return 100.0;\n\n for (int i = 0; i <= targetBucketIndex; i++) {\n int j = (i == 0) ? 0 : (subBucketCount / 2);\n int subBucketCap = (i == targetBucketIndex) ? (targetSubBucketIndex + 1): subBucketCount;\n for (; j < subBucketCap; j++) {\n totalToCurrentIJ += histogram.getCountAt(i, j);\n }\n }\n\n return (100.0 * totalToCurrentIJ) / getTotalCount(); }", "title": "" }, { "docid": "a6905ce4cdcd8f179cd03dc3ced9cb67", "score": "0.52052176", "text": "public static boolean testGetQuantile() {\n SkipList<Integer> testList = new SkipList<Integer>();\r\n\r\n // Prepopulates the list from 0 - 100\r\n for(int i = 0; i <= 100; i++) {\r\n testList.add(i);\r\n }\r\n\r\n // creates a random index from 0-100\r\n int randomQuantile = (int)Math.random() * 101;\r\n\r\n // gets the value using the random index\r\n int value = testList.getQuantile(randomQuantile);\r\n\r\n // checks to see if the value is equal to the quantile amount since they should be the same\r\n if(value == randomQuantile) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "e6c840936195e870a939dff54e738065", "score": "0.5141173", "text": "public double getPercentile() {\n return percentile;\n }", "title": "" }, { "docid": "c1bfab225254e6a7777a0e9c25f31f50", "score": "0.513477", "text": "public static double interquartileRange(double[] data){\n\t\tif(data.length == 0)\n\t\t\treturn Double.NaN;\n\n\t\treturn upperQuartile(data) - lowerQuartile(data);\n\t}", "title": "" }, { "docid": "7c1843826f91b5a2f6d7167515a28c0b", "score": "0.5076304", "text": "public static double upperQuartile(double[] data){\n\t\tif(data.length == 0)\n\t\t\treturn Double.NaN;\n\n\t\tdouble[] temp = fixArray(data);\n\t\tdouble[] upperQ = new double[temp.length/2];\n\n\t\tif(temp.length % 2 == 0){\n\t\t\tfor(int i = temp.length/2, j = 0 ; i < temp.length ; i++, j++)\n\t\t\t\tupperQ[j] = temp[i];\n\t\t}\n\t\telse{\n\t\t\tfor(int i = temp.length/2 + 1, j =0 ; i < temp.length ; i++, j++)\n\t\t\t\tupperQ[j] = temp[i];\n\t\t}\n\t\treturn median(upperQ);\n\t}", "title": "" }, { "docid": "af939d9f13bf2fd3c4c4eeefa6f4e8d3", "score": "0.50735635", "text": "@Test\n public void testNormalQuantile() {\n logger.info(\"normalQuantile\");\n double p = 0.32;\n double mu = 1.0;\n double sigma = 1.0;\n double expResult = 0.53230120088549;\n double result = ContinuousDistributions.normalQuantile(p, mu, sigma);\n assertEquals(expResult, result, Constants.DOUBLE_ACCURACY_HIGH);\n }", "title": "" }, { "docid": "5ced6ca64331685e71f8f4536851ec59", "score": "0.5024401", "text": "@Override\r\n public void exec(Tuple input, DataBag output) throws IOException {\r\n int numQuantiles = input.getAtomField(0).numval().intValue();\r\n DataBag samples = input.getBagField(1);\r\n \r\n long numSamples = samples.size();\r\n \r\n long i=0, written = 0;\r\n Iterator<Tuple> iter = samples.iterator();\r\n while (iter.hasNext()){\r\n Tuple t = iter.next();\r\n if ((written + 1) * numSamples < i * (numQuantiles + 1)) {\r\n output.add(t);\r\n written++;\n }\r\n i++;\r\n }\r\n }", "title": "" }, { "docid": "7b61c8a070763384a8e373ca947070ad", "score": "0.499329", "text": "public double lookUp(double percentile) {\n double z = GrowthChart.calculateZScore(percentile);\n if (this.lboxCox == 0) {\n return this.median * Math.exp((this.scov * z));\n } else {\n return this.median * Math.pow((1 + (this.lboxCox * this.scov * z)), (1.0 / this.lboxCox));\n }\n }", "title": "" }, { "docid": "a95428bedd0b73b8e1d380da1ddeadc1", "score": "0.49908507", "text": "public ExactDoubleQuantileFinder() {\n\tthis.buffer = new DoubleArrayList(0);\n\tthis.clear();\n}", "title": "" }, { "docid": "cd7c5d054604fb5e11420af678d4d26d", "score": "0.4989128", "text": "public static double lowerQuartile(double[] data){\n\t\tif(data.length == 0)\n\t\t\treturn Double.NaN;\n\n\t\tdouble[] temp = fixArray(data);\n\t\tdouble[] lowerQ = new double[temp.length/2];\n\t\tif(temp.length % 2 == 0){\n\t\t\tfor(int i = temp.length/2 - 1 ; i >= 0 ; i--)\n\t\t\t\tlowerQ[i] = temp[i];\n\t\t}\n\t\telse\n\t\t\tfor(int i = temp.length/2 - 1 ; i >= 0 ; i--)\n\t\t\t\tlowerQ[i] = temp[i];\n\t\treturn median(lowerQ);\n\t}", "title": "" }, { "docid": "8e2811e316dd5716e4e614147667c461", "score": "0.4982185", "text": "public int percentile95(List<Integer> lengths) {\n int[] count = new int[4097];\n for (int len : lengths) {\n count[len]++;\n }\n int sum = 0;\n int len = 4097;\n while (sum <= 0.05 * lengths.size()) {\n sum += count[--len];\n }\n return len;\n }", "title": "" }, { "docid": "51d702ac46ec61f133691987a62dd263", "score": "0.49730185", "text": "public float calculateFitness(ArrayList<Float> reals);", "title": "" }, { "docid": "e3ee775eb5589c35f53b690b82015c4b", "score": "0.4939027", "text": "public double percentileForValue(double value) {\n return GrowthChart.zscoreToPercentile(zscoreForValue(value));\n }", "title": "" }, { "docid": "dba0c872324e1335e02ec14650897bdf", "score": "0.4884587", "text": "private void findXbar(){\n Double total = 0.0;\n for (Double i: x)\n total+=i; // Adds up all x values\n xbar = total/x.size(); // Divides total by number of elements\n }", "title": "" }, { "docid": "aa03b1bdc4b5cecf93710df0dce619e2", "score": "0.48829097", "text": "public double get99thPercentile() {\n return getValue(0.99);\n }", "title": "" }, { "docid": "e33c4e5ce513a07d8bb03abe765a0096", "score": "0.48137298", "text": "@Override\n\t\tpublic BigInteger calculate(ArrayList<BigInteger> values) {\n\t\t\tCollections.sort(values);\n\t\t\tBigInteger lastValue = values.get(values.size()-1);\n\t\t\tBigInteger sum = lastValue;\n\t\t\t\n\t\t\tfor (int i = values.size()-1; i > 0; --i) {\n\t\t\t\t\n\t\t\t\tsum =sum.divide(values.get(i-1));\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\treturn sum;\n\t\t}", "title": "" }, { "docid": "012b9a148e31d129b7c73ad7f39ce320", "score": "0.47958213", "text": "public static float interQuartileMean(float[] aa){\n int n = aa.length;\n if(n<4)throw new IllegalArgumentException(\"At least 4 array elements needed\");\n float[] bb = Fmath.selectionSort(aa);\n float sum = 0.0F;\n for(int i=n/4; i<3*n/4; i++)sum += bb[i];\n return 2.0F*sum/(float)(n);\n }", "title": "" }, { "docid": "c9e9b3a56fa79827eeb6f103ed71dd4c", "score": "0.47653785", "text": "private QuantilesWithLatch getLatestQuantilesWithLatchAndClear() {\n QuantilesWithLatch latestQuantilesWithLatch = null;\n for (QuantilesWithLatch quantilesWithLatch = quantilesDeque.pollFirst(); quantilesWithLatch != null;\n quantilesWithLatch = quantilesDeque.pollFirst()) {\n // Count down the latches associated with any discarded quantiles\n if (latestQuantilesWithLatch != null) {\n latestQuantilesWithLatch.getLatch().countDown();\n }\n latestQuantilesWithLatch = quantilesWithLatch;\n }\n return latestQuantilesWithLatch;\n }", "title": "" }, { "docid": "b9c466937b83abd73c9bebf357578530", "score": "0.47536212", "text": "public int getPercentileBin(int percentile, Set<Stream.Channel> channels) {\n int highestCount = 0;\n for (Stream.Channel c : channels) {\n highestCount = Math.max(highestCount, total[getChannelIdx(c)]);\n }\n\n int threshold = percentile * highestCount / 100;\n int[] sum = new int[Stream.Channel.values().length];\n for (int b = 0; b < bins.length; b++) {\n for (Stream.Channel c : channels) {\n int cIdx = getChannelIdx(c);\n int s = sum[cIdx] += bins[b][cIdx];\n if (s >= threshold) {\n return b;\n }\n }\n }\n return -1;\n }", "title": "" }, { "docid": "084910afab785ea9d8532a225d6671e5", "score": "0.47527036", "text": "public static double interQuartileMean(double[] aa){\n int n = aa.length;\n if(n<4)throw new IllegalArgumentException(\"At least 4 array elements needed\");\n double[] bb = Fmath.selectionSort(aa);\n double sum = 0.0D;\n for(int i=n/4; i<3*n/4; i++)sum += bb[i];\n return 2.0*sum/(double)(n);\n }", "title": "" }, { "docid": "5af1a05a474c8f7b03ee1acd86756a2a", "score": "0.4740273", "text": "private static <T> T getPercentile(List<T> list, int percentile) {\n\t\tint index = (int) Math.ceil((percentile / 100f) * list.size()) - 1;\n\t\treturn list.get(index);\n\t}", "title": "" }, { "docid": "89d61eb29b00484027ab5731168ae1a9", "score": "0.47286296", "text": "@Override\n\t\tpublic BigInteger calculate(ArrayList<BigInteger> values) {\n\t\t\treturn values.stream().reduce(BigInteger.ONE, new BinaryOperator<BigInteger>() {\n\t\t\t\tpublic BigInteger apply(BigInteger a, BigInteger b) {\n\t\t\t\t\treturn a.multiply(b);\n\t\t\t\t}\n\t\t\t});\n\t\t}", "title": "" }, { "docid": "d1bf7f8752e8569412a95c4ef6a2426e", "score": "0.46902084", "text": "private void accumulateQuantities(WarehouseProduct acc, WarehouseProduct value) {\n BigDecimal defaultQuantity = value.getPrefferedDefaultQuantity()==null?BigDecimal.ZERO:value.getPrefferedDefaultQuantity();\r\n BigDecimal minQuantity = value.getPrefferedMinQuantity()==null?BigDecimal.ZERO:value.getPrefferedMinQuantity();\r\n BigDecimal maxQuantity = value.getPrefferedMaxQuantity()==null?BigDecimal.ZERO:value.getPrefferedMaxQuantity();\r\n \r\n BigDecimal quantityInStock = value.getQuantityInStock()==null?BigDecimal.ZERO:value.getQuantityInStock();\r\n BigDecimal quantityDue = value.getQuantityDue()==null?BigDecimal.ZERO:value.getQuantityDue();\r\n BigDecimal reservedQuantity = value.getReservedQuantity()==null?BigDecimal.ZERO:value.getReservedQuantity();\r\n BigDecimal soldQuantity = value.getSoldQuantity()==null?BigDecimal.ZERO:value.getSoldQuantity();\r\n BigDecimal orderedQuantity = value.getOrderedQuantity()==null?BigDecimal.ZERO:value.getOrderedQuantity();\r\n \r\n //set them up\r\n SummaryWarehouseProduct accumulator = (SummaryWarehouseProduct) acc;\r\n accumulator.setPrefferedDefaultQuantity(accumulator.getPrefferedDefaultQuantity().add(defaultQuantity));\r\n accumulator.setPrefferedMinQuantity(accumulator.getPrefferedMinQuantity().add(minQuantity));\r\n accumulator.setPrefferedMaxQuantity(accumulator.getPrefferedMaxQuantity().add(maxQuantity));\r\n \r\n accumulator.setQuantityInStock(accumulator.getQuantityInStock().add(quantityInStock));\r\n accumulator.setQuantityDue(accumulator.getQuantityDue().add(quantityDue));\r\n accumulator.setReservedQuantity(accumulator.getReservedQuantity().add(reservedQuantity));\r\n accumulator.setSoldQuantity(accumulator.getSoldQuantity().add(soldQuantity));\r\n accumulator.setOrderedQuantity(accumulator.getOrderedQuantity().add(orderedQuantity));\r\n }", "title": "" }, { "docid": "ac95599c7829d5e2d589f9466d7dbe01", "score": "0.4686821", "text": "public double get75thPercentile() {\n return getValue(0.75);\n }", "title": "" }, { "docid": "b3b113b3778ee4721ff2495e13e206bd", "score": "0.4655349", "text": "public long getValueAtPercentile(final double percentile) {\n double requestedPercentile = Math.min(percentile, 100.0); // Truncate down to 100%\n long countAtPercentile = (long)(((requestedPercentile / 100.0) * getTotalCount()) + 0.5); // round to nearest\n countAtPercentile = Math.max(countAtPercentile, 1); // Make sure we at least reach the first recorded entry\n long totalToCurrentIJ = 0;\n for (int i = 0; i < bucketCount; i++) {\n int j = (i == 0) ? 0 : (subBucketCount / 2);\n for (; j < subBucketCount; j++) {\n totalToCurrentIJ += histogram.getCountAt(i, j);\n if (totalToCurrentIJ >= countAtPercentile) {\n long valueAtIndex = histogram.valueFromIndex(i, j);\n return valueAtIndex;\n }\n }\n }\n throw new ArrayIndexOutOfBoundsException(\"percentile value not found in range\"); // should not reach here.\n }", "title": "" }, { "docid": "e3880cc34157f55620666c4d8f8526d0", "score": "0.46235037", "text": "private ArrayList<Float> makeHist(ArrayList<Float> values, int _numberOfBins) {\n ArrayList<Float> sortedList = new ArrayList<>(values);\n Collections.sort(sortedList);\n\n //group into ten bins\n ArrayList<Float> binnedList = new ArrayList<>();\n int listSize = sortedList.size();\n int numberOfBins = _numberOfBins;\n float minVal = sortedList.get(0);\n float maxVal = sortedList.get(listSize - 1);\n float incrementVal = (maxVal - minVal) / numberOfBins;\n float currentBinLimit = minVal + incrementVal;\n float summedBin = 0;\n\n Log.d(\"testhist\", \"increment value \" + incrementVal);\n Log.d(\"testhist\", \"sorted list \" + sortedList);\n\n int addedIndex = -1;\n\n for(int i =0; i < numberOfBins; i ++){\n for(int j = 0; j < listSize; j++){\n //Log.d(\"testhist\", \"current value\" + sortedList.get(j));\n //Log.d(\"testhist\", \"current bin limit\" + currentBinLimit);\n\n if(j > addedIndex){\n if(sortedList.get(j) <= currentBinLimit){\n summedBin += 1;\n //Log.d(\"testhist\", \"value \" + sortedList.get(j) + \" less than \" + currentBinLimit);\n addedIndex = j;\n }\n else{\n break;\n }\n }\n }\n // divide by the listSize and add to the binnedList\n //summedBin /= listSize;\n binnedList.add(summedBin);\n //move onto the next bin\n currentBinLimit += incrementVal;\n summedBin = 0;\n }\n\n\n\n Log.d(\"testhist\", \"Hist = \" + binnedList);\n return binnedList;\n }", "title": "" }, { "docid": "b914743123435276ed1df942232825fc", "score": "0.4590381", "text": "protected abstract double compute(double elementValue1, double elementValue2);", "title": "" }, { "docid": "96168fe5c0799596393057e4a266822f", "score": "0.45898", "text": "static double[] fitness ( double[][] doubleList ){\n double[] fitnessList = new double[tamanhoPop];\n for (int i = 0; i< tamanhoPop; i++){\n \n double sum = 0.0; \n double mult = 1.0; \n double d = 4000.0; \n \n for (int var = 0; var < 2; var++) { \n sum += doubleList[i][var] * doubleList[i][var]; \n mult *= Math.cos(doubleList[i][var] / Math.sqrt(var + 1)); \n } \n \n fitnessList[i]= (1.0 / d * sum - mult + 1.0);\n }\n \n \n \n return fitnessList;\n }", "title": "" }, { "docid": "ca256f05ae8bb2289dc88cf86f371d04", "score": "0.4585968", "text": "@Test\n public void linearDistributions() {\n // list with 300 elements 1...300\n //\n myList = IntStream.range(1, 301).asDoubleStream().boxed().collect(Collectors.toCollection(ArrayList::new));\n myDoubleDistribution.setValues(myList);\n BinValueDistribution.getInstance().calculateBinValues(myDoubleDistribution);\n\n // bin size = 1\n Assert.assertEquals(1.0, BinValueDistribution.getInstance().getMinXValue(), 0.01);\n Assert.assertEquals(300.0, BinValueDistribution.getInstance().getMaxXValue(), 0.01);\n Assert.assertEquals(1.0, BinValueDistribution.getInstance().getBinSize(), 0.01);\n\n // all values = 1 / 300 since 1 value in each bin\n myBinValues = BinValueDistribution.getInstance().getBinValues();\n for (int i = 0; i < 300; i++) {\n Assert.assertEquals(1.0 / 300.0, myBinValues.get(i).right, 0.01);\n }\n\n //\n // list with 600 elements 1...600\n //\n myList = IntStream.range(1, 601).asDoubleStream().boxed().collect(Collectors.toCollection(ArrayList::new));\n myDoubleDistribution.setValues(myList);\n BinValueDistribution.getInstance().calculateBinValues(myDoubleDistribution);\n\n // bin size = 0.5\n Assert.assertEquals(1.0, BinValueDistribution.getInstance().getMinXValue(), 0.01);\n Assert.assertEquals(600.0, BinValueDistribution.getInstance().getMaxXValue(), 0.01);\n Assert.assertEquals(2.0, BinValueDistribution.getInstance().getBinSize(), 0.01);\n\n // all values = 2 / 300 since 2 values in each bin\n myBinValues = BinValueDistribution.getInstance().getBinValues();\n for (int i = 0; i < 300; i++) {\n Assert.assertEquals(2.0 / 300.0, myBinValues.get(i).right, 0.01);\n }\n\n //\n // list with 150 elements 1...150\n //\n myList = IntStream.range(1, 151).asDoubleStream().boxed().collect(Collectors.toCollection(ArrayList::new));\n myDoubleDistribution.setValues(myList);\n BinValueDistribution.getInstance().calculateBinValues(myDoubleDistribution);\n\n // bin size = 0.5\n Assert.assertEquals(1.0, BinValueDistribution.getInstance().getMinXValue(), 0.01);\n Assert.assertEquals(150.0, BinValueDistribution.getInstance().getMaxXValue(), 0.01);\n Assert.assertEquals(0.5, BinValueDistribution.getInstance().getBinSize(), 0.01);\n\n // every other value = 1 / 150 since one value in every second bin\n myBinValues = BinValueDistribution.getInstance().getBinValues();\n for (int i = 0; i < 300; i++) {\n if (myBinValues.get(i).right > 0.00001) {\n Assert.assertEquals(1.0 / 150.0, myBinValues.get(i).right, 0.01);\n }\n }\n }", "title": "" }, { "docid": "eeb8d0782d2ab8eeba3004622ae93133", "score": "0.45837235", "text": "double[] multiplicar (double a, double[] vect){\r\n \r\n double[] vector = new double[vect.length];\r\n for (int i = 0; i < vect.length; i++) {\r\n double resultado = vect[i]*a;\r\n //vector[i]= (double)Math.round(resultado * 100000d) / 100000d;\r\n vector[i]=resultado;\r\n }\r\n return vector;\r\n }", "title": "" }, { "docid": "f40d53fc8a49e3dd214c5d7fbe550bdc", "score": "0.45701796", "text": "public double get999thPercentile() {\n return getValue(0.999);\n }", "title": "" }, { "docid": "a38315fbf0a3373ad21a8dbd63ce3801", "score": "0.4563991", "text": "public Mat percentileFilter(Mat src, int P, int KS) {\n byte buff[] = new byte[src.cols()*src.rows()];\n byte new_buff[] = new byte[src.cols()*src.rows()];\n src.get(0, 0, buff);\n\n int offset = (KS-1)/2;\n int n = (int)Math.ceil(P*KS*KS/100.0);\n if(n == 0)\n n = 1;\n\n for(int row = 1; row <= src.rows(); row++) {\n for(int col = 1; col <= src.cols(); col++){\n\n // boundary\n if(row <= offset || row > src.rows()-offset || col <= offset || col > src.cols()-offset) {\n new_buff[(row - 1) * src.cols() + col - 1] = buff[(row - 1) * src.cols() + col - 1];\n continue;\n }\n\n // pick up window elements\n byte window[] = new byte[KS*KS];\n // window's row\n for(int j = 1; j <= KS; j++) {\n // window's col\n for(int k = 1; k <= KS; k++)\n {\n int wrib = row-offset+j-1;\n int wcib = col-offset+k-1;\n\n window[(j-1)*KS+k-1] = buff[(wrib-1)*src.cols()+wcib-1];\n }\n }\n // sort\n Arrays.sort(window);\n // filter\n new_buff[(row-1)*src.cols()+col-1] = window[n-1];\n }\n }\n\n src.put(0, 0, new_buff);\n return src;\n }", "title": "" }, { "docid": "938c0a7fd7711883e78e084b154c84be", "score": "0.4562055", "text": "boolean addAll(Collection<Double> c);", "title": "" }, { "docid": "f845f32dacf1d697700382f9cf005d50", "score": "0.45425242", "text": "@Test\n\tpublic void getHighAndLowPrices() throws Throwable {\n\t\t// Converting WebElement dollar to float\n\t\tList<Float> storeDollarValue = new ArrayList<>();\n\t\tfor (WebElement dollarPrice : obj.getDollarPriceOfItem()) {\n\t\t\ttry {\n\t\t\t\tstoreDollarValue.add(Float.parseFloat(dollarPrice.getText().trim().replaceAll(\",\", \"\")));\n\t\t\t} catch (Exception $error) {\n\t\t\t\tSystem.out.println($error);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Price of item in Dollar --> Float ::\\n++++++++++++++++++++++++++++++++++++++++++++\");\n\t\tfor (int j = 0; j < storeDollarValue.size(); j++) {\n\t\t\tSystem.out.println(\"$\" + storeDollarValue.get(j) + \"\\n.....\");\n\t\t}\n\t\tSystem.out.println(\"+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\");\n\n\t\t// Converting WebElement cent to float\n\t\tList<Float> storeCentValue = new ArrayList<>();\n\n\t\tSystem.out.println(\"Price of item in Cent --> Flaot ::\\n ++++++++++++++++++++++++++++++++++++++++++++++++\");\n\t\tfor (WebElement centPrice : obj.getCentsPriceOfItem()) {\n\t\t\ttry {\n\t\t\t\tstoreCentValue.add((Float.parseFloat(centPrice.getText().trim().replaceAll(\",\", \"\")) / 100));\n\t\t\t} catch (Exception error) {\n\t\t\t\tSystem.out.println(error);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < storeCentValue.size(); i++) {\n\t\t\tSystem.out.println(\"$\" + storeCentValue.get(i) + \"\\n.....\");\n\t\t}\n\t\tSystem.out.println(\"+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\");\n\n\t\t// Adding dollar and price and adding to a new array\n\t\tList<Float> itemPrice = new ArrayList<>();\n\t\tfor (int p = 0; p < storeDollarValue.size(); p++) {\n\t\t\tfloat dollarValue = storeDollarValue.get(p);\n\t\t\tfloat centValue;\n\t\t\tif (storeDollarValue.get(p) != null) {\n\t\t\t\tdollarValue = storeDollarValue.get(p);\n\t\t\t} else {\n\t\t\t\tdollarValue = 0.0f;\n\t\t\t}\n\t\t\tif (storeCentValue.get(p) != null) {\n\t\t\t\tcentValue = storeCentValue.get(p);\n\t\t\t} else {\n\t\t\t\tcentValue = 0.0f;\n\t\t\t}\n\t\t\titemPrice.add(dollarValue + centValue);\n\t\t}\n\t\tfloat maxPrice = (float) Collections.max(itemPrice);\n\t\tSystem.out.println(\"The highest price is ::\\n\" + \"$\" + maxPrice + \"\\n......\");\n\n\t\tfloat minPrice = (float) Collections.min(itemPrice);\n\t\tSystem.out.println(\"The lowest price is ::\\n\" + \"$\" + minPrice);\n\t\tSystem.out.println(\n\t\t\t\t\"*****************************************************************************************************\");\n\t}", "title": "" }, { "docid": "c00de695827a3601c47ff40292380373", "score": "0.4541855", "text": "public Double calcularFitness(Float x, Float y);", "title": "" }, { "docid": "afaba2d438efcfafe3fe6b1ebadecdb2", "score": "0.4539709", "text": "public double get98thPercentile() {\n return getValue(0.98);\n }", "title": "" }, { "docid": "0a3c16a231d0489de300364fecac2d6b", "score": "0.45224336", "text": "private static double getMedian(PriorityQueue<Integer> pq1, PriorityQueue<Integer> pq2) {\n\t\tif(pq1.isEmpty() && pq2.isEmpty())\n\t\t\treturn 0;\n\t\tif(pq1.size() > pq2.size())\n\t\t\treturn pq1.peek();\n\t\tif(pq1.size() < pq2.size())\n\t\t\treturn pq2.peek();\n\t\treturn (double)(pq1.peek() + pq2.peek()) / 2;\n\t}", "title": "" }, { "docid": "383f726ce7e57738bb29299174cc1457", "score": "0.45192355", "text": "public double get95thPercentile() {\n return getValue(0.95);\n }", "title": "" }, { "docid": "c231058ddf57e6b52c844cebab2410fd", "score": "0.44884756", "text": "@Override\n\t\tpublic BigInteger calculate(ArrayList<BigInteger> values) {\n\t\t\tCollections.sort(values);\n\t\t\tBigInteger lastValue = values.get(values.size()-1);\n\t\t\tBigInteger sum = lastValue;\n\t\t\t\n\t\t\tfor (int i = values.size()-1; i > 0; --i) {\n\t\t\t\t\n\t\t\t\tsum =sum.subtract(values.get(i-1));\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\treturn sum;\n\t\t}", "title": "" }, { "docid": "f3af13376a4ddae20bb9e20c489770a9", "score": "0.44837672", "text": "private void addValue(double value)\n {\n int index = (int) (value - minValue);\n if (index < 0) {\n underflow++;\n } else if (index >= histogram.length) {\n overflow++;\n } else {\n histogram[index]++;\n }\n }", "title": "" }, { "docid": "8843c9ab3462548c1a7c9385f23a0876", "score": "0.44792688", "text": "public Map<Integer, double[]> limitedtopnvalues(byte[][] data, int n, Set<Integer> list)\r\n {\r\n Progress progress = ProgressFactory.get(list.size());\r\n \r\n //Map<Integer,TopQueue<Integer,Double>> tq = new HashMap<>();\r\n Map<Integer,TopQueue> tq = new HashMap<>();\r\n \r\n for (Integer i: list)\r\n {\r\n //tq.put(i,new TopQueue<>(n,true));\r\n tq.put(i,new TopQueue(n));\r\n }\r\n \r\n list.forEach(i ->\r\n {\r\n IntStream.range(0,data.length).parallel().filter(j -> (i != j)).forEach(j ->\r\n {\r\n double c = calculate(data[i],data[j]);\r\n tq.get(i).add(j, c);\r\n });\r\n progress.done(); \r\n });\r\n \r\n //Map<Integer,List<Integer>> result = new HashMap<>();\r\n Map<Integer,double[]> result = new HashMap<>();\r\n //for (Entry<Integer,TopQueue<Integer,Double>> e: tq.entrySet())\r\n for (Entry<Integer,TopQueue> e: tq.entrySet())\r\n {\r\n result.put(e.getKey(),e.getValue().getValueList());\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "7dd66854d4b42c15503a7241e0cb9732", "score": "0.4467684", "text": "public static double getMedian(Collection<Double> list) {\n ArrayList<Double> sortList = new ArrayList<Double>(list);\n Collections.sort(sortList);\n int size = list.size();\n double v1 = ((Double)sortList.get((size - 1) / 2)).doubleValue();\n double v2 = ((Double)sortList.get(size / 2)).doubleValue();\n return (v1 + v2) / 2;\n }", "title": "" }, { "docid": "6dbc569ce6938c39649be54ed9a09ed9", "score": "0.44617245", "text": "public double getUpperQuartile() {\n return this.upperQuartile;\n }", "title": "" }, { "docid": "5e26042f207ebbb61a88261c90e8035f", "score": "0.44613203", "text": "public double getLowerQuartile() {\n return this.lowerQuartile;\n }", "title": "" }, { "docid": "d6884e119810b371ac59be8847e1b2ea", "score": "0.44320878", "text": "private static double findRange(List<Integer> list1, \r\n\t\t\tList<Integer> list2, int percentile) {\n\t\tCollections.sort(list1);\r\n\t\t\r\n\t\tdouble averageWeight = 0;\r\n\t\tfor (int value : list2) {\r\n\t\t\tint below = 0;\r\n\t\t\tint equal = 0;\r\n\t\t\tfor (int v : list1) {\r\n\t\t\t\tif (v < value) {\r\n\t\t\t\t\tbelow++;\r\n\t\t\t\t} else if (v == value) {\r\n\t\t\t\t\tequal++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tdouble valuePercentile = ((1.0 * below + 0.5 * equal) / list1.size()) * 100;\r\n\t\t\tdouble weight = 1 - 1.0 * Math.abs(percentile - valuePercentile) / percentile;\r\n\t\t\taverageWeight += weight;\r\n\t\t}\r\n\t\treturn (1.0* averageWeight / list2.size());\r\n\t}", "title": "" }, { "docid": "367248a266139ea278315e4bdc713b6a", "score": "0.4425692", "text": "public void push(double val) {\n count++;\n double delta = val - m1;\n double delta_n = delta / count;\n double term1 = delta * delta_n * (count - 1);\n m1 += delta / count;\n m2 += term1;\n }", "title": "" }, { "docid": "16b001dc0c689f42f5818ffa58d1bc6d", "score": "0.4423847", "text": "public boolean add(double element) {\n/* 86 */ add(size(), element);\n/* 87 */ return true;\n/* */ }", "title": "" }, { "docid": "c867afac6312f27cbb9c33be70fd26a6", "score": "0.44223797", "text": "public void observe(double amt) {\n if (amt < 0.0) {\n return; // ignore negative measurements\n }\n\n count.add(1);\n sum.add(amt);\n if (quantileValues != null) {\n try {\n quantileValues.insert(amt);\n } catch (Exception e) {\n // handle possible rare exceptions from HdrHistogram\n Logger.getLogger(Summary.class.getName())\n .log(Level.WARNING, \"Failed to record value: \" + amt, e);\n }\n }\n }", "title": "" }, { "docid": "4884f88ce05d15995ed3e318efba1a92", "score": "0.44217277", "text": "private static Optional<Pair<BigDecimal, Integer>> mapToPAndQ(Collection<Order> sellOrders) {\n return sellOrders.stream()\n .map(order -> Pair.of(order.getPrice().get(), order.getQuantity().get()))\n .reduce((a, b) -> Pair.of(a.getLeft(), a.getRight() + b.getRight()));\n }", "title": "" }, { "docid": "8ea5913163fad289a69ca6418575bf09", "score": "0.44035167", "text": "private double calculateLowerWhisker(final List<Double> values) {\n assert this.isSorted(values);\n\n this.logger.debug(\"calculateLowerWhisker, Values:\" + values.toString());\n\n double lowerWhisker = 0d;\n\n if (values.size() > 0) {\n final double upperQuartile = this.calculateUpperQuartile(values);\n final double lowerQuartile = this.calculateLowerQuartile(values);\n final double interQuartileRange = Math.abs(upperQuartile - lowerQuartile);\n\n /* searching for the lowerWhisker, starting at the lowerQuartile and searching downwards */\n double lowerWhiskerCandidate = lowerQuartile;\n lowerWhisker = lowerQuartile;\n\n int i = (int) (values.size() * 0.25d);\n\n while ((lowerWhiskerCandidate >= (lowerQuartile - (1.5d * interQuartileRange))) && (i >= 0)) {\n lowerWhisker = lowerWhiskerCandidate;\n --i;\n if (i >= 0) {\n lowerWhiskerCandidate = values.get(i);\n }\n }\n }\n return lowerWhisker;\n }", "title": "" }, { "docid": "5a821347c2659120eed883e60b76a8ea", "score": "0.4400574", "text": "public void AddAll(double val) {\n for (int i = 0; i < length; i++) {\n Add(i, val);\n }\n }", "title": "" }, { "docid": "86a00026078ec757e1abc47a60e63150", "score": "0.43974897", "text": "public double cumulate(double x) throws MathException{\n\t\tif(x<0) throw new IllegalArgumentException();\n\t\tdouble sum = 0;\n\t\tfor(int i=0;i<m;i++){\n\t\t\tdouble val = 1;\n\t\t\tdouble tmp = x/(Math.sqrt(2)*sigma[i]);\n\t\t\tif(tmp < 20){ //1-Erf(20)=5.40E-176 is almost 1.\n\t\t\t\ttry{\n\t\t\t\t\tval = Erf.erf(tmp);\n\t\t\t\t}\n\t\t\t\tcatch(MaxIterationsExceededException ex){\n\t\t\t\t\tlog.info(\"Failed to calculate Erf.erf(\" + tmp + \")\", ex);\n\t\t\t\t\tval = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsum += pi[i]*val;\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tsum += pi[i+m]*(1-Math.exp(-x/lambda[i]));\n\t\t}\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "97be2fb50d877d56262640d50f266d03", "score": "0.43911502", "text": "@Override\n public Object evaluate(String functionName, Object... parameters) {\n Object result;\n switch (functionName) {\n case SUM: {\n Number[] accumulator = accumulateFunction(0, parameters, BigDecimal::add);\n result = accumulator[1];\n break;\n }\n case PRODUCT: {\n Number[] accumulator = accumulateFunction(1, parameters, BigDecimal::add);\n result = accumulator[1];\n break;\n }\n case MEAN: {\n Number accumulatedValue = 0;\n Number[] functionResult;\n String function = parameters.length == 1 ? ARITHMETIC : (String) parameters[1];\n if(function.equals(GEOMETRIC)) {\n functionResult = accumulateFunction(accumulatedValue, new Object[]{parameters[0]}, (A, V)->A.multiply(V));\n result = Math.pow(functionResult[1].doubleValue(), 1 / functionResult[0].doubleValue());\n } else if(function.equals(HARMONIC)) {\n functionResult = accumulateFunction(accumulatedValue, new Object[]{parameters[0]}, (A, V)->A.add(V.pow(-1)));\n result = functionResult[0].doubleValue() / functionResult[1].doubleValue();\n } else if(function.equals(MEDIAN)) {\n if(parameters[0] instanceof Collection || parameters[0].getClass().isArray()) {\n Collection collection = parameters[0] instanceof Collection ? (Collection) parameters[0] : Arrays.asList(parameters[0]);\n if(collection.isEmpty()) {\n result = 0;\n } else if(collection.size() == 1) {\n result = collection.stream().iterator().next();\n } else {\n int size = collection.size();\n result = collection.stream().sorted().skip(size / 2).findFirst().get();\n }\n } else {\n result = parameters[0];\n }\n } else {\n functionResult = accumulateFunction(accumulatedValue, new Object[]{parameters[0]}, (A, V)->A.add(V));\n result = functionResult[1].doubleValue() / functionResult[0].doubleValue();\n }\n break;\n }\n case BYTE_VALUE: result = ((Number)getParameter(0, parameters)).byteValue(); break;\n case SHORT_VALUE: result = ((Number)getParameter(0, parameters)).shortValue(); break;\n case INTEGER_VALUE: result = ((Number)getParameter(0, parameters)).intValue(); break;\n case LONG_VALUE: result = ((Number)getParameter(0, parameters)).longValue(); break;\n case FLOAT_VALUE: result = ((Number)getParameter(0, parameters)).floatValue(); break;\n case DOUBLE_VALUE: result = ((Number)getParameter(0, parameters)).doubleValue(); break;\n case NUMBER_FORMAT: {\n String pattern = getParameter(0, parameters);\n Number number = getParameter(1, parameters);\n NumberFormat numberFormat = new DecimalFormat(pattern);\n result = numberFormat.format(number);\n break;\n }\n case CURRENCY_FORMAT: {\n Number number = getParameter(0, parameters);\n Locale locale = ServiceSession.getCurrentIdentity().getLocale();\n result = NumberFormat.getCurrencyInstance(locale).format(number.doubleValue());\n break;\n }\n case PERCENT_FORMAT: {\n Number number = getParameter(0, parameters);\n Locale locale = ServiceSession.getCurrentIdentity().getLocale();\n result = NumberFormat.getPercentInstance(locale).format(number.doubleValue());\n break;\n }\n case PARSE_NUMBER: {\n String pattern = getParameter(0, parameters);\n String source = getParameter(1, parameters);\n NumberFormat numberFormat = new DecimalFormat(pattern);\n try {\n result = numberFormat.parse(source);\n } catch (ParseException ex) {\n throw new HCJFRuntimeException(\"Number parse fail\", ex);\n }\n break;\n }\n default: {\n if(functionName.equals(EVAL_EXPRESSION)) {\n result = evalExpression(parameters);\n } else {\n result = MathIntrospection.invoke(functionName, parameters);\n }\n }\n }\n return result;\n }", "title": "" }, { "docid": "6e8042f9fabe2759bd4e3082a88fb964", "score": "0.43708062", "text": "double summation(List<Double> xList);", "title": "" }, { "docid": "a0d6ae5b48ced6658466ca203212df11", "score": "0.43685538", "text": "private static double eElements(int count)\n\t{\n\t double finalNum;\n\t int multiply;\n\t multiply = factorial(count);\n\t finalNum = 1.0/multiply;\n\t return finalNum;\n\t}", "title": "" }, { "docid": "1bca29877a642e2d8b3747ecb55bcc75", "score": "0.436382", "text": "static double medianOfArrayList(ArrayList<Double> arrayList){\n DescriptiveStatistics stats = new DescriptiveStatistics();\n for (double value : arrayList) {\n stats.addValue(value);\n }\n return stats.getPercentile(50);\n }", "title": "" }, { "docid": "12db46b4fd20bc50af9e83829f59a3b4", "score": "0.43631667", "text": "@Override\r\n public double calcularAlquiler(int numeroDias) {\r\n return super.calcularAlquiler(numeroDias)+(numeroMastiles*5);\r\n }", "title": "" }, { "docid": "4397b975c3ff56e2b291d105352ed307", "score": "0.43599263", "text": "static void qSort(double a[], int low, int high) \n { \n if (low < high) \n { \n int pi = partition(a, low, high); \n \n qSort(a, low, pi-1); \n qSort(a, pi+1, high); \n } \n }", "title": "" }, { "docid": "7d6fd89ff62dc11d751e15504279f034", "score": "0.43461683", "text": "private double rosenbrock(double ... values) {\n return IntStream.range(0, values.length - 2)\n .boxed()\n .parallel()\n .map(i -> new Double[] {values[i], values[i + 1]})\n .mapToDouble(rosenbrock2D)\n .sum();\n }", "title": "" }, { "docid": "e990dee032b058de7e3cd7c0a567f88c", "score": "0.43389964", "text": "@Test\n public void otherDistributions() {\n // list with 300*301/2 elements 1x1, 2x2, 3x3, 4x4, 5x5, ... 300x300\n //\n myList = new ArrayList<>();\n for (int i = 1; i < 301; i++)\n {\n myList.addAll(IntStream.range(i, 301).asDoubleStream().boxed().collect(Collectors.toCollection(ArrayList::new)));\n }\n Assert.assertEquals(300*301/2, myList.size());\n myDoubleDistribution.setValues(myList);\n BinValueDistribution.getInstance().calculateBinValues(myDoubleDistribution);\n\n // bin size = 1\n Assert.assertEquals(1.0, BinValueDistribution.getInstance().getMinXValue(), 0.01);\n Assert.assertEquals(300.0, BinValueDistribution.getInstance().getMaxXValue(), 0.01);\n Assert.assertEquals(1.0, BinValueDistribution.getInstance().getBinSize(), 0.01);\n\n myBinValues = BinValueDistribution.getInstance().getBinValues();\n for (int i = 0; i < 300; i++) {\n Assert.assertEquals((i + 1.0) / (300*301/2), myBinValues.get(i).right, 0.01);\n }\n \n //\n // list with 298 random elements 1...300 AND 1 AND 300\n //\n myList = new ArrayList<>();\n myList.add(1.0);\n myList.add(300.0);\n for (int i = 2; i < 300; i++) {\n myList.add(Math.random() * 299.0 + 1.0);\n }\n myDoubleDistribution.setValues(myList);\n BinValueDistribution.getInstance().calculateBinValues(myDoubleDistribution);\n\n // bin size = 1\n Assert.assertEquals(1.0, BinValueDistribution.getInstance().getMinXValue(), 0.01);\n Assert.assertEquals(300.0, BinValueDistribution.getInstance().getMaxXValue(), 0.01);\n Assert.assertEquals(1.0, BinValueDistribution.getInstance().getBinSize(), 0.01);\n\n // all values are multiples of 1 / 300\n myBinValues = BinValueDistribution.getInstance().getBinValues();\n for (int i = 0; i < 300; i++) {\n Assert.assertEquals(0.0, myBinValues.get(i).right % (1.0/300.0), 0.01);\n }\n }", "title": "" }, { "docid": "eed3286b574d311b8932dc4c1af2ed46", "score": "0.43367603", "text": "private void multAddAndStore(ArrayList<Rational> temp1, ArrayList<Rational> temp2, Rational val) {\n for (int i = 0; i < temp2.numElements(); i++) {\n temp2.setElement(i, temp1.getElement(i).multiply(val).add(temp2.getElement(i)));\n }\n }", "title": "" }, { "docid": "e1336975cf5dd6013cfeb3c7dd2b99d7", "score": "0.43343067", "text": "static void qsort(double items[]) { \n qs(items, 0, items.length-1); \n }", "title": "" }, { "docid": "d746c952eadcff40a35a31223f23f92e", "score": "0.43334723", "text": "public double getMinPriceMethod2(){\t\n\t\tint TRIES = 1000/41;\n\t\tHashMap<Integer,Double> probDist = facs.getScaledProbabilities();\n\t\t//System.out.println(probDist);\n\t\tdouble minPriceSumSum = 0.0;\n\t\tfor(int UB = -10; UB<=30; UB++){\n\t\t\tdouble scale = probDist.get(UB);\n\t\t\tdouble minPriceSum = 0.0;\n\t\t\tfor(int tries = 0; tries<TRIES; tries++){\n\t\t\t\tFlightAuctionSimulator fas = new FlightAuctionSimulator(UB, currentTime, currentPrice);\n\t\t\t\tdouble minPrice = currentPrice;\n\t\t\t\twhile(fas.canTick()){\n\t\t\t\t\tfas.tick();\n\t\t\t\t\tif (fas.getPrice()<minPrice){\n\t\t\t\t\t\tminPrice = fas.getPrice();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tminPriceSum += minPrice;\n\t\t\t}\n\t\t\tminPriceSumSum += minPriceSum/TRIES * scale;\n\t\t}\n\t\t\n\t\treturn minPriceSumSum;\n\t}", "title": "" }, { "docid": "da4452b8c21e2fa8b02bf89c175887fe", "score": "0.43328148", "text": "@Override\n\tprotected double calculateNext(double rawValue) {\n\t\tbuffer.poll();\n\t\tbuffer.offer(rawValue);\n\t\tList<Double> temp = new ArrayList<>(buffer);\n\t\tCollections.sort(temp);\n\t\tdouble newFilteredValue = temp.get(middle);\n\t\treturn newFilteredValue;\n\t}", "title": "" }, { "docid": "34d31bb2935f25de28dff6e810e4a2f0", "score": "0.43265438", "text": "public Double findMedian(ArrayList<Double> input, int start, int size){\n Collections.sort(input.subList(start, start+size));\n return input.get((start+start+size)/2);\n }", "title": "" }, { "docid": "5d03055d936b68ddbc7ba3ddd3d54a58", "score": "0.43238896", "text": "public double getPercentile(int percentilesType, int sex, double ageInMonths, double measurement) {\n\t\tdouble a;\n\t\ta=this.pdAction.getPercentile(percentilesType, sex, ageInMonths, measurement);\n\t\ta=a*1000;\n\t\ta=Math.round(a);\n\t\ta=a/1000;\n\t\treturn a;\n\t}", "title": "" }, { "docid": "20d18ba15dc300fa363a9afde05782cc", "score": "0.43229684", "text": "@Override\n\tpublic final double getProbabilityInRange(double x1, double x2) {\n\t\tif (x1 < lowerBound)\n\t\t\tx1 = lowerBound;\n\n\t\tif (x2 > upperBound)\n\t\t\tx2 = upperBound - stepSize;\n\n\t\t// loop through all of the values in the range and add them together.\n\t\tdouble results = 0;\n\t\tfor (double x = x1; x <= x2; x += stepSize) {\n\t\t\t// add the current value to the results\n\t\t\tresults += pmf(x);\n\t\t}\n\n\t\t// return the results\n\t\treturn results;\n\t}", "title": "" }, { "docid": "50899f96eb537ccbb2a1bef34921f7a9", "score": "0.42922577", "text": "private Map<StudentScore, Float> calculateStudentsPercentileRanks(){\n\t\tStudentDataStore store = StudentDataStore.getInstance();\n\t\tList<StudentScore> allScores = store.getAllScores();\n\t\tif(sorter!=null){\n\t\t\tCollections.sort(allScores,sorter);\n\t\t}\n\t\tMap<StudentScore, Float> studPercentileRanks = new LinkedHashMap<>(allScores.size());\n\t\tfor(StudentScore score : allScores){\n\t\t\tstudPercentileRanks.put(score, store.getPercentileRank(score));\n\t\t}\n\t\treturn studPercentileRanks;\n\t}", "title": "" }, { "docid": "1985417b3df356047130d5efed296e79", "score": "0.42909536", "text": "public abstract void computeValues(int num, double[] ret);", "title": "" }, { "docid": "e6e6e1897b20dc41d56007d11ee08dba", "score": "0.428842", "text": "public static Vector<Object> upperOutliersAnscombe(double[] values, double constant){\n boolean test=true;\n double[] copy0 = (double[])values.clone();\n int nValues = values.length;\n int nValues0 = nValues;\n Vector<Double> outers = new Vector<Double>();\n int nOutliers = 0;\n\n while(test){\n boolean copyCheck = true;\n double mean = Stat.mean(copy0);\n double standDev = Stat.standardDeviation(copy0);\n double max = Fmath.maximum(copy0);\n double statistic = (max - mean)/standDev;\n int j=0;\n if(statistic>constant){\n outers.addElement(new Double(max));\n nOutliers++;\n double[] copy1 = new double[nValues-1];\n for(int i=0; i<nValues; i++){\n if(copy0[i]==max && copyCheck){\n copyCheck = false;\n }\n else{\n copy1[j] = copy0[i];\n j++;\n }\n }\n nValues--;\n copy0 = (double[])copy1.clone();\n }\n else{\n test=false;\n }\n }\n\n double[] outliers = null;\n int[] outIndices = null;\n if(nOutliers>0){\n outliers = new double[nOutliers];\n outIndices = new int[nOutliers];\n boolean[] indCheck = new boolean[nValues0];\n for(int i=0; i<nValues0; i++)indCheck[i]=true;\n for(int i=0; i<nOutliers; i++)outliers[i] = ((Double)outers.elementAt(i)).doubleValue();\n for(int j=0; j<nOutliers; j++){\n boolean testO = true;\n int i = 0;\n while(testO){\n if(outliers[j]==values[i] && indCheck[i]){\n outIndices[j] = i;\n indCheck[i]=false;\n testO = false;\n }\n else{\n i++;\n if(i>=nValues0){\n testO=false;\n System.out.println(\"Stat.outliersUpperAnscombe\");\n System.out.println(\"Could not find an outlier index!!!!!!!!!\");\n }\n }\n }\n }\n }\n\n Vector<Object> ret = new Vector<Object>();\n ret.addElement(new Integer(nOutliers));\n ret.addElement(outliers);\n ret.addElement(outIndices);\n ret.addElement(copy0);\n\n return ret;\n }", "title": "" }, { "docid": "c157f629d6d3f8092179e948830efa31", "score": "0.42878613", "text": "void pushDouble(double value);", "title": "" }, { "docid": "c8526371c70da223dc686322228d7ac6", "score": "0.4280154", "text": "public Collection partitionBucket(int numElements);", "title": "" }, { "docid": "84feabe310b2ca52801271d161cf85e7", "score": "0.4271164", "text": "private static double multiTrial(int cutoff) {\n Picker picker = (value, other) -> value >= cutoff ? value : other;\n var total = 0.0;\n for (int i = 0; i < NUM_TRIALS; ++i) {\n total += singleTrial(picker);\n }\n return total / NUM_TRIALS;\n }", "title": "" }, { "docid": "19374bc6b5d78e3975e6ebeb88fd9ee1", "score": "0.4270526", "text": "public double addJuros(double valor){\n\t\t\n\t\treturn (valor + (valor*juros));\n\t\t\t\t\t\n\t}", "title": "" }, { "docid": "28391232a86a6325e29aa65b70a8c17f", "score": "0.42537636", "text": "public static ArrayList<Double> outliers(double[] data){\n\t\tdouble[] temp = fixArray(data);\n\t\tArrayList<Double> outliers = new ArrayList<Double>();\n\t\tdouble upperFence = lowerQuartile(temp) - 1.5 * interquartileRange(temp);\n\t\tdouble lowerFence = upperQuartile(temp) + 1.5 * interquartileRange(temp);\n\t\tfor(double vals : temp){\n\t\t\tif(vals < upperFence || vals > lowerFence )\n\t\t\t\toutliers.add(vals);\n\t\t}\n\t\tif(data.length == 0)\n\t\t\treturn new ArrayList<Double>();\n\t\treturn outliers;\n\t}", "title": "" }, { "docid": "9c6bf37537e1144ced174ade761f5742", "score": "0.42520928", "text": "public static ArrayList<Double> combineFeatures (double[] toCombine) {\n ArrayList<Double> newFeatures = new ArrayList<>();\n\n for (int j = 0; j<toCombine.length; j++) {\n //we want to go through the other numbs and\n double x = toCombine[j];\n double x2 = Math.pow(toCombine[j],2);\n double x3 = Math.pow(x,3);\n newFeatures.add(Math.pow(x,4));\n newFeatures.add(x3);\n newFeatures.add(x2);\n for (int k = j+1; k<toCombine.length; k++) {\n double xk = x * toCombine[k];\n double x2k = x2 * toCombine[k];\n double xk2 = x * Math.pow(toCombine[k],2);\n newFeatures.add(xk);\n newFeatures.add(x2k);\n newFeatures.add(xk2);\n newFeatures.add(x3 * toCombine[k]);\n newFeatures.add(x2 * Math.pow(toCombine[k],2));\n for (int l = k+1; l<toCombine.length; l++) {\n double xkl = xk * toCombine[l];\n newFeatures.add(x2k * toCombine[l]);\n newFeatures.add(xk2 * toCombine[l]);\n newFeatures.add(xkl);\n newFeatures.add(xk * Math.pow(toCombine[l],2));\n for (int m = l+1; m<toCombine.length; m++) {\n newFeatures.add(xkl * toCombine[m]);\n }\n }\n }\n }\n\n return newFeatures;\n }", "title": "" }, { "docid": "6f859ac6096defcdc51a188b2c50ec29", "score": "0.42515093", "text": "java.util.List<java.lang.Float> getValuesList();", "title": "" }, { "docid": "40fe7ea73fa34700af1a2457b0d00f79", "score": "0.42467538", "text": "double getQuick(int index);", "title": "" }, { "docid": "db30ca09578e3735d514426c6f89a682", "score": "0.42422566", "text": "public BigInteger evaluate(BigInteger x){\n BigInteger result = BigInteger.ZERO;\n for (int i = deg; i >= 0; i--)\n result = coef.get(i).add(x.multiply(result)).mod(qPrime);\n return result.mod(qPrime);\n }", "title": "" }, { "docid": "9214b6c95faa00c05548095b2b7395cb", "score": "0.42292637", "text": "private void calculateSomeHeavyValue() {\n for (int i = 0; i < 10000; i++) {\n someHeavyValue = someHeavyValue * 0.1 / someHeavyValue;\n }\n }", "title": "" }, { "docid": "c05718d2df3e753c8f85962e2f8dfd43", "score": "0.4224376", "text": "public static void main(String[] args) {\n//\t\tList <Integer> a = new ArrayList <Integer> (Arrays.asList(3,5,6,7,93,99));\n//\t\tList <Integer> b = new ArrayList <Integer> (Arrays.asList(1,4,8,104,124,134));\n\t\tList <Integer> a = new ArrayList <Integer> (Arrays.asList(1,5,9));\n\t\tList <Integer> b = new ArrayList <Integer> (Arrays.asList(2,4));\n\t\t\n\t\tdouble d = new Qq ().findMedianSortedArrays (a,b);\n\t\t\n\t\tSystem.out.println(d);\n\t\t\n\n\t}", "title": "" }, { "docid": "7bce3c4d41de9937bd88a42c84551522", "score": "0.42200357", "text": "public void testIT() { \r\n\t\t\r\n\t\tStock symb = StockFetcher.getStock(\"HCLTECH\");\r\n\t\tSystem.out.println(\"The percentage change is: \" + symb.getperchange());\r\n\r\n\t\tStock symb1 = StockFetcher.getStock(\"TCS\");\r\n\t\tSystem.out.println(\"The percentage change is: \" + symb1.getperchange());\r\n\t\t\r\n\t\tStock symb2 = StockFetcher.getStock(\"INFY\");\r\n\t\tSystem.out.println(\"The percentage change is: \" + symb2.getperchange());\r\n\r\n\t\tStock symb3 = StockFetcher.getStock(\"TECHM\");\r\n\t\tSystem.out.println(\"The percentage change is: \" + symb3.getperchange());\r\n\t\t\r\n\t\tStock symb4 = StockFetcher.getStock(\"WIPRO\");\r\n\t\tSystem.out.println(\"The percentage change is: \" + symb4.getperchange());\r\n\r\n\t\tPriorityQueue<Double> p = new PriorityQueue<Double>(5,Collections.reverseOrder());\r\n\r\n\t\tdouble[] a = new double[]{symb.getperchange(),symb1.getperchange(),symb2.getperchange(), symb3.getperchange(),symb4.getperchange()};\r\n\r\n\t\t\r\n\t\tfor (double i : a){\r\n\t\t p.add(i);\r\n\t\t}\r\n\t\tSystem.out.println(\"1st Stock: \" + p.poll());\r\n\t\t\r\n\t\tSystem.out.println(\"2nd Stock: \" + p.poll());\r\n\t\t \r\n\t\tSystem.out.println(\"3rd Stock: \" + p.poll());\r\n\t\t\r\n\t\tSystem.out.println(\"4th Stock: \" + p.poll());\r\n \r\n\t\tSystem.out.println(\"5th Stock: \" + p.poll());\r\n\t \r\n\t}", "title": "" }, { "docid": "85ee4f59d1f9bacc8b57e825c7f9ee78", "score": "0.4210277", "text": "public void mutation(){\n\r\n for(int i = (int) (population.size()/eliteFrac) + 1; i < population.size(); i++){\r\n GA.mutate(population.get(i));\r\n }\r\n }", "title": "" }, { "docid": "3dadc9d877b94650f0ed9ebae95e69f9", "score": "0.42100447", "text": "public void add(double value) {\n values.add(value);\n total += value;\n\n if (values.size() > maxSize) {\n double removedValue = values.remove();\n total -= removedValue;\n }\n\n average = total / values.size();\n }", "title": "" }, { "docid": "a3fac6d6832fc60e8382f2d5c9d74c88", "score": "0.420899", "text": "public Double getMedian(){\n Double median=0.0;\n int page=1;\n ArrayList<Double> input = new ArrayList<Double>();\n JSONArray orderArray;\n JSONObject order;\n HashMap<String, Integer> queryParameter = new HashMap<String, Integer>();\n queryParameter.put(\"page\", page);\n queryParameter.put(\"limit\", limit);\n orderArray = getOrdersList(queryParameter);\n try{\n while(orderArray.length() > 0){\n for(int i=0; i<orderArray.length(); i++) {\n order = (JSONObject) orderArray.get(i);\n input.add(Double.valueOf(order.getString(\"total_price\")));\n }\n page++;\n queryParameter.put(\"page\", page);\n orderArray = getOrdersList(queryParameter);\n }\n }catch (JSONException e) {\n e.printStackTrace();\n }\n\n int size=input.size();\n /*\n If number of elements are odd, return element at index size/2, If elements are even, return average of size/2 and (size/2)-1\n */\n if(size%2 != 0)\n median = calculateMedian(input, 0, size-1, (size/2)+1);\n else\n median = (calculateMedian(input, 0, size-1, (size/2)+1) + calculateMedian(input, 0, size-1, size/2))/2;\n return median;\n }", "title": "" }, { "docid": "9623d626db7c49df01412b169f7e6178", "score": "0.42070633", "text": "public static Vector<Object> lowerOutliersAnscombe(double[] values, double constant){\n boolean test=true;\n double[] copy0 = (double[])values.clone();\n int nValues = values.length;\n int nValues0 = nValues;\n Vector<Double> outers = new Vector<Double>();\n int nOutliers = 0;\n\n while(test){\n boolean copyCheck = true;\n double mean = Stat.mean(copy0);\n double standDev = Stat.standardDeviation(copy0);\n double min = Fmath.minimum(copy0);\n double statistic = (mean - min)/standDev;\n int j=0;\n if(statistic>constant){\n outers.addElement(new Double(min));\n nOutliers++;\n double[] copy1 = new double[nValues-1];\n for(int i=0; i<nValues; i++){\n if(copy0[i]==min && copyCheck){\n copyCheck = false;\n }\n else{\n copy1[j] = copy0[i];\n j++;\n }\n }\n nValues--;\n copy0 = (double[])copy1.clone();\n }\n else{\n test=false;\n }\n }\n\n double[] outliers = null;\n int[] outIndices = null;\n if(nOutliers>0){\n outliers = new double[nOutliers];\n outIndices = new int[nOutliers];\n boolean[] indCheck = new boolean[nValues0];\n for(int i=0; i<nValues0; i++)indCheck[i]=true;\n for(int i=0; i<nOutliers; i++)outliers[i] = ((Double)outers.elementAt(i)).doubleValue();\n for(int j=0; j<nOutliers; j++){\n boolean testO = true;\n int i = 0;\n while(testO){\n if(outliers[j]==values[i] && indCheck[i]){\n outIndices[j] = i;\n indCheck[i]=false;\n testO = false;\n }\n else{\n i++;\n if(i>=nValues0){\n testO=false;\n System.out.println(\"Stat.outliersUpperAnscombe\");\n System.out.println(\"Could not find an outlier index!!!!!!!!!\");\n }\n }\n }\n }\n }\n\n Vector<Object> ret = new Vector<Object>();\n ret.addElement(new Integer(nOutliers));\n ret.addElement(outliers);\n ret.addElement(outIndices);\n ret.addElement(copy0);\n\n return ret;\n }", "title": "" }, { "docid": "24d0e1e3d4aa7cffc49ca7b6db8ecd14", "score": "0.42005485", "text": "void addTo(long index, double value);", "title": "" }, { "docid": "54a8f88b8a49ea349b486bd02a5d7b6c", "score": "0.41862378", "text": "float getValues(int index);", "title": "" }, { "docid": "b871da4230c9f97de8a48b2b404221eb", "score": "0.4186175", "text": "@Override\n public Double reduce(List<ComputeJobResult> results) throws IgniteException {\n Double result = results.stream().collect(\n Collectors.summingDouble(ComputeJobResult::getData));\n\t\t\t\t\treturn result;\n }", "title": "" }, { "docid": "7b0432d728b894688548b2051af0bbc5", "score": "0.41857404", "text": "public List<PriceQuantityPair> getBids(double evaluation, int desiredQuantity);", "title": "" } ]
0c03a4110062f8cf40e220be09f9ede0
Configures an expirytime cache of the given maximum age in seconds and purge interval in seconds. Also allows setting the reference type indicating whether garbage collection may remove entries from cache.
[ { "docid": "6ea50246c6fb83de83739b25d238d0f5", "score": "0.8274954", "text": "public void setExpiryTimeCache(double maxAgeSeconds, double purgeIntervalSeconds, ConfigurationCacheReferenceType cacheReferenceType) {\n dataCacheDesc = new ConfigurationExpiryTimeCache(maxAgeSeconds, purgeIntervalSeconds, cacheReferenceType);\n }", "title": "" } ]
[ { "docid": "6aec56258232cd17bfe53b3b8f85ae92", "score": "0.79064906", "text": "public void setExpiryTimeCache(double maxAgeSeconds, double purgeIntervalSeconds) {\n dataCacheDesc = new ConfigurationExpiryTimeCache(maxAgeSeconds, purgeIntervalSeconds, ConfigurationCacheReferenceType.getDefault());\n }", "title": "" }, { "docid": "82c122bcec6ae0b51845d421f84131b7", "score": "0.63555264", "text": "public void setMaxExpires(int maxExpires);", "title": "" }, { "docid": "5bcf4c11fd8ca457718f6656774429cf", "score": "0.61146915", "text": "public void setExpiration(double timeout) {\r\n safetyHelper.setExpiration(timeout);\r\n }", "title": "" }, { "docid": "194c365490c37adb2697be37b9ef67db", "score": "0.6084977", "text": "public TTLCache(long timeThresholdInMilliseconds, int sizeLimit,\n boolean updateTimeOnGet) {\n this(timeThresholdInMilliseconds, sizeLimit, updateTimeOnGet, null);\n\n }", "title": "" }, { "docid": "5c2e05bbc415bcda8add09f32cf88959", "score": "0.59870654", "text": "public void setMaxAge(long inMaxAge) {\n\n maxAge = inMaxAge;\n\n }", "title": "" }, { "docid": "5740173ecaf3e788842719b18eb8d8f1", "score": "0.5899656", "text": "public void removeAgeExpiredInT(int _age_threshold, long _current_time){\r\n\t\t//Avoid ConcurrentModificationException\r\n\t\t//copy-on write Error\r\n\t\tfor( Iterator<CacheElement> it = this.tCache.iterator(); it.hasNext() ; ){\r\n\t\t\tCacheElement ele = it.next();\r\n\t\t\tlong age = _current_time-ele.getAccessTime();\r\n\t\t\t//check the age expire or not\r\n\t\t\tif(age >= _age_threshold){\r\n\t\t\t\tit.remove();\r\n\t\t\t}\r\n\t\t}//for loop\r\n\t}", "title": "" }, { "docid": "b8c99240f78cc5792ceea428be2911d5", "score": "0.58980054", "text": "void setTimeToLive(long ttlMillis);", "title": "" }, { "docid": "cb882e650b3475cb20d2f97cb0f70598", "score": "0.5818043", "text": "public void setExpires(Map<String, RedisConfig> expires) {\r\n\t\tthis.expires = (expires != null ? new ConcurrentHashMap<String, RedisConfig>(expires) : null);\r\n\t}", "title": "" }, { "docid": "7e201c35ab9e853e91a7b03ab4bdfdf9", "score": "0.573226", "text": "@Override\n\tpublic void cacheForExpiry(String key, String value, int timeout) throws CommonException {\n\n\t}", "title": "" }, { "docid": "1722c6a182c3ea1897313197eeab951d", "score": "0.57152826", "text": "public void setExpire(Integer expire) {\r\n this.expire = expire;\r\n }", "title": "" }, { "docid": "d75956ae32326c08d74f59f33e0aaf09", "score": "0.57060975", "text": "public final void setExpires(long expires) {\n this.expires = (expires > MS_PER_SECOND) ? expires : MS_PER_SECOND;\n }", "title": "" }, { "docid": "ffeedc31e26a7898d6d817afc3c99adb", "score": "0.5654624", "text": "@Duration\n public void setEntryExpiration(@Positive @Duration final long entryExpiration) {\n expires = Constraint.isGreaterThan(0, entryExpiration,\n \"revocation cache entry expiration must be greater than 0\");\n }", "title": "" }, { "docid": "a6e2ccf726a4d45d506e84dc9cec4e6a", "score": "0.56461626", "text": "public int getMaxExpires();", "title": "" }, { "docid": "e00c30e443f32c29c6b959b070b82a97", "score": "0.5643696", "text": "public void removeAgeExpiredInTbySize(int _age_threshold, long _current_time, int size){\r\n\t\t//Avoid ConcurrentModificationException\r\n\t\t//copy-on write Error\r\n\t\tfor(int i=0; i<size; i++){\r\n\t\t\t//find the oldest element\r\n\t\t\tlong oldestage=0;\r\n\t\t\tint removeindex=-1;\r\n\t\t\tfor(int j=0; j<this.tCache.size(); j++){\r\n\t\t\t\tCacheElement ele = tCache.get(j);\r\n\t\t\t\tlong age = _current_time-ele.getAccessTime();\r\n\t\t\t\t//check the age expire or not\r\n\t\t\t\tif(age >= oldestage){\r\n\t\t\t\t\tremoveindex=j;\r\n\t\t\t\t\toldestage = age;\r\n\t\t\t\t}\r\n\t\t\t}//for loop\r\n\t\t\tif(removeindex >=0){\r\n\t\t\t\ttCache.remove(removeindex);\r\n\t\t\t\tif(oldestage< _age_threshold){\r\n\t\t\t\t\tSystem.out.println(\"Error in user method: removeAgeExpiredInTbySize\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e56d0e2e1dc8f0f7e70960d8dad0185c", "score": "0.56430596", "text": "void expires(String key, int seconds) throws UnexplainableDatabaseServiceException;", "title": "" }, { "docid": "c9482151649bf4324f9b92d4024c9b2b", "score": "0.5641253", "text": "public void setDefaultExpires(int defaultExpires);", "title": "" }, { "docid": "c81fb3dd7a0ed9fca30def29e42ea4aa", "score": "0.5620654", "text": "public void setDefaultExpiration(long defaultExpireTime) {\r\n\t\tthis.defaultExpiration = defaultExpireTime;\r\n\t}", "title": "" }, { "docid": "afd3ef1760e82e60ed082b79bd94af1f", "score": "0.56053555", "text": "public void setExpireValue() {\n if (this.expireValue > 0) {\n this.expireValue--;\n }\n }", "title": "" }, { "docid": "47ffdf0db8be8f68cffd511a0ab75db3", "score": "0.5541937", "text": "public void setExpiryDuration(Duration expiryDuration) {\n\t\tthis.expiryDuration = expiryDuration;\n\t}", "title": "" }, { "docid": "736832fd566cdd24af07b905f367a8f0", "score": "0.5503724", "text": "public void expire();", "title": "" }, { "docid": "f5ec1da2c2b65ca3fd0ebe5898183add", "score": "0.5467984", "text": "public void setExpiration( Date expiration ) {\n long millis = expiration.getTime() % 1000;\n this.expiration = new Date( expiration.getTime() - millis );\n }", "title": "" }, { "docid": "bc55af244dd804c387175d47b5974228", "score": "0.54671216", "text": "public void setExpires(org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_utility_1_0_xsd.AttributedDateTime expires)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_utility_1_0_xsd.AttributedDateTime target = null;\n target = (org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_utility_1_0_xsd.AttributedDateTime)get_store().find_element_user(EXPIRES$0, 0);\n if (target == null)\n {\n target = (org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_utility_1_0_xsd.AttributedDateTime)get_store().add_element_user(EXPIRES$0);\n }\n target.set(expires);\n }\n }", "title": "" }, { "docid": "540aa150694152eaf3f89c84b776d8b3", "score": "0.54650223", "text": "long expires();", "title": "" }, { "docid": "e884f521f8b208fe2f2638f4bb9db8ec", "score": "0.5456476", "text": "public TTLCache(long timeThresholdInMilliseconds, int sizeLimit) {\n this(timeThresholdInMilliseconds, sizeLimit, false);\n }", "title": "" }, { "docid": "bfde2cd75fe05ab321e93aee59300cb8", "score": "0.5452336", "text": "public RedisCache(String host, long defaultLifespan) {\n cache = new Jedis(host);\n defaultLifetime = defaultLifespan;\n }", "title": "" }, { "docid": "ef4b92888c52386a63f1a9f5614e1765", "score": "0.54510516", "text": "public long expires();", "title": "" }, { "docid": "3db64d98f6ec874ecd9a93a5fcb9753e", "score": "0.5447525", "text": "public TTLCache(long timeThresholdInMilliseconds) {\n this(timeThresholdInMilliseconds, -1, false);\n }", "title": "" }, { "docid": "aed975fa6a7f51ecdef1b0df07cc61d2", "score": "0.5433789", "text": "public Builder maximumAge(long maximumAge) {\n this.maximumAge = maximumAge;\n return this;\n }", "title": "" }, { "docid": "8a585b723e12d9202eb33c0b5519122a", "score": "0.54313034", "text": "public RedisCache(String host, int port, int timeout, long defaultLifespan) {\n cache = new Jedis(host, port, timeout);\n defaultLifetime = defaultLifespan;\n }", "title": "" }, { "docid": "6564b7c8bf65bad49770eb5b26762b6a", "score": "0.5427004", "text": "long getExpiry();", "title": "" }, { "docid": "6564b7c8bf65bad49770eb5b26762b6a", "score": "0.5427004", "text": "long getExpiry();", "title": "" }, { "docid": "6564b7c8bf65bad49770eb5b26762b6a", "score": "0.5427004", "text": "long getExpiry();", "title": "" }, { "docid": "38e871919ecc1ea1dfb378f228b69519", "score": "0.54163295", "text": "void setExpiration(long paramLong) {\n/* 135 */ this.expiration = paramLong;\n/* */ }", "title": "" }, { "docid": "c703a4037586e5aa758fb7f4ee264e9b", "score": "0.5402001", "text": "public Builder setExpiry(long value) {\n\n expiry_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "18ef57db420884559907f47c821567cf", "score": "0.53816146", "text": "long getAuthCacheInterval();", "title": "" }, { "docid": "6801432c5df51be76e14526c96973e49", "score": "0.53790176", "text": "public static void updateExpiryTime(Record record, long ttl, MapConfig mapConfig) {\n\n // Preserve previously set TTL, if TTL < 0.\n if (ttl < 0) {\n ttl = record.getTtl();\n }\n // If TTL == 0, convert it to Long.MAX_VALUE.\n ttl = checkedTime(ttl);\n\n record.setTtl(ttl);\n\n long maxIdleMillis = calculateMaxIdleMillis(mapConfig);\n setExpirationTime(record, maxIdleMillis);\n }", "title": "" }, { "docid": "1241a23765709733bb1f7a3f688e087e", "score": "0.53785396", "text": "public void setAgeMax(Integer ageMax) {\n this.ageMax = ageMax;\n }", "title": "" }, { "docid": "7abc92b39fbcd6cea45264eaa576980f", "score": "0.53724355", "text": "public Builder setExpiry(long value) {\n \n expiry_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7abc92b39fbcd6cea45264eaa576980f", "score": "0.53719515", "text": "public Builder setExpiry(long value) {\n \n expiry_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7f101feb1692932dda4682e118db84d2", "score": "0.53505886", "text": "public void setExpirationTime(Date expirationTime) {\n\t this.expirationTime = expirationTime;\n\t}", "title": "" }, { "docid": "fd7861441757720a3042654566189a94", "score": "0.5346961", "text": "public void setMinExpires(int minExpires);", "title": "" }, { "docid": "bdfca8b51616816b279e3cdf756d46aa", "score": "0.53373516", "text": "static void caffeineCache(Ticker ticker, int expireMillis) {\n messageCountCache = Caffeine.newBuilder()\n .maximumSize(maxCacheSize)\n .expireAfterWrite(expireMillis, TimeUnit.MILLISECONDS)\n .ticker(ticker)\n .build();\n }", "title": "" }, { "docid": "ff1fb3fae58b986098bc657137b18a5f", "score": "0.53354937", "text": "public int getDefaultExpires();", "title": "" }, { "docid": "2a75b6bd96e7127fa37c15ed56cb2bfc", "score": "0.5330245", "text": "public void setMaxConnectionAge(@Nullable Duration maxConnectionAge) {\n this.maxConnectionAge = maxConnectionAge;\n }", "title": "" }, { "docid": "97617d7e9a4f0184000a8c69f1411d96", "score": "0.5324793", "text": "public void setRestoreExpirationTime(Date expiration);", "title": "" }, { "docid": "c3fc2583900220caa1b499fbfd1a6fee", "score": "0.53183097", "text": "public void put(long max_age_unmatched_ips) {\n String url = (\"https://discourse.example.com//admin/site_settings/max_age_unmatched_ips\");\n Map<String, Object> content = new HashMap<>();\n content.put(\"max_age_unmatched_ips\", (max_age_unmatched_ips));\n requestPut(url, null, content, Void.class);\n }", "title": "" }, { "docid": "d11a5efecf17b326dc325667adcfdec8", "score": "0.5316428", "text": "public long maxAgeMillis() {\n return 0;\n }", "title": "" }, { "docid": "c78b12a5cb09c37099115d909a7d2a79", "score": "0.5314944", "text": "public TTLCache() {\n this(MS_IN_AN_HOUR, -1, false);\n }", "title": "" }, { "docid": "70a8b8401fbf7166e669d8cc9fea6ffd", "score": "0.530785", "text": "public TimedCachePolicy(int defaultLifetime)\n {\n this(defaultLifetime, false, 0);\n }", "title": "" }, { "docid": "10cf7c79c3dcc9416ea20d1a28be3bc7", "score": "0.5301345", "text": "public Builder expiry(DateTime expiry) {\n this.expiry = expiry;\n return this;\n }", "title": "" }, { "docid": "b0703c3fe34f66565e0e950b1cf81e07", "score": "0.5291571", "text": "public CacheHandleImpl(long expires, long recheck) {\n setRecheck(recheck);\n setExpires(expires);\n }", "title": "" }, { "docid": "8860c59d92d349d4d2d00fa27b27f6aa", "score": "0.5288185", "text": "private void evict() {\n\t\tevictMaxAge();\n\t}", "title": "" }, { "docid": "78335e52675433e002513e662b569581", "score": "0.5277523", "text": "public void setExpiresIn(Long expiresIn) {\n this.expiresIn = expiresIn;\n }", "title": "" }, { "docid": "3d497e32d5d8647d4dee045cfed6ea15", "score": "0.52654076", "text": "public void setExpiryPolicy(ExpiryPolicy expiryPolicy) {\n\t\tthis.expiryPolicy = expiryPolicy;\n\t}", "title": "" }, { "docid": "97e4f9751ca233465d72d1bb8e6fb437", "score": "0.52647555", "text": "public void setMaxDaysForExpirationTime(String maxDaysForExpirationTime) {\r\n\t\tthis.maxDaysForExpirationTime = Integer.valueOf(maxDaysForExpirationTime);\r\n\t}", "title": "" }, { "docid": "9536326357c26df5304baf2658ef1158", "score": "0.52588", "text": "public void setExpiryTimestamp(long expiryTimestamp) {\n this.expiryTimestamp = expiryTimestamp;\n }", "title": "" }, { "docid": "3f4df04260683ecd07ced11360432e00", "score": "0.52511835", "text": "public TimedCachePolicy() \n {\n this(30*60, false, 0);\n }", "title": "" }, { "docid": "70b8ca56aa2811513cd6698d96726710", "score": "0.5246551", "text": "@Test\n\tpublic void testExpirationTime() throws InterruptedException {\n\t\tfinal int EXPIRATION_TIME = 500;\n\t\tExpirationCache<Integer, Object> cache = new ExpirationCache<Integer, Object>(3, EXPIRATION_TIME);\n\t\tcache.put(1, new Object());\n\t\tcache.put(2, new Object());\n\n\t\tThread.sleep(EXPIRATION_TIME + 1);\n\t\tObject object = cache.lookup(1);\n\t\tassertNull(object);\n\n\t\tobject = cache.lookup(2);\n\t\tassertNull(object);\n\n\t\tcache.put(3, new Object());\n\t\tobject = cache.lookup(3);\n\t\tassertNotNull(object);\n\t}", "title": "" }, { "docid": "37bafff0eeea08c82eb51cec7c20cb1f", "score": "0.52291006", "text": "public LruCache(int maxEntries, int evictSize) {\n concurrentHashMap = new ConcurrentHashMap<>();\n concurrentLinkedQueue = new ConcurrentLinkedQueue<>();\n this.maxEntries = maxEntries;\n this.evictSize = evictSize;\n }", "title": "" }, { "docid": "3acb6e7efb04548b3494b21644f54ab4", "score": "0.5213739", "text": "public void setMaxHealthCache(double value);", "title": "" }, { "docid": "e706bc94ba3ccbd4e02a5d1d124d18a8", "score": "0.52133477", "text": "public Integer maxAge() {\n return this.maxAge;\n }", "title": "" }, { "docid": "46e836f3d58a0cb3fbb6a918e0b483db", "score": "0.5209162", "text": "public void expire () {\n\n // Cancel expiry timer\n if (expiryTimer != null) {\n expiryTimer.cancel();\n expiryTimer = null;\n }\n\n this.value = null;\n\n }", "title": "" }, { "docid": "49554d16c7972a992b4ce8b34597648e", "score": "0.52046347", "text": "public RedisCache(String host, int port, long defaultLifespan) {\n cache = new Jedis(host, port);\n defaultLifetime = defaultLifespan;\n }", "title": "" }, { "docid": "96cd6c780b7fa26b8e30f546abfd825f", "score": "0.51961523", "text": "public void setExpiryTime(Date expireAt) {\r\n\t\t\r\n\t\tsetProperty(\"ExpiryTime\", expireAt);\r\n\t}", "title": "" }, { "docid": "8a6ffc1ea603aca74218c626436eb3a7", "score": "0.51906145", "text": "public void setAddressCacheTTL(final Integer ttl) {\n set(Names.Network.Address.CACHE_TTL, ttl);\n }", "title": "" }, { "docid": "d2fabdedd6cbfdc4728423292343b601", "score": "0.5189688", "text": "public int checkAgeExpiredSizeInT(int _age_threshold, long _current_time){\r\n\t\tint size=0;\r\n\t\t//Avoid ConcurrentModificationException\r\n\t\t//copy-on write Error\r\n\t\tfor( Iterator<CacheElement> it = this.tCache.iterator(); it.hasNext() ; ){\r\n\t\t\tCacheElement ele = it.next();\r\n\t\t\tlong age = _current_time-ele.getAccessTime();\r\n\t\t\t//check the age expire or not\r\n\t\t\tif(age >= _age_threshold){\r\n\t\t\t\tsize=size+1;\r\n\t\t\t}\r\n\t\t}//for loop\r\n\t\treturn size;\r\n\t}", "title": "" }, { "docid": "73120342270becd209645e7dbf77a8de", "score": "0.5187119", "text": "private void updateTTLForAccessed(AdvancedCache<K, V> cache, Entry<K, V> entry) {\n Duration ttl = expiryPolicy.getExpiryForAccessedEntry(entry);\n\n if (ttl != null) {\n if (ttl.equals(Duration.ZERO)) {\n // TODO: Expiry of 0 does not seem to remove entry when next accessed.\n // Hence, explicitly removing the entry.\n cache.remove(entry.getKey());\n } else {\n // The expiration policy could potentially return different values\n // every time, so don't think we can rely on maxIdle.\n long durationAmount = ttl.getDurationAmount();\n TimeUnit timeUnit = ttl.getTimeUnit();\n cache.put(entry.getKey(), entry.getValue(), durationAmount, timeUnit);\n }\n }\n }", "title": "" }, { "docid": "b570d08869f53a1ed8f327278aceb624", "score": "0.518578", "text": "private void gc() {\n Set<Map.Entry<CacheKey, CacheEntry>> toRemove = new HashSet<>();\n long lm = lastModified();\n // Get a copy in a synchronized block\n Map<CacheKey, CacheEntry> copy = entries();\n // Iterate the entries\n for (Map.Entry<CacheKey, CacheEntry> e : copy.entrySet()) {\n // Determine if\n // - The cache entry is for an old version of the grammar file\n // and it is passed its expiration, OR\n // - The cache entry is for the current version of the grammar\n // file, but nothing has asked to use it in a long time and\n // it's worth it to reclaim the memory and parse again on demand\n boolean isDefunct\n = (!e.getKey().isCurrent(lm) && e.getValue().isExpired(expireObsoleteAfter))\n || (e.getKey().isCurrent(lm) && e.getValue().isExpired(expireLiveAfter));\n if (isDefunct) {\n toRemove.add(e);\n }\n }\n if (!toRemove.isEmpty()) {\n boolean cacheHasGrown;\n boolean nowEmpty;\n // Now we actually update the cache\n synchronized (this) {\n // Determine if the cache has had members added since\n // we copied it - if so we will want to reschedule gc\n // on the short obsolete item delay\n cacheHasGrown = copy.size() < cache.size();\n for (Map.Entry<CacheKey, CacheEntry> e : copy.entrySet()) {\n cache.remove(e.getKey());\n }\n nowEmpty = cache.isEmpty();\n }\n // If the cache still has contents, schedule another gc\n // for later\n if (!nowEmpty) {\n if (cacheHasGrown) {\n // do it sooner, new items were added\n task.schedule(expireObsoleteAfter + 1);\n } else {\n // do it later\n task.schedule(expireLiveAfter + 1);\n }\n }\n } else {\n boolean cacheIsEmpty;\n synchronized (this) {\n cacheIsEmpty = cache.isEmpty();\n }\n // If the cache is empty, gc will be scheduled the next\n // time an item is added\n if (!cacheIsEmpty) {\n task.schedule(expireLiveAfter + 1);\n }\n }\n }", "title": "" }, { "docid": "185888a7be90c96cefcf38bf114e96ac", "score": "0.5182453", "text": "public void setExpiretime(Date expiretime) {\n this.expiretime = expiretime;\n }", "title": "" }, { "docid": "3bfd05fc0e303b01cfae6b7cca177cef", "score": "0.5177727", "text": "public void setExpiration(java.util.Date expiration) {\n this.expiration = expiration;\n }", "title": "" }, { "docid": "6b388264d4f1299a96e5e2f26a75d261", "score": "0.51527387", "text": "@Test\n public void testingCacheContructor() {\n Cache cache1 = new Cache(10, 3);\n\n class stringCacheable implements Cacheable {\n public String content;\n\n public stringCacheable(String content) {\n this.content = content ;\n }\n\n @Override\n public String id() {\n return \"\";\n }\n }\n\n cache1.put(new stringCacheable(\"string1\"));\n assertEquals(1, cache1.size());\n try{\n Thread.sleep(3050);\n }catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n //after the timeout, cache should no longer contains the expired item\n assertEquals(0, cache1.size());\n }", "title": "" }, { "docid": "a9acd63215f626d9a2265162964ba08b", "score": "0.5152049", "text": "public void setExpires(Date expires) {\n this.expires = expires;\n }", "title": "" }, { "docid": "336187cf7ffa7a7a1bb3234d9f2748f9", "score": "0.5149163", "text": "public Builder setJobPurgeInterval(long t) {\n _jobPurgeInterval = t;\n return this;\n }", "title": "" }, { "docid": "3b6077c7c5c051ad0022e1d4db8401dd", "score": "0.5144245", "text": "public long getMaxAge() {\n\n return maxAge;\n\n }", "title": "" }, { "docid": "4a864b09ac21cbb0746d9d8f1bdb8467", "score": "0.5139307", "text": "public void setCacheMaxSize(int cacheMaxSize) {\n this.cacheMaxSize = cacheMaxSize;\n }", "title": "" }, { "docid": "2e26f8a3d357223b83904319c45a9caa", "score": "0.51387775", "text": "@java.lang.Override\n public long getExpiry() {\n return expiry_;\n }", "title": "" }, { "docid": "2e26f8a3d357223b83904319c45a9caa", "score": "0.51387775", "text": "@java.lang.Override\n public long getExpiry() {\n return expiry_;\n }", "title": "" }, { "docid": "2e26f8a3d357223b83904319c45a9caa", "score": "0.5138622", "text": "@java.lang.Override\n public long getExpiry() {\n return expiry_;\n }", "title": "" }, { "docid": "6e2332e2a7260a1f1f7bc345ebe066b2", "score": "0.5134692", "text": "public void _setExpires( Long _expires ) {\n\t\tthis._expires = _expires;\n\t}", "title": "" }, { "docid": "fc5e32527cead8ab7001377dff7f0127", "score": "0.513408", "text": "void put(String key, Object value, Integer expire);", "title": "" }, { "docid": "f8a8406c194232ad7f23cdf655ecf684", "score": "0.512379", "text": "public int getCacheTTL();", "title": "" }, { "docid": "5e8036f31f100b36c2c5d2500be89546", "score": "0.510313", "text": "public Builder setExpiry(long v) {\n _expiry = v;\n return this;\n }", "title": "" }, { "docid": "114f68cec1ddcd5c871ddba18d3bd946", "score": "0.5095659", "text": "public void setTtl(Integer ttl) {\n this.ttl = ttl;\n }", "title": "" }, { "docid": "2f4a33bd571d3a67b25d32d04da691a9", "score": "0.5093892", "text": "private Cache() {\n\t\tTimer timer = new Timer();\n\t\ttimer.scheduleAtFixedRate(this, EXPIRE_TIME, EXPIRE_TIME);\n\t}", "title": "" }, { "docid": "220b8aa364278aef44bef0ee1f6f8192", "score": "0.5090534", "text": "public STAFResult setMaxAge(String maxAge)\n {\n try\n {\n this.maxAge = new MaxAge(maxAge);\n }\n catch (Exception e)\n {\n return new STAFResult(STAFResult.InvalidValue, e.getMessage());\n }\n\n return new STAFResult(STAFResult.Ok);\n }", "title": "" }, { "docid": "0520a3197634f1fc6881f3afa0859019", "score": "0.5080325", "text": "@java.lang.Override\n public long getExpiry() {\n return expiry_;\n }", "title": "" }, { "docid": "0520a3197634f1fc6881f3afa0859019", "score": "0.5079608", "text": "@java.lang.Override\n public long getExpiry() {\n return expiry_;\n }", "title": "" }, { "docid": "0520a3197634f1fc6881f3afa0859019", "score": "0.5079594", "text": "@java.lang.Override\n public long getExpiry() {\n return expiry_;\n }", "title": "" }, { "docid": "801d6bbe1ac37a72f01ad9f2c59b59dc", "score": "0.5064741", "text": "public int getMaxAge()\n {\n return maxAge;\n }", "title": "" }, { "docid": "57fb5483bc60b627aa36a527b33d700b", "score": "0.505618", "text": "public void setTtl(long ttl) {\r\n this.ttl = ttl;\r\n }", "title": "" }, { "docid": "a499d242582b99dabf2874baaf1cbbe9", "score": "0.5055895", "text": "public void removeOldestInT(int _tCache_Size_threshold, long _current_time){\r\n\t\t\r\n\t\twhile(this.tCache.size() > _tCache_Size_threshold){\r\n\t\t\tlong maxage =-1;\r\n\t\t\tint index=-1;\r\n\t\t\tfor(int i=0;i<this.tCache.size();i++){\r\n\t\t\t\tlong tempage = _current_time - this.tCache.get(i).getAccessTime();\r\n\t\t\t\tif(tempage > maxage){\r\n\t\t\t\t\tmaxage = tempage;\r\n\t\t\t\t\tindex=i;\r\n\t\t\t\t}\r\n\t\t\t}//for loop\r\n\t\t\tif(index >= 0 ){\r\n\t\t\t\tthis.tCache.remove(index);\r\n\t\t\t}\r\n\t\t}// while loop\r\n\t}", "title": "" }, { "docid": "a385e3050ec287c35a98f4f560d1c3a2", "score": "0.50450826", "text": "@Override\n\tpublic void expire(String k, Value v)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a385e3050ec287c35a98f4f560d1c3a2", "score": "0.50450826", "text": "@Override\n\tpublic void expire(String k, Value v)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "aaaa04de28f2865afd0e3ea02c206a9a", "score": "0.5043612", "text": "@Override\n\tpublic Long expire(String key, int seconds) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9f510afbf39ce1d94b1241305d9ca9dc", "score": "0.5038928", "text": "@Override\n int getLockExpireInSeconds() {\n return 3600;\n }", "title": "" }, { "docid": "a2f0fcf2110150df58984ddc31cce000", "score": "0.5012751", "text": "public CreateChallengeRequest setExpiryTime( Date expiryTime )\n\t\t{\n\t\t\tsetDateField(\"expiryTime\", expiryTime);\n\t\t\treturn this;\n\t\t}", "title": "" }, { "docid": "d1290a52aac2a39b8a2a48df32079a56", "score": "0.5004963", "text": "public void setExpiredTime(String ExpiredTime) {\n this.ExpiredTime = ExpiredTime;\n }", "title": "" }, { "docid": "31b7cb0203b1a5d8a9da2aece500da1e", "score": "0.50015116", "text": "public synchronized void setDefaultLifetime(int defaultLifetime)\n {\n this.defaultLifetime = defaultLifetime;\n }", "title": "" }, { "docid": "88c0eb0950507fa4b0656445d3a60172", "score": "0.4999205", "text": "public long getExpiry() {\n return expiryMS;\n }", "title": "" }, { "docid": "13a21559512fbdcd25ed2e66809871eb", "score": "0.49919632", "text": "private void setTtl(int value) {\n bitField0_ |= 0x00000002;\n ttl_ = value;\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e8a174aa0eab3f7235ff99d764898b97", "score": "0.0", "text": "public static void main(String[] args) throws IOException \n\t{\n\t\t\n\t\tFileWriter fw = new FileWriter(\"C:\\\\Users\\\\HP-PC\\\\Desktop\\\\data_into_file.txt\");\n\t\tBufferedWriter bw = new BufferedWriter(fw);\n\t\t\n\t\tbw.write(\"thirumrugan\");\n\t\tbw.write(\"thirumrugan\");\n\t\tbw.write(\"thirumrugan\");\n\t\tbw.write(\"thirumrugan\");\n\t\t\n\t\tSystem.out.println(\"successfully updated\");\n bw.close();\n\t}", "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": "" } ]
beac151b25243cb47d9c40c62830ff7d
Created by Administrator on 2017/9/12.
[ { "docid": "3f2eb6c8ace7224657bf046184a6d16b", "score": "0.0", "text": "@Mapper\npublic interface ShipMapper {\n public List<Map> getShipAll(Map map);\n}", "title": "" } ]
[ { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.62926096", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.6190285", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.61203444", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "df970d9257b3282612e3b7ad881bca60", "score": "0.608465", "text": "protected void bhjp5027AcedeMhjj027a() {\n }", "title": "" }, { "docid": "7ba2946d983bb1e7f8bf10a547e6dc3f", "score": "0.5997722", "text": "public void mo14489d() {\n }", "title": "" }, { "docid": "5fa8025455ce490980ad8cccfd13eea3", "score": "0.5961634", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "063ae6a38469d06ddf88fd9af6522171", "score": "0.59521437", "text": "@Override\r\n\tpublic void guru() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4d9e164e4e911df1380f4618e0fe7a08", "score": "0.5937032", "text": "OI (){\n\t\t\n\t}", "title": "" }, { "docid": "582acaef2e3110454651d58f22c1b299", "score": "0.58698285", "text": "public void mo14492g() {\n }", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.58603245", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5778821", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5778821", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "817efc043b4e1d7ba918f254f9fa5ae6", "score": "0.5761596", "text": "@Override\n public void taunt() {\n\n }", "title": "" }, { "docid": "12104bcdcc776dd1fc9415fbc08ab9a4", "score": "0.57606953", "text": "private ExtentTS() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.5744007", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.57439107", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "a2392cc71aaf87bc730f13f37ecdb439", "score": "0.57317644", "text": "private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}", "title": "" }, { "docid": "f09b06bb707ed4096c0ea09f32a74824", "score": "0.5731508", "text": "private Estructura_BBDD() {}", "title": "" }, { "docid": "cf106c4357acca188056c470b50f748c", "score": "0.5707379", "text": "private Singletone() {}", "title": "" }, { "docid": "655a271d981b875feb8fbc679e1a4f87", "score": "0.5703599", "text": "public void mo9609a() {\n }", "title": "" }, { "docid": "b7026792f4497bfcada6c43399e85e01", "score": "0.56966406", "text": "@Override\r\n\tpublic void kellton() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.56896347", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "408c943a1e709ecc31c924c09b2315eb", "score": "0.5683177", "text": "protected void bhyp0200RotinaDatas() {\n }", "title": "" }, { "docid": "fa32f830910aeae71dc86bf338a8b0fc", "score": "0.5677747", "text": "@Override\n\tpublic void genrator() {\n\n\t}", "title": "" }, { "docid": "d3082ef05aec8dc343ca108ab345f43a", "score": "0.5663542", "text": "@Override\r\n\tpublic void morir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.5651837", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.56479007", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.56479007", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "6754b5dbf617cd4b6315568f4ba45bc3", "score": "0.5636668", "text": "@Override\n protected void initialize() {}", "title": "" }, { "docid": "be358957d7b1e72f6001c386d8960179", "score": "0.56315863", "text": "@Override\n public void menace() {\n }", "title": "" }, { "docid": "be358957d7b1e72f6001c386d8960179", "score": "0.56315863", "text": "@Override\n public void menace() {\n }", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.5625665", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.56155103", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "d4e15b200c2022658af267c700b34269", "score": "0.56034344", "text": "@Override\n\tpublic void anlegen() {\n\t\t\n\t}", "title": "" }, { "docid": "cf22f889d7fbcd272d230fe8e0354d0c", "score": "0.5571729", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "d04355b7ad17e966b9f1c072e9560857", "score": "0.55469805", "text": "@Override\n\tpublic void create() {\n\t\t\n\t}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.5545138", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "e58b18580efb996e86a2a2e3852d4b8d", "score": "0.55369085", "text": "private TypicalHomework() {}", "title": "" }, { "docid": "40be4915804d3229e08fed067ec03fd6", "score": "0.55332404", "text": "Bug_616419() {\r\n\t}", "title": "" }, { "docid": "0186c04ca535c3dac0fbdb7dbe4d3adc", "score": "0.55271953", "text": "private Autobus() {\r\n }", "title": "" }, { "docid": "2f83b4f2097de28d0ab572de89d16ddd", "score": "0.5514034", "text": "public String getName() {\n return null; // replace this line with your code\n }", "title": "" }, { "docid": "2b60191c95bfebe3c1552e6c0a013032", "score": "0.5508846", "text": "@Override\r\npublic void generate() {\n\t\r\n}", "title": "" }, { "docid": "fcaf77b6f021a702cb2ac62e6c374cbd", "score": "0.54945123", "text": "@Override\r\n\tpublic void afficher() {\n\r\n\t}", "title": "" }, { "docid": "6e6512370dbb6f9cb6dcc13bd5aa3b2d", "score": "0.5470601", "text": "@Override\n\tvoid absone() {\n\t\t\n\t}", "title": "" }, { "docid": "f275faa96cd04ca198a5a2d01888719f", "score": "0.546923", "text": "@Override\n public void initialize() {\n \n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5467436", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "a6691139984030f01dbe58e2ac54116d", "score": "0.5464714", "text": "@Override\n public void initialize() {\n \n \n }", "title": "" }, { "docid": "f720716362bda7cd9a07a11b5f77ac9c", "score": "0.5457004", "text": "public void ObjeyiOlustur() {\n \r\n }", "title": "" }, { "docid": "8b3d721b1eea281aeed549a0c2e07286", "score": "0.5455187", "text": "private void StartotraL() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b28a6bba203633cc1b71e802b691f592", "score": "0.5449251", "text": "@Override\n\tpublic void shuthdown() {\n\n\t}", "title": "" }, { "docid": "f567ce9e210647e0edb52ccd99bd2199", "score": "0.5446587", "text": "@Override\n\tpublic void create() {\n\n\t}", "title": "" }, { "docid": "f476e77c136225b317ecc949b6b0851b", "score": "0.5445334", "text": "public void mo5614b() {\n }", "title": "" }, { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.54441375", "text": "protected void method_3848() {}", "title": "" }, { "docid": "bd9b859f3a9c1a1565a6602ccdbe7e59", "score": "0.5437578", "text": "@Override\n\tpublic void fiyatt() {\n\n\t}", "title": "" }, { "docid": "a7998f80ff10142923d6914a455d5129", "score": "0.5433409", "text": "public void colisionBala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3a7e2f85779045bb06ab6b8f5498933d", "score": "0.54332197", "text": "public void mo5615a() {\n }", "title": "" }, { "docid": "a4f5275a394442b77ca743e85e2d2f20", "score": "0.5432817", "text": "public void mo3892a() {\n }", "title": "" }, { "docid": "84e689da281c4e439372ad200feeb98b", "score": "0.54315066", "text": "private void quoifaire() {\n\t\n\t\t\n\t}", "title": "" }, { "docid": "316276ba4dfc453ccdb2c848359c272c", "score": "0.5418464", "text": "private void saniyedeBir() {\n\t\t\n\t\t\t\n\n\t }", "title": "" }, { "docid": "cde927777ccca33f6086b096a7c3c967", "score": "0.54152274", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "cde927777ccca33f6086b096a7c3c967", "score": "0.54152274", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "f04e880c42730389932a2272739ae0fc", "score": "0.54122764", "text": "public Autore() {\n\t\t\n\t}", "title": "" }, { "docid": "5262660a9edcdf4c362ff4b7231a8c41", "score": "0.5411189", "text": "@Override\r\n\tpublic void dibujar() {\n\r\n\t}", "title": "" }, { "docid": "f1ba927115f9f59e1603c54d69c0ea6e", "score": "0.54095566", "text": "private BookmakerStep2Data() {\r\n\r\n\t}", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.5403389", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "ad4d9339a0e3b347b6df9466d063badd", "score": "0.5400056", "text": "public void piocher(){\n\t\t\n\t}", "title": "" }, { "docid": "5c40bd2e5c1d492aac9d5983bf52d2e3", "score": "0.5391879", "text": "@Override\n\tpublic void vericar() {\n\t\t\n\t}", "title": "" }, { "docid": "8bb51b817eb666c4867465105352c93f", "score": "0.5383488", "text": "@Override\r\n\tvoid oracle() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cf5a17c7cafe1774bf1b271f6320e11b", "score": "0.53812826", "text": "public void create() {\r\n\t\r\n\t}", "title": "" }, { "docid": "5197bd44e94671a67bfc93f8a3214baf", "score": "0.53767806", "text": "@Override\n\tprotected void onCreate() {\n\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.53752387", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.53752387", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "8e744700cf25ab88e9cc012a1dc78649", "score": "0.5373059", "text": "public void Create() {\n\t\t\n\t}", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.5368023", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b6fafdfe59a7c1ef15255636f5c8c47c", "score": "0.53601265", "text": "private Banca() {\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.535517", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.535517", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.535517", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.535517", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.535517", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "5ec00384d83fde391dcc1109e082d025", "score": "0.53516644", "text": "@Override\n public void initialize() {\n \n\n }", "title": "" }, { "docid": "0b602319bd7a149f1b03847c52bc02d5", "score": "0.5349541", "text": "private Beehive() {\n \n }", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5345301", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5345301", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "91bd67fab28a493021bd6f1f7b3e5e0a", "score": "0.53415084", "text": "@Override\n public void dirve() {\n\n }", "title": "" }, { "docid": "1a4f9aa6f736074c80c425a66e966e33", "score": "0.5338865", "text": "@Override\n\tpublic void acariciar() {\n\n\t}", "title": "" }, { "docid": "28c210625818a8a913a584e47f3436ea", "score": "0.5331635", "text": "private void Ubicaccion() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "ac49bc20e4284501686c055a20a8be42", "score": "0.5325933", "text": "public OthelloAI56(){\n\n\t}", "title": "" }, { "docid": "86370c6d862242ff546a6ff8aa8113b2", "score": "0.5325097", "text": "@Override\n\tprotected void initial() {\n\n\t}", "title": "" }, { "docid": "11ba17dc9a04c9aa1f47ce846303d04a", "score": "0.5323688", "text": "public void ObjeyiYokEt() {\n \r\n }", "title": "" } ]
1c82a988f20b5909e9f39c5323dbf5aa
/ / / / / / / / /
[ { "docid": "5a7fa0bd3005eaa62a7c28a00ce9d19f", "score": "0.0", "text": "public static RankingData getPlayerRaceRank(String logstr, long playerId, int curPoint) {\n/* */ try {\n/* 783 */ if (needInit(\"needInit\"))\n/* 784 */ return null; \n/* 785 */ ICrossRmi crossRmi = RmiManager.getICrossRmi();\n/* 786 */ if (null != crossRmi) {\n/* 787 */ return crossRmi.getPlayerRaceRank(MContext.getServerIdInt(), playerId, curPoint);\n/* */ }\n/* 789 */ } catch (Exception e) {\n/* 790 */ e.printStackTrace();\n/* 791 */ LogUtil.errorLog(new Object[] { logstr, Arrays.toString((Object[])e.getStackTrace()) });\n/* */ } \n/* 793 */ return null;\n/* */ }", "title": "" } ]
[ { "docid": "bd67a1dd3c1e83e8f7c0928bb5a72807", "score": "0.53160673", "text": "public int getNodeWidth() \n {\n return halfWidth * 2;\n }", "title": "" }, { "docid": "11a1c2dfff9a8b20b789ac0b102932b4", "score": "0.5184119", "text": "public float circuit()\r\n { \r\n \treturn (2*width + 2*height); \r\n }", "title": "" }, { "docid": "f2d2c7ca789fec3637c6a9832c57570d", "score": "0.5179874", "text": "int getWork() {\n/* 136 */ return this.w * this.h + 1;\n/* */ }", "title": "" }, { "docid": "b4c5dabab310a8e42b39487ff0d2ef09", "score": "0.51567125", "text": "private int dagSize() { return this.Pwidth * this.Pheight + 2;}", "title": "" }, { "docid": "1a978f13ea1ed92e9049dcaf9f97223c", "score": "0.51371205", "text": "public void getHatch(){\n\t\t\r\n\t}", "title": "" }, { "docid": "b66545a5a422d6f286492777968e23dd", "score": "0.50990236", "text": "float getWidth ();", "title": "" }, { "docid": "6445fd579887c632e06350710f65cad0", "score": "0.5090248", "text": "public int getWidth() {\n return factor * getBaseWidth();\n }", "title": "" }, { "docid": "fefe047667065f1a77083e2df078b14f", "score": "0.50838023", "text": "@Override\r\n\tpublic double perimter() {\n\t\treturn 4*side;\r\n\t}", "title": "" }, { "docid": "95612ad37607260d6913bff526c462ce", "score": "0.5014735", "text": "static float cbDist(PathTile a, PathTile b, float low) {\n/* 489 */ return low * (Math.abs(a.getTileX() - b.getTileX()) + Math.abs(a.getTileY() - b.getTileY()) - 1);\n/* */ }", "title": "" }, { "docid": "e9ba69c6eacfb25223b8c59d8317f404", "score": "0.5008942", "text": "int edgeBuffer();", "title": "" }, { "docid": "d449f1cf201186b457b0f19562504933", "score": "0.49966803", "text": "public int ascent();", "title": "" }, { "docid": "d49d17272b1c32563649e99191745398", "score": "0.4994258", "text": "@Override\n\tpublic void inchide() {\n\t\t\n\t}", "title": "" }, { "docid": "80a59f3e4ff2b680aa54159a84f1697b", "score": "0.49894735", "text": "void union(int pixelID1, int pixelID2) {\n\t if(pixelID1 < pixelID2 ) {\n\t \tparentID[getYcoord(pixelID2)][getXcoord(pixelID2)] = pixelID1; \n\t \t\n\t } else { \t\n\t \tparentID[getYcoord(pixelID1)][getXcoord(pixelID1)] = pixelID2;\n\t } \n }", "title": "" }, { "docid": "e2faec4f0954b2f3bfa85bd533b107c0", "score": "0.49799535", "text": "double width();", "title": "" }, { "docid": "ef40df6b54fda56e418bb31f31557f2d", "score": "0.4971464", "text": "public int calculateVolume()\n{\nreturn height * width *\tdepth;\n}", "title": "" }, { "docid": "e74e12af32c3666ca676624097063d84", "score": "0.49612552", "text": "public int getLength() {\r\n return 6 + 8*rank; \r\n }", "title": "" }, { "docid": "9300ff5415a4e42a3b05f224cb92d3f1", "score": "0.4954549", "text": "int getXpGained();", "title": "" }, { "docid": "94856cc3299f31897b5a68393625b9e4", "score": "0.49528554", "text": "public void rasante() {\n\t\tx += getSpd()*dirX; \n\t\ty += getSpd()*dirY; \n\t}", "title": "" }, { "docid": "7326d983b17c71f05112ad6361694c73", "score": "0.49469173", "text": "Edge rotate()\n {\n return quadList[(listPos+1)%4];\n }", "title": "" }, { "docid": "785f839822f847fb68d932ffd1b6fbf8", "score": "0.4945312", "text": "public static void main(String[] args) {\nSystem.out.println(\"\\\\\\\\\\\\\\\\\\\\\\\\\");\r\nSystem.out.println(\"| * * |\");\r\nSystem.out.println(\"| * |\");\r\nSystem.out.println(\"| \\\\_/ |\");\r\nSystem.out.print(\"\\\\ _ _ /\");\t}", "title": "" }, { "docid": "8293a7932762421a7aecd5bd324d5676", "score": "0.49442452", "text": "public abstract void brickPattern();", "title": "" }, { "docid": "cb17e83c7a11ba987877253256cb7c20", "score": "0.4937309", "text": "@Override\r\n\tpublic int attaquer() {\n\t\treturn 40;\r\n\t}", "title": "" }, { "docid": "ecc767596c795ab5762a9f381fa7a19f", "score": "0.4927489", "text": "int width();", "title": "" }, { "docid": "949731b4adb7aa3d0b236a1afb9b5266", "score": "0.49268433", "text": "public void enemy(){\r\n \t System.out.println(\" ..------~~~--.__\");\r\n System.out.println(\" / c~\\\\\");\r\n System.out.println(\" / \\\\__ `\\\\\");\r\n System.out.println(\" | /~~--__/ /'\\\\ ~~'\");\r\n System.out.println(\" /'/'\\\\ | | |`\\\\ \\\\_\");\r\n System.out.println(\" `-)) `-)) `-)) `-))\");\r\n }", "title": "" }, { "docid": "a2b0441fc1c3475de3ff8d725a87dce2", "score": "0.49234754", "text": "public int getWidth()\r\n {\n return 1;\r\n }", "title": "" }, { "docid": "f2a854d385b53cb6fdc383f3b79a8c3a", "score": "0.4922571", "text": "@Override\n\tpublic void div() {\n\t\t\n\t}", "title": "" }, { "docid": "2ec9a62e9d7f77db60a82c674ecab473", "score": "0.49111393", "text": "void mirror(){\n\tmirror(root);\n}", "title": "" }, { "docid": "5affac42b7a5c3a96021cf26503fca8d", "score": "0.48867935", "text": "int distanceToRing();", "title": "" }, { "docid": "fb605ed19062f009b5a8a54b1f32629f", "score": "0.48851684", "text": "public node()\r\n{\r\n this.blocked = 'O';\r\n this.visitState = false;\r\n this.left = null;\r\n this.right = null;\r\n this.up = null;\r\n this.down = null;\r\n this.parent = null;\r\n this.A_star_parent = null;\r\n this.isExpanded = false;\r\n int g =0;\r\n int h =0;\r\n}", "title": "" }, { "docid": "1bfcb09bf539eba578a0cfeb3208f950", "score": "0.48810476", "text": "public void raceStride() \r\n { \r\n moveToHurdleOrBeeper(); \r\n if ( !frontIsClear() ) \r\n { \r\n up(); \r\n over(); \r\n down(); \r\n } \r\n }", "title": "" }, { "docid": "3c7b7c0b076b2efd952bd18bdfc611b1", "score": "0.48781827", "text": "int splitLookback();", "title": "" }, { "docid": "145abad460080782b6dd3024218cdcec", "score": "0.48766887", "text": "void rightspace();", "title": "" }, { "docid": "011961d6dd5331fc2a8aa82008ee8cef", "score": "0.4875305", "text": "void perimeter(){\n System.out.println(2*(length+breadth));\n }", "title": "" }, { "docid": "cffe2b85c9b059ad99fd43aea72f6f76", "score": "0.48722506", "text": "Edge symmetric()\n {\n return quadList[(listPos+2)%4];\n }", "title": "" }, { "docid": "ee5461b494afd77ba42626aa4007c477", "score": "0.48497728", "text": "public int getWidth(){\r\n return this.width;\r\n }", "title": "" }, { "docid": "79020fba0bed25d704caab9415064657", "score": "0.48410386", "text": "public abstract void mo25870WN();", "title": "" }, { "docid": "e78209930220e20bb9ab36213f198e39", "score": "0.48393592", "text": "public void beginShape()\n/* */ {\n/* 860 */ beginShape(20);\n/* */ }", "title": "" }, { "docid": "1da9c147cbed03bb2c6aca46780d745f", "score": "0.48385522", "text": "public final String toString ()\r\n {\r\n return _left+\" | \"+_right;\r\n }", "title": "" }, { "docid": "29725edb05f53c41c0f6bac540e7386f", "score": "0.48236957", "text": "@Override\n\tvoid draw() {\n\t\t\n\t}", "title": "" }, { "docid": "29725edb05f53c41c0f6bac540e7386f", "score": "0.48236957", "text": "@Override\n\tvoid draw() {\n\t\t\n\t}", "title": "" }, { "docid": "3b995c6a7f11fccab9dd610f18712268", "score": "0.4821747", "text": "public int getWidth() {\n/* 4312 */ return super.getWidth();\n/* */ }", "title": "" }, { "docid": "da86cc4272445afea1424a3cec84af8c", "score": "0.48214954", "text": "public int parent(int p) {\n\r\n return (p - 1) / 2;\r\n\r\n }", "title": "" }, { "docid": "fea7a2b12d2393c5b331cdd73164085e", "score": "0.4811601", "text": "private static void problem11() {\n\t\t\n\t}", "title": "" }, { "docid": "efdf639759bcc3dfdf4247ac42859432", "score": "0.4806243", "text": "public int getWidth() {\n/* 414 */ return this.width;\n/* */ }", "title": "" }, { "docid": "49f24271084aef3fe4fda3d2ba5c28d9", "score": "0.4788595", "text": "@Override\n \tdouble getWidth() {\n \t\treturn width;\n \t}", "title": "" }, { "docid": "5dc1b1cf6fc121bf50848238b1a90b64", "score": "0.47851503", "text": "int getTreePointsB();", "title": "" }, { "docid": "4bbce7b54b87be024b6c9a559d2d23c1", "score": "0.4784743", "text": "abstract public int getBaseWidth();", "title": "" }, { "docid": "bfe90a8ab6c70c56b572e7111d46a415", "score": "0.47815013", "text": "public interface Positions {\n\n int WORD = (1<<16)-1;\n\n byte S1 = 16;\n byte S0 = 32;\n byte S2 = 48;\n\n static byte si(int i) {\n return switch (i % 3) {\n case 1, -2 -> S1;\n case 2, -1 -> S2;\n default -> S0;\n };\n }\n\n long MASK = ~WORD;\n\n short SWP = 1<<3;\n\n short INV = 1<<6;\n\n short NORMALIZED = 1<<7;\n\n short PERMS = NORMALIZED-1;\n\n static short i2(long i201) {return (short) ((i201>>>S2) & WORD);}\n static short i0(long i201) {return (short) ((i201>>>S0) & WORD);}\n static short i1(long i201) {return (short) ((i201>>>S1) & WORD);}\n static short stat(long i201) {return (short) (i201 & WORD);}\n\n static long mask(long i201) {return i201 & MASK;}\n static short perms(long i201) {return (short) (i201 & PERMS);}\n static Perm perm(long i201) {return Perm.get(stat(i201));}\n\n static boolean normalized(long i201) {\n return (i201&NORMALIZED) != 0;\n }\n\n static RingEntry r2(long i201) {return RingEntry.of(i2(i201));}\n static RingEntry r0(long i201) {return RingEntry.of(i0(i201));}\n static RingEntry r1(long i201) {return RingEntry.of(i1(i201));}\n\n static String format(long i201) {\n short i2 = i2(i201);\n short i0 = i0(i201);\n short i1 = i1(i201);\n int pm = stat(i201);\n\n return String.format(\"%d,%d,%d,%02X\", i2, i0, i1, pm);\n }\n\n static long stones(int black, int white) {\n short i2 = Stones.i2(black, white);\n short i0 = Stones.i0(black, white);\n short i1 = Stones.i1(black, white);\n return i201(i2, i0, i1);\n }\n\n static long inverted(long i201) {\n short i2 = r2(i201).inverted;\n short i0 = r0(i201).inverted;\n short i1 = r1(i201).inverted;\n int stat = stat(i201);\n\n return i201(i2, i0, i1, stat^INV);\n }\n\n static PopCount pop(long i201) {\n PopCount pop = r2(i201).pop;\n pop = pop.add(r0(i201).pop);\n pop = pop.add(r1(i201).pop);\n return pop;\n }\n\n /**\n * Count closed mills.\n * @param i201 position to analyze.\n * @return population count of closed mills.\n */\n static PopCount clop(long i201) {\n RingEntry r2 = r2(i201);\n RingEntry r0 = r0(i201);\n RingEntry r1 = r1(i201);\n\n PopCount clop = r2.clop().add(r0.clop().add(r1.clop()));\n PopCount rad = r2.radials().and(r0).and(r1).pop;\n\n return clop.add(rad);\n }\n\n static Clops clops(long i201) {\n return Clops.of(pop(i201), clop(i201));\n }\n\n static Position position(long i201) {\n return Position.of(i201);\n }\n\n static boolean equals(long p1, long p2) {\n long diff = (p1 ^ p2) | WORD; // mask all status bits\n return diff == WORD;\n }\n\n static int i20(RingEntry e2, RingEntry e0) {\n return (e2.index<<16) + e0.index;\n }\n\n static long i201(short i2, short i0, short i1, int stat) {\n long i201 = stat&WORD;\n i201 |= ((long) i2) << S2;\n i201 |= ((long) i0) << S0;\n i201 |= ((long) i1) << S1;\n return i201;\n }\n\n static long i201(RingEntry r2, RingEntry r0, RingEntry r1, int stat) {\n return i201(r2.index, r0.index, r1.index, stat);\n }\n\n static long i201(short i2, short i0, short i1) {\n return i201(i2, i0, i1, 0);\n }\n\n /**\n * Compose two operations including swaps.\n * @param pm1 first permutation\n * @param pm2 second permutation\n * @return composed permutation\n */\n static short compose(short pm1, short pm2) {\n short pm3 = Perm.compose(pm1, pm2);\n pm3 |= Swap.compose(pm1, pm2);\n pm3 |= pm1^pm2&INV;\n return pm3;\n }\n\n /**\n * Calculate the inversion of a given status code.\n * @param stat status to invert.\n * @return the inverted status.\n */\n static short invert(short stat) {\n short inv = Perm.invert(stat);\n inv |= Swap.invert(stat);\n inv |= stat&INV;\n return inv;\n }\n\n // decompose, permute and compose an i201 index\n static long permute(long i201, int perm) {\n\n // decompose\n RingEntry r2 = r2(i201);\n RingEntry r0 = r0(i201);\n RingEntry r1 = r1(i201);\n short pm = perms(i201);\n\n // permute each\n r2 = r2.permute(perm);\n r0 = r0.permute(perm);\n r1 = r1.permute(perm);\n\n pm = Perm.compose(pm, perm);\n\n if((perm&INV)!=0) {\n r2 = r2.inverted();\n r0 = r0.inverted();\n r1 = r1.inverted();\n pm ^= INV;\n }\n\n return Swap.of((short)perm).build(r2, r0, r1, pm);\n }\n\n /**\n * Revert a position to its original state.\n */\n static long revert(long i201) {\n short perms = perms(i201);\n perms = invert(perms);\n return permute(i201, perms);\n }\n\n Builder NORMALIZER = Positions::normalize;\n\n static long m201(RingEntry r2, RingEntry r0, RingEntry r1, int stat) {\n if(r0.index < r2.index)\n return i201(r0, r2, r1, stat|SWP);\n else\n return i201(r2, r0, r1, stat);\n }\n\n static long normalize(RingEntry r2, RingEntry r0, RingEntry r1) {\n\n long m201 = m201(r2, r0, r1, 0);\n\n int m2 = r2.min();\n int m0 = r0.min();\n\n // user smaller one or both if equal\n int mlt = m2<m0 ? r2.pmin : m0<m2 ? r0.pmin : r2.pmin |r0.pmin;\n\n for (Perm p : Perms.of(mlt & 0xfe)) {\n\n RingEntry p2 = r2.permute(p);\n RingEntry p0 = r0.permute(p);\n RingEntry p1 = r1.permute(p);\n\n int perm = p.ordinal();\n\n long i201 = m201(p2, p0, p1, perm);\n\n if (i201 < m201) {\n // compare including current perm\n m201 = i201;\n }\n }\n\n return m201 | NORMALIZED;\n }\n\n static long normalize(RingEntry r2, RingEntry r0, RingEntry r1, int stat) {\n\n if(normalized(stat))\n return i201(r2, r0, r1, stat);\n\n long n201 = normalize(r2, r0, r1);\n \n // compute and apply status changes\n stat ^= compose((short)stat, perms(n201));\n n201 ^= stat;\n\n return n201 | NORMALIZED;\n }\n\n static long normalize(final long i201) {\n\n if(normalized(i201))\n return i201;\n\n RingEntry r2 = r2(i201);\n RingEntry r0 = r0(i201);\n RingEntry r1 = r1(i201);\n short perms = perms(i201);\n\n return normalize(r2, r0, r1, perms);\n }\n\n /**\n * Return a perm mask of all stable permutations.\n * If any permutation (with possible swap) reduces r20 return 0.\n * Else at least bit #0 is set.\n * @param e2 entry on ring 0 (minimized).\n * @param e0 entry on ring 2.\n * @return a perm mask of all stable permutations or 0.\n */\n static int meq(RingEntry e2, RingEntry e0) {\n\n assert e2.isMin();\n\n int e0min = e0.min();\n int e2index = e2.index;\n\n // some e0 is smaller, abort\n if(e0min<e2index)\n return 0;\n\n byte meq = e2.meq;\n\n // no further analysis necessary.\n if(e2==e0)\n return meq&0xff;\n\n // check if any e0 reduces while e2 remains stable\n if ((meq & e0.mlt) != 0)\n return 0;\n\n // e0 must stay stable, too.\n meq &= e0.meq;\n\n // if e0 is always bigger than e2 no further swaps or minima are expected.\n if (e0min > e2index)\n return meq&0xff;\n\n int e0index = e0.index;\n\n // by now: e0min == e2index (== e2min).\n // but still e0index > e2index.\n // Analyze stability after swapping e2 and e0:\n // Search for possible permutations of e2 with e2.perm(i) >= e0min.\n // e0index == e2.perm(i): additional stable permutation if swapped.\n // e0index < e2.perm(i): unstable (smaller) permutation after swap.\n // search all minima permutations of e0 excluding already verified meq.\n\n\n int msk = 0xff & e0.pmin & ~meq;\n\n long bitseq = Perms.of(msk).bitseq;\n while (bitseq != 0) {\n int i = (int) (bitseq&0x0f);\n bitseq >>>= 4;\n\n int p2 = e2.perm(i);\n\n // even reduces\n if (p2 < e0index) {\n return 0;\n }\n\n // stable if swapped\n if (p2 == e0index) {\n meq |= (1<<i);\n }\n }\n\n return meq&0xff;\n }\n}", "title": "" }, { "docid": "17f5f44ef3ff07c29d9205ab38cb5b86", "score": "0.47753394", "text": "private int[] ancestralPath(int v, int w) {\n Queue<Integer> qv = new Queue<>();\n qv.enqueue(v);\n Queue<Integer> qw = new Queue<>();\n qw.enqueue(w);\n return ancestralPath(qv, qw);\n }", "title": "" }, { "docid": "841c56a32b459ab77fe6d09d5fdba4e6", "score": "0.47722396", "text": "public int getHeight() { return width * 2 / 3; }", "title": "" }, { "docid": "b30f6739e1083fe858b1cda76ba53ee4", "score": "0.47681615", "text": "public abstract void spiralLevelPrint();", "title": "" }, { "docid": "8b68ed6f1c147cf807c582216e3a9a56", "score": "0.47677132", "text": "@Override\r\n\tpublic void walk() {\n\r\n\t}", "title": "" }, { "docid": "71d46f20ad9d825cd8033b09d5114891", "score": "0.47618598", "text": "private static void processVertexLate(int u){\n }", "title": "" }, { "docid": "ed75671ce62408dedbbb5181d2bd9e86", "score": "0.47607782", "text": "@Override\n public void div() {\n }", "title": "" }, { "docid": "6f8b714614751f7f4cd7d7999d7943da", "score": "0.47582996", "text": "public float getWidth() {\n/* 192 */ return this.widthRatio;\n/* */ }", "title": "" }, { "docid": "72ac838da7d22ce56b4610017a5d25ac", "score": "0.47559038", "text": "public int getCircularLength();", "title": "" }, { "docid": "5618383ac2d415928ddbe3141ece35b3", "score": "0.4754622", "text": "int getBlockInPorcSize();", "title": "" }, { "docid": "66d9c9523a9ff1c48e8423dbd06073b9", "score": "0.47512636", "text": "void area(){\n System.out.println(length*breadth);\n }", "title": "" }, { "docid": "ac3e23ecfe9230b0af15af32fb0806cb", "score": "0.47511095", "text": "@Override\n\tpublic void floydWarshall() {\n\t\t\n\t}", "title": "" }, { "docid": "ea57a145e3f8a5be24754c793e5d7658", "score": "0.47483656", "text": "@Override\r\n\tpublic void draw () {\n\t}", "title": "" }, { "docid": "5f8c6d87ef1b92bfc1023515778f1dcb", "score": "0.47330272", "text": "java.math.BigInteger getTotalexecpaths();", "title": "" }, { "docid": "6478ccadcf6c396d82d054cd6c5103a8", "score": "0.47285646", "text": "@Override\n\tpublic void divicion() {\n\t\t\n\t}", "title": "" }, { "docid": "291b5874f15161b205f8b00effc369f7", "score": "0.47239086", "text": "public String tri2(int h){\n String ans = new String();\n int row = 1;\n while (row <= h) {\n int i = 0;\n int spaces = h - row;\n while (i < spaces) {\n ans += \" \";\n i = i + 1;\n }\n while (i < h) {\n ans += \"*\";\n i= i + 1;\n }\n ans += \"\\n\";\n row= row + 1;\n }\n return ans;\n }", "title": "" }, { "docid": "904f9c50c446c5577133b091d034036c", "score": "0.4723257", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t\t\t\tint block_size = 3; // 3 tuples per block\r\n\t\t\t\tint mem_size = 6; // no. of blocks in memory\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//STEP 1: Representation of R and S on Disk\r\n\t\t\t\t\r\n\t\t\t\t//Represents Relation R on disk which consists of 8 blocks B(R) = 8\r\n\t\t\t\tArrayList<List<R>> r_disk = new ArrayList<List<R>>(8);\r\n\t\t\t\t\r\n\t\t\t\t//Represents 8 blocks of R \r\n\t\t\t\tArrayList<R> r1 = new ArrayList<R>(3);\r\n\t\t\t\tArrayList<R> r2 = new ArrayList<R>(3);\r\n\t\t\t\tArrayList<R> r3 = new ArrayList<R>(3);\r\n\t\t\t\tArrayList<R> r4 = new ArrayList<R>(3);\r\n\t\t\t\tArrayList<R> r5 = new ArrayList<R>(3);\r\n\t\t\t\tArrayList<R> r6 = new ArrayList<R>(3);\r\n\t\t\t\tArrayList<R> r7 = new ArrayList<R>(3);\r\n\t\t\t\tArrayList<R> r8 = new ArrayList<R>(3);\r\n\t\t\t \r\n\t\t\t \r\n\t\t\t r1.addAll(Arrays.asList(\r\n\t\t new R(1, 1, 3, 1),\r\n\t\t new R(1, 1, 0, 1),\r\n\t\t new R(1, 1, 3, 1)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t r2.addAll(Arrays.asList(\r\n\t\t new R(2, 2, 1, 2),\r\n\t\t new R(2, 2, 1, 2),\r\n\t\t new R(2, 2, 1, 2)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t r3.addAll(Arrays.asList(\r\n\t\t new R(3, 3, 4, 3),\r\n\t\t new R(3, 3, 1, 3),\r\n\t\t new R(3, 3, 4, 3)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t r4.addAll(Arrays.asList(\r\n\t\t new R(4, 4, 2, 4),\r\n\t\t new R(4, 4, 1, 4),\r\n\t\t new R(4, 4, 2, 4)\r\n\t\t ));\r\n\t\t\t r5.addAll(Arrays.asList(\r\n\t\t new R(5, 5, 3, 5),\r\n\t\t new R(5, 5, 3, 5),\r\n\t\t new R(5, 5, 666, 5)\r\n\t\t ));\r\n\t\t\t r6.addAll(Arrays.asList(\r\n\t\t new R(6, 6, 666, 6),\r\n\t\t new R(6, 6, 777, 6),\r\n\t\t new R(6, 6, 777, 6)\r\n\t\t ));\r\n\t\t\t r7.addAll(Arrays.asList(\r\n\t\t new R(7, 7, 555, 7),\r\n\t\t new R(7, 7, 4, 7),\r\n\t\t new R(7, 7, 5, 7)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t r8.addAll(Arrays.asList(\r\n\t\t new R(8, 8, 2, 8),\r\n\t\t new R(8, 8, 0, 8),\r\n\t\t new R(8, 8, 0, 8)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t \r\n\t\t\t r_disk.addAll(Arrays.asList(r1,r2,r3,r4,r5,r6,r7,r8));\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t System.out.println(\"Relation R on Disk\");\r\n\t\t\t System.out.println(r_disk);\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t \r\n\t\t\t\t// no. of sublists of R\r\n\t\t\t int numSublistR = (int) Math.ceil(r_disk.size()/mem_size);\r\n\t\t\t \r\n\t\t\t // get sorted sublists of R which are stored on disk after performing a main memory sort\r\n\t\t\t ArrayList<List<List<R>>> sortedSublistsR = getSortedSublists_R(r_disk, mem_size, block_size, numSublistR);\r\n\t\t\r\n\t\t\t //---------------------------------------------------------------------------------------------------------\r\n\t\t\t\t//Represents Relation S on disk which consists of 7 blocks B(S) = 7\r\n\t\t\t\tArrayList<List<S>> s_disk = new ArrayList<List<S>>(7);\r\n\r\n\t\t\t\t//Represents 7 blocks of R \r\n\t\t\t\tArrayList<S> s1 = new ArrayList<S>(3);\r\n\t\t\t\tArrayList<S> s2 = new ArrayList<S>(3);\r\n\t\t\t\tArrayList<S> s3 = new ArrayList<S>(3);\r\n\t\t\t\tArrayList<S> s4 = new ArrayList<S>(3);\r\n\t\t\t\tArrayList<S> s5 = new ArrayList<S>(3);\r\n\t\t\t\tArrayList<S> s6 = new ArrayList<S>(3);\r\n\t\t\t\tArrayList<S> s7 = new ArrayList<S>(3);\r\n\t\t\t \r\n\t\t\t \r\n\t\t\t s1.addAll(Arrays.asList(\r\n\t\t new S(2, 1, 1, 1),\r\n\t\t new S(1, 1, 1, 1),\r\n\t\t new S(3, 1, 1, 1)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t s2.addAll(Arrays.asList(\r\n\t\t new S(1, 2, 2, 2),\r\n\t\t new S(3, 2, 2, 2),\r\n\t\t new S(2, 2, 2, 2)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t s3.addAll(Arrays.asList(\r\n\t\t new S(3, 3, 3, 3),\r\n\t\t new S(2, 3, 3, 3),\r\n\t\t new S(1, 3, 3, 3)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t s4.addAll(Arrays.asList(\r\n\t\t new S(4, 4, 4, 4),\r\n\t\t new S(2, 4, 4, 4),\r\n\t\t new S(3, 4, 4, 4)\r\n\t\t ));\r\n\t\t\t s5.addAll(Arrays.asList(\r\n\t\t new S(888, 5, 5, 5),\r\n\t\t new S(1, 5, 5, 5),\r\n\t\t new S(888, 5, 5, 5)\r\n\t\t ));\r\n\t\t\t s6.addAll(Arrays.asList(\r\n\t\t new S(99, 6, 6, 6),\r\n\t\t new S(1, 6, 6, 6),\r\n\t\t new S(0, 6, 6, 6)\r\n\t\t ));\r\n\t\t\t s7.addAll(Arrays.asList(\r\n\t\t new S(5, 7, 7, 7),\r\n\t\t new S(0, 7, 7, 7),\r\n\t\t new S(888, 7, 7, 7)\r\n\t\t ));\r\n\t\t\t \r\n\t\t\t s_disk.addAll(Arrays.asList(s1,s2,s3,s4,s5,s6,s7));\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t System.out.println(\"Relation S on Disk\");\r\n\t\t\t System.out.println(s_disk);\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t \r\n\t\t\t // no. of sublists of S\r\n\t\t\t int numSublistS = (int) Math.ceil(s_disk.size()/mem_size);\r\n\t\t\t \r\n\t\t\t // get sorted sublists of S which are stored on disk after performing a main memory sort\r\n\t\t\t ArrayList<List<List<S>>> sortedSublistsS = getSortedSublists_S(s_disk, mem_size, block_size, numSublistS);\r\n\t\t\t \r\n\t\t\t \r\n\t\t\t // memory buffers to process each sublist of R\r\n\t\t\t List<List<R>> memR1= new ArrayList<List<R>>();\r\n\t\t\t List<List<R>> memR2= new ArrayList<List<R>>();\r\n\t\t\t \r\n\t\t\t // memory buffers to process each sublist of S\r\n\t\t\t List<List<S>> memS1 = new ArrayList<List<S>>();\r\n\t\t\t List<List<S>> memS2 = new ArrayList<List<S>>();\r\n\t\t\t \r\n\t\t\t // reference to each sorted sublists of R\r\n\t\t\t List<List<R>> subR1 = sortedSublistsR.get(0);\r\n\t\t\t List<List<R>> subR2 = sortedSublistsR.get(1);\r\n\t\t\t \r\n\t\t\t // reference to each sorted sublists of S\r\n\t\t\t List<List<S>> subS1 = sortedSublistsS.get(0);\r\n\t\t\t List<List<S>> subS2 = sortedSublistsS.get(1);\r\n\t\t\t \r\n\t\t\t System.out.println(\"----------------------------------------------------------------------------------------------\");\r\n\t\t\t System.out.println(\"Sorted sublists of Relation R on Disk\");\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t System.out.println(\"Sublist 1 of R\");\r\n\t\t\t System.out.println(subR1);\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t System.out.println(\"Sublist 2 of R\");\r\n\t\t\t System.out.println(subR2);\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t \r\n\t\t\t System.out.println(\"----------------------------------------------------------------------------------------------\");\r\n\t\t\t System.out.println(\"Sorted sublists of Relation S on Disk\");\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t System.out.println(\"Sublist 1 of S\");\r\n\t\t\t System.out.println(subS1);\r\n\t\t\t System.out.println(\"\");\r\n\t\t\t System.out.println(\"Sublist 2 of S\");\r\n\t\t\t System.out.println(subS2);\r\n\t\t\t System.out.println(\"\");\r\n\r\n\t\t\t // load the first blocks of each sublist into memory\r\n\t\t\t load_sublistToMem_R(memR1, subR1);\r\n\t\t\t load_sublistToMem_R(memR2, subR2);\r\n\t\t\t load_sublistToMem_S(memS1, subS1);\r\n\t\t\t load_sublistToMem_S(memS2, subS2);\r\n\t\t\t \r\n\t\t\t // separate pointers for each sublist\r\n\t\t\t int indexR1 = 0, indexR2 = 0, indexS1 = 0, indexS2= 0;\r\n\t\t\t int blocksProcessed_R1 = 0,blocksProcessed_R2 = 0, blocksProcessed_S1 = 0, blocksProcessed_S2 = 0;\r\n\t\t \tArrayList<R> bucket_R = new ArrayList<R>(100);\r\n\t\t \tArrayList<S> bucket_S = new ArrayList<S>(100);\r\n\t\t\t \r\n\t\t\t // to track when all the blocks in sublist are processed \r\n\t\t\t boolean doneR1 = false, doneR2 = false, doneS1 = false, doneS2 = false;\r\n\t\t\t \r\n\t\t\t // get references to the first tuple loaded into memory buffers\r\n\t\t\t R tuple_R1 = memR1.get(blocksProcessed_R1).get(indexR1);\r\n\t\t\t R tuple_R2 = memR2.get(blocksProcessed_R2).get(indexR2);\r\n\t\t\t \r\n\t\t\t S tuple_S1 = memS1.get(blocksProcessed_S1).get(indexS1);\r\n\t\t\t S tuple_S2 = memS2.get(blocksProcessed_S2).get(indexS2);\r\n\t\t\t \r\n\t\t\t // store the first y value of each tuple of each memory buffer\r\n\t\t\t int smallestR1 = tuple_R1.getY();\r\n\t\t\t int smallestR2 = tuple_R2.getY();\r\n\t\t\t \r\n\t\t\t int smallestS1 = tuple_S1.getY();\r\n\t\t\t int smallestS2 = tuple_S2.getY();\r\n\t\t\t \r\n\t\t\t // find the first smallest Y among all the y \r\n\t\t\t int smallest = Math.min(Math.min(smallestR1, smallestR2), Math.min(smallestS1, smallestS2));\r\n\t\t \t\r\n\t\t \t//output buffer used to stored joined result\r\n\t\t \tArrayList<Result> output_buffer = new ArrayList<Result>(3);\r\n\t\t \t// disk represents final output of the sort-join join on disk\r\n\t\t \tArrayList<List<Result>> disk = new ArrayList<List<Result>>();\r\n\t\t\t \r\n\t\t \t// loop as long as any one of the relations is completely processed and all its sublist are empty\r\n\t\t\t while(!(subR1.isEmpty() && subR2.isEmpty()) || !(subS1.isEmpty() && subS2.isEmpty())) {\r\n\r\n\t\t\t \t// Processing of Memory Buffer 1 and R sublist1\r\n\t\t\t \twhile((!(subR1.isEmpty()) || blocksProcessed_R1 < memR1.size()))\r\n\t\t\t\t {\t\r\n\t\t\t \t\t\t//if smallest == current_y and it is the last element of the block then load next block \r\n\t\t\t\t\t \tif(smallest == tuple_R1.getY() && indexR1 == block_size -1)\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tbucket_R.add(tuple_R1);\r\n\t\t\t\t\t \t\tload_sublistToMem_R(memR1, subR1);\r\n\t\t\t\t\t \t\tblocksProcessed_R1 = blocksProcessed_R1+1;\r\n\t\t\t\t\t \t\tindexR1=0;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t//if smallest == current y but not last element in block then increment counter and add to bucket\r\n\t\t\t\t\t \telse if(tuple_R1.getY() == smallest) {\r\n\t\t\t\t\t \t\tbucket_R.add(tuple_R1);\r\n\t\t\t\t\t \t\tindexR1++;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t//if current y > smallest stop, break out of loop\r\n\t\t\t\t\t \telse if(tuple_R1.getY() > smallest) \r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tsmallestR1 = memR1.get(blocksProcessed_R1).get(indexR1).getY();\r\n\t\t\t\t\t \t\tbreak;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t\r\n\t\t\t\t\t \t//check is the sublist is completely processed or not \r\n\t\t\t\t\t \tif (blocksProcessed_R1 < memR1.size())\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\ttuple_R1 = memR1.get(blocksProcessed_R1).get(indexR1);\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \telse\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tdoneR1 = true;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t }\r\n\t\t\t \t\r\n\t\t\t \t// Processing of Memory Buffer 2 and R sublist2 \r\n\t\t\t \twhile((!(subR2.isEmpty()) || blocksProcessed_R2 < memR2.size()))\r\n\t\t\t\t {\t\r\n\t\t\t \t\t\t//if smallest == current_y and it is the last element of the block then load next block \r\n\t\t\t\t\t \tif(smallest == tuple_R2.getY() && indexR2 == block_size -1)\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tbucket_R.add(tuple_R2);\r\n\t\t\t\t\t \t\tload_sublistToMem_R(memR2, subR2);\r\n\t\t\t\t\t \t\tblocksProcessed_R2 = blocksProcessed_R2+1;\r\n\t\t\t\t\t \t\tindexR2=0;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t//if smallest == current y but not last element in block then increment counter and add to bucket\r\n\t\t\t\t\t \telse if(tuple_R2.getY() == smallest) {\r\n\t\t\t\t\t \t\tbucket_R.add(tuple_R2);\r\n\t\t\t\t\t \t\tindexR2++;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t//if current y > smallest stop, break out of loop\r\n\t\t\t\t\t \telse if(tuple_R2.getY() > smallest) \r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tsmallestR2 = memR2.get(blocksProcessed_R2).get(indexR2).getY();\r\n\t\t\t\t\t \t\tbreak;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t\r\n\t\t\t\t\t \t//check is the sublist is completely processed or not \r\n\t\t\t\t\t \tif (blocksProcessed_R2 < memR2.size())\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\ttuple_R2 = memR2.get(blocksProcessed_R2).get(indexR2);\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \telse\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tdoneR2 = true;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t }\r\n\t\t\t \t\r\n\t\t\t \t// Processing of Memory Buffer 1 and s sublist1\r\n\t\t\t \twhile((!(subS1.isEmpty()) || blocksProcessed_S1 < memS1.size()))\r\n\t\t\t\t {\t\r\n\t\t\t \t\t\t//if smallest == current_y and it is the last element of the block then load next block \r\n\t\t\t\t\t \tif(smallest == tuple_S1.getY() && indexS1 == block_size -1)\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tbucket_S.add(tuple_S1);\r\n\t\t\t\t\t \t\tload_sublistToMem_S(memS1, subS1);\r\n\t\t\t\t\t \t\tblocksProcessed_S1 = blocksProcessed_S1+1;\r\n\t\t\t\t\t \t\tindexS1=0;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t//if smallest == current y but not last element in block then increment counter and add to bucket\r\n\t\t\t\t\t \telse if(tuple_S1.getY() == smallest) {\r\n\t\t\t\t\t \t\tbucket_S.add(tuple_S1);\r\n\t\t\t\t\t \t\tindexS1++;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t//if current y > smallest stop, break out of loop\r\n\t\t\t\t\t \telse if(tuple_S1.getY() > smallest) \r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tsmallestS1 = memS1.get(blocksProcessed_S1).get(indexS1).getY();\r\n\t\t\t\t\t \t\tbreak;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t\r\n\t\t\t\t\t \t//check is the sublist is completely processed or not \r\n\t\t\t\t\t \tif (blocksProcessed_S1 < memS1.size())\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\ttuple_S1 = memS1.get(blocksProcessed_S1).get(indexS1);\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \telse\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tdoneS1=true;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t }\r\n\t\t\t \t\r\n\t\t\t \t// Processing of Memory Buffer 2 and s sublist2\r\n\t\t\t \twhile((!(subS2.isEmpty()) || blocksProcessed_S2 < memS2.size()))\r\n\t\t\t\t {\t\r\n\t\t\t \t\t\t//if smallest == current_y and it is the last element of the block then load next block \r\n\t\t\t\t\t \tif(smallest == tuple_S2.getY() && indexS2 == block_size -1)\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tbucket_S.add(tuple_S2);\r\n\t\t\t\t\t \t\tload_sublistToMem_S(memS2, subS2);\r\n\t\t\t\t\t \t\tblocksProcessed_S2 = blocksProcessed_S2+1;\r\n\t\t\t\t\t \t\tindexS2=0;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t//if smallest == current y but not last element in block then increment counter and add to bucket\r\n\t\t\t\t\t \telse if(tuple_S2.getY() == smallest) {\r\n\t\t\t\t\t \t\tbucket_S.add(tuple_S2);\r\n\t\t\t\t\t \t\tindexS2++;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t//if current y > smallest stop, break out of loop\r\n\t\t\t\t\t \telse if(tuple_S2.getY() > smallest) \r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tsmallestS2 = memS2.get(blocksProcessed_S2).get(indexS2).getY();\r\n\t\t\t\t\t \t\tbreak;\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \t\r\n\t\t\t\t\t \t//check is the sublist is completely processed or not \r\n\t\t\t\t\t \tif (blocksProcessed_S2 < memS2.size())\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\ttuple_S2 = memS2.get(blocksProcessed_S2).get(indexS2);\r\n\t\t\t\t\t \t}\r\n\t\t\t\t\t \telse\r\n\t\t\t\t\t \t{\r\n\t\t\t\t\t \t\tdoneS2 =true;\r\n\t\t\t\t\t \t}\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(\"Smallest Y-value:\"+ smallest);\r\n\t\t\t \tSystem.out.println();\r\n\t\t\t \tSystem.out.println(\"Matching tuples of R\");\r\n\t\t\t \tSystem.out.println(bucket_R);\r\n\t\t\t \tSystem.out.println(\"Matching tuples of S\");\r\n\t\t\t \tSystem.out.println(bucket_S);\r\n\t\t\t \tSystem.out.println(\"----------------------------------------------------------------------------------------------\");\r\n\t\t\t \t\r\n\t\t\t \tString outBuffer_status = (bucket_R.isEmpty() || bucket_S.isEmpty()) ? \"Empty\" : \"\";\r\n\t\t\t \tSystem.out.println(\"Output buffer contents: \"+ outBuffer_status);\r\n\t\t\t \t//join R & S put the result into output buffer \r\n\t\t\t \tfor(R r_tuple : bucket_R) {\r\n\t\t\t \t\tfor(S s_tuple : bucket_S) {\r\n\t\t\t \t\t\t\r\n\t\t\t \t\t\tif(output_buffer.size() == block_size)\r\n\t\t\t \t\t\t{\r\n\t\t\t \t\t\t\tSystem.out.println(output_buffer);\r\n\t\t\t \t\t\t\tArrayList<Result> temp = new ArrayList<Result>(output_buffer);\r\n\t\t\t \t\t\t\tdisk.add(temp);\r\n\t\t\t \t\t\t\toutput_buffer.clear();\r\n\t\t\t \t\t\t}\r\n\t\t\t \t\t\tResult res= new Result(r_tuple, s_tuple);\r\n\t\t\t \t\t\toutput_buffer.add(res);\r\n\t\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(\"Disk contents: \");\r\n\t\t\t \tSystem.out.println(disk);\r\n\t\t\t \tSystem.out.println();\r\n\t\t\t \t\r\n\t\t\t \t// if any of the sublist done variable is set to true then no need consider the smallest from that sublist\r\n\t\t\t \t// else consider smallest of the sublist for next run\r\n\t\t\t \tsmallestR1 = doneR1 ? 9999 : smallestR1;\r\n\t\t\t \tsmallestR2 = doneR2 ? 9999 : smallestR2;\r\n\t\t\t \t\r\n\t\t\t \tsmallestS1 = doneS1 ? 9999 : smallestS1;\r\n\t\t\t \tsmallestS2 = doneS2 ? 9999 : smallestS2;\r\n\t\t\t \t\r\n\t\t\t \t//find the next smallest y\r\n\t\t\t \tsmallest = Math.min(Math.min(smallestR1, smallestR2), Math.min(smallestS1, smallestS2));\r\n\t\t\t \tbucket_R.clear();\r\n\t\t\t \tbucket_S.clear();\r\n\t\t\t }\r\n\t\t\t // add any remaining tuples in output buffer to disk\r\n\t\t\t disk.add(output_buffer);\r\n\t\t\t System.out.println(\"*********************************************************************************************************************************\");\r\n\t\t\t System.out.println(\"Final Disk Result\");\r\n\t\t\t System.out.println();\r\n\t\t\t System.out.println(disk);\r\n\t\t\t System.out.println();\r\n\t\t\t \r\n\t\t}", "title": "" }, { "docid": "baf57068e1fbb5431ec99e57c14d7736", "score": "0.4709894", "text": "int getFlatLength();", "title": "" }, { "docid": "4502d05dca2b036b99421d0be54b548f", "score": "0.47080028", "text": "@Override\r\n\tpublic void draw () {\n\t\t\r\n\t}", "title": "" }, { "docid": "dcdbcc40742d694f1bf57fd9bce5fbf3", "score": "0.47035226", "text": "@Override\r\n\tpublic void walk() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dcdbcc40742d694f1bf57fd9bce5fbf3", "score": "0.47035226", "text": "@Override\r\n\tpublic void walk() {\n\t\t\r\n\t}", "title": "" }, { "docid": "113a84339cf54dd67796dff6f8ac2043", "score": "0.47027504", "text": "void eleArea();", "title": "" }, { "docid": "ee2c51b19f4861acd6a411d1da25712a", "score": "0.46979314", "text": "public void slotPath() {\n\t\tint totalNumberOfLetters = getTotalNumberOfLetters();\n\t\tif(getWordDirection().equalsIgnoreCase(\"h\")) {\n\t\t\tfor(int i = columnNumber; totalNumberOfLetters > 0; i++) {\n\t\t\t\tCharGrid ch = new CharGrid(i, getRowNumber());\n\t\t\t\tSlotPath.add(ch);\n\t\t\t\ttotalNumberOfLetters--;\n\t\t\t}\t\t\t\n\t\t}\n\t\telse if(getWordDirection().equalsIgnoreCase(\"v\")){\n\t\t\tfor(int i = rowNumber; totalNumberOfLetters > 0; i--) {\n\t\t\t\tCharGrid ch = new CharGrid(getColumnNumber(), i);\n\t\t\t\tSlotPath.add(ch);\n\t\t\t\ttotalNumberOfLetters--;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "2806e662fa0b7a343f38f8b4f05140ac", "score": "0.46976426", "text": "int vertexMap(Vertex given) {\n // return (given.loc.x + given.loc.y) + (given.loc.y * (this.width - 1));\n return given.loc.y * this.width + given.loc.x;\n }", "title": "" }, { "docid": "d781090afa1add8b13d33134c64a7e2e", "score": "0.46964684", "text": "int getPathCount();", "title": "" }, { "docid": "d781090afa1add8b13d33134c64a7e2e", "score": "0.469606", "text": "int getPathCount();", "title": "" }, { "docid": "a8dae7f932c12a2ca24bfc5c10adac12", "score": "0.4694601", "text": "float getWidth();", "title": "" }, { "docid": "0386f1a5d59607498fba1f731a2a74bf", "score": "0.46921906", "text": "long getDist();", "title": "" }, { "docid": "e041fbb48ef4fb75535dd17d763612db", "score": "0.46908712", "text": "String getDiagonalTlBr();", "title": "" }, { "docid": "8c20fa96d538e841e8344c7fbd0be7b5", "score": "0.46897775", "text": "@Test\n public void testDivide() {\n\t_e._ps.push(25); // b\n\t_e._ps.push(5); // a\n\t_e.divide();\n\tassertEquals(5, _e._ps.peek());\n\n }", "title": "" }, { "docid": "090e3e65a7ac8f7b0cee50882b6e4b0a", "score": "0.46887255", "text": "int getNewWidth();", "title": "" }, { "docid": "b0b4aa0f1baeaacfab40e95c737bb14c", "score": "0.46872887", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t}", "title": "" }, { "docid": "b0b4aa0f1baeaacfab40e95c737bb14c", "score": "0.46872887", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t}", "title": "" }, { "docid": "b0b4aa0f1baeaacfab40e95c737bb14c", "score": "0.46872887", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t}", "title": "" }, { "docid": "b0b4aa0f1baeaacfab40e95c737bb14c", "score": "0.46872887", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t}", "title": "" }, { "docid": "ec742012cde2c9c2c38841cbf88f8b0c", "score": "0.4683043", "text": "public void norm() {\n\t\t\n\t}", "title": "" }, { "docid": "c98b19e768ca33b7df99e4d383fee026", "score": "0.46809644", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t\tSystem.out.println(\"~QzQ(^.^)\");\n\t\t\n//\t\tSystem.out.println(\" |\\\\_/|\");\n//\t\tSystem.out.println(\"( *_* )\");\n//\t\tSystem.out.println(\" \\\\___/\");\n\t\t\n//\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "a3ae891bae294e98cdab270b8128445d", "score": "0.46784976", "text": "@Override\n\tpublic void horizontal() {\n\n\n\t}", "title": "" }, { "docid": "ffe117085599eb917584860992c11c59", "score": "0.46729723", "text": "public static void main(String[] args) {\n\t\tdouble lux, luy, ldx, ldy, rux, ruy, rdx, rdy;\n\t\tdouble realWidth, realHeight, mapWidth, mapHeight;\t\t\n\t\t\n\t\tlux = 98652;\n\t\tluy = 53475;\n\t\tldx = 94079;\n\t\tldy = 53475;\n\t\trux = 98652;\n\t\truy = 63818;\n\t\trdx = 94079;\n\t\trdy = 63818;\n\t\t\n\t\trealWidth = ruy - luy;\n\t\trealHeight = lux - ldx;\n\t\t\n\t\tmapWidth = 173.1;\n\t\tmapHeight = 97.1;\n\t\t\n\t\twRatio = realWidth / mapWidth;\n\t\thRatio = realHeight / mapHeight;\n\t\t\n\t\tRect map = new Rect();\n\t\tmap.leftUp.x = lux / hRatio;\n\t\tmap.leftUp.y = luy / wRatio;\n\t\tmap.leftDown.x = ldx / hRatio;\n\t\tmap.leftDown.y = ldy / wRatio;\n\t\tmap.rightUp.x = rux / hRatio;\n\t\tmap.rightUp.y = ruy / wRatio;\n\t\tmap.rightDown.x = rdx / hRatio;\n\t\tmap.rightDown.y = rdy / wRatio;\n\t\t\n\t\twBias = map.leftDown.y;\n\t\thBias = map.leftDown.x;\n\t\t\n\t\tmap.leftUp.x -= hBias;\n\t\tmap.leftUp.y -= wBias;\n\t\tmap.rightUp.x -= hBias;\n\t\tmap.rightUp.y -= wBias;\n\t\tmap.rightDown.x -= hBias;\n\t\tmap.rightDown.y -= wBias;\n\t\tmap.leftDown.x -= hBias;\n\t\tmap.leftDown.y -= wBias;\n\t\t\n\t\tSystem.out.println(\"hRatio : \" + hRatio);\n\t\tSystem.out.println(\"wRatio : \" + wRatio);\n\t\tSystem.out.println(\"hBias : \" + hBias);\n\t\tSystem.out.println(\"wBias : \" + wBias);\n\t\tSystem.out.println(map.leftUp.x + \", \" + map.leftUp.y + \" \" + map.rightUp.x + \", \" + map.rightUp.y);\n\t\tSystem.out.println(map.leftDown.x + \", \" + map.leftDown.y + \" \" + map.rightDown.x + \", \" + map.rightDown.y);\n\t\t\n\t\tdouble lat, lon, x, z;\n\t\tlat = 37.497062;\n\t\tlon = 126.955112;\n\t\tz = getUnityZ(lat);\n\t\tx = getUnityX(lon);\n\t\tSystem.out.print(x + \" \" + z);\n\t}", "title": "" }, { "docid": "9da42c54ca8fb8825afce96ad2d2781c", "score": "0.46642378", "text": "@Override\r\n\tpublic void comenzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "74dd2531f70ac3ff67056caea115d473", "score": "0.46638867", "text": "private void m131043c() {\n int i;\n int i2;\n View childAt = getChildAt(this.f106677a);\n if (childAt == null || childAt.getWidth() <= 0) {\n i = -1;\n i2 = -1;\n } else {\n i = childAt.getLeft();\n i2 = childAt.getRight();\n if (this.f106678b > 0.0f && this.f106677a < getChildCount() - 1) {\n View childAt2 = getChildAt(this.f106677a + 1);\n i = (int) ((this.f106678b * ((float) childAt2.getLeft())) + ((1.0f - this.f106678b) * ((float) i)));\n i2 = (int) ((this.f106678b * ((float) childAt2.getRight())) + ((1.0f - this.f106678b) * ((float) i2)));\n }\n }\n mo101388a(i, i2);\n }", "title": "" }, { "docid": "864f7ac7a2f483aa4148a179497e433d", "score": "0.4661579", "text": "@Override\r\n public int getWidth() {\n return 0;\r\n }", "title": "" }, { "docid": "e3ba4685a8879ddb259684d59f9314d7", "score": "0.46601462", "text": "private int parent(int child)\r\n {\r\n \treturn (child-1)/2;\r\n }", "title": "" }, { "docid": "7289c56d7f964fd47a1243f6da2de68a", "score": "0.46601132", "text": "@Override\r\n public void paintComponent(Graphics g) {\r\n super.paintComponent(g);\r\n g.drawString(\"BoxTree2Stream\",10, 10);\r\n }", "title": "" }, { "docid": "3fdaf2d189ccb822c9fda1fe90d3ad4e", "score": "0.46544367", "text": "double spacingRight();", "title": "" }, { "docid": "d71997dd1f5081d5cf8f3d7c4eb52d94", "score": "0.4652968", "text": "public void breath() {\n\t\t\n\t}", "title": "" }, { "docid": "252810c0ea2c8a130a6b60b0ddc06525", "score": "0.46517748", "text": "int area();", "title": "" }, { "docid": "d0bb94b53e5d737b8e26c1678085eae8", "score": "0.46497142", "text": "public int getLength(){\r\n return length + mountains;\r\n }", "title": "" }, { "docid": "e10ad26073782cb0cc1e1b4baec2fadd", "score": "0.46495882", "text": "static int[] path(int[][] closed, Node last, final int dir, final int depth){\n\t\tint dir2 = dir;\n\t\tint len = 0;\n\t\twhile(dir2 == dir){\n\t\t\tlast.move(dir % 6);\n\t\t\tdir2 = closed[last.x()][last.y()];\n\t\t\tlen++;\n\t\t}\n\t\tint[] array = dir2 == 0 ? new int[depth] :\n\t\t\tpath(closed, last, dir2, depth + 2);\n\t\t\n\t\tarray[depth - 2] = (dir + 3) % 6;\n\t\tarray[depth - 1] = len;\n\t\t\n\t\treturn array;\n\t}", "title": "" }, { "docid": "0855573f14efac8e0db075cdb099fbc1", "score": "0.46481666", "text": "@Override\r\n\tpublic int getWidth() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "9d2fec3c5657fa4afafb038b268070d5", "score": "0.4647294", "text": "@Override\n\tpublic int taille() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "942ac19eb8e6fa6482aa15ca8cadb491", "score": "0.46428367", "text": "void left();", "title": "" }, { "docid": "9bd8a9bd34c7052f1cade50e51992d0c", "score": "0.464283", "text": "double getWidth();", "title": "" }, { "docid": "9bd8a9bd34c7052f1cade50e51992d0c", "score": "0.464283", "text": "double getWidth();", "title": "" } ]